Re: [PATCH] smb3: fix large reads on encrypted connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hell list,

Sorry for probably breaking the thread. This is really in reply to Paul
Aubrich's patch titled "smb3: fix large reads on encrypted connections".

I updated a box to kernel 4.19.13 (from 4.9) and figured that I could do
transport encryption now. Unfortunately that didn't work against samba
4.8.6 from distro. I updated to 4.8.8 (latest from 4.8) but still no
dice.

When simply trying to open a file on a share for reading vi would just
sit there and nothing happened. Some files vi _could_ open, though.

I had the source of samba 4.8.6 on a share and it contains a few small
files in the root folder.

-rw-r----- 1 sk sk  17K 17. Jan 2018  wscript
-rw-r----- 1 sk sk 4,7K 17. Jan 2018  wscript_build
-rw-r----- 1 sk sk  13K 26. Jun 2018  wscript_configure_system_mitkrb5

I could open wscript_build and wscript_configure_system_mitkrb5. But the
17K file wscript always failed. So the cutoff between OK and too-big
seemed to be between 13K and 17K.

I browsed linux-cifs and found Paul's patch. With the patch applied the
problem is gone, kernel 4.19 works like 4.9 did without encryption.

The patch title suggests that only large reads are not working. Well,
considering the cutoff is between 13K and 17K I'd say that encryption on
4.19 for cifs can be considered broken without this patch. It'd be cool
if this could make it to stable kernels pronto.

Kind regards,
Seb



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux