1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
Bryan Roe
a7b30fb729 Updated metadata 2020-05-22 12:18:46 -07:00
Bryan Roe
32935e0102 Updated metadata handling 2020-05-22 00:27:01 -07:00
Bryan Roe
383c19f5fe 1. Updated metadata
2. Fixed compiler warning
2020-05-21 19:06:05 -07:00
Bryan Roe
dd216efbe8 Updated metadata 2020-05-21 13:20:42 -07:00
Bryan Roe
655e607e01 Fixed #ifdef 2020-05-20 13:14:39 -07:00
Bryan Roe
16a2f437c3 Added ability to Save/Restore handle wait state
Fixed edge case that could cause a connection to resume twice
2020-05-20 12:05:38 -07:00
Bryan Roe
f2d63ea116 Updated metadata for descriptor tracking 2020-05-19 17:21:07 -07:00
Bryan Roe
56cc4c1328 Improved descriptor tracking 2020-05-19 14:47:52 -07:00
Bryan Roe
72ca73dd3d Added ability to fetch handle count 2020-05-19 10:11:59 -07:00
Bryan Roe
97ad48f2f2 1. Added ILibChain_WriteEx()
2. Updated ILibChain_Continue() on windows to take an optional list of HANDLE**
3. Updated net.socket IPC on Windows  to use ILibChain_ReadEx and ILibChain_WriteEx
4. Fixed child_process.waitExit() on windows to pass only the wait handles for the process
5. Added GetWaitHandles() to ILibProcessPipe
2020-05-15 17:25:49 -07:00
Bryan Roe
a4c5430879 Updated windows path to use ReadEx when overlapped is supported 2020-05-09 11:02:16 -07:00
Bryan Roe
969909cca7 Updated WriteEx 2020-05-05 02:00:07 -07:00
Bryan Roe
1bd4e3d07c Updated Windows Chain logic, to use WSAEventSelect and WaitForMultipleObjectsEx 2020-05-04 17:25:55 -07:00
Bryan Roe
10f1f53912 1. Removed usage of wcstomb_s(), which doesn't support UTF8
2. Added WideToUTF8_stupid() helper for API calls that give you byte count instead of character count of a non-null terminated UTF16 string
3. Fixed a few more places to support UTF8
2020-04-30 16:20:37 -07:00
Bryan Roe
71bd469551 fix 2020-04-29 03:01:44 -07:00
Bryan Roe
6cfd62ed42 1. Added sem_timedwait to macos
2. Added Workaround for pthread_timedjoin_np() for macos
2020-04-21 16:22:39 -07:00
Bryan Roe
28db019101 1. Added ability to spawn joinable threads on linux
2. Added ILibThread_TimedJoin()
2020-04-20 21:51:55 -07:00
Bryan Roe
71d4b1edca 1. Fixed compiler warnings
2. Updated thread cleanup/finalizer logic to rely on ctxd if necessary
2020-04-20 17:01:53 -07:00
Bryan Roe
5ba1288cdf Modified JS runtime to use ILibMemory_Extra to point to udata structure,
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
fa6836d17a Added ability to generate Dump file on crash, on Windows 2019-08-26 14:16:39 -07:00
Bryan Roe
a89a3204c1 1. Added ability to query if Select was interrupted with APC
2. Updated So that before readableStream and 'exit' are dispatched, APC's are unrolled if 'select' was interrupted, preventing stack corruption caused by trying to make a re-entrant winsock call, which is not supported by winsock.
2019-08-07 11:32:33 -07:00
Bryan Roe
124c0d386f Initial modifications to support FreeBSD 2019-06-17 15:45:46 -07:00
Bryan Roe
bb82553fa8 1. Updated LinkedList to use ILibMemory_SmartAllocate
2. Updated ILibChain_Continue to flag when it exits the processing loop
3. Updated main loop to reset continuation flag at the start of each loop
2019-06-13 13:36:43 -07:00
Bryan Roe
4a11c63b6c Fixed semaphores on MacOS 2019-06-06 18:45:42 -07:00
Bryan Roe
134f34d9cf 1. added 'ILibChain_IsLinkAlive' macro
2. incremental update for macos message-box
2019-05-24 15:11:27 -07:00
Bryan Roe
9319b61bfa Fixed bug with ReallocRaw macro, if the memoy location moves 2019-05-01 16:10:11 -07:00
Bryan Roe
0aa0a8cfa4 Added ILibBase64DecodeEx 2019-03-04 14:29:52 -08:00
Bryan Roe
4c05359e33 Fixed how the request transform stream buffers data 2019-03-01 10:26:04 -08:00
Bryan Roe
b9af163039 Added ability to log control channel messages 2019-02-14 14:03:33 -08:00
Bryan Roe
817f2786e2 Updated 'ChainViewer' 2019-02-02 02:55:12 -08:00
Bryan Roe
aeaa229e31 1. Modified WebRTC_DataChannel to use union, to simplify struct def
2. Added ChainLink MetaData
3. Added 'ChainViewer' to allow JS to debug Chain events
2019-02-01 23:33:02 -08:00
Bryan Roe
5995742cef Added db key to log update messages to aid in debugging update failures. 2019-01-31 14:40:52 -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
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