[Kea-users] Kea logging if request invalid
Peter Davies
peter.watson.davies at outlook.com
Thu Jan 6 09:13:27 UTC 2022
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 <kea-users-bounces at lists.isc.org> on behalf of Joe Botha <joe at swimgeek.com>
Sent: 05 January 2022 18:45
To: kea-users at lists.isc.org <kea-users at lists.isc.org>
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
Kea-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220106/685592c2/attachment.htm>
More information about the Kea-users
mailing list