[Kea-users] kea-dhcp6 packet-level debugging help
Veronique Lefebure
Veronique.Lefebure at cern.ch
Thu Dec 19 08:21:44 UTC 2024
Hi,
If you set
"loggers": [
[...]
{
"debuglevel": 99,
"name": "kea-dhcp6.packets",
"severity": "DEBUG"
},
Then you should have a log such as:
2024-12-19 09:12:54.686 INFO [kea-dhcp6.packets/xx.xx] DHCP6_PACKET_RECEIVED duid=[00:01:xxxxxxxxxxxx], [no hwaddr info], tid=xx: SOLICIT (type 1) received from xxxx to xxx on interface eth1
Together with the content of the packet
msg_type=SOLICIT (1), trans_id=xx,
options:
type=00001, len=00014: 00:01:xxxxxxxxxxxxxxx
type=00003(IA_NA), len=00012: iaid=xx, t1=0, t2=0
[...]
________________________________
From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of Templin (US), Fred L via Kea-users <kea-users at lists.isc.org>
Sent: Wednesday, December 18, 2024 5:34 PM
To: Kea user's list <kea-users at lists.isc.org>
Cc: Templin (US), Fred L <Fred.L.Templin at boeing.com>
Subject: [Kea-users] kea-dhcp6 packet-level debugging help
Hello, I am writing a little program that acts like a DHCPv6 client and talks to the kea-dhcp6
server over a dedicated virtual Ethernet interface pair. Since I am crafting the DHCPv6 client
side packets locally, I would like to set UDP checksum to 0 so I don't have to bother with
the Internet checksum. But, kea-dhcp6 seems to be ignoring my packets.
Will kea-dhcp6 accept DHCPv6 Solicit messages with UDP checksum set to 0? And, does it
have a debug facility that prints per-packet processing statistics? Right now, when I run with
the "-d" flag set, I see nothing in the logfile when the suspect DHCPv6 Solicit message is
sent - it seems like I should see something if kea-dhcp6 receives the packet, shouldn't it?
Thank you - Fred
--
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/20241219/4afedfb4/attachment-0001.htm>
More information about the Kea-users
mailing list