[Kea-users] (no subject)

Darren Ankney darren.ankney at gmail.com
Tue Jun 9 19:41:20 UTC 2026


Hi,

This is normal.  You can log option 82 data in Kea using the forensic
logging hook: https://kea.readthedocs.io/en/kea-3.0.2/arm/hooks.html#libdhcp-legal-log-so-forensic-logging.
If you spend a lot of time, you could probably create logs that look
very much like what you were getting with your conditional log from
ISC DHCP.

Thank you,
Darren Ankney

On Tue, Jun 9, 2026 at 3:01 PM JT ISC <jtisc88 at gmail.com> wrote:
>
> Hello,
>
> I have an issue or possibly have an issue with the Kea Migration Tool on part of a config.
>
> I have the following in dhcpd that help identify per subnet what Site is sending DHCP requests -
>
> if exists agent.circuit-id
>         {
>         log (error,concat("Lease for ",binary-to-ascii (10, 8, ".",
>         leased-address)," is connected to ", option agent.circuit-id));
>         }
>
> When Kea Migration Tool converts the dhcpd config to Kea format, it comments the converted section out -
>
> //      "statement": {
> //        "if": {
> //          "condition": {
> //            "exists": {
> //              "universe": "agent",
> //              "name": "circuit-id",
> //              "code": 1
> //            }
> //          },
> //          "then": [
> //            {
> //              "log": {
> //                "priority": "error",
> //                "message": {
> //                  "concat": {
> //                    "left": "Lease for ",
> //                    "right": {
> //                      "concat": {
> //                        "left": {
> //                          "binary-to-ascii": {
> //                            "base": 10,
> //                            "width": 8,
> //                            "separator": ".",
> //                            "buffer": {
> //                              "leased-address": null
> //                            }
> //                          }
> //                        },
> //                        "right": {
> //                          "concat": {
> //                            "left": " is connected to ",
> //                            "right": {
> //                              "option": {
> //                                "universe": "agent",
> //                                "name": "circuit-id",
> //                                "code": 1
> //                              }
> //                            }
> //                          }
> //                        }
> //                      }
> //                    }
> //                  }
> //                }
> //              }
> //            }
> //          ]
> //        }
> //      },
>
> Is this normal and the correct configuration to uncomment and use?
>
> Thank you!
>
>
> --
> 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.
> Kea-users at lists.isc.org


More information about the Kea-users mailing list