BPF code needs to use /dev/bpf
Darren Reed
darren.reed at oracle.com
Mon Feb 28 23:53:14 UTC 2011
Since 2004, BPF on NetBSD has been a cloning device (/dev/bpf).
On other BSD platforms such as FreeBSD, BPF is now also a cloning
device (/dev/bpf). The integration of BSD into Solaris was also as a
cloning device (/dev/bpf.)
On all of the above systems, the code in common/bpf.c that looks for
/dev/bpf0 will fail. To operate, each of the above platforms needs to
patch the code in common/bpf.c with a patch similar to the below URL
or the attached patch.
It would be of great benefit if this patch (and accompanying changes
to configure) could be brought into the various patch releases, such
as 3.0, 4.1, etc.
Without this patch, the ISC dhcp software does not function "out of the box"
on any of the above mentioned systems.
Darren
http://cvsweb.netbsd.org/bsdweb.cgi/src/dist/dhcp/common/bpf.c.diff?r1=1.8&r2=1.9&only_with_tag=MAIN&f=h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bpf.c.patch
URL: <https://lists.isc.org/pipermail/dhcp-hackers/attachments/20110228/2db820e2/attachment.ksh>
More information about the dhcp-hackers
mailing list