Re: [LARTC] tcng + esfq

2007-05-18 Thread Corey Hickey
Sam LARTC wrote: FYI, i've just created a quick patch adding esfq (Enhanced Stochastic Fairness queueing discipline) for tcng (Traffic Control Next Generation). Patch is located at http://devel.dob.sk/tcng+esfq. Enjoy. I put a link to your patch page on the ESFQ page. Next time I

[LARTC] tcng + esfq

2007-05-16 Thread Sam LARTC
FYI, i've just created a quick patch adding esfq (Enhanced Stochastic Fairness queueing discipline) for tcng (Traffic Control Next Generation). Patch is located at http://devel.dob.sk/tcng+esfq. Enjoy. Sam ___ LARTC mailing list

[LARTC] TCNG on openSuSE 10.2

2007-01-09 Thread Roger Venable
I'm trying to get TCNG working on an openSuSE 10.2 machine, may I ask for compilation help here, or is it out of context for this list? Did something replace TCNG? Roger Venable Ann Arbor, Michigan, USA ___ LARTC mailing list LARTC@mailman.ds9a.nl

[LARTC] TCNG and filter priorities

2006-08-17 Thread Rens Houben
Hello, A while ago I switched a bandwidth management setup from bash shell script using tc to a MUCH more readable tcng solution (yes, the same one I asked for help with earlier. It worked perfectly, thanks) and it's working very well. However, one of our clients now has a slightly

[LARTC] tcng not working as expected

2006-07-11 Thread rajendra
Hi, Looking at the following sample, shouldn't the client1_a be restricted to 35kBps even when there is 50kBps available. Please see the following configuration and suggest. What I wanted to do is I have clients grouped on VIP and Poor. The VIP clients and poor clients may be subscribed with the

[LARTC] TCNG issue - parent class restrictions are not honored

2006-06-27 Thread Rens Houben
Hi, I've been migrating an existing htb-based traffic shaper from a hideous (I'm allowed to call it that - I wrote the damn atrocity myself) tc shell script into a TCNG configuration file, and after a few false starts I think I managed to get the syntax right. However, during tests it

Re: [LARTC] TCNG question

2006-06-27 Thread Martin A. Brown
Paul, : I have used tcng to help start me with some tc code that i can : put into a bash script and call from a c program. I have to : dynamically : : 1. Add filters for communications between different nodes. : 2. Delete these filters as communications cease between the : nodes

Re: [LARTC] TCNG issue - parent class restrictions are not honored

2006-06-27 Thread Martin A. Brown
Greetings Rens, : I've been migrating an existing htb-based traffic shaper from a : hideous (I'm allowed to call it that - I wrote the damn atrocity : myself) tc shell script into a TCNG configuration file, and after : a few false starts I think I managed to get the syntax right. I know

[LARTC] TCNG question

2006-06-23 Thread Paul
Hey all, i have a class.class ( $call1 ) if ip_dst == 10.100.1.6 tcp_dport == 22 if ip_src == 10.100.1.4 tcp_sport == 22 ;Now when i apply this traffic TO 6 on port 22 is indeed limited to the speed i specify BUT it doesn't seem to take the src into account at all. If i change the src to

Re: [LARTC] TCNG question

2006-06-23 Thread Martin A. Brown
Greetings again Paul, : class ( $call1 ) if ip_dst == 10.100.1.6 tcp_dport == 22 : if ip_src == 10.100.1.4 tcp_sport == 22 :; : : Now when i apply this traffic TO 6 on port 22 is indeed limited : to the speed i specify BUT it doesn't seem to take the src

Re: [LARTC] TCNG HTB priority and bandwidth

2006-05-29 Thread Luciano Ruete
On Monday 29 May 2006 02:47, [EMAIL PROTECTED] wrote: Hi, I have several users on the lanside each allocated separate IP addresses. I need to allocate th traffic to each IP addresses certain portion of total uplink. Say, 192.168.0.2 rate 128kbps, ceil 128kbps. 192.168.0.3 rate 65kbps, ceil

[LARTC] TCNG HTB prioritize traffic for each IP separately.

2006-05-29 Thread rajendra
Hi, Yes! This (htb-gen software) perfectly meets my demand. I have also drawn a similar solution with tcng but unable to prioritize traffic for each user separately. Again, I seek someone would help me about how to do it with tcng. I have prioritize the traffic but the higher priority traffic

[LARTC] TCNG HTB prioritize traffic for each IP separately.

2006-05-29 Thread rajendra
Hi, Yes! This (htb-gen software) perfectly meets my demand. I have also drawn a similar solution with tcng but unable to prioritize traffic for each user separately. Again, I seek someone would help me about how to do it with tcng. I have prioritize the traffic but the higher priority traffic

[LARTC] TCNG HTB Branching the class not working. (bug or what)

2006-05-28 Thread rajendra
Hi, I am new to traffic control in linux. However, i have able to grab many new knowledge in recent days. I find tcng somewhat easy to use (although lack proper doc. of its usage). I want to control traffic of several IP Addresses connected to my LANSIDE. What I want is , i want to separate

[LARTC] TCNG HTB priority and bandwidth

2006-05-28 Thread rajendra
Hi, I have several users on the lanside each allocated separate IP addresses. I need to allocate th traffic to each IP addresses certain portion of total uplink. Say, 192.168.0.2 rate 128kbps, ceil 128kbps. 192.168.0.3 rate 65kbps, ceil 128kbps 129.168.0.4 rate 64kbps, ceil 64kbps. and so on

Re: [LARTC] tcng

2006-03-14 Thread Larry Brigman
On 3/13/06, Jason Boxman [EMAIL PROTECTED] wrote: On Monday 06 March 2006 19:41, Juan Felipe Botero wrote: Nobody knows something new about tcng? I really think that this kind of language help people, i order to do easier configurations i want to know how can i do in tcng a nested

Re: [LARTC] tcng

2006-03-14 Thread Jason Boxman
On Tuesday 14 March 2006 11:42, Larry Brigman wrote: snip But tcng has as a part of it tcsim which allows you to experiment with a tc configuration without taking a box down. True, if you can read the source and figure out on your own how to use it meaningfully. Perhaps I just missed

[LARTC] tcng

2006-03-13 Thread Juan Felipe Botero
Nobody knows something new about tcng? I really think that this kind of language help people, i order to do easier configurations i want to know how can i do in tcng a nested classes configuration with HTB?-- Juan Felipe Botero Ingeniería de sistemasUniversidad de Antioquia

Re: [LARTC] tcng

2006-03-13 Thread Jason Boxman
On Monday 06 March 2006 19:41, Juan Felipe Botero wrote: Nobody knows something new about tcng? I really think that this kind of language help people, i order to do easier configurations i want to know how can i do in tcng a nested classes configuration with HTB? From the number of tcng

[LARTC] TCNG make test error

2006-01-20 Thread �ffffa6�ffffca�ffffa4�ffffc0 �ffffa9�fffff6
Hi: I try to install TCNG into my Fedora core3 but make test error,so when I compile my tc code , I saw the same error- cpp: unregnized option `-$'my cpp verwion is cpp-3.4.2-6.fc3 ,put kernel 2.4.27 iproute2-2.6.9 sourceunder tcsim/ , can anybody tell how to fix this

[LARTC] tcng questions: TCP_ACK, ebtables

2006-01-04 Thread james
Hi all, I have a couple of questions regarding tcng behavior. First - I want to mark TCP_ACK packets as high priority, a common case. I figured the tcp_ACK rule in fields4.tc would be enough but I've come across Jason Boxman's tutorial and he recommends using: class( $ack ) if ip_len 64

[LARTC] tcng on 2.6 kernel

2005-07-26 Thread ddaasd
Hi, I've tried to compile tcng on my 2.6.12 kernel and the ./configure returned that only 2.4 and 2.5 are supported. So, doesn't tcng compile also on 2.6 kernel? -- ddaas ___ LARTC mailing list LARTC@mailman.ds9a.nl

Re: [LARTC] tcng on 2.6 kernel

2005-07-26 Thread Andreas Unterkircher
Yes, you simply have to add your kernel version in the configure script (KVERSION if I remember correctly). Cheers, Andreas ddaasd ([EMAIL PROTECTED]) schrieb: Hi, I've tried to compile tcng on my 2.6.12 kernel and the ./configure returned that only 2.4 and 2.5 are supported. So, doesn't

[LARTC] tcng and rule set reloads

2005-05-23 Thread Ken Yap
I'm considering using tcng for compiling a set of HTB bandwidth allocations, which may change now and then, due to new users, etc. There may be a simple web front-end to change the allocations. All allocations are done by subnets, no complicated rules involving matching on ports. My questions

[LARTC] tcng version 10b

2004-10-03 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-10b.tar.gz md5sum d28bc6b1ed8973814213942288ab5d18 See also http://tcng.sourceforge.net/ This release fixes a few compatibility problems with internationalization and with kernels using strange version names. Also, the mtu parameter

[LARTC] tcng version 10a

2004-09-28 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-10a.tar.gz md5sum 3f58447fdf393cbe3c584d80089806dc See also http://tcng.sourceforge.net/ This release changes a bunch of things, hence the jump in the version number: - the name of the traffic control compiler has changed from

[LARTC] TCNG compilation/translation bug/question

2004-09-21 Thread Joost Kraaijeveld
Hi all, The following ingress statement: $host2 = SLB(cbs 1024kb, cir 2048kbps); class() if ip_dst == 81.175.84.2 SLB_else_drop($host2); is compiled by TCNG into the folling tc command: ... tc filter add dev eth0 parent :0 protocol all prio 1 u32 match u32 0x51af5402 0x

RE: [LARTC] TCNG compilation/translation bug/question

2004-09-21 Thread Joost Kraaijeveld
Hi all, Ooops, please ignore my previous e-mail. I reversed the bits and bytes. Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: [EMAIL PROTECTED] web: www.askesis.nl ___

Re: [LARTC] TCNG on a Linux NAT router question

2004-09-20 Thread mjoachimiak
. - Original Message - From: Joost Kraaijeveld [EMAIL PROTECTED] To: Lartc (E-mail) [EMAIL PROTECTED] Sent: Saturday, September 18, 2004 9:53 AM Subject: [LARTC] TCNG on a Linux NAT router question Hi all, I want to apply traffic control using TCNG 1.30 on a NAT router. Can I use the IP addresses

[LARTC] TCNG on a Linux NAT router question

2004-09-18 Thread Joost Kraaijeveld
Hi all, I want to apply traffic control using TCNG 1.30 on a NAT router. Can I use the IP addresses on my LAN to shape the traffic on the outgoing interface, with other words, does the address translation take place before or after traffic control? (Or does it depend and if so, on what?)

[LARTC] TCNG syntax for ingress / policing questions

2004-09-18 Thread Joost Kraaijeveld
Hi all, I have 2 questions regarding policing 1. What is the problem with policing as in most mesages I can find people say don't but I have not found a why? 2. I have the egress below working (numbers in example are bogus, I know). How do I add an ingress policy? /* compile this file with

Re: [LARTC] tcng and scheduling ssh

2004-09-08 Thread Michael P. Soulier
On 07/09/04 Michael P. Soulier did say: #include fields.tc #include ports.tc dev eth0 { egress { // Voice traffic class ($voice) if udp_dport = 2 udp_dport = 23000; // SSH connections class ($interactive) if tcp_dport ==

[LARTC] TCNG Port Range

2004-09-07 Thread kraquen
I'd like to set up a filter based on a port range. I tried something like class( $test ) if tcp_sport 2001 tcp_sport 2015 ; But it seems to 'hang' with this in there.. Is this the best/right way to go about this? if not, what is the best way? Thanks

[LARTC] TCNG + kernel 2.6

2004-08-13 Thread JM Leni (Matyca.com)
Has anyone compiled tcng with kernel 2.6 ? Any clue ?

Re: [LARTC] tcng + NAT

2004-08-04 Thread mjoachimiak
class ( $adsl_medium ) if meta_nfmark == 0x30; It works great. Thanks for help :D. Hello, you can try: . . . // ip header type of service class ( $adsl_high ) if ip_tos == 0x80; // metadata packet mark class ( $adsl_medium ) if meta_nfmark == 0x30; . . .

[LARTC] tcng + NAT

2004-08-02 Thread mjoachimiak
Does anybody know how to you use tcng with packet marking. I'm masquerading my connection so to shape outbound traffic I need to mark packets with iptables. But how to you make tcng to recognize marked packets? Thanks for your help.

Re: [LARTC] tcng + NAT

2004-08-02 Thread [EMAIL PROTECTED]
Hello, you can try: . . . // ip header type of service class ( $adsl_high ) if ip_tos == 0x80; // metadata packet mark class ( $adsl_medium ) if meta_nfmark == 0x30; . . . Cheers Charles

[LARTC] tcng/tc setup

2004-07-14 Thread Gareth Glaccum
Hi all, Can someone please help with a tcng setup? I have played with tc and tcng in the past, and now would like to get some serious rules in place. However, I have a difficulty in setting them up. My setup is as follows: One machine working as a firewall: eth0 is the interface connected to a

Re: [LARTC] tcng/tc setup

2004-07-14 Thread Jason Boxman
On Wednesday 14 July 2004 05:54, Gareth Glaccum wrote: Hi all, Can someone please help with a tcng setup? I have played with tc and tcng in the past, and now would like to get some serious rules in place. However, I have a difficulty in setting them up. I'd suggest using `tc` and using

[LARTC] TCNG on kernel 2.6.x?

2004-05-25 Thread John B Dunning/NS/WSC
Heya all, Has anyone ported tcng to kernel 2.6.x yet? I tried to compile and it was fairly specific in terms of what kernels it would and would not work with. Not being much of a kernel hacker I didn't trust disabling the checks *grins*. John D.

[LARTC] tcng configuration question??

2004-05-20 Thread John B Dunning/NS/WSC
Greetings all, OK - just started playing around with traffic shaping - have imq and htb and (I think) everything else I need in the kernel and running well. My initial lab task was to protect a H.323 session over a simulated half T1 while adding bulk traffic - got that accomplished after

[LARTC] tcng configuration question??

2004-05-20 Thread Jacob Teplitsky
Message: 8 To: [EMAIL PROTECTED] From: John B Dunning/NS/WSC [EMAIL PROTECTED] Date: Thu, 20 May 2004 08:23:53 -0500 Subject: [LARTC] tcng configuration question?? { egress { class ($four_vip

[LARTC] tcng version 9m

2004-05-09 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9m.tar.gz md5sum 636d382f6db917b385e7a6f158136ca2 See also http://tcng.sourceforge.net/ This release contains the upgrade to 2.4.26, plus a few compatibility changes. There's also a major bug that strangely went undetected until

[LARTC] tcng help

2004-05-09 Thread Marcelo Mercio Dandrea
Hey all, I need to make a setup for VoIP using Linux QoS. For that, I decided to follow Leonardo Balliache (http://www.opalsoft.net/qos/VoIP.htm) recomendations; an Ingress filter to forward the SIP packets to from the incoming interface (eth2) to the outgoing one (eth0) as soon as

[LARTC] tcng ingress policing question

2004-05-06 Thread Simon Oosthoek
Hi all I started playing with tcng to generate my tc rules, but I have some difficulty implementing my rules... The script below generates an error: # Device eth0 tc qdisc add dev eth0 ingress beginner.tc:2: don't know how to build meter for this The script is below, I changed the real IP

[LARTC] tcng and ip_len

2004-04-16 Thread Jason Boxman
I can't seem to match packets less than 512 bytes: class( $bulk ) if tcp_dport == 81 !( ip_len 0xfe00 ) ; or if tcp_dport == 81 ip_len 512 Both rules match any packet I send to port 81, even when the total IP length is much greater than 512 bytes: class htb 2:4 parent 2:1 leaf 5: prio 1

[LARTC] TCNG per IP...

2004-04-13 Thread Cristiano Soares
Hi all. Im trying to shape some traffic, and i see that the best way to do that is using TCNG. The thing is: I dont know how to shape bandwidth per IP. Exemple: 192.168.1.20 256kbit(down) 128kbit(up) 192.168.1.21 512kbit(down) 128kbit(up) 192.168.1.22 180kbit(down)

[LARTC] tcng TCP ACK match

2004-03-21 Thread Jason Boxman
Hello. I have been trying to duplicate these u32 matching rules using TCNG, but without much success: tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32\ match ip protocol 6 0xff \ match u8 0x05 0x0f at 0 \ match u16 0x 0xffc0 at 2 \ match u8 0x10 0xff at 33 \ flowid 1:10

Fw: [Fwd: Re: [LARTC] TCNG]

2004-03-10 Thread Barry Rooney
__LARTC mailing list / [EMAIL PROTECTED]http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ ---BeginMessage--- - Original Message From: "Barry Rooney" [EMAIL PROTECTED]To: "[EMAIL PROTECTED]" [EMAIL PROTECTED]Subjec

[LARTC] TCNG compilation problem

2004-03-09 Thread Alejandro Rios Pena
Hi! I want to install tcng with tcsim, but I get several errors when trying to compile it: cc -g -Wl,-E -o tcsim tcsim.o jiffies.o timer.o command.o var.o host.o attr.o lex.yy.o y.tab.o ksvc.o klink.o usvc.o module.o trace.o klib/klib.o ulib/ulib.o -lfl -lm -ldl -L../shared -ltcngmisc

Re: [LARTC] TCNG

2004-03-03 Thread Barry Rooney
Hi Martin, Eth0 is connected to a private network which has on it a Media Server streaming rtsp files Eth1 is a wireless card on an ad-hoc network with a laptop, a pda, and a desktop. The idea is then to imitate different QoS levels to the different devices, the idea being that the pda

[LARTC] TCNG

2004-03-01 Thread Barry Rooney
Hi All, I'm using TCNG to restrict certain types of traffic to certain ip addresses using a Linux router, and some masq'd computers behind it. Unfortunately something like this... #include "fields.tc" #include "ports.tc" #define INTERFACE eth1 dev INTERFACE { egress { /* In class selection

[LARTC] tcng version 9j

2004-02-25 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9j.tar.gz md5sum d0f0b1b20a6711f447d5321138ab5852 See also http://tcng.sourceforge.net/ This is a maintenance release that mainly synchronizes with current 2.4 kernels. The complete list of changes is below. - Werner

[LARTC] [tcng] link-quality

2003-12-12 Thread Johan Cimen
Hi! This is my second post in this list with this problem and I need clearing. Situation is this: My host is a WLAN Access Point (AP) and I am using one network card. The host is going to generate packets to stations and those links with good uplink to the host are going to have priority in the

[LARTC] TCng (wrr || esfq) ?

2003-12-08 Thread Artras lajus
Anyone have acomplished this? tcc just gives syntax error :( -- pagarbiai, Artras lajus ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Re: [LARTC] tcng ingress examples

2003-11-29 Thread Jacob Teplitsky
Hi, I'am looking for tcng examples where ingress is used. Please post me some (working) examples, no need for explanation. Thank you Alex Here is an example of ingress policing. I haven't tested this script under Linux. - Jacob dev s0e0 { ingress { $from_c1_net = ip_src:24 ==

[LARTC] tcng ingress examples

2003-11-26 Thread Alex Ongena
Hi, I'am looking for tcng examples where ingress is used. Please post me some (working) examples, no need for explanation. Thank you Alex ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] tcng error

2003-11-26 Thread [EMAIL PROTECTED]
hi all, below is my tcng configuration (based on wondershaper) which yields an error that i do not understand ... can't dump subexpression (if_u32.c, access expected) [==]--[.IPv6 address]--[==]--[access]-- (none) | | | +-- 9 | | | `-- 8 | | `--[offset]--[access]-- (none) | | | +-- 2 | | |

[LARTC] tcng version 9i

2003-11-22 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9i.tar.gz md5sum 50f497a7539e4c03c5783b410b132127 See also http://tcng.sourceforge.net/ Highlights: - added support for TBF with an inner queuing discipline (Kernel = 2.4.22 or = 2.5.75. iproute2 doesn't change.) - added an ebuild

Re: [LARTC] tcng issue

2003-11-21 Thread rubens
Well--I was going to write a short answer, which would have said something like look at the parent of the filters. But...that wouldn't have helped much. So here's a long-winded message about your config file and situation. Thanks for writing the long version... I'm going to guess that

[LARTC] tcng issue

2003-11-20 Thread rubens
Hi. After migrating a tc-based script to tcc (from the tcng package), we are having a filter issue. The script generated by tcc with tc commands is not configuring the tc filters; tc filter show results in none after the script is run, although no error message is generated from the tc filter

Re: [LARTC] tcng issue

2003-11-20 Thread Martin A. Brown
Hello Rubens, Well--I was going to write a short answer, which would have said something like look at the parent of the filters. But...that wouldn't have helped much. So here's a long-winded message about your config file and situation. : After migrating a tc-based script to tcc (from the

Re: [LARTC] tcng version 9h

2003-11-10 Thread Nelson E. Castillo
Hi, I tried compiled tcng withj HTB support using a vanilla 2.4.22 Linux Kernel. I downloaded iproute2 and the HTB patch from the locations suggested in the README file that comes with tcng. After compilation, some tests fail doing a 'make test'. For the first test, I used gcc 2.95.4 and

[LARTC] [tcng] nfmark if

2003-11-10 Thread raptor
hi there, will the following config work : class ($class1) if nfmark == VALUE $condition1; class ($class2) if $condition1; class ($class3) if nfmark == VALUE $condition2; class ($class4) if $condition2; class ($class5) if nfmark == VALUE $condition3; class ($class6) if $condition3;

[LARTC] tcng version 9g

2003-11-06 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9g.tar.gz md5sum 63ef58e3d3c2cf5298524fb174168681 See also http://tcng.sourceforge.net/ Yes, it's been an eternity since the last release, sorry. I'm obviously having too much fun with umlsim :-) This one starts a round of catch-up

[LARTC] tcng version 9h

2003-11-06 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9h.tar.gz md5sum 9b7c520f92b312a5a00da12bad35f57d See also http://tcng.sourceforge.net/ This release upgrades to the current 2.4 kernels, fixes a few minor glitches in the build system, and adds the options --no-manual and

Re: [LARTC] tcng newie

2003-10-27 Thread Damjan
I get this: Unknown qdisc dsmark, hence option indices is unparsable I looked for some information on the net and found that many people say that TC_CONFIG_DIFFSERV should be set to y in iproute/Config . ... What's wrong here?! What should I do?:( PLEASE HELP! :) Your tc binary doesn't

[LARTC] [tcng] is there a way to not build the DOCS ?

2003-09-12 Thread raptor
is there way to not build DOCS ? when doing 'make', 'make install' or better specify in ./configure step.. I'm not in .rpm distro how to exclude this from the installation process too... !? tia make[1]: Leaving directory `/var/tmp/portage/tcng-9f/work/tcng/doc' make[1]: Entering directory

[LARTC] TCNG building problems...help

2003-09-12 Thread aj
Hi, I downloaded the latest tcng release, however am having problems to build itbelow are the kind of error messages am getting. Do u people have a clue as to why this is happening ? Thanks in advance =- - - - - make[3]: Entering

Re: [LARTC] TCNG building problems...help

2003-09-12 Thread raptor
]- try to build w/o tcsim, (if u need it u will have to find a solution then :)) i.e. ./configure --no-tcsim make make test |Hi, | |I downloaded the latest tcng release, however am having problems to |build it.below are the kind of error messages am getting. Do u people |have a clue as

[LARTC] tcng version 9f

2003-06-19 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9f.tar.gz md5sum 28ff5fdd6e63ef1895728d20f660f0a1 (See also http://tcng.sourceforge.net/) This just is the upgrade for 2.4.21-final compatibility. It also fixes some things that broke tcsim builds with some old kernels. The complete

[LARTC] [tcng+htb] dsmark_dequeue: unsupported protocol 2054

2003-06-17 Thread Martin Teufel
i use redhat 8.0 (kernel 2.4.20-13.8) with iproute2-2.4.7-now-ss020116.try and tcng-9e i patched iproute2 and tc with the htb3.6-020525-patch from http://luxik.cdi.cz/~devik/qos/htb/ everything is working fine apart from the annoying error message: dsmark_dequeu: unsupported protocol 2054 i

[LARTC] [tcng] tcng - class/qdisc id ?

2003-06-09 Thread raptor
hi, I see that tcc need some time and a processor power to generate the TC commands, my question is : - If I generate Location maps (tcc -l tcc.conf) on different computer will the elemets match ? i.e. What I want is to generate location map on different computer, (so that I can to see which

Re: [LARTC] tcng/tcsim - Can't simulate my script using HTB

2003-06-03 Thread Stef Coene
On Monday 02 June 2003 14:20, Augusto Miranda Martins wrote: I've got a tcng script where I use the HTB qdisc, when I try to simulate it via tcsim, it print's out the message: qdisc htb not found Does tcsim support HTB? When I'm using CBQ instead of HTB it presents no error messages and

[LARTC] tcng/tcsim - Can't simulate my script using HTB

2003-06-02 Thread Augusto Miranda Martins
I've got a tcng script where I use the HTB qdisc, when I try to simulate it via tcsim, it print's out the message: qdisc htb not found Does tcsim support HTB? When I'm using CBQ instead of HTB it presents no error messages and do the simulation properly. Thanks, Augusto.

Subject: [LARTC] [tcng] X:Y to tcng corespondence !

2003-03-16 Thread Jacob Teplitsky
Message: 8 Date: Fri, 14 Mar 2003 21:49:49 +0200 From: raptor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [LARTC] [tcng] X:Y to tcng corespondence ! Is there a easy way that I to get class-id-tcng-class-path conversation and vs. versa.. --__--__-- There are couple files

[LARTC] [tcng] X:Y to tcng corespondence !

2003-03-14 Thread raptor
Is there a easy way that I to get class-id-tcng-class-path conversation and vs. versa.. ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] [tcng] ip-range

2003-03-14 Thread raptor
Is there a way in tcng to specify range instead a list of addresses, what I mean instead : drop if (ip_src == 192.168.0.2 || ip_src == 192.168.0.3 || ip_src == 192.168.0.4 || ip_src == 192.168.0.5); may be : drop if (ip_src == 192.168.0.2 .. 192.168.0.5); drop if (ip_src == 192.168.0.2 -

[LARTC] [tcng] avoiding dsmark; help with nested classifiers

2003-03-10 Thread Martin A. Brown
Hello all, Pardon the long mail, I'll accept flames if I have irritated anybody. Here are three snippets of different ways to approach a tcng configuration. Unfortunately, I must not quite understand tcng syntax I could work around it, build a new kernel and so forth, but I'm curious about

Re: [LARTC] [tcng] specifing interface in IF ?!

2003-03-06 Thread raptor
Teplitsky [EMAIL PROTECTED] wrote: | | Subject: [LARTC] [tcng] specifing interface in IF ?! | | does anyone know how can I make class-path based on interface from which the packet comes ?! | |We implemented something like this: |dev s0e0 { |ingress { |class (,set_color(GREEN

Re: [LARTC] TCNG fw classifier question

2003-03-05 Thread Steven Bauer
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think I must have the syntax wrong for using the firewall classifier in TCNG. Can anyone offer any suggestions for what I am doing wrong. Details below... I am answering my own question here in hopes that anyone reading the archive might benefit.

[LARTC] TCNG fw classifier question

2003-03-04 Thread bauer
I think I must have the syntax wrong for using the firewall classifier in TCNG. Can anyone offer any suggestions for what I am doing wrong. Details below... #include packet.def dev eth0 10 { htb (rate 128kbps, ceil 150kbps ) { fw;

Re: [LARTC] [tcng] classes on several interfaces at once ?

2003-03-03 Thread Werner Almesberger
raptor wrote: is it possible with the tcng-macros or something else to make classes in such a way so that I write them once and set simultaneously classes on many interfaces.. what i mean , something like this : Well, probably :-) It's up to you do decide how much time you want to spend on

Re: [LARTC] tcng and network processor

2003-03-03 Thread Werner Almesberger
Chris Clark wrote: I am considering a project to translate tcc output (C code or external interface) to network processor code, so that the NP can do the actual traffic shaping. As Jacob has pointed out, tcc's external interface is what you're looking for. I have a platform using the Intel

Re: [LARTC] [tcng] specifing interface in IF ?!

2003-03-01 Thread Jacob Teplitsky
Subject: [LARTC] [tcng] specifing interface in IF ?! does anyone know how can I make class-path based on interface from which the packet comes ?! We implemented something like this: dev s0e0 { ingress { class (,set_color(GREEN)) if tcp_dport == PORT_HTTP

Re: [LARTC] [tcng] the difference ?!

2003-03-01 Thread Jacob Teplitsky
Message: 6 Date: Fri, 28 Feb 2003 17:40:43 -0500 From: raptor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [LARTC] [tcng] the difference ?! what is the difference between : police(), bucket(...) and SLB(..)/DLB() and friends ?! Check tcng/lib/tcng/include/meters.tc - Jacob

[LARTC] [tcng] specifing interface in IF ?!

2003-02-28 Thread raptor
does anyone know how can I make class-path based on interface from which the packet comes ?! dev eth0 { class($c1) if interface-eth0; egress { htb() { $c1 = class(rate 1mbps) { class(rate 100kbps, ceil

[LARTC] [tcng] example

2003-02-20 Thread raptor
hi, i would like to use just one interface to shape/police traffic, lets have following config : users -[eth1]===[eth0]-- Internet what I think to do is : $m1 = SLB(cir 20kbps, cbs 10kB); dev eth1 { ingress{ class($i1) if ip_dst = 192.168.0.5 SLB_else_drop($m1);

[LARTC] [tcng] classes on several interfaces at once ?

2003-02-16 Thread raptor
is it possible with the tcng-macros or something else to make classes in such a way so that I write them once and set simultaneously classes on many interfaces.. what i mean , something like this : #define-xx superClass(a,b,c) ... then using superClass(x,y,z) should generate : dev eth0

[LARTC] tcng and network processor

2003-02-13 Thread Chris Clark
I am considering a project to translate tcc output (C code or external interface) to network processor code, so that the NP can do the actual traffic shaping. I have a platform using the Intel IXP1200 NP on a PCI card, which functions as a NIC for the host PC running Linux. This approach would

RE: [LARTC] tcng and network processor

2003-02-13 Thread Chris Clark
Of Chris Clark Sent: Friday, February 14, 2003 12:03 AM To: [EMAIL PROTECTED] Subject: [LARTC] tcng and network processor I am considering a project to translate tcc output (C code or external interface) to network processor code, so that the NP can do the actual traffic shaping. I have a platform

[LARTC] tcng version 9d

2003-01-14 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9d.tar.gz md5sum 0f61201c657f1851d9d12ca897a4985e (See also http://tcng.sourceforge.net/) This is a maintenance release that fixes various compatibility problems. It also recognizes more recent kernels. The complete list of changes

Re: [LARTC] tcng compile problem

2003-01-08 Thread Werner Almesberger
Kreso wrote: make[3]: Entering directory /home/kreso/tcng/tcsim/ulib/iproute2/lib' gcc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I../shared -Iklib -Iklib/include -Iulib/iproute2/include -I. -DVERSION=\cat ../VERSION\ -DTOPDIR=\/home/kreso/tcng\

Re: [LARTC] [tcng] More complex example?

2003-01-01 Thread Stef Coene
On Wednesday 01 January 2003 02:18, Donald Gordon wrote: On Tue, 31 Dec 2002 11:25:46 +0100 Stef Coene [EMAIL PROTECTED] wrote: On Tuesday 31 December 2002 07:07, Donald Gordon wrote: Hi I'm completely stuck with the tcng language - I assume there must be some way to arrange queues

Re: [LARTC] [tcng] More complex example?

2002-12-31 Thread Stef Coene
On Tuesday 31 December 2002 07:07, Donald Gordon wrote: Hi I'm completely stuck with the tcng language - I assume there must be some way to arrange queues hierachically like eth1 TBF PRIO / \ class class but my attempt (below) produces a inferno.tc:8: qdisc

[LARTC] tcng compile problem

2002-11-29 Thread Kreso
Hello, I'm having compile problems here with tcng-9c. After unpacking tcng and iproute2 archive I get: $ make ./configure building tcsim:yes Kernel source: /usr/src/linux Kernel version:2.4.20 iproute2 source: /home/kreso/tcng/tcsim/iproute2 iproute2 version: 010824 Host byte

[LARTC] tcng 9b tests error

2002-11-05 Thread bauer
I was trying out tcng and got the following error. Any suggestions? Additive headers at external interface (C): FAILED Standard error: | input in flex scanner failed File: tests/additive Command: LD_LIBRARY_PATH=. tcsim -v -Xc,-tif:c tests/lib/additive.tcsim | sed '/.* c .*returns

[LARTC] tcng version 9b

2002-10-21 Thread Werner Almesberger
... is on SourceForge, http://tcng.sourceforge.net/#src This one fixes a really stupid typo causing tcsim's tc to pick up HZ from the environment where it's being run, not the simulation environment, which confused most rate calculations. And if_u32.c now only emits hashes that will actually be

[LARTC] tcng: overview paper

2002-10-18 Thread Werner Almesberger
I just uploaded a slightly updated version of the tcng overview paper I presented last month at Linux-Kongress in Cologne: http://tcng.sourceforge.net/doc/tcng-overview.ps There are also links to a PDF version and the source from http://tcng.sourceforge.net/ - Werner --

[LARTC] [tcng] exceeding child bandwith only in special cases ?

2002-10-16 Thread raptor
I was rereading tcng docs... and think i found a possible solution to a scenario i want to implement...i.e. I want to create channel with rate 64kb/s but be able to jump to 128kb/s if the traffic is destinated to the proxy server... (all other traffic must not exceed 64kb/s)... pseudo-code :

  1   2   >