#5551·zeek

Improve NTPv4 extension parsing and introduce dedicated extension event

Author: awelzelCreated Jun 8, 2026Updated Sep 28, 2026
LabelsGood First Issue

On the topic of NTP extension parsing in #5549, it was found that the NTP parser today always assumes RFC5906 Autokey extensions, rather than checking their type first. There's also no dedicated event for NTP extensions.

RFC8915 from 2020 is a fairly new and leverages extensions differently than RFC5906, so adding support would be a good opportunity to clean up the parser a bit and also introduce a nice ntp_extension() or ntp_extensions() event that provides access to extensions from Zeek script land similar to ssl_extension() or so.