NTP

bscott at ntisys.com bscott at ntisys.com
Thu Feb 5 08:48:18 EST 2004


On Wed, 4 Feb 2004, at 4:37pm, colet at code-energy.com wrote:
> Here's the thing, I can't seem to figure out how to tell the internal
> machines not to act as a time server?

Place the following in your ntp.conf file:

	restrict default ignore
	restrict foo mask 255.255.255.255 nomodify notrap noquery
	restrict bar mask 255.255.255.255 nomodify notrap noquery

... where "foo" and "bar" are the IP address(es) of your upstream time
servers.

> However, if I do a netstat -upan | grep ntp, I get:

  NTP uses UDP.  UDP is stateless and connectionless, so anything that needs
to get a response back from a UDP transmission needs to listen for incoming
UDP datagrams as well.  ntpd needs to listen for the responses to the NTP
requests it sends.

-- 
Ben Scott <bscott at ntisys.com>
| The opinions expressed in this message are those of the author and do  |
| not represent the views or policy of any other person or organization. |
| All information is provided without warranty of any kind.              |




More information about the gnhlug-discuss mailing list