xref: /freebsd/contrib/ntp/ntpd/complete.conf.in (revision a9fcb51fbb8d2c5b47a35bcae5b4d5fb771c5985)
1saveconfigdir "/etc/ntp/conf"
2driftfile "/etc/ntp.drift" 1e-7
3logfile "/var/log/ntp.log"
4leapfile "/etc/ntp.leapseconds"
5@HAVE_LEAPSMEARINTERVAL@
6nonvolatile 1e-7
7ident "udent"
8dscp 46
9logconfig =allall -allinfo -allevents -allstatistics -allstatus +allall -clockinfo -clockevents -clockstatistics -clockstatus +clockall -syncinfo -syncevents -syncstatistics -syncstatus +syncall -sysinfo -sysevents -sysstatistics -sysstatus +sysall
10statsdir "/etc/ntp/stats"
11statistics clockstats cryptostats loopstats peerstats protostats rawstats sysstats timingstats
12filegen clockstats file clockstats type none enable
13filegen cryptostats file cryptostats type pid link disable
14filegen loopstats file loopstats type day nolink enable
15filegen peerstats file peerstats type week enable
16filegen protostats file stats type month enable
17filegen rawstats file rawstats type year nolink enable
18filegen sysstats file sysstats type age enable
19filegen timingstats file timingstats type none disable
20crypto digest md5 host myhostname ident wedent pw cryptopass randfile /.rnd
21revoke 10
22keysdir "/etc/ntp/keys"
23keys "/etc/ntp.keys"
24trustedkey 1 2 3 4 5 6 7 8 9 10 11 12 (14 ... 16) 18 (32768 ... 65534)
25controlkey 12
26requestkey 12
27enable auth ntp monitor stats
28disable bclient calibrate kernel mode7
29tos beacon 3600 ceiling 16 cohort 0 floor 1 maxclock 10 maxdist 1.5 minclock 3 mindist 0.001 minsane 1 orphan 16 orphanwait 300
30rlimit@HAVE_RLIMIT_MEMLOCK@@HAVE_RLIMIT_STACK@
31tinker allan 1500 dispersion 15 freq 0 huffpuff 7200 panic 1000 step 0.128 stepout 900 tick 0.01
32broadcastclient
33server 127.127.1.0 mode 4294967295 prefer true
34fudge 127.127.1.0 time1 0 time2 1.1 stratum 7 refid Abcd
35pool 0.north-america.pool.ntp.org. iburst preempt
36server 1.north-america.pool.ntp.org. iburst
37server -4 2.north-america.pool.ntp.org. minpoll 6 maxpoll 10 iburst
38server -6 ntp.davehart.net. minpoll 6 maxpoll 10 version 5 burst iburst
39peer -6 davehart.broker.freenet6.net. ident "autokey-group" xleave autokey
40peer -4 192.168.192.168 key 1 noselect
41server [fe80::123%1]
42broadcast 192.168.192.255
43manycastclient 224.0.1.1
44manycastclient ff05::101
45manycastserver 224.0.1.1 ff05::101
46multicastclient 224.0.1.1 ff05::101
47mru maxage 64 mindepth 600 initalloc 600 initmem 16 incalloc 99 incmem 4 maxdepth 1024 maxmem 4096
48discard minimum 1 average 3 monitor 3000
49restrict default
50restrict default nomodify limited kod noserve nomrulist
51restrict source
52restrict source nomodify limited kod
53restrict trusted.host.name.example.com. nomodify
54restrict [fe80::1] mask [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]
55restrict 127.0.0.1 mask 255.255.255.255
56restrict ::1
57interface drop ipv6
58interface ignore ipv4
59interface drop wildcard
60interface listen eth0
61interface listen ipv6
62interface listen 192.168.192.0/24
63interface listen 192.168.193.1
64phone "ATDT13034944774" "ATDT12027621594"
65setvar varnondef = "this variable does not have default after the value"
66setvar vanity = "name plate" default
67trap 127.0.0.1 interface 127.0.0.1 port 1234
68trap 127.0.0.2
69reset allpeers auth ctl io mem sys timer
70