[LARTC] tc class show - leaf?
Is there a way of pulling individual leaf nodes out of the tc -s class show dev command? Say, similar to: tc -s class show dev eth0 parent 1:1 except for an individual leaf: tc -s class show dev eth0 leaf 1:12 Or, better year, is there a way to log or store statistics, so that you can pull up such things as max rate, max pps, max backlog, etc. - not just the instantaneous output from the above? Stone ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
[LARTC] Re: tc n00b
Hi Nikolay, Thanks very much for your help - the script is now working. The downlink shaping works as expected, but the uplink shaping seems to give 4 times more bandwidth than it ought to - so I've just divided the number by 4 and it is satisfactory. However, I've now discovered that pings from one of my shaped NAT clients, to another LAN machine that usually take <1ms, now take ~3500ms when I am using the bandwidth. How can I avoid these enormous queues? I have cc'd the list in case anyone else has an idea. Have a good weekend everyone! Cheers, Jonathan Jonathan Gazeley Wireless & VPN Team Information Systems & Computing University of Bristol Nikolay Kichukov wrote: Hey, sorry for delay. I had some issues with my primary internet connection and had to change the primary mail host as well. I looked at the script. Looks totally fine to me. If you are not sure where exactly the problem lies, try adding ONLY the ingress rules. Test it, see if it works. Then tweak if needed the script you sent to me. tc qdisc add dev $LAN ingress handle : tc filter add dev eth0 parent : protocol ip prio 2 u32 match ip src IPHERE police rate ${UPLINK}kbit burst 16kb drop flowid : Cheers, -Nik ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Re: [LARTC] filter hashkey without match
Hey, > how do I match all the traffic? $TC filter add dev $DEV protocol ip parent 1:0 prio 10 \ u32 match u32 0 0 flowid X:XX Regards -- Frank Remetter http://www.remetter.de/ GPG-FP: 2B07 B7D8 5C27 AB94 7A37 8B0B DEBE DD89 D68B 7BE6 signature.asc Description: PGP signature ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
[LARTC] u32 filter for payload
I was wondering with the current u32 filter implementation, is there a way to get beyond the tcp header to the packet payload to filter upon that? Any help is very much appreciated. Thanks. ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc