Commit Graph

295 Commits

Author SHA1 Message Date
MaxXor 8f88f4142a Added ShutdownAction enum 2015-07-14 23:48:24 +02:00
MaxXor 6c6bc07b6e Added enum for UserStatus 2015-07-14 23:18:48 +02:00
MaxXor 45dccb69e0 Added consistent packet names 2015-07-14 19:00:31 +02:00
MaxXor 9092cc513a Corrected documentation 2015-07-10 16:49:11 +02:00
MaxXor bca273dc5e Fixed networking code
ref #275
2015-07-10 12:45:24 +02:00
MaxXor 44d81ed35e Reduced block size of file transfers 2015-07-10 12:41:48 +02:00
MaxXor 9a145b602b Better handling of packets with invalid header 2015-07-09 22:39:33 +02:00
MaxXor 9722744a75 Renamed MAX_PACKET_SIZE to BUFFER_SIZE 2015-07-09 22:28:07 +02:00
DragonHunter 0e6cafdc75 Reduced header to 3 bytes & Max Payload is 16MB
Reduced the Header from 4 bytes to 3
The server or client should not be able to allocate 2GB memory from the
header, max is now 16MB
2015-07-09 22:01:39 +02:00
MaxXor d785fc32a8 Fixed networking code
fixes #272
fixes #273
2015-07-08 11:13:43 +02:00
MaxXor c4fa4f355e Fixed #270 2015-06-20 19:17:09 +02:00
MaxXor cf0de1597f Removed redundant setting of NoDelay option 2015-06-18 16:11:33 +02:00
MaxXor f4835ee68b Removed whitespace 2015-06-14 14:20:50 +02:00
MaxXor 1f753bd461 Fixed not receiving when connection is closing 2015-06-11 11:24:08 +02:00
MaxXor b9d11c3b24 Fixed async receive in client & server using a queue 2015-06-11 10:20:11 +02:00
MaxXor dde4336e1c Don't handle ObjectDisposedEx. as normal Exceptions 2015-06-10 19:53:03 +02:00
MaxXor 3fc03a7788 More send & receive fixes for client & server 2015-06-10 19:33:02 +02:00
MaxXor 8284da5830 Small fix 2015-06-07 16:50:37 +02:00
MaxXor 83ec8c2a87 Added improvements to client 2015-06-07 16:35:30 +02:00
MaxXor 70618e91cb Improved memory management in server
- Fixed handling packets wih payload bigger than the buffersize of the
receiving socket
- Added locks to FileSplit class
2015-06-07 16:28:33 +02:00
MaxXor 3bdd5aa294 Implemented pooled buffer manager to socket 2015-06-05 23:07:37 +02:00
MaxXor 58b2c2d2d4 Fixed getting startup items with same name 2015-06-03 15:18:37 +02:00
MaxXor 172e266fbe Improved Startup Items exception handling 2015-06-03 14:41:39 +02:00
MaxXor 810d631129 Improved OS display name 2015-06-03 14:41:02 +02:00
MaxXor dc5bef821e Fixed getting startup entries from client 2015-06-03 07:50:38 +02:00
MaxXor 7d153c416c Added safe way to open subkey with write access 2015-06-02 20:38:44 +02:00
MaxXor 253507a613 Fixed registry key access (#256) 2015-06-02 20:33:37 +02:00
MaxXor f1934058a0 Improved Registry Access in Client 2015-06-02 20:15:36 +02:00
yankejustin 172359262a Correctly get entries 2015-06-02 13:50:56 -04:00
yankejustin 59599759be Throw a more meaningful exception
For those that like to see the type of exception thrown, this makes it
more clear and meaningful.
2015-06-02 13:34:05 -04:00
yankejustin 38acb88aab Added another RegistryKey extension method
This makes the code more readable and the intent more obvious.
2015-06-02 13:29:42 -04:00
yankejustin 901cbd3a64 Add to the dictionary correctly 2015-06-02 13:18:02 -04:00
yankejustin c8b9258183 More documentation on a RegistryKey extension
Added some more documentation for the GetFormattedKeyValues extension
method.
2015-06-02 13:17:02 -04:00
yankejustin fab38a8b9a Added RegistryKey Extensions/Helpers
Added RegistryKey Extensions/Helper methods. Cleaned up and improved
HandleGetStartupItems.
2015-06-02 13:14:32 -04:00
MaxXor 3ff0b38585 Added #245
Improved client & server
closes #245
2015-05-31 19:22:00 +02:00
MaxXor 6a4125cf18 Added more documentation to Client 2015-05-30 09:23:35 +02:00
yankejustin 0dc2bd7b6f Added documentation for the Client's client
Added documentation for the Client's client object.
2015-05-29 20:16:45 -04:00
MaxXor 24673509c5 Partial fix #231 2015-05-29 00:25:40 +02:00
MaxXor 163c828fbc Fixed Shell cmd.exe process not correctly exited
#232
2015-05-27 23:10:40 +02:00
MaxXor 9d29ed9803 Merged changes from master 2015-05-27 22:49:00 +02:00
MaxXor 47de4f8aa0 Small corrections 2015-05-27 22:46:07 +02:00
yankejustin 9bddb0ffd5 Initialize ManualResetEvents in the constructor
If something recoverable goes wrong in the shell, we must make sure that
we reset the ManualResetEvents so the chained output functions
correctly.
2015-05-27 15:44:32 -04:00
yankejustin d402d7833f Fixed client breaking on shell close
Fixed a situation where a break in the output-handler chain would not
correctly terminate, causing an exception to be thrown.
2015-05-27 15:37:07 -04:00
yankejustin 5c4525eb69 Changes to Dispose(bool)
Changes to how the shell is disposed.
2015-05-27 14:50:24 -04:00
yankejustin be78162f63 Changes to output handling of commands
Added an "IsError" property to the ShellCommandResponse to denote if the
response should be handled a certain way (if it is a response to a
ShellCommand error, then print it differently).
Also correctly queues up two different threads on shell initialization.
These ManualResetEvents now will signal the Shell's redirected output to
handle either the output, or the error output. Not at the same time
(will cause deadlocking).
We now append the text instead of concatenating. Not sure how much more
efficient this is, but it is certainly more readable.
2015-05-27 14:46:10 -04:00
MaxXor 8d32c58901 Removed newly added unused reference 2015-05-27 19:38:07 +02:00
yankejustin 16ad740862 Screen length check
Come to think of it, if there isn't a screen in the array, we shouldn't
use it! heh
2015-05-27 12:38:50 -04:00
yankejustin 0685ab44dc Improved HandleMonitors
For some strange reason, this line wasn't in the last commit!
2015-05-27 12:38:00 -04:00
yankejustin 849638fd1b Various Remote Desktop Fixes
Handle Monitors is more reliable.
Re-wrote some of HandleRemoteDesktop to produce more accurate behavior.
2015-05-27 12:36:37 -04:00
MaxXor bceaf04811 Added Removing of Programs from Autostart 2015-05-26 23:11:16 +02:00