opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.31k stars 738 forks source link

Kea - leases tab - duplicate entries #7136

Closed ronin3510 closed 8 months ago

ronin3510 commented 9 months ago

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

Hi Ad,

WiFi power save or AP roaming creates multiple entries as a new lease is generated even though existing one is still valid.

To Reproduce

The fastest way to reproduce it in Virtualbox is to "disconnect/reconnect the cable" to trigger DHCP - else wired connections are less likely to expose the issue

Expected behavior

An existing lease should be reused while valid without creating a new lease (when the MAC is not randomized)

Describe alternatives you considered

Old ISC client exists and Kea is functional as is - just a bit messy to look at for now

Screenshots

DuplicateLeases1 DuplicateLeases2

Relevant log files

Can add if needed, screenshots should suffice though

Additional context

Most of the devices in the screenshots have DHCP reservations and the others don't randomize the MAC on reconnect.

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 24.1.r_3 (amd64)

ronin3510 commented 8 months ago

Confirmed, thank you