Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165195761
D24234.id70066.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24234.id70066.diff
View Options
Index: sbin/ipfw/dummynet.c
===================================================================
--- sbin/ipfw/dummynet.c
+++ sbin/ipfw/dummynet.c
@@ -56,7 +56,11 @@
{ "noerror", TOK_NOERROR },
{ "buckets", TOK_BUCKETS },
{ "dst-ip", TOK_DSTIP },
+ { "dst-ip4", TOK_DSTIP },
+ { "dst-ipv4", TOK_DSTIP },
{ "src-ip", TOK_SRCIP },
+ { "src-ip4", TOK_SRCIP },
+ { "src-ipv4", TOK_SRCIP },
{ "dst-port", TOK_DSTPORT },
{ "src-port", TOK_SRCPORT },
{ "proto", TOK_PROTO },
Index: sbin/ipfw/ipfw.8
===================================================================
--- sbin/ipfw/ipfw.8
+++ sbin/ipfw/ipfw.8
@@ -1,7 +1,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 21, 2019
+.Dd March 31, 2020
.Dt IPFW 8
.Os
.Sh NAME
@@ -1549,7 +1549,7 @@
.It Cm diverted-output
Matches only packets going from a divert socket back outward to the IP
stack output for delivery.
-.It Cm dst-ip Ar ip-address
+.It Bro Cm dst-ip | dst-ip4 | dst-ipv4 Brc Ar ip-address
Matches IPv4 packets whose destination IP is one of the address(es)
specified as argument.
.It Bro Cm dst-ip6 | dst-ipv6 Brc Ar ip6-address
@@ -1937,10 +1937,10 @@
or
.Cm pipe
number.
-.It Cm src-ip Ar ip-address
+.It Bro Cm src-ip | src-ip4 | src-ipv4 Brc Ar ip-address
Matches IPv4 packets whose source IP is one of the address(es)
specified as an argument.
-.It Cm src-ip6 Ar ip6-address
+.It Bro Cm src-ip6 | src-ipv6 Brc Ar ip-address
Matches IPv6 packets whose source IP is one of the address(es)
specified as an argument.
.It Cm src-port Ar ports
Index: sbin/ipfw/ipfw2.c
===================================================================
--- sbin/ipfw/ipfw2.c
+++ sbin/ipfw/ipfw2.c
@@ -347,7 +347,11 @@
{ "icmptype", TOK_ICMPTYPES },
{ "icmptypes", TOK_ICMPTYPES },
{ "dst-ip", TOK_DSTIP },
+ { "dst-ip4", TOK_DSTIP },
+ { "dst-ipv4", TOK_DSTIP },
{ "src-ip", TOK_SRCIP },
+ { "src-ip4", TOK_SRCIP },
+ { "src-ipv4", TOK_SRCIP },
{ "dst-port", TOK_DSTPORT },
{ "src-port", TOK_SRCPORT },
{ "proto", TOK_PROTO },
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 7, 5:17 PM (16 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36189203
Default Alt Text
D24234.id70066.diff (1 KB)
Attached To
Mode
D24234: ipfw(8): Introduce src-ip4/dst-ip4 and src-ipv4/dst-ipv4 specifiers, make src-ip/dst-ip dual-stack
Attached
Detach File
Event Timeline
Log In to Comment