<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Joe,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
You could try something like:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[ { "name": "kea-dhcp4",
<div> "output_options": [</div>
<div> { "output": "/var/log/kea/kea-dhcp6.log",</div>
<div> "flush": true }],</div>
<div> "severity": "INFO"},</div>
<div> { "name": "kea-dhcp6.bad-packets",</div>
<div> "output_options": [</div>
<div> { "output": "/var/log/kea/kea-dhcp6-bad-packet.log",</div>
<div> "flush": true }],</div>
<div> "severity": "DEBUG",</div>
<div> "debuglevel": 99 }</div>
]<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Change the value of "debuglevel" as appropriate.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/Peter</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
Sent from <a href="http://aka.ms/weboutlook">Outlook</a></div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<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 Joe Botha <joe@swimgeek.com><br>
<b>Sent:</b> 05 January 2022 18:45<br>
<b>To:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> [Kea-users] Kea logging if request invalid</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi!<br>
<br>
We're running Kea 2.0.1 on Debian 11.<br>
<br>
We ran into an issue where a DHCPv6 request comes in but<br>
nothing gets logged.<br>
<br>
When enabling debugging, it said something like: "unable<br>
to parse the opaque data tuple, the buffer length is 12,<br>
but the tuple length is 3072" - so we set a compatibility<br>
flag and things worked again.<br>
<br>
My question is: in what state can I leave the logging -<br>
non-debug mode, where I can spot something in the logs if<br>
a DHCP packet is rejected / dropped?<br>
<br>
-- <br>
Swimmingly,<br>
Joe<br>
<br>
swimgeek.com/blog +27 82 562 6167 instagram.com/joe.swimgeek<br>
"...all progress depends on the unreasonable man.”<br>
<br>
<br>
<br>
_______________________________________________<br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</div>
</span></font></div>
</body>
</html>