From owner-freebsd-arch@freebsd.org Tue Oct 3 20:06:41 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 DE563E231E5 for ; Tue, 3 Oct 2017 20:06:41 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (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 988D62764 for ; Tue, 3 Oct 2017 20:06:41 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: by mail-qt0-x231.google.com with SMTP id f15so15277726qtf.7 for ; Tue, 03 Oct 2017 13:06:41 -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=fru17YEZoiwXb9qBa5zLDJUZ8yPPwJzXalyM6KJ0U0M=; b=aRxZt/ylMy3IDq1DYe7CWxTiYn2B0qyuuzHor4nyflANhAK+QG+aygkXABEVFDT10X uVss7NxW3BT08H+NrvNG2o+D8k2Ilhvs71oagxyZ/6viBZ40b6IDF5O2HULaYIHJCHYv 7TF3f6KZFiTRDJaK2Hi4hWzVKbuCLRBVSCWPnW+wz5Di+vt8DvH56hgUHM6LH+oRv0Ir bc6Bvwh1Xs3iKaMk8z+HM/r8HubIU5xtLjcncFxbsIOWQ73/pfKQ/riYF2vmEnalJ53L vS4v1Ua+P7rOGWHT5hxUQr8tDR/S87QWLkmoKpAevycVr4/UKqjaFmLSnsuwgV/5JqpA Fv0A== 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=fru17YEZoiwXb9qBa5zLDJUZ8yPPwJzXalyM6KJ0U0M=; b=negosr5AaPwRA24+ipVpSNECiVtw1INO4qM3NOWzeawrfkm3+VM73A+87U6Pbmbyz1 LEgascqI+rN4a5p6MU7cYWpJYDwQHP7/kMxuD9Mo7i8BYJ9zKF8fyzJLKubg7ONMu9dA ggD8pxMN680DvzOYb31c8G2cJySeZJsrpYeNBRwAieIuOPOpk9QUM8UBAkjRN93WqOtS rYD706U/uHgiT5v4gfTS3kT3Kk5CKK8GD7SoU02QP0Y617sd1SmHTyRuc0+dC/a/vjl3 D5qzLdeiJ1QUXIdcRwP1mOpB4498wrtEGDGNEbLhtVtQa/rppTMpP5X+YBb1DrxrjaC2 ltFw== X-Gm-Message-State: AMCzsaUlSUADzoClEMJmqs4xrJdo7bYg+cL3Jgd+z0cJQNEG7kZbeqH7 il2kB+ePV/Oak8ZVTPYzWndCKeSuBy6CMBIp8edbbi6A X-Google-Smtp-Source: AOwi7QDZted1fCVHw3j3XfPxl+jjaft4jexYFobnKg2FOdsjqRiM4YoB1QXu4E1i0wIvvFSrSG2ngEBqwRTYve1gjIs= X-Received: by 10.237.41.70 with SMTP id s64mr2340604qtd.71.1507061200288; Tue, 03 Oct 2017 13:06:40 -0700 (PDT) MIME-Version: 1.0 Sender: jlehen@gmail.com Received: by 10.12.163.36 with HTTP; Tue, 3 Oct 2017 13:06:39 -0700 (PDT) In-Reply-To: References: From: Jeremie Le Hen Date: Tue, 3 Oct 2017 22:06:39 +0200 X-Google-Sender-Auth: Ac5aB9U980fPjVXa8722Pn-SBM4 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: Tue, 03 Oct 2017 20:06:42 -0000 I've slacked a bit but here we are: https://reviews.freebsd.org/D12573 On Sat, Jul 1, 2017 at 12:08 PM, Jeremie Le Hen wrote: > On Sat, Jun 24, 2017 at 10:29 PM, Jeremie Le Hen wrote: >> 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 > > The port has been submitted and RCMDS are disabled by default from the > base system. > > See you in a month for the removal! > > -- Jeremie > >> >> 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 > > > > -- > Jeremie Le Hen > jlh@FreeBSD.org -- Jeremie Le Hen jlh@FreeBSD.org