Re: [chrony-users] Reference ID |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Reference ID
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Sat, 28 May 2016 10:17:31 +1200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:To:Message-Id:Date: From:Subject; bh=M+Pl/DoLSuE6V/jnXr+baQZW2dV1+2uY8aIuvPfuF/s=; b=A+d9dhf2MgWd cwYpTyTX8FLCOTWSFMIUoUSuwY6TajDB23qAPMBop5H7w9njDsVI4Gn3XmMz947xVE4Rh58/BgEMt USFuWnnZ+bk+8cIkaxHGl5RlQId1ZRclvOMKw0F7tA0mVuM991HSteXNZM4lLKCwLwUHRVHK8Uv8+ rZnuDxXEoi50ziKs0sJMrReN3z1GzNJxVqFzLICpyKs5FuukEIILGxzgY8Z416Bg1C09j9Wti1457 yzTrys8dbclbbusSK8LrFOWn1jA/oX/TXtIyJspYR3KFcEcq56oyCJqRO44TOcA5h85Fim+yiegHV R3UgL3jSLUiJQhI99B5bag==;
- Feedback-id: 149811m:149811acx33YQ:149811ssoPlYJNP7:SMTPCORP
> On 28/05/2016, at 10:08 AM, Bill Unruh <unruh@xxxxxxxxxxxxxx> wrote:
>
>
>
> William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273
> Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324
> UBC, Vancouver,BC | Program in Cosmology | unruh@xxxxxxxxxxxxxx
> Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/
>
> On Sat, 28 May 2016, Bryan Christianson wrote:
>>
>>> This has been argued in the past. The refid is 4 bytes, so it cannot fit in
>>> the whole IPv6 address. And it really is not worth expanding the size of the
>>> refid. For refclocks it is a four character name (translate the bytes to
>>> ascii-- eg PPS0, SHM3...). I am not sure what the algorithm is for ipv6 (last
>>> 4 bytes in the addreess.) I really do not think it is worth Lichvar's time to
>>> rewrite the refid to be 12 bytes say, with all the potential for hidden bugs
>>> introduced by change. It is not supposed to be an address. It is supposed to
>>> be just a unique id to differentiate the various sources.
>>
>> Sure - I understand not wanting to change the length. That’s why I suggested using an address from one of the IPv4 reserved ranges rather than presenting some random collection of 4 bytes as an IP address.
>
> Not sure why that would help.
> It is a refid, not an address, in any case. Are you really liable to copy out
> that address and try to contact that machine?
> Where did you see the refid and get confused by it?
>
I don’t have the specific case available, but when synchronised with and IPv4 server I see the following
root@cora:~# chronyc tracking
Reference ID : 10.64.1.25 (fleur.lan.seaviewsound.co.nz)
Stratum : 2
The ‘normal’ interpretation of this kind of display would be IP address/host name.
In the case where the hostname resolves to an IPv6 address, you will some some random IPv4 address bearing no relation to the hostname displayed.
As you say it is just an ID and I guess the whole IPv4 representation is an artefact of the early days of NTP.
Maybe it could just be displayed as 8 hex digits.
Bryan Christianson
bryan@xxxxxxxxxxxxx
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.