> I'd like to know if packets are dropped with if the 300kbit limit is > eceeded. If bandwidth isn't limited, there is no need for filters anyway. > Could you mail me the output of 'tc -s class ls dev eth1' ? Thanks. Here you are: (i made ssh,ping,ftp traffic) class htb 1:101 parent 1:100 leaf 101: prio 0 rate 10Kbit ceil 30Kbit burst 1611b cburst 1637b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 1031680 ctokens: 349439 class htb 1:1 root prio 0 rate 300Kbit ceil 300Kbit burst 1983b cburst 1983b Sent 472615 bytes 401 pkts (dropped 0, overlimits 0) rate 5005bps 4pps lended: 401 borrowed: 0 giants: 0 tokens: 40788 ctokens: 40788 class htb 1:100 root rate 300Kbit ceil 300Kbit burst 1983b cburst 1983b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 42324 ctokens: 42324 class htb 1:103 parent 1:100 leaf 103: prio 0 rate 10Kbit ceil 15Kbit burst 1611b cburst 1618b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 1031680 ctokens: 690773 class htb 1:2 root prio 0 rate 700Kbit ceil 700Kbit burst 15Kb cburst 2495b Sent 164 bytes 2 pkts (dropped 0, overlimits 0) lended: 2 borrowed: 0 giants: 0 tokens: 139703 ctokens: 22090 class htb 1:102 parent 1:100 leaf 102: prio 0 rate 10Kbit ceil 20Kbit burst 1611b cburst 1624b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 1031680 ctokens: 519999 > > For passive mode uploads, packets are coming from a private port (>1024) > and going to port 21. I see. Checked it out with tcpdump. > > You cannot shape traffic for downloads with HTB, you'll need ingress > instead. I'm not 100% (but quite!) sure there (just into traffic shaping a > few days), so would somebody please correct me if I'm wrong here. You make me very disappointed. Wondershaper told me that it is possible. I just wanted to add a level in the class-tree. I think I have to think about it once more. :) Viktor _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/