On Mon, Nov 16, 2026 at 04:09:45PM +0100, Marc Haber wrote:
>Should we also allow DHCPv4 in the early rule set?
In theory, yes. In reality, I think it's not necessary.
ferm-early covers the early boot. All clients that I'm aware of use
AF_PACKET sockets for the initial phase (because the client has no
address yet), and AF_PACKET bypasses ferm.
In normal renew (T1), clients use unicast UDP, which is already covered
by ESTABLISHED.
In rebinding (T2), clients could in theory be implemented in different
ways, but realistically, it doesn't seem relevant for two reasons:
(1) real clients use packet sockets
(2) to reach this state, they would already have to have an address,
*and* that address has to expire with no reply from a DHCPv4
server, so ferm-early should be well and truly over
--
David Härdeman