mirror of https://github.com/secdev/scapy.git
layers: add ipsec in default layers
Due to the way layers are loaded in Scapy, the __all__ special variable must not be defined. --HG-- branch : ipsec
This commit is contained in:
parent
5a266059bd
commit
e5bc1a2d04
|
@ -372,7 +372,8 @@ extensions_paths: path or list of paths where extensions are to be looked for
|
|||
netcache = NetCache()
|
||||
load_layers = ["l2", "inet", "dhcp", "dns", "dot11", "gprs", "hsrp", "inet6", "ir", "isakmp", "l2tp",
|
||||
"mgcp", "mobileip", "netbios", "netflow", "ntp", "ppp", "radius", "rip", "rtp",
|
||||
"sebek", "skinny", "smb", "snmp", "tftp", "x509", "bluetooth", "dhcp6", "llmnr", "sctp", "vrrp" ]
|
||||
"sebek", "skinny", "smb", "snmp", "tftp", "x509", "bluetooth", "dhcp6", "llmnr", "sctp", "vrrp",
|
||||
"ipsec" ]
|
||||
|
||||
|
||||
if not Conf.ipv6_enabled:
|
||||
|
|
|
@ -53,7 +53,6 @@ from scapy.layers.inet import IP
|
|||
from scapy.layers.inet6 import IPv6, IPv6ExtHdrHopByHop, IPv6ExtHdrDestOpt, \
|
||||
IPv6ExtHdrRouting
|
||||
|
||||
__all__ = ['AH', 'ESP', 'SecurityAssociation']
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
class AH(Packet):
|
||||
|
|
Loading…
Reference in New Issue