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

45 Commits

Author SHA1 Message Date
Bryan Roe
161f125576 Fixed bug in finalizer, where wait handle was not removed 2020-05-17 14:38:57 -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
9a4f2edfef Fixed compiler warning, and updated fix 2020-05-11 14:17:25 -07:00
Bryan Roe
7dc8ee4ef4 Added memory ownership for buffer 2020-05-07 18:19:14 -07:00
Bryan Roe
9668b8d77d Update to use new threading model for windows 2020-05-07 10:29:49 -07:00
Bryan Roe
5fb0cef7db 1. Removed debug message from child-container
2. Fixed WriteEx() behavior
3. Fixed AddWaitHandle() to use APC if called from wrong thread
4. Fixed net.ipcSocket to return correct value if write completed right away
2020-05-05 16:12:23 -07:00
Bryan Roe
d26701c731 Updated ReadEx 2020-05-05 13:27:03 -07:00
Bryan Roe
1bd4e3d07c Updated Windows Chain logic, to use WSAEventSelect and WaitForMultipleObjectsEx 2020-05-04 17:25:55 -07:00
Bryan Roe
941ac6e192 1. Added NULL check
2. Added process._exit()
3. Fixed CancelIOEx usage
2020-05-03 19:40:32 -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
e3b8cc4d2c 1. Fixed edge case bug, where TLS packet was corrupt
2. Added compile switch for KVM ALL TILES
3. Added compile switch for Debug fragmentation of Sends
4. Fixed compiler warnings
5. Added comments to makefile
2020-04-13 20:08:32 -07:00
Bryan Roe
7f49bedd29 Updated DNS Cache logic 2020-02-24 16:00:08 -08:00
Bryan Roe
f11fb9d3cb Fixed bug, where if DNS resolve fails, an attempt is made to fetch cache results, but the result was accidentally left on the value stack 2020-02-24 15:45:15 -08:00
Bryan Roe
2e04da2fc7 Fixed bug in Windows IPC Socket, where paused stream was not resumed when you hooked the 'end' event 2020-01-30 10:35:28 -08:00
Bryan Roe
a5e30ab2c6 Fixed compiler warning 2020-01-24 22:42:29 -08:00
Bryan Roe
4a2bc80d2e Fixed Windows IPC Read, to unroll completion callback, before dispatching
Fixed edge case bug where stack wasn't popped correctly for IPC Write
2019-12-05 14:45:07 -08:00
Bryan Roe
0f40f9092e 1. Fixed IPC cleanup on domain sockets for Windows
2. Fixed readableStream, so 'end' is still emitted when piped
2019-12-04 15:00:15 -08:00
Bryan Roe
cb0f43e17e Fixed unshift logic for IPC socket 2019-12-03 12:27:06 -08:00
Bryan Roe
3342871bc5 Fixed compiler warning 2019-11-25 17:37:31 -08:00
Bryan Roe
e68d0cc7c5 Polyfilled some helper methods in ip-address.Address4 2019-11-20 10:53:08 -08:00
Bryan Roe
5d2e5dab8b Added compile switch to support SSL/TLS key export for debug 2019-09-17 00:52:04 -07:00
Bryan Roe
583628214e Added 'listening' property to net.server 2019-06-14 13:56:07 -07:00
Bryan Roe
78512cda21 Updated, so writableAll is supported on Posix, on server domain sockets 2019-05-29 15:23:59 -07:00
Bryan Roe
2895768ebf 1. Added 'close' to net.server
2. updated message-box for MacOS (In Progress)
2019-05-23 15:41:00 -07:00
Bryan Roe
679366445f Updated server finalizer, so it cleans up named pipe, if its an IPC server. 2019-05-15 10:48:01 -07:00
Bryan Roe
ac07dc59d5 Updated, so if broken pipe detected, server will re-bind if necessary 2019-05-01 23:21:27 -07:00
Bryan Roe
6770921ca7 Updated ReadEx/WriteEx so it returns status, which can be used to detect broken pipe 2019-05-01 21:19:56 -07:00
Bryan Roe
c6e0d2a0ac Fixed IPC_Write to emit drain when no more pending writes 2019-05-01 16:38:12 -07:00
Bryan Roe
6f1e1c4d9e Updated Windows IPC 2019-05-01 16:13:43 -07:00
Bryan Roe
8c6a230d1e 1. Fixed bug with createConnection()
2. Updated Windows IPC
2019-04-30 15:15:20 -07:00
Bryan Roe
1e58eaf103 Experimental 2019-04-26 16:07:06 -07:00
Bryan Roe
70e7836db1 Added random number helpers 2019-04-15 14:11:23 -07:00
Bryan Roe
f6ccbce1fb 1. Fixed return value of util_from_cer to be consistent with other util methods
2. Added DER support to tls.loadCertificate
3. Updated sign/verify methods
2019-04-03 17:39:22 -07:00
Bryan Roe
69f76902cd Added ability to query Server Info, and Proxy Config 2019-04-01 17:34:36 -07:00
Bryan Roe
adbff6baf8 1. Added Buffer helper method
2. Added Certificate helper method
2019-03-02 19:27:39 -08:00
Bryan Roe
7b74feade5 1. Fixed bug that caused tls.error event to be emitted incorrectly
2. Fixed IPv6 Support for Linux
2019-03-01 13:19:14 -08:00
Bryan Roe
2633fc2928 Fixed bug in Domain Socket detection logic on linux 2019-02-26 15:59:38 -08:00
Bryan Roe
9542a14ada added missing Proxy support for non TLS connections 2019-02-12 17:57:22 -08:00
Bryan Roe
3612e45cef Fixed compiler warning on GCC related to duktape specific issue 2019-01-17 21:56:34 -08:00
Bryan Roe
3cebd6a990 Added Domain Socket support 2019-01-11 13:40:29 -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
75d86eb4c8 First commit of MeshAgent for MeshCentral 2017-10-12 14:28:03 -07:00