Christian Ristig
fe40563d65
Added signature verification support for SMB2 client
2025-05-27 11:35:59 +02:00
Tal Aloni
ef4508271c
ConnectionManager: Code refactoring: Use BlockingQueue.Abort which has replaced Stop for quick termination
2025-05-01 21:45:33 +03:00
Tal Aloni
a9ec1878d0
Utilities: BlockingQueue.TryDequeue: Change behavior to return all items enqueued before Stop was invoked
2025-05-01 21:37:48 +03:00
Tal Aloni
21313ac030
Utilities: BlockingQueue: Bugfix: TryDequeue would block infinitely if called after Stop was invoked
2025-05-01 17:40:15 +03:00
tanlng
351f23ead9
Fix: Incorrect CommandLength calculation in NegotiateResponse ( #298 )
...
The SecurityBufferLength was used in the CommandLength calculation of NegotiateResponse, but it hadn't been assigned a value when creating the buffer length. Instead, SecurityBuffer.Length should be directly used. This change ensures the accurate calculation of the CommandLength and resolves the related issues.
Co-authored-by: 胡正 <zheng@sharecreators.com>
2025-04-25 11:43:33 +03:00
tanlng
d40699d6dd
Implement FileAttributeTagInformation support for SMB file operations ( #296 )
...
Co-authored-by: 胡正 <zheng@sharecreators.com>
2025-04-23 18:15:16 +03:00
Tal Aloni
1172dfb043
Client: Improved handling of invalid FILETIME
2025-04-19 15:20:58 +03:00
Tal Aloni
2c4e42d956
SMB2Client: Always sign outgoing messages when dialect is 3.1.1
2025-04-19 14:26:04 +03:00
philippkratzer
2ef0fb968e
Improved documentation to have correct implementation to upload large files ( #292 )
2025-02-14 11:11:10 +02:00
Tal Aloni
f5d453f6b7
SMBLibrary 1.5.4
2025-01-10 23:48:08 +02:00
Tal Aloni
63be8c442f
SMB2Client: Correctly handle single stage login
2025-01-10 23:30:10 +02:00
Tal Aloni
143c23c367
SMB2Client: Minor code readability improvement
2025-01-10 23:25:02 +02:00
Tal Aloni
ffacfa53fb
SMB2Client: Minor code readability improvement
2025-01-10 23:24:25 +02:00
Tal Aloni
e9b82af31b
QueryInfoHelper: Correctly handle UnsupportedInformationLevelException and NotImplementedException
2024-12-18 19:12:39 +02:00
Tal Aloni
ab876da50f
Client: Added support for single-stage and triple-stage session setup
...
Applicable when working with custom IAuthenticationClient
2024-09-25 06:39:50 +03:00
Tal Aloni
8b795d5233
SMBLibrary 1.5.3.5
2024-08-31 12:34:06 +03:00
Tal Aloni
5de9bc122c
Tests: Added QueryInfoResponseParsingTests
2024-08-31 12:33:05 +03:00
Tal Aloni
a64dc6c88b
ACL: Bugfix: Use AceSize when parsing ACL
2024-08-31 12:30:11 +03:00
Tal Aloni
3f054348d8
ACE: Moved ACE Header to the ACE abstract class
2024-08-31 12:27:59 +03:00
Tal Aloni
3c7588b575
ACE: Removed unused using statements
2024-08-31 12:27:10 +03:00
Tal Aloni
d64a5ff053
SMBLibrary 1.5.3.4
2024-08-03 14:05:49 +03:00
Tal Aloni
351093f78e
SMB2: Updated NegotiateContextType enum
2024-08-03 14:05:27 +03:00
Tal Aloni
e0d8e8dfbd
Refactored PreAuthIntegrityCapabilities and EncryptionCapabilities to inherit from NegotiateContext
2024-08-03 14:03:04 +03:00
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