From owner-freebsd-net@FreeBSD.ORG Tue Jun 28 18:40:18 2005 Return-Path: X-Original-To: freebsd-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 A824516A41C for ; Tue, 28 Jun 2005 18:40:18 +0000 (GMT) (envelope-from julian@elischer.org) Received: from postoffice.vicor-nb.com (www.vicor.com [12.155.182.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 713B643D1D for ; Tue, 28 Jun 2005 18:40:18 +0000 (GMT) (envelope-from julian@elischer.org) Received: from localhost (localhost [127.0.0.1]) by postoffice.vicor-nb.com (Postfix) with ESMTP id 171EC4CE9CD; Tue, 28 Jun 2005 11:40:18 -0700 (PDT) Received: from postoffice.vicor-nb.com ([127.0.0.1]) by localhost (postoffice.vicor-nb.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 59306-01; Tue, 28 Jun 2005 11:40:17 -0700 (PDT) Received: from bigwoop.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by postoffice.vicor-nb.com (Postfix) with ESMTP id 7CD634CE9CC; Tue, 28 Jun 2005 11:40:17 -0700 (PDT) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by bigwoop.vicor-nb.com (Postfix) with ESMTP id 36F747A403; Tue, 28 Jun 2005 11:40:17 -0700 (PDT) Message-ID: <42C199C0.1040704@elischer.org> Date: Tue, 28 Jun 2005 11:41:04 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: Jeremie Le Hen References: <42C0DB3B.6000606@elischer.org> <20050628074640.GY1283@obiwan.tataz.chchile.org> <200506281139.17582.net@dino.sk> <200506281147.13299.max@love2party.net> <20050628102728.GZ1283@obiwan.tataz.chchile.org> In-Reply-To: <20050628102728.GZ1283@obiwan.tataz.chchile.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postoffice.vicor.com Cc: Max Laier , Milan Obuch , freebsd-net@freebsd.org Subject: Re: Julian's netowrking challenge 2005 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 18:40:18 -0000 Jeremie Le Hen wrote: >>Wouldn't a more general approach be better. e.g. a way to "tag" a packet >>before it is sent to divert and a matching tag-lookup that can do further >>action. This would make it very easy to do all kinds of stuff that needs to >>know the original address instead of the translated one while avoiding code >>duplication. >> >> > >Having the possibility to tag a packet would be worth indeed. But I >think that Milan wants to bring network stack virtualization in >newer release of FreeBSD IIUC. This would be, IMO, a great improvement >of FreeBSD networking, although I'm pretty sure this would make Netgraph >people react a bit ;-). > > why? I think they are orthogonal. > > >>pf does something along these lines in case you are looking for references. >> >> > >Would it be possible to share this tag among pf and ipfw ? > >Regards, > >