Re: [LARTC] doubt about esfq

2008-01-31 Thread Corey Hickey
Salatiel Filho wrote: > In esfq README i have: > > Depth sets the number of slots. If the number of active flows is greater >than the number of slots, flows will end up sharing slots and ESFQ will no >longer be fair. If you anticipate more than 128 concurrently active flows, >you shoul

Re: [LARTC] Bridging two subnets selectively using routing

2007-11-02 Thread Corey Hickey
Grant Taylor wrote: > On 11/02/07 15:24, Corey Hickey wrote: >> 1. Check /proc/sys/net/ipv4/ip_forward on box A1 to see if it's >> configured to route at all. >> >> 2. The hosts on network A will receive packets from miscellaneous IP >> addresses in B'

Re: [LARTC] Bridging two subnets selectively using routing

2007-11-02 Thread Corey Hickey
Joshua Kwan wrote: > Hi LARTC, > > I have two networks that I manage, A and B. They both have their own > primary gateways for hosts on the network, let's call them AR and BR. > There is another box, A1, which lives on network A but also has a wire > connecting it to a switch on network B. My goa

Re: [LARTC] Fair que between 255 users

2007-10-30 Thread Corey Hickey
Jens Thiele wrote: > ESFQ might help. Using google: > http://fatooh.org/esfq-2.6/ > > Note: > Corey Hickey is working on getting some ESFQ features into kernel > mainline SFQ: > Search for "SFQ: backport some features from ESFQ (try 5)" on netdev ml. Y

Re: [LARTC] How to see the sfq hash table ?

2007-08-22 Thread Corey Hickey
Andy Furniss wrote: David Boreham wrote: I'm grappling with a problem that looks like sfq is not working (packets don't get fairly queued, they appear to be always sent FIFO). My configuration appears to be correct. The machine is running quite an old kernel and if I could convince myself that t

Re: [LARTC] ESFQ: request for user input

2007-06-24 Thread Corey Hickey
Patrick McHardy wrote: > Corey Hickey wrote: >> Patrick McHardy wrote: >>>> Should ESFQ be merged into SFQ or remain as a separate qdisc? >>>> >>> I've CCed netdev. I think merging parts of ESFQ (dynamic depth and >>> flow number

Re: [LARTC] ESFQ: request for user input

2007-06-24 Thread Corey Hickey
Patrick McHardy wrote: > Corey Hickey wrote: >> Hello, >> >> I haven't been keeping up with sending ESFQ [ANNOUNCE] messages to this >> list, but I've still been working on the patch. If you're curious about >> recent changes, take a look at

[LARTC] ESFQ: request for user input

2007-06-24 Thread Corey Hickey
Hello, I haven't been keeping up with sending ESFQ [ANNOUNCE] messages to this list, but I've still been working on the patch. If you're curious about recent changes, take a look at the home page, ChangeLog, and README: http://fatooh.org/esfq-2.6/ http://fatooh.org/esfq-2.6/current/ChangeLog http

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

Re: [LARTC] Massive filtering

2007-05-12 Thread Corey Hickey
ericr wrote: > I am trying to build a trafic control rule set for a huge NATed > network, and I have it working for single known addresses but I need > to scale it to 16M potential client addresses. I'm using iptables > for NAT. Incoming traffic is simple because I can match destination > address

Re: [LARTC] Router dropping packets?

2007-03-05 Thread Corey Hickey
John Philips wrote: > Hey guys, > > I have several Linux routers in place at high-usage > locations (student apartment complexes). I'm having > trouble with some of the routers which use 6Mbit DSL > lines as their Internet feed. The routers use PPPoE > and perform NAT. > > During peak usage per

Re: [LARTC] Is ESFQ working?

2007-02-11 Thread Corey Hickey
Alejandro Lorenzo Gallego wrote: > On Sunday 11 February 2007 16:48:10 Tomasz Chilinski wrote: >> On Sun, 11 Feb 2007 16:19:54 +0100, Alejandro Lorenzo Gallego wrote >> > [cut] Have u tried to replace CLASSIFY target by MARK target and then using fw filter? I have got bad experience w

[LARTC] [ANNOUNCE] ESFQ for Linux 2.6.19.2 (with jhash!)

2007-01-23 Thread Corey Hickey
ESFQ's original hashing algorithm never worked particularly well for the src or dst hash types: close IP addresses, such as 10.0.0.1 and 10.0.0.2 often hashed to the same number, even with many different perturbation values. This prevented the src and dst hash types from working adequately with sma

[LARTC] Re: Does it possible to use HSFC with ESFQ ?

2006-12-08 Thread Corey Hickey
Sébastien CRAMATTE wrote: > Hello, > > Does it possible to use HSFC with ESFQ ? I suppose so, since HFSC appears to be a classful queueing discipline. I've never used HFSC myself--for lack of necessity, I've been out of touch with Linux traffic control progress in recent years. Try it yourself a

Re: [LARTC] Where can I found ESFQ patch for a 2.6.18 kernel (fatooh.org is down ? )

2006-12-08 Thread Corey Hickey
Corey Hickey wrote: > Sébastien CRAMATTE wrote: >> Hello, >> >> Where can I found ESFQ patch for a 2.6.18 kernel... >> http://fatooh.org/*esfq*-2.6/ >> >> seems to be down > > You just got unlucky--last night I moved to a different server. As lo

Re: [LARTC] Where can I found ESFQ patch for a 2.6.18 kernel (fatooh.org is down ? )

2006-12-08 Thread Corey Hickey
Sébastien CRAMATTE wrote: > Hello, > > Where can I found ESFQ patch for a 2.6.18 kernel... > http://fatooh.org/*esfq*-2.6/ > > seems to be down You just got unlucky--last night I moved to a different server. As long as your DNS cache isn't completely stale, fatooh.org should be reachable no

Re: [LARTC] ESFQ and bridges

2006-07-26 Thread Corey Hickey
Roberto Pereyra wrote: > Hi > > ESFQ works with bridges ? ...just as well as any other qdisc... -Corey ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] ESFQ not so fair?

2006-04-12 Thread Corey Hickey
Patrick McHardy wrote: Andy Furniss wrote: Corey Hickey changed his esfq to use jhash for dst/src/fw - copy of his announce below. Andy. Corey Hickey wrote: So, I wrote an alternative hash function. It's quite simple, and as long as the range of input values is smaller than the hash

Re: [LARTC] Not quite on topic, but...

2005-12-26 Thread Corey Hickey
Robb Bossley wrote: > Hey everyone, > > Hope you all had a great Christmas! > > I am running Linux-2.6.14.3 with iptables 1.3.4. It has been working > marvelously for me, but I noticed an unusual entry in my "last" log. > I believe it was from me logging on from a friend's computer, but the > e

Re: [LARTC] MSN keeps disconnecting with load balancing

2005-11-12 Thread Corey Hickey
ro0ot wrote: > Hi, > > I have the my gateway with load balancing traffic going out over two > providers. Web browsing is fine...working great. > > But, my clients (office staff) complains that MSN keeps disconnecting > (in 5 mins). Why? Do you mean MSN instant messenger? I've never used it,

Re: [LARTC] cpu power needed for shaping

2005-11-10 Thread Corey Hickey
Igor Krneta wrote: > Hello, > My company recently upgraded our internet connection and I need to set > up shaping. I was wondering , what are the CPU and RAM requirements for > shaping 768/768 DSL line ? Not much. I help take care of a P1-200 with 96MB RAM that does firewalling, NAT, shaping, an

[LARTC] [ANNOUNCE] ESFQ for Linux 2.6.13

2005-10-24 Thread Corey Hickey
In a recent thread on this list, Robert Kurjata provided me a patch to add hashing by iptables mark to the Linux 2.4 version of ESFQ. Thanks to that contribution, I was able to easily add support to the 2.6 port I maintain. I found out, however, that the existing hash algorithm results in a lot of

Re: [LARTC] Inaccurate results without natting the traffic.

2005-10-19 Thread Corey Hickey
Alvaro Motta wrote: > I hope this is enough information for you to try to help me. > > > Thanks for your time and consideration. Well, it looks like you've posted enough information now. Unfortunately, I'm not having any bright ideas. You have me stumped. Hopefully someone else on this list will

Re: [LARTC] esfq ? or wrr ?

2005-10-15 Thread Corey Hickey
Jonathan Day wrote: > ESFQ and WRR have been forward-ported, well, > sometimes, but only the combined -qos patch seems to > be current - the individual patches don't seem to be > maintained at all. I still maintain ESFQ; the latest version is at: http://fatooh.org/esfq-2.6/ These days there hasn'

Re: [LARTC] Inaccurate results without natting the traffic.

2005-10-11 Thread Corey Hickey
Alvaro Motta wrote: > Now I come to you guys again, with the question: How to make cbq or > htb work without masquerading the traffic? That really isn't supposed to have anything to do with it Can you post your configuration files/scripts and a quick ASCII map showing where your Linux machine

Re: [LARTC] two link

2005-10-03 Thread Corey Hickey
Fabio Silva wrote: > Corey , > > sorry, but, i need to make this and my server has proxy transparent > can you give an aid to me with this? I'm sorry, but I don't understand your question. I understand if English isn't your native language, but I can't tell what you mean here. Also, please keep

Re: [LARTC] two link

2005-09-30 Thread Corey Hickey
> if you cold send it to me... thanks.. :D It's actually pretty easy -- you just need to specify that all traffic going out that particular interface should be NATted. The only consideration, if you know you need to do NAT, is whether to use SNAT or MASQUERADE. Again, these are untested and off th

Re: [LARTC] two link

2005-09-29 Thread Corey Hickey
Fabio Silva wrote: > hi list, i need help > i have two links > >LINK 1 > InternetLinux LAN >LINK 2 > > > i need that the traffic web goes to link 2 > i use squid in the linux with transparent proxy i´ve tried to use > squid parameter "tcp

Re: [LARTC] IP Tables on a bridge

2005-09-21 Thread Corey Hickey
ICI Support wrote: > Corey, that is exactly why it is a bridge and precisely my setup, except > that I have a 8M/1M cable modem with 5 static IPs instead of a T1. But, > effectively, it is the same. Back before I knew anything about this stuff my mentor set up a bridge for exactly that reason. We

Re: [LARTC] IP Tables on a bridge

2005-09-21 Thread Corey Hickey
ICI Support wrote: > Now, the problem I have is that my LAN is mixed NAT'd addresses and routable > IPs. I have a host of FORWARD rules to determine which packets get sent > onto which servers (routable IPs). My worry is that if I put in the > "iptables -A FORWARD -j ACCEPT" it'll defeat the whol

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

2005-05-26 Thread Corey Hickey
Janis Bistevins wrote: > Hi! > I'm getting this error while I try to compile iproute2-2.6.11-050330: > > gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include > -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o q_esfq.o > q_esfq.c > q_esfq.c: In function `esfq_parse_opt': > q_esf

Re: [LARTC] source code of tc-traffic controller

2005-05-24 Thread Corey Hickey
Fatih Düzova wrote: > Hi, I need the source code of tc-traffic controller tool, but due to > being new here, I could not find it. And also I should know whether I > can implement leaky bucket with tc. > I would be grateful, if anybody could help me.. The page for iproute2 is here: http://developer

Re: [LARTC] Problem with HTB Installation

2005-04-10 Thread Corey Hickey
ptitoliv wrote: > Hello Everybody, > > I am trying to install thz HTB queue on my Debian Woody. I compiled a > 2.6.9 Kernel with the good configuration for HTB. > > The kernel is booting correctly but I can't use HTB queue with tc. > > I have this error message. > > gatekeeper:~# tc qdisc add d

Re: [LARTC] question about correct way of shapping

2005-04-10 Thread Corey Hickey
Paulo Ricardo Bruck wrote: > all right . Let me insert more details about it. ( sorry I started w/ a > single scenario just to understand things easier ) > > At Linux Qos I have: > debian sarge ( iptables + squid + ntop + psad + apache (only for > reports) + acid + snort) > > Sometimes I use 2

Re: [LARTC] question about correct way of shapping

2005-04-07 Thread Corey Hickey
Paulo Ricardo Bruck wrote: > > at some documents it's describe the use of IMQ and some other the use of > dummy device. What's the best method ? From what I've read we use dummy > to shape both lan and wan using dummy device. It's correct? If it's > correct why does we use dummy insted shape at L

Re: [LARTC] question about correct way of shapping

2005-04-07 Thread Corey Hickey
Paulo Ricardo Bruck wrote: > > <--- up 128K > internet - dsl -eth1 -Linux Qos- eth0 -- LAN > ---> down 450k > > > If I want "shape" traffic to my LAN ( sharing equally download for all > users) I have to insert a rule li

Re: [LARTC] Games and QOS on share connection line

2005-04-06 Thread Corey Hickey
Ludek Horak wrote: > Hello. I'm newbie with QoS. I read some articles and I have a question on > You. If you have time to spare, it would be great > if you reply. Here is my problem. I'm on wireless network(no earnig > comunity). We got 2/2Mbit(soon 4/4) for 100 people(sharing link). Not long >

Re: [LARTC] Routing Load balancing and traffic shaping through 2 ISP links

2005-04-03 Thread Corey Hickey
Joao Carneiro - DLS wrote: > I have a couple of internet links: a leased line of 256kbit/s and > an ADSL line of 1024kbit/s. What is the upload speed of your ADSL line? ...and the leased line is symmetric, right; i.e. 256kbit down and 256kbit up? > What kernel is the most appropriate for this jo

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

2005-04-03 Thread Corey Hickey
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 tc with SFQ. Patching tc is still needed for ESFQ, though. I've tested this patch with Linux 2.6.11 as wel

Re: [LARTC] These tc commands used to work... what's broken them?

2005-04-03 Thread Corey Hickey
George Adams wrote: > I have a Gentoo Linux (kernel 2.6.11) server. Several months ago, I > made a traffic shaping setup for my box (running a 2.4 kernel then) > that worked beautifully. It gave high priority to SSH and RealAudio > traffic, and put HTTP downloading traffic on a lower prio so they

Re: [LARTC] tc does'nt limit the bandwidth!

2004-04-13 Thread Corey Hickey
segun adesina wrote: > Hi, good people! > > I wanted to limit my 4 customers to 144, 16, 32, and > 32kbps. > I used the following tc commands BUT IT FAILED TO > LIMIT each and everyone of them to its bandwidth. > What am I doing wrong: Do you know that tc uses somewhat unconventional abbreviatio

Re: [LARTC] Bandwith control

2004-04-13 Thread Corey Hickey
[EMAIL PROTECTED] wrote: > Hello all, > > I´ve read http://lartc.org/howto/ and now i am just confused, i think my > skills with linux are not very good, so asking for help. > > I have a linux box with two ethernets cards eth0(gateway 1mb) with is > the host for > some sites and emails and eth1

Re: [LARTC] wondershaper question

2004-04-02 Thread Corey Hickey
gypsy wrote: > Also > remember YOU DO NOT SHAPE DOWNLOADS! HTB can only "police" D/L, not > "shape". You must use iptables or IMQ to "shape" D/L; I use iptables -m > limit --limit ##/second -j ACCEPT > iptables -j DROP > and make sure that these 2 lines preceed any RELATED, ESTABLISHED > acce

Re: [LARTC] wondershaper question

2004-04-01 Thread Corey Hickey
Chris Winfield-Blum wrote: > Maybe there is another solution to this problem? > > The problem is that I have had a couple of users on the network hogging > the bandwidth and while we do have a policy implemented sometimes the > downloads are genuinely work related (eg downloaded a new version of a

Re: [LARTC] Does IPV6 support HTB?

2004-03-24 Thread Corey Hickey
ìíë wrote: > I have been studying traffic control in linux these days. > > I became to know there are several qeueuing displines such as tbf, cbq, > > htp, etc. But, there isn't the comment whether they support IPv6 traffic. > > I got this question because there is no comment about how to co

Re: [LARTC] Need Clarification on TBF + (PRIO+SFQ)

2004-03-15 Thread Corey Hickey
Gerry Weaver wrote: > Hi All, > > I need help to understand the proper order to create qdiscs. I'm trying to > do the following: > > 1. Use the TBF to slow a 100mb link to 3mb Check the "UNITS" section of the tc manual to make sure you don't get "mbit" confused with "mbps". In tc unit nomenclatu

Re: [LARTC] Setting up htb on 2.6.3

2004-03-14 Thread Corey Hickey
Kevin Withnall wrote: > I think the kernel is fine. I received some patches and re-compiled > iproute2 on 2.4.20, moved the binaries to 2.6.3 and it works more.. > > Heres what happens now. > > #./qd > + tc qdisc del dev eth0 root > + tc qdisc del dev eth0 ingress > + tc qdisc add dev eth0 root h

Re: [LARTC] Setting up htb on 2.6.3

2004-03-13 Thread Corey Hickey
Kevin Withnall wrote: > Still getting the same thing. Am I using the latest versions ? > > #tc qdisc add dev eth0 root handle 1: htb > RTNETLINK answers: Invalid argument > > Thanks for your time. > > I would guess that you don't actually have your kernel properly configured to support htb. In

Re: [LARTC] Setting up htb on 2.6.3

2004-03-12 Thread Corey Hickey
Kevin Withnall wrote: > Im running kernel 2.6.3 with what I think is every required option > turned on, yet tc gives me ... > > #tc qdisc add dev eth0 parent root handle 1: htb > But get > RTNETLINK answers: Invalid argument Just a syntax error - the root handle has no parent. You want: tc qdisc

[LARTC] for testing/examiniation: updated esfq patch for 2.6.4

2004-03-12 Thread Corey Hickey
Since I admin the gateway for a network of bandwidth-greedy machines, I figured that esfq with "hash src" would be a more fair allocation of bandwidth than sfq. Unfortunately, there didn't seem to be a recent patch for 2.6, so I endeavored to build one. The three patches I made (described below) ar

Re: [LARTC] Getting crazy with marking packets

2004-02-18 Thread Corey Hickey
Raúl Alexis Betancort Santana wrote: > Hi all .. I'm getting crazy triying to undestand why my packets are not going > by the ISP I want them to .. :S > > I mark smtp and pop3 packets on PREROUTING with -j MARK setting it mark to > 0x02 .. then with ip rule add fwmark table mail.traffic its sup

Re: [LARTC] How to limit upload with HTB?

2004-02-18 Thread Corey Hickey
dormunt mark wrote: > Hello, > How can I limit DC++, Kazza, FTP uploads? Can anyone > give an example? Many thanks. > I suggest you read the user guide: http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm You'll find many examples there. Then, if you have specific questions, come back here and a

Re: [LARTC] iproute2 and kernel 2.6.1/2

2004-02-11 Thread Corey Hickey
Dale Gallagher wrote: > Hi there > > I sent this earlier today, but haven't seen it on the list. > I appologise if this ends up being a duplicate. Hmm... they're getting here ok. Check the archives: http://mailman.ds9a.nl/pipermail/lartc/2004q1/thread.html -Corey

Re: [LARTC] iproute2 and kernel 2.6.1/2

2004-02-11 Thread Corey Hickey
Dale Gallagher wrote: > Hi there > > I've searched the archives and googled for a solution with > no success - has anyone successfully built iproute2 under > kernel 2.6.1, or 2.6.2? I've tried various releases, each > compile aborting with different errors. Compilation works fine for me with Deb

Re: [LARTC] marking packets not functioning well

2004-02-11 Thread Corey Hickey
Gyula Szekely wrote: > hello, > > Here's my problem in short. I have 3 subnetworks in my LAN (eth1 - internal > interface, eth0 - external), and my ISP has also 2 subnetworks (link speed at > 11Mbps), let's say: > > ISP1= 19x.2xx.25x.0/24 > ISP2= 19x.2xx.25y.0/24 > > I want the traffic to the

Re: [LARTC] Dreaded RTNETLINK answers: Invalid argument

2004-02-09 Thread Corey Hickey
Kelly Hogan wrote: > + tc filter add dev eth0 parent 1:0 protocol ip prio 1 handle 1 fw > flowid 1:10 > RTNETLINK answers: Invalid argument > > removing the handle 1 fw flowid 1:10 gets rid of the error, but > obviously doesn't help us Q as we would like. > > Any help would be greatly appreciate

Re: [LARTC] wondershaper htb + multiple ports

2004-02-08 Thread Corey Hickey
mark ryan wrote: > If i use the following tc command, where do i set the speed limit for > the outbound ftp traffic? > > Mark > > On Sun, 2004-02-08 at 02:35, Corey Hickey wrote: > >>mark ryan wrote: >> >>>Is there a way to apply wondershaper w/ htb t