From nobody Fri May 20 14:22:46 2022 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 5B6261B33E1E for ; Fri, 20 May 2022 14:22:47 +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 4L4TTL6SdVz3Qpk for ; Fri, 20 May 2022 14:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 BE79913F31 for ; Fri, 20 May 2022 14:22:46 +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 24KEMksD017397 for ; Fri, 20 May 2022 14:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24KEMke8017396 for bugs@FreeBSD.org; Fri, 20 May 2022 14:22:46 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 264102] ntp doesn't support unprivileged ports (works with ntpdate) Date: Fri, 20 May 2022 14:22:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jon@xyinn.org 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: 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 List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653056566; 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=fVulg8/3xraBi7psAujLbkhDn/vTkb8tpx/cr4Wjpys=; b=JSITtBwNM0W4KNWJbMeG5J3cW0gM9cDFLzRjqpjlonPZFr4YdNQnJEpue0cR8Umiw/TXzz SQsBbRofevCOUxNdq7GNdPHIlZa4Kiu2+eiPxIl4gxIU/Dmyg6BvUFmnGAa8MjvCVoTWo/ gCFHEBsN+aVx7bDbE78kS5nJsgH1EbWyK81sTFSFElwabKy4HNUbZBoehxqmb1p3o2nbqs o24jB7N1ZDBs6EAfR0w43r0wtH6NBahutB7ZIJHgg08idvMDAIGYgwzCYbK7Kvpx21WDKx wVcjvP/l8kT2cPfydbqauncRp+IGBKGD+Z2uKTGHNy+p4znMFcg/K7YY+DAnlA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653056566; a=rsa-sha256; cv=none; b=podEZpNAB1KlgcAe97GhpTP7CBbAv3ZozyjLKVM7A3cSpNKqvWSbvd7j0W/aYn54Y5WcBQ dFzQZh8Gd5E7khIWTe5kxwqtWa/7bKpyc5LK1IeuzN+uM8y2uoSDh+AaxQC6YhGAR/+Zr8 bg0Y/flwGP4R+bxp+p0R6XdUC6i7oXZR8xDbLJW7gHMAXrMXT9CGxY0xgwx3d6APZNtx30 cBpvAr6YRRaH1Tm53Geu7eXOWCiIi4H48W6MdyzBnDkKpHxXVEN9go1PjVoxAgPxokzUOU iIKZD6zqchtU0t7BUAZryRUQY6cbOjawp+EdAsJWRh89adbNofRapXJYqxLvkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264102 Bug ID: 264102 Summary: ntp doesn't support unprivileged ports (works with ntpdate) Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jon@xyinn.org Hello, I just noticed (and spent a good amount of time today) trying to get the 'n= tpd' program in the base system working on my system (FreeBSD 13.1-STABLE atm). = It seems it actually hasn't been connecting at all and after a bunch of debugg= ing, I think it's related to port 123 possibly being blocked my by ISP. I'm also using the stock ntp configurations provided in FreeBSD.=20 ntpdate -d 0.freebsd.pool.ntp.org shows successful communication, although = the docs for that also mention that it does use "-u" for unprivileged access. I was planning on using 'ntpdate' for a longer term solution but the man pa= ge for it says: "Note: The functionality of this program is now available in the ntpd(8) program. See the -q command line option in the ntpd(8) page. After a suitable period of mourning, the ntpdate utility is to be retired from this distribution." Given that a lot of people need a way to update their system clocks in this type of environment (requiring unprivileged ports as a workaround), I don't= see how the ntpdate utility can be retired. I'm going to try OpenNTPD implementation since I read that they support the unprivileged access. I wanted to get some clarification on this just to make sure where the community is at with this. Is unprivileged ports a feature that is planned = to be included in the base 'ntpd' implementation before the 'ntpdate' utility = gets removed? Finally, IIRC, enabling the automatic ntp time update features in KDE (and GNOME - but haven't used it in a while) correctly fixed the clock, but I th= ink they may be using 'ntpdate' behind the scenes or some other mechanism. - Jonathan --=20 You are receiving this mail because: You are the assignee for the bug.=