From owner-freebsd-arch@freebsd.org Tue Jun 20 14:00:03 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 5736AD997EF for ; Tue, 20 Jun 2017 14:00:03 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id C0EDC83C72 for ; Tue, 20 Jun 2017 14:00:01 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 76642 invoked by uid 89); 20 Jun 2017 13:59:54 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@194.97.158.70) by mail.grem.de with ESMTPA; 20 Jun 2017 13:59:54 -0000 Date: Tue, 20 Jun 2017 15:59:54 +0200 From: Michael Gmelin To: Baptiste Daroussin Cc: Jeremie Le Hen , freebsd-arch@freebsd.org Subject: Re: rtools were deemed almost unused 15 years ago... Message-ID: <20170620155954.150dedc5@bsd64.grem.de> In-Reply-To: <20170620111136.fz5ovfa4imm3p4hj@ivaldir.net> References: <20170620111136.fz5ovfa4imm3p4hj@ivaldir.net> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 20 Jun 2017 14:00:03 -0000 On Tue, 20 Jun 2017 13:11:37 +0200 Baptiste Daroussin wrote: > On Tue, Jun 20, 2017 at 12:25:46PM +0200, 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 > > Yeah! > > Is telnetd part of your list? As long as the telnet(1) client stays in I'm all for it. -m -- Michael Gmelin