[LARTC] tcng version 8y

2002-09-20 Thread Werner Almesberger
... is on SourceForge, http://tcng.sourceforge.net/#src The main changes are that tcng's HTB is now better at quantum handling, and that tcsim now includes packet.def and ports.tc automatically (via the new default.tcsim), like tcc uses default.tc. The full change log is below, as usual. The HTB

Re: [LARTC] tc/htb still hangs system - ksymoops traced.

2002-09-20 Thread Werner Almesberger
Tomasz Wrona wrote: > OK, I retyped screenshot and put it to ksymoops and it said: > [Will it be enough info to debug, what can I do also ?] I guess Martin could figure it out from this. I'm too lazy ;-) But it would be interesting to see whether this problem also shows up in tcsim (then, it sh

[LARTC] ANNOUNCE: guide to linux IP; basics through iproute2/LARTC topics

2002-09-20 Thread Martin A. Brown
Hello all, I have been working on a guide to IP networking with linux for some time now, and have been putting off announcing this project for no good reason. A colleague has suggested that I might benefit from following the open source credo, (release early, release often). In this spirit,

[LARTC] Netfilter API -Kylix

2002-09-20 Thread Reza Alavi
Dear Friends, Does anyone know any kylix source which use netfilter API? what about some "simple" C examples? (I have seen libiptq man page ;) ) I want to write a program (with kylix if it is possible)to monitor the traffic of an IP address and whenever its credit is over (which will be calculate

Re: [LARTC] possible performance issues

2002-09-20 Thread Tomasz Wrona
Cześć, On Fri, 20 Sep 2002, Radosław Łoboda wrote: > I'm wondering how much CPU power does a 500-entries FORWARD table with > different filters and some qdiscs take. What CPU is required for 10Mbit > shaping? iptables with over 1300 rules [up to 8000 conntrack entries] divided into different c

[LARTC] possible performance issues

2002-09-20 Thread Radosław Łoboda
Hi. I'm wondering how much CPU power does a 500-entries FORWARD table with different filters and some qdiscs take. What CPU is required for 10Mbit shaping? Thanks. -- ## # | p0wer| # # __ |GG#1877248 |

Re: [LARTC] the quantity of imq device

2002-09-20 Thread Stef Coene
On Friday 20 September 2002 04:56, hanhbnetfilter wrote: > HTB and imq was used to control traffic. > modprobe imq numdevs=3 > but only imq0 and imq1 can be used; > if there are five NICs, please tell me how can I can > use imq2 , imq3 > and so on. You did the modprobe the way you have to. I nev

Re: [LARTC] Avoid adding fw filter using mark

2002-09-20 Thread Stef Coene
On Friday 20 September 2002 11:18, Sumit Pandya wrote: > Hi Devik, > > > I'm happy that HTB gained so much popularity ;) Only > > one hint for you - you can completely avoid all these > > tc filter add fw ... > > You can use only one > > tc filter add dev ppp0 parent 1: protocol ip prio 1 han

Re: [LARTC] Shaping known application traffic

2002-09-20 Thread Stef Coene
On Friday 20 September 2002 11:37, Sumit Pandya wrote: > Hi, > Many of traffic shaper products provide shaping based on certain > application type. How can we implement shaping of recognized application > types? Like FTP can take only 64Kbps irrelevant of weather FTP Server is > running on p

Re: [LARTC] the quantem of class 10001 is big

2002-09-20 Thread Stef Coene
On Friday 20 September 2002 11:49, hanhbnetfilter wrote: > imq and htb are used to control traffic. > #tc qdisc add dev imq0 root handle 1: htb default 0 > #tc class add dev $IMQDEV parent 1: classid 1:1 htb \ > rate 1kbps ceil 1kbps burst 15k > > I get the following messages: > HTB quantu

Re: [LARTC] u32 filter question

2002-09-20 Thread Stef Coene
On Friday 20 September 2002 19:23, Tobias Geiger wrote: > Hi, > > try to give the more specific filter a higher prio. if i understood "tc > filter" right, the filters with higher prio are checked first. But that's only for filters with the same parent. So it will work in this case. Or you ente

Re: [LARTC] u32 filter question

2002-09-20 Thread Tobias Geiger
Hi, try to give the more specific filter a higher prio. if i understood "tc filter" right, the filters with higher prio are checked first. in you're setup giving the last filter line "prio 0" should do the job. > Hi guys I have a config as follows for one of my networks. I want to > give the x

[LARTC] u32 filter question

2002-09-20 Thread Allan Gee
Hi guys I have a config as follows for one of my networks. I want to give the xxx.xxx.xxx.xxx/xx network 64kbit for everything from the internet but 8000kbit from our internal servers on yyy.yyy.yyy.yyy/yy network. It does not work. I only want to use u32 filters. I think what's happening is th

Re: [LARTC] [tcng8w] make test errors (mandrake 2.4.19-9mdk)

2002-09-20 Thread Werner Almesberger
raptor wrote: > |#line 1 > ]- definetly helps,.. Finally !! The workaround will be in 8y. > 'man u have put hell-of-a-tests, no bug can escape :") And then, they mutate ... :) > check syntax of examples-ng/ef-prio: PASSED > Standard error: > | warning: real MTU (guessed 1510) may be larger

[LARTC] the quantem of class 10001 is big

2002-09-20 Thread hanhbnetfilter
imq and htb are used to control traffic. #tc qdisc add dev imq0 root handle 1: htb default 0 #tc class add dev $IMQDEV parent 1: classid 1:1 htb \ rate 1kbps ceil 1kbps burst 15k I get the following messages: HTB quantum of class 1001 is big.consider r2q change <7>htb*g j=4129006 what i

[LARTC] ESFQ debugging

2002-09-20 Thread Vladimír Třebický
Is there any way to see the whole hash table of esfq to debug wheter the chosen hash table type is working correctly? This is my situation: ### ROOT tc qdisc add dev eth1 root handle 1: cbq bandwidth 10Mbit avpkt 1000 cell 8 ### CLASS PARENT tc class add dev eth1 parent 1: classid 1:1 cbq bandwidt

[LARTC] Shaping known application traffic

2002-09-20 Thread Sumit Pandya
Hi, Many of traffic shaper products provide shaping based on certain application type. How can we implement shaping of recognized application types? Like FTP can take only 64Kbps irrelevant of weather FTP Server is running on port 21 or 4096. Thanks for your suggestions. -- Sumit

[LARTC] Avoid adding fw filter using mark

2002-09-20 Thread Sumit Pandya
Hi Devik, > I'm happy that HTB gained so much popularity ;) Only > one hint for you - you can completely avoid all these > tc filter add fw ... > You can use only one > tc filter add dev ppp0 parent 1: protocol ip prio 1 handle 1 fw When I add above rule I get an error message "RTNE

Re: [LARTC] [tcng8w] make test errors (mandrake 2.4.19-9mdk)

2002-09-20 Thread raptor
Werner Almesberger <[EMAIL PROTECTED]> wrote: |raptor wrote: |> This time errors are real :") | |That weird cpp strikes again. Which CPP version is this anyway ? | |Does putting |#line 0 ]- nope.. it seems worst wit it |or |#line 1 ]- definetly helps,.. 'man u have put hell-of-a-tests, no bug can