HTB raczej dziala i to fajnie:)
a screen wyglada tak
http://grafit.mech.pw.edu.pl/~wachnick/moja/htb.gif
moze to miec cos wspolnego z fwmarks?
Bo u mnie znakuje od konca - nie wiem czemu. W zwiazku z tym potrzednie statystyki pokazywaly nie ten ip do danej klasy. Jak np saciagal 192.168.0.2 to w tabelce byl jako 192.168.0.3.
start()
{
$IPT -t mangle -A OUTPUT -j MARK --set-mark 1
$IPT -t mangle -A PREROUTING -s 192.168.0.3 -j MARK --set-mark 2
$IPT -t mangle -A PREROUTING -s 192.168.0.2 -j MARK --set-mark 3
rc.htb 0.3.3-stable-0.2-Zciech-19.08.2004, (C)PriSM 2oo3. Na licencji GNU GPL.
Strona projektu: http://www.rc.htb.prv.pl/
Klasy na interfejsie eth0
================================
class htb 1:1 root rate 9000Kbit ceil 9000Kbit burst 13117b cburst 13117b
1 class htb 1:2 parent 1:1 rate 633Kbit ceil 633Kbit burst 2409b cburst 2409b
2 class htb 1:20 parent 1:2 leaf 8002: prio 1 rate 33Kbit ceil 33Kbit burst 1641b cburst 1641b
3 class htb 1:21 parent 1:2 leaf 8003: prio 2 rate 200Kbit ceil 633Kbit burst 1855b cburst 2409b
4 class htb 1:22 parent 1:2 leaf 8004: prio 2 rate 400Kbit ceil 633Kbit burst 2111b cburst 2409b
5 class htb 1:3 parent 1:1 leaf 8001: prio 7 rate 8367Kbit ceil 8367Kbit burst 12307b cburst 12307b
Klasy na interfejsie ppp0
===================================
class htb 2:1 root rate 144Kbit ceil 144Kbit burst 1783b cburst 1783b
1 class htb 2:10 parent 2:1 leaf 8005: prio 1 rate 31Kbit ceil 31Kbit burst 1638b cburst 1638b
2 class htb 2:11 parent 2:1 leaf 8007: prio 2 rate 7Kbit ceil 92Kbit burst 1607b cburst 1716b
3 class htb 2:12 parent 2:1 leaf 8008: prio 2 rate 42Kbit ceil 92Kbit burst 1652b cburst 1716b
4 class htb 2:13 parent 2:1 leaf 8009: prio 2 rate 42Kbit ceil 92Kbit burst 1652b cburst 1716b
5 class htb 2:9 parent 2:1 leaf 8006: prio 2 rate 21Kbit ceil 92Kbit burst 1625b cburst 1716b
[/code]