natd is an example of divert socket usage. Try looking at
/usr/src/sbin/natd/natd.c
On Sat, Nov 30, 2002 at 12:38:44PM +, soheil soheil wrote:
> Dear List
> first :
> I want to know if there is any sample of divert socket usage and divert
> socket programming?
> I see the ipfw manual it says
Looking at FreeBSD's source code, it seems like you can't disable
this feature.
Now, I don't really see the point in disabling it (at most the TCP
source may choose to ignore such a message), but you can always use
IPFW to drop all such packets.
On Wed, Nov 06, 2002 at 12:32:29PM +0200, Girnet Vl
On Tue, Dec 18, 2001 at 11:14:26AM +0200, Ruslan Ermilov wrote:
> > http://www.x-itec.de/projects/tuts/ipsec-howto.txt
> > FreeBSD ipsec mini-howto
> >
> Now that you mention it.
>
> Why this document states that we need `gif' devices
> for IPSec to work? We're running VPN on IPSec without
> an