blob: cd796967c431abeb23e7050d95eea1f0fa55dd40 [file] [log] [blame]
Thomas Grafc7948742011-03-16 16:30:09 +01001This target allows to create audit records for packets hitting the target.
2It can be used to record accepted, dropped, and rejected packets. See
3auditd(8) for additional details.
4.TP
5\fB\-\-type\fP {\fBaccept\fP|\fBdrop\fP|\fBreject\fP}
6Set type of audit record.
7.PP
8Example:
9.IP
10iptables \-N AUDIT_DROP
11.IP
12iptables \-A AUDIT_DROP \-j AUDIT \-\-type drop
13.IP
14iptables \-A AUDIT_DROP \-j DROP