[LARTC] iproute esfq patch krnel 2.6.2

2004-02-08 Thread Alex
Hi, I just upgraded to kernel 2.6.2 patched with IMQ-NAT patch ESFQ from Jim diGriz's QoS Script and now I need to patch iproutefor esfq and the latest HTB patch. I grabbed iproute2-2.4.7-now-ss010824.tar.gz and I applied the folowinf patches: iproute2-2.2.4-now-ss001007-esfq.diff and

[LARTC] HTB - got mesage invalid parent ID is wrong: 1:1

2004-02-08 Thread Patrick Spousta
Hi, I have more ethernet cards. Egress shaping with HTB over eth0 works fine, ingress shaping with HTB over IMQ works also fine, but in both of cases I use only one class of traffic. Now I want to divide traffic to 3 classes on other interface (egress to ineternal network). I try this command

RE: [LARTC] RE: LARTC digest, Vol 1 #1564 - 6 msgs

2004-02-08 Thread Aron Brand
Hi, The machine has two ethernet interfaces: eth0 and eth1. My LAN is connected to eth0. The eth1 port is connected to a hub with two Internet routers. eth1 has two IP addresses, one for each router. Dynamic routing (or some other complex routing mechanism) is used. NAT is not used. It is not

Re[2]: [LARTC] Multiple uplinks - load balancing

2004-02-08 Thread Rokas
Thank you very much for suggestion. I added a static route for SMTP server, and it works OK. But what method should I use, if I want to tie for example all the HTTPS (TCP 443) traffic to one line. Should I mark packets in mangle PREROUTING table or somewhere else ? Maybe you have some

Re: [LARTC] configuring wondershaper with lan

2004-02-08 Thread mat pod
hi, thnx for replying. i've heard of ipt_p2p, and after a quick look at it decided i'd have to take a much longer look at it :) to tell the truth i'm not too worried about just limiting BT The main issue comes with the bit i don't think i made clear in the post the reason i limit eth0 is

Re: [LARTC] wondershaper htb + multiple ports

2004-02-08 Thread Corey Hickey
mark ryan wrote: If i use the following tc command, where do i set the speed limit for the outbound ftp traffic? Mark On Sun, 2004-02-08 at 02:35, Corey Hickey wrote: mark ryan wrote: Is there a way to apply wondershaper w/ htb to a port range? I have a ftp server on port 65432 and

Re: [LARTC] HTB - got mesage invalid parent ID is wrong: 1:1

2004-02-08 Thread Stef Coene
On Sunday 08 February 2004 10:44, Patrick Spousta wrote: Hi, I have more ethernet cards. Egress shaping with HTB over eth0 works fine, ingress shaping with HTB over IMQ works also fine, but in both of cases I use only one class of traffic. Now I want to divide traffic to 3 classes on other

[LARTC] combining filters

2004-02-08 Thread alex
After few hours of looking, I couldn't find a way to combine (and) different filters. Example: I need to police ingress traffic coming from certain source IPs (which are best expressed with u32 filter) and going to certain routes (which are best expressed with route filter). What I was trying

[LARTC] wondershaper + htb limiting ftp sends

2004-02-08 Thread mark ryan
This is still not working correctly. Wondershaper + htb by itself limits everything to the speed specified in the config. I only want to limit my ftp upload speed. I tried the suggestion below, but either I am not doing it right or it doesnt work correctly. I only want to limit ports

[LARTC] Re: wondershaper + htb limiting ftp sends

2004-02-08 Thread Nuutti Kotivuori
mark ryan wrote: Or, ideally, I would like to limit proftpd itself...howeve there doesn't seem to be a way to do that with linux. Windows can but I guess Linux cant. Proftpd does have plenty of ways to limit the bandwidth specifically for certain commands only and directions wished and all

[LARTC] ACK Packet Detection

2004-02-08 Thread Alan Ford
Hi, I'm trying to understand how the wondershaper ACK match works. Can somebody help me decode it? |tc filter add dev $DEV parent 1: protocol ip prio 10 u32 \ | match ip protocol 6 0xff \ TCP. Do these start from the start of the IP header, or the TCP header? | match u8 0x05 0x0f at 0 \

[LARTC] Re: ACK Packet Detection

2004-02-08 Thread Nuutti Kotivuori
Alan Ford wrote: I'm trying to understand how the wondershaper ACK match works. Can somebody help me decode it? |tc filter add dev $DEV parent 1: protocol ip prio 10 u32 \ | match ip protocol 6 0xff \ TCP. Aye. Do these start from the start of the IP header, or the TCP header? Ip

Re: [LARTC] Re: wondershaper + htb limiting ftp sends

2004-02-08 Thread Roy
if you need only hardlimit ftp trafic then better find something about this in proftp manual But if you want it to depend on other trafic(if you have other servers) then you will need to use htb anyway, tc filters are very primitive and cant match port range well, but you can adjust ftp port