From owner-freebsd-net@FreeBSD.ORG  Mon Sep 19 03:33:22 2005
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
X-Original-To: net@freebsd.org
Delivered-To: freebsd-net@FreeBSD.ORG
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9FFFC16A41F
	for <net@freebsd.org>; Mon, 19 Sep 2005 03:33:22 +0000 (GMT)
	(envelope-from brett@lariat.org)
Received: from lariat.org (lariat.net [65.122.236.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0993543D45
	for <net@freebsd.org>; Mon, 19 Sep 2005 03:33:21 +0000 (GMT)
	(envelope-from brett@lariat.org)
Received: from anne-o1dpaayth1.lariat.org (IDENT:ppp1000.lariat.net@lariat.net
	[65.122.236.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id VAA28158;
	Sun, 18 Sep 2005 21:33:12 -0600 (MDT)
X-message-flag: Warning! Use of Microsoft Outlook renders your system
	susceptible to Internet worms.
Message-Id: <6.2.3.4.2.20050918212944.08cf8d80@localhost>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4
Date: Sun, 18 Sep 2005 21:33:09 -0600
To: Dave+Seddon <dave-dated-1127532248.1d1f09@seddon.ca>
From: Brett Glass <brett@lariat.org>
In-Reply-To: <1127100248.18218.TMDA@seddon.ca>
References: <6.2.3.4.2.20050918205708.08cff430@localhost>
	<1127100248.18218.TMDA@seddon.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Cc: net@freebsd.org
Subject: Re: Efficient use of Dummynet pipes in IPFW
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Sep 2005 03:33:22 -0000

At 09:24 PM 9/18/2005, Dave+Seddon wrote:

>skipto
>man ipfw -> e.g. ipfw add 10 skipto 4000 all from any to any layer2 out

It's not that simple. Each rule that can send packets into a pipe 
has at least two conditions (e.g. IP address, interface name, and 
in or out via that interface). Do you propose that I apply 
DeMorgan's theorem to every rule that sends packets into a pipe? If 
I did, I'd produce a whole long list of "skipto" rules for each 
individual rule I had before. Could get very messy -- and create overhead.

--Brett Glass