Logo Search packages:      
Sourcecode: scapy version File versions  Download package

scapy::Conf Class Reference

Inheritance diagram for scapy::Conf:

scapy::ConfClass

List of all members.


Detailed Description

This object contains the configuration of scapy.
session  : filename where the session will be saved
stealth  : if 1, prevents any unwanted packet to go out (ARP, DNS, ...)
checkIPID: if 0, doesn't check that IPID matches between IP sent and ICMP IP citation received
       if 1, checks that they either are equal or byte swapped equals (bug in some IP stacks)
       if 2, strictly checks that they are equals
checkIPsrc: if 1, checks IP src in IP and ICMP IP citation match (bug in some NAT stacks)
iff      : selects the default output interface for srp() and sendp(). default:"eth0")
verb     : level of verbosity, from 0 (almost mute) to 3 (verbose)
promisc  : default mode for listening socket (to get answers if you spoof on a lan)
sniff_promisc : default mode for sniff()
filter   : bpf filter added to every sniffing socket to exclude traffic from analysis
histfile : history file
padding  : includes padding in desassembled packets
except_filter : BPF filter for packets to ignore
debug_match : when 1, store received packet that are not matched into debug.recv
route    : holds the Scapy routing table and provides methods to manipulate it
warning_threshold : how much time between warnings from the same place

Definition at line 9769 of file scapy.py.


Public Member Functions

def __repr__
def __str__
def configure
def reset

Static Public Attributes

 BTsocket = BluetoothSocket
int checkIPaddr = 1
int checkIPID = 1
int checkIPsrc = 1
tuple color_theme = DefaultTheme()
tuple conf = Conf()
string countryLoc_base = "countryLoc.csv"
int debug_dissector = 0
int debug_match = 0
string except_filter = ""
string gnuplot_world = "world.dat"
tuple histfile = os.path.join(os.environ["HOME"], ".scapy_history")
tuple iface = get_working_if()
string IPCountry_base = "GeoIPCountry4Scapy.gz"
 L2listen = L2ListenSocket
 L2socket = L2Socket
 L3socket = L3PacketSocket
string nmap_base = "/usr/share/nmap/nmap-os-fingerprints"
string p0f_base = "/etc/p0f.fp"
int padding = 1
int promisc = 1
string prompt = ">>> "
string queso_base = "/etc/queso.conf"
tuple route = Route()
string session = ""
int sniff_promisc = 1
string stealth = "not implemented"
int verb = 2
int warning_threshold = 5
string wepkey = ""

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index