-
Notifications
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter 'type XXX subtype YYY' does not work anymore #989
Comments
Hmm. Clearly we need a test case for this. Ideally it would include a pcap file that contains a packet of the type that you want to match. It's probably a libpcap regression. |
libpcap bails out when running pcap_compile. I can post a working C file for this, but I thought the bug is clear enough and for tcpdump, it is as simple as running:
I think tcpdump does not even try to filter anything, and errors out like pcap_compile so a pcap file is not relevant. |
|
Fixed in 6ff5d20. |
In which release of libpcap is this fix incorporated? |
libpcap 1.10.1 or later. |
Either with tcpdump 4.99 or libpcap 1.10, a (bpf) filter of
type mgt subtype probe-req
gives the error:Previous versions of the tool did not give such error.
As a work-around, one have to use
subtype probe-req
only as filterThe text was updated successfully, but these errors were encountered: