Commit graph

73 commits

Author SHA1 Message Date
Tal Aloni
584ca8da61 Remove connected user from connection state on Logoff 2017-01-14 14:31:50 +02:00
Tal Aloni
fb68513c16 Hid internal SMB1ConnectionState variables 2017-01-14 14:30:40 +02:00
Tal Aloni
211adcc78a Added RPCPipeStream to improve read / write abstraction 2017-01-14 00:56:35 +02:00
Tal Aloni
3f36591e14 RPC PDUs can now be read starting from a specified buffer offset 2017-01-14 00:22:38 +02:00
Tal Aloni
f809d337c8 Improved connected trees management logic 2017-01-13 23:42:39 +02:00
Tal Aloni
40a9b52cfc Added authentication related logging 2017-01-13 23:35:18 +02:00
Tal Aloni
345f4ae444 Improved NTLM authentication API and implementation 2017-01-13 23:34:37 +02:00
Tal Aloni
6e52e002a6 LoginAPI improvements 2017-01-13 22:36:52 +02:00
Tal Aloni
d4fb2ba562 SSPIHelper: Improved documentation 2017-01-13 22:36:20 +02:00
Tal Aloni
0be9ecb03b Added the Guest account with read permissions to the example user list 2017-01-13 15:07:46 +02:00
Tal Aloni
14300819ef More control over which users are permitted access via the guest user account if the normal authentication process fails 2017-01-13 15:02:18 +02:00
Tal Aloni
c6ab11526b Improved UID (User ID) allocation mechanism 2017-01-13 14:29:14 +02:00
Tal Aloni
c11b987320 Improved FID (File ID) allocation mechanism 2017-01-13 14:26:24 +02:00
Tal Aloni
617e5fb854 Improved TID (TreeID) allocation mechanism 2017-01-13 14:19:42 +02:00
Tal Aloni
b12a340d70 Improved SID (search handle) allocation mechanism 2017-01-13 11:19:46 +02:00
Tal Aloni
86c50e45fd SSPIHelper: Internal variables and structures are now hidden 2017-01-10 22:19:21 +02:00
Tal Aloni
30a94716f2 Moved session setup helper methods to separate class 2017-01-10 17:57:56 +02:00
Tal Aloni
39b89ba355 SMBServer v1.0.8 2017-01-10 15:50:25 +02:00
Tal Aloni
11bc00ec57 Removed DEBUG specific behavior when SMB1 message is invalid 2017-01-10 15:41:17 +02:00
Tal Aloni
74e92f2e2b Added SMBServer.OnLogEntry event
Implementers can now subscribe to the OnLogEntry event and receive log
entries.
2017-01-10 15:30:18 +02:00
Tal Aloni
08717b5358 Added a new ConnectionState class, SMB1 specific functionality will reside in SMB1ConnectionState 2017-01-10 15:18:26 +02:00
Tal Aloni
8ba4f012f1 Moved SMB1 specific server functionality to SMBServer.SMB1 2017-01-10 15:14:05 +02:00
Tal Aloni
eee2078581 Added SMB1Header.IsValidSMB1Header method 2017-01-10 15:14:05 +02:00
Tal Aloni
b41f03e202 Moved OpenedFileObject and ProcessStateObject to Server\ConnectionState\ 2017-01-10 15:14:05 +02:00
Tal Aloni
b0bb9e399f Moved SMB1 response helpers from Server\ResponseHelpers\ to Server\SMB1\ 2017-01-10 15:14:05 +02:00
Tal Aloni
27981c55ad Renamed TreeConnectHelper to ServiceNameHelper 2017-01-10 15:14:04 +02:00
Tal Aloni
3aa7825d1c Renamed SMBConnectionReceiveBuffer to NBTConnectionReceiveBuffer 2017-01-10 15:14:04 +02:00
Tal Aloni
bc167316a2 Renamed StateObject to SMB1ConnectionState 2017-01-10 15:14:04 +02:00
Tal Aloni
b45cffe099 Renamed FileAttributes to SMBFileAttributes 2017-01-10 15:14:04 +02:00
Tal Aloni
241eafc732 Improved SMB1Message implementation 2017-01-10 15:13:59 +02:00
Tal Aloni
6700166f5a Renamed SMBMessage to SMB1Message 2017-01-10 15:13:16 +02:00
Tal Aloni
2342765afb Renamed SMBHelper to SMB1Helper 2017-01-10 11:15:12 +02:00
Tal Aloni
53de01c3d6 Renamed SMBHeader to SMB1Header 2017-01-10 11:07:08 +02:00
Tal Aloni
8b7d8b289b Renamed SMBCommand to SMB1Command 2017-01-10 11:02:20 +02:00
Tal Aloni
f340094946 Added ISMBShare interface, moved share implementations to Server\Shares 2017-01-10 10:57:10 +02:00
Tal Aloni
7ab79e6300 Merged FileFullEAInformationList into FileFullEAInformation 2017-01-10 10:48:17 +02:00
Tal Aloni
3b4c50c190 SPNEGO: Added MechanismListMIC to negTokenInit and negTokenResp structures 2017-01-10 10:46:51 +02:00
Tal Aloni
cf9aba4a31 Added support for GSSAPI tokens 2017-01-08 00:11:15 +02:00
Tal Aloni
aaef6f2fc3 Bugfix: SMB_COM_SESSION_SETUP_ANDX Extended Request: NativeOS and NativeLanMan were not properly read 2017-01-08 00:01:53 +02:00
Tal Aloni
8864c4f335 Improved Transaction2Subcommands implementation 2017-01-07 23:56:26 +02:00
Tal Aloni
2f4a6e1538 SMBLibrary: Moved MS-FSCC structures to the Structures directory 2017-01-07 11:58:25 +02:00
Tal Aloni
b892bd9018 FindInformation was renamed to FindInformationList, FindInformationEntry was renamed to FindInformation 2017-01-06 22:28:01 +02:00
Tal Aloni
e0c0bc6ae6 SMBLibrary: Moved Transaction2Subcommands structures to Transaction2Subcommands\Structures directory 2017-01-06 22:20:05 +02:00
Tal Aloni
cb45290dc4 Renamed SMB1\SMBCommands to SMB1\Commands 2017-01-06 11:12:47 +02:00
Tal Aloni
3d6694fd9a Moved NTCreateFile enums 2017-01-06 10:56:05 +02:00
Tal Aloni
2954673f91 SMBLibrary: Sort project file list alphabetically 2017-01-06 10:50:03 +02:00
Tal Aloni
ab858afee9 honor FILE_DELETE_ON_CLOSE flag 2017-01-06 10:42:15 +02:00
Tal Aloni
0f1a691747 SMBServer v1.0.7 2017-01-03 23:27:14 +02:00
Tal Aloni
89b3ef2975 DirectoryFileSystem: use an opened file handle (if exists) when setting file dates to avoid ERROR_SHARING_VIOLATION 2017-01-03 23:18:11 +02:00
Tal Aloni
2b981c769a Report STATUS_SHARING_VIOLATION instead of STATUS_FILE_LOCK_CONFLICT on IOException when deleting file 2017-01-03 23:11:04 +02:00