Date: Wed, 15 Sep 1999 21:57:07 -0600 From: Brett Glass <brett@lariat.org> To: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au> Cc: freebsd-security@FreeBSD.ORG Subject: Re: BPF on in 3.3-RC GENERIC kernel Message-ID: <4.2.0.58.19990915215201.0462cdc0@localhost> In-Reply-To: <99Sep16.131934est.40325@border.alcanet.com.au> References: <4.2.0.58.19990915201332.048da870@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm sure I can do the latter patch. The former would involve some learning about the innards of the stack, and probably the creation of a separate protocol module that parallels the IPX and Appletalk modules. Guidance on how this is done would be appreciated, since while I now have an idea of how to do NIC drivers I am not that familiar with how to do a new layer above them. --Brett At 01:21 PM 9/16/99 +1000, Peter Jeremy wrote: >Brett Glass <brett@lariat.org> wrote: > > Why is DHCP handled through BPF? >Please go and read the archives, where this is discussed in detail. > >Briefly, a DHCP client needs to be able to both send and receive IP >packets before its interface has an IP address. Using the standard >4.4BSD IP stack, the only way a user process (the DHCP client) can >receive IP packets is using BPF. > >I believe Linux has some hooks in its IP stack to work around this. >Feel free to provide patches to add a similar facility to the FreeBSD >IP stack. > > >Which leads to the idea of a kernel config option, similar to the one > >that lets you set flags for syscons. > >Feel free to supply patches. > >Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.0.58.19990915215201.0462cdc0>