From a2e31fab5ea50221cf04bf173fe201998d8e466b Mon Sep 17 00:00:00 2001 From: Phil <phil@secdev.org> Date: Sun, 2 Mar 2008 23:36:25 +0100 Subject: [PATCH] Added some layer bonds for PPP --- scapy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scapy.py b/scapy.py index 2a13c81d..fbb0bd84 100755 --- a/scapy.py +++ b/scapy.py @@ -9524,8 +9524,10 @@ bind_layers( PrismHeader, Dot11, ) bind_layers( RadioTap, Dot11, ) bind_layers( Dot11, LLC, type=2) bind_layers( Dot11QoS, LLC, ) +bind_layers( L2TP, PPP, ) bind_layers( PPP, IP, proto=33) bind_layers( PPP, PPP_IPCP, proto=0x8021) +bind_layers( PPP, PPP_ECP, proto=0x8053) bind_layers( Ether, LLC, type=122) bind_layers( Ether, Dot1Q, type=33024) bind_layers( Ether, Ether, type=1) @@ -9568,6 +9570,7 @@ bind_layers( IP, ICMP, frag=0, proto=1) bind_layers( IP, TCP, frag=0, proto=6) bind_layers( IP, UDP, frag=0, proto=17) bind_layers( IP, GRE, frag=0, proto=47) +bind_layers( UDP, L2TP, sport=1701, dport=1701) bind_layers( UDP, SNMP, sport=161) bind_layers( UDP, SNMP, dport=161) bind_layers( UDP, MGCP, dport=2727) -- GitLab