ip6 | filters native IPv6 traffic (including ICMPv6) |
icmp6 | filters native ICMPv6 traffic |
proto ipv6 | filters tunneled IPv6-in-IPv4 traffic |
TCP | |
ip6 and (ip6[6] == 0x06) | IPv6 TCP |
ip6 and (ip6[6] == 0x06) and (ip6[53] == 0x02) | IPv6 TCP Syn |
ip6 and (ip6[6] == 0x06) and (ip6[53] == 0x10) | IPv6 TCP ACK |
ip6 and (ip6[6] == 0x06) and (ip6[53] == 0x12) | IPv6 TCP Syn/ACK |
UDP | |
ip6 and (ip6[6] == 0x11) | IPv6 TCP |
ICMP | |
(ip6[6] == 0x3a) | ICMP v6 |
(ip6[6] == 0x3a) and (ip6[40] == 0x01) | ipv6 and type 1 Dest Unreachable |
(ip6[6] == 0x3a) and (ip6[40] == 0x02) | ipv6 and type 2 Packet too big |
(ip6[6] == 0x3a) and (ip6[40] == 0x03) | ipv6 and type 3 Time Exeedet |
(ip6[6] == 0x3a) and (ip6[40] == 0x04) | ipv6 and type 4 Parameter Problem |
(ip6[6] == 0x3a) and (ip6[40] == 0x80) | ipv6 and type 128 Echo Request |
(ip6[6] == 0x3a) and (ip6[40] == 0x81) | ipv6 and type 129 Echo Reply |
(ip6[6] == 0x3a) and (ip6[40] == 0x86) | ipv6 and type 133 Router Solicitation |
(ip6[6] == 0x3a) and (ip6[40] == 0x87) | ipv6 and type 134 Router Advertisement |
(ip6[6] == 0x3a) and (ip6[40] == 0x88) | ipv6 and type 135 Neighbor Solicitation |
(ip6[6] == 0x3a) and (ip6[40] == 0x89) | ipv6 and type 136 Neighbor Advertisement |