From owner-freebsd-hackers@freebsd.org Wed Dec 30 21:16:50 2020 Return-Path: Delivered-To: freebsd-hackers@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 7E57F4CF516 for ; Wed, 30 Dec 2020 21:16:50 +0000 (UTC) (envelope-from SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D5kcd3cGwz4gLF for ; Wed, 30 Dec 2020 21:16:49 +0000 (UTC) (envelope-from SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 5214328416; Wed, 30 Dec 2020 22:16:47 +0100 (CET) Received: from illbsd.quip.test (ip-94-113-69-69.net.upcbroadband.cz [94.113.69.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id CF33A28411; Wed, 30 Dec 2020 22:16:45 +0100 (CET) Subject: Re: Project information - SMBv2+ To: CerebrosuS , freebsd-hackers@freebsd.org References: <16e5725b-ec2f-3222-d20d-fd15e597c12c@gmx.net> <075f31cb-dd13-778d-ed50-3ec7d6f30731@gmx.net> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <704a700c-32ff-66eb-6711-5d75099abcd4@quip.cz> Date: Wed, 30 Dec 2020 22:16:44 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <075f31cb-dd13-778d-ed50-3ec7d6f30731@gmx.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4D5kcd3cGwz4gLF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [0.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmx.net,freebsd.org]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz]; RECEIVED_SPAMHAUS_PBL(0.00)[94.113.69.69:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[94.124.105.4:from]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[94.124.105.4:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2020 21:16:50 -0000 On 30/12/2020 20:24, 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? They are based on the ported code. Apple Mac OS X and Solaris have different kernel so they needed modified port of the same code as was in FreeBSD back in the days (there is the same copyright header). Apple sources or Solaris sources cannot be used directly on FreeBSD but some skilled developer can look in to those sources to see their evolution. But as was already noted v2 and v3 are very different from v1. It will be hard to port but not impossible. Current solutions in ports (fusefs) are almost useless in server environment. Miroslav Lachman