Skip to content

Services: Kea DHCPv4/6: Add decline_probation_period and set lower default to mitigate faulty client implementations to consume the whole pool#10294

Merged
Monviech merged 3 commits into
masterfrom
kea-decline-probation
May 12, 2026
Merged

Services: Kea DHCPv4/6: Add decline_probation_period and set lower default to mitigate faulty client implementations to consume the whole pool#10294
Monviech merged 3 commits into
masterfrom
kea-decline-probation

Conversation

@Monviech
Copy link
Copy Markdown
Member

@Monviech Monviech commented May 12, 2026

Important notices

Before you submit a pull request, we ask you kindly to acknowledge the following:

If AI was used, please disclose:

  • Model used:
  • Extent of AI involvement:

Describe the problem

A faulty client implementation can cycle through all available leases in a pool, all declined addresses will be reserved for 24 hours with the current defaults.


Describe the proposed solution

Add:
https://kea.readthedocs.io/en/latest/arm/dhcp4-srv.html#duplicate-addresses-dhcpdecline-support
https://kea.readthedocs.io/en/latest/arm/dhcp6-srv.html#duplicate-addresses-dhcpdecline-support

Set a lower default to 10 minutes. In very large networks this might need to be increased, but for default /24 networks this seems to be a good default.


Related issue

Fixes: #10285
Fixes: https://forum.opnsense.org/index.php?topic=51324.45

…fault to mitigate faulty client implementations to consume the whole pool.
@Monviech Monviech requested a review from fichtner May 12, 2026 09:19
@Monviech Monviech self-assigned this May 12, 2026
@Monviech Monviech added the feature Adding new functionality label May 12, 2026
@Monviech Monviech merged commit b80995f into master May 12, 2026
@Monviech Monviech deleted the kea-decline-probation branch May 12, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Adding new functionality

Development

Successfully merging this pull request may close these issues.

Expose decline-probation-period (and related timing/reclamation knobs) in Kea DHCPv4 settings

1 participant