qos |
Subversion Repositories: |
Rev 25 | Rev 26 | |
---|---|---|
Line 4... | Line 4... | |
# |
# | |
# date: 09/03/2008 |
# date: 30/06/2008 | |
# authors: Rakerihoo, Fyzik, Libor, Dzus, Simandl |
# authors: Rakerihoo, Fyzik, Libor, Dzus, Simandl | |
# 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.6 | |
# |
# | |
# Changelog |
# Changelog | |
# |
# | |
# 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 | |
# 31/08/06 [simandl] doplnena podpora pro definici rychlosti a delitelu pro kazdy iface zvlast v souboru iface_conf |
# 31/08/06 [simandl] doplnena podpora pro definici rychlosti a delitelu pro kazdy iface zvlast v souboru iface_conf | |
Line 260... | Line 261... | |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 7777 0xffff match ip protocol 0x6 0xff flowid 1:10 |
$TC filter add dev ${FACE} parent 1:0 protocol ip prio 2 u32 match ip sport 7777 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 7777 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 7777 0xffff match ip protocol 0x6 0xff flowid 1:10 | |
# Teamspeak |
# Teamspeak | |
$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 | ||
$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 | ||
|
| |
# 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 \ |