Commit graph

  • 351f23ead9
    Fix: Incorrect CommandLength calculation in NegotiateResponse (#298) master tanlng 2025-04-25 16:43:33 +08:00
  • ca132ffe6e Fix: Incorrect CommandLength calculation in NegotiateResponse 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. 胡正 2025-04-25 16:07:00 +08:00
  • d40699d6dd
    Implement FileAttributeTagInformation support for SMB file operations (#296) tanlng 2025-04-23 23:15:16 +08:00
  • f158cceed6 Implement FileAttributeTagInformation support for SMB file operations 胡正 2025-04-23 14:48:48 +08:00
  • 1172dfb043 Client: Improved handling of invalid FILETIME Tal Aloni 2025-04-19 15:20:58 +03:00
  • 2c4e42d956 SMB2Client: Always sign outgoing messages when dialect is 3.1.1 Tal Aloni 2025-04-19 14:26:04 +03:00
  • 2ef0fb968e
    Improved documentation to have correct implementation to upload large files (#292) philippkratzer 2025-02-14 10:11:10 +01:00
  • d95567da11
    Improved documentation to have correct implementation to upload large files philippkratzer 2025-02-14 08:38:29 +01:00
  • f5d453f6b7 SMBLibrary 1.5.4 v1.5.4 Tal Aloni 2025-01-10 23:48:08 +02:00
  • 63be8c442f SMB2Client: Correctly handle single stage login Tal Aloni 2025-01-10 23:30:10 +02:00
  • 143c23c367 SMB2Client: Minor code readability improvement Tal Aloni 2025-01-10 23:19:48 +02:00
  • ffacfa53fb SMB2Client: Minor code readability improvement Tal Aloni 2025-01-10 23:08:59 +02:00
  • 5893eea3ef Fix single-step login process zab 2025-01-10 14:54:24 -05:00
  • e9b82af31b QueryInfoHelper: Correctly handle UnsupportedInformationLevelException and NotImplementedException Tal Aloni 2024-12-18 19:12:39 +02:00
  • ab876da50f Client: Added support for single-stage and triple-stage session setup Tal Aloni 2024-09-25 06:39:50 +03:00
  • e0ad61769a 在查询列表接口中的入参中加入身份信息。前端存在和文件系统不一样的需求,不能看到自己没有权限的文件。而不是看到了不能使用。 胡正 2024-09-04 10:38:29 +08:00
  • 8b795d5233 SMBLibrary 1.5.3.5 Tal Aloni 2024-08-31 12:34:06 +03:00
  • 5de9bc122c Tests: Added QueryInfoResponseParsingTests Tal Aloni 2024-08-31 12:33:05 +03:00
  • a64dc6c88b ACL: Bugfix: Use AceSize when parsing ACL Tal Aloni 2024-08-31 12:30:11 +03:00
  • 3f054348d8 ACE: Moved ACE Header to the ACE abstract class Tal Aloni 2024-08-31 12:27:59 +03:00
  • 3c7588b575 ACE: Removed unused using statements Tal Aloni 2024-08-31 12:27:10 +03:00
  • d64a5ff053 SMBLibrary 1.5.3.4 Tal Aloni 2024-08-03 14:05:49 +03:00
  • 351093f78e SMB2: Updated NegotiateContextType enum Tal Aloni 2024-08-03 14:05:27 +03:00
  • e0d8e8dfbd Refactored PreAuthIntegrityCapabilities and EncryptionCapabilities to inherit from NegotiateContext Tal Aloni 2024-08-03 14:03:04 +03:00
  • d7d65f0ef2 SMB2: EncryptionCapabilities.GetBytes: Bugfix: Corrected Data length computation Tal Aloni 2024-08-03 13:50:39 +03:00
  • 5f4af1e35b Move NegotiateContext structures to a separate directory Tal Aloni 2024-08-03 13:34:15 +03:00
  • 18459859c7 SMB2Client: Updated encryption and signing logic to support SMB 3.1.1 Tal Aloni 2024-08-03 12:57:34 +03:00
  • fdc8234429 NegotiateContext: Added constructors taking PreAuthIntegrityCapabilities and EncryptionCapabilities Tal Aloni 2024-08-03 12:54:30 +03:00
  • 3cf5fcbe93 SMB2: Added EncryptionCapabilities structure implementation Tal Aloni 2024-08-03 12:53:02 +03:00
  • d847230868 SMB2Cryptography: Added ComputeHash method Tal Aloni 2024-08-03 12:26:32 +03:00
  • 76c1ffa981 SMB2: Added PreAuthIntegrityCapabilities structure implementation Tal Aloni 2024-08-03 11:41:17 +03:00
  • e6065a1870 SMB2Client: Updated encryption and signing logic to support SMB 3.0.2 Tal Aloni 2024-08-03 11:14:40 +03:00
  • 1d4484ff7e NetBiosSuffix.FileServiceService: Corrected typo Tal Aloni 2024-08-03 10:44:37 +03:00
  • d3f69c2b09 SMBLibrary 1.5.3.3 Tal Aloni 2024-08-03 01:42:56 +03:00
  • 3f4381b5f9 Tests: Added tests to NegotiateRequestParsingTests and NegotiateResponseParsingTests Tal Aloni 2024-08-03 01:42:00 +03:00
  • 1485c365d5 SMB2: NegotiateResponse: Bugfix: NegotiateContext was not read from the correct position for non-zero offset Tal Aloni 2024-08-03 01:40:43 +03:00
  • 6f4a0c1c9f SMBLibrary 1.5.3.2 Tal Aloni 2024-07-30 23:01:01 +03:00
  • 1284a2168d NTLMAuthenticationClient: Set MechanismListMIC when applicable Tal Aloni 2024-07-30 22:57:28 +03:00
  • dc52d4efc1 Added NegotiateResponseParsingTests Tal Aloni 2024-07-30 20:28:53 +03:00
  • 2044b09263 NegotiateRequest: Do not pad request if NegotiateContextList is empty Tal Aloni 2024-07-30 20:14:00 +03:00
  • e40a5b2daf NegotiateRequest: Parse NegotiateContextList (SMB 3.1.1) Tal Aloni 2024-07-30 20:06:52 +03:00
  • 1aef438a8e NegotiateContext: Fix parsing bugs Tal Aloni 2024-07-30 20:03:47 +03:00
  • 2ff91c3017 SMBLibrary 1.5.3.1 Tal Aloni 2024-07-29 22:00:17 +03:00
  • 9ff7adced4 SMB2Client: Correctly handle signing when authenticated as guest Tal Aloni 2024-07-29 21:56:57 +03:00
  • 42ea6a5124 SMB2Client: Minor code refactoring Tal Aloni 2024-07-29 21:41:40 +03:00
  • b0912850dd Client: Update IsConnected on EndReceive socket exception Tal Aloni 2024-07-27 19:51:42 +03:00
  • 5c4e369896 SMB2: CreateContext: Bugfix: Write DataLength Tal Aloni 2024-07-06 17:29:38 +03:00
  • 773d42375d SMB2: CreateContext: Bugfix: Correct Name and Data offset write location Tal Aloni 2024-07-06 17:29:20 +03:00
  • 3247f0365e SMB2: CreateContext: Bugfix: Read and Write name as ANSI instead of UTF16 Tal Aloni 2024-07-06 17:25:45 +03:00
  • 019015ebb5 SMB2: CreateResponse: Bugfix: Write CreateContexts offset and Length Tal Aloni 2024-07-06 17:23:44 +03:00
  • c150a1265f SMB2: CreateResponse: Minor code refactoring Tal Aloni 2024-07-06 17:22:24 +03:00
  • 390961f250 SMB2: CreateResponse: Renamed variable Tal Aloni 2024-07-06 17:20:46 +03:00
  • f446549dd3 SMBLibrary 1.5.3 v1.5.3 Tal Aloni 2024-06-25 22:48:48 +03:00
  • 7ecc9e667a SMB1FileStore, SMB2FileStore: Return STATUS_IO_TIMEOUT instead of STATUS_INVALID_SMB when server does not reply and there is no protocol violation Tal Aloni 2024-06-12 12:27:26 +03:00
  • d8b1791212 Client: Add WaitForCommand overload Tal Aloni 2024-06-12 12:22:59 +03:00
  • 4ca34f0407 NTStatus: Add STATUS_IO_TIMEOUT Tal Aloni 2024-06-12 12:21:08 +03:00
  • aeb8849683 Client: Fix possible NullReferenceException when disconnection occur during directory enumeration Tal Aloni 2024-06-12 12:20:04 +03:00
  • a2b96f638c Add missing copyright notices Tal Aloni 2024-06-12 11:33:53 +03:00
  • 0618bfff9e Client: Improve client response time when server disconnects or return invalid data Tal Aloni 2024-06-12 11:31:12 +03:00
  • cfa568b866 Client: Mark overloaded Start method as protected internal Tal Aloni 2024-06-08 21:43:55 +03:00
  • 6823b43d2e Server: SMBServer: Mark overloaded Start method as protected internal Tal Aloni 2024-06-08 21:43:44 +03:00
  • 8c0b719a92 🔖 Release 1.12.0 [skip ci] semantic-release-bot 2024-06-06 12:43:13 +00:00
  • ed2030cbd2
    Merge pull request #5 from Lansweeper/feat/LAN-16522-Update-codeowners Melissa Coppejans 2024-06-06 14:40:43 +02:00
  • b932395e66
    feat: LAN-16522 Update CODEOWNERS Melissa Coppejans 2024-06-06 12:01:05 +02:00
  • 28c114ea05 SMBLibrary 1.5.2 v1.5.2 Tal Aloni 2024-06-05 21:41:06 +03:00
  • 8d7a6e0238 Client: Removed unneeded connectivity check before invoking EndReceive Tal Aloni 2024-06-03 19:51:32 +03:00
  • fe22636987 SMBServer: Delete unused variable Tal Aloni 2024-06-02 10:11:56 +03:00
  • ac403baf41 Server, Client: Fix thread-safety violations related to NBTConnectionReceiveBuffer Tal Aloni 2024-06-02 10:11:09 +03:00
  • 1a8c94ba94 Server: ConnectionState: Fix thread-safety issue Tal Aloni 2024-06-01 17:21:15 +03:00
  • cf182e787f Client: NetBIOS over TCP: Apply timeout set by the client instead of hardcoded value Tal Aloni 2024-06-01 12:39:25 +03:00
  • c49d365699 Applied proper disconnection sequence to V1 of the client. raufismayilov 2024-05-31 20:31:48 +04:00
  • 8870fe9acd * Added proper socket disconnecting sequence * Fixed socket.EndReceive call raufismayilov 2024-05-29 12:29:33 +04:00
  • 069863bd6b 🔖 Release 1.11.0 [skip ci] semantic-release-bot 2024-04-25 09:57:47 +00:00
  • d367fec6ea
    Merge pull request #4 from Lansweeper/MelissaCoppejans-patch-1 Melissa Coppejans 2024-04-25 11:56:21 +02:00
  • c1f3317160
    feat: LAN-16385 Add codeowners on D1 maintained repo's Melissa Coppejans 2024-04-25 11:27:26 +02:00
  • dd7b945ddc SMBIServer: Use CancellationToken for send keep-alive thread if available Tal Aloni 2024-03-09 09:36:35 +02:00
  • 693269f02f SMBLibrary 1.5.1.3 Tal Aloni 2024-03-01 13:42:19 +02:00
  • a9f9ef95e8 SMB2Client: Support non-Microsoft servers returning MaxReadSize > MaxTransactSize Tal Aloni 2024-03-01 10:55:52 +02:00
  • 5dff3875b6 Replace DiskAccessLibrary.FileSystems.Abstractions with NuGet package reference Tal Aloni 2024-02-17 14:28:19 +02:00
  • db1410b74d SMBLibrary 1.5.1.2 Tal Aloni 2024-02-11 00:29:49 +02:00
  • 18275637d7 SMB1Client, SMB2Client: Disconnect: Invoke Socket.Close Tal Aloni 2024-02-11 00:29:06 +02:00
  • b03050028a SMBLibrary 1.5.1.1 Tal Aloni 2024-02-05 21:28:24 +02:00
  • f366c78fc9 NBTConnectionReceiveBuffer: Dispose: Fix thread-safety issue Tal Aloni 2024-02-05 21:26:56 +02:00
  • 39388660d3 FileRenameInformationType2: Bugfix: Ensure length is at least 24 bytes Tal Aloni 2024-01-17 22:34:44 +02:00
  • c284b05782 SMBLibrary/Readme.md: Correct URL Tal Aloni 2024-01-06 21:34:18 +02:00
  • 3b683cd4ae Server: ServerService: correctly handle unsupported ShareEnum levels Tal Aloni 2024-01-06 21:26:22 +02:00
  • 64a27f1d86 SMBLibrary 1.5.1 v1.5.1 Tal Aloni 2024-01-06 16:18:55 +02:00
  • 8b11c5712c SMB1Client: Add ability to control response timeout Tal Aloni 2024-01-06 16:18:07 +02:00
  • 64aca73d8a NTLMAuthenticationHelper: Calculate Authentication message MIC Tal Aloni 2024-01-06 15:56:13 +02:00
  • 99ae36da55 GetNegotiateMessage: Add negotiateMessageBytes parameter Tal Aloni 2024-01-06 15:19:04 +02:00
  • 39fa4cdb3e NTLMCryptography: Add ComputeMechListMIC method Tal Aloni 2024-01-06 15:13:35 +02:00
  • ca718e343e GSSAPI: SimpleProtectedNegotiationTokenInit: Add GetMechanismTypeListBytes method Tal Aloni 2024-01-06 15:09:13 +02:00
  • 2667b5439e GSSAPI: SimpleProtectedNegotiationTokenInit: Extracted GetEncodedMechanismTypeListLength method Tal Aloni 2024-01-06 15:07:08 +02:00
  • dad516b223 NBTConnectionReceiveBuffer: Avoid exception when calling Dispose twice Tal Aloni 2023-12-30 20:48:43 +02:00
  • d34f014eab Server: Dispose of ReceiveBuffer after receiving invalid packets Tal Aloni 2023-12-30 20:46:17 +02:00
  • e31df2a797 Client: Fix ArgumentNullException following recent ArrayPool usage Tal Aloni 2023-12-30 20:43:09 +02:00
  • cb2c50a7c3 NTLMCryptography: Add ComputeSignKey and ComputeSealKey methods and tests Tal Aloni 2023-12-30 20:09:24 +02:00
  • c090de02ec NTLMCryptography: Minor styling change Tal Aloni 2023-12-30 20:07:22 +02:00
  • 7628bb6ba8 NTLM: NTLMAuthenticationClient: Store negotiate message as class variable Tal Aloni 2023-12-30 16:02:59 +02:00
  • 08748d3337 NTLM: AuthenticateMessage: Add CalculateMIC method Tal Aloni 2023-12-30 16:01:23 +02:00