Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread ???????? ?????
Hello dear Catalin, Well the only mistake you made is that you placed hte mark filters on the output of the interface. I suggest you to park them in the PREROUTING chain and not in the output. It works fine to me. Best regards Stamatis Catalin Borcea wrote: Hello, I have a Linux box with 3

Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread Catalin Borcea
Hello, I tried to mark the packets in the PREROUTING chain but still doesn't work. Now the packets are no marked anymore when they go out by the eth2 interface. When I marked them in the OUTPUT chain they arrived also to the eth2 interface but marked. According to the docs the PREROUTING chain is

Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread ???????? ?????
Well catalin, try to add theese rules with the in the prerouting chain but bind theese rules with the interfaces you have. Without binding netfilter rules with interfaces it will not work, and you'll get the results you allready got. Catalin Borcea wrote: Hello, I tried to mark the packets in

Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread Catalin Borcea
But how can I bind these rules to a interface when I don't know to what interface the locally generated packets will arrive? In fact, this is the purpose of marking the packets: to route them to the ppp0 interface. - catalin - - Original Message - From: ? [EMAIL PROTECTED]

Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread ???????? ?????
Then you have to bind theese rules to both of your ethernet interfaces assuming that the smtp traffic you want to mark arrives on both of your ethernet interfaces. To do that you have to specify netfilter rules once for your first interface and once for your second interface. I know that it

[LARTC] masquerade and tc problem

2003-07-17 Thread Balint Laszlo BILLER
Hi, My friend uses ipchains with kernel 2.4.21 :) It's funny but it's true. The problem is that he marks the packets and after this the tc filter doesn't catch them. ipchains -A input -s 192.168.1.41/28 -j ACCEPT -m 0x2 -t 0xff 0x2 ipchains -A forward -s 192.168.1.41/28 -j MASQ -m 0x2 ipchains

[LARTC] Filter problem

2003-07-17 Thread Vitor Carlos Flausino
I again. I have the following statements: #Initializing traffic control... tc qdisc add dev br0 root handle 1:0 htb #Loading queue disciplines for plis230 network... tc class add dev br0 parent 1:0 classid 1:1 htb rate 512kbit ceil 512kbit #Loading queue disciplines for pmad048 network... tc class

[LARTC] Re[2]: local address routeable?

2003-07-17 Thread Christian Stuellenberg
Christian == Christian Stüllenberg [EMAIL PROTECTED] writes: Julian == Julian Anastasov [EMAIL PROTECTED] writes: Hello, Christian I've got a problem to set up a configuration that shoud Christian allow to route packets that come in over a certain Christian interface(s) IF1 that

Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread Chijioke Kalu
have u tried putting it on the FORWARD chain?? K But how can I bind these rules to a interface when I don't know to what interface the locally generated packets will arrive? In fact, this is the purpose of marking the packets: to route them to the ppp0 interface. - catalin - - Original

Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread Martin A. Brown
Catalin, When I try to connect to a smtp port somewhere in the Internet, tcpdump show me that these packets go to the eth2 interface (the main table default route). I don't know where is my mistake but it seems that the marking in the OUTPUT chain occurs AFTER and not BEFORE routing. Is this a

Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread [EMAIL PROTECTED]
Hi Martin, Catalin, Chijioke, This subject intrigues me greatly and is closely related to a post of just a few days ago: snip from my original post +--++---+ | eth1 192.168.1.1 || 192.168.1.250 | | eth1:1 192.168.1.101 |

Re: [LARTC] slowing down traffic to a certain port

2003-07-17 Thread Stef Coene
On Sunday 13 July 2003 13:21, Radu Maurer wrote: This is my first attempt at understanding lartc: I want to throttle outgoing bandwidth fo a certain tcp port and leave other traffic the way it was. so I put a prio qdisc at the root of eth0 (dummy priomap since i want to use filters to

Re: [LARTC] prio + htb?

2003-07-17 Thread Stef Coene
On Sunday 13 July 2003 22:18, Esteban wrote: Stef, Lartc people, Hello, im using the above script for my network It works okay, the htb assigns the BW i want for outgoing traffic. But now, im looking foward giving priority to the packets on the first class under the second, i mean the first

Re: [LARTC] Filter problem

2003-07-17 Thread Stef Coene
On Thursday 17 July 2003 10:49, Vitor Carlos Flausino wrote: I again. I have the following statements: Maybe this can help : http://www.docum.org/stef.coene/qos/faq/cache/41.html Stef -- [EMAIL PROTECTED] Using Linux as bandwidth manager http://www.docum.org/ #lartc @ irc.oftc.net

[LARTC] Re[2]: local address routeable?

2003-07-17 Thread Julian Anastasov
Hello, On Thu, 17 Jul 2003, Christian Stuellenberg wrote: If traffic from zone MASQ is addressed to one of the external internet addresses of one of the zone GOOD or DMZ, then it will currently get routed directly at HOST. It is intended, that this direct routing is not done, but

[LARTC] HTB + BRIDGE QUESTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HELP!!!!!!!!!!!!

2003-07-17 Thread tanxuey
Hi everybody! I am very glad to get htb test informationfrom www.docum.orgfor the htb performance. Today, I setup a bridge using brctl. my setup as following: 192.168.2.26| | | |-| HTB+BR box | 192.168.2.18 | eth0 | | eth1 192.168.2.29 |

[LARTC] HTB+BRIDGE QUESTION !!!

2003-07-17 Thread tanxuey
Hi everybody! Today, I setup a bridge using brctl. my setup as following: 192.168.2.26| | | |-| HTB+BR box | 192.168.2.18 | eth0 | | eth1 192.168.2.29 | | | I want to limit the traffics when i download data from 192.168.2.18 to 26

Re: [LARTC] HTB + BRIDGEQUESTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!HELP!!!!!!!!!!!!

2003-07-17 Thread Trevor Warren
Hello, Change the ceil parameter to suit the maximum value of bandwidth on that link. Check and get back to us. Trevor On Fri, 2003-07-18 at 06:28, tanxuey wrote: Hi everybody! I am very glad to get htb test information from www.docum.org for the htb performance. Today, I setup a

[LARTC] compile tcng-97 on RH9 kernel 2.4.21 (final release)

2003-07-17 Thread Dwi Cahyo
Hi, I have redhat9 with kernel with 2.4.21 (final release) info CHANGES a.. updated kernel version example in tcng/README from 2.4.20 to 2.4.21 b.. setup.klib is now compatible with 2.4.21 (final release) (by Dimitry Ketov) c.. fixed setup.klib compatibility with old kernels, like 2.4.3 But

[LARTC] Re: compile tcng-97 on RH9 kernel 2.4.21 (final release)

2003-07-17 Thread Dwi Cahyo
Hi, All It's OK, sure tcng-9f cannot be compiled on RedHat 9, you must down grade your sed, i down grade with sed-3.02-13.i386.rpm from RedHat-8.0 for i386 package, and it compiles OK Regard, .:: Cahyo ::. - Original Message - From: Dwi Cahyo [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [LARTC] OUTPUT chain marking after or before routing?

2003-07-17 Thread Catalin Borcea
- Original Message - From: Martin A. Brown [EMAIL PROTECTED] To: Chijioke Kalu [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 6:55 PM Subject: Re: [LARTC] OUTPUT chain marking after or before routing? Catalin, When I try to connect to a smtp