From nobody Sun Aug 18 21:37:22 2024 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 4Wn8Fv126mz5TMZZ for ; Sun, 18 Aug 2024 21:37:23 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wn8Ft6FLmz4PMy for ; Sun, 18 Aug 2024 21:37:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724017042; a=rsa-sha256; cv=none; b=ainAG45EN1OrvHdX9uJl2ACLBq53kRor84J+MfUXYXN1iWzWbZdNmXSJDGVQRW8J4WI9tl yb9dwbB6x/PZKKnNQn+kZWiH1jmP7xkCq/URpVOZbPyiRTqhuF/SXDDGWTKJPqVlzw0lqq 3TA96xjXNgPxWe/7Lg05VqHNSawwxtgaCaW0sK8r6lO/97vyppgRP2CPDgss7z8giQ6xLa igc1NAx+Ub0yF/F8A6wpxJXgoviuxa/HCBFaZ/B7ZTHncjpukCMavka+2a3RkjtKeNVdS1 fOmPHa9KShKzN/t6ET+9nbtL5K4v6CSbBLPRfMeSelUcw8+vI4C3pxYapii2Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724017042; 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=4NtOSylD9daDL6vK0ScMojLw/iB1+Ywr1A93lAXmHuM=; b=BhLpeg/XjqA9rd45RQgRX1BBp8FVOQRBk9W9PV9Q9T7W/HZpF6254ulMdM0FG/UeEwQMjB +Tvc+Mc9PBDUQo3qdhNLNNjMVrSejLzTLx5lwPeYIN1ZS0V16KdGAzwQhUKPO12+INj/y4 jLCdf4nwAgBzLAMoIW7UduoZPI7/AFXLSNafHz+D5OmFnZv87ChyrlTAR/P3C5YxnynEUl YBvTfnZakSpwyezYrccqRD2PukYvfpvWBd9PMl9TlSO+U6u2dXUd2PQkIbOSsCtcuiVllg 3aiIr6eAtHEB9Np7cPBwiB8bMcqrzqo4LekoV7lT8I0mzZAOhhWRC6Oo+Vwh2A== 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 4Wn8Ft5m9tzqPC for ; Sun, 18 Aug 2024 21:37:22 +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 47ILbMv1044518 for ; Sun, 18 Aug 2024 21:37:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47ILbMp6044517 for bugs@FreeBSD.org; Sun, 18 Aug 2024 21:37:22 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 280915] libfetch: Change default FTP password to anonymous@anonymous Date: Sun, 18 Aug 2024 21:37:22 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mallorya@fastmail.com 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 attachments.created 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280915 Bug ID: 280915 Summary: libfetch: Change default FTP password to anonymous@anonymous Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: mallorya@fastmail.com Created attachment 252900 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252900&action= =3Dedit libfetch: Change default FTP password to anonymous@anonymous Current default behavior is to send username@hostname to any FTP server that asks. Leaking username and hostname to every FTP server should be opt-in not opt-= out. Users desiring this behavior can set this variable: ``` FTP_PASSWORD=3D`whoami`@`hostname` ``` You can verify that `fetch(1)` sends username & hostname with the following= two commands: ``` doas pkg install netcat echo -e '220\n331\n' | netcat -lp 8080 ``` ``` fetch -vv ftp://localhost:8080 ``` See attached patch. --=20 You are receiving this mail because: You are the assignee for the bug.=