Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 15:58:36 +0000
From:      Edward Napierala <trasz@freebsd.org>
To:        gerard@seibercom.net
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Removal or updating of "mount_smbfs" from FreeBSD operating system
Message-ID:  <CAFLM3-o_P3-1sDea-Bgbn0oSjnAqF5RAMTWDgkk6K3819XsMDQ@mail.gmail.com>
In-Reply-To: <20181126121926.00007626@seibercom.net>
References:  <20181126121926.00007626@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
pon., 26 lis 2018 o 17:20 Gerard Seibert <gerard@seibercom.net> napisa=C5=
=82(a):
>
> TO WHOM IT MAY CONCERN
>
> The =E2=80=9CSMBv1=E2=80=9D protocol is a security hazard and was depreci=
ated by Microsoft in
> 2014. There is virtually no use for it anymore.
>
> The =E2=80=9Cmount_smbfs=E2=80=9D utility in FreeBSD only uses that proto=
col, which results
> in making it useless with newer versions of Microsoft=E2=80=99s operating=
 systems, as
> well as other OS=E2=80=99s that have depreciated the use of SMBv1.
>
> I would like to suggest that FreeBSD do one of the following:
>
> 1) Remove =E2=80=9Cmount_smbfs=E2=80=9D from FreeBSD. This would probably=
 be in versions 12.1
> or 13. It is perhaps too late to get into FreeBSD 12.
>
> 2) Update =E2=80=9Cmount_smbfs=E2=80=9D so that it is compatible with ver=
sions SMBv3 and
> greater. While "SMBv2" is not dead, it is definitely comatose. This would=
 be a
> better idea if someone had the time to do it.

FWIW, I believe SMBv3 is just a set of (largely optional) extensions to SMB=
v2,
not an entirely different protocol, like SMBv1 is.  Which means, any versio=
n
that supports v3 is likely to also handle v2.

There seems to be existing, working code in Nexenta, which is being
upstreamed to Illumos:

https://www.illumos.org/issues/9735
https://github.com/illumos/illumos-gate/pull/37

Their implementation descends from the one we have in base (and the one
from OSX, which also descends from FreeBSD), so it should be possible to
merge it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFLM3-o_P3-1sDea-Bgbn0oSjnAqF5RAMTWDgkk6K3819XsMDQ>