From owner-freebsd-net@FreeBSD.ORG Fri May 23 22:13:10 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C2721065676 for ; Fri, 23 May 2008 22:13:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA258FC1B for ; Fri, 23 May 2008 22:13:09 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m4NMD77F022252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 May 2008 08:13:08 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m4NMD7Co083693; Sat, 24 May 2008 08:13:07 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m4NMD7Zv083692; Sat, 24 May 2008 08:13:07 +1000 (EST) (envelope-from peter) Date: Sat, 24 May 2008 08:13:07 +1000 From: Peter Jeremy To: Juri Mianovich Message-ID: <20080523221306.GY1469@server.vk2pj.dyndns.org> References: <321306.67555.qm@web45605.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xXygN3QAmJYWdGtb" Content-Disposition: inline In-Reply-To: <321306.67555.qm@web45605.mail.sp1.yahoo.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-net@freebsd.org Subject: Re: minimum bandwidth per connection with dummynet ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 22:13:10 -0000 --xXygN3QAmJYWdGtb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-May-23 02:47:30 -0700, Juri Mianovich wrote: >- is there a simple setting that says "allocate >bandwidth evenly between all connections in a >saturated pipe" ? TCP does this automatically. >- alternatively, is there a minimum speed per >connection that I can establish for a dummynet pipe ?=20 Not that I can see - you can use the 'mask' parameter to define a maximum per-connection rate. I don't believe there's any way to redirect "overflow" traffic though. You could probably write a divert(4) application to do the shaping you require. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --xXygN3QAmJYWdGtb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkg3QXIACgkQ/opHv/APuIe5UQCffjZOqb+z+8eVgHTqrMkJoMu+ a7wAn0Ajh23P70SQh7YBVIG05LQFhG8+ =CBR0 -----END PGP SIGNATURE----- --xXygN3QAmJYWdGtb--