]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables: add manual page section for AUDIT target
authorThomas Graf <tgraf@redhat.com>
Wed, 16 Mar 2011 15:30:09 +0000 (16:30 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 16 Mar 2011 15:30:09 +0000 (16:30 +0100)
Signed-off-by: Thomas Graf <tgraf@redhat.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
extensions/libxt_AUDIT.man [new file with mode: 0644]

diff --git a/extensions/libxt_AUDIT.man b/extensions/libxt_AUDIT.man
new file mode 100644 (file)
index 0000000..cd79696
--- /dev/null
@@ -0,0 +1,14 @@
+This target allows to create audit records for packets hitting the target.
+It can be used to record accepted, dropped, and rejected packets. See
+auditd(8) for additional details.
+.TP
+\fB\-\-type\fP {\fBaccept\fP|\fBdrop\fP|\fBreject\fP}
+Set type of audit record.
+.PP
+Example:
+.IP
+iptables \-N AUDIT_DROP
+.IP
+iptables \-A AUDIT_DROP \-j AUDIT \-\-type drop
+.IP
+iptables \-A AUDIT_DROP \-j DROP