Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2006 01:13:52 -0800
From:      "Darren Pilgrim" <>
To:        "'Matthew Seaman'" <>
Subject:   RE: How to bind ntpd to a single address?
Message-ID:  <000001c6110f$31a02bc0$642a15ac@smiley>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
From: Matthew Seaman []=20
> Darren Pilgrim wrote:
> > I don't like (let alone want) ntpd binding to every IP address on
> > the host.  The man pages don't say anything about specifying a
> > binding address for ntpd.  A search of the sources and Google
> > also failed to reveal anything useful.
> >=20
> > So how to I tell ntpd to bind to a specific IP address?
> ntpd doesn't have that functionality I'm afraid.  The next best you
> can do is review your /etc/ntpd.conf 'restrict' rules carefully and
> implement a firewall to control access to port 123/UDP.

The ntp.conf(5) man page isn't what I would consider well-written, so =
it's a
bit difficult understand how rules are applied.  For example, if I put:

restrict default noquery nopeer limited
restrict local_network/mask nomodify
restrict peerhost nomodify

Does that mean:

- Provide only rate-limited, non-peering time service by default.
- Provide unlimited time service to the local network and also let the =
network make read-only mode 6/7 queries.
- Peers are given the same treatment as the local network.
- Let localhost do anything.

Want to link to this message? Use this URL: <$31a02bc0$642a15ac>