Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/6] cifs: Fix connections over NetBIOS session
@ 2024-12-22 16:30 Pali Rohár
  2024-12-22 16:30 ` [PATCH 1/6] cifs: Allow to disable or force initialization of " Pali Rohár
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Pali Rohár @ 2024-12-22 16:30 UTC (permalink / raw)
  To: Steve French, Paulo Alcantara, Ronnie Sahlberg; +Cc: linux-cifs, linux-kernel

This patch series fixes establishment of NetBIOS session for SMB2+
connections which is currently broken. Tested with SMB3 dialect
against Windows Server 2022.

Also it improves autodetection whether NetBIOS session is needed on
specified server port, and allows to initialize NetBIOS session also
over other port than 139. This is needed when testing against virtual
machines when port 139 is forwarded over some non-system port.

Pali Rohár (6):
  cifs: Allow to disable or force initialization of NetBIOS session
  cifs: Fix establishing NetBIOS session for SMB2+ connection
  cifs: Improve establishing SMB connection with NetBIOS session
  cifs: Improve handling of NetBIOS packets
  cifs: Fix negotiate retry functionality
  cifs: Set default Netbios RFC1001 server name to hostname in UNC

 fs/smb/client/cifsglob.h   |   4 +
 fs/smb/client/cifsproto.h  |   3 +
 fs/smb/client/connect.c    | 316 ++++++++++++++++++++++++++++++++++---
 fs/smb/client/fs_context.c |  25 ++-
 fs/smb/client/fs_context.h |   2 +
 fs/smb/client/smb1ops.c    |   7 -
 fs/smb/client/smb2ops.c    |   3 -
 fs/smb/client/transport.c  |   5 +-
 8 files changed, 327 insertions(+), 38 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-12-22 16:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-22 16:30 [PATCH 0/6] cifs: Fix connections over NetBIOS session Pali Rohár
2024-12-22 16:30 ` [PATCH 1/6] cifs: Allow to disable or force initialization of " Pali Rohár
2024-12-22 16:30 ` [PATCH 2/6] cifs: Fix establishing NetBIOS session for SMB2+ connection Pali Rohár
2024-12-22 16:30 ` [PATCH 3/6] cifs: Improve establishing SMB connection with NetBIOS session Pali Rohár
2024-12-22 16:30 ` [PATCH 4/6] cifs: Improve handling of NetBIOS packets Pali Rohár
2024-12-22 16:30 ` [PATCH 5/6] cifs: Fix negotiate retry functionality Pali Rohár
2024-12-22 16:30 ` [PATCH 6/6] cifs: Set default Netbios RFC1001 server name to hostname in UNC Pali Rohár

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox