Blame extensions/libxt_owner.man

Packit 7b22a4
This module attempts to match various characteristics of the packet creator,
Packit 7b22a4
for locally generated packets. This match is only valid in the OUTPUT and
Packit 7b22a4
POSTROUTING chains. Forwarded packets do not have any socket associated with
Packit 7b22a4
them. Packets from kernel threads do have a socket, but usually no owner.
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-uid\-owner\fP \fIusername\fP
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-uid\-owner\fP \fIuserid\fP[\fB\-\fP\fIuserid\fP]
Packit 7b22a4
Matches if the packet socket's file structure (if it has one) is owned by the
Packit 7b22a4
given user. You may also specify a numerical UID, or an UID range.
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-gid\-owner\fP \fIgroupname\fP
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-gid\-owner\fP \fIgroupid\fP[\fB\-\fP\fIgroupid\fP]
Packit 7b22a4
Matches if the packet socket's file structure is owned by the given group.
Packit 7b22a4
You may also specify a numerical GID, or a GID range.
Packit 7b22a4
.TP
Packit 7b22a4
\fB\-\-suppl\-groups\fP
Packit 7b22a4
Causes group(s) specified with \fB\-\-gid-owner\fP to be also checked in the
Packit 7b22a4
supplementary groups of a process.
Packit 7b22a4
.TP
Packit 7b22a4
[\fB!\fP] \fB\-\-socket\-exists\fP
Packit 7b22a4
Matches if the packet is associated with a socket.