From owner-freebsd-arch@freebsd.org Sat Jul 1 10:08:34 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 D2CA0DA9793 for ; Sat, 1 Jul 2017 10:08:34 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (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 8D6C680E39 for ; Sat, 1 Jul 2017 10:08:34 +0000 (UTC) (envelope-from jlehen@gmail.com) Received: by mail-qt0-x229.google.com with SMTP id b40so7134203qtb.2 for ; Sat, 01 Jul 2017 03:08:34 -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=GUITwZ9x4nWQ9UwNKrsk9UD6c2BS50RDTtpj8cv5gf0=; b=VxQrE4W8ibgn4owLHyHYhh47m/sUIq/b9RwrnwNfJPUzjB7avXQmxNxl+/5DOonhSb ZhNDF+PCalAPnpo0gzbcwSnSEHZDZKqqFAF21fDnEaApL+9OlOlIIlhIbIoDtLf/NrxY cW0O4o5FrZ2FaG3nGkk0sGNDNsnuOsl/1Tn4DO0+tqIi0qltD2oNzgdSBGYFa/zBtOz0 5vxaC+g8rFSQPGojkqbVGIAskPdjdUcAdu2fu4z/xOTu/0yGQMoZkyzmh/oJa3KxyYxH rFN495Ysh29HupopaJBy9qrslO8+Ry0C7pc09moQ0RLwJf8FzzHBLYASHBmTYV7V2fTa CMOQ== 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=GUITwZ9x4nWQ9UwNKrsk9UD6c2BS50RDTtpj8cv5gf0=; b=DyLvVexkFZmimGXPw6OtfEEhZXMEjM/KXlm9DHcB+hChzOBatOTclszFU0wBFclaWl t+/33HMXOVgBQx19Dj8l/GLIWvdoOk9yZNgiGJDM8Esih7ebbMKTtvmGiS/4UqvkJQ0J Kh2/nt3T8ExJYQQTjg7GYSuP+1LuiEwjGFq5uEKgiTSSvlK0arEg4QK7JpbFHGqPwQ8h f+MWJVzDqKdPHR9+rQJJzbpNzOzDkbFRzgI7syxMPFGP29i0k/nprzVivujmxfRHq97f pfe/doc5Fx31FPZ2QGeG+KYF7d6S0bpSTVVs07PTuEFkfbzNoU6328Phi3udmaWGvsqz gh2Q== X-Gm-Message-State: AKS2vOzRqUhj4MW/IX/MP+wYubY/tqHecR1BD0yPRYB8q1+fX3/5XTNK dEqgon1nLEo0e9Q551L5Zexxs8HWIDPC X-Received: by 10.237.53.244 with SMTP id d49mr15042917qte.46.1498903713285; Sat, 01 Jul 2017 03:08:33 -0700 (PDT) MIME-Version: 1.0 Sender: jlehen@gmail.com Received: by 10.12.181.46 with HTTP; Sat, 1 Jul 2017 03:08:32 -0700 (PDT) In-Reply-To: References: From: Jeremie Le Hen Date: Sat, 1 Jul 2017 12:08:32 +0200 X-Google-Sender-Auth: eVDAPupc0TwK1TGLTxVoN4lMtFM 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, 01 Jul 2017 10:08:34 -0000 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