All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Ultimate Traffic Conditioner
@ 2002-04-29  9:20 Jan Coppens
  2002-04-29  9:32 ` bert hubert
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jan Coppens @ 2002-04-29  9:20 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 4223 bytes --]

Hi all,

When I try to run the ultimate traffic conditioner (cbq implementation), I get this strange output:


/tc# ./ultimate

/tc# tc filter show dev eth1
filter parent 1: protocol ip pref 10 u32
filter parent 1: protocol ip pref 10 u32 fh 803: ht divisor 1
filter parent 1: protocol ip pref 10 u32 fh 803::800 order 2048 key ht 803 bkt 0 flowid 1:20
  match 00000000/00000000 at 16
filter parent 1: protocol ip pref 10 u32 fh 802: ht divisor 1
filter parent 1: protocol ip pref 10 u32 fh 802::800 order 2048 key ht 802 bkt 0 flowid 1:10
  match 00060000/00ff0000 at 8
  match 05000000/0f00ffc0 at 0
  match 00100000/00ff0000 at 32
filter parent 1: protocol ip pref 10 u32 fh 801: ht divisor 1
filter parent 1: protocol ip pref 10 u32 fh 801::800 order 2048 key ht 801 bkt 0 flowid 1:10
  match 00010000/00ff0000 at 8
filter parent 1: protocol ip pref 10 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 10 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:10
  match 00100000/00ff0000 at 0
filter parent 1: protocol ip pref 11 u32
filter parent 1: protocol ip pref 11 u32 fh 803: ht divisor 1
filter parent 1: protocol ip pref 11 u32 fh 803::800 order 2048 key ht 803 bkt 0 flowid 1:20
  match 00000000/00000000 at 16
filter parent 1: protocol ip pref 11 u32 fh 802: ht divisor 1
filter parent 1: protocol ip pref 11 u32 fh 802::800 order 2048 key ht 802 bkt 0 flowid 1:10
  match 00060000/00ff0000 at 8
  match 05000000/0f00ffc0 at 0
  match 00100000/00ff0000 at 32
filter parent 1: protocol ip pref 11 u32 fh 801: ht divisor 1
filter parent 1: protocol ip pref 11 u32 fh 801::800 order 2048 key ht 801 bkt 0 flowid 1:10
  match 00010000/00ff0000 at 8
filter parent 1: protocol ip pref 11 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 11 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:10
  match 00100000/00ff0000 at 0
filter parent 1: protocol ip pref 12 u32
filter parent 1: protocol ip pref 12 u32 fh 803: ht divisor 1
filter parent 1: protocol ip pref 12 u32 fh 803::800 order 2048 key ht 803 bkt 0 flowid 1:20
  match 00000000/00000000 at 16
filter parent 1: protocol ip pref 12 u32 fh 802: ht divisor 1
filter parent 1: protocol ip pref 12 u32 fh 802::800 order 2048 key ht 802 bkt 0 flowid 1:10
  match 00060000/00ff0000 at 8
  match 05000000/0f00ffc0 at 0
  match 00100000/00ff0000 at 32
filter parent 1: protocol ip pref 12 u32 fh 801: ht divisor 1
filter parent 1: protocol ip pref 12 u32 fh 801::800 order 2048 key ht 801 bkt 0 flowid 1:10
  match 00010000/00ff0000 at 8
filter parent 1: protocol ip pref 12 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 12 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:10
  match 00100000/00ff0000 at 0
filter parent 1: protocol ip pref 13 u32
filter parent 1: protocol ip pref 13 u32 fh 803: ht divisor 1
filter parent 1: protocol ip pref 13 u32 fh 803::800 order 2048 key ht 803 bkt 0 flowid 1:20
  match 00000000/00000000 at 16
filter parent 1: protocol ip pref 13 u32 fh 802: ht divisor 1
filter parent 1: protocol ip pref 13 u32 fh 802::800 order 2048 key ht 802 bkt 0 flowid 1:10
  match 00060000/00ff0000 at 8
  match 05000000/0f00ffc0 at 0
  match 00100000/00ff0000 at 32
filter parent 1: protocol ip pref 13 u32 fh 801: ht divisor 1
filter parent 1: protocol ip pref 13 u32 fh 801::800 order 2048 key ht 801 bkt 0 flowid 1:10
  match 00010000/00ff0000 at 8
filter parent 1: protocol ip pref 13 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 13 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:10
  match 00100000/00ff0000 at 0
/tc#

As you can see, the script adds way to many u32 filters. I did some testing, and figured out the problem has something to do with the different priorities. when I give each u32 filter the same priority, I get the right number of filters.

Is this output correct? If not, what can be the problem?

thanks,
Jan

---
Jan Coppens
Ghent University - IMEC

Department of Information Technology (INTEC)
Broadband Communication Networks (IBCN)

Sint-Pietersnieuwstraat, 41
B-9000, Gent
Belgium

E-mail: Jan.Coppens@intec.rug.ac.be
Phone: +32 (0)9 267 35 90
Fax: +32 (0)9 267 35 99

[-- Attachment #2: Type: text/html, Size: 5631 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Ultimate Traffic Conditioner
  2002-04-29  9:20 [LARTC] Ultimate Traffic Conditioner Jan Coppens
@ 2002-04-29  9:32 ` bert hubert
  2002-04-29 12:28 ` Jan Coppens
  2002-04-29 13:55 ` Martin Devera
  2 siblings, 0 replies; 4+ messages in thread
From: bert hubert @ 2002-04-29  9:32 UTC (permalink / raw)
  To: lartc

On Mon, Apr 29, 2002 at 11:20:21AM +0200, Jan Coppens wrote:
> Hi all,
> 
> When I try to run the ultimate traffic conditioner (cbq implementation), I get this strange output:

This is a bug in 'tc filter show'.

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Ultimate Traffic Conditioner
  2002-04-29  9:20 [LARTC] Ultimate Traffic Conditioner Jan Coppens
  2002-04-29  9:32 ` bert hubert
@ 2002-04-29 12:28 ` Jan Coppens
  2002-04-29 13:55 ` Martin Devera
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Coppens @ 2002-04-29 12:28 UTC (permalink / raw)
  To: lartc

----- Original Message -----
From: "bert hubert" <ahu@ds9a.nl>
To: "Jan Coppens" <Jan.Coppens@intec.rug.ac.be>
Cc: <lartc@mailman.ds9a.nl>
Sent: Monday, April 29, 2002 11:32 AM
Subject: Re: [LARTC] Ultimate Traffic Conditioner


> On Mon, Apr 29, 2002 at 11:20:21AM +0200, Jan Coppens wrote:
> > Hi all,
> >
> > When I try to run the ultimate traffic conditioner (cbq implementation),
I get this strange output:
>
> This is a bug in 'tc filter show'.

Is there a patch?

Jan
>
> --
> http://www.PowerDNS.com          Versatile DNS Software & Services
> http://www.tk                              the dot in .tk
> http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
>
>

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Ultimate Traffic Conditioner
  2002-04-29  9:20 [LARTC] Ultimate Traffic Conditioner Jan Coppens
  2002-04-29  9:32 ` bert hubert
  2002-04-29 12:28 ` Jan Coppens
@ 2002-04-29 13:55 ` Martin Devera
  2 siblings, 0 replies; 4+ messages in thread
From: Martin Devera @ 2002-04-29 13:55 UTC (permalink / raw)
  To: lartc

> >
> > This is a bug in 'tc filter show'.
>
> Is there a patch?

no, only complete rewrite would help ;)

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-29 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-29  9:20 [LARTC] Ultimate Traffic Conditioner Jan Coppens
2002-04-29  9:32 ` bert hubert
2002-04-29 12:28 ` Jan Coppens
2002-04-29 13:55 ` Martin Devera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.