Re: [LARTC] imq device

2003-07-08 Thread Alexander Trotsai
Do you patch iptables? Do you make .IMQ-test executable? On Tue, Jul 08, 2003 at 12:10:57PM -0300, Esteban wrote: E>hi, E>i cant get the -j IMQ on netfilter. The module is loaded E>Module Size Used byTainted: P E>ipt_IMQ 768 0 (unused) E>imq

RE: [LARTC] Question on prio qdisc

2003-07-08 Thread Leonardo Balliache
Hi, Joseph: At 03:31 p.m. 08/07/03 -0400, you wrote: I understand your point, but I have tried to determine the answers to a couple of questions from the code without success (I don't understand the source code well enough). Maybe you could answer these: 1) If I specify a queue length for the int

Re: [LARTC] HTB burstable for 2 interface , how ?

2003-07-08 Thread Leonardo Balliache
Hi, Don: At 08:34 p.m. 07/07/03 -0700, you wrote: The point is that if X sends 1024 and Y tries to send 1 but fails, the firewall cannot tell and therefore can't do anything about it. Which firewall? In case of having it doesn't have anything to do here. Let's put aside any coercive device to con

RE: [LARTC] Question on prio qdisc

2003-07-08 Thread Leonardo Balliache
Hi, Lars: At 10:10 a.m. 08/07/03 +0200, you wrote: > > each queue is an independent queue. Then if high priority packets are > dropped is because the high priority queue has overflow, not because some > (unique?) queue is full from low priority packets. I am little confused. If typed ifconfig, w

RE: [LARTC] Question on prio qdisc

2003-07-08 Thread Cain, Joseph
Hi Leonardo: Thank you for the reply to my question> See comments below. Bibb Cain -Original Message- From: Leonardo Balliache [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 2:08 PM To: Cain Joseph Cc: [EMAIL PROTECTED] Subject: RE: [LARTC] Question on prio qdisc Hi, Joseph: A

Re: [LARTC] HTB doesn't respect rate values

2003-07-08 Thread Jose Luis Domingo Lopez
On Saturday, 05 July 2003, at 09:19:27 +0200, Sergiusz Brzezi?ski wrote: > machine:AMD K6 200 MHz > Linux distribution: Mandrake 8.1 > kernel: compiled 2.4.21 > applied this: > #define PSCHED_CLOCK_SOURCE PSCHED_CPU in file > linux/include/net/pkt_sched.h bevore compiled t

Re: [LARTC] tc and iptables --set-mark question

2003-07-08 Thread Jose Luis Domingo Lopez
On Thursday, 03 July 2003, at 18:30:20 +0200, Stef Coene wrote: > > From the examples i have seen, it seems to me that the mark can be as big > > as one Byte - is this correct ? > 1 byte = 2^8 = 256. I think it can be bigger. > You are correct. If I understand correctly the code in: /usr/src/lin

[LARTC] imq device

2003-07-08 Thread Esteban
hi, i cant get the -j IMQ on netfilter. The module is loaded Module Size Used byTainted: P ipt_IMQ 768 0 (unused) imq 1912 0 (unused) but i cant find the object in /usr/local/lib/netfilter/*imq.so i tryed recompiling manualy ipta

Re: [LARTC] question on borrowed and landed counter

2003-07-08 Thread Stef Coene
On Tuesday 08 July 2003 15:58, Joerg Hartmann wrote: > Hello, > > if i look at the following output of "tc -s class show dev eth0" > every class (except the root class) has a lended-counter > 0. > But no class has a borrowed-counter > 0. > As i have no other classes on this or any other interfaces,

Re: [LARTC] Routing SMTP traffic

2003-07-08 Thread Hanno Mueller
Eric Leblond wrote: You don't have any connection tracking with mark. If you want some you've got to use CONNMARK. Where can I find a few good working examples for CONNMARK? I haven't yet been able to use the CONNMARK patch on my firewall the way I tried to. Greetings, Hanno __

[LARTC] question on borrowed and landed counter

2003-07-08 Thread Joerg Hartmann
Hello, if i look at the following output of "tc -s class show dev eth0" every class (except the root class) has a lended-counter > 0. But no class has a borrowed-counter > 0. As i have no other classes on this or any other interfaces, i would like to know who/what borrewed bandwith to this class

Re: [LARTC] rtnetlink documentation

2003-07-08 Thread deepak patwardhan
Hi, There isn't much...There is draft at IETF (www.ietf.org) on rtnetlink sockets, using it as standard way of communicating between routing protocols (IGP) and routing table, again it also documents only what is avaiable in the man pages(which doesn't document everything) ...AFAIK, kernel sources

Re: Re: [LARTC] Out of IMQ interfaces

2003-07-08 Thread Alexander Trotsai
On Tue, Jul 08, 2003 at 12:50:26PM +0300, Hasso Tepper wrote: HT>Alexander Trotsai wrote: HT>> May you need mark packets with iptables and one IMQ device HT>> with htb queue HT>> Something like HT>> iptables -t mangle -A PREROUTING -i intf1 -j MARK --set-mark 1 HT>> . HT>> iptables -t mangle -A

Re: [LARTC] Out of IMQ interfaces

2003-07-08 Thread Hasso Tepper
Alexander Trotsai wrote: > May you need mark packets with iptables and one IMQ device > with htb queue > Something like > iptables -t mangle -A PREROUTING -i intf1 -j MARK --set-mark 1 > . > iptables -t mangle -A PREROUTING -i intfN -j MARK --set-mark N > iptables -t mangle -A PREROUTING -j IMQ

[LARTC] rtnetlink documentation

2003-07-08 Thread michal
Hello, I would like to ask, if somewhere exists documentation about rtnetlink interface? Something more than kernel documentation and manual pages (man rtnetlink and man netlink). I want create traffic classes, filters and so on (only cbq classes and some filters based on fwmark), like tc utili

Re: [LARTC] Out of IMQ interfaces

2003-07-08 Thread Alexander Trotsai
May you need mark packets with iptables and one IMQ device with htb queue Something like iptables -t mangle -A PREROUTING -i intf1 -j MARK --set-mark 1 . iptables -t mangle -A PREROUTING -i intfN -j MARK --set-mark N iptables -t mangle -A PREROUTING -j IMQ And to imq0 attach HTB qdisc with sha

Re: [LARTC] HTB doesn't respect rate values

2003-07-08 Thread devik
> Użytkownik devik napisał: > > Well. The right way for your case would be to limit single > > subqueue in SFQ. See line 24 of attached patch - and try patch > > itself. > > devik > > hmm.. with pfifo_fast is thesame problem - no drops... and unstable. It > doesn't look like a SFQ-specific problem