log information from ACK packet (options 43, 138)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

log information from ACK packet (options 43, 138)

Ivan Revyakin
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
 

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users