From c7948744bf591e0c46b6d19ccfa408cc59e11ef1 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Wed, 16 Mar 2011 16:30:09 +0100 Subject: iptables: add manual page section for AUDIT target Signed-off-by: Thomas Graf Signed-off-by: Patrick McHardy --- extensions/libxt_AUDIT.man | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 extensions/libxt_AUDIT.man diff --git a/extensions/libxt_AUDIT.man b/extensions/libxt_AUDIT.man new file mode 100644 index 00000000..cd796967 --- /dev/null +++ b/extensions/libxt_AUDIT.man @@ -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 -- cgit v1.2.3