[cifs-protocol] Cannot uncompress SMB3 LZ77 payload
Samuel Cabrero
scabrero at suse.de
Fri Jul 5 09:26:26 UTC 2019
On Fri, 2019-07-05 at 11:19 +0200, Aurélien Aptel via cifs-protocol
wrote:
> Hi Matthieu,
>
> "Matthieu Suiche" <msuiche at gmail.com> writes:
> > Isn't it using the LZXPRESS algorithm instead?
>
> Payload can be either LZ77, LZ77+Huffman or LZNT1 as per MS-SMB2
> [1]. LZXPRESS seems to be something different.
>
> 1:
> https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/78e0c942-ab41-472b-b117-4a95ebe88271
>
Hi Aurélien,
you can give a try to the XPRESS (LZ77+Huffman) decompressor I wrote
for DFS-R updates:
https://github.com/scabrero/samba/blob/dfs-r/lib/compression/lzhuff_xpress.c
Cheers.
More information about the cifs-protocol
mailing list