RE: [LARTC] Using HTB as an ISP "provisioning engine"

2002-12-19 Thread S Mohan
You can go one step further. If you are charging differential rates to customers, the you can fine tune as per scenario discussed under: Let us say customer A has paid more for bandwidth than customer B, then customer should have a greater lien on spare bandwidth than customer B. This is achieved

Re: [LARTC] Filter in HTB not working

2002-12-19 Thread Miguel Figueiredo
Em Qui, 2002-12-19 às 10:06, Nestor S A Melo escreveu: Nestor, First: If my english is poor, you can contact me direct by email in portuguese since I`m Brazilian too :) So, somebody correct me if I`m wrong ( Stef? ): 1 - I think you share more bandwidth than you have allocated. 2 - In sfq dir

Re: [LARTC] HTB steals bandwidth

2002-12-19 Thread Mr. Adam ALLEN
On Thu, 2002-12-19 at 08:08, Robert Brueckmann wrote: > The ftp-data-port rule works for all active ftp-connections, and the packet > dounter of the rule increases just as I expected. > > Any ideas, why the rate crashes down with these rules? May the > processor-power be the problem? The router i

[LARTC] kernel compiling problem!

2002-12-19 Thread AOUN RAZA
Hi all, I am installing freeswan version 1.97 on my linux box with kernel version 2.4.2-2. my question is ... but while compiling the kernel with freeswan i got some error which are.. *** /usr/src/linux-2.4.2/include/asm/spinlock.h:8 parse error before '1b7d4074' /usr/src/linux-2.4.2/in

Re: [LARTC] Using HTB as an ISP "provisioning engine"

2002-12-19 Thread Stef Coene
On Thursday 19 December 2002 21:51, Brian Capouch wrote: > I am new to shaping but not to routing; forgive me if this request is > inappropriate for this list. > > I am a very small ISP and would like to use HTB to enforce contractual > bandwidth limits on my customers. I am trying to think throug

[LARTC] Using HTB as an ISP "provisioning engine"

2002-12-19 Thread Brian Capouch
I am new to shaping but not to routing; forgive me if this request is inappropriate for this list. I am a very small ISP and would like to use HTB to enforce contractual bandwidth limits on my customers. I am trying to think through one aspect of this that is vexing me. I'm sure it's no great

[LARTC] [RELEASE] Ipsysctl-tutorial 1.0.2

2002-12-19 Thread Oskar Andreasson
Ok, sorry about sending all these notifications, but this is the last notification for a couple of weeks, so please don't flame me:). I just decided to release version 1.0.2 of the ipsysctl tutorial, and it is now up at http://ipsysctl-tutorial.frozentux.net This version is seriously broken, and

[LARTC] [RELEASE] Iptables tutorial 1.1.16

2002-12-19 Thread Oskar Andreasson
Hi all, This is a rather late notification about the fact that the iptables tutorial was released in version 1.1.16 three days ago. No big changes from 1.1.15, except tons of internal fixes since I moved from Red Hat to Debian on my main workstation. This caused a hole lot of problems for mir

Re: [LARTC] Shaping traffic to local users ?

2002-12-19 Thread Patrick McHardy
Hi again, after looking at it i noticed a possible reason for the crashes i menitioned. This version has at least that problem fixed (and some mix-ups i changed manually in my running version). Still no promises but at least it should be better than the first version. Bye, Patrick Patrick McHar

Re: [LARTC] Shaping traffic to local users ?

2002-12-19 Thread Patrick McHardy
Hi Dimitris, You could try this patch to the owner match. Its working fine for me, but i've seen it crash for unknown reasons on other boxes. anyway its not very important to me so i won't try to fix it, but if you're brave you could give it a shot ;) Bye, Patrick Dimitris Kotsonis wrote:

[LARTC] Shaping traffic to local users ?

2002-12-19 Thread Dimitris Kotsonis
Hello Is it possible to shape incoming traffic for local linux users ? Iptables can mark packets created from certain pid/uid/gid. Is there a way to do the same for packets _destined_ for some pid/uid/gid so that I can later shape them with IMQ ? Thanks in advance Dimitris Kotsonis

Re: [LARTC] Filter in HTB not working

2002-12-19 Thread Corey Rogers
From what I see you are running a telnet daemon. If not it will never work. If you are doing this to shape telnet traffic from a telnet client then rather than sport it'll have to be dport. On Thu, 2002-12-19 at 08:06, Nestor S A Melo wrote: > I have a problem in setting up HTB. > > It appears f

[LARTC] Filter in HTB not working

2002-12-19 Thread Nestor S A Melo
I have a problem in setting up HTB. It appears filters doesn't work at all, besides "tc filter show" show it as being correctly configured. Class 1:10 never sent any traffic, but as iptables show below, it should be sending packets. The HTB version I'm using is 3.3, with kernel 2.4.17. The se

[LARTC] TBF shaped machine unreachble ?

2002-12-19 Thread Paolo Poletti
I've added to my RedHat 7.3 (kernel 2.4.18-3) machine on a 2Mbit line the following command : /sbin/tc qdisc add dev eth0 root tbf rate 256kbit latency 50ms burst 1 After this has been added, periodically i'm not able to reach my machine from the network. Is there any known bug ? Can i prod

Re: [LARTC] linux bridging and htb.init / cbq.init

2002-12-19 Thread Mindaugas Riauba
> I'am successful using a linux (2.4.20) bridge and the cbq.init_v0.7 > script for traffic shaping. But I can only use the queuing discipline > tbf (LEAF=tbf). If I try use queuing discipline sfq or none then tc > applies the rules but no shaping occurs. > Is this problem a normal behavior when

[LARTC] linux bridging and htb.init / cbq.init

2002-12-19 Thread Maik Ellinger
Hello, I'am successful using a linux (2.4.20) bridge and the cbq.init_v0.7 script for traffic shaping. But I can only use the queuing discipline tbf (LEAF=tbf). If I try use queuing discipline sfq or none then tc applies the rules but no shaping occurs. Is this problem a normal behavior when us

Re: [LARTC] HTB steals bandwidth

2002-12-19 Thread Stef Coene
> If I reduce rate and ceil, it doesn't work properly either. I tried setting > the rate to 8kbit and the ceil to 16kbit and the upload did get less than > 2kbyte/s, it was app. 1,3kbyte/s. 16kbit is 2 kbyte and 1,3 is allmost 2kbyte. So it seems to me that you are shaping what you want. But wha

Re: [LARTC] WonderShaper on LAN link kills to-host speed

2002-12-19 Thread Stef Coene
On Wednesday 18 December 2002 23:22, Kenneth Porter wrote: > --On Wednesday, December 18, 2002 10:43 PM +0100 Stef Coene > > <[EMAIL PROTECTED]> wrote: > > I'm not sure, but the policer can calculate the rate in the class in 2 > > ways. And maybe your CPU can't handle the calculations. What CPU

Re: [LARTC] HTB steals bandwidth

2002-12-19 Thread Robert Brueckmann
> On Monday 16 December 2002 18:02, Robert Brueckmann wrote: > > Hi! > > > > I just tested my HTB setup. But I have a problem. Let's assume I run the > > following script (even if it might do nothing useful, just for > > demonstrating my problem): > > > > #!/bin/bash > > /usr/sbin/tc qdisc add dev