[PATCHES] SMB3 lock sequence (replay detection)

Michael Adam obnox at samba.org
Tue Sep 18 17:04:40 UTC 2018


On 2018-09-18 at 16:31 +0200, Stefan Metzmacher wrote:
> Hi Michael,
> 
> thanks for driving this forward again!
> 
> I'd like to see a few minor changes before this goes upstream.
> 
> - Can we have an additional test the requires SMB3
>   and tries to open a persistent handle, but allows a fallback
>   just a durable handle?

Good point, we'll do that!

> - Please only activate this when "server multi channel support" is
>   activated for now.

"This" being lock sequence number checking in the server?

Thanks for the feed-back!

Michael



> Thanks!
> metze
> 
> Am 18.09.2018 um 10:23 schrieb Michael Adam via samba-technical:
> > Hi all,
> > 
> > reviving this slightly older topic:
> > 
> > SMB2.1 (for resilient file handles) and SMB3.X implement
> > the so called lock sequence number and based on that,
> > the lock replay detection in the server.
> > 
> > This was done as part of the original efforts of
> > implementing multi-channel, and is now popping up
> > again as we are cleaning up the remaining bits and
> > finishing up the last parts of multi-channel.
> > 
> > The patches were originally not merged because
> > windows activates them only for resilient or
> > persistent file hanldes, but as Guenther points
> > out in one of his patches, the SMB2 doc actually
> > says, the server SHOULD actually implement them
> > for all of smb 3.x.
> > 
> > Hence re-proposing this patcheset to be merged
> > to prevent bit-rot and have the feature ready
> > and useable in the official samba master.
> > 
> > Cheers - Michael
> > 
> 
> 



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180918/6b62c382/signature.sig>


More information about the samba-technical mailing list