[Kea-users] Kea and malformed Vendor Class options

Sutherland, Rob RSutherland at BroadViewNet.com
Tue Nov 8 20:40:40 UTC 2016


I'm currently evaluating Kea and I have noticed that it will not accept packets from devices with a malformed Vendor Class option (option 124). Older Mitel phones  encode this with 4 bytes, not 5.

e.g. newer ("good"): 7c 05 00 00 04 03 00
older ("bad"): 7C 04 00 00 04 0

7C = 124, of course, and "04 03" is 1027, the Mitel enterprise ID.

Any packet with the "bad" form triggers this error message:

2016-11-08 15:32:17.930 DEBUG [kea-dhcp4.bad-packets/27557] DHCP4_PACKET_DROP_0001 failed to parse packet from 10.200.200.1 to 10.200.107.32, received over interace eth1, reason: parsed Vendor Class option data truncated to size 4

Note: yes, "interace". From dhcp4_messages.cc

Suggestions?

Thanks in advance,

Rob

Rob Sutherland
Senior Software Developer
rsutherland at broadviewnet.com<mailto:rsutherland at broadviewnet.com>
p: 613-280-2008 (Canada)
p: 973-848-8811 (US)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20161108/7393dd52/attachment.htm>


More information about the Kea-users mailing list