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 <[email protected]> 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 <[email protected]>
>
> PS: the bootp hook must be loaded before the lease query hook: they are
> called
> in the order they are configured / loaded.
>
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected]

Reply via email to