From owner-freebsd-net Sat Jan 8 3:45:14 2000 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id BE3A4154E1; Sat, 8 Jan 2000 03:45:01 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id MAA10204; Sat, 8 Jan 2000 12:45:27 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200001081145.MAA10204@info.iet.unipi.it> Subject: kind-of heads-up -- ipfw and dummynet To: current@freebsd.org Date: Sat, 8 Jan 2000 12:45:26 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [sorry for the blind crosspost to -net, but i think this is relevant there as well...] Hi, I have just committed to -current a few modifications to ipfw and dummynet and i would like people to check them and submit feedback. (everything is mostly backward compatible, you only need to recompile ipfw if you want to use the new dummynet features, but the syntax remains the same). They are listed below: REWRITTEN MANPAGE, trying to make it more readable. Please let me know if i succeeded or not. DUMMYNET now supports dynamically-created per-flow queues. E.g. if you want to limit each /24 subnet to your web server to 100Kbit/s you can do now: ifpw add pipe 1 tcp from my-ip 80 to any ipfw pipe 1 config bw 100Kbit/s mask dst-ip 0xffffff00 and so on. The manpage gives more examples. User interface is fully backward compatible. This work sponsored by Akamba Corp. As a side effect, the new dummynet code also fixes one bug in the previous code which could cause large bursts of packets. DUMMYNET should also work on the alpha, because i have fixed the interface problems which prevented this on the past. IPFW now supports masks on TCP/UDP ports, which can be useful for some simulation purposes and does not impact performance. Feedback appreciated. If there are no objections, i would like to put these things into -stable soon, as there are important fixes to existing features. cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) Mobile +39-347-0373137 -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message