From owner-freebsd-net@FreeBSD.ORG Wed May 28 16:32:08 2003 Return-Path: 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 D12D537B401 for ; Wed, 28 May 2003 16:32:08 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D40F43F3F for ; Wed, 28 May 2003 16:32:08 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9/8.12.9) with ESMTP id h4SNW69r010434; Wed, 28 May 2003 19:32:06 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9/8.12.9/Submit) id h4SNW6NF010433; Wed, 28 May 2003 19:32:06 -0400 (EDT) Date: Wed, 28 May 2003 19:32:06 -0400 From: Barney Wolff To: cjclark@alum.mit.edu Message-ID: <20030528233206.GA10255@pit.databus.com> References: <20030528045154.GA95572@mail.it.ca> <20030528210359.GA3907@blossom.cjclark.org> <20030528214046.GA9084@pit.databus.com> <20030528222852.GD3907@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030528222852.GD3907@blossom.cjclark.org> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: freebsd-net@freebsd.org Subject: Re: ipfw rules vs routes to localhost? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 23:32:09 -0000 On Wed, May 28, 2003 at 03:28:52PM -0700, Crist J. Clark wrote: > > Writing something that uses pfil(9) might also be a lightweight way to > do this. Hmm, yes. But the problem of communicating the table to the kernel remains. Is there a natural BSD way to have a block of memory mapped both to kernel and user space? With SVR4 Streams, I'd probably use an ioctl to communicate. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.