From nobody Mon May 08 17:33:45 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QFT0p1FGdz4B9Ts; Mon, 8 May 2023 17:33:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QFT0p0nsKz3nmq; Mon, 8 May 2023 17:33:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683567226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W4Y/DBdowni97zty4Y3tpMgGdyl6gLCYu9pxPkxKej8=; b=OUozg4wjpUtPKwbWr0Jw9Q9g1NJaz+B1KQe8tQx46cbSbBMcR7QkCg3ZW7+fuhfMnwy2ip wVNT/SVSmOlI8ppdgBMI4KH6hi/p6ZeDbHfb7UzDEQ9Y8yykgmLsKx7l/g7RuMywQh9THw Crxm3zIxrpIg/noP5KY/6EBFEs1xnn1lXaAgRFFG3OmesR1xy/JAFCGtr2zy2c0sBNOxou AIVrjnQCEvZWspeGb+pXUAluODfxdAAmCGhqrT03SQ0lxGoI0CHj+9iZ9l3FA7FHiyGFws plpnUqNka3TAT7dmanioVua06FQk7PTMJt3Xp2VDwjRXA12I8+dyo5ssoI5ypA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683567226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W4Y/DBdowni97zty4Y3tpMgGdyl6gLCYu9pxPkxKej8=; b=Fe45CaHQA89f2Ad8mhfxSnZzLozjf50vt9iZwfFF0ItwefBvToZHVW7xW0+oqArXXBBmxF ObLYWBwVtK8dEL2M7YsGMgnwG6+Qh/G+VMOpNrqaAhSlpw7tYQYSTLO/pSe+PI31TfKTtK nJ2tCMRJw30Ueo2kJ1Hh6SdG78OZglGt0fAaKRwnzLq2oRRt0O3hddHSF41Mk+z9Iss4ec BChUBxIyqYOuT9YRwEsCRob6ZSBokLt+LKVif55NsXD1ix4eIwP2NHg3A63tzHEdHMd3iu uRzmxGxV86Dl5z1MFSw5ch30E6yXKkCAnZ4WMrtBSoVXRD39ap2SMDvHJWsOrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683567226; a=rsa-sha256; cv=none; b=LEwit5mTRTRWrh5F6BWMPOiZkw3zfVSD2lGjVh0xYilGUyOt6QpBxPhfq4zV/FYhpEJJP0 EEn/fl5q1luKK+GK55y5yIO+dGyNMNOfxwmQ2QlPAhJk2p72sUUNKm1hacL2m5+1aVkp02 gsnQVXuDh0/ZcgsVEX6P3zygAA3al3Lkvf6RIgsHJSYyByx27a6RUJW88GWE63DJmyyQis aBXjTgNP8yFpUgPvpqaUVdl/R8srliFkP3CSEpJZq2X+/6Sf2EtSgYZ9wAXp6X4FLQ6V8/ 6Rq96Byd7wpolEhVvvPs0BvAjKDFoqUvLTmYdefsSk+6KlzGpcAFLNURQBtduw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QFT0n6yGXz18Gh; Mon, 8 May 2023 17:33:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 348HXjLO057862; Mon, 8 May 2023 17:33:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 348HXjW2057861; Mon, 8 May 2023 17:33:45 GMT (envelope-from git) Date: Mon, 8 May 2023 17:33:45 GMT Message-Id: <202305081733.348HXjW2057861@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: 3f39a2a83945 - stable/13 - ntpd: Support IPv6-only hosts List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3f39a2a83945c31d17e609dd6e2adcfb099ae7f0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=3f39a2a83945c31d17e609dd6e2adcfb099ae7f0 commit 3f39a2a83945c31d17e609dd6e2adcfb099ae7f0 Author: Mina Galic AuthorDate: 2023-05-05 04:33:18 +0000 Commit: Cy Schubert CommitDate: 2023-05-08 17:33:24 +0000 ntpd: Support IPv6-only hosts 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 Pull Request: https://github.com/freebsd/freebsd-src/pull/731 Differential Revision: https://reviews.freebsd.org/D39954 (cherry picked from commit fff1551c0357cc43f6138fecfad1d79d8d8baa15) --- usr.sbin/ntp/ntpd/ntp.conf | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/usr.sbin/ntp/ntpd/ntp.conf b/usr.sbin/ntp/ntpd/ntp.conf index ae0a3d0e6cad..3a56ec9f599c 100644 --- a/usr.sbin/ntp/ntpd/ntp.conf +++ b/usr.sbin/ntp/ntpd/ntp.conf @@ -20,24 +20,27 @@ tos minclock 3 maxclock 6 # -# The following pool statement will give you a random set of NTP servers -# geographically close to you. A single pool statement adds multiple -# servers from the pool, according to the tos minclock/maxclock targets. +# The following pool statements will give you a random set of IPv4 and IPv6 +# NTP servers geographically close to you. A single pool statement adds +# multiple servers from the pool, according to the tos minclock/maxclock +# targets. # See http://www.pool.ntp.org/ for details. Note, pool.ntp.org encourages # users with a static IP and good upstream NTP servers to add a server -# to the pool. See http://www.pool.ntp.org/join.html if you are interested. +# to the pool. See http://www.pool.ntp.org/join.html if you are interested. # # The option `iburst' is used for faster initial synchronization. # pool 0.freebsd.pool.ntp.org iburst +pool 2.freebsd.pool.ntp.org iburst # # If you want to pick yourself which country's public NTP server -# you want to sync against, comment out the above pool, uncomment -# the next one, and replace CC with the country's abbreviation. -# Make sure that the hostname resolves to a proper IP address! +# you want to sync against, comment out the above pool statements, +# uncomment the next ones, and replace CC with the country's abbreviation. +# Make sure that the hostnames resolves to a proper IP address! # # pool 0.CC.pool.ntp.org iburst +# pool 2.CC.pool.ntp.org iburst # # To configure a specific server, such as an organization-wide local