[Bug 523] rate problems for rates above 5000 in the limit module

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Wed Oct 11 23:13:00 CEST 2006


------- Additional Comments From mfriedel at gmail.com  2006-10-11 23:12 MET -------
I think specifying multiple rate lines will work as a temporary fix...
-A INPUT -m tcp -p tcp --dport 80 -m limit --limit 5000/second --limit-burst
5000 -j ACCEPT
-A INPUT -m tcp -p tcp --dport 80 -m limit --limit 2000/second --limit-burst
2500 -j ACCEPT
-A INPUT -m tcp -p tcp --dport 80 -j REJECT

Looks like the problem may be with storing r->avg as an integer.

Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the netfilter-buglog mailing list