Skip to contentSkip to conversation

extensions: AUDIT: Document ineffective --type option

PATCH New Phil Sutter 1 participant 1 message Feb 21, 2019 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 extensions: AUDIT: Document ineffective --type option

---
 extensions/libxt_AUDIT.man | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
extensions/libxt_AUDIT.man +4 -2
index cd796967c431a..4f5562e8ca425 100644
@@ -3,12 +3,14 @@ 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.
+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.
 .PP
 Example:
 .IP
 iptables \-N AUDIT_DROP
 .IP
-iptables \-A AUDIT_DROP \-j AUDIT \-\-type drop
+iptables \-A AUDIT_DROP \-j AUDIT
 .IP
 iptables \-A AUDIT_DROP \-j DROP
Signature · 1 line
2.20.1