/contrib/ntp/conf/rackety.conf

https://bitbucket.org/freebsd/freebsd-head/ · Config · 56 lines · 55 code · 1 blank · 0 comment · 0 complexity · 73009bfa1d3f591078b169feb8f2cdc5 MD5 · raw file

  1. #
  2. # NTP configuration file (ntp.conf)
  3. # SunOS rackety.u 4.1.3 243 sun4c
  4. #
  5. # This is for a dedicated primary server connected to four reference
  6. # clocks and providing service via multicast, broadcast, manycast and
  7. # the usual suspects. It blocks previous versions and limits clients
  8. # per network to two and returnd a kiss-of-death packet if the
  9. # sender is blocked. Note that the precise fudge factors were
  10. # determined using the calibrate feature and that the kernel PPS
  11. # discipline is selected.
  12. #
  13. server 127.127.4.0 prefer # Spectracom GPS receiver #1
  14. fudge 127.127.4.0 refid GPS1 time1 -.000097 flag1 1
  15. server 127.127.4.1 # Spectracom GPS receiver #2
  16. fudge 127.127.4.1 refid GPS2 time1 -.000097 flag1 1
  17. server 127.127.4.2 # Spectracom WWVB receiver #1
  18. # delays: prop 0.0088 ant .0002 rcvr .0173 = 26.3 ms; os .0035
  19. fudge 127.127.4.2 refid WVB1 time1 .0021 flag4 1 flag1 1
  20. server 127.127.4.3 # Spectracom WWVB receiver #2
  21. # delays: prop 0.0088 ant .0002 rcvr .0173 = 26.3 ms; os .0035
  22. fudge 127.127.4.3 refid WVB2 time1 .0021 flag4 1 flag1 1
  23. server 127.127.22.1 # PPS
  24. fudge 127.127.22.1 flag3 1 # kernel PPS
  25. #
  26. # Services
  27. #
  28. broadcast 224.0.1.1 autokey # multicast
  29. broadcast 128.4.1.255 autokey # local subnet broadcast
  30. manycastclient 239.1.1.1 autokey maxpoll 12 ttl 7 # manycast
  31. manycastserver 239.1.1.1 # manycast
  32. #
  33. # Access controls
  34. #
  35. restrict default limited version kod # default limit clients per net
  36. restrict 127.0.0.1 # allow local host
  37. restrict 128.4.0.0 mask 255.255.0.0 # allow DCnet clients
  38. restrict 128.175.0.0 mask 255.255.0.0 # allow UDELnet clients
  39. restrict 140.173.0.0 mask 255.255.0.0 # allow DARTnet/CAIRN clients
  40. #
  41. # Authentication stuff
  42. #
  43. crypto # enable public key
  44. keys /usr/local/etc/ntp.keys # symmetric keys file
  45. trustedkey 3 4 5 14 # define trusted keys
  46. requestkey 14 # key (7) for accessing server variables
  47. controlkey 14 # key (6) for accessing server variables
  48. #
  49. # Miscellaneous stuff
  50. #
  51. driftfile /etc/ntp.drift # frequency offset
  52. statsdir /rackety/ntpstats/ # directory for statistics files
  53. filegen peerstats file peerstats type day enable
  54. filegen loopstats file loopstats type day enable
  55. filegen clockstats file clockstats type day enable