Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178283462
D62409.1796422944.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D62409.1796422944.diff
View Options
diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8
--- a/sbin/ipfw/ipfw.8
+++ b/sbin/ipfw/ipfw.8
@@ -1,5 +1,5 @@
.\"
-.Dd November 26, 2026
+.Dd December 3, 2026
.Dt IPFW 8
.Os
.Sh NAME
@@ -1770,10 +1770,18 @@
A
.Ar group
may be specified by name or number.
+.Pp
+See
+.Cm uid
+for the TCP packets that never match.
.It Cm jail Ar jail
Matches all TCP or UDP packets sent by or received for the
jail whose ID or name is
.Ar jail .
+.Pp
+See
+.Cm uid
+for the TCP packets that never match.
.It Cm icmptypes Ar types
Matches ICMP packets whose ICMP type is in the list
.Ar types .
@@ -2275,6 +2283,25 @@
A
.Ar user
may be matched by name or identification number.
+.Pp
+Only packets that can be associated with a local socket have a user.
+For TCP, that socket is looked up among connections only,
+not among listening sockets.
+So the three packets that set up an incoming connection,
+the SYN, the SYN-ACK and the final ACK,
+never match, while the later packets of the connection do.
+A rule such as
+.Dl deny tcp from any to me uid 1001 in
+does not stop a client from connecting to a server of that user;
+it only drops what the client sends after the handshake.
+The same holds for the
+.Cm gid
+and
+.Cm jail
+options and for
+.Cm lookup uid
+and
+.Cm lookup jail .
.It Cm verrevpath
For incoming packets,
a routing table lookup is done on the packet's source address.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 4, 10:22 PM (13 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42213387
Default Alt Text
D62409.1796422944.diff (1 KB)
Attached To
Mode
D62409: ipfw.8: say which TCP packets uid, gid and jail match
Attached
Detach File
Event Timeline