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

Re: NTP



On Tue, Oct 26, 2004 at 06:35:23PM +0000, Jean-Luc Coulon (f5ibh) wrote:
> Le 24.10.2004 18:34:01, Fabien R a écrit :
> >
> >>Voila ce que j'ai dans la log de NTP [ extrait ] :
> >>23 Oct 15:18:18 ntpd[21871]: synchronized to LOCAL(0), stratum 13
> >>23 Oct 15:20:27 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
> >>23 Oct 15:47:31 ntpd[21871]: time reset +0.238991 s
> >>23 Oct 15:51:56 ntpd[21871]: synchronized to LOCAL(0), stratum 13
> >>23 Oct 15:53:02 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
> >>23 Oct 16:12:51 ntpd[21871]: time reset +0.250679 s
> >>23 Oct 16:17:11 ntpd[21871]: synchronized to LOCAL(0), stratum 13
> >>23 Oct 16:18:19 ntpd[21871]: synchronized to 24.34.79.42, stratum 2
> >>
> >>
> >>
> >>J-L
> >Je n'ai ouvert que les ports 123/UDP. Est-ce suffisant ?
> 
> Et 123/tcp.. je crois

Non. NTP n'utilise pas TCP, à ma connaissance la fonction de 
marquage de temps  (timestamp) d'arrivee des trames ne 
fonctionne pas pour des connections TCP. Il se trouve qu'elle 
est un tant soi peu critique pour NTP :-)

La doc de NTP confirme:

Note that NTP does not use TCP in any form.

et 

NTP is specifically designed to use UDP and does not 
respond to TCP.

	Gabriel
	
P.S: J'ai écrit mes propres pilotes d'horloge de
référence NTP (très facile).



Reply to: