Skip to contentSkip to conversation

next iptables release

PATCH In review Patrick McHardy 5 participants 22 messages Mar 19, 2009 – Mar 23, 2009 netfilter

lore
Share & tools
lore
#0 lore raw

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!

#1 lore raw
Quoted 4 lines · Patrick McHardy

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(-)
#2 lore raw
Quoted 7 lines · Jan Engelhardt
Quoted 4 lines · Patrick McHardy

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.

Quoted 8 lines

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.

#3 lore raw
In reply to Patrick McHardy
Quoted 4 lines · Patrick McHardy

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

#4 lore raw
In reply to Patrick McHardy
Quoted 4 lines · Patrick McHardy

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(-)
#6 lore raw
In reply to Patrick McHardy
Quoted 6 lines · Patrick McHardy

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).

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers
#7 lore raw
Quoted 11 lines · Pablo Neira Ayuso
Quoted 6 lines · Patrick McHardy

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?

#5 lore raw
In reply to Jan Engelhardt
Quoted 7 lines · Jan Engelhardt
Quoted 4 lines · Patrick McHardy

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.

Quoted 5 lines

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.

#8 lore raw
In reply to Patrick McHardy
Quoted 13 lines · Patrick McHardy
Quoted 11 lines · Pablo Neira Ayuso
Quoted 6 lines · Patrick McHardy

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).

Quoted 5 lines

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

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers
#9 lore raw
Quoted 16 lines · Pablo Neira Ayuso
Quoted 8 lines · Patrick McHardy
Quoted 3 lines

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.

Quoted 5 lines

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.

#12 lore raw
In reply to Patrick McHardy
Quoted 13 lines · Patrick McHardy
Quoted 11 lines · Pablo Neira Ayuso
Quoted 6 lines · Patrick McHardy

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).

Quoted 5 lines

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.

#10 lore raw
In reply to Patrick McHardy
Quoted 11 lines · Patrick McHardy
Quoted 11 lines

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 :).

Quoted 6 lines
Quoted 1 line

[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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#13 lore raw
In reply to Jan Engelhardt
Quoted 11 lines · Jan Engelhardt
Quoted 4 lines · Patrick McHardy

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.

#18 lore raw

PATCH 1/1 iptables: avoid compile warnings for iptc_insert_chain

In reply to Patrick McHardy

iptc_insert_chain is too big to get inlined and so it generates a warning while compiling.

---
 libiptc/libiptc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
libiptc/libiptc.c +1 -1
index 544a5b2..c3d9bfc 100644
@@ -841,7 +841,7 @@ static int __iptcc_p_del_policy(struct xtc_handle *h, unsigned int num)
 }
 
 /* alphabetically insert a chain into the list */
-static inline void iptc_insert_chain(struct xtc_handle *h, struct chain_head *c)
+static void iptc_insert_chain(struct xtc_handle *h, struct chain_head *c)
 {
 	struct chain_head *tmp;
 	struct list_head  *list_start_pos;
Signature · 1 line
1.5.6.3
#11 lore raw
In reply to Jan Engelhardt
Quoted 7 lines · Jan Engelhardt
Quoted 6 lines

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.

Quoted 8 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#14 lore raw
In reply to Patrick McHardy
Quoted 6 lines · Patrick McHardy
Quoted 5 lines · Jan Engelhardt
Quoted 3 lines · Patrick McHardy

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?

Quoted 8 lines
Quoted 4 lines

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].

Quoted 3 lines

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.

#15 lore raw
Quoted 8 lines · Jan Engelhardt
Quoted 4 lines · Patrick McHardy

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.

Quoted 5 lines

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.

#16 lore raw
Quoted 5 lines · Patrick McHardy

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.

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers
#17 lore raw
Quoted 9 lines · Pablo Neira Ayuso
Quoted 5 lines · Patrick McHardy

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 :)

#20 lore raw
In reply to Patrick McHardy
Quoted 4 lines · Patrick McHardy

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 <[email protected]>
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.

libiptc/libiptc.c +2 -0
index 544a5b2..3bcae9c 100644
@@ -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);
#19 lore raw

Re: [PATCH] iptables: avoid compile warnings for iptc_insert_chain

In reply to Christoph Paasch
Quoted 2 lines · Christoph Paasch

iptc_insert_chain is too big to get inlined and so it generates a warning while compiling.

Applied, thanks. But please include the compiler messages in the changelog when fixing warnings.

#21 lore raw
In reply to Jesper Dangaard Brouer
Quoted 11 lines · Jesper Dangaard Brouer
Quoted 4 lines · Patrick McHardy

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 :)