BPF on Solaris?

Erik Alapää alapaa at operax.com
Tue Sep 13 13:09:46 UTC 2005


I have used the ISC relay code as a starting point for developing a
special-purpose DHCP proxy that communicates DHCP info to an external
LDAP server. I have made some modifications to the BPF and LPF code -
using libpcap, I compile new packet filters at startup in order to
filter certain IP addresses etc.

Now my question: Under Solaris, code in dlpi.c seems to be used
instead of the Berkeley packet filtering. Is it possible to configure
a Solaris server with BPF support and compile the ISC relay to use
BPF instead of DLPI? Otherwise, I have to learn DLPI and modify that
packet filtering code as well :(  (My DHCP proxy is required to support
Solaris and Red Hat Enterprise Linux). Another engineer at our firm
talked about using BPF on Sun machines long ago, but at least back
then, it was quirky and/or unreliable.


Best regards,

/Erik Alapää

--
Erik Alapää
Software Engineer M. Sc., Lic. Ind. Math.

Aurorum Science Park 8
SE 997 75 Luleå
Sweden

+46 70 535 17 14 (mobile)
+46 920 75510  (fax)

http://www.operax.com


More information about the dhcp-hackers mailing list