aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cfilters6
-rw-r--r--dfilters10
2 files changed, 10 insertions, 6 deletions
diff --git a/cfilters b/cfilters
index aeed9a2a64..c3766fe0cd 100644
--- a/cfilters
+++ b/cfilters
@@ -2,8 +2,10 @@
"Ethernet type 0x0806 (ARP)" ether proto 0x0806
"No Broadcast and no Multicast" not broadcast and not multicast
"No ARP" not arp
-"IP only" ip
-"IP address 192.168.0.1" host 192.168.0.1
+"IPv4 only" ip
+"IPv4 address 192.0.2.1" host 192.0.2.1
+"IPv6 only" ip6
+"IPv6 address 2001:db8::1" host 2001:db8::1
"IPX only" ipx
"TCP only" tcp
"UDP only" udp
diff --git a/dfilters b/dfilters
index cb7aded1a1..46c2e8a0a2 100644
--- a/dfilters
+++ b/dfilters
@@ -2,9 +2,11 @@
"Ethernet type 0x0806 (ARP)" eth.type == 0x0806
"Ethernet broadcast" eth.addr == ff:ff:ff:ff:ff:ff
"No ARP" not arp
-"IP only" ip
-"IP address 192.168.0.1" ip.addr == 192.168.0.1
-"IP address isn't 192.168.0.1, don't use != for this!" !(ip.addr == 192.168.0.1)
+"IPv4 only" ip
+"IPv4 address 192.0.2.1" ip.addr == 192.0.2.1
+"IPv4 address isn't 192.0.2.1 (don't use != for this!)" !(ip.addr == 192.0.2.1)
+"IPv6 only" ipv6
+"IPv6 address 2001:db8::1" ipv6.addr == 2001:db8::1
"IPX only" ipx
"TCP only" tcp
"UDP only" udp
@@ -12,4 +14,4 @@
"TCP or UDP port is 80 (HTTP)" tcp.port == 80 || udp.port == 80
"HTTP" http
"No ARP and no DNS" not arp and !(udp.port == 53)
-"Non-HTTP and non-SMTP to/from 192.168.0.1" not (tcp.port == 80) and not (tcp.port == 25) and ip.addr == 192.168.0.1
+"Non-HTTP and non-SMTP to/from 192.0.2.1" not (tcp.port == 80) and not (tcp.port == 25) and ip.addr == 192.0.2.1