Thread View: linux.debian.bugs.dist
3 messages
3 total messages
Started by Marc Haber
Mon, 16 Nov 2026 15:20
Bug#1148882: ferm: ferm-early needs support for DHCPv6
Author: Marc Haber
Date: Mon, 16 Nov 2026 15:20
Date: Mon, 16 Nov 2026 15:20
10 lines
2551 bytes
2551 bytes
On Fri, Sep 25, 2026 at 09:27:58AM +0200, David Härdeman wrote: > I did a quick and dirty test by downloading only debian/ferm-early.conf from > that branch and putting it in /etc/ferm/ferm-early.conf (also removed my > local modifications) followed by a reboot. It seems to work as expected > (DHCPv6 lease obtained quickly, boot wasn't delayed). Should we also allow DHCPv4 in the early rule set? Greetings Marc
Bug#1148882: ferm: ferm-early needs support for DHCPv6
Author: David Härdeman
Date: Wed, 18 Nov 2026 00:10
Date: Wed, 18 Nov 2026 00:10
23 lines
3050 bytes
3050 bytes
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
Bug#1148882: ferm: ferm-early needs support for DHCPv6
Author: Marc Haber
Date: Wed, 18 Nov 2026 17:30
Date: Wed, 18 Nov 2026 17:30
27 lines
3293 bytes
3293 bytes
On Wed, Nov 18, 2026 at 12:58:28AM +0100, David Härdeman wrote: > 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. Thank you for being patient and repeating the explanation you already gave in the very first bug report. I apologize for letting this slip from my attention. I have writtn an explicit comment in the example rulesets to avoid myself (and probably users) from missing this again. > In normal renew (T1), clients use unicast UDP, which is already covered > by ESTABLISHED. Even if the lease time is VERY long? Anyway, whoever falls into that pit is now encouraged to write a bug report. It is a pleasure working with you. Greetings Marc
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads