I have bridge that used for bw manager but i have problem with traffic accounting using iptables. I already used -t mangle -A PREROUTING -j ACCEPT but no packet match. I see the bytes using iptables -t mangle -nL -vx and the value is 0. Any suggestion why? Or anyone have another tool or script to accounting in bridge. Thanks ----- Original Message ----- From: "mark ryan" <markryan@xxxxxxxxxx> To: "lartc" <lartc@xxxxxxxxxxxxxxx> Sent: Thursday, February 12, 2004 2:50 PM Subject: limiting ports > Will the following commands limit my ftpserver upload speed on the > passive ports? > > > iptables -t mangle -A FORWARD -m tcp -p tcp -s 192.168.1.101 --sport > 50000:60000 -j MARK --set-mark 0x02 > tc qdisc add dev eth0 root handle 1: htb default 20 > tc class add dev eth0 parent 1:1 classid 1:30 htb rate 340kbit burst 6k > prio 2 > > > I want to mark the packets from 192.168.1.101 ports 50000-60000.....and > limit the speed to 340kbit. > > Mark > > _______________________________________________ > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/