From owner-freebsd-net@FreeBSD.ORG Wed Jun 22 14:53:01 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 564C216A41C; Wed, 22 Jun 2005 14:53:01 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B72B43D1D; Wed, 22 Jun 2005 14:53:01 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id j5MEr0LU092980; Wed, 22 Jun 2005 07:53:00 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j5MEr0YK092979; Wed, 22 Jun 2005 07:53:00 -0700 (PDT) (envelope-from rizzo) Date: Wed, 22 Jun 2005 07:53:00 -0700 From: Luigi Rizzo To: Andre Oppermann Message-ID: <20050622075300.F92493@xorpc.icir.org> References: <42B7B352.8040806@suutari.iki.fi> <20050621170649.B82876@xorpc.icir.org> <42B95F5A.DFF7F3C5@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <42B95F5A.DFF7F3C5@freebsd.org>; from andre@freebsd.org on Wed, Jun 22, 2005 at 02:53:46PM +0200 Cc: freebsd-net@freebsd.org Subject: Re: Policy routing idea (Was: ipfw: Would it be possible tocontinue processing rest of rules after match ?) 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: Wed, 22 Jun 2005 14:53:01 -0000 On Wed, Jun 22, 2005 at 02:53:46PM +0200, Andre Oppermann wrote: ... > > i suggest to implement a new action 'setnexthop' which stores the > > next hop as an MTAG with the packet (so it is preserved if the > > packet gets passed to dummynet). > > Please don't store routing table pointers. All the locking due that would be just an IP address, not the table pointer. cheers luigi