Package: kea-dhcp4-server
Version: 2.2.0-6
Hi, this version (and from what I believe all versions) of kea-dhcp4-server (and probably kea-dhcp6-server) handles vlan tagged traffic in a quite unintuitive way. When the server is set up in raw socket mode it will accept all
broadcasted DHCP requests regardless of VLAN tagging. It will then send a response untagged, again regardless of initial VLAN tag. See below for a packet
trace where this happens.
This has been reported to the ISC team quite some time ago here: https://gitlab.isc.org/isc-projects/kea/-/issues/1117.
A patch has been provided to the ISC team which they have not applied (I can't
say why): https://github.com/isc-projects/kea/pull/119.
The file that is patched has been more or less unchanged since the patch was created and should still apply (it did for me on 2.2.0-6).
This behavior was not present in isc-dhcp-server as they filtered out VLAN tagged broadcasts from what I can tell, so the behavior is changed between the
two DHCP server services.
As I see it there are two things that shouldn't happen here:
1. A DHCP server not explicitly configured to listen to VLAN traffic should not
respond to that traffic.
2. If a DHCP server answers DHCP broadcasts on a VLAN tagged network it should
respond on the same VLAN network.
My suggestion would be to include the patch (https://github.com/isc-projects/kea/pull/119)
to filter out any tagged traffic, as this is inline with how dhcpd from isc-dhcp-server worked.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 13:02:04 |
Calls: | 6,706 |
Files: | 12,237 |
Messages: | 5,351,021 |