1 |
Arturo 'Buanzo' Busleiman skrev: |
2 |
> Would you mind sharing your ntp.conf too? |
3 |
|
4 |
# /etc/ntp.conf, configuration for ntpd |
5 |
# 1-3 Servers for a client. 5 servers for a pool.ntp.org server. |
6 |
server x.x.x.x |
7 |
server x.x.x.x |
8 |
server x.x.x.x |
9 |
server x.x.x.x |
10 |
server x.x.x |
11 |
|
12 |
# Default access configuration |
13 |
# KissOfDeath - A way to tell someone to go away. |
14 |
# limited - There is limits to how much you can pester us. |
15 |
# nomodify - We don't want default to have modify access. |
16 |
# nopeer - Don't accept Joe Smoe as a peer. |
17 |
# notrap - No trap support. |
18 |
restrict default kod limited nomodify nopeer notrap |
19 |
|
20 |
# Don't trust localhost, in case others have shell access. |
21 |
restrict 127.0.0.1 nomodify |
22 |
|
23 |
driftfile /var/lib/ntp/ntp.drift |
24 |
|
25 |
# ntp build in stats is hard for a human to read and tend to flood |
26 |
# on a pool.ntp.org server. |
27 |
statsdir /var/log/ntpstats/ |
28 |
|
29 |
#statistics loopstats peerstats |
30 |
#filegen loopstats file loopstats type day enable |
31 |
#filegen peerstats file peerstats type day enable |
32 |
|
33 |
|
34 |
|
35 |
ntp_clients is the script that created |
36 |
http://www.arcdraco.net/ntpstats/ntp_stats.txt |
37 |
|
38 |
Be warned that ntp_clients is going to be the majority of the ntp |
39 |
service resource cost. |