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

39 Commits

Author SHA1 Message Date
Bryan Roe
bc482d2eba 1. Fixed bug where resolve fail resulted in Linux agent accidentally closing FD(0)
2. Updated logic, so calling close on an unconnected socket will still propagate a connect failure
2022-03-04 15:35:16 -08:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08:00
Bryan Roe
5d248c683e Fixed subtle issue with socket() on some distros 2021-12-12 23:33:12 -08:00
Bryan Roe
7820ef25ba 1. Updated module search to use JS lookup table
2. Fixed bug in proxy failure fallback logic
2021-07-27 19:07:34 -07:00
Bryan Roe
4f0b8f9eb4 Updated proxy support, to defer DNS resolve to proxy 2021-06-24 22:16:03 -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
0ea6e28021 1. Remove webSocketMaskOverride switch
2. Fixed bug where disableUpdate was not honored in certain edge cases
2021-06-15 09:18:48 -07:00
Bryan Roe
4b6f72c643 Fixed assertion 2021-02-10 02:00:44 -08:00
Bryan Roe
ff034714c2 1. Updated enumerability of some properties on MeshAgent
2. Updated selftest, and fixed a related crash
2021-02-09 11:54:27 -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
704edbb802 Updated metadata 2021-01-28 02:11:05 -08:00
Bryan Roe
96b50f2dea Fixed compiler warning 2021-01-26 15:55:46 -08:00
Bryan Roe
9bb81b946a Removed debug line 2021-01-23 00:44:32 -08:00
Bryan Roe
4daedfd081 Added ability to compile for FIPS mode 2021-01-21 20:13:15 -08:00
Bryan Roe
30363a70f1 1. Updated error handling for MeshInfo_GetSystemInformation
2. Fixed missing ILibSpinLock declaration
3. Fixed compiler warning
2020-12-02 15:58:08 -08:00
Bryan Roe
8a5610c2d8 1. Fixed thread HANDLE leak on Windows KVM
2. Swapped semaphore with spin lock on certain objects
2020-11-30 17:20:22 -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
79e89787f3 Fixed bug where I forgot to set the Tail of the pending queue when I added an item, when there was already an item 2020-08-11 15:21:38 -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
9aaef732d9 1. Fixed bug where ILibAsyncSocket wrote a corrupt TLS packet
2. Removed linux work-around/hack that is not needed due to above fix
2020-04-12 01:42:49 -07:00
Ylian Saint-Hilaire
cc3fe1461e Fixed TLS 1.3 state machine. 2020-01-20 22:49:10 -08:00
Bryan Roe
245a130b50 Fixed compiler warnings 2019-07-30 15:45:03 -07:00
Bryan Roe
735ac0f0c9 Fixed compiler warnings 2019-07-16 15:12:21 -07:00
Bryan Roe
e2bcd832b5 Fixed infinite loop bug... Check if OnSendOK needs to be sent 2019-06-24 17:23:32 -07:00
Bryan Roe
eb297dbfe8 Updated AsyncSocket_MultiWrite and WebRTC for OpenSSL/1.1.1c 2019-06-20 14:14:50 -07:00
Bryan Roe
6de8178723 Updated TLS buffering, to fix issue associated with OpenSSL/1.1.1c
Still needs additional work
2019-06-20 13:56:33 -07:00
Bryan Roe
13ad575bb5 1. Fixed to address changes with OpenSSL/1.1.1c
2. ToDo: Still need to update WebRTC and Pending Writes
2019-06-19 15:29:56 -07:00
Bryan Roe
4bc5619137 Fixed typo 2019-03-26 22:58:17 -07:00
Bryan Roe
ed18cb7944 1. Updated to use #define for maximum header size
2. Modified AsyncSocket_Disconnect, to shutdown SD_SEND/SHUT_RD, instead of RDWR/BOTH, because sent data could be lost if a reset was sent
3. Added hardening for http.server packet parsing
2019-03-26 22:10:29 -07: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
2366122d58 Fixed bug where clearing proxy setting, didn't clear all the settings 2019-01-17 22:59:27 -08:00
Bryan Roe
f39beca4aa 1. Fixed bug where pendingBytesToSend went negative
2. Fixed bug where if bytesSent was -1, it caused allocated buffer to be offset incorrectly
2019-01-16 15:50:02 -08:00
Bryan Roe
eaff1c25e4 Added domain socket support on Linux and MacOS 2019-01-11 12:37:59 -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