From owner-freebsd-current@freebsd.org Thu Sep 17 15:52:43 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 828B13E4AE4 for ; Thu, 17 Sep 2020 15:52:43 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BshLf5QwJz4C8g; Thu, 17 Sep 2020 15:52:42 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by mail-qk1-x735.google.com with SMTP id n133so2676288qkn.11; Thu, 17 Sep 2020 08:52:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VTm11I2I4QejORdC65LN2FuYAZVFBkDr9PGsPM2Y4HU=; b=FwfE2s8OL3ap/wJBoRthQu8Jr8gB4iZkhwPXFFIv38gT7LMQdfVxC00TpI1zLrnUG4 Z71umf37VeC1+DYfrhs60LFsKccCGT5UuMN5fBinXNecfcIckNxma/9iEEJR4HwZIbes OwAkCI0hsdIkgpeiCYaGlLlH030AKjrYhQDsHgx8N/KOIxgO+msRmbFfPHlLxFpBathp 9DaLfliOjphunoJ/cGuc1zv/McX7Put9L9xykGi0yhNfjmE/8l2UBUFOpUx0g5Aa/ot6 GYwfO4K3hdGinsiKRdkxS89iZe+Unh10oxzMPRT2qrxeawbMTZRjJ6F/en8zMBFetare vijg== X-Gm-Message-State: AOAM5330HTXy0Psdeu8dGEU7KVavPIkjYhG4BbjaSwwN0FzDiBKFSdl5 74XDhlRFJuFbAesa+tFXb1FE67sfgQ4= X-Google-Smtp-Source: ABdhPJwCrYOpY0D5taRY3+rqWGLShzFIyRAADP/VulrxVmrq8Xfeupxbt3Q3XXp/MG1XikMmN1tt4A== X-Received: by 2002:a05:620a:2284:: with SMTP id o4mr29616751qkh.206.1600357960816; Thu, 17 Sep 2020 08:52:40 -0700 (PDT) Received: from mbp.home (200-12-5-188.rev.tribenet.com.br. [200.12.5.188]) by smtp.gmail.com with ESMTPSA id v90sm53035qtd.66.2020.09.17.08.52.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Sep 2020 08:52:39 -0700 (PDT) Sender: Renato Botelho Subject: Re: Deprecating ftpd in the FreeBSD base system? To: Cy Schubert , Ed Maste Cc: FreeBSD Current References: <202009171404.08HE4fZj007939@slippy.cwsent.com> From: Renato Botelho Message-ID: Date: Thu, 17 Sep 2020 12:52:36 -0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <202009171404.08HE4fZj007939@slippy.cwsent.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BshLf5QwJz4C8g X-Spamd-Bar: - X-Spamd-Result: default: False [-1.73 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-0.53)[-0.526]; FORGED_SENDER(0.30)[garga@FreeBSD.org,gargabsd@gmail.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[garga@FreeBSD.org,gargabsd@gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.03)[-1.034]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::735:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2020 15:52:43 -0000 On 17/09/20 11:04, Cy Schubert wrote: > In message om> > , Ed Maste writes: >> FTP is (becoming?) a legacy protocol, and I think it may be time to >> remove the ftp server from the FreeBSD base system - with the recent >> security advisory for ftpd serving as a reminder. >> >> I've proposed adding a deprecation notice to the man page in >> https://reviews.freebsd.org/D26447 to start this off. There are a >> number of ftp servers in ports, and if we're going to remove the base >> system one we can create a port for it first, as well. >> >> Any comments or concerns, please follow up in the code review or in email her >> e. > > We should also deprecate the FTP client. > > I've been advocating removing FTP (and HTTP) from libfetch as well. People > should be using HTTPS only. (libfetch could support a plugin that might be > supplied by a port should someone be inclined to write one.) > > FTP is firewall unfriendly. > > The F5 gateway at $JOB does not support FTP. When we still worked at the > office I had to take my $JOB laptop to the coffee shop to use their > wireless to download patches from Broadcom's FTP site. Now that I WFH (we > won't ever go back to the office) I download while disconnected from the > VPN. > > Then move the removed bits to ports, which I think we already have in tnftp > and tnftpd. pkg still uses HTTP ❯ sudo pkg -d update -f Password: DBG(1)[78228]> pkg initialized Updating FreeBSD repository catalogue... DBG(1)[78228]> PkgRepo: verifying update for FreeBSD DBG(1)[78228]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite' DBG(1)[78228]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:13:amd64/latest/meta.conf with opts "i" Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 DBG(1)[78228]> Fetch: fetching from: http://pkgmir.geo.freebsd.org/FreeBSD:13:amd64/latest/packagesite.txz with opts "i" Fetching packagesite.txz: 100% 6 MiB 6.5MB/s 00:01