1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Bryan Roe
ba28e98ef7 1. Fixed bug where the last result data length could include the NULL terminator if the input string length was too long.
2. Updated DB calls, to Get/Put will truncate the NULL terminator if it is specified in the key name
3. Updated COMPACT, so keynames will be fixed if it contains a NULL terminator
2019-01-17 18:05:26 -08:00
Bryan Roe
f39beca4aa 1. Fixed bug where pendingBytesToSend went negative
2. Fixed bug where if bytesSent was -1, it caused allocated buffer to be offset incorrectly
2019-01-16 15:50:02 -08:00
Bryan Roe
43eb327870 Updated so compiles on MacOS 2019-01-11 13:39:09 -08:00
Bryan Roe
99ff50fcb8 Updated so compiles on OSX
Fixed Semaphores which were completely broken on OSX. Now uses Grand Central Dispatch Semaphores
Disabled WatchDog for Non-Isolated ScriptContainer
Updated Canary check, so it fails if the pointer is NULL
Added thread join helper
Updated RunOnMicrostackThread, to make availahle an ABORT handler
started to add SSL tracing capability for debug
2019-01-11 13:38:12 -08:00
Bryan Roe
2363e36bcb Fixed on Linux, so db is opened exclusively, and fails/exits if it can't do it
Updated from SHA256 to SHA384
Added helper to see if db exist
Fixed deprecation problem on windows
Added an explicit unlock
Added fix, to prevent memory corruption if a db record is corrupt
2019-01-11 13:34:22 -08:00
Bryan Roe
372a20e841 Updated SSL_TRACE
Fixed logic error that occurs if the server returns an invalid/incorrect status code when making a websocket request
2019-01-11 12:44:46 -08:00
Bryan Roe
0af4b403dd Added helper code (commented out), to aid in wireshark debugging DTLS 2019-01-11 12:43:23 -08:00
Bryan Roe
a3f69396f6 Added MacOS support
Added ability to spawn process with specific user, under linux
Fixed edge case memory leak caused when we were trying to QueueUserAPC to a thread we were already on, which also caused a 3 second delay.
Changed WindowsRunLoop, to detect bad HANDLEs, and event an error on them, and remove them from list
Fixed linux bug, where a spawned child called 'exit' instead of '_exit' in an error condition
2019-01-11 12:42:16 -08:00
Bryan Roe
c0db749e8e Added ability to use external cert 2019-01-11 12:39:44 -08:00
Bryan Roe
eaff1c25e4 Added domain socket support on Linux and MacOS 2019-01-11 12:37:59 -08:00
Ylian Saint-Hilaire
3c80473a94 Major agent update. 2018-09-05 11:01:17 -07:00
Ylian Saint-Hilaire
4b5c77b4fd Many improvements. 2018-02-11 21:11:58 -08:00
Ylian Saint-Hilaire
508646044e Much improved, better stability, lots of fixes 2018-01-12 11:50:04 -08:00
Ylian Saint-Hilaire
becf71557f Improved agent that can update the MeshCentral1 agent 2017-11-09 16:07:39 -08:00
Ylian Saint-Hilaire
34e09c2304 MeshAgent for MeshCentral2 Beta2 with improved crypto. 2017-10-25 21:08:41 -07:00
Ylian Saint-Hilaire
75d86eb4c8 First commit of MeshAgent for MeshCentral 2017-10-12 14:28:03 -07:00