The Nerdy Sixty | (50/60) Daytime Protocol | Solution

Before modern NTP, an older protocol on TCP/UDP port 13 would return the current time. How can you query it?

Hint 1: Try using telnet or nc to connect to time.nist.gov on port 13.

Hint 2: `nc time.nist.gov 13` will print the current date/time string.

 

Solution:

The Daytime service (RFC 867) listens on TCP/UDP port 13. For example, running `telnet time.nist.gov 13` or `nc time.nist.gov 13` will output the current date and time from the NIST server in a simple text format. It’s a predecessor to more complex time-sync protocols.

 

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress Cookie Notice by Real Cookie Banner