[PATCH v3 0/3] Change session key to per smb session for smb2 and smb3

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

 



This patchset makes changes to make session key used for smb signature
generation, per smb session from per smb connection, for smb2 and smb3.
For smb1, the scheme remains the same.

Patch 1 separates common post session setup processing to dialet
specific processing.  smb3 also generates signing key (based on
session key) which is used in signature generation instead of session key.

Patch 2 enables that the keys are exchanged during session setup with
NTLMSSP authentication mechanism for smb2 and smb3

Patch 3 starts using the per session session keys for signature generation
for smb2 and smb3 after finding for a matching session in the linked list
off of smb connection structure.



Shirish Pargaonkar (3):
  cifs: Process post session setup code in respective dialect functions.
  cifs: Add a variable specific to NTLMSSP for key exchange.
  cifs: Start using per session key for smb2/3 for signature generation

 fs/cifs/cifsglob.h      |  6 ++---
 fs/cifs/cifsproto.h     |  2 +-
 fs/cifs/connect.c       | 27 +------------------
 fs/cifs/misc.c          |  1 +
 fs/cifs/sess.c          | 48 +++++++++++++++++++++++++++++----
 fs/cifs/smb2pdu.c       | 42 +++++++++++++++++++++++++++++
 fs/cifs/smb2transport.c | 70 ++++++++++++++++++++++++++++++++++++-------------
 7 files changed, 143 insertions(+), 53 deletions(-)

-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux