Re: [LARTC] tcng + esfq

2007-05-17 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 ti

[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@mailman.ds9a.

[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 http

[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 unique

[LARTC] tcng not working as expected

2006-07-10 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 s

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 w

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 a

[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 look

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 s

[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

[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 compl

[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 compl

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,

[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

[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 certai

Re: [LARTC] tcng

2006-03-14 Thread Jason Boxman
On Tuesday 14 March 2006 11:42, Larry Brigman wrote: > 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 something

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 tcn

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 t

[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 __

[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 source under tcsim/ , can anybody tell how to fix this problem??ThanksFio

[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 <

[LARTC] tcng example on using ingress without IMQ

2005-12-23 Thread Rani Ahmed
hi all. i really need help. i need a working example on shaping the ingress per user using tcng without IMQon a mechine which has two interfaces, and acts like a firewall, and NAT for intrenet connection sharing: eth0 is the external facing the Internet. eth1 is the internal towards my LAN

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, does

[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 http://mailman.ds9a.nl/cgi-bin/mail

[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 are:

[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 "tc

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 ___

[LARTC] TCNG compilation/translation bug/question

2004-09-20 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 0xff

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 o

[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 tcc

[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?) Groe

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>) >

[LARTC] tcng and scheduling ssh

2004-09-07 Thread Michael P. Soulier
Hey people, I have the following tcng configuration: #include "fields.tc" #include "ports.tc" dev "eth0" { egress { // Voice traffic class (<$voice>) if udp_dport >= 2 && udp_dport <= 23000; // SSH connections class (<$interactive>)

[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 == 0x

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 + 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/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 Net

[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 5

[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 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 > { >

[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 sloggin

[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 possi

[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 recen

[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 number

Re: [LARTC] tcng and ip_len

2004-04-19 Thread Jason Boxman
On Friday 16 April 2004 17:07, Jason Boxman wrote: > 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 Reversing the rule such that it is: if ip_len < 512 && tcp_dport == 81 works a

[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:

[LARTC] TCNG per IP...

2004-04-12 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) 128

[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 Wondershaper

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

2004-03-10 Thread Barry Rooney
te 200kbps, ceil 3500kbps ) { sfq; } ;}}I can't tell if this does what you'd like, but maybe it does.Good luck,-Martin--Martin A. Brown --- SecurePipe, Inc. --- [EMAIL PROTECTED]___LARTC mailing list / [EMAIL PROTECTED]http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: htt

[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 ulib/uli

Re: [LARTC] TCNG

2004-03-03 Thread Martin A. Brown
Barry, : 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. Understood. : The idea is then to imitate different QoS levels to the different : devices, the idea being

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 shouldn'

Re: [LARTC] TCNG

2004-03-03 Thread Martin A. Brown
Hello Barry, : 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. You didn't tell us anything about the networks behind eth1. So, is this host running as an Internet access device? : #define INTERFACE  eth1

[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

[LARTC] tcng version 9l

2004-02-29 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9l.tar.gz md5sum b1dde4ec97fa042d76d498cf87019551 See also http://tcng.sourceforge.net/ Since I cleaned up so many things for Gentoo yesterday, here's one for Debian 3.0. The main problems were: - its CPP doesn't like variadic macros

[LARTC] tcng version 9k

2004-02-28 Thread Werner Almesberger
... is on SourceForge: http://tcng.sourceforge.net/dist/tcng-9k.tar.gz md5sum 330440ac8cd8991fc1a09feacee0612e See also http://tcng.sourceforge.net/ This release addresses various compatibility issues: - compatibility with GCC 3.3.3 - better compatibility with Gentoo Linux - a few general 64

[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 do

[LARTC] TCng && (wrr || esfq) ?

2003-12-08 Thread Artūras Šlajus
Anyone have acomplished this? tcc just gives syntax error :( -- pagarbiai, ArtÅras Å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:

[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 |   

[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 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

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 tc

[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

[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 $condi

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 gcc-3.0

[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 --with-manua

[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 re

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"

[LARTC] tcng newie

2003-10-27 Thread MC
Hi everyone!!! This is my first post here... I have a problem and I'd like to know if someone here could help me. I kinda new to traffic control. I have practically no idea about it. I'm trying to learn about it now. I want to use htb to priorize some kinds of packets. I copied some scpripts from

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 t

[LARTC] TCNG building problems...help

2003-09-12 Thread aj
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 to why this is happening ?   Thanks in advance   =- - - - - make[3]: Entering di

[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 `/var

[LARTC] tcng version 9f

2003-06-18 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 l

[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 rea

[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 whic

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 > mess

[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. _

[LARTC] [tcng] ip-range

2003-03-16 Thread Jacob Teplitsky
> Message: 10 > Date: Sat, 15 Mar 2003 01:28:01 +0200 > From: raptor <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [LARTC] [tcng] ip-range > > Is there a way in tcng to specify range instead a list of addresses, what I mean > instead : > > drop

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

[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 - 192.1

[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] 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 t

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

2003-03-06 Thread raptor
s.. Jacob 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 {

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 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 Inte

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 s

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

2003-03-03 Thread Werner Almesberger
Whoops, haven't checked LARTC in a while ... raptor wrote: > what is the difference between : > > police(), bucket(...) and SLB(..)/DLB() and friends ?! "police" refers to the policing component of the traffic control subsystem in the kernel. "bucket" (with the "conform" and "count" operato

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 fri

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))

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

2003-02-28 Thread Stef Coene
On Friday 28 February 2003 23:40, raptor wrote: > what is the difference between : > > police(), bucket(...) and SLB(..)/DLB() and friends ?! Can you be more specific? Stef -- [EMAIL PROTECTED] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net __

[LARTC] [tcng] the difference ?!

2003-02-28 Thread raptor
what is the difference between : police(), bucket(...) and SLB(..)/DLB() and friends ?! thanx ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[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 150

[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);

  1   2   >