Re: iptables and connlimit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <nulldevice83@xxxxxxxxx> 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/


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux