Re: [chrony-dev] Can we add refid to peers and servers?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Maybe a dual null terminated c-string where current protocol clients
would stop on the first null?

I'm throwing this without checking the actual protocol...

Thanks,
Nuno

On Wed, Aug 21, 2019 at 12:55 PM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Wed, Aug 21, 2019 at 12:31:55PM +0200, Nuno Gonçalves wrote:
> > I would like to be able to identify from chronyc sources/sourcestats
> > the corresponding server on the configuration file.
> >
> > Currently I can only obtain the IP address or the reverse DNS lookup.
> >
> > Could it fit in the runtime structure/monitoring protocol a additional
> > field for either the original DNS name used in the config, or
> > eventually a user free text tag set with refid?
>
> Yes, but it would be an incompatible change, breaking existing
> clients. It would be useful. My use case would be support for adding
> NTP servers from the DHCPv6 option which provides hostnames (unlike IP
> addresses in DHCP).
>
> Also, we will probably need some support for hostnames in the protocol
> for NTS, which requires the hostname to verify the certificate. At
> least for the "add" command. The question is how to do it without
> breaking compatibility.
>
> --
> Miroslav Lichvar
>
> --
> To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
> For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
> Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.
>

--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/