Commit graph

335 commits

Author SHA1 Message Date
Tal Aloni
ce96106b5b SMB1 helpers: Improved code readability 2017-02-10 18:26:40 +02:00
Tal Aloni
30f0a641d2 AccessMask: Added implicit conversion from DirectoryAccessMask 2017-02-10 17:17:27 +02:00
Tal Aloni
7f83c70a45 FileAllInformation: Minor improvement 2017-02-10 17:16:36 +02:00
Tal Aloni
c72bb2e348 SMB_QUERY_FILE_BASIC_INFO: Corrected field names 2017-02-10 17:16:06 +02:00
Tal Aloni
29499e17ef SMBLibrary: Moved SMB1 object store structures and enums to SMB1FileStore 2017-02-10 13:07:04 +02:00
Tal Aloni
a8ccae65ad SMB1: Improved FindInformation / QueryFSInformation implementations 2017-02-10 12:25:07 +02:00
Tal Aloni
a3017c1b50 Removed LANMAN2.0 structure 2017-02-10 12:22:49 +02:00
Tal Aloni
5b70c6308d SMB2: Create / Close response: changed AllocationSize and EndOfFile fields from UInt64 to Int64 to match with FileInformation structures 2017-02-10 10:33:37 +02:00
Tal Aloni
728a076875 Corrected object store related size fields from UInt64 to Int64 2017-02-10 10:29:03 +02:00
Tal Aloni
2ea785159e FileNetworkOpenInformation: IsDirectory property added 2017-02-10 09:25:36 +02:00
Tal Aloni
26101cc0ae SMB1: SetInformation2Request: Moved SMBDateTime helper methods to SMB1Helper 2017-02-10 09:23:05 +02:00
Tal Aloni
2438fa1644 SMB1Helper: Removed unused methods 2017-02-10 09:18:43 +02:00
Tal Aloni
c57fed1232 Removed LANMAN2.0 FileInformation structures 2017-02-10 01:38:33 +02:00
Tal Aloni
dabc3260be SMB1: SMB_COM_QUERY_INFORMATION Response: Bugfix: LastWriteTime is UTime 2017-02-10 01:36:34 +02:00
Tal Aloni
4be937e7c1 NTFileSystemHelper.CreateFile: Corrected FILE_SUPERSEDE implementation 2017-02-09 15:28:57 +02:00
Tal Aloni
a9f92df47b Code refactoring: Added NTFileSystemHelper.ToNTStatus method to translate IFileSystem exceptions to NTStatus 2017-02-09 14:28:37 +02:00
Tal Aloni
fd26380dab API improvement: FileSystemShare: Added OnAccessRequest event that allows the subscriber to manage read / write permissions 2017-02-09 14:22:52 +02:00
Tal Aloni
f9ad9f9b5e NTFileSystemHelper: Improved ToFileAccess and ToFileShare implementations 2017-02-09 14:08:21 +02:00
Tal Aloni
f1965ec7ca IFileSystem: Added exception documentation 2017-02-09 12:54:19 +02:00
Tal Aloni
3baf91238d Moved NT file store specific enums / structures to NTFileStore 2017-02-09 12:45:13 +02:00
Tal Aloni
363e8a6b98 ACE: Corrected summary 2017-02-09 11:16:53 +02:00
Tal Aloni
9d4117347e FileSystemShare: Modified constructor 2017-02-08 22:04:07 +02:00
Tal Aloni
e4506c5267 NTFileSystemHelper: CreateFile: Honor DesiredAccess.MAXIMUM_ALLOWED 2017-02-08 22:02:38 +02:00
Tal Aloni
724fdf6e9b CreateRequest: Corrected summary 2017-02-08 21:57:29 +02:00
Tal Aloni
bd76e6e5a2 Implemented additional FileInformation structures 2017-02-07 14:33:35 +02:00
Tal Aloni
566f7714ba Moved FileAttributes, FileInformationClass and CompressionFormat to Enums\FileInformation 2017-02-07 14:27:52 +02:00
Tal Aloni
d057d96ab9 SMB_EXT_FILE_ATTR: improved readability 2017-02-07 14:12:51 +02:00
Tal Aloni
bef9bd6e69 FileTimeHelper.ReadNullableFileTime: throw InvalidDataException if FILETIME is negative 2017-02-07 14:11:44 +02:00
Tal Aloni
3ed2bbcd1c SMB_COM_NT_CREATE_ANDX Response: Added support for relative time (negative value) as specified in MS-CIFS 2017-02-07 14:08:02 +02:00
Tal Aloni
c46e638879 Improved QueryInformation structures implementation 2017-02-07 14:03:44 +02:00
Tal Aloni
dfb8822a4f Corrected SMB_FEA / SMB_FEA_LIST implementation 2017-02-07 13:55:56 +02:00
Tal Aloni
9f79f939b6 Corrected TRANS2_FIND_FIRST2 / TRANS2_FIND_NEXT2 requests implementation when InformationLevel = SMB_INFO_QUERY_EAS_FROM_LIST 2017-02-07 13:54:25 +02:00
Tal Aloni
794b1b30e1 Added SMB_GEA_LIST / SMB_GEA structures 2017-02-07 13:52:44 +02:00
Tal Aloni
cd03f7c946 Corrected SPNEGO implementation 2017-02-04 21:21:46 +02:00
Tal Aloni
2f78339fc8 TransactionRequest: Improved GetBytes implementation 2017-02-04 12:11:18 +02:00
Tal Aloni
ac4fcae871 Added copyright notice 2017-02-04 01:26:14 +02:00
Tal Aloni
0241d5c055 Improved NetBIOS name server implementation 2017-02-04 01:23:49 +02:00
Tal Aloni
dd8e867693 NetBIOS name service packets implementation refactoring 2017-02-03 23:50:19 +02:00
Tal Aloni
9d8ee88f1e SMBServer v1.1.1 2017-02-03 01:34:00 +02:00
Tal Aloni
4dbc92fb34 Updated Readme.txt 2017-02-03 01:34:00 +02:00
Tal Aloni
c2ed2ea102 NTFileSystemHelper: Handle IFileSystem related ArgumentException 2017-02-03 01:19:22 +02:00
Tal Aloni
38b9829d6a DirectoryFileSystem: Updated ValidatePath to verify that path starts with a blackslash 2017-02-03 01:11:29 +02:00
Tal Aloni
efbf28036e DirectoryFileSystem: Updated Name property to return the name of the underlying file system 2017-02-03 00:20:56 +02:00
Tal Aloni
c94ea8ad68 Win32 authentication: fail authentication if AcceptSecurityContext return SEC_E_INVALID_TOKEN 2017-02-03 00:06:01 +02:00
Tal Aloni
acf3a99214 Return STATUS_INVALID_PARAMETER instead of STATUS_SMB_BAD_COMMAND when client tries to perform operation on mismatching share 2017-02-02 23:25:16 +02:00
Tal Aloni
7c3e6edf84 Return STATUS_INVALID_SMB instead of STATUS_SMB_BAD_COMMAND when usage of SMB_COM_NEGOTIATE is invalid 2017-02-02 23:23:22 +02:00
Tal Aloni
e1a2710bbd SMB1: Return STATUS_INVALID_SMB when transaction subcommand is invalid 2017-02-02 23:19:34 +02:00
Tal Aloni
fddc896cf6 SMB1: Return STATUS_NOT_IMPLEMENTED when receiving Remote Administration Protocol requests 2017-02-02 23:16:53 +02:00
Tal Aloni
28eeb61f27 SMB1: TransactionHelper: Added ability to use the Name parameter of SMB_COM_TRANSACTION 2017-02-02 23:11:39 +02:00
Tal Aloni
6f22af8bf8 NTTransactionRequest: Improved readability 2017-02-02 23:00:52 +02:00