qos |
Subversion Repositories: |
Rev 26 | Rev 27 | |
---|---|---|
Line 7... | Line 7... | |
# references: http://www.lartc.org/ |
# references: http://www.lartc.org/ | |
# http://luxik.cdi.cz/~devik/qos/htb/ |
# http://luxik.cdi.cz/~devik/qos/htb/ | |
# http://10.24.2.1/forum/showthread.php?s=&threadid=9 |
# http://10.24.2.1/forum/showthread.php?s=&threadid=9 | |
# http://www.simandl.cz/stranky/linux/qos/soubory/qos_base |
# http://www.simandl.cz/stranky/linux/qos/soubory/qos_base | |
# version: 2.1.6 |
# version: 2.1.6 | |
# ps ver : 0.1.6 |
# ps ver : 0.1.7 | |
# |
# | |
# Changelog |
# Changelog | |
# |
# | |
# 05/08/08 [simandl] podpora pro Americas Army | ||
# 30/06/08 [simandl] podpora pro L2TP port 1701 UDP |
# 30/06/08 [simandl] podpora pro L2TP port 1701 UDP | |
# 09/03/08 [simandl] podpora pro noncontrib |
# 09/03/08 [simandl] podpora pro noncontrib | |
# 01/12/07 [simandl] doplnena podpora pro hru "World Of Warcraft" 8085 3724 |
# 01/12/07 [simandl] doplnena podpora pro hru "World Of Warcraft" 8085 3724 | |
# 09/08/07 [sinda] doplnena podpora pro hru "Counter-Strike Source" UDP 270xx |
# 09/08/07 [sinda] doplnena podpora pro hru "Counter-Strike Source" UDP 270xx | |
# 26/07/07 [sinda] doplnena podpora pro RTP ha-vel.cz a 802.cz dle ip adresy rtp serveru operatora |
# 26/07/07 [sinda] doplnena podpora pro RTP ha-vel.cz a 802.cz dle ip adresy rtp serveru operatora | |
Line 264... | Line 265... | |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 8767 0xffff match ip protocol 0x11 0xff flowid 1:10 |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 8767 0xffff match ip protocol 0x11 0xff flowid 1:10 | |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 8767 0xffff match ip protocol 0x11 0xff flowid 1:10 |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 8767 0xffff match ip protocol 0x11 0xff flowid 1:10 | |
# L2TP |
# L2TP | |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 1701 0xffff match ip protocol 0x11 0xff flowid 1:10 |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 1701 0xffff match ip protocol 0x11 0xff flowid 1:10 | |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 1701 0xffff match ip protocol 0x11 0xff flowid 1:10 |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 1701 0xffff match ip protocol 0x11 0xff flowid 1:10 | |
|
# Americas Army | |
#UDP | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 1716 0xfffe match ip protocol 0x11 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 1716 0xfffe match ip protocol 0x11 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 1718 0xffff match ip protocol 0x11 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 1718 0xffff match ip protocol 0x11 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 8777 0xffff match ip protocol 0x11 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 8777 0xffff match ip protocol 0x11 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 27900 0xffff match ip protocol 0x11 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 27900 0xffff match ip protocol 0x11 0xff flowid 1:10 | ||
#TCP | ||
#14200 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 14200 0xffff match ip protocol 0x6 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 14200 0xffff match ip protocol 0x6 0xff flowid 1:10 | ||
#20024 .. 20031 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 20024 0xfff8 match ip protocol 0x6 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 20024 0xfff8 match ip protocol 0x6 0xff flowid 1:10 | ||
#20032 .. 20047 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 20032 0xfff0 match ip protocol 0x6 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 20032 0xfff0 match ip protocol 0x6 0xff flowid 1:10 | ||
#20048 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 20048 0xffff match ip protocol 0x6 0xff flowid 1:10 | ||
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip dport 20048 0xffff match ip protocol 0x6 0xff flowid 1:10 | ||
| ||
| ||
| ||
# TCP ACK packets smaller than 64 bytes |
# TCP ACK packets smaller than 64 bytes | |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 \ |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 \ | |
match ip protocol 6 0xff \ |
match ip protocol 6 0xff \ | |
match u8 0x05 0x0f at 0 \ |
match u8 0x05 0x0f at 0 \ | |
match u16 0x0000 0xffc0 at 2 \ |
match u16 0x0000 0xffc0 at 2 \ |