From owner-freebsd-isp Wed May 14 14:37:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA06083 for isp-outgoing; Wed, 14 May 1997 14:37:33 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA06077 for ; Wed, 14 May 1997 14:37:31 -0700 (PDT) Received: from etinc.com (et-gw-fr1.etinc.com [204.141.244.98]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id OAA01216 for ; Wed, 14 May 1997 14:37:26 -0700 (PDT) Received: from ntws (ntws.etinc.com [204.141.95.142]) by etinc.com (8.8.3/8.6.9) with SMTP id RAA21167; Wed, 14 May 1997 17:44:44 -0400 (EDT) Message-Id: <3.0.32.19970514173510.008f69d0@etinc.com> X-Sender: dennis@etinc.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 14 May 1997 17:35:18 -0400 To: Luigi Rizzo , mcnicholl@real.com (David Sean McNicholl) From: dennis Subject: Re: Limiting Bandwidth. Cc: freebsd-isp@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 10:08 PM 5/14/97 +0200, Luigi Rizzo wrote: >> Hi, >> Other than dummynet ( http://www.iet.unipi.it/~luigi/ ), does anyone of >> bandwidth limiting software. The obvious limitation to dummynet is that it >> aonly restricts tcp. > >it is not difficult to limit UDP as well, you clone the two functions >tcp_ip_input() and tcp_ip_output() with almost identical ones, >udp_ip_input() and udp_ip_output, and establish the proper calls between >the udp and ip layers. You can use the same (global) bw limit for both >TCP and UDP, or set up different limits for TCP and UDP (e.g. to limit >NFS or multicast traffic)... > >I have not the time to work on it now, but it is not complex, really. I've heard of a pretty neat product that limits bandwidth for all types of traffic, even by IP address! :-) See http://www.etinc.com Dennis