From owner-freebsd-fs@freebsd.org Thu Dec 19 16:47:47 2019 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 07B0F1E4F62 for ; Thu, 19 Dec 2019 16:47:47 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from lwfs1-cam.cam.lispworks.com (mail.lispworks.com [46.17.166.21]) by mx1.freebsd.org (Postfix) with ESMTP id 47dyV92xbnz3N4G for ; Thu, 19 Dec 2019 16:47:44 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com (higson.cam.lispworks.com [192.168.1.7]) by lwfs1-cam.cam.lispworks.com (8.15.2/8.15.2) with ESMTP id xBJGleFs003670; Thu, 19 Dec 2019 16:47:40 GMT (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com (localhost.localdomain [127.0.0.1]) by higson.cam.lispworks.com (8.14.4) id xBJGlexa028177; Thu, 19 Dec 2019 16:47:40 GMT Received: (from martin@localhost) by higson.cam.lispworks.com (8.14.4/8.14.4/Submit) id xBJGleRa028173; Thu, 19 Dec 2019 16:47:40 GMT Date: Thu, 19 Dec 2019 16:47:40 GMT Message-Id: <201912191647.xBJGleRa028173@higson.cam.lispworks.com> From: Martin Simmons To: Miroslav Lachman <000.fbsd@quip.cz> CC: theunusualmatt@gmail.com, freebsd-fs@freebsd.org In-reply-to: (message from Miroslav Lachman on Thu, 19 Dec 2019 00:12:00 +0100) Subject: Re: SMBv1 Deprecation / SMBv2 support in FreeBSD References: <9b556cbe-f9f3-ab15-6fcd-71397d18c126@freebsd.org> <20170623104654.07e5a3e0@ernst.home> <45b0864b-680c-8fe0-f5a5-353b6373d069@freebsd.org> <20170624045543.GY39245@kduck.kaduk.org> X-Rspamd-Queue-Id: 47dyV92xbnz3N4G X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of martin@lispworks.com has no SPF policy when checking 46.17.166.21) smtp.mailfrom=martin@lispworks.com X-Spamd-Result: default: False [-0.68 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.930,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.73)[-0.734,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lispworks.com]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[21.166.17.46.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:51055, ipnet:46.17.166.0/24, country:GB]; FREEMAIL_CC(0.00)[gmail.com]; IP_SCORE(-0.02)[country: GB(-0.08)] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 16:47:47 -0000 >>>>> On Thu, 19 Dec 2019 00:12:00 +0100, Miroslav Lachman said: > > I would like to resurrect this old thread from 2017-06 as I have the > need to use mount_smbfs on FreeBSD but this old implementation (still) > lacks support for SMB2/3. > > I am not a developer so I cannot do any coding work. I would like to > know if somebody tried to add support for SMBv2 to FreeBSD? Is it really > hard to extend it to support SMB2? Or should it be implemented from scratch? > I tried to find more on this topic in mailing lists and FreeBSD forums > without much success. I found that Apple open source has it. For example > https://opensource.apple.com/source/smb/smb-759.40.1/kernel/smbfs/smbfs_smb_2.c.auto.html > I know Apple kernel is too different but anyway - can it be ported to > FreeBSD in some way? > > It is very sad that FreeBSD is so far behind competitors in some network > service where FreeBSD was very strong in the past. > > CIFS/SMB2 is the only option in some heterogenous environments. Have you tried using sysutils/fusefs-smbnetfs? I don't know how fast it is, but I think FreeBSD's FUSE has improved since that thread started. __Martin