[LARTC] new perflow rate control queue

2005-04-04 Thread Wang Jian
Hi, One of my customer needs per flow rate control, so I write one. The code I post here is not finished, but it seems to work as expected. The kernel patch is agains kernel 2.6.11, the iproute2 patch is against iproute2-2.6.11-050314. I write the code in a hurry to meet deadline. There are

Re: [LARTC] new perflow rate control queue

2005-04-04 Thread Patrick McHardy
Wang Jian wrote: Hi, One of my customer needs per flow rate control, so I write one. The code I post here is not finished, but it seems to work as expected. The kernel patch is agains kernel 2.6.11, the iproute2 patch is against iproute2-2.6.11-050314. I write the code in a hurry to meet

Re: [LARTC] new perflow rate control queue

2005-04-04 Thread Wang Jian
Hi Patrick McHardy, HTB + SQF can only achieve part of funcionality. Per flow rate control means per flow bandwidth assurance + bandwidth constraint. When we use HTB + SQF, 1. We can't achieve bandwidth assurance when flow count is higher than expected; this often means we fail to meet the

[LARTC] Limiting bandwidth on one port

2005-04-04 Thread Tim Churchard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Everyone I'm new to tc. I'm trying to speed limit access to SSH/SFTP on my external interface (eth0) without affecting any other traffic on any of the other interfaces. I've attached a script with my tc commands in. Can someone point me in the

[LARTC] Help please with tc and iptables mark

2005-04-04 Thread Adrian Turcu
Hello list members, Finaly I'm here after a week of trying to subscribe to this list... pfew... Anyway... I have a rather strange problem with tc. I am trying to police the ingress traffic into my network using the iptables MARK feature (in mangle table, PREROUTING) but it seems that tc filters

Re: [LARTC] tc + zebra/quagga

2005-04-04 Thread Lorin
On Sunday 27 March 2005 14:50, you wrote: Lorin wrote: I have some problem with traffic shaping on debian testing. I actually posted a full config on the list a while ago but didn't get any answers. The problem is that traffic doesn't get into the user classes (~150) when I associate a

Re: [LARTC] new perflow rate control queue

2005-04-04 Thread Andy Furniss
Wang Jian wrote: Hi, One of my customer needs per flow rate control, so I write one. The code I post here is not finished, but it seems to work as expected. The kernel patch is agains kernel 2.6.11, the iproute2 patch is against iproute2-2.6.11-050314. I write the code in a hurry to meet

Re: [LARTC] Limiting bandwidth on one port

2005-04-04 Thread Andy Furniss
Tim Churchard wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Everyone I'm new to tc. I'm trying to speed limit access to SSH/SFTP on my external interface (eth0) without affecting any other traffic on any of the other interfaces. I've attached a script with my tc commands in. Can

Re: [LARTC] classes and qdiscs

2005-04-04 Thread Andy Furniss
Marcus Fritzsch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello everybody! I am wondering, whether it is possible to have qdiscs and classes as childs of a class or not. take the following example: ~ ,- ~ |class 1:1 ~ | / \ ~ | /

Re: [LARTC] Help please with tc and iptables mark

2005-04-04 Thread Andy Furniss
Adrian Turcu wrote: Hello list members, Finaly I'm here after a week of trying to subscribe to this list... pfew... Anyway... I have a rather strange problem with tc. I am trying to police the ingress traffic into my network using the iptables MARK feature (in mangle table, PREROUTING) but it

Re: [LARTC] Help please with tc and iptables mark

2005-04-04 Thread Adrian Turcu
There is alot of work going on with tc at the moment - There are/will be lots more matches and the ability to run iptables commands from filters. ... Like matching the tc flows with iptables chains? that will be nice. I've seen some similar options in the kernel, but not sure how they work

Re: [LARTC] netem with prio hangs on duplicate

2005-04-04 Thread Stephen Hemminger
On Wed, 30 Mar 2005 10:05:04 -0800 (PST) js si [EMAIL PROTECTED] wrote: hi i tried the example given on the examples page to duplicate selected traffic like tc qdisc add dev eth0 root handle 1: prio tc qdisc add dev eth0 parent 1:3 handle 3: netem duplicate 40% tc filter add dev eth0

Re: [OBORONA-SPAM] [LARTC] RTNETLINK answers: Invalid argument

2005-04-04 Thread Nicolas Mailhot
Le dimanche 03 avril 2005 21:55 +0300, Pan'ko Alexzender a crit : On Sun, 03 Apr 2005 18:54:15 +0200 Nicolas Mailhot [EMAIL PROTECTED] wrote: Hi, On this Fedora Core Devel (Raw Hide) system, if I boot on a distribution kernel (based on 2.6.12rc1-bk2) the network is fine. If I build a

[LARTC] Suspicious Attachment

2005-04-04 Thread virus_warning
-- Warning: Message delivery wasn't performed. Reason: Our virus scanner detected very suspicious code in the attachment of a mail addressed to a user of our system. The following message will not be delivered: From: [EMAIL

[LARTC] DMZ and WAN

2005-04-04 Thread Andrew Nady
Hola, I have a question in regards to ignoring traffic shaping for LAN side that connects to a DMZ IMAP server through the WAN interface. The DMZ and the WAN side are both on a 10/100 switch. Is it possible? Thanks. ~Andrew. OS MDK 9.1 kernel-smp-2.4.21.0.33mdk-1-1mdk HTB; iproute2-2.4.7-7mdk;

Re: [LARTC] simple routing protocol for VPN redundancy?

2005-04-04 Thread Nguyen Dinh Nam
I'm going to start a load balancing failover VPN over multiple providers. It means we can not just have high availability tunnel but also utilize the bandwidth of all providers. It'll be a part of newly started linux multihoming project Is there any developer interested to join ? Simon

Re: [LARTC] limiting upload rate

2005-04-04 Thread Antonio PĂ©rez
hi, I have a lan with internet conection, the gateway is a server linux. I have a client (192.168.0.33) that i want limit his upload rate to 64kbit/s so I do: tc qdisc del dev ppp0 root tc qdisc add dev ppp0 root handle 1: htb r2q 1 tc class add dev ppp0 parent 1: classid 1:2 htb rate 64kbit

Re: [Netem] Re: [LARTC] netem with prio hangs on duplicate

2005-04-04 Thread Stephen Hemminger
On Mon, 4 Apr 2005 11:00:36 -0700 Stephen Hemminger [EMAIL PROTECTED] wrote: On Wed, 30 Mar 2005 10:05:04 -0800 (PST) js si [EMAIL PROTECTED] wrote: hi i tried the example given on the examples page to duplicate selected traffic like tc qdisc add dev eth0 root handle 1: prio

[LARTC] question about pkt_sched.h for tc

2005-04-04 Thread js si
in the tc directory tc_util.h and tc_core.h use pkt_sched.h which is stored in iproute's include directory. is there any dependency between this pkt_sched.h file and the ones that come with the standard linux kernel source. thanks. __ Do you

Re: [LARTC] Help please with tc and iptables mark

2005-04-04 Thread Alexander Samad
On Mon, Apr 04, 2005 at 02:31:52PM +0100, Andy Furniss wrote: Adrian Turcu wrote: Hello list members, There is alot of work going on with tc at the moment - There are/will be lots more matches and the ability to run iptables commands from filters. Is there any doco on this functionality ?

[LARTC] Suspicious Attachment

2005-04-04 Thread virus_warning
-- Warning: Message delivery wasn't performed. Reason: Our virus scanner detected very suspicious code in the attachment of a mail addressed to a user of our system. The following message will not be delivered: From: [EMAIL