• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This 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
15