[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntp offset e orologio sempre indietro



Am Dienstag, 9. August 2011, 17:09:15 schrieb owl700@gmail.com:
Ciao,

> Rieccomi, un mio collega ha ipotizzato che se l'orologio perde i
> secondi ci possa essere qualche servizio o altro che influisce e fa
> retrocedere il system clock così ha provato a modificare nell'ntp.conf
> le righe

> restrict 127.0.0.1 nomodify
> restrict ::1 nomodify
> 
> e il problema sembrerebbe essere risolto... ora a prescindere che non
> ci sarei mai arrivato 
Non era proprio semplice arrivarci.

> perchè mi sembra una cosa assurda cosa cavolo
Assurdo non direi, visto che esiste l'opzione.

> può andare a modificare il system clock da localhost facendogli
> perdere i secondi?
Questo ci interesserebbe sicuramente.

> Ma poi questo escluderebbe un guasto HW come ipotizzato da altri 
colleghi?
Non sembrerebbe un guasto hardware.

> Strana e assurda situazione se qualcuno ha idee... :)
https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon:
...
In the past, notrust option was used too, but its function has changed 
to mean that authentication with a key is required. Full docs for the 
"restrict" option are in man ntp_acc.

Following this line, you need to tell ntpd what to allow through into 
your server; the following line is enough if you're not configuring an 
NTP server:

restrict 127.0.0.1

Otherwise you can add more clients like in this example:

restrict 1.2.3.4 nomodify
restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap

This tells ntpd that 1.2.3.4 and all IP addresses from the 192.168.0.0 
range will be allowed to synchronize on this server, but they will not 
be allowed to modify anything. All other IP addresses in the world will 
still obey the default restrictions (the first restrict line in the 
ntp.conf). 
...

Quindi dovrebbe essere un servizio locale, che ti altera(va) l'ora.
Altro non mi viene in mente, se trovi il "colpevole" facci sapere.
Ciao
Luigi










Reply to: