[LARTC] make tc stop!

2007-09-14 Thread Jonathan Gazeley
I want to stop shaping from running on my box, without rebooting it. What's the best way to get rid of any tc rules? I have tried "tc qdisc del dev eth0 root" which appeared to be successful but traffic through my box is still very slow. Cheers, Jonathan --

Re: [LARTC] tc not matching

2007-09-14 Thread Jonathan Gazeley
ite the advice of documentation, colleagues, lists, websites, etc... Cheers, Jonathan Jonathan Gazeley ResNet | Wireless & VPN Team Information Systems & Computing University of Bristol ___ LAR

Re: [LARTC] tc not matching

2007-09-13 Thread Jonathan Gazeley
ice reduced to 128kbit for a week as punishment for rulebreaking etc. So if people complain about the occasional dropped packet - they shouldn't have been downloading copyright material in the first place! Jonathan Gazeley ResNet | Wireless & VPN Team Information

Re: [LARTC] tc not matching

2007-09-12 Thread Jonathan Gazeley
r add dev $LAN parent 1:$total protocol ip prio 4 u32 match u32 0 0 flowid 1:a$total done -- Jonathan Gazeley ResNet | Wireless & VPN Team Information Systems & Computing University of Bristol ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] tc not matching

2007-08-31 Thread Jonathan Gazeley
What is ifb? For once, Google doesn't seem to turn up much. Cheers, Jonathan Jonathan Gazeley ResNet | Wireless & VPN Team Information Systems & Computing University of Bristol ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[LARTC] tc not matching

2007-08-29 Thread Jonathan Gazeley
p prio 50 u32 match ip src 172.19.123.$i police rate ${UPLINK}kbit burst 10k drop flowid :1 tc filter add dev $LAN parent 1: protocol ip prio 11 u32 match ip protocol 1 0xff flowid 1:$total match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x 0xffc0 at 2 match u8 0x10 0xff at 33 f

[LARTC] Classful queuing solution

2007-08-23 Thread Jonathan Gazeley
ks in advance, Jonathan -------- Jonathan Gazeley ResNet | Wireless & VPN Team Information Systems & Computing University of Bristol ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[LARTC] Classful queues

2007-08-07 Thread Jonathan Gazeley
1234 at a certain time and date, for legal reasons. I realise this is a bit of a mammoth request, but I hope someone can help me. Many thanks in advance, Jonathan -------- Jonathan Gazeley ResNet | Wireless & VPN Team Information Systems &

[LARTC] Re: tc n00b

2007-08-03 Thread Jonathan Gazeley
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 wel

Re: [LARTC] Re: tc n00b

2007-07-31 Thread Jonathan Gazeley
, Jonathan Nikolay Kichukov wrote: Hello Jonathan, Indeed. I have tested with limited number of IPs though. Not sure how that scheme will behave if you apply it to a huge network. Cheers, -Nikolay Jonathan Gazeley wrote: Hi Nikolay, Thanks for your help - this looks useful. Is it possible to

Re: [LARTC] Re: tc n00b

2007-07-31 Thread Jonathan Gazeley
neglected. HTH, -Nikolay Martin Milata wrote: On Mon, Jul 30, 2007 at 02:58:00PM +0100, Jonathan Gazeley wrote: [...] 137.222.235.125 RTNETLINK answers: No such file or directory RTNETLINK answers: Invalid argument We have an error talking to the kernel RTNETLINK answers: No such file or

[LARTC] Re: tc n00b

2007-07-30 Thread Jonathan Gazeley
c (with tc qdisc add) under that class. But I don't know why you would want to do that. (I'd recommend using HTB instead of CBQ, and attaching a prio qdisc to each HTB class.) -- ams -- Jonathan Gazeley Wir

[LARTC] Re: tc n00b

2007-07-30 Thread Jonathan Gazeley
Eck, how embarrassing. Thanks for that - now fixed. I still get errors though: 137.222.235.125 Error: Qdisc "tbf" is classless. Error: Qdisc "tbf" is classless. Any ideas what's broken? I'm not so hot on classful queueing disciplines! Cheers, Jonathan

[LARTC] Re: tc n00b

2007-07-30 Thread Jonathan Gazeley
he internal network (i.e. use -J MARK --set-mark N in mangle/PREROUTING), and write a filter on the outgoing interface that assigns traffic to classes based on how it's marked (u32 match mark ...). (If you want more details, ask.) (If anyone has other suggestions, I would be interested in

[LARTC] tc n00b

2007-07-30 Thread Jonathan Gazeley
o implement the above goals? As an aside, is anyone aware if there is a web interface for tc available? Many thanks, Jonathan ---- Jonathan Gazeley Wireless & VPN Team Information Systems & Computin