base/protocols/ntp/main.zeek
- NTP
- Namespace:
NTP
Summary
Redefinable Options
Well-known ports for NTP. |
Types
The record type which contains the column fields of the NTP control log. |
|
The record type which contains the column fields of the NTP private log. |
Redefinitions
|
Events
Event that can be handled to access the NTP record as it is sent on to the logging framework. |
|
Event that can be handled to access the NTP control record. |
|
Event that can be handled to access the NTP private record. |
Hooks
Detailed Interface
Redefinable Options
- NTP::ports
-
Well-known ports for NTP.
Types
- NTP::ControlInfo
- Type:
- Fields:
The record type which contains the column fields of the NTP control log. For more in-depth documentation, see
NTP::ControlMessage.
- NTP::Info
- Type:
- Fields:
-
-
ref_id:
string&log For stratum 0, 4 character string used for debugging. For stratum 1, ID assigned to the reference clock by IANA. Above stratum 1, when using IPv4, the IP address of the reference clock. Note that the NTP protocol did not originally specify a large enough field to represent IPv6 addresses, so they use the first four bytes of the MD5 hash of the reference clock’s IPv6 address (i.e. an IPv4 address here is not necessarily IPv4).
-
ref_id:
- NTP::PrivateInfo
- Type:
- Fields:
The record type which contains the column fields of the NTP private log. For more in-depth documentation, see
NTP::Mode7Message.
Events
- NTP::log_ntp
-
Event that can be handled to access the NTP record as it is sent on to the logging framework.
- NTP::log_ntp_control
- Type:
event(rec:NTP::ControlInfo)
Event that can be handled to access the NTP control record.
- NTP::log_ntp_private
- Type:
event(rec:NTP::PrivateInfo)
Event that can be handled to access the NTP private record.