From 2ffb5f9d14bff2827833b41220f7763169cb2389 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Sun, 6 Apr 2008 16:39:24 +0000 Subject: [PATCH 08/24] Update the libxt_owner manpage with the UID/GID-range feature --- extensions/libxt_owner.man | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/extensions/libxt_owner.man b/extensions/libxt_owner.man index add2369..344ce2e 100644 --- a/extensions/libxt_owner.man +++ b/extensions/libxt_owner.man @@ -3,14 +3,17 @@ for locally generated packets. This match is only valid in the OUTPUT and POSTROUTING chains. Forwarded packets do not have any socket associated with them. Packets from kernel threads do have a socket, but usually no owner. .TP -\fB--uid-owner\fR \fIuserid\fR +\fB--uid-owner\fR \fIusername\fR +.TP +\fB--uid-owner\fR \fIuserid\fR[\fB-\fR\fIuserid\fR] Matches if the packet socket's file structure (if it has one) is owned by the -given user ID. A user name may be specified in place of \fIuserid\fR, in which -case iptables will try to look it up. +given user. You may also specify a numerical UID, or an UID range. +.TP +\fB--gid-owner\fR \fIgroupname\fR .TP -\fB--gid-owner\fR \fIgroupid\fR -Matches if the packet socket's file structure is owned by the given group ID. -A group name may be specified in place of \fIgroupid\fR. +\fB--gid-owner\fR \fIgroupid\fR[\fB-\fR\fIgroupid\fR] +Matches if the packet socket's file structure is owned by the given group. +You may also specify a numerical GID, or a GID range. .TP \fB--socket-exists\fR Matches if the packet is associated with a socket. -- cgit v1.2.3