Can i have a rate limit per source IP Address in IPSet?

Retesh Chadha retesh.chadha at gmail.com
Fri Oct 6 08:43:20 CEST 2006


Hi Deti
Big thanks for your help. I was able to set a limit per destination ip.

I have another question though. I now need to set a limit per src dst
pair, but I get a bad mode for  hashlimit-mode srcipdstip.
I give the following command -

iptables -A INPUT_CHAIN --match hashlimit --hashlimit 1000/s
--hashlimit-mode srcip-dstip --hashlimit-name foo -m set --set KNOWN
src,dst -j ACCEPT

Thanks & Regards
Retesh Chadha



More information about the netfilter-devel mailing list