Time protocol (rfc 868), Daytime protocol (rfc 867) – Symmetricom S100 User Manual

Page 97

Advertising
background image

S100 User Guide – Rev. D – June 2005

89

2

5

3

will run the odd parity (9600,8,o,1) version of the protocol. The currently available versions of
the protocol are:

sysplex (9600,8,n,1)

sysplexoddp (9600,8,o,1)

sysplexnof (9600,8,n,1) with the 'F' (see sysplex definition) suppressed.

sysplexoddpnof (9600,8,o,1) with the 'F' (see sysplex definition) suppressed.

The SYSPLEX_OPTIONS environment variable can be set to either "on" or blank. A value of
"on" will result in the sysplex protocol broadcast being automatically started instead of waiting
for a start character. An empty or blank value will not.

Note:

NOTE: The sysplex daemon must be restarted in order for the changes to take effect. The

easiest way to do this is to reboot the box using either the web interface or the reboot com-
mand. If there are any problems, a copy of the factory profile is kept in the /etc directory with
the name .ss_profile.original . The factory settings may be restored by copying the backup file
over the modified version using:

cp /etc/.ss_profile.original /etc/.ss_profile

Time Protocol (RFC 868)

This protocol provides a site-independent, machine-readable date and time. The time service
on the S100 responds to the originating source with the time in seconds since midnight of
January 1, 1900. The time is the number of seconds since 00:00 (midnight) January 1, 1900
GMT. So the time “1” is 12:00:01 A.M. on January 1, 1900 GMT. This base will serve until the
year 2036.

If the server is unable to determine the time, it either refuses the connection or it closes the
connection without sending any response.

When used over the Transmission Control Protocol (TCP), the S100 listens for a connection
on port 37; once the connection is established, the server returns a 32-bit time value and
closes the connection. When used over the User Datagram Protocol (UDP), the S100 listens
for a datagram on port 37. When a datagram arrives, the S100 returns a datagram containing
the 32-bit time value.

For additional information, see

http://www.faqs.org/rfcs/rfc868.html

Daytime Protocol (RFC 867)

The Daytime protocol sends the current date and time as a character string without regard to
the input.

When used over TCP, the S100 listens for a connection on port 13; once a connection is
established the current date and time is sent out as an ASCII character string. The service
closes the connection after sending the quote.

Advertising