NTP listening on UDP+TCP(!)/123
Hi all,
How can I make the ntpd daemon listening on TCP(!)/123 ? Listening just on UDP/123 seems to be the default configuration. Thanks for any comment, Hugo |
NTP is a UDP-based protocol. I'm not aware of any implementations of NTP over TCP. The reason is that NTP submits one query and gets one response. That is very quick with UDP, but if you were to do that with TCP it would have to setup a whole connection just to send two packets, not very effecient...
|
Hi,
"netstat -an" on my NT-box displays listeners both on UPD/123 and TCP/123. The same command list only UPD/123 on my Linux-box. "cat /etc/services | grep ntp" on my linux-box lists: ntp 123/tcp ntp 123/upd I don't regard this definitions being humbug. There should be a way to enable this. I need this to enable DTSS under VMS to synchronize to my linux-box. Best Regards Hugo |
From /usr/local/share/doc/ntp/debug.html:26:
Quote:
Quote:
Even though your Windows box is bound to both ports, I seriously doubt TCP is used. Run Ethereal on the Windows box while you syncronize time and you'll see this is true. |
Hi,
Having NTP on TCP makes no sense from my point of view (and by all means, someone correct me if I'm wrong!!!). TCP provides error correction whilst UDP doesn't... imagine some packets are lost along the way... why would you want to have a time information resent??? It would have no use anyway... |
All times are GMT -5. The time now is 12:33 AM. |