Commit graph

323 commits

Author SHA1 Message Date
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
Tal Aloni
dfbf01d538 TransactionRequest: Improved GetBytes implementation 2017-02-02 22:58:23 +02:00
Tal Aloni
d3a0a290c5 Corrected TransactionCallNamedPipeRequest / TransactionWaitNamedPipeRequest parameter name 2017-02-02 22:56:06 +02:00
Tal Aloni
b24345b5ca NTFileSystemHelper: Added OpenFile helper method 2017-02-02 22:53:40 +02:00
Tal Aloni
2460401955 NTFileSystemHelper: CreateFile: Updated logging messages 2017-02-02 22:50:24 +02:00
Tal Aloni
c4b6d9a08b Use FileId of previous request in request chain if operations are related 2017-02-01 23:19:41 +02:00
Tal Aloni
e597bd082a FindEntries will now properly handle directory path without backslash termination 2017-02-01 23:17:21 +02:00
Tal Aloni
88204faf9b SMB2: Honor SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB flag 2017-02-01 23:05:42 +02:00
Tal Aloni
092869efa1 SMB2: implemented server-initiated SPNEGO authentication 2017-01-23 22:51:21 +02:00
Tal Aloni
ee55b59a2f Return STATUS_ACCESS_DENIED when writing to file that was opened for reading and vice versa 2017-01-22 22:26:14 +02:00
Tal Aloni
1679629b47 Fixed InvalidCastException during SMB 2.002 connection 2017-01-22 22:24:42 +02:00
Tal Aloni
3539d3bd31 Updated Readme.md 2017-01-21 11:15:30 +02:00
Tal Aloni
723df4698b Updated UI to enable selection of SMB1.0/CIFS and/or SMB 2.0 / 2.1 2017-01-20 22:06:09 +02:00