Dariush Debian Diary
Diariusz Dariusza
, 19, 2006
ipset ip_set
iptables -A FORWARD -m set --set server dst,dst -j ACCEPT
Last modified on
, 15, 2006
Traffic shaping - tc filter.. divisor
divisor is a number of entries in given table,
where h is 'unsigned', this suggests 65535 max, but it seems that in reality it's limited to 255
Apparently, it must be in form of 2^x (1,2,4,8,16...256), otherwise you get:
for (h = 0; h <= ht->divisor; h++) {
host:~# tc filter add dev eth1 parent 1: prio 0 handle 1: protocol ip u32 divisor 17 Illegal "divisor"
Last modified on
Copyright ©1995-2004 Dariush Pietrzak. All content on this website, unless otherwise noted, is licensed under a Creative Commons License.
Using desktop theme, version 0.5. Check the Blosxom site for the latest copy.