[Kea-users] KEA handling malformed packets
Marcin Jurczuk
spock at omegastar.eu
Mon Dec 1 19:49:20 UTC 2025
Francis,
I did experiment loaded bootp hook and it worked with following DEBUG
message:
kea4 | DEBUG BOOTP_PACKET_OPTIONS_SKIPPED an error unpacking an option,
caused subsequent options to be skipped: Option parse failed. Tried to
parse 161 bytes from 158-byte long buffer.
However rest of processing was succeded and device became online.
Is this something stable, that can be trusted to work with on some
production environment ?
Thanks!
pon., 1 gru 2025 o 16:44 Francis Dupont <fdupont at isc.org> napisał(a):
> Something which perhaps works: load the other standard hook which unpacks/
> parses incoming packets and handles lenient pasrsing: the bootp hook.
> It will throw on malformed packets: not a very good thing as hooks are not
> supposed to throw but the exception is caught and processing continues with
> the partially parsed packet. BTW I am interested by this experiment so
> if it works or not can you answer to this message?
>
> Thanks
>
> Francis Dupont <fdupont at isc.org>
>
> PS: the bootp hook must be loaded before the lease query hook: they are
> called
> in the order they are configured / loaded.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20251201/f217d0fa/attachment.htm>
More information about the Kea-users
mailing list