NTS Pool: pool NTP server listen port, fixed to 123? #383
|
Preface: I don't have any technical knowledge of the internal workings of NTP or NTS, I'm a server admin. While setting up to use swedish Netnod NTS servers for use on a Hetzner cloud server in Finland, I realised that their NTP servers listen on port 4123/udp. I'm not sure how it's done but - I need to do more reading on that - by NTP extension fields? If I use that Hetzner cloud server of mine as a normal NTS server and set the NTP port to a custom port, it does work. I tested the functionality by running 'chronyd -Q5 "server iburst nts maxsamples 1"', chrony reports that the port has changed to my custom port and returns how much the system clock is off. Is the NTP listen port required to be set to 123 at the moment to take part in the NTS pool (not an issue at all, just a question :) )? I come to that question because I set it to 4123 on one of the servers and although the "Time Sources" website reports increasing score (10+) there were no clients with NTP connections after 3 or 4 hours. As soon as I set it back to 123 I got one connection. |
Replies: 1 comment 2 replies
|
It is not currently a requirement that the NTP listen port is 123 to join the NTS pool. So long as your key exchange server properly indicates the port to be used for the ntp traffic to be the alternate port our monitoring will judge the server as correctly functioning and advertise it to clients. As for the number of connections you are seeing, this may be a consequence of relatively little client traffic on the pool at the moment. There is only on the order of a few clients per hour on the pool at the moment, so a server may only be getting one actual client assigned to it every few hours or so. |
It is not currently a requirement that the NTP listen port is 123 to join the NTS pool. So long as your key exchange server properly indicates the port to be used for the ntp traffic to be the alternate port our monitoring will judge the server as correctly functioning and advertise it to clients.
As for the number of connections you are seeing, this may be a consequence of relatively little client traffic on the pool at the moment. There is only on the order of a few clients per hour on the pool at the moment, so a server may only be getting one actual client assigned to it every few hours or so.