Commit graph

381 commits

Author SHA1 Message Date
Tal Aloni
ca48ffd92f SMBServer: SMB1: Properly handle SMB_COM_NT_TRANSACT requests with invalid function code 2017-07-25 14:53:06 +03:00
Tal Aloni
e91b9d30d6 Minor logging improvement 2017-07-25 14:48:06 +03:00
Tal Aloni
1c13a0e539 SMBServer: SMB1: SMB_COM_FLUSH will now call FlushFileBuffers on the handle associated with the specified FID 2017-07-25 14:04:19 +03:00
Tal Aloni
3f9daa39fe Minor code refactoring 2017-07-25 13:42:43 +03:00
Tal Aloni
2698498c8b SMBServer: Marked methods required for asynchronous operation as internal 2017-07-25 11:21:30 +03:00
Tal Aloni
d0b8ad25f1 SMB1/SMB2 Headers: Marked Protocol ID bytes as private 2017-07-25 11:15:43 +03:00
Tal Aloni
14e02ed8ac Improved compatibility with Windows Native API 2017-07-25 11:15:43 +03:00
Tal Aloni
fc96dfcb4c SMB1: NTTransactionHelper / TransactionHelper: Store MaxParameterCount (required for NT_TRANSACT_NOTIFY_CHANGE) 2017-07-25 11:15:43 +03:00
Tal Aloni
8aad4adb9c Added SMB_COM_NT_CANCEL request implementation 2017-07-25 11:15:37 +03:00
Tal Aloni
25d1714fe7 Improved compatibility with Windows Native API 2017-07-21 17:48:59 +03:00
Tal Aloni
917f7f40f1 SMB2 Commands: Marked StructureSize as private 2017-07-21 17:43:36 +03:00
Tal Aloni
fd9a845fa2 SMB1FileStoreHelper: QueryInformation / SetInformation / QueryDirectory: Bugfix: Temporary handle was not closed 2017-07-18 15:10:18 +03:00
Tal Aloni
2457d2c246 SMB1FileStoreHelper: Delete / Rename: The status of SetFileInformation should be returned regardless of the status of CloseFile 2017-07-18 14:59:48 +03:00
Tal Aloni
2f39e9072c INTFileStore: CreateFile: Added FileAttributes parameter 2017-07-15 19:16:51 +03:00
Tal Aloni
1fbd003b0d FileSystemInformation: Added GetFileSystemInformation method 2017-07-15 16:13:07 +03:00
Tal Aloni
6384576794 Removed unnecessary using statements 2017-07-15 12:31:29 +03:00
Tal Aloni
9e118fccdd NTFileSystemAdapter: bugfix: FILE_DELETE_ON_CLOSE flag was ignored in some cases 2017-07-14 23:04:41 +03:00
Tal Aloni
eb816a6aaf Minor logging improvements 2017-07-14 19:07:27 +03:00
Tal Aloni
37d3141180 SMBServer: Include NT FileSystem Adapter events in the log 2017-07-14 18:30:38 +03:00
Tal Aloni
5d77a5d681 SMBServer v1.2.1 2017-07-13 18:32:01 +03:00
Tal Aloni
4aba3f5244 SMBServer: Improved Named Pipe implementation 2017-07-11 23:14:10 +03:00
Tal Aloni
ed00ad4067 Improved implementation of RPC PDUs 2017-07-11 22:02:21 +03:00
Tal Aloni
d2a8c251be NamedPipeType enum: Corrected typo and renamed value 2017-07-11 21:41:19 +03:00
Tal Aloni
4fef34e7cd SMBServer: Correct handling of STATUS_BUFFER_OVERFLOW returned by the NTFileStore 2017-07-11 21:19:44 +03:00
Tal Aloni
9669f16bb5 SMB1: Bugfix: The server was returning more bytes than the specified maximum for SMB_COM_NT_TRANSACT and SMB_COM_NT_TRANSACT commands 2017-07-11 20:48:38 +03:00
Tal Aloni
fb06e4df46 Corrected typo 2017-07-11 16:14:51 +03:00
Tal Aloni
42f6e23107 GSSProvider: Marked core methods as virtual to improve extensibility 2017-06-25 17:50:42 +03:00
Tal Aloni
1b024acf65 SMBServer / NTFileSystemAdapter: Renamed event from OnLogEntry to LogEntryAdded 2017-06-22 17:56:57 +03:00
Tal Aloni
b5db0ac4b8 FileSystemShare: Renamed event from OnAccessRequest to AccessRequested 2017-06-22 17:55:15 +03:00
Tal Aloni
fb7d6d4bc8 BigEndianReader / Writer: Added ReadUInt24 / WriteUInt24 methods 2017-06-17 13:41:06 +03:00
Tal Aloni
366c4d61d1 SMBServer v1.2.0 2017-06-08 08:19:08 +03:00
Tal Aloni
e4184e52d1 Minor code refactoring 2017-06-05 22:33:42 +03:00
Tal Aloni
d16092ed38 Improved GSS implementation 2017-06-05 21:48:32 +03:00
Tal Aloni
cd11c57cc4 Corrected exception message 2017-06-05 21:28:55 +03:00
Tal Aloni
eb24eafea6 GSSAPI: Cases where the preferred authentication mechanism is not supported were not handled correctly 2017-05-24 18:37:41 +03:00
Tal Aloni
21e7ecac52 Minor documentation improvement 2017-05-24 18:27:11 +03:00
Tal Aloni
4fffe28a83 Bugfix: DerEncodingHelper.WriteLength was writing incorrect length 2017-05-24 18:25:25 +03:00
Tal Aloni
6c08f23751 SMB1: Minor optimization of GetFindInformationList 2017-05-23 10:57:58 +03:00
Tal Aloni
4f28519223 Bugfix: SMB2 QUERY_DIRECTORY response buffer length sometimes exceeded the request's OutputBufferLength 2017-05-23 10:57:42 +03:00
Tal Aloni
29a18fbfea SMBServer v1.1.9 2017-05-21 11:42:12 +03:00
Tal Aloni
af50099f22 IndependentNTLMAuthenticationProvider: Workaround for NTLMv2 with LmChallengeResponse length of 0 bytes 2017-05-20 10:50:37 +03:00
Tal Aloni
efce34f5d6 Minor logging related fix 2017-05-19 23:23:10 +03:00
Tal Aloni
03cff5e469 IFileSystem: Added FileOptions parameter to OpenFile 2017-05-19 14:03:39 +03:00
Tal Aloni
340f55c26e NTFileSystemAdapter: Bugfix: FILE_OPEN_IF was not handled properly if the file exists 2017-05-18 23:50:08 +03:00
Tal Aloni
dae8a6b19e NTFileSystemAdapter: Use read-ahead mechanism unless FILE_NO_INTERMEDIATE_BUFFERING is set or FILE_RANDOM_ACCESS flag is set 2017-05-18 22:52:13 +03:00
Tal Aloni
8c0ff8fdad Improved read-ahead mechanism 2017-05-18 22:47:10 +03:00
Tal Aloni
ae8a3d77d3 SMB1: Added support for paths without leading backslash 2017-05-18 10:32:15 +03:00
Tal Aloni
210f522b29 Minor logging improvement 2017-03-29 12:32:20 +03:00
Tal Aloni
cd07f7cbe7 SMBServer v1.1.8 2017-03-15 15:34:16 +02:00
Tal Aloni
b7946bafca SMBServer: Write logoff events to log 2017-03-15 15:33:19 +02:00