I have some pcap files, previously I used tshark combined python to extract source IP address, timestamp, ect.
However, now I open these pcap files in Wireshark. It also contains the VLAN info, VID is the thing I want to extract right now.
I use tshark -r xx.pcap
in the terminal, it can only show the tcp level info, I can not get this VLAN ID. Does anyone one know how to do it in Python? use some library or tool?
tshark -V
dumps the whole packet, or is there more to this question? – Mike Pennington Dec 13 '11 at 15:16