home *** CD-ROM | disk | FTP | other *** search
/ nisttime.carsoncity.k12.mi.us / nisttime.carsoncity.k12.mi.us.tar / nisttime.carsoncity.k12.mi.us / pub / daytime / README.PROXY < prev    next >
Text File  |  2001-02-23  |  7KB  |  143 lines

  1.    Most of the programs in this directory communicate with our servers using
  2. messages on tcp/ip port 13. Some of the examples use other ports (such as
  3. udp/ip port 37).  Version 3 of the Windows client nistime-32bit.exe can
  4. also be configured to use the Network Time Protocol via udp/ip port 123.
  5.  
  6.   The communication with our server may fail if your client system 
  7. is behind a firewall or proxy server, since these systems can block the 
  8. direct communication channel between the client and one of our servers. 
  9. The failure usually results in a time-out error message when you try to
  10. run the program, and you should suspect a firewall problem if you get such 
  11. a message on a client system that is connected to a network that is 
  12. otherwise up and running.
  13.  
  14.    It is usually possible to configure a firewall system to pass
  15. messages on a particular port or to a particular set of remote servers,
  16. and this configuration change should allow any of the client programs
  17. in this directory to run without modification. This change is the
  18. preferred way of using the programs, since it minimizes the additional
  19. delay introduced by the firewall system.
  20.  
  21.    If the client is located behind a proxy server, and if the network
  22. configuration cannot be modified to open a direct connection to our
  23. servers on the standard port, it may still be possible to configure the 
  24. client software to operate properly in this environment. The following 
  25. instructions explain how to do this:
  26.  
  27.     1.  If you are using nistimew.exe, you must be using version 3.1 
  28. or later. This version was compiled on 23 January 1999.  If you are using 
  29. nistime-32bit.exe, you must be using version 2.1 or later, which was compiled 
  30. on the same date. If you are using older versions, you should upgrade to the 
  31. newer releases.  You can copy these newer versions from directory /pub/daytime 
  32. on any of our servers. For example, you can copy the files from 
  33. ftp://time-b.nist.gov/pub/daytime. These files are not compressed and
  34. should be copied in binary mode to any convenient directory on your
  35. system.
  36.  
  37.     2. Copy the file nist-srv.lst from our servers to your Windows
  38. directory. This destination directory is usually c:\windows for Win 3.x 
  39. and 9x and c:\winnt for Win NT. You can get this file from any of our servers 
  40. in directory /pub, and you would copy it using ftp as in 1 above. This
  41. is a simple text file, and should not be copied in binary mode.
  42. You can also get this file by starting the client program (either nistimew.exe
  43. or nistime-32bit.exe) and using the menu command File | Update servers.
  44. This operation will tell you where the file has been stored on your
  45. system.
  46.  
  47.     3.  Edit the nist-srv.lst file using any convenient text editor,
  48. such as NOTEPAD in Windows or EDIT in DOS. Find the first line after
  49. the $ sign in column 1, and change the ip address on that line to
  50. the ip address of your proxy server.  For example, if the first
  51. few lines in the file look like this:
  52.  
  53. Server name                     ip address      Note    Location
  54. $
  55. time-b.nist.gov                 129.6.15.28     2       Maryland
  56.  
  57. and if the ip address of your proxy server is 100.1.2.3, then
  58. edit the ip address on the third line above to match the address
  59. of your proxy server:
  60.  
  61. time-b.nist.gov                 100.1.2.3       2       Maryland
  62.  
  63. Be careful not to change anything else in the file. Save this 
  64. modified version of the server list in the windows directory.
  65.  
  66.                            ** Important **
  67. Note that these ip addresses are only examples. You should use the
  68. actual server ip addresses in the nist-srv.lst file and the actual
  69. ip address of your proxy server.
  70.  
  71.     4. If you are using the daytime format, configure the proxy server 
  72. so that a message to it on tcp/ip port 13 is re-transmitted on the same port 
  73. to the NIST time server at ip address 129.6.15.28. If you have version 3.0
  74. or later of nistime-32bit.exe and if you plan to use the Network Time
  75. Protocol, then configure the proxy server so that a message to it on 
  76. udp/ip port 123 is re-transmitted on the same port to the NIST time server
  77. at the original address.  These changes need only be made once in the 
  78. configuration tables of the proxy system.
  79.  
  80.     5.  When you run the client program and select this
  81. server, it will send a message to the proxy system using the
  82. ip address that you specified.  The proxy system will forward 
  83. the message on to our system.  The reply should be re-transmitted 
  84. to your client machine, so that the program will appear to be 
  85. directly connected to our server even though it is actually going 
  86. through the proxy system.
  87.  
  88.     6.  Some proxy servers require a different port on the
  89. input and output sides of the connection. That is, they will
  90. send messages to our servers on tcp/ip port 13 or udp/ip port 123, 
  91. but they listen on some other port for connections from client 
  92. systems.  If the inside port number for the daytime service is <j>, 
  93. then modify the line above including <j> as shown below:
  94.  
  95. time-b.nist.gov                 100.1.2.3:<j>      2       Maryland
  96.  
  97. If you are using Version 3.0 or later of nistime-32bit.exe and if
  98. you also want to re-map the Network Time Protocol to use udp/ip port
  99. <k> instead of the standard value 123, then add this value to
  100. the end of the line as well:
  101.  
  102. time-b.nist.gov                 100.1.2.3:<j>,<k>  2    Maryland
  103.  
  104.  
  105. For example, if the proxy server listens for daytime requests on 
  106. port 14, and NTP requests on port 333, then the line above would be:
  107.  
  108. time-b.nist.gov                 100.1.2.3:14,333       2       Maryland
  109.  
  110.  
  111. (In both cases the proxy server must communicate with our systems using
  112. the standard ports: tcp/ip 13 for daytime requests and udp/ip 123 for
  113. NTP requests.)
  114.  
  115. Note that there can be no space between the ip address, the colon and 
  116. the first port number. If you want to re-map the NTP port, the first
  117. value must also be present and the second value must be separated by a
  118. comma as shown above. You can omit the comma and the second value if
  119. you do not use NTP or if you do not have to re-map its port.
  120.  
  121. These changes are not usually necessary, and you should not use them
  122. if you are in doubt about whether you need them or not.
  123. If you make this change, it will affect all of the servers on the
  124. list -- not just the one whose ip address you have modified.
  125.  
  126.    Once you have made this change, you may only be able to use the server 
  127. whose ip address you have modified.  Requests to other servers probably
  128. will be blocked by the proxy system.
  129.  
  130.    In addition, note that the proxy server may introduce a significant
  131. delay into the path, and this delay is likely to be different for the
  132. inbound and outbound directions. This asymmetry will tend to bias the
  133. received time, since the software that estimates the delay assumes that
  134. the path delay is symmetrical. (This is true for ALL network-based time
  135. services.) This bias is probably at least 10 milliseconds, and may be 
  136. significantly larger that this on a busy system.  You should be concerned 
  137. about this problem if you need time stamps with an offset from UTC of 
  138. 0.1 second or less.
  139.  
  140. Questions or comments to: time@time.nist.gov
  141.  
  142. Last changed: 23 February 2001
  143.