From nobody Thu Mar 30 07:58:59 2023
X-Original-To: bugs@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 4PnG5b3Cvbz42dKh
	for <bugs@mlmmj.nyi.freebsd.org>; Thu, 30 Mar 2023 07:58:59 +0000 (UTC)
	(envelope-from bugzilla-noreply@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 4PnG5b1Mqxz477Y
	for <bugs@FreeBSD.org>; Thu, 30 Mar 2023 07:58:59 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1680163139;
	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=R/ruk68r+vb1nlVy42msM1eCnTLujdCe0tnxfbBy4mY=;
	b=WuEni8xWtBEhtf6r/NJmwn1MERYhnXVFLOSjy1XixCSW2gjMBFpkiHqw5UDhq1lks5Cess
	CDhup/8vLoBzwDcoAaixq/MreOPEe8n7/7xYiFekaVUUnbEDkeiPZb40zvlqQuRz6oDftI
	PeNpBGE9SugWkTRkJDy6Bco1ExRivAkuHpaCpEd0UOpv8LUez9FcwmZW2WO4z3f6VMJe2R
	Kd+87I0xgtREUDURznyqKeqc40nYkoH09Rrm0uVjmMlVZoy0kZehAVE7CgRdNT14tmz7N8
	mSrb5sAHXGnN6EpOJDvnQ8f/PLMHMN3E8Mc6o+pZ6tHFWCJKWc3zeVJnxoidlw==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680163139; a=rsa-sha256; cv=none;
	b=b6mnC3v34H5fcA5zS+D2LzWyJdMOars9J8JRVaCUJ2YLeS7hPFJKANb/oN+/PDbYb4jddP
	NQsrXzhwGpp8VpSTwChphliM1TYDABS780Zjq7F/MbdBjo+hkun/CihtKRNdCJsM64qjU1
	bx0//Oq9vmANQ37mOkBIJehqLRzBggsNaValXSMjJvsVPgfwgH7fvZC7Q5o/xpMu0iKTQT
	GPc6TXKicyeT+6uOoFYo/px0rY17Rf1vdmeY0szHjZbG+xjtYoZIyS/7JEP3YV6uGMlxqI
	isXjZzrP5iDb9lgCoVTsWj8Y/KMH+wxlqlV9Y2DQK3/Ps8lU+ccdHH31fXPWHA==
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(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 4PnG5b0QpTz140F
	for <bugs@FreeBSD.org>; Thu, 30 Mar 2023 07:58:59 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32U7wxbY008723
	for <bugs@FreeBSD.org>; Thu, 30 Mar 2023 07:58:59 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32U7wx52008722
	for bugs@FreeBSD.org; Thu, 30 Mar 2023 07:58:59 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: bugs@FreeBSD.org
Subject: [Bug 270536] By default ntpd does not work on IPv6-only hosts
Date: Thu, 30 Mar 2023 07:58:59 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: conf
X-Bugzilla-Version: 13.1-RELEASE
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: lapo@lapo.it
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: bugs@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-270536-227@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: Bug reports <freebsd-bugs.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-bugs
List-Help: <mailto:freebsd-bugs+help@freebsd.org>
List-Post: <mailto:freebsd-bugs@freebsd.org>
List-Subscribe: <mailto:freebsd-bugs+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-bugs+unsubscribe@freebsd.org>
Sender: owner-freebsd-bugs@freebsd.org
MIME-Version: 1.0
X-ThisMailContainsUnwantedMimeParts: N

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270536

            Bug ID: 270536
           Summary: By default ntpd does not work on IPv6-only hosts
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: lapo@lapo.it

Default /etc/ntp.conf uses the following server:

pool 0.freebsd.pool.ntp.org iburst

which does not resolve to any IPv6 addresses:

% drill aaaa 0.freebsd.pool.ntp.org
;; ANSWER SECTION:

while 2 does:

% drill aaaa 2.freebsd.pool.ntp.org
;; ANSWER SECTION:
2.freebsd.pool.ntp.org. 150     IN      AAAA    2620:83:8000:ffd1:1::e
2.freebsd.pool.ntp.org. 150     IN      AAAA=20=20=20
2601:603:b7f:9731:123:4636:ddb5:5de
2.freebsd.pool.ntp.org. 150     IN      AAAA    2604:a880:1:20::8e:3001
2.freebsd.pool.ntp.org. 150     IN      AAAA    2620:149:a0c:4000::1f2

I discovered about that on the following thread:

https://community.ntppool.org/t/the-time-has-come-we-must-enable-ipv6-entir=
ely/1968/44?page=3D3

I'd say it would make sense to either:

1. switch entierly from 0. to 2. in order to support IPv6, but risking prob=
lems
on server which have IPv6 mis-configured
2. use both 0. and 2. in default ntp.conf, thus guaranteeing both IPv4-only
answers and IPv4+IPv6 answers, ntpd will then choose the best/closest one
anyways

cheers,
Lapo

--=20
You are receiving this mail because:
You are the assignee for the bug.=