Commit graph

950 commits

Author SHA1 Message Date
Tal Aloni
d7d65f0ef2 SMB2: EncryptionCapabilities.GetBytes: Bugfix: Corrected Data length computation 2024-08-03 13:50:39 +03:00
Tal Aloni
5f4af1e35b Move NegotiateContext structures to a separate directory 2024-08-03 13:34:15 +03:00
Tal Aloni
18459859c7 SMB2Client: Updated encryption and signing logic to support SMB 3.1.1 2024-08-03 12:57:34 +03:00
Tal Aloni
fdc8234429 NegotiateContext: Added constructors taking PreAuthIntegrityCapabilities and EncryptionCapabilities 2024-08-03 12:54:30 +03:00
Tal Aloni
3cf5fcbe93 SMB2: Added EncryptionCapabilities structure implementation 2024-08-03 12:53:02 +03:00
Tal Aloni
d847230868 SMB2Cryptography: Added ComputeHash method 2024-08-03 12:26:32 +03:00
Tal Aloni
76c1ffa981 SMB2: Added PreAuthIntegrityCapabilities structure implementation 2024-08-03 11:41:17 +03:00
Tal Aloni
e6065a1870 SMB2Client: Updated encryption and signing logic to support SMB 3.0.2 2024-08-03 11:14:40 +03:00
Tal Aloni
1d4484ff7e NetBiosSuffix.FileServiceService: Corrected typo 2024-08-03 10:44:37 +03:00
Tal Aloni
d3f69c2b09 SMBLibrary 1.5.3.3 2024-08-03 01:42:56 +03:00
Tal Aloni
3f4381b5f9 Tests: Added tests to NegotiateRequestParsingTests and NegotiateResponseParsingTests 2024-08-03 01:42:00 +03:00
Tal Aloni
1485c365d5 SMB2: NegotiateResponse: Bugfix: NegotiateContext was not read from the correct position for non-zero offset 2024-08-03 01:40:43 +03:00
Tal Aloni
6f4a0c1c9f SMBLibrary 1.5.3.2 2024-07-30 23:01:01 +03:00
Tal Aloni
1284a2168d NTLMAuthenticationClient: Set MechanismListMIC when applicable 2024-07-30 22:57:28 +03:00
Tal Aloni
dc52d4efc1 Added NegotiateResponseParsingTests 2024-07-30 20:28:53 +03:00
Tal Aloni
2044b09263 NegotiateRequest: Do not pad request if NegotiateContextList is empty 2024-07-30 20:14:00 +03:00
Tal Aloni
e40a5b2daf NegotiateRequest: Parse NegotiateContextList (SMB 3.1.1) 2024-07-30 20:07:39 +03:00
Tal Aloni
1aef438a8e NegotiateContext: Fix parsing bugs 2024-07-30 20:03:47 +03:00
Tal Aloni
2ff91c3017 SMBLibrary 1.5.3.1 2024-07-29 22:00:17 +03:00
Tal Aloni
9ff7adced4 SMB2Client: Correctly handle signing when authenticated as guest 2024-07-29 21:56:57 +03:00
Tal Aloni
42ea6a5124 SMB2Client: Minor code refactoring 2024-07-29 21:41:40 +03:00
Tal Aloni
b0912850dd Client: Update IsConnected on EndReceive socket exception 2024-07-27 19:51:42 +03:00
Tal Aloni
5c4e369896 SMB2: CreateContext: Bugfix: Write DataLength 2024-07-06 17:29:38 +03:00
Tal Aloni
773d42375d SMB2: CreateContext: Bugfix: Correct Name and Data offset write location 2024-07-06 17:29:20 +03:00
Tal Aloni
3247f0365e SMB2: CreateContext: Bugfix: Read and Write name as ANSI instead of UTF16 2024-07-06 17:27:18 +03:00
Tal Aloni
019015ebb5 SMB2: CreateResponse: Bugfix: Write CreateContexts offset and Length 2024-07-06 17:23:44 +03:00
Tal Aloni
c150a1265f SMB2: CreateResponse: Minor code refactoring 2024-07-06 17:22:24 +03:00
Tal Aloni
390961f250 SMB2: CreateResponse: Renamed variable 2024-07-06 17:20:46 +03:00
Tal Aloni
f446549dd3 SMBLibrary 1.5.3 2024-06-25 22:48:48 +03:00
Tal Aloni
7ecc9e667a SMB1FileStore, SMB2FileStore: Return STATUS_IO_TIMEOUT instead of STATUS_INVALID_SMB when server does not reply and there is no protocol violation 2024-06-12 12:27:26 +03:00
Tal Aloni
d8b1791212 Client: Add WaitForCommand overload 2024-06-12 12:22:59 +03:00
Tal Aloni
4ca34f0407 NTStatus: Add STATUS_IO_TIMEOUT 2024-06-12 12:21:08 +03:00
Tal Aloni
aeb8849683 Client: Fix possible NullReferenceException when disconnection occur during directory enumeration 2024-06-12 12:20:04 +03:00
Tal Aloni
a2b96f638c Add missing copyright notices 2024-06-12 11:33:53 +03:00
Tal Aloni
0618bfff9e Client: Improve client response time when server disconnects or return invalid data 2024-06-12 11:31:12 +03:00
Tal Aloni
cfa568b866 Client: Mark overloaded Start method as protected internal 2024-06-08 22:55:01 +03:00
Tal Aloni
6823b43d2e Server: SMBServer: Mark overloaded Start method as protected internal 2024-06-08 22:54:53 +03:00
Tal Aloni
28c114ea05 SMBLibrary 1.5.2 2024-06-05 21:41:06 +03:00
Tal Aloni
8d7a6e0238 Client: Removed unneeded connectivity check before invoking EndReceive 2024-06-03 19:51:32 +03:00
Tal Aloni
fe22636987 SMBServer: Delete unused variable 2024-06-02 10:11:56 +03:00
Tal Aloni
ac403baf41 Server, Client: Fix thread-safety violations related to NBTConnectionReceiveBuffer 2024-06-02 10:11:09 +03:00
Tal Aloni
1a8c94ba94 Server: ConnectionState: Fix thread-safety issue 2024-06-01 17:21:15 +03:00
Tal Aloni
cf182e787f Client: NetBIOS over TCP: Apply timeout set by the client instead of hardcoded value 2024-06-01 12:39:25 +03:00
Tal Aloni
dd7b945ddc SMBIServer: Use CancellationToken for send keep-alive thread if available 2024-03-09 09:36:35 +02:00
Tal Aloni
693269f02f SMBLibrary 1.5.1.3 2024-03-01 13:42:19 +02:00
Tal Aloni
a9f9ef95e8 SMB2Client: Support non-Microsoft servers returning MaxReadSize > MaxTransactSize 2024-03-01 10:55:52 +02:00
Tal Aloni
5dff3875b6 Replace DiskAccessLibrary.FileSystems.Abstractions with NuGet package reference 2024-02-17 14:28:19 +02:00
Tal Aloni
db1410b74d SMBLibrary 1.5.1.2 2024-02-11 00:29:49 +02:00
Tal Aloni
18275637d7 SMB1Client, SMB2Client: Disconnect: Invoke Socket.Close 2024-02-11 00:29:06 +02:00
Tal Aloni
b03050028a SMBLibrary 1.5.1.1 2024-02-05 21:28:24 +02:00