Date: Fri, 15 Oct 2004 00:58:31 +0200 From: Andre Oppermann <oppermann@networx.ch> To: Julian Elischer <julian@elischer.org> Cc: net@freebsd.org Subject: Re: small tun(4) improvement Message-ID: <416F0497.806DB456@networx.ch> References: <20041014174225.GB49508@cell.sick.ru> <416EBF0A.CB1C0366@networx.ch> <20041014202305.GA50360@cell.sick.ru> <416EE620.186AD27A@freebsd.org> <416F02CA.5020700@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote: > > Andre Oppermann wrote: > > > >P.S. I'm working on making protocols within protocols domains loadable at > >least for IPv4. > > > I did some work on this once.. things have got a lot more complicated > however with locking.. Actually there are not that many locking problems with the register and unregister functions themselfes. It get a little bit more trickier with the stuff using these hooks though. > >I'm using this to make DIVERT a loadable module. > > > cool.. the trick is to work out how to make it (un)attach to ipfw.. DIVERT sockets in themselfes do not depend on ipfw. You can send out packets just fine through a diver socket even when ipfw is missing. But you can't get any packets from the kernel unless ipfw puts them up to divert. Nothing that prevents other uses or users of divert in the end (ng_divert perhaps...). -- Andre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416F0497.806DB456>