Commit graph

312 commits

Author SHA1 Message Date
Tal Aloni
04d2bc63c4 Fixed FormatException
Fixed FormatException
2017-03-13 17:20:38 +02:00
Tal Aloni
9cd6180e57 TreeConnectHelper: Code refactoring and logging improvements 2017-03-13 17:14:01 +02:00
Tal Aloni
e639361c9c SMBServer: Domain information is now logged during session setup 2017-03-11 22:04:57 +02:00
Tal Aloni
f5d540728e Independent / Integrated NTLMAuthenticationProvider: GetContextAttribute can now return DomainName 2017-03-10 20:26:54 +02:00
Tal Aloni
62d240d166 Added proper Length property to NetBIOS session packets 2017-03-10 20:01:07 +02:00
Tal Aloni
801719172d SMBServer: Workstation information is now logged during session setup 2017-03-10 16:51:26 +02:00
Tal Aloni
536d4bd3a6 Added LogWriter implementation to handle log events 2017-03-10 16:27:22 +02:00
Tal Aloni
f9c77ff6a0 User / UserCollection: Changed namespace to SMBServer 2017-03-10 15:47:47 +02:00
Tal Aloni
82f308b576 Renamed ShareCollection to SMBShareCollection 2017-03-09 16:56:47 +02:00
Tal Aloni
a7af73ae2d SMBServer: Hid internal classes 2017-03-09 15:35:41 +02:00
Tal Aloni
f71ef6b232 SMB2: FileID related improvements 2017-03-08 16:20:13 +02:00
Tal Aloni
8e07373185 Minor logging improvement 2017-03-07 10:36:35 +02:00
Tal Aloni
eff1f08ab8 SocketUtils.ReleaseSocket: Improved exception handling 2017-03-07 10:35:50 +02:00
Tal Aloni
512f03f77f SMBServer v1.1.6 2017-03-05 12:16:12 +02:00
Tal Aloni
df4b7e5cef SMBServer: Minor logging improvement 2017-03-05 12:07:36 +02:00
Tal Aloni
15f09eb751 SMBServer: API: Added GetSessionsInformation method 2017-03-04 15:06:56 +02:00
Tal Aloni
d742a22756 GSS improvements, set context to null after a successfull call to DeleteSecurityContext 2017-03-04 14:59:28 +02:00
Tal Aloni
900ff25a3c All matching opened files will now be closed during connection termination 2017-03-04 14:32:17 +02:00
Tal Aloni
9141665ac6 All matching opened files will now be closed during logoff 2017-03-04 14:12:02 +02:00
Tal Aloni
cff82dd4b8 All matching opened files will now be closed during tree disconnect 2017-03-04 14:10:16 +02:00
Tal Aloni
2c1b59973b Added TreeID parameter to OpenFileObject 2017-03-04 14:04:04 +02:00
Tal Aloni
241e06c38d SMBServer: TCP KeepAlive is now used to detect dead clients 2017-03-04 12:59:22 +02:00
Tal Aloni
84affda0ff SMBServer: Each connection now use a dedicaded thread for send operations 2017-03-04 12:56:11 +02:00
Tal Aloni
30627e72d4 Added ConnectionManager class 2017-03-04 12:51:39 +02:00
Tal Aloni
644e7d87d5 Independent / Integrated NTLMAuthenticationProvider: bugfix: MachineName was not read from AuthenticationMessage 2017-03-04 12:00:27 +02:00
Tal Aloni
3325d1842f ConnectionState: Renamed ServerDialect to Dialect 2017-03-04 11:26:49 +02:00
Tal Aloni
054d537c26 Added MachineName and CreationDT properties to SMB1Session and SMB2Session 2017-03-04 11:25:46 +02:00
Tal Aloni
e3dafa524f SMB1: Retrieve SessionKey from GSS mechanism and store it in SMB1Session 2017-03-04 11:23:44 +02:00
Tal Aloni
174e43f792 SMBServer: Hid internal methods and classes 2017-03-04 11:20:45 +02:00
Tal Aloni
cef7a6dc29 Moved SMBDialect to a separate class 2017-03-04 11:13:11 +02:00
Tal Aloni
f4fa70a280 SMBServer: Moved socket parameters to the Start method 2017-03-04 11:09:33 +02:00
Tal Aloni
c93bb66152 SMBServer: Added server Start / Stop log events and exception documentation 2017-03-04 11:06:26 +02:00
Tal Aloni
152f2cdaa0 Minor code refactoring 2017-03-04 11:05:03 +02:00
Tal Aloni
07c4ecfd0c SMBServer v1.1.5 2017-03-02 18:38:49 +02:00
Tal Aloni
8067925ea2 SMB2: Enable message signing if client request it 2017-03-02 16:56:43 +02:00
Tal Aloni
3e4d40b7ad SMB2: Retrieve SessionKey from GSS mechanism and store it in SMB2Session 2017-03-02 16:34:50 +02:00
Tal Aloni
641613ae8e SMB2: Correctly report server start time in SMB2_NEGOTIATE response 2017-03-02 16:26:27 +02:00
Tal Aloni
f693f7ff77 SMB2Command: Implemented signing in GetCommandChainBytes 2017-03-02 16:19:58 +02:00
Tal Aloni
5d9fa0fb6e IndependentNTLMAuthenticationProvider: Set KeyExchange NTLM flag if client request it 2017-03-02 15:27:37 +02:00
Tal Aloni
6bb9aa323b SMB2Header: Initalize Signature field on creation, added SignatureOffset constant 2017-03-02 14:29:05 +02:00
Tal Aloni
832b791fcc IntegratedNTLMAuthenticationProvider: The correct SessionKey will now be returned instead of EncryptedRandomSessionKey 2017-03-02 13:10:34 +02:00
Tal Aloni
f1d65fedd2 IndependentNTLMAuthenticationProvider: Compute and store SessionKey 2017-03-02 13:03:42 +02:00
Tal Aloni
1d756498f1 IndependentNTLMAuthenticationProvider: ChallengeMessage.NegotiateFlags are now properly set 2017-03-02 11:35:56 +02:00
Tal Aloni
6325053243 Renamed 2 NTLM NegotiateFlags 2017-03-02 11:25:24 +02:00
Tal Aloni
481f6d9278 Renamed SigningTests class to NTLMSigningTests 2017-03-02 11:18:47 +02:00
Tal Aloni
104d18b81b SSPIHelper: Added GetUserName and GetSessionKey methods 2017-03-01 22:14:15 +02:00
Tal Aloni
d3c46361d2 Added SMB2 message signing tests 2017-03-01 20:48:56 +02:00
Tal Aloni
fdf403d424 NTLM: Added session key computation helper method and tests 2017-03-01 20:47:44 +02:00
Tal Aloni
72a6ac2297 Renamed AuthenticationTests to NTLMAuthenticationTests 2017-03-01 20:45:08 +02:00
Tal Aloni
de6458ca5f Added RC4 encryption implementation 2017-02-27 18:59:37 +02:00