From nobody Thu Aug 12 09:54:02 2021 X-Original-To: ports-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 C98691755156 for ; Thu, 12 Aug 2021 09:54:02 +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 4Glhpy56bVz4YMW for ; Thu, 12 Aug 2021 09:54:02 +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 97935208E0 for ; Thu, 12 Aug 2021 09:54:02 +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 17C9s2Wn036652 for ; Thu, 12 Aug 2021 09:54:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17C9s21Z036651 for ports-bugs@FreeBSD.org; Thu, 12 Aug 2021 09:54:02 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: ports-bugs@FreeBSD.org Subject: [Bug 257767] Mk/bsd.sites.mk: Disable ftp protocol for fetch MASTER_SITES Date: Thu, 12 Aug 2021 09:54:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hackurx@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257767 --- Comment #7 from Loic --- (In reply to Alexey Dokuchaev from comment #5) > One does not verify distfiles' links with the browser This is not written in the documentation and only makes sense if you check = many URLs. > It does not have to be secure for the purpose of distributing distfiles,= =20 > their authenticity is ensured by SHA256 hashes which are checked on the r= eceiving end. Except that the user will have opened an insecure ftp connection as root th= at the attacker can exploit to gain access to the system. The problem does not come from the download file itself. > This is simply not true, there are plenty of FTP servers which are active= ly=20 > maintained as of today. Some ports may be, but this is not the case for the base: In the commit 674400eb20b65369a88b1cb778d729bc297832c9 very recent (Tue Jul= 27 12:14:00 2021 -0600) the comment is "Delete code killed by SVN r13139 in 19= 96.=20 Little chance that it would still compile today". This shows how little interest there is at the moment. For /usr.bin/ftp the last commit a598c4b809a73772d7452991213407cdac302156 is from 2017. > How exactly removing a feature, even not very popular one, is *nice* to t= he users of the Ports Collection? This simplified the firewall rules and increased security for the system administrator using Poudi=C3=A8re. For the user, the goal is to eventually achieve HTTPS to complicate MITM attacks while using the ports. --=20 You are receiving this mail because: You are on the CC list for the bug.=