Date: Wed, 14 May 1997 22:08:18 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: mcnicholl@real.com (David Sean McNicholl) Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Limiting Bandwidth. Message-ID: <199705142008.WAA26959@labinfo.iet.unipi.it> In-Reply-To: <199705141938.TAA26472@mocara.infonaut.org> from "David Sean McNicholl" at May 14, 97 07:38:32 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705142008.WAA26959>