[Dnsmasq-discuss] Failing to get DHCP responses on OpenBSD

Geert Stappers stappers at stappers.nl
Sun Dec 8 10:27:56 GMT 2019

On Sun, Dec 08, 2019 at 01:29:45AM +0200, Fabian wrote:
> I was playing around a bit more with fstat and netstat and noticed one
> difference between dhcpd and dnsmasq - dhcpd binds to bpf (Berkeley
> Packet Filter) and not a datagram socket like dnsmasq does. I
> definitely see a UDP datagram coming in for port 67 with tcpdump when
> dhcpd is running and it is replying instantly with a UDP datagram. So
> something makes the bpf socket see the traffic while the datagram
> socket does not?
> OTOH, why would I be the only OpenBSD user that has that issue? Maybe
> there is some fancy OpenBSD security mechanism that I am not aware of?
> When I run dnsmasq for testing, I am running as root. Running it with
> the regular rc scripts, it runs with user _dnsmasq. I am getting the
> same behavior from dnsmasq in both cases however.

Time will tell how many OpenBSD users report here[1] "works for me"

I think it is wise to check meanwhile OpenBSD communities
for success story with dnsmasq.

Geert Stappers
[1] this mailinglist   with it is mailinglist archive
Leven en laten leven

More information about the Dnsmasq-discuss mailing list