Re: [chrony-dev] Can we add refid to peers and servers? |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] Can we add refid to peers and servers?
- From: Nuno Gonçalves <nunojpg@xxxxxxxxx>
- Date: Wed, 21 Aug 2019 13:35:10 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=syHxqHpOMksAAqazpRfXeED7+AJpdDZMfWzwJY34en0=; b=Min3553nzmtel2f9SwEaNTUvvzhmEUMfkqXaagybJQ8jAIP0qbJEzX6GzD6/t0mBBp ODEUO9xqOC1PuWJYxPQ8zcADv9yAvggKxp1fukYFrbr5WWu4uvIkgF03cl/47lOIP/Wx XDSUNiMx6EzdUdV3ZcSAryW40iEEFRMq8KFlA3Z8bT56YpuF2C3Q9811jpTshm4Zwzd0 e3nhm8Gk0yVmec4fOIkBn2uUrpf0WkiuJkIzk2rGw8jODdC+QMKP1QIdsZnxtXprBllF pK2cxcSUbR/HPZVxr27ql+mvTFJlLFEx5/szjs12gfJjnF6GCHzOOQgva5lFkgvdAdUl xxlw==
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.