Date: Mon, 22 Sep 1997 19:45:11 +0100 From: Brian Somers <brian@awfulhak.org> To: alexlh@xs4all.nl Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DIVERT or tun0? Message-ID: <199709221845.TAA18097@awfulhak.demon.co.uk> In-Reply-To: Your message of "Mon, 22 Sep 1997 18:03:10 %2B0200." <Pine.SUN.3.93.970922180033.23398C-100000@xs2.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi, > > Can someone explain to what the difference is between the tunnel device > and DIVERT sockets? And why we need them both? > > Thanks, Is there anything similar between them ? The tunnel device allows a user-land program to read and write packets from and to a pseudo network interface. A divert socket allows the redirection of packets from the kernel to a user-level program and back - based on any firewall type criteria. We *need* them both so that we can write smart user-level programs. More than a few people would argue that neither are needed - they just encourage hacking. > Alex > > --- > I dabble in techno-house and sometimes, > I do that badass hip-hop thang... > But the F U N K gets me every time! > -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709221845.TAA18097>