Re: connlimit problem

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

 



On Wednesday 14 July 2004 10:37 am, Robert Czechonski wrote:

> Hello
> I have kernel 2.4.25 and iptables 1.2.11. When I typed:
>
> iptables -p tcp --syn --dport 80 -m connlimit --connlimit-above 80 -j
> REJECT
>
> The system responded:
>
> iptables v1.2.11: no command specified
> Try `iptables -h' or 'iptables --help' for more information.
>
> Anyone can tell me what did I wrong?

Sure.   You forget to tell iptables where you wanted to place the rule.   You 
have to specify "-I <chain>" or "-A <chain>" where <chain> is one of INPUT, 
OUTPUT or FORWARD.

I would assume you meant to put this rule in your INPUT or FORWARD chains, 
considering what it does.

Regards,

Antony.

-- 
"The problem with television is that the people must sit and keep their eyes 
glued on a screen; the average American family hasn't time for it."

 - New York Times, following a demonstration at the 1939 World's Fair.

                                                     Please reply to the list;
                                                           please don't CC me.



[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