Ronald, There is another way to log these if you're willing to write some code or a script. The run_script hook (https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#run-script-run-script-support-for-external-hook-scripts) takes the path of an executable to run, and then passes it information about packets received through environment variables. Option 82 is one of the few that is passed to the program, so writing something to log it is fairly straightforward. Otherwise, writing a fully featured hook to log the option data is very possible, if you can't afford the legal logging hook.
Eric Graham DevOps Specialist Direct: 605.990.1859 eric.gra...@vantagepnt.com<mailto:eric.gra...@vantagepnt.com> [cid:590a2152-6a12-4370-a2d4-82e7f99bdab0] ________________________________ From: Kea-users <kea-users-boun...@lists.isc.org> on behalf of Darren Ankney <darren.ank...@gmail.com> Sent: Tuesday, June 20, 2023 4:36 AM To: DDFR | Ronald Blaas <ronald.bl...@ddfr.nl> Cc: kea-users@lists.isc.org <kea-users@lists.isc.org> Subject: Re: [Kea-users] Using option82 (isc-kea) CAUTION: This email originated outside the organization. Do not click any links or attachments unless you have verified the sender. Hi Ronald, There are two ways to log this. 1) log kea-dhcp4.packets at debug severity. I'm not exactly sure what level option 82 begins to appear but I believe it to be 50+ 2) Use the forensic logging hook: https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#legal-log-forensic-logging Thank you, Darren Ankney On Mon, Jun 19, 2023 at 8:02 AM DDFR | Ronald Blaas <ronald.bl...@ddfr.nl> wrote: > > Hi all, > > I have been searching and searching but could not find an answer to satisfy > my needs. > > I am new in using kea-dhcp. > I have a working setup using reservations with option 82 (circuit id). > But What I would like is that I can see the circuit-id in plain text in the > log file and lease file. > > How do I accomplish this? > > I am using Ubuntu 22.04 with the repository from cloudsmith.io > > Any insight is appriciated > > Regards, > > Ron > -- > 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 mailing list > Kea-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/kea-users -- 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 mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users
-- 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 mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users