reassign 537686 libpcap0.8
retitle 537686 Should support data access for IPv6 upper-layer protocols
tags 537686 upstream
severity 537686 wishlist
quit

martin f krafft <[email protected]> writes:

> # tcpdump -ni wifi icmp6 and '(icmp[icmptype] != icmp-echo)' and 
> '(icmp[icmptype] != icmp-echoreply)'
> tcpdump: expression rejects all packets

> Since icmp-echo and icmp-echoreply are disjunct and their union
> a proper subset of icmp6, the expression does not yield the empty
> set.

ICMPv6 is not "ICMP in an IPv6 datagram", it's a different protocol.
Since icmp[] implies icmp even if you're testing for non-equality,
the expression is partly equivalent to 'icmp6 and icmp', which
rejects all packets because it can never be true.

What you meant to use is something like icmp6[icmptype], but that's
not yet implemented in libpcap.  Reassigning accordingly.

-- 
Romain Francoise <[email protected]>
http://people.debian.org/~rfrancoise/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to