> 31 jan. 2017 kl. 20:55 skrev Tomek Mrugalski <[email protected]>: > > W dniu 27.01.2017 o 15:11, Torbjörn Eklöv pisze: >> Hi list, I’m testing kea-dhcp6 with prefix delegation but I can’t get >> the server log the option 18 and 37. I can see both ia_na and ia_pd >> logged but not my options. What am i missing? It’s KEA 1.1 built with >> this option - ./configure --enable-logger-check --with-openssl >> --with-dhcp-mysql --enable-debug > Those options are not typically logged. If you enable debug level 45 or > larger, then both incoming and outgoing packets are going to be logged. > That will include interface-id (18) and remote-id (37). Be aware that it > may be a lot of logs. >
Thanks. It’s for traceability I wan’t it. I have tried ”normal” dhcpd but the dhcp6.interface-id dhcp6.remote-id don’t get logged when there is a dhcpv6 relay in the path. The options is in the dhcpv6 message but log ( info, concat ( "remote-id - ", binary-to-ascii(16, 8, ":", option dhcp6.remote-id ) )) ; don’t log anything. I’ll try the debug level and the hook library. /Tobbe > Another option you may consider is the forensic logging hook library > logs option 37 if present. See section 13.3.2 > (https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#idp1376099460). > It does not log interface-id (option 18), but it's a minor change. We > can add it quickly if a customer requests it. > > If neither of those approaches work for you, you can develop your own > hook library that would print out those two specific options, along with > whatever extra information you need. > > Hope that helps, > Tomek > _______________________________________________ > Kea-users mailing list > [email protected] > https://lists.isc.org/mailman/listinfo/kea-users Torbjörn Eklöv | Interlan Gefle AB Norra Kungsgatan 5, 803 20 Gävle Växel: 026-18 50 00 | Direkt: 070-683 51 75 http://www.dnssecandipv6.se "Ever since I can remember I always wanted to use IPv6. To me that was better than being president of the United States. To use IPv6 was to own the world."
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
