How do I filter on a range of ipv6 addresses, for example an ipv6 filter similar to ipv4 192.168.0.0/16? I would like to filter on ipv6 addresses on my lan fe80::/10 but cannot seem to find the correct syntax. Thanks! |
Are you trying to apply masks to IPv6 addresses in capture filters or display filters? For capture filters you'd use
As Sake said, you can't apply masks to IPv6 addresses in display filters (not yet, at least) but you can use comparison operators:
Love that one, Gerald!
(02 Jan '11, 19:01)
martyvis
|
i just tried a few combinations myself, and am also stumped (using both WS 1.2 and 1.4). I thought that I had used this in past, but I'm not sure now. Even looking through this Sharkfest '10 presentation, I can't find any clues there (lots of mentions of networks with masks, though no screenshots showing a relevant display filter). link text Maybe no one has implemented this yet. If you don't get any positive responses, file a feature request bug. |
I just looked at the sourcecode and there is indeed no functionality implemented yet to accept a prefix-length in a display filter. I'm looking into it right now, but as I have not done much with the display filter engine, I'm not sure I will come up with a solution shortly. Could you file an enhancement request on https://bugzilla.wireshark.org to be sure it won't get lost? |