Hello all,

It seems there is a problem with 'net' expression with IPv6.  Tested on
both 3.6.2 and 3.7.0 beta.

The packet to match:

12:39:52.476697 3ffe:2620:1:ff88::2.33124 > 2002:c1a6:317::1.33441:  udp 
12 [hlim 1]

However, 'tcpdump net 2002::/16' does not show this.

Works:

tcpdump net 2002:c1a6:317::/48
tcpdump net 2002:c1a6:0::/36

Doesn't work:

tcpdump net 2002:c1a6::/32
tcpdump net 2002::/16

So, it'd seem that all prefixlengths >32 work but shorter don't.

Test capture file attached.

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords

Attachment: net-ipv6.capture
Description: Binary data

Reply via email to