From nobody Sat Jun 8 22:14:56 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VxXSK09Gpz5NL4p for ; Sat, 08 Jun 2024 22:15:13 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VxXSG48YHz3wsv; Sat, 8 Jun 2024 22:15:10 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=fail ("headers rsa verify failed") header.d=dec.sakura.ne.jp header.s=s2405 header.b=VaHf8WG6; dmarc=pass (policy=none) header.from=dec.sakura.ne.jp; spf=pass (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp designates 153.125.133.21 as permitted sender) smtp.mailfrom=junchoon@dec.sakura.ne.jp Received: from kalamity.joker.local (123-1-21-232.area1b.commufa.jp [123.1.21.232]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 458MEuGE009533; Sun, 9 Jun 2024 07:14:56 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1717884899; bh=x4N+GsLX4hEcjv6SYV5gph4AVHWOPBpTSBMkmd//sMo=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=VaHf8WG6qevmYvvqwwtI8tPPv48ke9+qgb2eBOwLOC5uIV9zZxKH40k6Fxl0pDW6R hkYDk8uImGYm+5jfrkdDbN50Hl6wVt9wI1CJYIMmH+fnt4/e2BR5scwFvqZkZZ7Ajy /dCAw9PC24kNf5Iems9I0oYSmkBR/f+nKeMPbE6o= Date: Sun, 9 Jun 2024 07:14:56 +0900 From: Tomoaki AOKI To: John Hixson Cc: Miroslav Lachman <000.fbsd@quip.cz>, Rick Macklem , David Chisnall , "freebsd-current@freebsd.org" Subject: Re: Deprecating smbfs(5) and removing it before FreeBSD 14 Message-Id: <20240609071456.bcced576c22276ea6baccaa3@dec.sakura.ne.jp> In-Reply-To: <4ea542mqtue7ety23gpgxborpl4brx3fewhgy5p23ozivjzeay@dyk4oxvgs7c5> References: <489849ca-a404-fb54-81d1-d62ea18c5832@FreeBSD.org> <254a0b5e-72d9-f93e-0c49-82b50a35db41@quip.cz> <3bbacbac-9238-f29d-653c-86d13085afe0@quip.cz> <4ea542mqtue7ety23gpgxborpl4brx3fewhgy5p23ozivjzeay@dyk4oxvgs7c5> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.20 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; NEURAL_HAM_LONG(-0.82)[-0.821]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:153.125.133.16/28]; NEURAL_HAM_SHORT(-0.18)[-0.183]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; R_DKIM_REJECT(0.00)[dec.sakura.ne.jp:s=s2405]; DMARC_POLICY_ALLOW(0.00)[dec.sakura.ne.jp,none]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[dec.sakura.ne.jp:-]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_FIVE(0.00)[5] X-Rspamd-Queue-Id: 4VxXSG48YHz3wsv On Tue, 4 Jun 2024 14:52:25 -0700 John Hixson wrote: > On Mon, Jun 27, 2022 at 03:27:54PM +0200, Miroslav Lachman wrote: > > On 16/06/2022 15:56, Rick Macklem wrote: > > > Miroslav Lachman <000.fbsd@quip.cz> wrote: > > > > On 24/01/2022 16:13, Rick Macklem wrote: > > > > > > > [...] > > > > > > > > > So, I think Mark and Yuri are correct and looking at up to date > > > > > Illumos sources is the next step. > > > > > (As I mentioned, porting the Apple sources is beyond what I am > > > > > willing to attempt.) > > > > > > > > > > rick > > > > > > > > Hello Rick, > > > > I would like to ask you I there is some progress with porting newer > > > > SMBFS / CIFS version to FreeBSD? Did you find Illumos sources as a > > > > possibility where to start porting? > > > Yes. I have the stuff off Illumos-gate, which I think is pretty up-to-date > > > and I agree that it should be easier than the Apple stuff to port into > > > FreeBSD. I don't think it is "straightforward" as someone involved > > > with Illumos said, due to the big differences in VFS/locking, but... > > > > > > Having said the above, I have not done much yet. I've been cleaning up > > > NFS stuff, although I am nearly done with that now. > > > I do plan on starting to work on it soon, but have no idea if/when I > > > will have something that might be useful for others. > > > > I'm glad to hear that. > > > > > > We have more and more problems with current state of mount_smbfs. I > > > > would be really glad if "somebody" can do the heroic work of > > > > implementing SMBv2 in FreeBSD. > > > > Maybe it's time to start some fundraising for sponsoring this work? > > > Well, funding isn't an issue for me (I'm just a retired guy who does this > > > stuff as a hobby). However, if there is someone else who is capable of > > > doing it if they are funded, I have no problem with that. > > > I could either help them, or simply stick with working on NFS and leave > > > SMBv23 to them. > > > > > > Sorry, but I cannot report real progress on this as yet, rick > > > > No need to sorry. I really appreciate your endless work on NFS and that you > > still have kind of interest to try porting SMBv2/3. > > Unfortunately I don't know anybody else trying to do this tremendous work. > > > > I am working on a from scratch implementation of smbfs. I do not have > any kind of time estimate since it is in my spare time. I chose this > route after spending considerable time looking at Apple and Solaris > implementations and wanting something without all of the legacy 1.0 > crap. I do have a very minimal working FUSE version at this point, but > there is much to do, and even more to abide by the various > specifications. > > I just thought I'd share in case anyone is interested. > > - John Hi! Thanks for popping in. As others already commented, this is a long awaited feature. As I've already raised a white flag to port darwin implementation, maybe I cannot help on coding, but I'd be happy to test once something to test is available. # I tried years ago with a bit of hope that the darwin code could be almost # a drop-in replacement, but it was clearly beyond me. Too many macros to # look for actual codes to see what for, functions etc which were incompatible # with FreeBSD SMB1 implementation. -- Tomoaki AOKI