Skip to contentSkip to conversation

iptables: libip(6)t_REJECT.man default icmp types

PATCH Applied Laurence J. Lane 2 participants 2 messages Aug 18, 2013 – Aug 22, 2013 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iptables: libip(6)t_REJECT.man default icmp types

From: "Laurence J. Lane" <[email protected]>

The extension man page shows "port-unreach" and "port-unreachable" as default icmpi6 and icomp reject-with types. Either and variations work fine for writing rules, but they are displayed as "icmp6-port-unreachable" and "icmp-port-unreachable". Let's make that consistent.

http://bugs.debian.org/644819

---
 extensions/libip6t_REJECT.man | 7 +++----
 extensions/libipt_REJECT.man  | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)
extensions/libip6t_REJECT.man +3 -4
index 2d09e05..0030a51 100644
@@ -18,10 +18,9 @@ The type given can be
 \fBicmp6\-adm\-prohibited\fP,
 \fBadm\-prohibited\fP,
 \fBicmp6\-addr\-unreachable\fP,
-\fBaddr\-unreach\fP,
-\fBicmp6\-port\-unreachable\fP or
-\fBport\-unreach\fP
-which return the appropriate ICMPv6 error message (\fBport\-unreach\fP is
+\fBaddr\-unreach\fP, or
+\fBicmp6\-port\-unreachable\fP,
+which return the appropriate ICMPv6 error message (\fBicmp6\-port\-unreachable\fP is
 the default). Finally, the option
 \fBtcp\-reset\fP
 can be used on rules which only match the TCP protocol: this causes a
extensions/libipt_REJECT.man +3 -3
index c419a85..926da03 100644
@@ -18,9 +18,9 @@ The type given can be
 \fBicmp\-port\-unreachable\fP,
 \fBicmp\-proto\-unreachable\fP,
 \fBicmp\-net\-prohibited\fP,
-\fBicmp\-host\-prohibited\fP or
-\fBicmp\-admin\-prohibited\fP (*)
-which return the appropriate ICMP error message (\fBport\-unreachable\fP is
+\fBicmp\-host\-prohibited\fP, or
+\fBicmp\-admin\-prohibited\fP (*),
+which return the appropriate ICMP error message (\fBicmp\-port\-unreachable\fP is
 the default).  The option
 \fBtcp\-reset\fP
 can be used on rules which only match the TCP protocol: this causes a
Signature · 1 line
1.8.1.2
maintainer Applied
#1 lore raw
Quoted 8 lines · Laurence J. Lane

From: "Laurence J. Lane" <[email protected]>

The extension man page shows "port-unreach" and "port-unreachable" as default icmpi6 and icomp reject-with types. Either and variations work fine for writing rules, but they are displayed as "icmp6-port-unreachable" and "icmp-port-unreachable". Let's make that consistent.

http://bugs.debian.org/644819

Applied, thanks.