problem with iplimit
At first, I'd like to thank You for Your reply...
Quoted 1 line
What kind of machine are you using? Is it a SMP box?
It is single processor system based on AMD K6-2 with 128 MB RAM (non ECC).There weren't any problems with this system before.
Quoted 1 line
Is there any particular circumstance when the problem happens?
The problem appears every time I try to use this module.
I tried to find a reason (by changing setup etc.), but I didn't manage (I think it is not settings matter). Simply, I want to limit number of parallel connections opened by specified host on specified port. if I set --limit-above to 2 and try to open third connection, system will drop it (ok).
But if I try to open this connection again (while previous 2 connections are still active), system will accept it (!). Since, almost every connection will be accepted (!).
Note that if I close all connections, and try to make described test again, all will happen again.
(the same problem was described by ROMP [email protected] on iptables user mailinglist )
Quoted 3 lines
Are you sure that connection tracking does really have a record for all of the already existing connections (try listing
/proc/net/ip_conntrack)?
I didn't check it yet (in all cases), but I think all connections were recognized correctly.
Can You tell me what is wrong?
thanks in advace
Wojtek
Quoted 6 lines
The problem appears every time I try to use this module.
if I set --limit-above to 2 and try to open third connection, system will drop it (ok).
But if I try to open this connection again (while previous 2 connections are still active), system will accept it (!). Since, almost every connection will be accepted (!).
Note that if I close all connections, and try to make described test again, all will happen again.
the problem (and fix) is also described at
http://lists.netfilter.org/pipermail/netfilter-devel/2002-May/007818.html
unfortunately, the patch provided does not solve the problem (at least for me)
romp
Quoted 9 lines · Romp
Quoted 6 lines
The problem appears every time I try to use this module.
if I set --limit-above to 2 and try to open third connection, system will drop it (ok).
But if I try to open this connection again (while previous 2 connections are still active), system will accept it (!). Since, almost every connection will be accepted (!).
Note that if I close all connections, and try to make described test again, all will happen again.the problem (and fix) is also described at
http://lists.netfilter.org/pipermail/netfilter-devel/2002-May/007818.html
interesting. I will add this issue to the TODO list.
Quoted 2 lines
unfortunately, the patch provided does not solve the problem (at least for me)
even more interesting...
I have some higher-priority stuff to do right now, but I will try to get back to this issue ASAP.
Quoted 1 line
romp
Signature · 5 lines
Live long and prosper - Harald Welte / [email protected] http://www.gnumonks.org/ ============================================================================ "If this were a dictatorship, it'd be a heck of a lot easier, just so long as I'm the dictator." -- George W. Bush Dec 18, 2000