Article 6XZ3C dhcpd(8): use UDP sockets instead of BPF

dhcpd(8): use UDP sockets instead of BPF

by
from OpenBSD Journal on (#6XZ3C)
In some cases, the currentdhcpd(8)is not quite as reliable as one would want in providing the requesteddata to the actual requestor.After some rounds of discussion and experimentation,David Gwynne (dlg@) is circulating adiffon tech@ that switches the daemon to useUDPsockets instead ofbpf.

The motivation is summarized as,

tl;dr this replaces bpf with udp sockets in dhcpd, mostly to make itbetter at replying with the ip that requests were sent to.

and the full message,with the subject dhcpd(8): use UDP sockets instead of BPF reads,

List: openbsd-techSubject: dhcpd(8): use UDP sockets instead of BPFFrom: David Gwynne <david () gwynne ! id ! au>Date: 2025-06-13 3:29:20tl;dr this replaces bpf with udp sockets in dhcpd, mostly to make itbetter at replying with the ip that requests were sent to.ive been hacking on this because of a problem at work, which i want tosolve by setting up a bunch of "anycast" dhcp servers. ie, i want tohave multiple dhcpd on separate servers with the same IP assignedas an alias on all of them.

Read more...

External Content
Source RSS or Atom Feed
Feed Location http://undeadly.org/cgi?action=rss
Feed Title OpenBSD Journal
Feed Link http://undeadly.org/
Reply 0 comments