netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iptables: add manual page section for AUDIT target
@ 2011-03-16  0:26 Thomas Graf
  2011-03-16  2:28 ` Stephen Hemminger
  2011-03-16 15:39 ` Patrick McHardy
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Graf @ 2011-03-16  0:26 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netfilter-devel


Signed-off-by: Thomas Graf <tgraf@redhat.com>

diff --git a/extensions/libxt_AUDIT.man b/extensions/libxt_AUDIT.man
new file mode 100644
index 0000000..cd79696
--- /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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-16 15:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16  0:26 [PATCH] iptables: add manual page section for AUDIT target Thomas Graf
2011-03-16  2:28 ` Stephen Hemminger
2011-03-16  2:29   ` Stephen Hemminger
2011-03-16 15:39 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).