modified iptables manpage
Hi,
I saw that the last iptables Debian package version (1.2.9-10) includes patches to iptables, in particular to the original manpage. Did I miss your requests in order to make these changes in the upstream manpage? The nature of the patches doesn't matter (they are small)... but don't you think that the fair way to do things is to forward wishes to upstream, so that everyone could benefit from the improvements, instead of keeping them for Debian users only?
Note: I'll submit a patch to the manpage (with other small changes as well) during the week.
Herve
Signature · 4 lines
_ (°= Hervé Eychenne //) Homepage: http://www.eychenne.org/ v_/_ WallFire project: http://www.wallfire.org/
On Mon, Jul 05, 2004 at 01:57:40PM +0200, Hervé Eychenne wrote:
Hi,
Quoted 10 lines
I saw that the last iptables Debian package version (1.2.9-10) includes patches to iptables, in particular to the original manpage. Did I miss your requests in order to make these changes in the upstream manpage? The nature of the patches doesn't matter (they are small)... but don't you think that the fair way to do things is to forward wishes to upstream, so that everyone could benefit from the improvements, instead of keeping them for Debian users only?
Note: I'll submit a patch to the manpage (with other small changes as well) during the week.
Here it is:
- fixed weird characters handling in interface name
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=102771&archive=yes
- fixed typo in manpage (the fix was wrong in Debian...)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=197619&archive=yes
- added the default logging level (target LOG) to the manpage
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=246037
There are still some patches in the iptables Debian package, that the coreteam may want to apply... it's up to you.
Sebastien Chaumontet reported that the ability to change only port in DNAT was not documented in the manpage. The attached patch fixes that as well.
The patch also reflects the status of the new (ok, this one is pending for a few months) emeritus members status.
Over time, a few people told me that they first had looked for a netfilter man page, before finding the iptables one... and I agree there should definitely be a small man page about netfilter, containing only a little information about the very basic concepts and the kernel part, just to clarify things.
Of course, it is not intended to grow too much, as it would overlap with the howto, which is clearly not its goal.
So I joined a netfilter.7 manpage, as it was pending (too) in my tree for a long time. Feel free to include it (and correct by bad english) if you find it useful.
Note: the patch is against current CVS.
Herve
Signature · 4 lines
_ (°= Hervé Eychenne //) v_/_ WallFire project: http://www.wallfire.org/
extensions/libip6t_LOG.man +3 -1
@@ -11,7 +11,9 @@ then DROP (or REJECT). .TP .BI "--log-level " "level" -Level of logging (numeric or see \fIsyslog.conf\fP(5)). +Level of logging (numeric or see \fIsyslog.conf\fP(5)). The default +level is +.IR warning . .TP .BI "--log-prefix " "prefix" Prefix log messages with the specified prefix; up to 29 letters long,
extensions/libipt_DNAT.man +5 -2
@@ -10,9 +10,12 @@ also be mangled), and rules should cease being examined. It takes one type of option: .TP -.BR "--to-destination " "\fIipaddr\fP[-\fIipaddr\fP][:\fIport\fP-\fIport\fP]" +.BR "--to-destination " "\fIipaddr\fP[-\fIipaddr\fP][:\fIport\fP[-\fIport\fP]]" +.ns +.TP +.BR "--to-destination " ":\fIport\fP[-\fIport\fP]" which can specify a single new destination IP address, an inclusive -range of IP addresses, and optionally, a port range (which is only +range of IP addresses, and/or a port, or a port range (which is only valid if the rule also specifies .B "-p tcp" or
extensions/libipt_LOG.man +3 -1
@@ -11,7 +11,9 @@ then DROP (or REJECT). .TP .BI "--log-level " "level" -Level of logging (numeric or see \fIsyslog.conf\fP(5)). +Level of logging (numeric or see \fIsyslog.conf\fP(5)). The default +level is +.IR warning . .TP .BI "--log-prefix " "prefix" Prefix log messages with the specified prefix; up to 29 letters long,
extensions/libipt_physdev.c +2 -1
@@ -63,8 +63,9 @@for (i =0 ; vianame[i]; i++) {if (!isalnum (vianame[i]) && vianame[i] !='_' + && vianame[i] !='-' && vianame[i] !='.' ) { -printf ("Warning: wierd character in interface" +printf ("Warning: weird character in interface" " `%s' (No aliases, :, ! or *).\n" , vianame);break ;
ip6tables.8.in +4 -3
@@ -58,7 +58,7 @@ .SH TARGETS A firewall rule specifies criteria for a packet, and a target. If the -packet does not match, the next rule in the chain is the examined; if +packet does not match, the next rule in the chain is examined; if it does match, then the next rule is specified by the value of the target, which can be the name of a user-defined chain or one of the special values
@@ -450,8 +450,9 @@ .PP Harald Welte wrote the ULOG target, TTL match+target and libipulog. .PP -The Netfilter Core Team is: Marc Boucher, Martin Josefsson, Jozsef Kadlecsik, -James Morris, Harald Welte and Rusty Russell. +The Netfilter Core Team is: Martin Josefsson, Jozsef Kadlecsik, +Patrick McHardy, and Harald Welte. +Core Team Emeritus Members are: Marc Boucher, James Morris, and Rusty Russell. .PP ip6tables man page created by Andras Kis-Szabo, based on iptables man page written by Herve Eychenne <[email protected]>.
ip6tables.c +3 -2
@@ -854,9 +854,10 @@memset (mask + vialen +1 ,0 ,IFNAMSIZ - vialen -1 );for (i =0 ; vianame[i]; i++) {if (!isalnum (vianame[i]) - && vianame[i] !='_' + && vianame[i] !='_' + && vianame[i] !='-' && vianame[i] !='.' ) { -printf ("Warning: wierd character in interface" +printf ("Warning: weird character in interface" " `%s' (No aliases, :, ! or *).\n" , vianame);break ;
iptables.8.in +4 -3
@@ -56,7 +56,7 @@ .SH TARGETS A firewall rule specifies criteria for a packet, and a target. If the -packet does not match, the next rule in the chain is the examined; if +packet does not match, the next rule in the chain is examined; if it does match, then the next rule is specified by the value of the target, which can be the name of a user-defined chain or one of the special values
@@ -454,8 +454,9 @@ .PP Harald Welte wrote the ULOG target, TTL, DSCP, ECN matches and targets. .PP -The Netfilter Core Team is: Marc Boucher, Martin Josefsson, Jozsef Kadlecsik, -Patrick McHardy, James Morris, Harald Welte and Rusty Russell. +The Netfilter Core Team is: Martin Josefsson, Jozsef Kadlecsik, +Patrick McHardy, and Harald Welte. +Core Team Emeritus Members are: Marc Boucher, James Morris, and Rusty Russell. .PP Man page written by Herve Eychenne <[email protected]>. .\" .. and did I mention that we are incredibly cool people?
iptables.c +3 -2
@@ -794,9 +794,10 @@memset (mask + vialen +1 ,0 ,IFNAMSIZ - vialen -1 );for (i =0 ; vianame[i]; i++) {if (!isalnum (vianame[i]) - && vianame[i] !='_' + && vianame[i] !='_' + && vianame[i] !='-' && vianame[i] !='.' ) { -printf ("Warning: wierd character in interface" +printf ("Warning: weird character in interface" " `%s' (No aliases, :, ! or *).\n" , vianame);break ;
netfilter.7 +130 -0
130 lines not on this page · raw message
Quoted 31 lines · Herve Eychenne
On Mon, Jul 05, 2004 at 01:57:40PM +0200, Hervé Eychenne wrote:
Here it is:
- fixed weird characters handling in interface name
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=102771&archive=yes
- fixed typo in manpage (the fix was wrong in Debian...)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=197619&archive=yes
- added the default logging level (target LOG) to the manpage
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=246037There are still some patches in the iptables Debian package, that the coreteam may want to apply... it's up to you.
Sebastien Chaumontet reported that the ability to change only port in DNAT was not documented in the manpage. The attached patch fixes that as well.
The patch also reflects the status of the new (ok, this one is pending for a few months) emeritus members status.
Over time, a few people told me that they first had looked for a netfilter man page, before finding the iptables one... and I agree there should definitely be a small man page about netfilter, containing only a little information about the very basic concepts and the kernel part, just to clarify things.
Of course, it is not intended to grow too much, as it would overlap with the howto, which is clearly not its goal.
So I joined a netfilter.7 manpage, as it was pending (too) in my tree for a long time. Feel free to include it (and correct by bad english) if you find it useful.
Quoted 1 line
Note: the patch is against current CVS.
Apparently this mail/patch was lost/ignored... may I dare to ask why?
But you won't discourage me ;-), so I send another patch on top of that.
Eric Raymond sent me an email, as the iptables man page did not pass his groff validator. He was right, so here is the patch, which also fixes a typo (address only takes one d in french, so this is a quite common mistake down here, I guess...)
Herve
Signature · 4 lines
_ (°= Hervé Eychenne //) v_/_ WallFire project: http://www.wallfire.org/
extensions/libipt_DNAT.man +2 -1
@@ -27,4 +27,5 @@ You can add several --to-destination options. If you specify more than one destination address, either via an address range or multiple --to-destination options, a simple round-robin (one after another in -cycle) load balancing takes place between these adresses. +cycle) load balancing takes place between these addresses. +.RE
extensions/libipt_SNAT.man +2 -1
@@ -23,4 +23,5 @@ You can add several --to-source options. If you specify more than one source address, either via an address range or multiple --to-source options, a simple round-robin (one after another in -cycle) takes place between these adresses. +cycle) takes place between these addresses. +.RE