Project information - SMBv2+

CerebrosuS CerebrosuS at gmx.net
Thu Dec 31 15:42:07 UTC 2020


So I am found the main protocol spec existing in freebsd-src/sys/netsmb
and got the corresponding implementation from apple.

As I've never developed on FreeBSD, I am searching for a good workflow
to test builds. Right now I've build freebsd-src from git.

As far as I understand netsmb in sys is not a module build into the
kernel? Therefore I have to update kernel and install it in a test
environment for debugging. I don't want to polute my main system and
read about using bhyve as a vm system for testing. Is this the only way
or is there a smarter way getting debugging done to test my
implementation. I've never developed things on kernel-level so I got a
prog-debug cycle with high frequency for now.

(As you can see, I am starting from the beginning related to FreeBSD
development. Sry for that.)

Am 30.12.20 um 21:44 schrieb CerebrosuS:
> Yes, the video is part of the wiki.freebsd.org entry I've written down.
>
> The information in the video is a little bit unmotivated and I am aware
> that it is not that simple. That video leads me to the question here, if
> anyone is working on it. Cause Mr. Gibbs talks about it like he already
> started something in this direction and is already into it (or he just
> knows). :-)
>
> Yet, I will start by looking into the FreeBSD mount_smbfs code and the
> one from apple.
>
> Am 30.12.20 um 21:34 schrieb Daniel Ebdrup Jensen:
>> On Wed, Dec 30, 2020 at 08:24:31PM +0100, CerebrosuS wrote:
>>>
>>>
>>> Am 30.12.20 um 20:05 schrieb Miroslav Lachman:
>>>> On 30/12/2020 18:57, CerebrosuS wrote:
>>>>> Hello at all,
>>>>>
>>>>> the community and developer at FreeBSD seem to know, that SMBv1 for
>>>>> clients is nearly over and that the included mount_smbfs doesn't
>>>>> support
>>>>> newer versions. So good, so far...
>>>>>
>>>>> So I can find multiple information about the situation, but no clear
>>>>> path on how FreeBSD community and developer will go on to solve this
>>>>> missing function. (Just got the information on:
>>>>> https://wiki.freebsd.org/MateuszPiotrowski/AccessingSmbSharesWithSambaClient)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> This is what I am asking:
>>>>> - Is there a project existing for solving this problem (with whatever
>>>>> target)?
>>>>> - What is the way to go in future? Extend mount_smbfs or support the
>>>>> fuse-smbnetfs part to be stable and fast like mount_smbfs (buggy and
>>>>> laggy here)?
>>>>> - Who is mainly working on it, if a project already exist?
>>>>>
>>>>> I'am just interested, cause of not finding such information
>>>>> clearly. Is
>>>>> there maybe a general project management list / team to see what
>>>>> projects are going on in whatever state?
>>>>>
>>>>> I am a hobby developer mainly coming from chemical engineering side,
>>>>> having some time to help. I've already written some cross platform
>>>>> software but never related to network or on os-level. So I am
>>>>> motivated
>>>>> to invest some time in getting stuff into FreeBSD, but for me,
>>>>> there is
>>>>> a lack on information (see above).
>>>>>
>>>>> Thank you in advance for information and help.
>>>>
>>>> I was involved in the thread linked by Gleb. AFAIK nothing changed from
>>>> that time. I tried something from ports but it has more problems
>>>> (shares
>>>> cannot be mounted on boot like mount_smbfs does).
>>>> If somebody has time and skills to try to bring SMBv2 or v3 to FreeBSD
>>>> then Apple or Solaris sources is good start. The both were using the
>>>> same mount_smbfs (v1) as FreeBSD so one can check their sources and see
>>>> how they evolve to v2 / v3.
>>>
>>> They are both using exactly the same source code as a starting point and
>>> extend it (or rewrite it) to SMBv2?
>>>
>>>> But it is out of my skill. I am not
>>>> developer. I am just an extensive user of SMB mounted shares from
>>>> Windows servers.
>>> That might also be my problem, cause I've never written an application
>>> for network nor anything related to FreeBSD on os-level. But if no one
>>> starts, nothing might change at all.
>>>
>>>>
>>>> Kind regards
>>>> Miroslav Lachman
>>>>
>>> _______________________________________________
>>> freebsd-hackers at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>>> To unsubscribe, send any mail to
>>> "freebsd-hackers-unsubscribe at freebsd.org"
>>
>> Hi folks,
>>
>> Justin T Gibbs, during one of the Office Hours meetings that have been
>> happening throughout the year, spoke at some length on the subject of
>> SMBv3 as it relates to integraetion in the base system [1] - and suffice
>> it to say, it's not nearly as simple as some people seem to asume that
>> it is.
>>
>> I hope that's somewhat helpful, and it's at least a little newer than
>> what's referenced elsewhere.
>>
>> [1]: https://www.youtube.com/watch?v=Ji4ux4FWpRU&t=970
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list