Commit graph

918 commits

Author SHA1 Message Date
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
Tal Aloni
f366c78fc9 NBTConnectionReceiveBuffer: Dispose: Fix thread-safety issue 2024-02-05 21:26:56 +02:00
Tal Aloni
39388660d3 FileRenameInformationType2: Bugfix: Ensure length is at least 24 bytes 2024-01-17 22:34:44 +02:00
Tal Aloni
c284b05782 SMBLibrary/Readme.md: Correct URL 2024-01-06 21:34:18 +02:00
Tal Aloni
3b683cd4ae Server: ServerService: correctly handle unsupported ShareEnum levels 2024-01-06 21:28:03 +02:00
Tal Aloni
64a27f1d86 SMBLibrary 1.5.1 2024-01-06 16:18:55 +02:00
Tal Aloni
8b11c5712c SMB1Client: Add ability to control response timeout 2024-01-06 16:18:07 +02:00
Tal Aloni
64aca73d8a NTLMAuthenticationHelper: Calculate Authentication message MIC 2024-01-06 15:56:13 +02:00
Tal Aloni
99ae36da55 GetNegotiateMessage: Add negotiateMessageBytes parameter
Motivation: This will allow us to calculate MechListMIC
2024-01-06 15:19:04 +02:00
Tal Aloni
39fa4cdb3e NTLMCryptography: Add ComputeMechListMIC method 2024-01-06 15:13:35 +02:00
Tal Aloni
ca718e343e GSSAPI: SimpleProtectedNegotiationTokenInit: Add GetMechanismTypeListBytes method 2024-01-06 15:09:13 +02:00
Tal Aloni
2667b5439e GSSAPI: SimpleProtectedNegotiationTokenInit: Extracted GetEncodedMechanismTypeListLength method 2024-01-06 15:07:08 +02:00
Tal Aloni
dad516b223 NBTConnectionReceiveBuffer: Avoid exception when calling Dispose twice 2023-12-31 00:27:48 +02:00
Tal Aloni
d34f014eab Server: Dispose of ReceiveBuffer after receiving invalid packets 2023-12-31 00:27:48 +02:00
Tal Aloni
e31df2a797 Client: Fix ArgumentNullException following recent ArrayPool usage 2023-12-31 00:27:48 +02:00
Tal Aloni
cb2c50a7c3 NTLMCryptography: Add ComputeSignKey and ComputeSealKey methods and tests 2023-12-31 00:27:39 +02:00
Tal Aloni
c090de02ec NTLMCryptography: Minor styling change 2023-12-30 20:40:23 +02:00
Tal Aloni
7628bb6ba8 NTLM: NTLMAuthenticationClient: Store negotiate message as class variable 2023-12-30 20:40:23 +02:00
Tal Aloni
08748d3337 NTLM: AuthenticateMessage: Add CalculateMIC method 2023-12-30 20:40:23 +02:00
Tal Aloni
2b92e1b5f6 Client: NTLMAuthenticationClient.GetAuthenticateMessage: Renamed variable 2023-12-30 20:40:23 +02:00
Tal Aloni
787df79c8d NTLMCryptography: Added ValidateAuthenticateMessageMIC method and updated tests to use it 2023-12-30 20:40:23 +02:00
Tal Aloni
a9f995c172 NTLM: AuthenticateMessage: Added GetMicFieldOffset method and MicFieldLenght constant 2023-12-30 20:40:23 +02:00
Tal Aloni
ce6921cb03 Client: ProcessConnectionBuffer: Improved logging 2023-12-30 13:04:09 +02:00
Tal Aloni
d62c5913ec Tests: LoginTests: Add test 2023-12-22 13:03:26 +02:00
Tal Aloni
989b051527 Tests: Added LoginTests 2023-12-22 12:43:32 +02:00
Tal Aloni
64721a2d42 Client: Mark method allowing to set port as internal 2023-12-22 12:43:32 +02:00
Tal Aloni
a80c2d10d0 Server: Mark method allowing to set port as internal 2023-12-22 12:43:32 +02:00
Tal Aloni
856a2cc7d4 Update RPCTests 2023-12-22 12:40:02 +02:00
Tal Aloni
c5b432efe8 Tests: Remove unused methods 2023-12-22 12:39:06 +02:00
Tal Aloni
dbfab05f17 Update Test project to MSTest v2 2023-12-22 12:06:08 +02:00
Tal Aloni
576c8c499b Remove Visual Studio 2005 Support 2023-12-22 11:39:16 +02:00
Tal Aloni
0adfbd8ce1 Update Visual Studio 2005 project file 2023-12-14 20:07:04 +02:00
maharrabi
b988c3feb0
Add access denied ace support (#236)
Co-authored-by: Mohammed Aharrabi <AIM@gtt.fr>
2023-12-14 19:55:57 +02:00