netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iptables: libip(6)t_REJECT.man default icmp types
@ 2013-08-18 23:41 Laurence J. Lane
  2013-08-22 11:03 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Laurence J. Lane @ 2013-08-18 23:41 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Laurence J. Lane

From: "Laurence J. Lane" <ljlane@debian.org>

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

Signed-off-by: Laurence J. Lane <ljlane@debian.org>
---
 extensions/libip6t_REJECT.man | 7 +++----
 extensions/libipt_REJECT.man  | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/extensions/libip6t_REJECT.man b/extensions/libip6t_REJECT.man
index 2d09e05..0030a51 100644
--- a/extensions/libip6t_REJECT.man
+++ b/extensions/libip6t_REJECT.man
@@ -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
diff --git a/extensions/libipt_REJECT.man b/extensions/libipt_REJECT.man
index c419a85..926da03 100644
--- a/extensions/libipt_REJECT.man
+++ b/extensions/libipt_REJECT.man
@@ -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
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iptables: libip(6)t_REJECT.man default icmp types
  2013-08-18 23:41 [PATCH] iptables: libip(6)t_REJECT.man default icmp types Laurence J. Lane
@ 2013-08-22 11:03 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-08-22 11:03 UTC (permalink / raw)
  To: Laurence J. Lane; +Cc: netfilter-devel

On Sun, Aug 18, 2013 at 07:41:40PM -0400, Laurence J. Lane wrote:
> From: "Laurence J. Lane" <ljlane@debian.org>
> 
> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-22 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-18 23:41 [PATCH] iptables: libip(6)t_REJECT.man default icmp types Laurence J. Lane
2013-08-22 11:03 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).