[ntp:questions] Three NTP servers, one strange IP-address in 'refid'

Martin Burnicki martin.burnicki at meinberg.de
Thu Apr 3 14:20:41 UTC 2014


Harlan Stenn schrieb:
> Sander Smeenk writes:
>> Quoting Miroslav Lichvar (mlichvar at redhat.com):
>>>>> I guess it could also be a IPv6 ref mangling issue?
>>>> That could well be. We use IPv6 where we can.
>>> For IPv6 addresses the refid is defined as first 4 bytes of the MD5
>>> sum of the address. With 2001:7b8:3:32:213:136:0:252 (tt52.ripe.net)
>>> that is 0xac023551, or 172.2.53.81 in the quad-dotted notation.
>>
>> Miroslav, you're right. This is it. Thanks.
>>
>> I consider this a bug.
>
> As do we all.  And we can fix it as soon as a decent solution appears.

Maybe just print the refid as hex bytes instead of dotted quads unless 
it's interpreted as string?

Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany



More information about the questions mailing list