From owner-freebsd-arch@freebsd.org Sat Jun 24 20:29:24 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4588FDA5172 for ; Sat, 24 Jun 2017 20:29:24 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAAF378108 for ; Sat, 24 Jun 2017 20:29:23 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: by mail-qt0-x22d.google.com with SMTP id f92so54739024qtb.2 for ; Sat, 24 Jun 2017 13:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=7v09YvmUNeQl4eJpPiU5jr8QNr0W4TcfDoKzp8Ccdrc=; b=eytOl1bMS+znJHf7v6575xXJspwg1HjR8V833bBUGmcVA96IipB6utXmsUwD4h9Qa2 j1/KxD9R26GV3GkdrJyZ4GNdEojsbqOxzjEaN1up95oYhkdaNm0eZ/ddmmFdk4lL740V GXtM3dcoZvZgQgtj59HgpMzuU4Sx/tX6qwqTPIoNPfL0vTZ844JY/T8kNt67hbo0Iizp l/orM6ZvyhxuZEK8PoNwxTtCBJtwxt6heZMmhN9uosx3Es8VOPBNuwPrrW6RR/X4nJ6h jWBnIbOOox1p3KFSxq00vYS22Iuu3yR64MLD6nxX0AAr9sbc0HKBE8nu4qVrussqRMrb ay/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=7v09YvmUNeQl4eJpPiU5jr8QNr0W4TcfDoKzp8Ccdrc=; b=QhEp/QEeSEUav9ePJC5EKpisjbM3pxrVFiT6NRbwR4+sxtR1VKIHRDP/gQQcEtcapI oFXWq9o3UxRguOIxEWvchd0SXPn4QJDAnnX/OFr5C9jmwCyHidxA7jU6r/iWk+DFTTZl GkXE5vKKofpsB1gp2+KlbrUyuFP45FrOXZB/zxguN/zu2zoYmQ2S1iFnsR8yp7Y19auD 0ipDs0pQ8S2j+z4FZa43HvJsKDf1MWLTxpdzCEpq2HvZhukq03d5Od3FqJvPO4RRFUeO RuSs2+i/EwkSEV5WrsPjoQZ+2r3tN59g79TwK4NuIz2BQpEHihoyjsfTGFUa4BZwoyd2 ApAQ== X-Gm-Message-State: AKS2vOw1OQOWbWnPgVAqemaspSFDvvLzfalhP0MLqeUf9l/prmLFOWn3 GLSJDci1NSZ+RFAvAl9xeVSudSUHaBhGoyc= X-Received: by 10.237.56.4 with SMTP id j4mr16803581qte.78.1498336162982; Sat, 24 Jun 2017 13:29:22 -0700 (PDT) MIME-Version: 1.0 Sender: jlehen@gmail.com Received: by 10.12.181.46 with HTTP; Sat, 24 Jun 2017 13:29:22 -0700 (PDT) In-Reply-To: References: From: Jeremie Le Hen Date: Sat, 24 Jun 2017 22:29:22 +0200 X-Google-Sender-Auth: N5t_sB6RbfDKLEfxELSsEsMVRnY Message-ID: Subject: Re: rtools were deemed almost unused 15 years ago... To: freebsd-arch@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2017 20:29:24 -0000 So the first step was to create a port with FreeBSD rcmds, here we are! But I need some eyes to vet it: https://reviews.freebsd.org/D11345 Thanks. -- Jeremie On Tue, Jun 20, 2017 at 12:25 PM, Jeremie Le Hen wrote: > Hey folks, > > I remember when I was still barely out of my teenagehood, people were > mostly using ssh/scp while rtools (rsh, rlogin, ... for the > youngsters) were left in place as a courtesy for legacy production > systems still relying it on them. > > Fast forward to 2017 (so yes, 15 years later), stack-clash [1] sorely > reminds us that suid binaries are an attack surface. I don't even need > to mention that it's a healthy engineering practice to remove unused > code, both from a maintenance and security perspective. > > Therefore, I hereby propose to remove rtools from the base system. I > acknowledge this will likely cause troubles for a handful of people > who are still relying on it for good or bad reasons. But the flipside > is that the attack surface of millions of FreeBSD installed out there > will be reduced. > > The proposed roadmap is: > - disable from the build on head and let it soak for one month > - remove rtools from the base. > > What do you guys think? Any preferred color for the bikeshed? :) > > > > [1] https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt > -- > Jeremie Le Hen > jlh@FreeBSD.org -- Jeremie Le Hen jlh@FreeBSD.org