[ntp:questions] restrict: ignoring line %u, address/host '%s' unusable.

Jakob Bohm jb-usenet at wisemo.com
Fri Sep 14 06:39:02 UTC 2018

On 13/09/2018 07:35, David Taylor wrote:
> On 12/09/2018 08:06, Jakob Bohm wrote:
>> NTP 4.2.8p10+dfsg-3+deb9u2 (Debian packaged with backported security
>> fixes), on a dual stack (IPv4+IPv6) machine logs the following error
>> messages for each netmask specific restrict line, and does seem to
>> ignore the lines or otherwise enforce incorrect limits:
>> ntpd[nnnn]: restrict: ignoring line %u, address/host '%s' unusable.
>> Looking at github, this seems to happen when a line doesn't match the
>> address family (IPv4 or IPv6) of a loop iteration in the config code.
>> Is this a general NTP bug or did the Debian maintainer get a patch
>> wrong.
>> Enjoy
>> Jakob
> Isn't NTP 4.2.8p12 the current version?
> 4.2.8p10 was March last year, sigh!
> Hope you find the issue.

As I said at the top, this is the Debian packaged version where the
Debian maintainer has backported later changes over multiple "patch"
releases of the package.  Backporting fixes rather than pushing
bleeding edge versions to users is standard Debian policy.

The latest update to the package was on Thu, 15 Feb 2018 12:45:57 +0100

Searching online for the string found a github repository of ntp with
weird loop constructs around the message.


Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

More information about the questions mailing list