Hi, Thank you for the rapid response.. On Mon, January 27, 2025 10:21 am, Miroslav Lichvar wrote: > On Mon, Jan 27, 2025 at 07:55:48AM -0500, Derek Atkins wrote: >> I have a configuration of >> server a.b.c.d >> server a.b.c.d port 4123 [snip] > > Each IP address can be used only once as a source. The first one wins. > In the system log you should see an error message about duplicated > address, at least with more recent chrony versions. > > The sources are identified by IP address, not IP address+port. It's a > design limitation which cannot be easily fixed without incompatible > changes in the management protocol as exposed by chronyc.
I was afraid of that. I did eventually find the comment in ntp_sources.c and, when exploring that code, it looked like a port number was not always available when looking up a slot. >> Alternatively, is there some test I can run to see if a port gets a >> valid >> response? Like "chronyd test a.b.c.d port 123" and use an exit-code to >> determine if it got a response or not? > > chronyd -Q -t 1 "server $IP_ADDR port $PORT maxsamples 1" Thanks for this. I guess I'll have to change my auto-configuration process to use this. Thanks! > > -- > Miroslav Lichvar -derek -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant -- To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-users-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.