Tuesday 9 August 2016

Scappy vlan information

scappy vlan information 
In scappy because of implementation , capturing with scappy do not collect vlan information. Instead of this I prefer collecting pcap information via os command and tcpdump. After that I proceed with scappy

>>> a=rdpcap("/tmp/test.pcap")
>>> a[0]
<Ether  dst=xx:xx:xx:xx:xx:xx src=xx:xx:xx:xx:xx:xx type=0x8100 |<Dot1Q  prio=0L id=0L vlan=3625L type=0x8100 |<Dot1Q  prio=0L id=0L vlan=3625L type=0x800 |<IP  version=4L ihl=5L tos=0xe0 len=107 id=14873 flags= frag=0L ttl=63 proto=udp chksum=0x5a4a src=xx.xx.xx.xx dst=xx.xx.xx.xx options=[] |<UDP  sport=xx dport=xx len=87 chksum=0x0 |<Raw  xxxxxxxxx>>>>>>


No comments: