From owner-freebsd-net Fri Jul 3 02:31:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA21212 for freebsd-net-outgoing; Fri, 3 Jul 1998 02:31:06 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA21196 for ; Fri, 3 Jul 1998 02:30:55 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id KAA13807; Fri, 3 Jul 1998 10:00:48 +0200 From: Luigi Rizzo Message-Id: <199807030800.KAA13807@labinfo.iet.unipi.it> Subject: Re: how about including dummynet in 2.2.7 ? To: eivind@yes.no (Eivind Eklund) Date: Fri, 3 Jul 1998 10:00:47 +0200 (MET DST) Cc: jkh@time.cdrom.com, net@FreeBSD.ORG In-Reply-To: <19980703111231.42617@follo.net> from "Eivind Eklund" at Jul 3, 98 11:12:12 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > The only problem I can see with Luigi's changes is I believe that they > will screw the ipfw interface again (right, Luigi?) depends on what you mean for 'screw up' ... Because i needed some space in the structure passed to the ipfw socket, and this size was limited to one mbuf, I reduced the number of ports for each rule to 8, and limited the interface name length to 10 characters. The former will go back to 10 if this code has to go in 2.2.7, and for the latter, does anyone have an interface name longer than 4-5 chars anyways ? BTW in return for the shorter interface name you get constant-time jumps in the firewall code, which allows you to build efficient rulesets. As for the user interface it is fully backward compatible, i have only *added* new commands. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message