A very basic chain question

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

 



Hello list,

Please bother  with me as this time I have a very basic question about
iptables chain and I have not found any answer yet.  I am in a process
to create a complex  ssh checking rule where conditions are checked one
by one and finally the valid packets are accepted.  The scenario is like

````````````
check limit ( say 10/min) --> check connlimit ( 2 per ip ) --> check
hashlimit ( 2 attempt per min) ---> ACCEPT.
````````````````````

I have made a chain called sshrate but don't find the way to append the
rules in that chain one by one. If I simply append the rules as accept
then the very first rule is working bypassing the other two and my
objective is to pass the rules in a pipe one by one and finally accept
the valid packets. Could any one enlighten me in that direction ?

Thanks
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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