libxt_AUDIT.man 541 Bytes
Newer Older
1
2
3
4
5
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}
6
7
8
Set type of audit record. Starting with linux-4.12, this option has no effect
on generated audit messages anymore. It is still accepted by iptables for
compatibility reasons, but ignored.
9
10
11
12
13
.PP
Example:
.IP
iptables \-N AUDIT_DROP
.IP
14
iptables \-A AUDIT_DROP \-j AUDIT
15
16
.IP
iptables \-A AUDIT_DROP \-j DROP