From owner-freebsd-net@FreeBSD.ORG Tue Apr 1 12:19:48 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 B556C37B401 for ; Tue, 1 Apr 2003 12:19:48 -0800 (PST) Received: from laptop.tenebras.com (laptop.tenebras.com [66.92.188.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 12C4B43FA3 for ; Tue, 1 Apr 2003 12:19:48 -0800 (PST) (envelope-from kudzu@tenebras.com) Received: (qmail 56861 invoked from network); 1 Apr 2003 20:19:45 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (192.168.188.241) by 0 with SMTP; 1 Apr 2003 20:19:45 -0000 Message-ID: <3E89F45F.1060506@tenebras.com> Date: Tue, 01 Apr 2003 12:19:43 -0800 From: Michael Sierchio User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Leffler References: <86pto6mbxj.fsf@notbsdems.interne.kisoft-services.com> <05b901c2f881$67e907f0$52557f42@errno.com> In-Reply-To: <05b901c2f881$67e907f0$52557f42@errno.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Mailing List FreeBSD Network Subject: Re: options FAST_IPSEC & tunnels 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: Tue, 01 Apr 2003 20:19:49 -0000 Sam Leffler wrote: > Wow, someone besides me actually using fast ipsec! :) At least two of us, besides you... > > Packets are tagged once they've been processed on input. I think you can do > a similar check with something like: > > if (m_tag_find(PACKET_TAG_IPSEC_IN_DONE) != NULL) > goto pass; > > Long term, I intend is to associate packets with an enc device so there's a > way to identify these packets when writing firewall rules. That would be really helpful.