Re: Per-source address family preference

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZcnHjZKmwflno-EG@localhost>
On Wed, Nov 29, 2023 at 10:32:02AM +0100, Miroslav Lichvar wrote:
> On Tue, Nov 28, 2023 at 08:12:29PM -0500, Rob Foehl wrote:
> > I'm looking for a way to limit the address family used for a given
> > source specified by name, e.g. something like
> > 
> > 	pool 2.pool.ntp.org maxsources 2 [inet6/ipv6_only_please]
> > 
> 
> That's not currently possible. In my todo list I have an item to
> add the -4/-6 option to the pool/server/peer directive similarly to
> ntpd.

In latest development code there are new options "ipv4" and "ipv6" to
restrict the used IP version for individual sources. I didn't use the
-4/-6 option after all to avoid breaking existing scripts which expect
hostname as the first argument of the directives.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.