[LARTC] Question2: can an mpu be specified using htb by appending an tc-tbf queue?

2005-05-30 Thread John Smith
Hello! tc-htb is great because its easy, but you cannot specify an mpu. Thats bad, because with the mpu you can specify the physical characteristics of the underlying connection. I have a braodband dsl-connection. I have the problem that the proportion of small packets to big packets changes a lot.

RE: [LARTC] Very simple traffic shaping script for H.323

2005-05-30 Thread Greg Scott
Yup, Andy is right. This is traffic to/from the Internet. After brooding all day about this, my simple scheme to set TOS bits and let nature take its course had major holes: (1) Other apps could set the same TOS bits to any value they want, and those apps would slog it out with my H.323 stuff. S

[LARTC] Webmin Module

2005-05-30 Thread nats
Hi, I would like to know if there is a webmin module that i can use so that i can easily tweak when i am away from my desktop. This is more easy than using ssh. Thanks and more power. Nats ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.

Re: [LARTC] Very simple traffic shaping script for H.323

2005-05-30 Thread Andy Furniss
Greg Scott wrote: The theory - by default, all interfaces have a classless PFIFO queue with three bands. So all I need to do is set the appropriate DS bits in the packet header to the EF (Expedited Forward) value and everything else will just work. Linux will put the packets in the top PFIFO p

RE: [LARTC] Very simple traffic shaping script for H.323

2005-05-30 Thread Greg Scott
I may have the answer to my own questions: (1) When the value for the DSCP field for EF (Expedited Flow) is hex 2E, why does tcpdump display it as hex B8? I think there's some bit shifting going on. The DSCP field is the left most 6 bits of the DS octet in the packet header. 2E is 0010 1110.

Re: [LARTC] wfq implementation in linux

2005-05-30 Thread Andy Furniss
sunil r kumar wrote: Hi all As part of may project i wants to implement the WFQ in linux, at present upto my knowledge there is no such implementation in linux. The only mannual i got from "Csaba Toth", He explained the tc command so i hope that is in linux also. DID any one know about i

Re: [LARTC] Question: traffic shaping (tc-htb)

2005-05-30 Thread Andy Furniss
John Smith wrote: Hello *! My trafficshaping (tc-htb) drops packets very early, at least i suspect this. It drops about 30% fo the packets. The traffic-generating appication is running locally on the shaping host. I think i can lower this rate by increasing the packet-buffer, because the locally

Re: [LARTC] Terrible problem, some men in my net changed their MACs! :/

2005-05-30 Thread Peter Surda
On Mon, 30 May 2005 20:41:20 +0200 Konrad <[EMAIL PROTECTED]> wrote: >Is any way to detect changed MAC adresses? I have been working on this for some time. You can try the current version: http://shurdeek.routehat.org/tmp/dhcpwatch2.pl (please don't ask how it works, I'm pretty busy now :-)). >S

[LARTC] TC Java GUI

2005-05-30 Thread Alberto Torres
Hello, i am writing a iproute2 java gui, and i just started. I would like to make some questions, since i have been using tc as an administrator, but not developing anything to do with it. 1.- I want to display statistics, create queues, etc... are there any libraries i can use, or simply i have t

Re: [LARTC] Terrible problem, some men in my net changed their MACs! :/

2005-05-30 Thread Krystian Antoni
here is my one cent :-)propably somebody is changing a MAC so you DHCP will grant them specific IP. u can try nmap them them to see whos behind that MAC (at the moment where there is only one station turned on). then by using unplug and seek-the-hacker method u can find from what switch/port he's c

[LARTC] Terrible problem, some men in my net changed their MACs! :/

2005-05-30 Thread Konrad
Is any way to detect changed MAC adresses? Someone taught change MACs peoples in my network and I have problems. E.g. Two computers working on one MAC, and one IP (static ARP and DHCP). WinXP is screaming some message... that two computers or more have the same IP. How can I find out who's ch

RE: [LARTC] FW: HFSC + ESFQ - class statistics

2005-05-30 Thread Forte Systems - Iosif Peterfi
Andreas: Of course there are filter rules, but they are irelevant here. Thanks for the feedback Patrick. I tought so, but i wanted to make sure there's nothing wrong with my configuration. -Original Message- From: Patrick McHardy [mailto:[EMAIL PROTECTED] Sent: Monday, May 30, 2005 12:41

Re: [LARTC] What is: "Consider r2q change"

2005-05-30 Thread Oliver Schulze L.
Hi, yes, thats right, the problem was only with leaf classes. Thanks for clarifyind that Oliver [EMAIL PROTECTED] wrote: Oliver Schulze L. ha scritto: I'm getting this warning/error in /var/log/messages: May 26 18:21:05 mail kernel: HTB: quantum of class 10010 is small. Consider r2q change.

Re: [LARTC] What is: "Consider r2q change"

2005-05-30 Thread Oliver Schulze L.
Thanks! My command was: $TC class add dev $IF parent 1: classid 1:1 htb rate $MAX_UL ceil $MAX_UL So I added the quantum 1524 at the end. Oliver gypsy wrote: "Oliver Schulze L." wrote: Hi, I'm getting this warning/error in /var/log/messages: May 26 18:21:05 mail kernel: HTB: qua

Re: [LARTC] Random Early Detection

2005-05-30 Thread Andy Furniss
Jason Bath wrote: Any tips or hints? Check your classification is working with tc -s class or qdisc ls dev ethx then if that's OK try setting the rates/ceils like I suggested last time you asked :-) Andy. ___ LARTC mailing list LARTC@mailman.ds9a

Re: [LARTC] Problem with marking packets...

2005-05-30 Thread Andy Furniss
Konrad wrote: Andy wrote: Konrad wrote: > So I assume the routing is working OK. Yes... routing is working well. OK - I am still confused about what interfaces you have your script uses 1 2 and 3. That rule will send all packets going through postrouting to imq1 whether they are goi

RE: [LARTC] Very simple traffic shaping script for H.323

2005-05-30 Thread Greg Scott
Maybe my idea from the other day isn't so simple. When I run tcpdump and watch my h.323 packet stream, tcpdump shows a stream that looks like this: . . . 09:16:09.031943 abc.def.ghi.jkl.3230 > mno.pqr.stu.vwx.3230: udp 92 [tos 0xb8] 09:16:09.048128 mno.pqr.stu.vwx.3230 > abc.def.ghi.jkl.3230: udp

Re: [LARTC] bandwidth control on htb

2005-05-30 Thread Andy Furniss
Fatih Düzova wrote: Hi, I implemented queues on some ports with htb by filtering. and to have a constant bw, i defined rate and ceil the same. But while watching the bw's, I ve realized they may sometimes exceed the defined value for short periods. How are you measuring this and what rates do y

Re: [LARTC] htb: HowTo identify squid cache hits

2005-05-30 Thread Andy Furniss
Peter Kaagman wrote: On Thu, May 26, 2005 at 07:56:09PM +0100, Andy Furniss wrote: Peter Kaagman wrote: But there is of course a src of packages I do not catch this way... and these are the squid cache hits. Because I filter on destination the cache hits get treated the same as cache misses.

[LARTC] Question: traffic shaping (tc-htb)

2005-05-30 Thread John Smith
Hello *! My trafficshaping (tc-htb) drops packets very early, at least i suspect this. It drops about 30% fo the packets. The traffic-generating appication is running locally on the shaping host. I think i can lower this rate by increasing the packet-buffer, because the locally application will slo

Re: [LARTC] wrr in 2.6.x

2005-05-30 Thread Kenneth Kalmer
On 5/30/05, Evgeni Gechev <[EMAIL PROTECTED]> wrote: > Kenneth Kalmer wrote: > > >Guys > > > >Given the replies and interests lately on the WRR scheduler, and the > >shameless promotion of Route Hat (only kidding), my question is > >simple. Is there an alternative for the 2.6.x kernels? > > > >>Fr

Re: [LARTC] wrr in 2.6.x

2005-05-30 Thread Evgeni Gechev
Kenneth Kalmer wrote: Guys Given the replies and interests lately on the WRR scheduler, and the shameless promotion of Route Hat (only kidding), my question is simple. Is there an alternative for the 2.6.x kernels? From what I gather WRR is only available for the 2.4 kernels... Regards

[LARTC] wrr in 2.6.x

2005-05-30 Thread Kenneth Kalmer
Guys Given the replies and interests lately on the WRR scheduler, and the shameless promotion of Route Hat (only kidding), my question is simple. Is there an alternative for the 2.6.x kernels? >From what I gather WRR is only available for the 2.4 kernels... Regards -- Kenneth Kalmer [EMAIL PR