From owner-freebsd-current@freebsd.org Wed Sep 16 17:38:24 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 58D013EC795 for ; Wed, 16 Sep 2020 17:38:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 4Bs6l25CkVz43Bm for ; Wed, 16 Sep 2020 17:38:22 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82f.google.com with SMTP id g3so6756932qtq.10 for ; Wed, 16 Sep 2020 10:38:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8aeNSxREL5gDHXOkuFwasGgXq7ri1sE5QClR/VlDQQE=; b=EzJ6nW+FoIGNPIo8oBY0T/fX+JxJbmGZ2Z9wgZabNbhwhTW9XpDQylHwiaSdf8J+Ru UtM75rOCrMg8gPPIk0aPxzM1hdLGkxXGwURYOZY/GuiVqlyFqb3jD53SbA67NcHT/uDf xsFWqIyp+6rhXE3KsCiOKYaLS88Y/IAd0RUaB4HXHdul+jkjP5XoGwc6Ept/Zr1BnHLy WybRM1UWSXE8mJK7yc/ZnrhFzO3rG0vUZhg/MMw4RxcEuAw1Fb6mVtzTgwxRM7x80uH/ LL3BRkHY7q9aZ25uwtPohPzVBVdv23mADdrezUViJnhWp6d5v+6+Z6cyR9mecEo9o3Zr nfNw== X-Gm-Message-State: AOAM531sFp3OvGna3WH9RnM22rhX11uqbBOxgMBWaCBkjkm4ftTl47yP 25oe3ITJpd/YgDJBB07n8Xb5ZnKe1jOcd/FYvUZODQ== X-Google-Smtp-Source: ABdhPJyQmcxZZA3qGGsJQON6aV7iFCcMYKVU4vehG4iweJv/vNyq1lmd/C7akjW5EfAi3ChSnc1IQ07xonarYYIKUjA= X-Received: by 2002:ac8:319d:: with SMTP id h29mr22923246qte.32.1600277901482; Wed, 16 Sep 2020 10:38:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 16 Sep 2020 11:38:10 -0600 Message-ID: Subject: Re: Deprecating ftpd in the FreeBSD base system? To: Ed Maste Cc: FreeBSD Current X-Rspamd-Queue-Id: 4Bs6l25CkVz43Bm X-Spamd-Bar: - X-Spamd-Result: default: False [-1.51 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.91)[-0.912]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.006]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82f:from]; NEURAL_HAM_SHORT(-0.59)[-0.592]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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: Wed, 16 Sep 2020 17:38:24 -0000 On Wed, Sep 16, 2020 at 11:34 AM Ed Maste wrote: > 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 > here. > While I may quibble over the 'legacy' tag to FTP, I do agree that ftpd isn't important enough to risk the security exposure for it (even if we don't enable it by default). There are several ftpd ports one could use. I know I'll be installing it on my systems here, but I have some special needs due to a video camera that uploads snapshots via ftp (and yes, I know that's not super secure which is why it's on it's own VLAN, jail insulated, etc). Warner