From owner-freebsd-arch@freebsd.org Thu Oct 5 08:49:38 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 998F2E3120C for ; Thu, 5 Oct 2017 08:49:38 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (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 5255C66149; Thu, 5 Oct 2017 08:49:38 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: by mail-qt0-x232.google.com with SMTP id o52so23998826qtc.9; Thu, 05 Oct 2017 01:49:38 -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:cc; bh=o12rttTsfU2HSEGuRp2JXazL8tRzVgnmTL2K0hleoJ8=; b=V36dHZozcrkNn6CsqGzlQ2ja/dZXuH/KFQzcON+m6/TF9DGwKhFTDpGlofZPKNzzMc KQxl/nE3TnWSMonNhnSOMUN2vgwWwpMr3jO9ITZC1HSsD8t62ugi2u487Y+TwQoUJMlB PiwLihbdKxK9slDOsf3h1JWTcqj9ogJYchXeDQBnVoLMTX8d4b4WxB1+SBAQfk6otEvd TPHUIfcGrCAfac45P0EZmPURZsyiy0EewuaqjhGD69USUBU+wgO8VFUigyz7HETH3ka0 7l5jUCx/UXYhgCsPrQ+9IEwe3RC+/HBcNY6icExlAUSOtDzz9Sh6u8UsS1A1a+eUfDbB nGhQ== 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:cc; bh=o12rttTsfU2HSEGuRp2JXazL8tRzVgnmTL2K0hleoJ8=; b=BOBqgnyAKtqbArrxO9HniFcVR+seObgtqyH7p77lqLCD/vbsBV16JhEHj8aYJuyXlJ um4Jcbp2huENDvSQAmeF0V+5nD+Vhi8D+kRBmjqonjf9yLzeWPEZAMjN8vRADFSzjyCk JXV52yWzaX5yLsnF+iep02vDShqSZHsH2vhFuJ+Q8F+mhiITJfLh6IXk8gwvpl2RnWjG IcL7DxBLQCQXVcUhRZFv2PRHP5dytti8a0N55hfT5NXCSTqhYJWbg6WfUb3Ps1FV01Q2 4MLQiJt/SrKDqvys9TUw3vomOAzWP/9EfE5bTnr2GEBIP+nxdZ2dsFelTzKdnxXYchpX Hhow== X-Gm-Message-State: AMCzsaVTDFp/MzTWtzLMEy1Gmi2HQZteY6aLG+IAfF6BUmFqcYM9Xw77 MD35r3XOw9iV7mHAGiDZuAx+OKju1xj6C6x5tX3FFNIl X-Google-Smtp-Source: AOwi7QB4i3zn2Dh4WQ0p8OQizb5ljiBEPz1/hrlHgFiH1YyGvJPMDZogK6ZSyWl+Zi3VaSZNwf9FGawPMlx/QBkLO0k= X-Received: by 10.200.38.225 with SMTP id 30mr32808707qtp.8.1507193377081; Thu, 05 Oct 2017 01:49:37 -0700 (PDT) MIME-Version: 1.0 Sender: jlehen@gmail.com Received: by 10.12.163.100 with HTTP; Thu, 5 Oct 2017 01:49:36 -0700 (PDT) In-Reply-To: <20171003230438.GA53445@FreeBSD.org> References: <20171003230438.GA53445@FreeBSD.org> From: Jeremie Le Hen Date: Thu, 5 Oct 2017 10:49:36 +0200 X-Google-Sender-Auth: J_eO3Mcx_pHknrIQWbDTZKOUW3o Message-ID: Subject: Re: rtools were deemed almost unused 15 years ago... To: John Cc: 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: Thu, 05 Oct 2017 08:49:38 -0000 On Wed, Oct 4, 2017 at 1:04 AM, John wrote: > Have you picked up the recent changes to the code in your port? Yes I did: https://github.com/jlehen/bsdrcmds/commit/3bc90c337176af0953b4194c14825ea14300de90 -- Jeremie > > ----- Jeremie Le Hen's Original Message ----- >> 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 >> _______________________________________________ >> freebsd-arch@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arch >> To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" -- Jeremie Le Hen jlh@FreeBSD.org