#[repr(u32)]pub enum KissOfDeath {
Deny = 1_145_392_729,
Rstr = 1_381_192_786,
Rate = 1_380_013_125,
}Expand description
If the Stratum field is 0, which implies unspecified or invalid, the Reference Identifier field can be used to convey messages useful for status reporting and access control. These are called Kiss-o’-Death (KoD) packets and the ASCII messages they convey are called kiss codes.
The KoD packets got their name because an early use was to tell clients to stop sending packets that violate server access controls. The kiss codes can provide useful information for an intelligent client, either NTPv4 or SNTPv4. Kiss codes are encoded in four-character ASCII strings that are left justified and zero filled. The strings are designed for character displays and log files.
Recipients of kiss codes MUST inspect them and, in the following cases, take the actions described.
Variants§
Deny = 1_145_392_729
The client MUST demobilize any associations to that server and stop sending packets to it.
Rstr = 1_381_192_786
The client MUST demobilize any associations to that server and stop sending packets to it.
Rate = 1_380_013_125
The client MUST immediately reduce its polling interval to that server and continue to reduce it each time it receives a RATE kiss code.
Trait Implementations§
Source§impl Clone for KissOfDeath
impl Clone for KissOfDeath
Source§fn clone(&self) -> KissOfDeath
fn clone(&self) -> KissOfDeath
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more