Skip to contentSkip to conversation

connlimit

DISCUSSION php0t 4 participants 4 messages Aug 13, 2006 – Aug 14, 2006 netfilter

lore
Share & tools
lore

php0t

author
#0 lore raw

Dear developers,

I've had a nice time trying to limit connections. The kernel is 2.6.17.8.
Apart from the first couple of annoyances (such as the patch being renamed from iplimit to connlimit, patch-o-matic not being able to apply it to the current kernel etc), I've managed to patch manually, compile it as a module and load it.

However, when I try to add an according test rule, I get the 'Invalid
argument' error, and dmesg says:
ip_tables: connlimit match: invalid size 0 != 16

I also tried going to the site mentioned in the latest pom-ng's source.list:

# ipp2p, time, IPMARK and connlimit maintained by Krzysztof Oledzki <[email protected]>
http://people.netfilter.org/ole/pom/

But all I get is a smiley :)

When I google for my current problem, most suggest that connlimit is out-of-date, nobody cares about it any more, etc.

As I'm no C coder, my two questions are,
1) what could I do to make this work ? Are there any similar modules available that are stable?
2) could it be possible to stabilize this patch and have it added to the kernel source? There are so many iptables extensions and modules by default that are probably rarely used, why is this (IMHO very basic) feature excluded?

Thanks for reading and any replies
P.

#1 lore raw
Quoted 10 lines · On Mon, Aug 14, 2006 at 01:14:20AM +0200, php0t wrote:

Dear developers,

I've had a nice time trying to limit connections. The kernel is 2.6.17.8.
Apart from the first couple of annoyances (such as the patch being renamed from iplimit to connlimit, patch-o-matic not being able to apply it to the current kernel etc), I've managed to patch manually, compile it as a module and load it.

Quoted 3 lines

However, when I try to add an according test rule, I get the 'Invalid
argument' error, and dmesg says:
ip_tables: connlimit match: invalid size 0 != 16

See this thread:

http://marc.theaimsgroup.com/?l=netfilter-devel&m=115334461228009&w=2

Quoted 2 lines

When I google for my current problem, most suggest that connlimit is out-of-date, nobody cares about it any more, etc.

Next time try searching the netfilter archives directly.

Phil

#2 lore raw
In reply to php0t
Quoted 13 lines · php0t wrote:

Dear developers,

I've had a nice time trying to limit connections. The kernel is 2.6.17.8.
Apart from the first couple of annoyances (such as the patch being renamed from iplimit to connlimit, patch-o-matic not being able to apply it to the current kernel etc), I've managed to patch manually, compile it as a module and load it.

However, when I try to add an according test rule, I get the 'Invalid
argument' error, and dmesg says:
ip_tables: connlimit match: invalid size 0 != 16

Quoted 8 lines

I also tried going to the site mentioned in the latest pom-ng's source.list:

# ipp2p, time, IPMARK and connlimit maintained by Krzysztof Oledzki <[email protected]>
http://people.netfilter.org/ole/pom/

But all I get is a smiley :)

Just do what it says: "Please use "./runme --download" from a recent pom-ng." :)

That will download the patches for you.

#3 lore raw
Quoted 21 lines · Patrick McHardy
Quoted 20 lines · php0t wrote:

Dear developers,

I've had a nice time trying to limit connections. The kernel is 2.6.17.8.
Apart from the first couple of annoyances (such as the patch being renamed from iplimit to connlimit, patch-o-matic not being able to apply it to the current kernel etc), I've managed to patch manually, compile it as a module and load it.

However, when I try to add an according test rule, I get the 'Invalid
argument' error, and dmesg says:
ip_tables: connlimit match: invalid size 0 != 16

I also tried going to the site mentioned in the latest pom-ng's source.list:

# ipp2p, time, IPMARK and connlimit maintained by Krzysztof Oledzki <[email protected]>
http://people.netfilter.org/ole/pom/

Quoted 6 lines
Quoted 1 line

But all I get is a smiley :)

Just do what it says: "Please use "./runme --download" from a recent pom-ng." :)

That will download the patches for you.

This is the new message which I placed few hours ago, after the first mail. Now everyone should know what to do. :)

Best regards,

Krzysztof Olędzki