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

88 Commits

Author SHA1 Message Date
Bryan Roe
6ba372d9b1 Updated to clear strong reference after an immediate triggers. 2022-08-16 13:23:30 -07:00
Bryan Roe
373b0b424d Fixed memory leaks with Metadata string on Windows IPC socket, and overlapped data structure 2022-08-09 15:15:46 -07:00
Bryan Roe
7cffca38f5 Fixed Windows Handle leak 2022-07-25 09:42:49 -07:00
Bryan Roe
36681dbbf8 1. Fixed bug where global-tunnel.end() didn't clear the proxy
2. Broke infinite loop that could occur with circular referenced list
3. Added NULL check
2022-06-23 01:33:03 -07:00
Bryan Roe
de8322321c 1. Updated global-tunnel properties
2. Updated error message to be more descriptive
2022-06-14 15:15:30 -07:00
Bryan Roe
dec0fcb5c0 1. Added NULL check on util_to_cer
2. Added digest() to tls.GenerateCertificate()
3. Added first rev of Simulated Server, for Agent Self Update Test
2022-06-06 23:50:09 -07:00
Bryan Roe
d8e6e7f3ab Added workaround for Chrome v75+ bug with self-signed certificates, by adding options for specifying alternate keyUsages 2022-06-06 13:25:14 -07:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08:00
Bryan Roe
841642dec4 1. Added MeshCommand_HostInfo command
2. Fixed compiler warnings
2021-08-10 16:41:22 -07:00
Bryan Roe
4f0bee9fc9 Fixed bug in TLS verification where the stack was not popped the correct number of times, which could result in a runtime exception. 2021-07-26 14:42:04 -07:00
Bryan Roe
f38283a9d8 Updated Proxy Support: (DNS resolved by proxy)
1. Added ILibAsyncSocket_ConnectToProxyEx()
2. Updated net.socket and tls.socket to use updated proxy method
2021-06-20 21:40:34 -07:00
Bryan Roe
486f8eaa39 1. Fixed Compiler Warnings
2. Updated GC behavior for HTTP
2021-05-20 11:36:40 -07:00
Bryan Roe
d977bee7b9 Fixed compiler warning 2021-02-05 11:28:53 -08:00
Bryan Roe
911e6a5b18 Fixed bug where ALPN/sni was queried on non TLS connections 2021-02-05 11:22:25 -08:00
Bryan Roe
19e7d9e876 1. Updated ALPN support to work better with NodeJS 6.0.0
2. Added servername property on tls.socket
2021-02-04 20:06:53 -08:00
Bryan Roe
6f28cdb484 1. Fixed bug where NetworkTimeout Error, caused duplicate connection
2. Fixed dispatcher on Windows to put username in quotes
3. Added additional logging
4. Added TLS/ALPN support
2021-02-04 12:57:36 -08:00
Bryan Roe
4daedfd081 Added ability to compile for FIPS mode 2021-01-21 20:13:15 -08:00
Bryan Roe
56f9f4e547 Added cert digest 2020-11-10 14:13:59 -08:00
Bryan Roe
a2892996fb IOActive update for size_t vs int for buffer lengths 2020-10-16 00:48:34 -07:00
Bryan Roe
17a487af68 1. Fixed crash that occured in metadata
2. Added support for server.connections
2020-10-11 18:59:09 -07:00
Bryan Roe
e4d12f14c6 Changed property name from backlog to maxConnections, for concurrency 2020-10-09 00:31:50 -07:00
Bryan Roe
1ef348bbc4 Updated concurrency support for Windows 2020-10-08 16:31:55 -07:00
Bryan Roe
3f6f00f915 Added support for IPC concurrency on Windows 2020-10-06 17:56:44 -07:00
Bryan Roe
c7b35ae9f1 Updated pipe permission for writableAll 2020-10-01 14:00:59 -07:00
Bryan Roe
73b1d5e77c Converted atoi to safer alternative 2020-09-24 15:50:27 -07:00
Bryan Roe
8cdcfcb187 Addressed Checkmarx issues 2020-09-17 12:59:15 -07:00
Bryan Roe
e081f711cf Fixed cleanup code for unix domain socket, to remove inode in finalizer 2020-08-03 23:47:00 -07:00
Bryan Roe
f2eb015b2a Fixed bug in unshift() logic in do/while loop on windows IPC 2020-07-29 13:25:40 -07:00
Bryan Roe
4728330c5e Fixed some warnings 2020-07-08 16:07:04 -07:00
Bryan Roe
0971ac0134 Fixed uncaught exception 2020-06-11 15:05:43 -07:00
Bryan Roe
5aff4c172e Added power-monitor.wakeDisplay() and sleepDisplay() 2020-06-10 13:49:24 -07:00
Bryan Roe
44b44a2456 Updated metadata for macos message-box, and updated cleanup for net.Server for ipc 2020-06-03 19:05:49 -07:00
Bryan Roe
b78a29eb88 1. Updated metadata for linux ipcSocket
2, Added linux-acpi, and attached events to power-monitor for linux
2020-05-30 22:59:06 -07:00
Bryan Roe
fdf86827ed Updated metadata for net.server 2020-05-29 15:45:17 -07:00
Bryan Roe
9e6387599a Added ILibChain_ReadAndSaveStateEx()
Updated Windows IPC Socket, so client connection uses ReadAndSaveState, to start in paused state.
2020-05-29 00:02:59 -07:00
Bryan Roe
69c29eee81 Fixed race with connect event for Windows IPC 2020-05-28 21:40:59 -07:00
Bryan Roe
9297eca58c Updated metadata, and fixed end() to remove HANDLE from select() if connection is not paused. 2020-05-28 13:20:10 -07:00
Bryan Roe
74d4ae2c1e Windows, rev1 update 2020-05-23 01:02:44 -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
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
56cc4c1328 Improved descriptor tracking 2020-05-19 14:47:52 -07:00
Bryan Roe
eba7419fc9 1. Set upperbound on number of Windows WaitHandles
2. Fixed Windows_IPC to DisconnectNamedPipe() on connected handled when 'end' is called
3. Fixed Windispatch to terminate on when close is emitted
2020-05-19 01:14:18 -07:00
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