RE: [chrony-users] Changing hostnames for chronyc sources and sourcestats results |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [chrony-users] Changing hostnames for chronyc sources and sourcestats results
- From: "Kohr, Alexander" <Alexander.Kohr@xxxxxxxxxxxxxxx>
- Date: Tue, 26 Nov 2019 17:14:41 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 155.247.195.53) smtp.rcpttodomain=chrony.tuxfamily.org smtp.mailfrom=tuhs.temple.edu; dmarc=bestguesspass action=none header.from=tuhs.temple.edu; dkim=none (message not signed); arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LPk+DFL4vPM2r05FYN/g2WeFEJEZRuqqIguM/ixxZ6g=; b=R5LBYZtryP6Lg9ahvshID8cf5V0Nk0S8SNfB4Am9C3oOi1M4i82wyPvj/GELGEf/+LIHmuoiLvm6SAm85mh+U7ILF9x2DBMs4qLEy/6zN26r6DR+SD+O8ouecC69PM/ISrBcAVyzx4adPAgsBLx2RoV3EN0vdBz8s7smMMp1ddHYJu6bIYNYiWh7aS/aHfPpMWNZdwj3yQGXnwv4zrBg+EU9Zwc0PZfFyvl1r1WLizweN+PU8BeYfJY71NbTmMSZJKe9jn7Uss5dp9HBZzfqQ3cGE/7+ZVJsPxTQ6q+s9EWNAChfzaiYRJ5v02x/hmUgHXCVGWNPGz6ouJdk5YGVsw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=flbg7vL0Ts8vZFivKzjHuyCGFsBhCrNkeizpvsVSs8bx/rm7WjFxXkzGcV99wggpGusf/UsNpOSgfGhd/HBUU79eOmXU8wSW8CL91ulv8Lt7y6TQHbNgJLU3NHIVFYuVzo0UcRHxPrBvxcqbsu2+gjQe1LrdKbxcP4WuzRRlBF9Lz3eL+hIrOGvs1pMtxSMTdIg5LbH0Aw00O2/YC6YW0K9cs7+5F8xB9QrcW8hT2tNCszM91jUUa4VPuRF32Lbb35jMnHtbnnoanu2uqKP3yDxwAFd6+Gn3hCjMPFI7rHYu9m087sn0tKoWpxhfQlur9p9OplTKnxRhoRVl2STpRw==
- Authentication-results: spf=pass (sender IP is 155.247.195.53) smtp.mailfrom=tuhs.temple.edu; chrony.tuxfamily.org; dkim=none (message not signed) header.d=none;chrony.tuxfamily.org; dmarc=bestguesspass action=none header.from=tuhs.temple.edu;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.onmicrosoft.com; s=selector2-tuhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LPk+DFL4vPM2r05FYN/g2WeFEJEZRuqqIguM/ixxZ6g=; b=E/MkalXweRc696HnvcsZmkOnnN3QLRWXpzNp3bXaE8TSsUErDh10nuOI5UJH3jVTWGp3fOm/d65HcnRUU6SyMbuJSIhf1XtVhw1Y2VWbSXsN45JW6M7mR1+W/9U1VqIW1InH2Nvdz/EPV0XqlBGWZ3mP7QxaY1RUiyHNHiyayNo=
- Thread-index: AdWaWX4AMXCGZ6MORY+STnnxw4gU0AAlOKOAATGmpNAA+IsEgAA3OjYA
- Thread-topic: [chrony-users] Changing hostnames for chronyc sources and sourcestats results
See inline.
Thank you again for your work on chrony.
-----Original Message-----
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Sent: Monday, November 25, 2019 3:49 AM
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] Changing hostnames for chronyc sources and sourcestats results
EXTERNAL MESSAGE. DO NOT open attachments or click links from unknown senders or unknown emails.
________________________________
On Wed, Nov 20, 2019 at 08:51:17PM +0000, Kohr, Alexander wrote:
> For those that want to show both the hostname and the IP address for instance in the case where you have a pool of IP addresses for just one hostname like 0.centos.pool.ntp.org, maybe you could use a -l for long flag to allow both the Name/IP Address field to show both a hostname and specific IP address you are connecting to, along with any other changes to that output that would need to be made when flags like -4 or -6 are also invoked.
Do you think it would make sense to have a new command like "ntpnames"
to display both the addresses and hostnames, without any other data?
In my opinion having just a ntpnames command would be a much less useful, than being able to display that information in the sources and sourcestats outputs, especially in light of SSL being integrated into ntp. I also suspect that as part of the SSL related work you are
going to be making modifications to the current chrony commands and or some new chronyc commands to provide feedback on SSL status. So maybe adding a/some new command/s to display ssl connection status information about the remote servers might be way to integrate the configured hostname and actual IP address information into chronyc output along with those new outputs, for instance whether each of the sources are supposed be connecting via SSL or not, and if each of their related SSL connection are working or not and if it is not, and possibly a helpful error message or the open ssl error codes.
Though the more I think about it you could just use the normal "sources state" column of the sources output with either the normal ? for unreachable or maybe a new character code specific to failed SSL connection for an SSL source and make people look in the chronyd logs for the actual SSL issues and or use openssl to debug the issue. Which if you were to do that would just bring me back to the logic that it would be best if it were output in the chronyc sources and sourcestatus commands.
> Thank you, for your time and consideration and for any future changes you may make to future versions to show the as configured on launch information in the Names/IP addresses and the possibility of showing both an IP address and a hostname.
Thank you for your input.
In the experimental NTS code I'm working on, each NTP source remembers its hostname from the configuration. So, we just need to make it available to chronyc (e.g. a new command to return the name for an IP address or index) and then add an option to display it.
--
Miroslav Lichvar
--
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.
________________________________
This electronic message is intended to be for the use of the named recipient, and may contain information that is confidential or privileged. This communication may contain protected health information (PHI) that is legally protected from inappropriate disclosure by the Privacy Standards of the Health Insurance Portability and Accountability Act (HIPAA) and relevant Pennsylvania Laws. You can direct questions concerning PHI or HIPAA to the Corporate Compliance and Privacy Officer at (215) 707-5605. If you are not the intended recipient, please note that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this message in error, you should notify the sender immediately by telephone or by return e-mail and delete and destroy all copies of this message.
--
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.