This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

BPF for protocol exclude list

0

I want to specify filter to exclude list of protocols (arp, tcp) i.e. filter is [not(arp or tcp)].

Packets are mixed from untagged vlan and tagged vlan. How can I specify it since filter:(not arp and not tcp) doesnt work as it works only on untagged vlan packets.

I am using libpcap and I want to filter both tagged and untagged packets.

For example, exp: <filter> or (vlan or <filter>) works for "arp or tcp" But same expression dont work if filter : not(arp or tcp)

asked 05 Jul '15, 23:36

tweetstrack's gravatar image

tweetstrack
6113
accept rate: 0%

edited 05 Jul '15, 23:37