* Re: next iptables release @ 2009-11-24 15:07 Jan Engelhardt 2009-11-24 15:07 ` [PATCH 1/3] iptables: take masks into consideration for replace command Jan Engelhardt ` (3 more replies) 0 siblings, 4 replies; 26+ messages in thread From: Jan Engelhardt @ 2009-11-24 15:07 UTC (permalink / raw) To: kaber; +Cc: netfilter-devel The following changes since commit 596c69007acb569843391e4c98dc21d6f2336e7b: Patrick McHardy (1): DNAT: fix incorrect check during parsing are available in the git repository at: git://dev.medozas.de/iptables master Jan Engelhardt (3): iptables: take masks into consideration for replace command doc: explain experienced --hitcount limit doc: name resolution clarification extensions/libxt_recent.man | 4 +++- ip6tables.8.in | 10 ++++++---- ip6tables.c | 10 ++++++---- iptables.8.in | 8 +++++--- iptables.c | 10 ++++++---- 5 files changed, 26 insertions(+), 16 deletions(-) ^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH 1/3] iptables: take masks into consideration for replace command 2009-11-24 15:07 next iptables release Jan Engelhardt @ 2009-11-24 15:07 ` Jan Engelhardt 2009-11-24 15:07 ` [PATCH 2/3] doc: explain experienced --hitcount limit Jan Engelhardt ` (2 subsequent siblings) 3 siblings, 0 replies; 26+ messages in thread From: Jan Engelhardt @ 2009-11-24 15:07 UTC (permalink / raw) To: kaber; +Cc: netfilter-devel The two commands: -A OUPUT -d 10.11.12.13/32 -j LOG -R OUTPUT 1 -j LOG -d 10.11.12.13 will replace 10.11.12.13/32 by 10.11.12.13/0, which is not right. (No regression, this problem was there forever.) Reported-by: Werner Pawlitschko <werner.pawlitschko@arcor.de> Signed-off-by: Jan Engelhardt <jengelh@medozas.de> --- ip6tables.c | 10 ++++++---- iptables.c | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ip6tables.c b/ip6tables.c index f6daa51..e2359df 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -758,13 +758,15 @@ static int replace_entry(const ip6t_chainlabel chain, struct ip6t_entry *fw, unsigned int rulenum, - const struct in6_addr *saddr, - const struct in6_addr *daddr, + const struct in6_addr *saddr, const struct in6_addr *smask, + const struct in6_addr *daddr, const struct in6_addr *dmask, int verbose, struct ip6tc_handle *handle) { fw->ipv6.src = *saddr; fw->ipv6.dst = *daddr; + fw->ipv6.smsk = *smask; + fw->ipv6.dmsk = *dmask; if (verbose) print_firewall_line(fw, handle); @@ -1947,8 +1949,8 @@ int do_command6(int argc, char *argv[], char **table, struct ip6tc_handle **hand break; case CMD_REPLACE: ret = replace_entry(chain, e, rulenum - 1, - saddrs, daddrs, options&OPT_VERBOSE, - *handle); + saddrs, smasks, daddrs, dmasks, + options&OPT_VERBOSE, *handle); break; case CMD_INSERT: ret = insert_entry(chain, e, rulenum - 1, diff --git a/iptables.c b/iptables.c index a69aab3..08eb134 100644 --- a/iptables.c +++ b/iptables.c @@ -760,13 +760,15 @@ static int replace_entry(const ipt_chainlabel chain, struct ipt_entry *fw, unsigned int rulenum, - const struct in_addr *saddr, - const struct in_addr *daddr, + const struct in_addr *saddr, const struct in_addr *smask, + const struct in_addr *daddr, const struct in_addr *dmask, int verbose, struct iptc_handle *handle) { fw->ip.src.s_addr = saddr->s_addr; fw->ip.dst.s_addr = daddr->s_addr; + fw->ip.smsk.s_addr = smask->s_addr; + fw->ip.dmsk.s_addr = dmask->s_addr; if (verbose) print_firewall_line(fw, handle); @@ -1988,8 +1990,8 @@ int do_command(int argc, char *argv[], char **table, struct iptc_handle **handle break; case CMD_REPLACE: ret = replace_entry(chain, e, rulenum - 1, - saddrs, daddrs, options&OPT_VERBOSE, - *handle); + saddrs, smasks, daddrs, dmasks, + options&OPT_VERBOSE, *handle); break; case CMD_INSERT: ret = insert_entry(chain, e, rulenum - 1, -- 1.6.5.2 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 2/3] doc: explain experienced --hitcount limit 2009-11-24 15:07 next iptables release Jan Engelhardt 2009-11-24 15:07 ` [PATCH 1/3] iptables: take masks into consideration for replace command Jan Engelhardt @ 2009-11-24 15:07 ` Jan Engelhardt 2009-11-24 15:07 ` [PATCH 3/3] doc: name resolution clarification Jan Engelhardt 2009-11-24 15:13 ` next iptables release Patrick McHardy 3 siblings, 0 replies; 26+ messages in thread From: Jan Engelhardt @ 2009-11-24 15:07 UTC (permalink / raw) To: kaber; +Cc: netfilter-devel Signed-off-by: Jan Engelhardt <jengelh@medozas.de> --- extensions/libxt_recent.man | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/extensions/libxt_recent.man b/extensions/libxt_recent.man index 9d5a64e..aa138df 100644 --- a/extensions/libxt_recent.man +++ b/extensions/libxt_recent.man @@ -44,7 +44,9 @@ This option must be used in conjunction with one of \fB\-\-rcheck\fP or address is in the list and packets had been received greater than or equal to the given value. This option may be used along with \fB\-\-seconds\fP to create an even narrower match requiring a certain number of hits within a specific -time frame. +time frame. The maximum value for the hitcount parameter is given by the +"ip_pkt_list_tot" parameter of the xt_recent kernel module. Exceeding this +value on the command line will cause the rule to be rejected. .TP \fB\-\-rttl\fP This option may only be used in conjunction with one of \fB\-\-rcheck\fP or -- 1.6.5.2 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH 3/3] doc: name resolution clarification 2009-11-24 15:07 next iptables release Jan Engelhardt 2009-11-24 15:07 ` [PATCH 1/3] iptables: take masks into consideration for replace command Jan Engelhardt 2009-11-24 15:07 ` [PATCH 2/3] doc: explain experienced --hitcount limit Jan Engelhardt @ 2009-11-24 15:07 ` Jan Engelhardt 2009-11-24 15:13 ` next iptables release Patrick McHardy 3 siblings, 0 replies; 26+ messages in thread From: Jan Engelhardt @ 2009-11-24 15:07 UTC (permalink / raw) To: kaber; +Cc: netfilter-devel Sometimes there are users who wonder about when name resolutions/DNS queries are done, so let's add that for completeness. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> --- ip6tables.8.in | 10 ++++++---- iptables.8.in | 8 +++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ip6tables.8.in b/ip6tables.8.in index 66d8543..5688133 100644 --- a/ip6tables.8.in +++ b/ip6tables.8.in @@ -240,10 +240,12 @@ option is omitted. .TP [\fB!\fP] \fB\-s\fP, \fB\-\-source\fP \fIaddress\fP[\fB/\fP\fImask\fP] Source specification. -\fIAddress\fP can be either a hostname (please note that specifying -any name to be resolved with a remote query such as DNS is a really bad idea), -a network IPv6 address (with \fB/\fP\fImask\fP), or a plain IPv6 address. -(the network name isn't supported now). +\fIAddress\fP can be either be a hostname, +a network IP address (with \fB/\fP\fImask\fP), or a plain IP address. +Names will be resolved once only, before the rule is submitted to the kernel. +Please note that specifying any name to be resolved with a remote query such as +DNS is a really bad idea. +(Resolving network names is not supported at this time.) The \fImask\fP is a plain number, specifying the number of 1's at the left side of the network mask. A "!" argument before the address specification inverts the sense of diff --git a/iptables.8.in b/iptables.8.in index 928f46a..d29deb2 100644 --- a/iptables.8.in +++ b/iptables.8.in @@ -239,9 +239,11 @@ option is omitted. .TP [\fB!\fP] \fB\-s\fP, \fB\-\-source\fP \fIaddress\fP[\fB/\fP\fImask\fP][\fB,\fP\fI...\fP] Source specification. \fIAddress\fP -can be either a network name, a hostname (please note that specifying -any name to be resolved with a remote query such as DNS is a really bad idea), -a network IP address (with \fB/\fP\fImask\fP), or a plain IP address. +can be either a network name, a hostname, a network IP address (with +\fB/\fP\fImask\fP), or a plain IP address. Hostnames will +be resolved once only, before the rule is submitted to the kernel. +Please note that specifying any name to be resolved with a remote query such as +DNS is a really bad idea. The \fImask\fP can be either a network mask or a plain number, specifying the number of 1's at the left side of the network mask. -- 1.6.5.2 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-11-24 15:07 next iptables release Jan Engelhardt ` (2 preceding siblings ...) 2009-11-24 15:07 ` [PATCH 3/3] doc: name resolution clarification Jan Engelhardt @ 2009-11-24 15:13 ` Patrick McHardy 3 siblings, 0 replies; 26+ messages in thread From: Patrick McHardy @ 2009-11-24 15:13 UTC (permalink / raw) To: Jan Engelhardt; +Cc: netfilter-devel Jan Engelhardt wrote: > The following changes since commit 596c69007acb569843391e4c98dc21d6f2336e7b: > Patrick McHardy (1): > DNAT: fix incorrect check during parsing > > are available in the git repository at: > > git://dev.medozas.de/iptables master > > Jan Engelhardt (3): > iptables: take masks into consideration for replace command > doc: explain experienced --hitcount limit > doc: name resolution clarification Looks good, pulled and pushed out again. Thanks Jan. ^ permalink raw reply [flat|nested] 26+ messages in thread
* next iptables release @ 2009-11-24 11:19 Patrick McHardy 0 siblings, 0 replies; 26+ messages in thread From: Patrick McHardy @ 2009-11-24 11:19 UTC (permalink / raw) To: Netfilter Development Mailinglist; +Cc: netfilter The next iptables version (1.4.6) will be released shortly (an estimated week or something like that). Please send any fixes you would like to get in soon. Test results are also welcome :) Thanks. ^ permalink raw reply [flat|nested] 26+ messages in thread
* next iptables release @ 2009-03-19 8:31 Patrick McHardy 2009-03-19 10:01 ` Jan Engelhardt ` (4 more replies) 0 siblings, 5 replies; 26+ messages in thread From: Patrick McHardy @ 2009-03-19 8:31 UTC (permalink / raw) To: Netfilter Development Mailinglist I've planned to release the next iptables version sometime (late) this weekend. We've had quite a lot of changes since the last version, please test the latest version from git and report any issues. Thanks! ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 8:31 Patrick McHardy @ 2009-03-19 10:01 ` Jan Engelhardt 2009-03-19 10:06 ` Patrick McHardy 2009-03-19 10:13 ` Jan Engelhardt ` (3 subsequent siblings) 4 siblings, 1 reply; 26+ messages in thread From: Jan Engelhardt @ 2009-03-19 10:01 UTC (permalink / raw) To: Patrick McHardy; +Cc: Netfilter Development Mailinglist On Thursday 2009-03-19 09:31, Patrick McHardy wrote: > I've planned to release the next iptables version sometime (late) > this weekend. We've had quite a lot of changes since the last > version, please test the latest version from git and report any > issues. libxtables: add -I/-L flags to pkgconfig files These are needed in case iptables gets installed into a non-standard path. It also enables automatic detection of these locations from 3rd party programs via pkgconfig. Patch pullable from git://dev.medozas.de/iptables master Updating 71bc61f..467e72c Fast forward xtables.pc.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 10:01 ` Jan Engelhardt @ 2009-03-19 10:06 ` Patrick McHardy 0 siblings, 0 replies; 26+ messages in thread From: Patrick McHardy @ 2009-03-19 10:06 UTC (permalink / raw) To: Jan Engelhardt; +Cc: Netfilter Development Mailinglist Jan Engelhardt wrote: > On Thursday 2009-03-19 09:31, Patrick McHardy wrote: > >> I've planned to release the next iptables version sometime (late) >> this weekend. We've had quite a lot of changes since the last >> version, please test the latest version from git and report any >> issues. > > libxtables: add -I/-L flags to pkgconfig files > > These are needed in case iptables gets installed into a non-standard > path. It also enables automatic detection of these locations from 3rd > party programs via pkgconfig. > > > Patch pullable from git://dev.medozas.de/iptables master Pulled, thanks Jan. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 8:31 Patrick McHardy 2009-03-19 10:01 ` Jan Engelhardt @ 2009-03-19 10:13 ` Jan Engelhardt 2009-03-19 11:01 ` Jan Engelhardt ` (2 subsequent siblings) 4 siblings, 0 replies; 26+ messages in thread From: Jan Engelhardt @ 2009-03-19 10:13 UTC (permalink / raw) To: Patrick McHardy; +Cc: Netfilter Development Mailinglist, jdb On Thursday 2009-03-19 09:31, Patrick McHardy wrote: > I've planned to release the next iptables version sometime (late) > this weekend. We've had quite a lot of changes since the last > version, please test the latest version from git and report any > issues. FYI readers, I have been asked before for this, and here is now the Xt-a tree testing branch for the iptables 1.4.3 API (to be merged into master soon), available from git://xtables-addons.git.sf.net/gitroot/xtables-addons iptables143 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 8:31 Patrick McHardy 2009-03-19 10:01 ` Jan Engelhardt 2009-03-19 10:13 ` Jan Engelhardt @ 2009-03-19 11:01 ` Jan Engelhardt 2009-03-19 12:56 ` Patrick McHardy 2009-03-19 12:51 ` Pablo Neira Ayuso 2009-03-21 14:46 ` Jesper Dangaard Brouer 4 siblings, 1 reply; 26+ messages in thread From: Jan Engelhardt @ 2009-03-19 11:01 UTC (permalink / raw) To: Patrick McHardy; +Cc: Netfilter Development Mailinglist On Thursday 2009-03-19 09:31, Patrick McHardy wrote: > I've planned to release the next iptables version sometime (late) > this weekend. We've had quite a lot of changes since the last > version, please test the latest version from git and report any > issues. Another bugfix here, which was reported on Friday on BTS. libxt_comment: output quotes must be escaped in Pullable from git://dev.medozas.de/iptables master Updating 467e72c..4211579 extensions/libxt_comment.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 11:01 ` Jan Engelhardt @ 2009-03-19 12:56 ` Patrick McHardy 0 siblings, 0 replies; 26+ messages in thread From: Patrick McHardy @ 2009-03-19 12:56 UTC (permalink / raw) To: Jan Engelhardt; +Cc: Netfilter Development Mailinglist Jan Engelhardt wrote: > On Thursday 2009-03-19 09:31, Patrick McHardy wrote: > >> I've planned to release the next iptables version sometime (late) >> this weekend. We've had quite a lot of changes since the last >> version, please test the latest version from git and report any >> issues. > > Another bugfix here, which was reported on Friday on BTS. > > libxt_comment: output quotes must be escaped in > > Pullable from git://dev.medozas.de/iptables master Pulled, thanks Jan. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 8:31 Patrick McHardy ` (2 preceding siblings ...) 2009-03-19 11:01 ` Jan Engelhardt @ 2009-03-19 12:51 ` Pablo Neira Ayuso 2009-03-19 12:55 ` Patrick McHardy 2009-03-21 14:46 ` Jesper Dangaard Brouer 4 siblings, 1 reply; 26+ messages in thread From: Pablo Neira Ayuso @ 2009-03-19 12:51 UTC (permalink / raw) To: Patrick McHardy; +Cc: Netfilter Development Mailinglist Patrick McHardy wrote: > I've planned to release the next iptables version sometime (late) > this weekend. We've had quite a lot of changes since the last > version, please test the latest version from git and report any > issues. > > Thanks! Great :). BTW, I'm finishing the cluster match manpage, I'll be done tonight, I'd like to see it in this iptables release (even if the feature is expected to appear in 2.6.30). -- "Los honestos son inadaptados sociales" -- Les Luthiers ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 12:51 ` Pablo Neira Ayuso @ 2009-03-19 12:55 ` Patrick McHardy 2009-03-19 13:10 ` Pablo Neira Ayuso 2009-03-19 13:45 ` Jan Engelhardt 0 siblings, 2 replies; 26+ messages in thread From: Patrick McHardy @ 2009-03-19 12:55 UTC (permalink / raw) To: Pablo Neira Ayuso; +Cc: Netfilter Development Mailinglist Pablo Neira Ayuso wrote: > Patrick McHardy wrote: >> I've planned to release the next iptables version sometime (late) >> this weekend. We've had quite a lot of changes since the last >> version, please test the latest version from git and report any >> issues. >> >> Thanks! > > Great :). BTW, I'm finishing the cluster match manpage, I'll be done > tonight, I'd like to see it in this iptables release (even if the > feature is expected to appear in 2.6.30). I have to ask .. why? :) Besides potentially confusing people (why doesn't it work despite me doing everything the manpage says), what are the advantages of including the manpage before the actual implementation? ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 12:55 ` Patrick McHardy @ 2009-03-19 13:10 ` Pablo Neira Ayuso 2009-03-19 13:16 ` Patrick McHardy 2009-03-19 13:45 ` Jan Engelhardt 1 sibling, 1 reply; 26+ messages in thread From: Pablo Neira Ayuso @ 2009-03-19 13:10 UTC (permalink / raw) To: Patrick McHardy; +Cc: Netfilter Development Mailinglist Patrick McHardy wrote: > Pablo Neira Ayuso wrote: >> Patrick McHardy wrote: >>> I've planned to release the next iptables version sometime (late) >>> this weekend. We've had quite a lot of changes since the last >>> version, please test the latest version from git and report any >>> issues. >>> >>> Thanks! >> >> Great :). BTW, I'm finishing the cluster match manpage, I'll be done >> tonight, I'd like to see it in this iptables release (even if the >> feature is expected to appear in 2.6.30). > > I have to ask .. why? :) > > Besides potentially confusing people (why doesn't it work despite me > doing everything the manpage says), what are the advantages of including > the manpage before the actual implementation? I planned to distribute the kernel module separately until 2.6.30 arrives, add a page to conntrack-tools.netfilter.org, document this in the conntrack-tools manual [1] to describe the active-active setup, and so on. Basically, my motivation is to get some feedback from people as soon as possible without waiting the whole kernel cycle release. I know that this seems something exceptional and it may confuse people. Another choice is to keep it in pom-ng in the meantime, or perhaps simply be a little bit patient :). [1] http://conntrack-tools.netfilter.org/manual.html -- "Los honestos son inadaptados sociales" -- Les Luthiers ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 13:10 ` Pablo Neira Ayuso @ 2009-03-19 13:16 ` Patrick McHardy 2009-03-19 13:52 ` Jan Engelhardt 0 siblings, 1 reply; 26+ messages in thread From: Patrick McHardy @ 2009-03-19 13:16 UTC (permalink / raw) To: Pablo Neira Ayuso; +Cc: Netfilter Development Mailinglist Pablo Neira Ayuso wrote: > Patrick McHardy wrote: >>> Great :). BTW, I'm finishing the cluster match manpage, I'll be done >>> tonight, I'd like to see it in this iptables release (even if the >>> feature is expected to appear in 2.6.30). >> I have to ask .. why? :) >> >> Besides potentially confusing people (why doesn't it work despite me >> doing everything the manpage says), what are the advantages of including >> the manpage before the actual implementation? > > I planned to distribute the kernel module separately until 2.6.30 > arrives, add a page to conntrack-tools.netfilter.org, document this in > the conntrack-tools manual [1] to describe the active-active setup, and > so on. Basically, my motivation is to get some feedback from people as > soon as possible without waiting the whole kernel cycle release. > > I know that this seems something exceptional and it may confuse people. > Another choice is to keep it in pom-ng in the meantime, or perhaps > simply be a little bit patient :). > > [1] http://conntrack-tools.netfilter.org/manual.html How about just adding it as first commit after the release? That way people can get the latest stable version, including support for the cluster match. Otherwise they'd have to patch in the the extension anyways. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 13:16 ` Patrick McHardy @ 2009-03-19 13:52 ` Jan Engelhardt 2009-03-19 13:56 ` Patrick McHardy 0 siblings, 1 reply; 26+ messages in thread From: Jan Engelhardt @ 2009-03-19 13:52 UTC (permalink / raw) To: Patrick McHardy; +Cc: Pablo Neira Ayuso, Netfilter Development Mailinglist On Thursday 2009-03-19 14:16, Patrick McHardy wrote: >> >> I planned to distribute the kernel module separately until 2.6.30 >> arrives, add a page to conntrack-tools.netfilter.org, document this in >> the conntrack-tools manual [1] to describe the active-active setup, and >> so on. Basically, my motivation is to get some feedback from people as >> soon as possible without waiting the whole kernel cycle release. >> >> I know that this seems something exceptional and it may confuse people. >> Another choice is to keep it in pom-ng in the meantime, or perhaps >> simply be a little bit patient :). >> >> [1] http://conntrack-tools.netfilter.org/manual.html > > How about just adding it as first commit after the release? That way > people can get the latest stable version, including support for the > cluster match. Otherwise they'd have to patch in the the extension > anyways. I am all for including it now. Distributions are known to forget updating iptables, so the earlier it gets included, the higher is the chance distros pick it [a new iptables release] up. Users (or these days, too, Debian) often upgrading their kernel yet not dare to manually install anything outside the package manager's realm, that is my impression. For example etchnhalf — nice kernel, but it is hopeless with the iptables version to get the new goodies. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 13:52 ` Jan Engelhardt @ 2009-03-19 13:56 ` Patrick McHardy 0 siblings, 0 replies; 26+ messages in thread From: Patrick McHardy @ 2009-03-19 13:56 UTC (permalink / raw) To: Jan Engelhardt; +Cc: Pablo Neira Ayuso, Netfilter Development Mailinglist Jan Engelhardt wrote: > >> How about just adding it as first commit after the release? That way >> people can get the latest stable version, including support for the >> cluster match. Otherwise they'd have to patch in the the extension >> anyways. >> > > I am all for including it now. Distributions are known to forget > updating iptables, so the earlier it gets included, the higher is the > chance distros pick it [a new iptables release] up. Users (or these > days, too, Debian) often upgrading their kernel yet not dare to > manually install anything outside the package manager's realm, that > is my impression. For example etchnhalf — nice kernel, but it is > hopeless with the iptables version to get the new goodies. > Sorry, no way. I'm not going back to the random-crap model. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 12:55 ` Patrick McHardy 2009-03-19 13:10 ` Pablo Neira Ayuso @ 2009-03-19 13:45 ` Jan Engelhardt 2009-03-19 13:55 ` Patrick McHardy 1 sibling, 1 reply; 26+ messages in thread From: Jan Engelhardt @ 2009-03-19 13:45 UTC (permalink / raw) To: Patrick McHardy; +Cc: Pablo Neira Ayuso, Netfilter Development Mailinglist On Thursday 2009-03-19 13:55, Patrick McHardy wrote: > Pablo Neira Ayuso wrote: >> Patrick McHardy wrote: >>> I've planned to release the next iptables version sometime (late) >>> this weekend. We've had quite a lot of changes since the last >>> version, please test the latest version from git and report any >>> issues. >>> >>> Thanks! >> >> Great :). BTW, I'm finishing the cluster match manpage, I'll be done >> tonight, I'd like to see it in this iptables release (even if the >> feature is expected to appear in 2.6.30). > > I have to ask .. why? :) > > Besides potentially confusing people (why doesn't it work despite me > doing everything the manpage says), what are the advantages of including > the manpage before the actual implementation? It does not confuse people as much as you think, I would say. Since iptables runs with kernels so old the dust could kill, the scenarios where iptables has an .so file for a kernel piece that did not exist yet back then are numerous. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 13:45 ` Jan Engelhardt @ 2009-03-19 13:55 ` Patrick McHardy 2009-03-19 14:02 ` Jan Engelhardt 0 siblings, 1 reply; 26+ messages in thread From: Patrick McHardy @ 2009-03-19 13:55 UTC (permalink / raw) To: Jan Engelhardt; +Cc: Pablo Neira Ayuso, Netfilter Development Mailinglist Jan Engelhardt wrote: > On Thursday 2009-03-19 13:55, Patrick McHardy wrote: >> Besides potentially confusing people (why doesn't it work despite me >> doing everything the manpage says), what are the advantages of including >> the manpage before the actual implementation? >> > > It does not confuse people as much as you think, I would say. > Since iptables runs with kernels so old the dust could kill, > the scenarios where iptables has an .so file for a kernel piece > that did not exist yet back then are numerous. > Object files are a completely different questions. We've had tons of crap in there for unmerged patches that we did later merge and had to change the API, which caused "breakage" for people. So that is out of the question anyways. And a manpage for something that isn't even present will either not get noticed or confuse people. Its not useful. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 13:55 ` Patrick McHardy @ 2009-03-19 14:02 ` Jan Engelhardt 2009-03-19 14:08 ` Patrick McHardy 0 siblings, 1 reply; 26+ messages in thread From: Jan Engelhardt @ 2009-03-19 14:02 UTC (permalink / raw) To: Patrick McHardy; +Cc: Pablo Neira Ayuso, Netfilter Development Mailinglist On Thursday 2009-03-19 14:55, Patrick McHardy wrote: >Jan Engelhardt wrote: >> On Thursday 2009-03-19 13:55, Patrick McHardy wrote: >>> Besides potentially confusing people (why doesn't it work despite me >>> doing everything the manpage says), what are the advantages of including >>> the manpage before the actual implementation? >> >> It does not confuse people as much as you think, I would say. >> Since iptables runs with kernels so old the dust could kill, >> the scenarios where iptables has an .so file for a kernel piece >> that did not exist yet back then are numerous. > >[...]a manpage for something that >isn't even present will either not get noticed or confuse people. Its not >useful. I agree with that. Manpages for non-existant .so files seems cloven/incomplete [zerhackt]. >Object files are a completely different questions. We've had tons of crap >in there for unmerged patches that we did later merge and had to change >the API, which caused "breakage" for people. Yes, but we can, and specifically I do, expect Pablo to fabricate something better, more consistent, and which has been reviewed with regard to the 'guideline checklist' than the unreviewed rotting bits that used to be in the past POM tree. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 14:02 ` Jan Engelhardt @ 2009-03-19 14:08 ` Patrick McHardy 2009-03-20 13:24 ` Pablo Neira Ayuso 0 siblings, 1 reply; 26+ messages in thread From: Patrick McHardy @ 2009-03-19 14:08 UTC (permalink / raw) To: Jan Engelhardt; +Cc: Pablo Neira Ayuso, Netfilter Development Mailinglist Jan Engelhardt wrote: > On Thursday 2009-03-19 14:55, Patrick McHardy wrote: > > >> Object files are a completely different questions. We've had tons of crap >> in there for unmerged patches that we did later merge and had to change >> the API, which caused "breakage" for people. >> > > Yes, but we can, and specifically I do, expect Pablo to fabricate > something better, more consistent, and which has been reviewed with > regard to the 'guideline checklist' than the unreviewed rotting > bits that used to be in the past POM tree. > I do to, but I don't see why we should risk it. Its just as well possible that someone testing it thinks of a great feature that would perfectly fit in, but needs ABI changes. The -rc phase is for testing and also fixing and changing things, releasing userspace before the kernel part is set in stone is unnecessarily reducing the short amount of time we have for this. ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 14:08 ` Patrick McHardy @ 2009-03-20 13:24 ` Pablo Neira Ayuso 2009-03-20 14:25 ` Patrick McHardy 0 siblings, 1 reply; 26+ messages in thread From: Pablo Neira Ayuso @ 2009-03-20 13:24 UTC (permalink / raw) To: Patrick McHardy; +Cc: Jan Engelhardt, Netfilter Development Mailinglist Patrick McHardy wrote: > I do to, but I don't see why we should risk it. Its just as well possible > that someone testing it thinks of a great feature that would perfectly fit > in, but needs ABI changes. The -rc phase is for testing and also fixing > and changing things, releasing userspace before the kernel part is set in > stone is unnecessarily reducing the short amount of time we have for this. Indeed. I'll apply the patch once iptables is released. Let me know if I can give you a hand with the releasing process. -- "Los honestos son inadaptados sociales" -- Les Luthiers ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-20 13:24 ` Pablo Neira Ayuso @ 2009-03-20 14:25 ` Patrick McHardy 0 siblings, 0 replies; 26+ messages in thread From: Patrick McHardy @ 2009-03-20 14:25 UTC (permalink / raw) To: Pablo Neira Ayuso; +Cc: Jan Engelhardt, Netfilter Development Mailinglist Pablo Neira Ayuso wrote: > Patrick McHardy wrote: >> I do to, but I don't see why we should risk it. Its just as well possible >> that someone testing it thinks of a great feature that would perfectly fit >> in, but needs ABI changes. The -rc phase is for testing and also fixing >> and changing things, releasing userspace before the kernel part is set in >> stone is unnecessarily reducing the short amount of time we have for this. > > Indeed. I'll apply the patch once iptables is released. Let me know if I > can give you a hand with the releasing process. Thanks, I hope I can manage it :) ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-19 8:31 Patrick McHardy ` (3 preceding siblings ...) 2009-03-19 12:51 ` Pablo Neira Ayuso @ 2009-03-21 14:46 ` Jesper Dangaard Brouer 2009-03-23 13:09 ` Patrick McHardy 4 siblings, 1 reply; 26+ messages in thread From: Jesper Dangaard Brouer @ 2009-03-21 14:46 UTC (permalink / raw) To: Patrick McHardy; +Cc: Netfilter Development Mailinglist, Jan Engelhardt On Thu, 19 Mar 2009, Patrick McHardy wrote: > I've planned to release the next iptables version sometime (late) > this weekend. We've had quite a lot of changes since the last > version, please test the latest version from git and report any > issues. I just realized a bug in libiptc.c in func TC_RENAME_CHAIN. The rename should insert the new chain name sorted, as my binary search system / skip-list rely on it. I don't have time to fix it until monday. Jan, feel free to fix it up before I do... Cheers, Jesper Brouer -- ------------------------------------------------------------------- MSc. Master of Computer Science Dept. of Computer Science, University of Copenhagen Author of http://www.adsl-optimizer.dk ------------------------------------------------------------------- commit 6b7e7cde912a6395cb2a1f5e4b2f50cad2592b17 Author: Jesper Dangaard Brouer <hawk@comx.dk> Date: Sat Mar 21 15:40:54 2009 +0100 I just realized a bug in libiptc.c in func TC_RENAME_CHAIN. Due my bsearch/skip-list implementation. diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index 544a5b2..3bcae9c 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -2404,6 +2404,8 @@ int TC_RENAME_CHAIN(const IPT_CHAINLABEL oldname, return 0; } + /* FIXME: Bug here due to the bsearch system, new chain name + needs to be inserted sorted */ strncpy(c->name, newname, sizeof(IPT_CHAINLABEL)); set_changed(handle); ^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: next iptables release 2009-03-21 14:46 ` Jesper Dangaard Brouer @ 2009-03-23 13:09 ` Patrick McHardy 0 siblings, 0 replies; 26+ messages in thread From: Patrick McHardy @ 2009-03-23 13:09 UTC (permalink / raw) To: Jesper Dangaard Brouer; +Cc: Netfilter Development Mailinglist, Jan Engelhardt Jesper Dangaard Brouer wrote: > On Thu, 19 Mar 2009, Patrick McHardy wrote: > >> I've planned to release the next iptables version sometime (late) >> this weekend. We've had quite a lot of changes since the last >> version, please test the latest version from git and report any >> issues. > > I just realized a bug in libiptc.c in func TC_RENAME_CHAIN. > The rename should insert the new chain name sorted, as my binary search > system / skip-list rely on it. > > I don't have time to fix it until monday. Jan, feel free to fix it up > before I do... I'll wait with the release until someone sends me a patch :) ^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2009-11-24 15:13 UTC | newest] Thread overview: 26+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-11-24 15:07 next iptables release Jan Engelhardt 2009-11-24 15:07 ` [PATCH 1/3] iptables: take masks into consideration for replace command Jan Engelhardt 2009-11-24 15:07 ` [PATCH 2/3] doc: explain experienced --hitcount limit Jan Engelhardt 2009-11-24 15:07 ` [PATCH 3/3] doc: name resolution clarification Jan Engelhardt 2009-11-24 15:13 ` next iptables release Patrick McHardy -- strict thread matches above, loose matches on Subject: below -- 2009-11-24 11:19 Patrick McHardy 2009-03-19 8:31 Patrick McHardy 2009-03-19 10:01 ` Jan Engelhardt 2009-03-19 10:06 ` Patrick McHardy 2009-03-19 10:13 ` Jan Engelhardt 2009-03-19 11:01 ` Jan Engelhardt 2009-03-19 12:56 ` Patrick McHardy 2009-03-19 12:51 ` Pablo Neira Ayuso 2009-03-19 12:55 ` Patrick McHardy 2009-03-19 13:10 ` Pablo Neira Ayuso 2009-03-19 13:16 ` Patrick McHardy 2009-03-19 13:52 ` Jan Engelhardt 2009-03-19 13:56 ` Patrick McHardy 2009-03-19 13:45 ` Jan Engelhardt 2009-03-19 13:55 ` Patrick McHardy 2009-03-19 14:02 ` Jan Engelhardt 2009-03-19 14:08 ` Patrick McHardy 2009-03-20 13:24 ` Pablo Neira Ayuso 2009-03-20 14:25 ` Patrick McHardy 2009-03-21 14:46 ` Jesper Dangaard Brouer 2009-03-23 13:09 ` Patrick McHardy
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).