[LARTC] Re: iproute 2010-2011 - tree problem (udp, quid, action police + action mirred)

2011-05-03 Thread Stephen Hemminger
On Tue, 22 Feb 2011 11:15:39 +0100 PIOTREK H. komare...@tlen.pl wrote: Welcome I have a problem with the new iproute iproute2-2.6.37.tar.bz2 07-Jan-2011 9:18 (the problem from version 2010 to 2011). Three problems: a) with filters for UDP traffic problem affects only the queuing traffic

[LARTC] [ANNOUNCE] iproute2-2.6.24-rc7

2008-02-05 Thread Stephen Hemminger
to use upper bound value. Patrick McHardy (1): iproute 2.6.23 incompatibility Pavel Emelyanov (1): iplink_parse() routine Stephen Hemminger 2.6.24-rc3 headers Fix off by one in nested attribute management. Fix dotted quad for bit order veth: use kernel header file

Re: [LARTC] doubt about bridge qdisc

2007-09-18 Thread Stephen Hemminger
there is no qdisc involved. -- Stephen Hemminger [EMAIL PROTECTED] ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] make tc stop!

2007-09-14 Thread Stephen Hemminger
On Fri, 14 Sep 2007 15:06:04 +0100 Jonathan Gazeley [EMAIL PROTECTED] wrote: I want to stop shaping from running on my box, without rebooting it. What's the best way to get rid of any tc rules? I have tried tc qdisc del dev eth0 root which appeared to be successful but traffic through my

[LARTC] Re: iproute2 2.6.22-070710 , mp_ematch.y:11: unrecognized: %error-verbose , ...

2007-07-11 Thread Stephen Hemminger
On Wed, 11 Jul 2007 20:38:43 -0700 (PDT) Mr. James W. Laferriere [EMAIL PROTECTED] wrote: Hello Stephen ( All) , Maybe next build of the tarball one could tar up the base directory name as well . ie: iproute2-2.6.22-070710/ . The error below while being (quite probably) manually

[LARTC] [ANNOUNCE] iproute2 2.6.22-070710

2007-07-10 Thread Stephen Hemminger
IPv6 tunnels endpoints nicely. Mike Frysinger (1): ip/routef lifesaver Patrick McHardy (1): Fwd: Re: more iproute2 issues (not critical) Pavel Roskin (1): ip: add support for displaying link types 802 and 803 Stephen Hemminger (11): Revert Increase internal clock resolution

Re: [LARTC] Re: vlan interfaces and tc

2007-06-11 Thread Stephen Hemminger
compiled into it. I'm using clean patched gentoo here. Doing traffic control on vlan's may work as expected because the vlan pseudo-device does not have any transmit queue. -- Stephen Hemminger [EMAIL PROTECTED] ___ LARTC mailing list LARTC

Re: [LARTC] Interesting article about punching holes in firewalls...

2006-12-21 Thread Stephen Hemminger
thing. You should be able to block it with netfilter connection tracking. -- Stephen Hemminger [EMAIL PROTECTED] ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[LARTC] [announce] iproute2 2.6.19-061214

2006-12-14 Thread Stephen Hemminger
support for routing rule fwmark masks Stephen Hemminger: Man page for ss submitted by Alex Wirt Typo in man page Trap possible overflow in usec values to netem genl Makefile LDFLAGS SA and SP in IPSec BEET mode. Route metrics decode bug. lnstat man page

Re: [LARTC] Strategy for penalising IPs with too many simultaneous sessions

2006-11-03 Thread Stephen Hemminger
On Sat, 04 Nov 2006 02:09:03 +0200 Graham Leggett [EMAIL PROTECTED] wrote: Hi all, I have been trying to investigate traffic shaping in an effort to solve the unfriendly network apps problem on a test network. I have a basis by which I'd like to shape traffic, but studying the howto

Re: [LARTC] Ethernet packet loss - frame errors

2006-11-01 Thread Stephen Hemminger
On Sat, 14 Oct 2006 15:18:32 +0200 Justin Schoeman [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: On Fri, 13 Oct 2006 10:26:14 +0200 Justin Schoeman [EMAIL PROTECTED] wrote: Hi all, I have the following problem. A Linux box configured as a bridge. One interface connects

Re: [LARTC] Ethernet packet loss - frame errors

2006-11-01 Thread Stephen Hemminger
On Mon, 16 Oct 2006 16:09:50 +0200 Justin Schoeman [EMAIL PROTECTED] wrote: OK - Just finished more testing, and it seems to be a bug in the sky2 driver... ping -s 1450 -f xxx.xxx.xxx.xxx works perfectly, but ping -s 1500 -f xxx.xxx.xxx.xxx fails 100% with all packets being logged

Re: [LARTC] Ethernet packet loss - frame errors

2006-10-13 Thread Stephen Hemminger
On Fri, 13 Oct 2006 10:26:14 +0200 Justin Schoeman [EMAIL PROTECTED] wrote: Hi all, I have the following problem. A Linux box configured as a bridge. One interface connects to the router via a crossover cable, the other connects to a switch via the cable that used to go to the router.

Re: [LARTC] [ANNOUNCE] iproute2-2.6.18-061002

2006-10-04 Thread Stephen Hemminger
On Wed, 04 Oct 2006 23:34:24 +0200 Carl-Daniel Hailfinger [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: This is a much delayed update to the iproute2 command set. It can be downloaded from: http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.18-061002.tar.gz Thanks

[LARTC] [ANNOUNCE] iproute2-2.6.18-061002

2006-10-02 Thread Stephen Hemminger
This is a much delayed update to the iproute2 command set. It can be downloaded from: http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.18-061002.tar.gz Repository: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git For more info on iproute2 see:

Re: [LARTC] multiple IFBs

2006-09-01 Thread Stephen Hemminger
probably looking at needing about 20 on this project. Read the source Leigh modprobe ifb numifbs=20 -- Stephen Hemminger [EMAIL PROTECTED] ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo

[LARTC] [PATCH 0/6] htb: cleanup

2006-08-02 Thread Stephen Hemminger
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger [EMAIL PROTECTED] And in the Packet there writ down that doome

[LARTC] [PATCH 5/6] htb: use hlist for hash lists.

2006-08-02 Thread Stephen Hemminger
Use hlist instead of list for the hash list. This saves space, and we can check for double delete better. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/sched/sch_htb.c | 49 +++-- 1 files changed, 27 insertions(+), 22 deletions(-) diff

[LARTC] [PATCH 6/6] htb: rbtree cleanup

2006-08-02 Thread Stephen Hemminger
Add code to initialize rb tree nodes, and check for double deletion. This is not a real fix, but I can make it trap sometimes and may be a bandaid for: http://bugzilla.kernel.org/show_bug.cgi?id=6681 Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/sched/sch_htb.c | 34

[LARTC] [PATCH 3/6] htb: if HTB_HYSTERIS cleanup

2006-08-02 Thread Stephen Hemminger
Change the conditional compilation around HTB_HYSTERSIS since code was splitting mid expression. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/sched/sch_htb.c | 27 +-- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/net/sched/sch_htb.c b

[LARTC] [PATCH 1/6] htb: remove broken debug code

2006-08-02 Thread Stephen Hemminger
The HTB network scheduler had debug code that wouldn't compile and confused and obfuscated the code, remove it. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/sched/sch_htb.c | 302 ++- 1 files changed, 34 insertions(+), 268 deletions

[LARTC] [PATCH 6/6] htb: rbtree cleanup

2006-08-02 Thread Stephen Hemminger
Add code to initialize rb tree nodes, and check for double deletion. This is not a real fix, but I can make it trap sometimes and may be a bandaid for: http://bugzilla.kernel.org/show_bug.cgi?id=6681 Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/sched/sch_htb.c | 34

[LARTC] HTB is buggy?

2006-07-28 Thread Stephen Hemminger
I believe there are some unresolved memory management issues with HTB. It looks like deleting the qdisc is causing some use after free or memory corruption problems. See: http://bugzilla.kernel.org/show_bug.cgi?id=6681 I don't use HTB so I have no idea if this a new or old problem.

Re: [LARTC] static linking of /usr/sbin/tc?

2006-07-26 Thread Stephen Hemminger
On Wed, 26 Jul 2006 19:25:00 +0200 Matthias Ferdinand [EMAIL PROTECTED] wrote: Hello, I am trying to revive an old linux server installation, which still has libc5. Sadly, most current software does not compile anymore on this system, including the tc utility. As with other tools

Re: [LARTC] how to debug RTNETLINK invalid argument?

2006-05-23 Thread Stephen Hemminger
the tc I am using is the standard tc, i didn't change anything about tc, only trying to use a new custom qdisc with it... i'm not sure honestly, theres no way to figure out why i'm getting the invalid argument? A common problem is that some distro's put tc in /sbin and other's in

Re: [LARTC] access control list equivalent on lunix

2006-05-18 Thread Stephen Hemminger
On Thu, 18 May 2006 04:03:33 +0530 Abhishek Misra [EMAIL PROTECTED] wrote: Hello, Please let me know if there is any thing equivalent to access control list for linux routers Iptables ___ LARTC mailing list LARTC@mailman.ds9a.nl

[LARTC] Re: [Netem] where i can find this netem patch?

2006-05-05 Thread Stephen Hemminger
On Fri, 05 May 2006 11:08:23 -0400 George Nychis [EMAIL PROTECTED] wrote: Hi, I need help finding this patch that Stephen made. He sent me a patch, but i do not think its related to the patch that solved this problem. I will include the patch he did forward to me at the bottom.

Re: [LARTC] how to change classful netem loss probability?

2006-04-28 Thread Stephen Hemminger
Loss was broken, patch sent. The following works now: # tc qdisc add dev eth1 root handle 1:0 netem loss 20% # tc qdisc add dev eth1 parent 1:1 handle 10: tbf \ rate 256kbit buffer 1600 limit 3000 # ping -f -c 1000 shell 1000 packets transmitted, 781 received, 21% packet loss, time 3214ms

[LARTC] Re: created new q_disc, inserted module, tc tells me unknown qdisc

2006-04-11 Thread Stephen Hemminger
On Mon, 10 Apr 2006 21:41:39 -0400 (EDT) George P Nychis [EMAIL PROTECTED] wrote: Hi, I am trying to install a proprietary qdisc made for research, it is not publically released yet, however its been used several times so i know it works. The files included are: q_xcp.c: static

Re: [LARTC] tc patched doesn't work with WFQ

2006-04-03 Thread Stephen Hemminger
On Mon, 03 Apr 2006 09:25:04 +0200 Julien Bisconti [EMAIL PROTECTED] wrote: gypsy wrote: Julien Bisconti wrote: Hi, I was searching for few days in this mailing list but I didn't find how to solve my tc problem. Feel free to ask me more details if you think there are relevant.

[LARTC] [ANNOUNCE] iproute2 2.6.16-060323

2006-03-23 Thread Stephen Hemminger
in tc sample Add sample divisor Alpt Add more rt_proto values Dale Sedivec Warn when using handle instead of classid with tc class Jean Tourrilhes Fix endless loop in netlink error handling Stephen Hemminger Change default lnstat count to 1 Update to 2.6.16 headers Add fake

[LARTC] Re: [iproute2] IPoIB link layer address bug

2006-03-21 Thread Stephen Hemminger
On Thu, 16 Mar 2006 17:24:41 -0500 (EST) James Lentini [EMAIL PROTECTED] wrote: The ip(8) command has a bug when dealing with IPoIB link layer addresses. Specifically it does not correctly handle the addition of new entries in the neighbor/arp table. For example, this command will fail:

[LARTC] Re: [PATCH] TC: bug fixes to the sample clause

2006-03-13 Thread Stephen Hemminger
On Mon, 13 Mar 2006 18:55:35 +0100 Patrick McHardy [EMAIL PROTECTED] wrote: jamal wrote: On Mon, 2006-13-03 at 14:44 +1000, Russell Stuart wrote: You are wrong on both counts. I am wrong on why it is being rejected - but what you are seeing is worse than i thought initially.

[LARTC] Re: [PATCH] TC: bug fixes to the sample clause

2006-03-13 Thread Stephen Hemminger
On Tue, 14 Mar 2006 07:43:57 +1000 Russell Stuart [EMAIL PROTECTED] wrote: On Mon, 2006-03-13 at 10:04 -0800, Stephen Hemminger wrote: The memset fix is in current CVS. I just wasn't going to take the patch that looked at utsname to decide what hash to use. Stephen, could you describe

Re: [LARTC] Patch to allow for the ATM cell tax

2006-03-02 Thread Stephen Hemminger
On Fri, 03 Mar 2006 08:18:52 +1000 Russell Stuart [EMAIL PROTECTED] wrote: On Thu, 2006-03-02 at 14:51 +0100, Markus Schulz wrote: Why you don't use the existing overhead parameter? It's useless to have two parameters which do the exact same thing (existing overhead and your atm).

Re: [LARTC] LARTC wiki site?

2005-12-07 Thread Stephen Hemminger
On Wed, 07 Dec 2005 16:38:11 +0100 Sophana Kok [EMAIL PROTECTED] wrote: Hi What about a wiki site on the lartc.org website? Or a faq manager? There are a lot of applications that should be out of the lartc document and that can be in a wiki. Or add to existing wiki at

Re: [LARTC] Pfifo_fast Unknown qdisc and asking for basic design advice

2005-11-21 Thread Stephen Hemminger
On Fri, 11 Nov 2005 09:50:03 - Mark Lidstone [EMAIL PROTECTED] wrote: Hi all, I've done a search through the archives but I can't find a cause/solution to this. I'm running a FC4 box with the stock 2.6.12 kernel and a FC2 box with a stock 2.6.9 kernel. I'm obviously using iproute2

Re: [LARTC] HTB classid problem

2005-11-21 Thread Stephen Hemminger
On Mon, 21 Nov 2005 16:22:17 -0800 (PST) weihua zhang [EMAIL PROTECTED] wrote: Hey, everyone, I am kindda newbie to this subject, so I just post my problem directly, please let me know if anything is wrong. in my config file when I use tc class add dev eth1 parent 1:11 classid

[LARTC] Re: [ANNOUNCE] iproute2 version (050929)

2005-10-12 Thread Stephen Hemminger
On Mon, 10 Oct 2005 20:31:31 -0400 jamal [EMAIL PROTECTED] wrote: On Mon, 2005-10-10 at 16:16 -0700, Stephen Hemminger wrote: Look like the -batch code that keeps the RTNL handle open was breaking this. The patch shows the general idea, but it still has problems because I think it would

[LARTC] Re: [ANNOUNCE] iproute2 version (050929)

2005-10-10 Thread Stephen Hemminger
On Mon, 10 Oct 2005 12:34:51 +0200 (CEST) Krzysztof Oledzki [EMAIL PROTECTED] wrote: On Wed, 5 Oct 2005, Stephen Hemminger wrote: On Sat, 1 Oct 2005 23:34:25 +0200 (CEST) Krzysztof Oledzki [EMAIL PROTECTED] wrote: On Fri, 30 Sep 2005, Stephen Hemminger wrote

[LARTC] Re: [ANNOUNCE] iproute2 version (050929)

2005-10-10 Thread Stephen Hemminger
the RTNL handle open was breaking this. The patch shows the general idea, but it still has problems because I think it would still not work if used in -batch situation. -- Stephen Hemminger [EMAIL PROTECTED] OSDL http://developer.osdl.org/~shemminger

[LARTC] [ANNOUNCE] iproute2 (051007)

2005-10-07 Thread Stephen Hemminger
Fix one serious bug (in libnetlink), and a couple of other minor patches. http://developer.osdl.org/dev/iproute2/download/iproute2-051007.tar.gz Stephen Hemminger Reenable ip mroute Mike Frysinger Handle pfifo_fast that has no qopt without segfaulting Mads Martin Joergensen

Re: [LARTC] iproute2-050929 ERORR compiling

2005-10-05 Thread Stephen Hemminger
On 05 Oct 2005 09:47:43 +0200 Krzysiek [EMAIL PROTECTED] wrote: There are two different problems. The first is arpd needs the dbm library (usually dbm-devel on most distros). Or you can just ignore the problem if you don't run arpd The second is problems with building the new ematch

[LARTC] Re: [ANNOUNCE] iproute2 version (050929)

2005-10-05 Thread Stephen Hemminger
On Sat, 1 Oct 2005 23:34:25 +0200 (CEST) Krzysztof Oledzki [EMAIL PROTECTED] wrote: On Fri, 30 Sep 2005, Stephen Hemminger wrote: There is an new minor update to iproute2 utilities available: http://developer.osdl.org/dev/iproute2/download/iproute2-050929.tar.gz It hangs on ip

Re: [LARTC] HOWTO unmaintained?

2005-10-05 Thread Stephen Hemminger
On Wed, 05 Oct 2005 16:18:24 -0700 noc ops [EMAIL PROTECTED] wrote: Does anyone know where we stand with lartc howto? regards, /virendra Stephen Hemminger wrote: The new wiki http://linux-net.osdl.org is available and you are welcome to put

Re: [LARTC] iproute2-050929 ERORR compiling

2005-10-04 Thread Stephen Hemminger
There are two different problems. The first is arpd needs the dbm library (usually dbm-devel on most distros). Or you can just ignore the problem if you don't run arpd The second is problems with building the new ematch grammar stuff. I don't have an easy fix for this, but you could try a newer

Re: [LARTC] ip address delete bug?

2005-10-04 Thread Stephen Hemminger
Current versions of iproute2 display the following: Warning: Executing wildcard deletion to stay compatible with old scripts. Explicitly specify the prefix length (192.168.a.b/32) to avoid this warning. This special behaviour is likely to disappear in further releases,

[LARTC] [ANNOUNCE] iproute2 version (050929)

2005-09-30 Thread Stephen Hemminger
There is an new minor update to iproute2 utilities available: http://developer.osdl.org/dev/iproute2/download/iproute2-050929.tar.gz Also, this (and future) releases are now signed, for key info read: http://developer.osdl.org/dev/iproute2/signature.html [Stephen Hemminger

Re: [LARTC] HOWTO unmaintained?

2005-08-19 Thread Stephen Hemminger
On Thu, 18 Aug 2005 14:00:30 +0100 Ed W [EMAIL PROTECTED] wrote: I wonder if someone would host a mediawiki and consider uploading the documentation there. This would make it easier for people to contribute, and I think it shold be fairly easy to convert from it's current format to a

Re: [LARTC] HOWTO unmaintained?

2005-08-17 Thread Stephen Hemminger
On Wed, 17 Aug 2005 12:28:10 +0100 Ed W [EMAIL PROTECTED] wrote: I guess the obvious question then is: How do we get it maintained? Does anyone know where the current maintainers have disappeared? Is anyone willing to take over that job? I wonder if someone would host a

[LARTC] [ANNOUNCE] iproute2 util update

2005-08-16 Thread Stephen Hemminger
http://developer.osdl.org/dev/iproute2/download/iproute2-050816.tar.gz Update to iproute2 to include: * Limit ip neigh flush to 10 rounds * tc ematch support (thomas) * build cleanups (thomas, et al) * Fix for options process with ipt (jamal) * Fix array

Re: [LARTC] Latency of Linux Bridge

2005-07-22 Thread Stephen Hemminger
On Fri, 22 Jul 2005 09:55:25 +0200 Christian Konecny (VI/SEA) [EMAIL PROTECTED] wrote: Hi there! I am working a lot with VoIP in my company, so I thought to use linux bridge functionality together with tc to emulate delay, jitter, packet loss, duplication, reordering etc. for testing

Re: [LARTC] linux bridging problem: how to emulate 2 separate interfaces on a single one?

2005-07-01 Thread Stephen Hemminger
On Fri, 01 Jul 2005 11:59:08 +0200 Antonio Pinizzotto [EMAIL PROTECTED] wrote: Hi all. I would need to use a single physical interface on a Linux box to manage two different IP addresses (belonging to two separate logical subnets) with two different MAC address. (I need to emulate te

[LARTC] Re: [PATCH] Support module autoloading in iproute2

2005-06-07 Thread Stephen Hemminger
Okay, I added the same effective hook but using if_nametoindex() and without the vanity comment. ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[LARTC] [ANNOUNCE] iproute2-ss050607

2005-06-07 Thread Stephen Hemminger
Small update to iproute2, I have been waiting to get a CVS conversion completed and working on other things so changes are small. http://developer.osdl.org/dev/iproute2/download/iproute2-ss050607.tar.gz Stephen Hemminger * Fix 'ip link' map to handle case where device gets autoloaded

[LARTC] Re: [PATCH] Support module autoloading in iproute2

2005-06-02 Thread Stephen Hemminger
Use module aliases and the kernel will do the autoloading. Most distros add something like: alias eth0 e100 to /etc/modprobe.conf ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] compile error while patching iproute2 with esfq

2005-05-27 Thread Stephen Hemminger
Does anybody know what this mean? Yeah, I know what it means. You need to make the rtnetlink.h file that is included from the build (usually include/linux/rnetlink.h) include the esfq stuff. ___ LARTC mailing list LARTC@mailman.ds9a.nl

[LARTC] Qdisc requeue should be void?

2005-05-13 Thread Stephen Hemminger
There is an design problem with the qdisc interface that causes qlen related bugs in netem, tbf, and other qdisc's that peek at the top of the queue. The problem is that requeue needs to be called from the dequeue function but requeue can fail. If requeue fails, then the calling qdisc can not

Re: [LARTC] pfifo_fast error message

2005-05-10 Thread Stephen Hemminger
gypsy wrote: Victor Yeo wrote: the problem is after i delete the qdisc, and check again, there is nothing being displayed. Is this correct? #tc qdisc del root dev eth0 #tc qdisc show dev eth0 tc qdisc show dev eth0 returns: qdisc pfifo_fast 0: bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1

Re: [LARTC] How to read the TCP congestion window (cwnd) on Linux?

2005-05-04 Thread Stephen Hemminger
incompatible pointer type make[2]: *** [/home/ssuciu/tcpprobe/tcpprobe.o] Error 1 make[1]: *** [_module_/home/ssuciu/tcpprobe] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.8-24' Cheers, Sorin --- Stephen Hemminger [EMAIL PROTECTED] wrote: On Mon, 02 May 2005 19:22:17 +0200

[LARTC] Re: [Netem] using tc as a function call

2005-05-03 Thread Stephen Hemminger
On Mon, 2 May 2005 19:37:42 -0700 (PDT) js si [EMAIL PROTECTED] wrote: i wrote a C++ program that executes tc using the std::system call. this fairly reduces the performance if many tc calls are required. i want to be able to rename tc's main function to tc_main and pass argv and argc. has

Re: [LARTC] LOADBALANCING+BRIDGING---is it possible on the same machine??

2005-05-03 Thread Stephen Hemminger
On Thu, 14 Apr 2005 20:16:55 +0100 (BST) KartheeK [EMAIL PROTECTED] wrote: Hello All, I have a linux box running with three NIC's, I have used brctl tool to configure this box as a bridge, i have given it ONE logical ipaddres, Every thing is working fine, but now i am required to

Re: [LARTC] How to read the TCP congestion window (cwnd) on Linux?

2005-05-03 Thread Stephen Hemminger
On Mon, 02 May 2005 19:22:17 +0200 Antonio Pinizzotto [EMAIL PROTECTED] wrote: Hi everybody. Do you know about any way to read the TCP cwnd value (congestion window) on Linux? I have read that on Linux it is not possible to enable a socket option (to read to cwnd using the program

Re: [LARTC] [ANNOUNCE] ESFQ for Linux 2.6.12-rc1

2005-04-06 Thread Stephen Hemminger
On Wed, 06 Apr 2005 09:22:13 +0100 Andy Furniss [EMAIL PROTECTED] wrote: Corey Hickey wrote: http://fatooh.org/esfq-2.6/ http://fatooh.org/esfq-2.6/esfq-2.6.12-rc1.tar.gz This version no longer interferes with the original SFQ; unlike previous versions, you can still use an unpatched

[LARTC] Re: [Netem] netem with prio hangs on duplicate

2005-04-06 Thread Stephen Hemminger
Try this alternative, it changes where netem does the delaying and doesn't do queuing in the timer routine. It is stable for the basic tests, but I still consider it experimental and needs more testing. Patch against the version of sch_netem.c in 2.6.12-rc2 ---

[LARTC] Re: [Netem] netem with prio hangs on duplicate

2005-04-05 Thread Stephen Hemminger
On Wed, 30 Mar 2005 10:05:04 -0800 (PST) js si [EMAIL PROTECTED] wrote: hi i tried the example given on the examples page to duplicate selected traffic like tc qdisc add dev eth0 root handle 1: prio tc qdisc add dev eth0 parent 1:3 handle 3: netem duplicate 40% tc filter add dev eth0

Re: [LARTC] netem with prio hangs on duplicate

2005-04-04 Thread Stephen Hemminger
On Wed, 30 Mar 2005 10:05:04 -0800 (PST) js si [EMAIL PROTECTED] wrote: hi i tried the example given on the examples page to duplicate selected traffic like tc qdisc add dev eth0 root handle 1: prio tc qdisc add dev eth0 parent 1:3 handle 3: netem duplicate 40% tc filter add dev eth0

Re: [Netem] Re: [LARTC] netem with prio hangs on duplicate

2005-04-04 Thread Stephen Hemminger
On Mon, 4 Apr 2005 11:00:36 -0700 Stephen Hemminger [EMAIL PROTECTED] wrote: On Wed, 30 Mar 2005 10:05:04 -0800 (PST) js si [EMAIL PROTECTED] wrote: hi i tried the example given on the examples page to duplicate selected traffic like tc qdisc add dev eth0 root handle 1: prio

[LARTC] [ANNOUNCE] iproute2 2.6.11-050330

2005-04-03 Thread Stephen Hemminger
. [Stephen Hemminger] * include/linux/netfilter_ipv4/ip_tables.h dont include compiler.h because it isn't needed and not on all systems * Update rtnetlink.h and pkt_cls.h to be stripped versions of headers from 2.6.12-rc1 * switch to stack for netem

Re: [LARTC] lartc on bridge, help

2005-02-18 Thread Stephen Hemminger
On Fri, 18 Feb 2005 18:05:22 +0100 hiphin [EMAIL PROTECTED] wrote: I'm new on this mailing list, reading it for last 4 weeks, ... Need help please... I want to implement tc rules on br0 witch is build of wlan0, wlan0wds0, br0 is only used for local traffic, not bridged traffic and doesn't

Re: [LARTC] IPROUTE2: How to verify installation?

2005-02-18 Thread Stephen Hemminger
On Fri, 18 Feb 2005 00:26:47 + Andy Furniss [EMAIL PROTECTED] wrote: Samuel Díaz García wrote: Hi guys, I download and install the last iproute2 package. I done: 1) ./configure 2) make 3) make install When I do ip -V, it return: ip utility,

[LARTC] [ANNOUNCE] iproute2 - 2.6.10-050207

2005-02-07 Thread Stephen Hemminger
] Don't mix address families when flushing [Jean-Marc Ranger] Need to call getline() with null for first usage Don't overwrite const arg [Stephen Hemminger] Add experimental distribution Validate classid is not too large to cause loss of bits

Re: [LARTC] Issue with using using tc api

2005-02-03 Thread Stephen Hemminger
On Thu, 03 Feb 2005 11:43:40 +0800 sanjeev ravindran [EMAIL PROTECTED] wrote: Thank you so much for ur response Stephen, Ya, I found that dlopen tries to load q_htb.so.. and it fails.. I tried to locate q_htb.so in my rh9 machiene.. but i couldnt locate it.. Could you let me know how build

Re: [LARTC] doubts: cross compiling iproute2

2005-02-02 Thread Stephen Hemminger
On Wed, 2 Feb 2005 09:48:02 -0800 (PST) js si [EMAIL PROTECTED] wrote: i tried to cross compile iproute2 on a linux machine using a cross compiler for ppc750. i have some questions: 1) make tries to execute tc/normal, tc/paretonormal, tc/pareto to make distribution files like

Re: [LARTC] Issue with using using tc api

2005-02-02 Thread Stephen Hemminger
On Thu, 03 Feb 2005 00:42:52 +0800 sanjeev ravindran [EMAIL PROTECTED] wrote: Hi , I'm trying to call the tc_qdisc_modify function of tc in iproute2/tc. I could compile it with my stub program and got the executable. However, when i try to create an htb qdisc i get the following error :

Re: [LARTC] network emulation

2005-01-24 Thread Stephen Hemminger
://mail.yahoo.com -- Stephen Hemminger [EMAIL PROTECTED] ___ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] [ANNOUNCE] iproute2 (050124) release

2005-01-24 Thread Stephen Hemminger
rtattr_parse cleanups [Jamal Hadi Salim] typo in m_mirred add support for pedit [Jim Gifford] Fix allocation size error in nomal and paretonormal generation programs. -- Stephen Hemminger [EMAIL PROTECTED] ___ LARTC

Re: [LARTC] tc class ls dev (device) ... segfault.

2005-01-13 Thread Stephen Hemminger
On Thu, 13 Jan 2005 16:17:21 +0100 (CET) [EMAIL PROTECTED] wrote: Hello. I have got strange problem with tc utility (iproute2-ss001007) on linux 2.4.18. No matter what rules i am going to test, the resul of 'tc class ls/show' is always the same : ATSLite ()# tc -s class ls dev eth1

[LARTC] Test version of iproute2

2005-01-12 Thread Stephen Hemminger
update to iproute2 xfrm for ipv6 [Stephen Hemminger] fix compile warnings when building 64bit system don't include asm/byteorder.h warning about ip route nat no longer supported [Catalin(ux aka Dino) BOIE] fwmark in u32 filters [Andi

Re: [LARTC] [PATCH] mark in u32

2005-01-05 Thread Stephen Hemminger
On Wed, 05 Jan 2005 14:59:44 + Andy Furniss [EMAIL PROTECTED] wrote: Catalin(ux aka Dino) BOIE wrote: Hello, Stephen, List! Attached is the patch for iproute2 to add the possibility to use fwmark in u32 filters. The kernel part was included in 2.6.10. Please apply! Thank

Re: [LARTC] simulate

2004-11-03 Thread Stephen Hemminger
On Wed, 03 Nov 2004 18:22:43 -0300 Patricio Bruna V. [EMAIL PROTECTED] wrote: are any tool, script, software, that let me simulate network traffic, like trasmit for 2 hours at 100Mbs? packet generator (see Documentation/networking/pktgen.txt) ___

[LARTC] Re: [ANNOUNCE] iproute2 2.6.9-041019

2004-10-20 Thread Stephen Hemminger
Try this, ss was dragging in byteorder.h and it didn't need to. diff -Nru a/misc/ss.c b/misc/ss.c --- a/misc/ss.c 2004-10-20 09:13:56 -07:00 +++ b/misc/ss.c 2004-10-20 09:13:56 -07:00 @@ -33,7 +33,6 @@ #include libnetlink.h #include SNAPSHOT.h -#include asm/byteorder.h #include linux/tcp.h

[LARTC] Re: [ANNOUNCE] iproute2 2.6.9-041019

2004-10-20 Thread Stephen Hemminger
Similar problem to ss in iptunnel. It was including asm/byteorder.h a kernel header that it didn't need to. diff -Nru a/ip/iptunnel.c b/ip/iptunnel.c --- a/ip/iptunnel.c 2004-10-20 09:18:36 -07:00 +++ b/ip/iptunnel.c 2004-10-20 09:18:36 -07:00 @@ -26,7 +26,6 @@ #include netinet/in.h

Re: [LARTC] iproute2-2.6.9-041019 compiling error

2004-10-20 Thread Stephen Hemminger
This should fix it. diff -Nru a/ip/xfrm.h b/ip/xfrm.h --- a/ip/xfrm.h 2004-10-20 16:40:09 -07:00 +++ b/ip/xfrm.h 2004-10-20 16:40:09 -07:00 @@ -28,7 +28,10 @@ #include stdio.h #include sys/socket.h #include linux/xfrm.h -#include utils.h + +#ifndef IPPROTO_SCTP +# define IPPROTO_SCTP 132

[LARTC] [ANNOUNCE] iproute2 2.6.9-041019

2004-10-19 Thread Stephen Hemminger
Now that 2.6.9 is final. Here is an update of the iproute2 utilities that contains all the patches in my queue. * lnstat to replace rtstat and ctstat (from Harald Welte) * latest xfrm related changes * several small typo's and build fixes for older systems

Re: [LARTC] Qdisc statistics project

2004-10-14 Thread Stephen Hemminger
Thomas Graf wrote: netlink errors Effort has gone into improving error codes/messages returned from netlink users in the kernel. The idea is currently on hold as all acceptable solutions would break APIs. Planned for 2.7 as of now. You probably need to come with another alternative since

Re: [LARTC] Delay packets by 50ms

2004-10-08 Thread Stephen Hemminger
On Fri, 2004-10-08 at 15:38 -0700, Anshuman Kanwar wrote: Hi all, I am trying to solve a tiny problem that is trivial to solve using dummynet (FreeBSD). I just want to add a delay of 50ms to each outgoing packet from an interface. This is to simulate a large pool of multiple modem users

Re: [LARTC] iproute2 tool compiling problems.

2004-09-24 Thread Stephen Hemminger
On Fri, 2004-09-24 at 09:11 +0200, Sergio Hormaetxe Gallego wrote: hi, when i put the iproute2 i only did the next: apt-get install iproute because in debian the name of the package is without the 2, and i didn´t have any problem to install it (other things...). only a question: are

Re: [LARTC] multiprocesor : bridge/router ?

2004-09-17 Thread Stephen Hemminger
On Fri, 17 Sep 2004 20:04:09 +0300 raptor [EMAIL PROTECTED] wrote: |On Fri, 17 Sep 2004 02:26:51 +0300 |raptor [EMAIL PROTECTED] wrote: | | hi, | | does someone tried bridge and or router functionality of linux kernel on | multiprocessor system. | Does multiprocessor system increase

Re: [LARTC] multiprocesor : bridge/router ?

2004-09-16 Thread Stephen Hemminger
On Fri, 17 Sep 2004 02:26:51 +0300 raptor [EMAIL PROTECTED] wrote: hi, does someone tried bridge and or router functionality of linux kernel on multiprocessor system. Does multiprocessor system increase network performance or give ability to process higher traffic.. What about highest

Re: [LARTC] netem usage example

2004-08-31 Thread Stephen Hemminger
On Tue, 31 Aug 2004 17:49:06 +0200 [EMAIL PROTECTED] wrote: I'm trying to setup a netem delay with no luck (using iproute2-2.6.8, compilation broke during arpd compile, so I use the tc binary in the tc/ subdir, there's also a q_netem.so there). Just take arpd out of the Makfile if you don't

[LARTC] [announce] iproute2 update

2004-07-30 Thread Stephen Hemminger
This version supports: * changes 'tc' for latest netem queuing discipline * additions to 'ip' to support xfrm * more robust configuration (works with older 2.4 systems) to detect xfrm, hfsc, htb, etc. The versioning scheme is to label the highest version of

Re: [LARTC] error: structure has no member named `rate'

2004-07-29 Thread Stephen Hemminger
On Thu, 29 Jul 2004 16:16:36 -0400 Tim Shepard [EMAIL PROTECTED] wrote: I want to take the functionality that I found sitting in linux-2.6.8-rc2/net/sched/sch_netem.c for a test drive but I found that the /sbin/tc that I have does not have the necessary knobs. So I grabbed

[LARTC] Re: Please document this

2004-07-23 Thread Stephen Hemminger
On Fri, 23 Jul 2004 07:06:45 -0700 gypsy [EMAIL PROTECTED] wrote: Stephen, This REALLY needs to be fixed in the code; tc should reject as a syntax error any add filter command that does not include a prio parameter. It also needs to be documented. === From LARTC mailing list === Dear

[LARTC] Re: [PATCH 2.6] update to network emulation QOS scheduler

2004-07-07 Thread Stephen Hemminger
Ok, I'll bite how would you do: Rate limit packet egress on a ethernet device (eth0) so it looks like a slow DSL link (25 Kbps) by not dropping packets but by pacing the data. ___ LARTC mailing list / [EMAIL PROTECTED]

[LARTC] Re: [PATCH 2.6] update to network emulation QOS scheduler

2004-07-07 Thread Stephen Hemminger
On 07 Jul 2004 14:57:48 -0400 jamal [EMAIL PROTECTED] wrote: I seem to have hit the jackpot - all my emails to netdev are showing up and on time too. On Wed, 2004-07-07 at 14:10, Stephen Hemminger wrote: Ok, I'll bite how would you do: Rate limit packet egress on a ethernet device

[LARTC] Re: [PATCH 2.6] update to network emulation QOS scheduler

2004-07-07 Thread Stephen Hemminger
On 07 Jul 2004 17:11:39 -0400 jamal [EMAIL PROTECTED] wrote: On Wed, 2004-07-07 at 16:58, Stephen Hemminger wrote: TBF works but since the sender (on the same local machine) may go over it's allocation, it will drop packets. As should any queue that gets congested. For example, if I

[LARTC] Re: [PATCH 2.6] update to network emulation QOS scheduler

2004-07-06 Thread Stephen Hemminger
On 02 Jul 2004 23:13:52 -0400 jamal [EMAIL PROTECTED] wrote: On Fri, 2004-07-02 at 16:44, Stephen Hemminger wrote: Here is an enhancement to netem to do allow emulating lower speed networks. The resolution is close, but obviously limited by the granularity of timers and size of packets

[LARTC] [ANNOUNCE] Another version of iproute2 snapshot version

2004-07-02 Thread Stephen Hemminger
Minor tweaks to yesterday's version: - ATM detection in configure is now by compiling not just looking for header. - TC command already supports extension via shared library, but changed the search from the usual LD_LIBRARY_PATH to /usr/lib/tc. Made

[LARTC] Re: [PATCH 2.6] update to network emulation QOS scheduler

2004-07-02 Thread Stephen Hemminger
net_random call. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] diff -Nru a/net/sched/sch_netem.c b/net/sched/sch_netem.c --- a/net/sched/sch_netem.c 2004-07-02 13:40:11 -07:00 +++ b/net/sched/sch_netem.c 2004-07-02 13:40:11 -07:00 @@ -18,6 +18,7 @@ #include linux/errno.h #include

  1   2   >