do exist a way in order to limit the bandwidth incoming from a range ip?
for instance 192.168.1.1 - 192.168.1.100 and 192.168.1.120 - 192.168.1.255, so 20 ip are free, and other are limited.
not the number of the connection, like work iptables:
Code: Select all
iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --set
iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --update --seconds 10 --hitcount 10 -j DROP
thanks