Hello, +++ saya coba jalanin patch zph untuk b/w manager yang di install 1 mesin dengan squid proxy.
hawk:~# grep zph /etc/squid/squid.conf | grep -v "#" zph_tos_local 0x8 zph_tos_peer 0 zph_tos_parent off zph_preserve_miss_tos o hawk:~# squid -v Squid Cache: Version 2.6.STABLE5 +++ percobaan menggunakan 1 pc dengan ip : 192.168.0.8/22 +++ rule tc : tc qdisc del root dev eth0 tc qdisc add dev eth0 root handle 1:0 htb default 1 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 10mbit tc class add dev eth0 parent 1:1 classid 1:8 htb rate 4096kbit ceil 4096kbit tc qdisc add dev eth0 parent 1:8 handle 8: sfq perturb 10 tc filter add dev eth0 protocol ip parent 1:0 prio 10 handle 800::8 u32 match ip protocol 0x6 0xff match ip sport 80 0xffff match ip tos 0x8 0xff flowid 1:8 tc filter add dev eth0 protocol ip parent 1:0 prio 10 handle 800::9 u32 match ip protocol 0x6 0xff match ip sport 8080 0xffff match ip tos 0x8 0xff flowid 1:8 tc class add dev eth0 parent 1:1 classid 1:2 htb rate 8kbit ceil 5mbit tc class add dev eth0 parent 1:2 classid 1:23 htb rate 32kbit ceil 64kbit tc qdisc add dev eth0 parent 1:23 handle 230: pfifo limit 10 tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dst 192.168.0.8 flowid 1:23 +++ saya coba download file yang sudah ada HIT dalam proxy 192.168.0.8 - - [15/Nov/2007:12:27:51 +0700] "GET http://172.26.12.17/randoffline/srcdad.zip HTTP/1.1" 200 1005541 TCP_HIT:NONE +++ anehnya, tidak ada yang masuk ke dalam class 1:8 ? 1:2 -610426871763 24446 7.906 KB 1:23 -282624 -386048 25960 8.395 KB 1:1 2930 2930 24446 7.906 KB 1:8 7296 7296 0 0.000 KB +++ padahal kalau diliat TOS dari iptables, statistic utk tos 08 makin bertambah hawk:~# iptables -vnL -t mangle | grep 8080 1672 2487K ACCEPT tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:8080 TOS match 0x08 0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp spt:8080 TOS match 0x08 ada ide ? Wassalam, -avd @ http://avudz.cc -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [EMAIL PROTECTED] Arsip dan info milis selengkapnya di http://linux.or.id/milis