From owner-freebsd-ipfw Mon Sep 16 23: 3: 4 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A3FD37B400 for ; Mon, 16 Sep 2002 23:03:03 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E340543E4A for ; Mon, 16 Sep 2002 23:03:02 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g8H62xIb051929; Mon, 16 Sep 2002 23:02:59 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g8H62xfv051928; Mon, 16 Sep 2002 23:02:59 -0700 (PDT) (envelope-from rizzo) Date: Mon, 16 Sep 2002 23:02:59 -0700 From: Luigi Rizzo To: "Jacob S. Barrett" Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: MAC Layer Bandwidth Limiting Message-ID: <20020916230259.A51851@iguana.icir.org> References: <3D864865.2030607@amduat.net> <3D86C25C.50104@amduat.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D86C25C.50104@amduat.net>; from jbarrett@amduat.net on Mon, Sep 16, 2002 at 10:49:16PM -0700 Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 16, 2002 at 10:49:16PM -0700, Jacob S. Barrett wrote: ... > It would be nice to be able to specify a MAC mask on the pipes so I > don't have to create 2 for each client. yes... in fact, the implementation of masks should be slightly revised so one can use more or less arbitrary fields instead of just the ip addresses. Next feature i guess... > Also, digging through the source reveals no way to get and zero the > counts in an atomic fashion. That would be a really nice feature to this is close to impossible to get right, because the success of reading the counts depends on the size of the buffer passed to the getsockopt(). Given that one can compute the deltas in userland, i think the feature is not very useful anyways. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message