Joined: 26 Nov 2008
|Posted: Wed Dec 29, 2010 5:48 pm Post subject: Hashspeed
|Was wondering if it'd be possible to add support for hashspeed?
It is based on hashlimit for rate-limiting for pps. With hashlimit you can state a subnet with a maximum of 1,000 pps, with a hashmode of dstip or srcip, so each ip gets its own 1,000 pps, with just one iptables staement.
With hashspeed, it is basically the same, but with bps. So each ip in a subnet can get its own speed, in just one iptables statement.
Say a 192.168.1.0/24 hashspeed and mode of dstip of 2048k, would mean each ip in that subnet gets its own 2meg download speed, rather than making 254 individual classifiers and 254 separate classes in the class-manager, cluttering up the web-gui severely.
Hashspeed does not have an official homepage or appears to be really documented all that well, but i was looking for an alternative to adding individual classes/classifiers for each ip, and ease of use. The only download site I've found is at:
And some (Chinese) examples are at:
It think this would be a very valuable asset, especially when combined with ipset.