From owner-freebsd-fs@freebsd.org Fri Jun 23 00:14:10 2017 Return-Path: Delivered-To: freebsd-fs@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 EB595D98094 for ; Fri, 23 Jun 2017 00:14:10 +0000 (UTC) (envelope-from theunusualmatt@gmail.com) Received: from mail-yw0-x236.google.com (mail-yw0-x236.google.com [IPv6:2607:f8b0:4002:c05::236]) (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 A812170863 for ; Fri, 23 Jun 2017 00:14:10 +0000 (UTC) (envelope-from theunusualmatt@gmail.com) Received: by mail-yw0-x236.google.com with SMTP id 63so11894783ywr.0 for ; Thu, 22 Jun 2017 17:14:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xmviNx1s4N9DgiBCuvFIW2OHbNNpBSmCPi6D7HoY6X8=; b=EXqnL5EsCqgeiplt9DMBw25XBIBfNFwDol/dy67o60Rcy2Vr2h6t/DHZDN9akKqUZl vyDzxv2krMoDKfl4Z4OIvD2hxAQobmAqnMk+oW8kHYLNEJ020B+OdiJMUgtjJER1PiAQ RqTf0tS4GNntE/OnQVTykaoQCON915gFWFwwnafdex1AisZo3VRiJnWwghSrEJ/t2dUR wXrIicAVZzIrqvVIhD5jGt+S7msfhSQsWhZfo35P4QTi7h/sm6A2kjEgYdBhMR/sfJvQ hNIL07I/q2PrbkofUQR7eWPf8PGW0YRxe3y39q1xRflfNP0o3OKuGkGa6/+ykYBj0G7r +6bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xmviNx1s4N9DgiBCuvFIW2OHbNNpBSmCPi6D7HoY6X8=; b=Xb2O9Jf1iz/ydR+ZBqqqBqMEl3Fb37H/uodx1IGYXydxDQut3w/N984iVP3UFChKCb v6DPAB36h2qiaHTr95usTdhryFbUP5+iqD5+bdGL8vbIUeIaTAEumR061x8quuob3Wu6 Dy8vAvqnaNqWPKqIxiKh7eiF5enX1fys/O5xOlXiV6HdMhLAkpBK98YEauEDfT1IbGCX +uQdhk+/StsYHDG2GeVkI10AjKYIJpFXacqwoc3zowOxg6bDGxQTv2S+0G5RoH6mJXnj emsH2wbGkclE3oIAGRWHrlBPIqvE7cXI1YsBQ5OxpRFI5bCC3cGACn9ZR4qY/wD5Dg45 UZ9w== X-Gm-Message-State: AKS2vOwhbPwuz7B8+W6n8Tjtk8PpaeZsKCeai6dIJutWt1uYjMfzAxb/ TKamFQ4tJvDL66ycyqbxSrMGihqxcw== X-Received: by 10.129.156.71 with SMTP id t68mr4331297ywg.257.1498176849811; Thu, 22 Jun 2017 17:14:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.103.70 with HTTP; Thu, 22 Jun 2017 17:14:09 -0700 (PDT) In-Reply-To: References: From: Matt B Date: Thu, 22 Jun 2017 20:14:09 -0400 Message-ID: Subject: Re: SMBv1 Deprecation To: Rick Macklem Cc: "freebsd-fs@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2017 00:14:11 -0000 I totally understand. I try to support the FreeBSD Foundation with donations as often as I can as well as reporting bugs promptly as I am sure resources are spread thin. My skill set isn't really that of a programmer though. I am working right now at checking the Darwin/OS X code for mount_smbfs and other modules associated with smbfs in the hopes of possibly getting something viable for BSD, even if it has to be a port due to license issues. Progress is slow just due to lack of knowledge in the programming arena. On Thu, Jun 22, 2017 at 5:30 PM, Rick Macklem wrote: > Well, the short answer is...somebody has to do it. > (At this time, I believe that there are two people employed by > the FreeBSD Foundation to do FreeBSD kernel work.) > The rest of FreeBSD's development is done by volunteers > (some of which do the work for an employer and get permission > from the employer to upstream the work). > I, for example, do NFS as a hobby and always have, but to be honest, > there aren't many out there as stupid as I am and willing to do this;-) > > So, if you have the skills and time, feel free to do an implementation > and, so long it is appropriately licensed (no GPL or similar), I suspect > someone would be willing to work with you to get it into FreeBSD. > > If there is an SMBv2 implementation in one of the other BSDen > (NetBSD, OpenBSD,...) the port wouldn't be an immense amount > of work, but there are differences in the VFS and similar that will > need to be dealt with. > Otherwise, you are pretty much implementing it from scratch, using > the SMBv1 code as a starting point. > > rick > ________________________________________ > From: owner-freebsd-fs@freebsd.org on > behalf of Matt B > Sent: Thursday, June 22, 2017 3:36:14 PM > To: freebsd-fs@freebsd.org > Subject: SMBv1 Deprecation > > Long time user of FreeBSD here. I have been happily using the mount_smbfs > binary and in my fstab to mount Windows Shares on boot to be used by > various network services house on multiple FreeBSD systems. Sadly, it > appears these connections all use SMBv1 NT1 security to perform the mount > operation. With the new security landscape, post-WannaCry ransomware, in a > mixed-mode environment where all the shares live in Windows, that just > won't do. This has been discussed many times before in the past but there > hasn't been any headway AFAIK. Every other piece of software I have > encountered has moved away from this deprecated network protocol to the far > more secure versions of SMB to perform Windows share operations. As a stop > gap, I have implemented a very rudimentary NFS server advertising shares, > but configuring a Kerberos infrastructure and setting new accounts for each > and every service (not to mention the new permissions nightmares even with > Active Directory) on multiple BSD systems is arduous. Rather, I am > wondering why FreeBSD is behind the ball on the development? The other > Linux based systems I run required a simple addition of the vers=SMB2 flag > to the fstab entry to successfully mount. I understand the code base is > very old for the mount_smbfs, but what is the way forward here? NFS is > simply a workaround as far as I am concerned and every other *nix style > distro seems to play nice with SMB. Is there an ETR on this greatly needed > and long overdue update to mount newer style SMB shares? > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >