Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. log information from ACK packet (options 43, 138) (Ivan Revyakin) ---------------------------------------------------------------------- Message: 1 Date: Thu, 20 Apr 2017 11:37:14 +0300 From: Ivan Revyakin <ivan.revya...@gmail.com> To: dhcp-users@lists.isc.org Subject: log information from ACK packet (options 43, 138) Message-ID: <cao7crbjuxwzhsi28feoxgmd23dcpjdcoupwupxuumwwoyar...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" 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-0001.html> ------------------------------ Subject: Digest Footer _______________________________________________ dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 102, Issue 7 ******************************************