From owner-freebsd-net Thu Sep 9 23:14: 3 1999 Delivered-To: freebsd-net@freebsd.org Received: from hato.cs.pitt.edu (hato.cs.pitt.edu [136.142.79.115]) by hub.freebsd.org (Postfix) with ESMTP id 7B0CD152FF for ; Thu, 9 Sep 1999 23:13:55 -0700 (PDT) (envelope-from taka@cs.pitt.edu) Received: from localhost (localhost [127.0.0.1]) by hato.cs.pitt.edu (8.8.8/8.8.5) with ESMTP id CAA00814 for ; Fri, 10 Sep 1999 02:13:55 -0400 (EDT) Message-Id: <199909100613.CAA00814@hato.cs.pitt.edu> To: freebsd-net@freebsd.org Subject: [netnice: software packet shaper package for FB] Date: Fri, 10 Sep 1999 02:13:55 -0400 From: Takashi OKUMURA Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I've coded a software packet shaper package for FreeBSD 2.2.x and FreeBSD 3.2 recently. Now, i would like to introduce it into the FreeBSD-net community, for beta testing. (Hopefully, I'll contribute the code to the current...) [Features] - a process-oriented software packet shaper, on which you can limit network output of any process - very little packet classification overhead and almost no impact on max throughput - provide bandwidth control without hardware, e.g. ATM card, or shaper boxes - works with ALTQ (tested on FreeBSD 2.2.8) - shipped with useful bandwidth management applications for easy control over network output - netnice command (works similarly to nice and renice) % netnice 128Kbyte/sec 123 - Enhanced sh (sh with bandwidth control feature) (maybe useful for scripting) % ftp www.foo.bar @512KBps % rcp /var/log/access.log archive:/var/hoge @32KBps - Enhanced inetd (bandwidth control over network services) %cat /etc/inetd.conf ftp ... /usr/local/libexec/ftpd ftpd -l telnet ... /usr/libexec/telnetd telnetd @32K/sec shell ... /usr/libexec/rshd rshd @32K/sec %inetd -c 10 @512KB/sec (In this case, telnet and rsh sessions will have 32KB each, and ftp sessions will be granted the rest of the available bandwidth fairly.) - bandwidth control module for Apache (mod_netnice.c) [Information] http://www.cs.pitt.edu/~taka/software/netnice.html mail:taka@cs.pitt.edu I believe that this is quite useful option to control LAN bandwidth for sites suffering from huge volume of traffic for log file and netnews transfer. It's simple, and you can have control over them without any hardware assistance. Thank you, Takashi 'taka' Okumura, Department of Computer Science, University of Pittsburgh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message