|
Message-ID: <f1e5984eb5176cf4705e3766454bb414@80.53.183.130> Date: Tue, 9 Dec 2003 09:54:06 +0100 From: Robert Baranowski <robertik@...zta.tygrys.com.pl> To: owl-users@...ts.openwall.com Subject: tc filter fwmark didn't work I have problem with tc filter fwmark. My htb script: tc qdisc add dev eth2 root handle 1:0 htb default 2 tc class add dev eth2 parent 1:0 classid 1:1 htb rate 500kbit ceil 500kbit tc class add dev eth2 parent 1:1 classid 1:2 htb rate 512kbit ceil 512kbit burst 15k tc class add dev eth2 parent 1:1 classid 1:3 htb rate 500kbit ceil 500kbit prio 9 tc qdisc add dev eth2 parent 1:3 sfq perturb 10 iptables: Chain already exists tc class add dev eth2 parent 1:2 classid 1:20 htb rate 128kbit ceil 128kbit burst 9k tc filter add dev eth2 protocol ip parent 1:2 prio 9 u32 match ip dst 192.168.3.2 flowid 1:20 iptables -t mangle -N 192.168.3.2 iptables -t mangle -A POSTROUTING -o eth2 -d 192.168.3.2 -j 192.168.3.2 iptables -t mangle -A 192.168.3.2 -o eth2 -s 212.33.91.122 -d 192.168.3.2 -j MARK --set-mark 20 iptables -t mangle -A 192.168.3.2 -o eth2 -s 192.168.3.248 -d 192.168.2.2 -j MARK --set-mark 20 tc filter add dev eth2 protocol ip parent 1:1 prio 1 handle 20 fw flowid 1: iptables -t mangle -A 192.168.3.2 -o eth2 -p icmp -d 192.168.3.2 -j MARK --set-mark 21 tc class add dev eth2 parent 1:20 classid 1:21 htb rate 20kbit ceil 128kbit burst 15k quantum 1500 prio 3 tc qdisc add dev eth2 parent 1:21 handle 21: sfq perturb 1 tc filter add dev eth2 protocol ip parent 1:20 prio 3 handle 21 fw flowid 1:21 It return no errors, but i can't see any tc filter on eth2 :( I try iproute from htb home site, iproute2 compiled from source with patches. What is wromg ? owl-current kernel 2.4.22-ow1, 2.4.23, 2.4.23+pom
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.