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

72 Commits

Author SHA1 Message Date
Bryan Roe
10c72b8a05 Updated consoleUid, to look at $DISPLAY when checking to see what users are logged in locally 2019-01-14 16:23:19 -08:00
Bryan Roe
7b6222711b Removed unrelated files 2019-01-13 15:31:05 -08:00
Bryan Roe
60fb611961 declutter... Will create separate folder for test scripts 2019-01-11 22:18:50 -08:00
Bryan Roe
989a500b6e Fix from Ylian, regarding Linux Transition Agent 2019-01-11 16:18:09 -08:00
Bryan Roe
2759cc799e Fixed preprocessor, so compiled correctly if OpenSSL is not linked 2019-01-11 16:13:44 -08:00
Bryan Roe
08eb5509aa updated 2019-01-11 14:03:00 -08:00
Bryan Roe
311431ba24 Updated to not use script container 2019-01-11 14:02:35 -08:00
Bryan Roe
02187849c3 Added MacOS support
Fixed Windows 7 issues
2019-01-11 14:02:12 -08:00
Bryan Roe
a939e61fad Updated license header
Updated how X11 support is detected and bound
2019-01-11 14:00:53 -08:00
Bryan Roe
242382d90b Added MacOS support 2019-01-11 13:56:43 -08:00
Bryan Roe
6bb0a8e7b3 Changed error handling 2019-01-11 13:56:10 -08:00
Bryan Roe
81ef5d4c2e Added MacOS support 2019-01-11 13:55:38 -08:00
Bryan Roe
17b378d53f integrated changes from Ylian 2019-01-11 13:55:06 -08:00
Bryan Roe
f5ee0de45c updated license header 2019-01-11 13:54:11 -08:00
Bryan Roe
c1b55c1fa8 added try/catch block 2019-01-11 13:53:41 -08:00
Bryan Roe
8344d03f22 updated license 2019-01-11 13:53:17 -08:00
Bryan Roe
236cc0dc2c Fixed edge case that could cause 100% cpu utilization 2019-01-11 13:52:55 -08:00
Bryan Roe
0f89f3b812 Updated webpage 2019-01-11 13:52:18 -08:00
Bryan Roe
01b8b5826e Added debug messages, and updated key enumeration 2019-01-11 13:51:56 -08:00
Bryan Roe
6bc03042eb Updated error handling and argument propagation 2019-01-11 13:51:29 -08:00
Bryan Roe
a2e018bb34 updated error handling 2019-01-11 13:49:25 -08:00
Bryan Roe
406c7b79df Added try/catch block 2019-01-11 13:48:51 -08:00
Bryan Roe
303bacfdef Updated so compiles on OSX
Added Canary check to HECI_Sesison object
Changed error type to enum
Added support for timeouts when adding wait handles
added 2 second timeout for doIoctl
2019-01-11 13:47:17 -08:00
Bryan Roe
979101863c Fixed bug where IncomingMessage wasn't a readable stream in 'request' emitter
Fixed edge case where Agent.keepSocketAlive wasn't always getting called
2019-01-11 13:45:43 -08:00
Bryan Roe
c739a535c3 Updated to first try to use MeshAgent cert, if present 2019-01-11 13:42:15 -08:00
Bryan Roe
d93decc462 Added MacOS Support
Added chownSync
2019-01-11 13:41:36 -08:00
Bryan Roe
3cebd6a990 Added Domain Socket support 2019-01-11 13:40:29 -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
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