Re: [LARTC] Limiting speed of individual TCP sessions ?

2004-09-11 Thread Tobias Geiger
Hi, I can't imagine a clean tc-only solution, but look at the extra-patch-o-matic matches in iptables: from http://www.netfilter.org/patch-o-matic/pom-extra.html#pom-extra-connrate - Author: Nuutti Kotivuori [EMAIL PROTECTED] Status: Working, but received only minimal testing

Re: [LARTC] Where does the Bandwidth Management taking place after/beforerouting?

2003-01-08 Thread Tobias Geiger
AFAIK: local stuff: Application - IPTABLES (OUTPUT) - ROUTING - QDISC routing stuff: IPTABLES (PREROUTING/FORWARD) - ROUTING - IPTABLES-POSTROUTING - QDISC these iptables-chains do sometimes a little wired stuff, depending on the jump-target/Chain (especially PREROUTING/NAT/...) sometimes

Re: [LARTC] Depth-argument for sfq?

2003-01-06 Thread Tobias Geiger
Steen Suder, privat wrote: I'm not a programmer per se (including C), but... I'd like to be able to give the define in sch_sfq.c (of, say, 2.4.20), SFS_DEPTH other values than 128 as an argument on the tc commandline. It could be powers of two up to 2^7 (128) as it seems that 128 is the

Re: [LARTC] An example of prio qdisc please...

2002-09-25 Thread Tobias Geiger
correct me if im wrong, but couldn't u achieve the same goal only with htb? i mean by creating a leave-level with classes rate=1bps, ceil=maxbw, prio 0-6 and attaching sfq/pfifo as leave-qdiscs to these classes? s.th. like: tc qdisc root handle 1:0 htb tc class parent 1:0 handle 1:1 rate

Re: [LARTC] pfifo_fast dosnt work?

2002-09-25 Thread Tobias Geiger
hi, just like Steve said in the previous mail, prioband is ok but it doesn't make sure that your bandwith is consumed by one service (even if it's in a lower class than interactive stuff) because it doesn't reserve bandwidth for its priomaps. to achieve what u want i suggest using htb (see

Re: [LARTC] u32 filter question

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

Re: *****SPAM***** [LARTC] the range of HTB's prio

2002-09-17 Thread Tobias Geiger
HTB Prios are 0-6 by default (htb 3.6), but afaik u can increase this number at compile-time. btw: is it true that you're a Spamware site or vendor? at least my Spam-Assasin (which consults 2 rbl-hosts...) declares you as such... SPAM: Start SpamAssassin results

Re: [LARTC] reset /proc/net/dev

2002-09-12 Thread Tobias Geiger
Hi, perhaps the only way (although untested) may be to ip link set interface down and to rmmod according-kernel-module which is in my opinion impractible :) much nicer and easier: create a simple rule matching everything incoming/outgoing your desired device and insert it in the

Re: [LARTC] delete files

2002-09-12 Thread Tobias Geiger
Hi, this is a little bit OT, so please ask such questions in irc-channels or other forums please. a quick apt-cache show wipe (on woody) brings up this: Package: wipe Priority: extra Section: utils Installed-Size: 124 Maintainer: Thomas Schoepf [EMAIL PROTECTED] Architecture: i386 Version:

Re: [LARTC] htb3 imq

2002-08-12 Thread Tobias Geiger
Arindam Haldar wrote: hi Alex, thanx so much.. :) .. thanx to all my IMQ htb3 test rules are working ok.. the best part-- imq handling both in out traffic now.. :) I also had this setup, and i also thought of it as a cool thing :) but then Patrick told me, that it's not so clever: the

Re: [LARTC] failover problems

2002-07-24 Thread Tobias Geiger
Hello, On Tue, 23 Jul 2002, Tobias Geiger wrote: to be precisly: the problem is i have several nexthops (e.g. ppp0 +eth1 +eth2) for the same route and this WHOLE Route is deleted, although only the ppp0-device dissapears... and i cannot add several entries in different tables

Re: [LARTC] tcng questions ?

2002-07-15 Thread Tobias Geiger
Hi Jacob, please can you post the htb tcng patch to LARTC list ? [EMAIL PROTECTED] would test it in real environment ... I'd like to test tcng with htb, to :) Greetings Tobias ___ LARTC mailing list / [EMAIL PROTECTED]

Re: [LARTC] Is it possible to measure / graph the bandwidth used for individual IP sessions to an FTP server?

2002-07-01 Thread Tobias Geiger
Hi. Hm. accounting each ftp-session separately sounds impossible (for me :), but with ipac (-ng) @sourceforge.net it's possible to feed mrtg.So you can at least measure and graph the TOTAL ammount of (ftp-)traffic to/from your ftp-server. to measure and graph each ftp-session seperately u can

Re: [LARTC] Shaping and accounting

2002-05-31 Thread Tobias Geiger
Hi. yes afaik you're right: the ipac (for 2.2) and ipac-ng (vor 2.4) just insert iptables-rules in INPUT/OUTPUT/FORWARD, and so they don't see the droped/delayed-because-of-shaping packets.. the only solution i know is ugly and/or unpractiable: read the interface-stats from /proc/net/dev. but

Re: [LARTC] Some questions concerning IPtables ( IMQ/SFQ)

2002-05-03 Thread Tobias Geiger
On Fri, May 03, 2002 at 04:50:18PM +0200, Nils Lichtenfeld wrote: Hi there! Hi Nils Some questions I couldn't find an answer for: IPtables: - Is it possible to filter those ACK-packets (to eleminate problems with ADSL-connections) with IPtables? It wasn't possible with IPchains, so u32

Re: [LARTC] howto spare the tc filter - lines with htb

2002-04-29 Thread Tobias Geiger
On Mon, Apr 29, 2002 at 04:59:33PM +0200, Patrick McHardy wrote: Hi :) Tobias Geiger wrote: Hi, recently Martin explained, how to avoid these tc filter lines in our scripts. unfortunatly it doesn't work with my setup. i add a dummy tc filter - line: tc filter add dev imq1 parent 10

Re: [LARTC] Sharing incoming traffic

2002-03-21 Thread Tobias Geiger
the wondershaper by one of the authors of the LARTC-HOWTO: http://lartc.org/HOWTO//cvs/2.4routing/output/2.4routing-15.html at the very end of this html-page simply copy/paste the ingress-line and the next line which is the u32 filter for the ingress-qdisc. that worked perfect for me :)