home *** CD-ROM | disk | FTP | other *** search
/ Handbook of Infosec Terms 2.0 / Handbook_of_Infosec_Terms_Version_2.0_ISSO.iso / text / rfcs / rfc0867.txt < prev    next >
Text File  |  1996-05-07  |  2KB  |  96 lines

  1.  
  2.  
  3. Network Working Group                                          J. Postel Request for Comments: 867                                            ISI                                                                 May 1983 
  4.  
  5.  
  6.  
  7.                             Daytime Protocol 
  8.  
  9.  
  10.  
  11.  This RFC specifies a standard for the ARPA Internet community.  Hosts on the ARPA Internet that choose to implement a Daytime Protocol are expected to adopt and implement this standard. 
  12.  
  13. A useful debugging and measurement tool is a daytime service.  A daytime service simply sends a the current date and time as a character string without regard to the input. 
  14.  
  15. TCP Based Daytime Service 
  16.  
  17.    One daytime service is defined as a connection based application on    TCP.  A server listens for TCP connections on TCP port 13.  Once a    connection is established the current date and time is sent out the    connection as a ascii character string (and any data received is    thrown away).  The service closes the connection after sending the    quote. 
  18.  
  19. UDP Based Daytime Service 
  20.  
  21.    Another daytime service service is defined as a datagram based    application on UDP.  A server listens for UDP datagrams on UDP port    13.  When a datagram is received, an answering datagram is sent    containing the current date and time as a ASCII character string (the    data in the received datagram is ignored). 
  22.  
  23. Daytime Syntax 
  24.  
  25.    There is no specific syntax for the daytime.  It is recommended that    it be limited to the ASCII printing characters, space, carriage    return, and line feed.  The daytime should be just one line. 
  26.  
  27.       One popular syntax is: 
  28.  
  29.          Weekday, Month Day, Year Time-Zone 
  30.  
  31.          Example: 
  32.  
  33.             Tuesday, February 22, 1982 17:37:43-PST 
  34.  
  35.  
  36.  
  37.  
  38.  
  39. Postel                                                          [Page 1] 
  40.  
  41.  
  42.  RFC 867                                                         May 1983 Daytime Protocol                                                         
  43.  
  44.        Another popular syntax is that used in SMTP: 
  45.  
  46.          dd mmm yy hh:mm:ss zzz 
  47.  
  48.          Example: 
  49.  
  50.             02 FEB 82 07:59:01 PST 
  51.  
  52. NOTE:  For machine useful time use the Time Protocol (RFC-868). 
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94. Postel                                                          [Page 2] 
  95.  
  96.