Page MenuHomeFreeBSD

ntpd: Support IPv6-only hosts
ClosedPublic

Authored by freebsd_igalic.co on May 4 2023, 10:31 AM.
Tags
None
Referenced Files
F84152817: D39954.diff
Mon, May 20, 2:17 AM
F84117341: D39954.id121554.diff
Sun, May 19, 3:45 PM
Unknown Object (File)
Tue, May 14, 12:24 PM
Unknown Object (File)
Mar 8 2024, 4:32 AM
Unknown Object (File)
Mar 8 2024, 4:31 AM
Unknown Object (File)
Mar 8 2024, 4:31 AM
Unknown Object (File)
Mar 8 2024, 4:31 AM
Unknown Object (File)
Mar 8 2024, 4:19 AM

Details

Summary

0.pool.* returns only IPv4 addresses.
2.pool.* returns both, IPv6 and IPv4 addresses.

conservatively extend our IPv4 only pool configuration by adding a
second pool, which also returns IPv6 addresses.

PR: 270536
Reported by: Lapo Luchini <lapo@lapo.it>
Pull Request: https://github.com/freebsd/freebsd-src/pull/731

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 51324
Build 48215: arc lint + arc unit

Event Timeline

If we do not add IPv6 addresses to the names other than 2.pool.ntp.org, the world will circumvent us.

This has been something on my todo list. I've yet discuss this very patch with Harlan at nwtime.org. Let me reach out to him again.

This revision is now accepted and ready to land.May 4 2023, 8:16 PM

ntp.org (nwtime.org) does not manage ntppool.org. They are separate entities.

This revision was automatically updated to reflect the committed changes.

that commit mangled my meta-data:
author Mina Galic <freebsd_igalic.co>
Instead of
author Mina Galić <freebsd@igalic.co>

jlduran_gmail.com added inline comments.
usr.sbin/ntp/ntpd/ntp.conf
40

s/resolves/resolve/

usr.sbin/ntp/ntpd/ntp.conf
40

and addresses