Hi Joe,
   You could try something like:
...
[ { "name": "kea-dhcp4",
        "output_options": [
        { "output": "/var/log/kea/kea-dhcp6.log",
            "flush": true }],
        "severity": "INFO"},
  { "name": "kea-dhcp6.bad-packets",
        "output_options": [
        { "output": "/var/log/kea/kea-dhcp6-bad-packet.log",
            "flush": true }],
        "severity": "DEBUG",
        "debuglevel": 99 }
        ]
...

Change the value of  "debuglevel" as appropriate.

/Peter

Sent from Outlook<http://aka.ms/weboutlook>
________________________________
From: Kea-users <[email protected]> on behalf of Joe Botha 
<[email protected]>
Sent: 05 January 2022 18:45
To: [email protected] <[email protected]>
Subject: [Kea-users] Kea logging if request invalid

Hi!

We're running Kea 2.0.1 on Debian 11.

We ran into an issue where a DHCPv6 request comes in but
nothing gets logged.

When enabling debugging, it said something like: "unable
to parse the opaque data tuple, the buffer length is 12,
but the tuple length is 3072" - so we set a compatibility
flag and things worked again.

My question is: in what state can I leave the logging -
non-debug mode, where I can spot something in the logs if
a DHCP packet is rejected / dropped?

--
Swimmingly,
 Joe

swimgeek.com/blog  +27 82 562 6167  instagram.com/joe.swimgeek
      "...all progress depends on the unreasonable man.”



_______________________________________________
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
[email protected]
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to