On 2008-11-06, Hal Murray <[EMAIL PROTECTED]> wrote:

> If you are running in client only mode, you don't really need
> to use port 123 on the local system.  It could use any port number,
> but it might take a while to modify the current source code to
> do that.

The NTP port is set in ./include/ntp.h:

/*
 * NTP protocol parameters.  See section 3.2.6 of the specification.
 */
 #define NTP_VERSION     ((u_char)4) /* current version number */
 #define NTP_OLDVERSION  ((u_char)1) /* oldest credible version */
 #define NTP_PORT        123     /* included for non-unix machines */

Changing the port that ntpd uses is trivial.

Changing ntpq/ntpdc to work with your modified ntpd is a different
story.

-- 
Steve Kostecke <[EMAIL PROTECTED]>
NTP Public Services Project - http://support.ntp.org/

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to