From owner-freebsd-net@FreeBSD.ORG Tue Nov 2 12:40:15 2004 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 1317316A4CE for ; Tue, 2 Nov 2004 12:40:15 +0000 (GMT) Received: from smtp.cegetel.net (mf01.sitadelle.com [212.94.174.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E1ED43D5F for ; Tue, 2 Nov 2004 12:40:14 +0000 (GMT) (envelope-from tataz@sitadelle.com) Received: from droopy.tech.sitadelle.com (213-223-184-193.dti.cegetel.net [213.223.184.193]) by smtp.cegetel.net (Postfix) with ESMTP id 3415837B0E; Tue, 2 Nov 2004 13:40:12 +0100 (CET) Received: by droopy.tech.sitadelle.com (Postfix, from userid 1000) id EDB20FC00E; Tue, 2 Nov 2004 13:40:27 +0100 (CET) Date: Tue, 2 Nov 2004 13:40:27 +0100 From: Jeremie Le Hen To: Aaron Nichols Message-ID: <20041102124027.GH10641@sitadelle.com> References: <62721446609.20041028214724@star-sw.com> <20041029141411.GE10641@sitadelle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040907i cc: freebsd-net@freebsd.org Subject: Re: Problems with NAT on gif interface for VPN 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, 02 Nov 2004 12:40:15 -0000 > Yep, that seems to be exactly what I need. I don't suppose there are > any plans to implement something similar in FreeBSD anytime soon? > Considering I'm so close to getting this to work it's frustrating to > think that I would need to migrate to OpenBSD to have this > functionality and uproot everything else this server already does > (mail, dns, web, etc). Considering if_enc.c from OpenBSD's HEAD (see URLs at the bottom), it does not seem to be difficult to port to FreeBSD, but since I'm not a kernel guru at all, there may be some issues I don't even suspect.o I'm concious that making it FreeBSD's SMP compliant should require a little amount of work, but it could be maked with the IFF_NEEDSGIANT flag for a first step. Are there any reason why we would not need nor want this in FreeBSD ? http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/if_enc.c?rev=1.41&content-type=text/x-cvsweb-markup http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/if_enc.h?rev=1.8&content-type=text/x-cvsweb-markup -- Jeremie Le Hen jeremie@le-hen.org