opnsense / core

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

KEA DHCP reservations - malformed MAC address check #7765

Open BdennisB opened 1 month ago

BdennisB commented 1 month ago

I had made a mistake and had inserted malformed MAC address reserving an IP address for KEA DHCP. Using a - instead a : as a separator the entire DHCP service refused to renew any IP address renewal requests. All of my clients one by one dropped off of the network as a result from that. Log file reported it correctly.

To reproduce it go to services - Kea DHCP (new) - reservations. Click on ADD and in the field MAC address use - io :.

I would at least expect to see a validation check being done to avoid DHCP service to start misbehaving.

Hope this helps.

OPNsense-bot commented 1 month ago

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.