From owner-freebsd-security@FreeBSD.ORG Mon Oct 20 09:59:18 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5621116A4B3 for ; Mon, 20 Oct 2003 09:59:18 -0700 (PDT) Received: from blowfish.cyberdoom.org (ip212-226-145-17.adsl.eunet.fi [212.226.145.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CFBC43F75 for ; Mon, 20 Oct 2003 09:59:16 -0700 (PDT) (envelope-from dan.airinen@cyberdoom.org) Received: from localhost (unknown [127.0.0.1]) by blowfish.cyberdoom.org (Postfix) with ESMTP id 5DB93DCCBB; Mon, 20 Oct 2003 16:59:11 +0000 (GMT) Received: from blowfish.cyberdoom.org ([127.0.0.1]) by localhost (blowfish.cyberdoom.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27849-05; Mon, 20 Oct 2003 19:59:05 +0300 (EEST) Received: from daemon.cyberdoom.org (daemon.cyberdoom.org [212.226.145.19]) by blowfish.cyberdoom.org (Postfix) with ESMTP id B0DD1DCCBA; Mon, 20 Oct 2003 19:59:05 +0300 (EEST) Received: from daemon.cyberdoom.org (daemon.cyberdoom.org [212.226.145.19]) by daemon.cyberdoom.org (8.12.9/8.12.9) with ESMTP id h9KGx8Y1032797; Mon, 20 Oct 2003 19:59:08 +0300 (EEST) (envelope-from dan@cyberdoom.org) Date: Mon, 20 Oct 2003 19:59:08 +0300 (EEST) From: Dan Airinen To: Alhagie Puye In-Reply-To: <20031020163033.9682.qmail@web20509.mail.yahoo.com> Message-ID: <20031020195618.O32785@daemon.cyberdoom.org> References: <20031020163033.9682.qmail@web20509.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-security@freebsd.org Subject: Re: Equal bandwidth configuration among host with dummynet X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 16:59:18 -0000 Hi, a bit off topic here. You might want to try: freebsd-questions@freebsd.org But i should suggest that you take a look at the ALTQD project: http://www.csl.sony.co.jp/~kjc/software.html#ALTQ On Mon, 20 Oct 2003, Alhagie Puye wrote: > Hi all, > > First of all, I have spent a lot of time reading up on > it. > > Anyway, I live in a shared accomodation with 2 > roommates and a landlord and we share a cable internet > connection. It is 2Mbit/400Kbit connection. Sometimes > when one of us is downloading a song through Kazaa or > a new Linux or FreeBSD iso, the bandwidth gets hogged > and other users can't get through. > > I was trying to configure dummynet using Fair Queues > but I seem to be missing something. I tried to modify > some of the examples on Luigi Rizzo's web site > (http://info.iet.unipi.it/~luigi/ip_dummynet/) but it > doesn't seem to be working. > > It is a very simple setup. > > Private network (192.168.42.0/24)--------> FreeBSD 5.1 > firewall doing NAT (DHCP on external interface) > > My configuration file excerpt: > > ipfw pipe 1 config bw 400Kbit/s > ipfw pipe 2 config bw 1000Kbit/s > ipfw add queue 1 ip from 192.168.42.0/24 to any via > fxp0 > ipfw queue 1 config weight 5 pipe 1 mask src-ip > 0xffffffff > > ipfw add queue 2 ip from any to 192.168.42.0/24 via > fxp0 > ipfw queue 2 config weight 5 pipe 2 mask dst-ip > 0xfffffff > > When I do a "ipfw pipe show", the output is: > > firewall# ipfw pipe list > 00001: 400.000 Kbit/s 0 ms 50 sl. 0 queues (1 > buckets) droptail > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > 00002: 1.000 Mbit/s 0 ms 50 sl. 0 queues (1 > buckets) droptail > mask: 0x00 0x00000000/0x0000 -> 0x00000000/0x0000 > q00001: weight 5 pipe 1 50 sl. 0 queues (64 buckets) > droptail > mask: 0x00 0xffffffff/0x0000 -> 0x00000000/0x0000 > q00002: weight 5 pipe 2 50 sl. 0 queues (64 buckets) > droptail > mask: 0x00 0x00000000/0x0000 -> 0xffffffff/0x0000 > > The queues are always "0". So, it seems to me like > they are not getting created. What am I missing? I > have looked everywhere for answers. Any help would be > greatly appreciated. > > Cheers, > Alhagie. > > > > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" >