Add support for new Compression Negotiate Context
Steve French
smfrench at gmail.com
Sat Apr 27 03:43:22 UTC 2019
Add support to negotiate the compression context, and also saved off
to display in /proc/fs/cifs/DebugData. Future patch will add use for
it on the wire.
Note in /proc/fs/cifs/DebugData below (mounted to Windows 10) it defaulted
to LZ77 compression algorithm. See MS-SMB2 2.2.3.1 and and MS-XCA
Servers:
Number of credits: 326 Dialect 0x311 COMPRESS_LZ77 signed
1) Name: 192.168.92.17 Uses: 1 Capability: 0x300067 Session Status:
1 TCP status: 1 Instance: 1
--
Thanks,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smb3-Negotiate-and-save-preferred-compression-algori.patch
Type: text/x-patch
Size: 5778 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190426/a11873aa/0001-smb3-Negotiate-and-save-preferred-compression-algori.bin>
More information about the samba-technical
mailing list