Skip to content

Conversation

@erin-desu
Copy link

odhcpd currently only sends DHCPv4 lease events over U-Bus. For DHCPv6 the only option was to use a trigger hook script and then parse a lease file and diff it against previous version.

This made it very inconvenient to use in cases like adding DHCP hosts to DNS server and the behavior is also inconsistent with DHCPv4 counterpart. Format of the U-Bus message is based on reply of ipv6leases U-Bus method.

This patch is largely based on mikma@b796d61

odhcpd currently only sends DHCPv4 lease events over U-Bus. For DHCPv6
the only option was to use a trigger hook script and then parse a lease
file and diff it against previous version.

This made it very inconvenient to use in cases like adding DHCP hosts to
DNS server and the behavior is also inconsistent with DHCPv4 counterpart.
Format of the U-Bus message is based on reply of `ipv6leases` U-Bus
method.

This patch is largely based on mikma@b796d61
Signed-off-by: Erin Kalousková <erin.kalouskova@nic.cz>
@Noltari
Copy link
Member

Noltari commented Jan 13, 2026

@erin-desu there are conflicts with current master, so this branch has to be rebased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants