<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
We're using the legal log hook:</div>
<div style="line-height: 19px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
"hooks-libraries": [</div>
<div style="line-height: 19px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
    {</div>
<div style="line-height: 19px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
        "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_legal_log.so"</div>
<div style="line-height: 19px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
    },</div>
<div style="line-height: 19px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
]</div>
<div style="line-height: 19px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
<br>
</div>
<div style="line-height: 19px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
Then, in /var/log/kea/kea-legal.<YYYYMMDD>.log, we see the circuit/remote id info:<br>
<br>
2025-10-30 23:59:49 UTC Address: REDACTED has been assigned for 1 days 0 hrs 0 mins 0 secs to a device with hardware address: hwtype=1 REDACTED connected via relay at address: REDACTED, identified by circuit-id: REDACTED (REDACTED) and remote-id: REDACTED (REDACTED),
 context: { "ISC": { "client-classes": [ REDACTED ] } }</div>
<div style="line-height: 19px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
<br>
<br>
We gave the IPv6 side a different name (or maybe the docs say to do this, idr):<br>
"hooks-libraries": [</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
    {</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
        "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_legal_log.so",</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
        "parameters": {</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
            "base-name": "kea-forensic6"</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
        }</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
    },</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
]</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
<br>
</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
<br>
</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
Thanks,</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
<br>
</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 13pt; color: rgb(23, 78, 134);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>


<br>
<table id="0.hz7mej3tpto" style="width: 397px;" cellspacing="0" cellpadding="0">
  <tbody>
  <tr>
    <td style="font-size: 10pt; width: 397px;" valign="top" colspan="3" class=""><span style="FONT-SIZE: 14pt; FONT-FAMILY: "Gill Sans"; COLOR: rgb(31,94,173)"><b style="FONT-SIZE: 16pt; FONT-FAMILY: Helvetica">Jason Creviston<span style="FONT-SIZE: 12pt"></span></b><br style="COLOR: rgb(31,94,173)"><span style="FONT-SIZE: 12pt; FONT-FAMILY: "Century Gothic"; COLOR: rgb(31,94,173)">Sr. Network Administrator</span><br></span></td></tr>
  <tr>
    <td style="font-size: 8pt; width: 397px;" valign="top" class="" colspan="3"><span style="FONT-SIZE: 8pt; FONT-FAMILY: "Century Gothic"">P: 765-795-9305               </span><span style="FONT-SIZE: 8pt"><span style="FONT-FAMILY: "Century Gothic"">2 S. West Street &#x2013; P.O. Box 237, 
      Cloverdale, IN 461</span></span><span style="FONT-SIZE: 8pt"><span style="FONT-SIZE: 8pt"><span style="FONT-FAMILY: "Century Gothic"">20<br><a class="socialLink" href="https://outlook.office365.com/owa/calendar/JasonCreviston@weendeavor.com/bookings/">Book an appointment with me!</a><br></span></span></span></td>
    </tr>
  <tr>
    <td style="border-width: 1px 0px 0px; font-size: 10pt; border-top-style: solid; border-color: rgb(31, 94, 173) rgb(255, 255, 255) rgb(255, 255, 255); width: 120px; padding: 10px 0px; border-left-style: initial; border-right-style: initial; border-bottom-style: initial;" valign="middle" align="center" class=""><img id="0.7qg23aouu9m" style="" border="0" src="cid:codetwo-signature-logo-endeavor_1c9b8f6f-f797-4b22-a7d8-b9c8f1b0c327.png"></td>
    <td style="border-width: 1px 0px 0px; font-size: 10pt; border-top-style: solid; border-color: rgb(31, 94, 173) rgb(255, 255, 255) rgb(255, 255, 255); width: 120.435px; padding: 10px 0px; border-left-style: initial; border-right-style: initial; border-bottom-style: initial;" valign="middle" align="center" class=""><img id="0.9wyp5hye8oi" style="width: 62px; height: 25px;" border="0" src="cid:codetwo-gigtel-logo2_e109b7e4-b185-40fc-94f2-947f96c612cf.png" width="62" height="25"></td>
    <td style="border-width: 1px 0px 0px; font-size: 10pt; border-top-style: solid; border-color: rgb(31, 94, 173) rgb(255, 255, 255) rgb(255, 255, 255); width: 156.565px; padding: 10px 0px; border-left-style: initial; border-right-style: initial; border-bottom-style: initial; text-align: left;" valign="middle" align="center" class="" colspan="1">    <img id="0.i3a5sauisie" style="" border="0" src="cid:endeavor-it-signature-2_cad37e9b-ad7b-4219-a677-f37914c8d32a.png"><br></td>
     </tr>
  <tr>
    <td style="width: 120px; padding: 5px 0px; font-size: 9pt;" valign="middle" align="center" class=""><a href="http://weendeavor.com/" style="font-size: 9pt; font-family: "Century Gothic";" title="">weEndeavor.com</a></td>
    <td style="width: 120.435px; padding: 5px 0px; font-family: "Century Gothic"; font-size: 9pt;" valign="middle" align="center" class=""><font face="Gill Sans Nova Light, sans-serif" style="font-family: "Century Gothic"; font-size: 9pt;"><span style="font-size: 9pt; font-family: "Century Gothic";"><a title="" href="http://gigtel.com/" style="font-family: "Century Gothic"; font-size: 9pt;">GigTel.com</a></span></font></td>
    <td style="width: 156.565px; padding: 5px 0px; font-family: "Century Gothic"; font-size: 9pt; text-align: left;" valign="middle" align="center" class="" colspan="1">   <a href="http://EndeavorIT.com" title="">EndeavorIT.com</a><br></td></tr>
  <tr>
    <td style="font-size: 8pt; font-family: "Century Gothic"; width: 397px; color: rgb(166, 166, 166); line-height: 9pt;" valign="top" colspan="3" class="">CONFIDENTIALITY NOTICE: The information in this Email 
      and my attachments are confidential and may be privileged. This Email is 
      intended solely for the named recipient or recipients. If you are not the 
      intended recipient, any use, disclosure, copying or distribution of this 
      Email is prohibited. If you are not the intended recipient, please inform 
      us by replying with the subject line "Wrong Address" and then delete this 
      Email and any attachments. Endeavor Communications uses regularly updated 
      anti-virus software in an attempt to reduce the possibility of 
      transmitting computer viruses. We do not guarantee, however, that any 
      attachments to this Email are virus-free. 
</td></tr></tbody></table>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of Tim Nowaczyk <tnowaczyk@hostedbackbone.net><br>
<b>Sent:</b> Wednesday, November 19, 2025 10:56 AM<br>
<b>To:</b> Kea user's list <kea-users@lists.isc.org><br>
<b>Subject:</b> [Kea-users] Logging Option 82 Circuit-id and Remote-id.</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<p style="border:1px; border-style:solid; border-color:#FFFF00; background-color:#ffff00">
<span style="font-size:10.0pt; color:black">CAUTION: This email is from OUTSIDE our organization. Please do not open/download any attachment or click any link unless you know it's safe.</span></p>
<div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello,</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I have a requirement where Ineed to log the details from the DHCP Option-82 field whenever a lease is allocated so that we can go back and see which customer was using a particular IP at a given time. The current output of the DHCP4_LEASE_ALLOC message just
 contains a mapping between MAC address and IP address. Is there a different logging logger name we should be logging that would contain these details? Does anyone have any suggestions on how we can accomplish this?</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
2025-11-19 15:44:13.438 INFO  [kea-dhcp4.leases/160072.131853078283968] DHCP4_LEASE_ALLOC [hwtype=1 00:11:22:33:44:55], cid=[no info], tid=0xdb58de5a: lease 198.51.100.2 has been allocated for 300 seconds</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
We are running Kea 3.0.2</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks,</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Tim Nowaczyk</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-- ‎</div>
<div id="x_Signature">
<table cellpadding="0" cellspacing="0" style="direction:ltr; line-height:normal; background-color:rgb(255,255,255); color:rgb(0,0,0); box-sizing:border-box; border-collapse:collapse; border-spacing:0px">
<tbody>
<tr>
<td align="left" style="direction:ltr; line-height:normal; padding-right:20px; vertical-align:middle">
<div style="direction:ltr; line-height:normal; font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size:0px; color:rgb(0,0,0)">
<img height="80" width="189" style="width:189.09px; height:80px; max-width:189.09px; max-height:80px; min-width:auto; min-height:auto; margin:0px" data-outlook-trace="F:3|T:3" src="cid:94911826-095f-4d86-90eb-98d8edf7a718"></div>
</td>
<td align="left" style="direction:ltr; line-height:normal; padding-top:10px; padding-bottom:10px; vertical-align:middle">
<table cellpadding="0" cellspacing="0" id="x_x_table_1" style="direction:ltr; line-height:normal; width:386.106px; box-sizing:border-box; border-collapse:collapse; border-spacing:0px">
<tbody>
<tr>
<td align="left" style="direction:ltr; line-height:normal; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:16px; color:rgb(0,0,1)">
<span style="font-weight:700">Tim Nowaczyk</span></div>
</td>
<td style="direction:ltr; line-height:normal">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-size:1px; color:rgb(255,255,255)">
<span style="font-family:remialcxesans; line-height:1px; font-weight:700">​</span><span style="font-family:template-WibOyA_OEfCLPQAiSCarSw; line-height:1px; font-weight:700">​</span><span style="font-family:zone-1; line-height:1px; font-weight:700">​</span><span style="font-family:zones-AQ; line-height:1px; font-weight:700">​</span></div>
</td>
</tr>
<tr>
<td align="left" style="direction:ltr; line-height:normal; vertical-align:top">
<table cellpadding="0" cellspacing="0" style="direction:ltr; line-height:normal; white-space:nowrap; color:rgb(128,128,128); box-sizing:border-box; border-collapse:collapse; border-spacing:0px">
<tbody>
<tr>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
<span style="font-weight:700">Director of Networking</span></div>
</td>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
<span style="font-weight:700">, </span></div>
</td>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
<span style="font-weight:700">Hosted Backbone, LLC</span></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="left" style="direction:ltr; line-height:normal; vertical-align:top">
<table cellpadding="0" cellspacing="0" style="direction:ltr; line-height:normal; box-sizing:border-box; border-collapse:collapse; border-spacing:0px">
<tbody>
<tr>
<td align="left" style="direction:ltr; line-height:normal; padding-top:10px; vertical-align:top">
<table cellpadding="0" cellspacing="0" id="x_x_table_0" style="direction:ltr; line-height:normal; white-space:nowrap; color:rgb(128,128,128); box-sizing:border-box; border-collapse:collapse; border-spacing:0px">
<tbody>
<tr>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
<br>
</div>
</td>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
<br>
</div>
</td>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
m: <a title="tel:+16087721766" href="tel:+16087721766">(608) 772-1766</a></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="left" style="direction:ltr; line-height:normal; vertical-align:top">
<table cellpadding="0" cellspacing="0" style="direction:ltr; line-height:normal; white-space:nowrap; color:rgb(128,128,128); box-sizing:border-box; border-collapse:collapse; border-spacing:0px">
<tbody>
<tr>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
e: <a title="mailto:tnowaczyk@hostedbackbone.net" href="mailto:tnowaczyk@hostedbackbone.net">
tnowaczyk@hostedbackbone.net</a></div>
</td>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
 | </div>
</td>
<td align="left" style="direction:ltr; line-height:normal; white-space:nowrap; vertical-align:top">
<div style="direction:ltr; line-height:normal; white-space:nowrap; margin:0px; font-family:Calibri,Arial,sans-serif; font-size:14.67px; color:rgb(128,128,128)">
<a title="https://www.hostedbackbone.net/" class="x_x_x_OWAAutoLink" id="LPlnk689713" href="https://www.hostedbackbone.net/" style="color:rgb(128,128,128); text-decoration:none; margin:0px">w: www.hostedbackbone.net</a></div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
</div>
</div>
</body>
</html>