tcpdump mailing list archives
Re: vlan [xx] filter not filtering any packets
From: Nikola Ciprich <extmaillist () linuxbox cz>
Date: Mon, 8 Jun 2009 14:49:30 +0200
Ouch, I also forgot to mention I've also tried todays libpcap git snapshot. n. On Mon, Jun 08, 2009 at 01:47:41PM +0200, Nikola Ciprich wrote:
Hello, I've spent some time playing with tcpdump and pcap with regard to vlans. Using libpcap 1.0.0 + tcpdump 4.0.0, I can able to correctly dump packets including (reconstructed) vlan headers. But it seems that using the vlan filter keyword does not work. example: $ tcpdump -e -i eth1 13:10:05.592027 00:30:48:92:f6:73 (oui Unknown) > 00:30:48:64:40:9d (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 10, p 0, ethertype IPv4, 10.0.10.1 > 10.0.10.2: ICMP echo request, id 27941, seq 12466, length 64 which is OK. But $ tcpdump -e -i eth1 vlan or $ tcpdump -e -i eth1 vlan 10 never captures any packet. Am i doing something wrong, or is this a bug in pcap/tcpdump? Thanks a lot for any hints with best regards nik -- ------------------------------------- Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis () linuxbox cz ------------------------------------- - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
-- ------------------------------------- Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis () linuxbox cz ------------------------------------- - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- vlan [xx] filter not filtering any packets Nikola Ciprich (Jun 08)
- Re: vlan [xx] filter not filtering any packets sthaug (Jun 08)
- Re: vlan [xx] filter not filtering any packets Nikola Ciprich (Jun 08)
- Re: vlan [xx] filter not filtering any packets Michael Richardson (Jun 08)
- Re: vlan [xx] filter not filtering any packets Nikola Ciprich (Jun 09)
- Re: vlan [xx] filter not filtering any packets Guy Harris (Jun 10)
- Re: vlan [xx] filter not filtering any packets Guy Harris (Jun 10)
- Re: vlan [xx] filter not filtering any packets Nikola Ciprich (Jun 11)
- Re: vlan [xx] filter not filtering any packets Guy Harris (Jun 11)
- Re: vlan [xx] filter not filtering any packets Guy Harris (Jun 10)