Skip to contentSkip to conversation

iptables and connlimit

DISCUSSION Joe Riley 1 participant 1 message May 7, 2004

lore
Share & tools
lore

Joe Riley

author
#0 lore raw

my only suggestion is that when a '!' is used in bash or any shell you must prefix it like this : \! so it would be
iptables -I INPUT 1 -p tcp --syn --dport 80 -m connlimit \! --connlimit-above 2 -j ACCEPT

or enclosed with quotes " and "

good luck,
joe riley

--- Null Device <[email protected]> wrote:
helloo list,

i was just working with iptables and connlimit and facing a little bit of problem i hope u peep can help me out very well.

pls have a look on the command that i executed after fresh installation of iptables from rpm.

[root@MDK10 firewall]# iptables -I INPUT 1 -p tcp --syn --dport 80 -m connlimit ! --connlimit-above 2 -j ACCEPT
iptables: No chain/target/match by that name.

but have a look at this toooo

[root@MDK10 firewall]# iptables -I INPUT 1 -p tcp --syn --dport 80 -m connlimit -j ACCEPT iptables v1.2.9: You must specify `--connlimit-above'

so connlimit is there and modules gets loaded ( i
suppose, coz it shows me the error for incomplete
parameters in the second command).

any ideas where i am slipping?

thx a lot in advance.

__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover

_____________________________________________________________
Proud member of United Networks Email, visit or report abuse at http://networks.org/