[ntp:questions] change ntp source port

David Woolley david at ex.djwhome.demon.invalid
Mon Oct 21 14:02:10 UTC 2013


On 21/10/13 11:47, Riccardo Castellani wrote:
> My Linux NTP client queries 'time' by source port '123', can I change this
> number into unprivileged one ?
>

Pure NTP clients can use any source port, e.g. if you use ntpdate in 
debug mode, it will use a non-privileged source port, so the pure client 
you are writing can use a non-privileged port.

ntpd is both client and server and uses the same port for both roles.



More information about the questions mailing list