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

45 Commits

Author SHA1 Message Date
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
Bryan Roe
b8928208d7 Added code to check the stack size when transitioning from native to javascript 2019-01-11 12:30:53 -08:00
Bryan Roe
51ee1c0562 Added canary checks
Fixed behavior of 'finish' to match node documentation
2019-01-11 12:30:06 -08:00
Bryan Roe
678ab7e687 Updated so attempts to end an already end'ed stream is ignored 2019-01-11 12:28:48 -08:00
Bryan Roe
71a9d2ba17 Added MacOS support
Fixed 'child' race condition
Fixed compiler warnings
2019-01-11 12:28:03 -08:00
Bryan Roe
07c3eeb3bc 1. Integrated polyfill for promise
2. Modified Immediate, so a reference is automatically saved until it expires
3. ) updated Buffer.alloc to support non-zero fill
4. added bignum support using OpenSSL if linked
2019-01-11 12:25:34 -08:00
Bryan Roe
24d97b3b34 Added GetBuffer helper 2019-01-11 12:22:57 -08:00
Bryan Roe
70daead65e Added Async Threading helpers 2019-01-11 12:22:16 -08:00
Bryan Roe
a9b159ea7e Fixed bug where'flush' flag was set incorrectly on a transform stream 2019-01-11 12:21:11 -08:00
Bryan Roe
2dbf7c60cf added 'address' 2019-01-11 12:20:26 -08:00
Bryan Roe
ca7b441cf8 bug fixes 2019-01-11 12:18:36 -08:00
Bryan Roe
820aecc7ec 1. Added Canary checks
2. Added 'waitExit' for linux and MacOS
2019-01-11 12:17:24 -08:00
Bryan Roe
a6f743658e Updated so you can update a module that already exists 2019-01-11 12:15:56 -08:00
Bryan Roe
b2b2a9187a Added '-info' to display Compile Time and OpenSSL Version 2019-01-11 11:22:42 -08:00
Bryan Roe
6032f86849 Added ability to propagate errors 2019-01-11 11:21:45 -08:00
Bryan Roe
cc26cff004 Updated, so compiles on MacOS 2019-01-11 11:21:24 -08:00
Bryan Roe
47a011bb8f 1. Added MacOS KVM Support
2. Added Helpers for Systemd detection, MemoryMappedFile Read, and CommandLine parsing, for Linux/MacOS
3. Added "IsService" helper for Linux/MacOS
4. Updated the updater so it uses SystemD, LaunchD, or InitD when appropriate.
5. Fixed auto update bugs
6. Updated, to support KVM with XWayland. Note: Only works when somebody is logged in. XWayland prevents connections when nobody is logged in
7. Added ECDSA support.
8. Added TPM support on Windows Agents.
2019-01-11 11:20:39 -08:00
Bryan Roe
83c1435512 KVM Fixes
1. Added changes to support MacOS
2. Updated Linux KVM, so X11 is dynamically loaded at runtime
2019-01-11 11:15:22 -08:00
Bryan Roe
5bbdbf2e48 Changes for WinCrypto 2019-01-11 11:11:31 -08:00
Bryan Roe
1c5d386e56 Updated OpenSSL 2019-01-11 11:10:28 -08:00
Bryan Roe
d336775275 new helpers 2019-01-11 11:01:49 -08:00
Bryan Roe
bf7795cd87 New Windows Terminal 2019-01-11 11:01:26 -08:00
Bryan Roe
4acf4a5cd8 Updated OpenSSL 2019-01-11 11:00:48 -08:00
Bryan Roe
dac85f7e80 Initial Add 2019-01-11 11:00:00 -08:00
Bryan Roe
3cf4dfced6 Added MeshReset Tool 2019-01-11 10:59:24 -08:00
Bryan Roe
a0f146b38d Added MacOS KVM files 2019-01-11 10:58:46 -08:00
Bryan Roe
e040b11c70 Added necessary includes for lib turbo jpeg 2019-01-11 10:58:11 -08:00
Bryan Roe
994e4e4a2b Renamed to upnp.js 2019-01-11 10:49:51 -08:00
Ylian Saint-Hilaire
7f7672ed24 Added Raspberry Pi OpenSSL libs 2018-09-05 17:25:00 -07:00
Ylian Saint-Hilaire
fd5679b5df Code clean up. 2018-09-05 16:37:00 -07:00
Ylian Saint-Hilaire
e33dc215b8 Improved privilage excalation 2018-09-05 12:05:42 -07: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
0a7e84849d Added license file 2017-10-12 14:30:19 -07:00
Ylian Saint-Hilaire
75d86eb4c8 First commit of MeshAgent for MeshCentral 2017-10-12 14:28:03 -07:00