Portal Home > Knowledgebase > Articles Database > IPTables Rule Using Modules Limit & Length Simoultaneously


IPTables Rule Using Modules Limit & Length Simoultaneously




Posted by Simmot, 04-04-2009, 07:50 PM
Hey, I am currently trying to limit incoming UDP length 20 packets on a per IP basis to 5 a second using IPTables on a Linux machine (CentOS 5.2). Basically, if an IP is sending more than 5 length 20 UDP packet a second to the local machine, I would like the machine to drop the excess length 20 packets coming from that IP. The modules that should work perfectly for this type of "rule set" are; - Limiting module - Length module Both of which are installed / compiled with the kernel/IPTables correctly and functioning. I have tried several rule sets, and they all seem to not fully work. Either they drop all UDP length 20 packets going to the local machine or allow all them through. Below is one of the rule sets I use, and it is not working. Any ideas what the issue could be? Any help would be appreciated. Thanks ahead of time!

Posted by Simmot, 04-05-2009, 11:00 AM
Does anyone know? Would be greatly appreciated.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Language: