Sntp

From l7protocols
Jump to navigation Jump to search

NTP is Network Time Protocol, as defined in RFC 1305. SNTP is Simple Network Time Protocol, as defined in RFC 2030. These are commonly used to keep computers' clocks in sync.

Identification

Ports

(S)NTP servers usually run on UDP port 123.

Packet Length

NTP packets are always 48 bytes long.

l7-filter

l7-filter uses the ntp pattern. NTP packets are purely binary data and contain very little identifying information. Therefore, in order for the l7-filter pattern to reliably match NTP, the pattern had to be written in such a way that it sometimes also matches random traffic from other binary protocols. Be cautious when using this pattern.

See also