Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 1999 13:21:41 +1000
From:      Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
To:        brett@lariat.org
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: BPF on in 3.3-RC GENERIC kernel
Message-ID:  <99Sep16.131934est.40325@border.alcanet.com.au>
In-Reply-To: <4.2.0.58.19990915201332.048da870@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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?99Sep16.131934est.40325>