#619389 ntpd listens all interfaces

Package:
ntp
Source:
ntpsec
Submitter:
Yevgeny Kosarzhevsky
Date:
2011-11-18 16:09:03 UTC
Severity:
normal
#619389#5
Date:
2011-03-23 14:17:37 UTC
From:
To:
ntpd ignores 'interface lo' config option and still listens all interfaces
#619389#10
Date:
2011-11-17 17:13:09 UTC
From:
To:
Shouldn't the correct options be:

interface ignore all
interface listen lo

if you want ntp to not listen on all interfaces and just listen on 'lo'?

at least that is my reading of the man page section on the interface
parameter:

  If none of those options are used and no interface actions are
  specified in the configuration file, all available network addresses
  are opened.

#619389#15
Date:
2011-11-17 17:37:33 UTC
From:
To:
micah anderson said:

And your ntpd will not be able to poll its remote time servers ...

#619389#20
Date:
2011-11-18 16:04:43 UTC
From:
To:
I want NTP to only adjust time for the machine it is running on, not
provide any service to any externally connecting ntp client. How can I
configure NTP to not listen on every interface (this seems to be the
default), but provide ntp time adjustment for the local machine?

Shouldn't ntp simply use the default route for making outgoing
connecting, utilizing a random source port, this is how most daemons
operate.

micah