Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2004 13:40:27 +0100
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        Aaron Nichols <adnichols@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Problems with NAT on gif interface for VPN
Message-ID:  <20041102124027.GH10641@sitadelle.com>
In-Reply-To: <ac0553840410290805388a9efb@mail.gmail.com>
References:  <ac0553840410281038224213b@mail.gmail.com> <62721446609.20041028214724@star-sw.com> <ac05538404102820171b7b5771@mail.gmail.com> <20041029141411.GE10641@sitadelle.com> <ac0553840410290805388a9efb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041102124027.GH10641>