log information from ACK packet (options 43, 138)

Ivan Revyakin Ivan.Revyakin at gmail.com
Thu Apr 20 08:37:14 UTC 2017


Hello!

I can log to the logfile info inside Request packets come from client
(hardware, ip, etc) like this:

set ipv4 = binary-to-ascii ( 10, 8, ".", leased-address );
> set macaddr = binary-to-ascii ( 16, 8, ":", suffix( option
> dhcp-client-identifier, 6 ) );
> log ( info, concat ( "client: ", ipv4, " (", macaddr, ")" ) );
>

But how to log data inside ACK packets sent to client?
For example: Option 43 or Option 138.

Thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20170420/64541fde/attachment.html>


More information about the dhcp-users mailing list