Skip to contentSkip to conversation

iptables.8: Describe the effect of multiple -v flags

PATCH New Phil Sutter 1 participant 1 message Feb 8, 2022 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 iptables.8: Describe the effect of multiple -v flags

Functionality differs between legacy and nft variants, detail the effects a bit.

---
 iptables/iptables.8.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
iptables/iptables.8.in +5 -1
index 759ec54fdeb72..ccc498f56def1 100644
@@ -360,7 +360,11 @@ byte counters are also listed, with the suffix 'K', 'M' or 'G' for
 the \fB\-x\fP flag to change this).
 For appending, insertion, deletion and replacement, this causes
 detailed information on the rule or rules to be printed. \fB\-v\fP may be
-specified multiple times to possibly emit more detailed debug statements.
+specified multiple times to possibly emit more detailed debug statements:
+Specified twice, \fBiptables-legacy\fP will dump table info and entries in
+libiptc, \fBiptables-nft\fP dumps rules in netlink (VM code) presentation.
+Specified three times, \fBiptables-nft\fP will also dump any netlink messages
+sent to kernel.
 .TP
 \fB\-V\fP, \fB\-\-version\fP
 Show program version and the kernel API used.
Signature · 1 line
2.34.1