From owner-freebsd-net Wed Dec 18 15:59: 6 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 514E137B401 for ; Wed, 18 Dec 2002 15:59:03 -0800 (PST) Received: from zeus.havoc2k.or.id (zeus.havoc2k.or.id [202.143.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA23743ED8 for ; Wed, 18 Dec 2002 15:58:59 -0800 (PST) (envelope-from i_am_going_to_serve_this_delivery@zeus.havoc2k.or.id) Received: by zeus.havoc2k.or.id (Postmaster, from userid 1002) id 775BE3F8; Thu, 19 Dec 2002 06:58:31 +0700 (WIT) Date: Thu, 19 Dec 2002 06:58:31 +0700 From: "Hendry S." To: Takashi Okumura Cc: freebsd-net Subject: Re: [Netnice version 2 (For FreeBSD 4.7)] Message-ID: <20021218235831.GA22748@zeus.havoc2k.or.id> References: <3DFF57F1.AA2E7CD9@wide.ad.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DFF57F1.AA2E7CD9@wide.ad.jp> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Once upon a time, Takashi Okumura said that > Dear Hackers, > > i would like to introduce my traffic control package for FreeBSD 4.7, > netnice version 2, and recruit some alpha testers. > > > ============================================================ > Netnice Version 2: Alpha Release (Dec 10, 2002) > ============================================================ > > > Netnice is a traffic management package for FreeBSD. > It comes with useful traffic control applications; > > o Bandwidth control of running network applications: netnice > > % ps -aux | grep netscape > taka 1234 ... snip ... 9:14AM 0:00.10 netscape > % netnice 1234 1024Kbps > > o Easy specification of network I/O at startup: sh > > $ ftp ftp.freebsd.org @512Kbps > > o Bandwidth specification in /etc/inetd.conf: inetd > > % cat /etc/inetd.conf > ftp stream nowait ...snip... @ 512Kbps > telnetd stream nowait ...snip... @ 64Kbps > > o Network QoS daemon with flexible scripting feature: netniced > > % netniced -d > > > * Overview * > > In FreeBSD community, we already have some implementations for traffic > control. Most of them have parallel queues in network subsystem of the > operating system, and basically, follow traditional traffic control > model where we configure queue parameters and packet classification > rules. > > Netnice differs from them in that it utilizes a new traffic control > primitive, Virtual network interface (VIF). Traffic control with a VIF > works as follows. First, we create a VIF connected to an existing > physical network interface. Then, we set parameters of the VIF, such > as bandwidth and priority. Lastly, we attach it to network I/O of > target process, or sockets. > > > * Features * > > The primitive has following notable features. > > The attached virtual network interface will be inherited to its child > processes, and thus, the network resource would be protected from > excess use. > > Virtual network interfaces can be hierarchically structured, and > attachable to sockets and process groups, as well as to process > network I/O. This model provides flexible control granularity. > > The virtual network interface has various parameters, such as > bandwidth, queuing discipline, weight and priority. Hence, users can > enjoy various traffic control service, such as software packet shaping > and premium service, in a single framework. > > Lastly, we note that the virtual network interfaces are accessible as > files, under /proc/network, and thus, any programming environment with > file access API can make use of the primitive. > > > * Needs alpha testers!! * > > If you got interested in the implementation, please join the alpha > testing, working towards beta-version release in near future. If there > were requests for for an Apache module to control Web traffic, i think > i can provide an experimental version shortly. Detailed information, > documents, and the package is available at the project homepage. > > Project Homepage http://www.netnice.org > > > thanks! wireless% host www.netnice.org Host www.netnice.org not found: 2(SERVFAIL) cheers Hendry S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message