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

273 Commits

Author SHA1 Message Date
Bryan Roe
697e2035c8 Fixed compiler warning 2022-05-08 22:47:12 -07:00
Bryan Roe
39dc727391 Added logging, and fixed SCTP packets to be 4 byte aligned 2022-05-08 22:39:14 -07:00
Bryan Roe
9e4be92cd8 Fixed NULL reference exception 2022-03-25 11:19:00 -07:00
Bryan Roe
0c5d6f9048 Fixed compiler warning on linux 2022-03-23 22:51:59 -07:00
Bryan Roe
6030154d94 1. Updated Helper method for console.log to implement info1 & info2
2. Added more logging to WebRTC
3. Fix edge case when piping RTC DataChannel could result in 100% CPU utilization
2022-03-07 19:09:44 -08:00
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
Bryan Roe
93b4a3b6dd Updated, so Windows will flush invalid socket descriptors 2022-03-03 15:17:08 -08:00
Bryan Roe
2660fd008b 1. Fixed Posix bug where invalid FD can cause other FD to not get serviced, and/or cause 100% CPU spike
2. Added Caps/Num/Scroll support to macOS KVM.
2022-03-03 11:16:55 -08:00
Bryan Roe
2aa4dd11b7 1. Fixed edge case bug when maxTimeout<0 and actualTimeout is < UPNP_MAX_WAIT
2. Fixed edge case crash on timer cleanup
2022-02-24 13:11:39 -08:00
Bryan Roe
c7f4906889 Updated so log about certificate not being found, is only written if database didn't exist when agent was started 2022-02-04 17:09:15 -08:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08:00
Bryan Roe
2274477316 changed default max log size to 512kb 2022-01-06 19:09:37 -08:00
Bryan Roe
1f82c971ba 1. ILibAppendStringToDiskEx2: Added max size capability
2. Added ability to specify max error log size
3. Added MeshAgent.maxLogSize readonly property
4. Removed dead code from input.c
2022-01-06 16:40:40 -08:00
Bryan Roe
3a10fa34d2 1. Fixed error case of Resolve()
2. Added 'resolve' support
3. Added new testharnass interface
4. Added clipboard support for PAC/Autoproxy helper
5. Added autoproxy sandbox
2021-12-20 23:12:26 -08:00
Bryan Roe
bcad1d475b added missing #ifdef 2021-12-13 11:39:16 -08:00
Bryan Roe
5d248c683e Fixed subtle issue with socket() on some distros 2021-12-12 23:33:12 -08:00
Ylian Saint-Hilaire
c60d86c657 Removed unused return; 2021-11-24 10:33:30 -08:00
Bryan Roe
0420400920 1. Updated Logging capability
2. Updated Windows unwindhandler() to delete HANDLE when signaled
2021-11-22 11:44:27 -08:00
Bryan Roe
4e92d4530c 1. Updated 'method' property of InboundMessage to be enumerable
2. Added memory check to ptrs structure
3. Fixed bug with remoteInterface's flags
2021-11-15 12:57:45 -08:00
Bryan Roe
1eae8ef45e Updated so environment block is constructed in parent instead of child, when used for execve() on linux. 2021-09-07 16:24:44 -07:00
Bryan Roe
38d9ddc3f5 Fixed compiler warnings 2021-08-30 14:58:22 -07:00
Bryan Roe
67a949207f Updated for OpenBSD 2021-08-30 12:06:36 -07:00
Bryan Roe
667bb3103d Fixed bug in edge case write() logic 2021-08-23 23:48:02 -07:00
Bryan Roe
9dfc4757e4 1. Fixed bug with ILibSparseArray_Move()
2. Added support for ARMADA370-HF (ARCHID=35)
2021-08-05 13:47:56 -07: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
c7a4356dac 1. Merged GC optimization for promise.js
2. Fixed crash that can occur if dgram is GC'ed during event dispatch
3. Fixed compiler warning in ILibWebClient.c
4. Updated GC for dhcp.js
2021-07-17 11:32:25 -07:00
Ylian Saint-Hilaire
a678ff77f0 Fixed agent crash in WebRTC 2021-07-11 12:20:43 -07:00
Ylian Saint-Hilaire
5618516cb9 Fixed RCTPRCVDEBUG in ILibSCTP_AddPacketToHoldingQueue. 2021-07-11 11:42:24 -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
2b1d5916bb Modified behavior of child process on posix so when passing env vars it is passed to execve, instead of setting in current process, and inheriting using execv. 2021-05-19 15:29:07 -07:00
Bryan Roe
05b492caed Added Error Log parsing capability 2021-04-13 18:06:15 -07:00
Bryan Roe
5c18c4ac01 1. Added logging for Windows Cert Store Error cases
2. Added db corruption detection
2021-04-08 23:34:10 -07:00
Bryan Roe
4b6f72c643 Fixed assertion 2021-02-10 02:00:44 -08:00
Bryan Roe
40c6957e45 1. Updated selfTest for Linux
2. Fixed edge case crash in ILibChain_Continue()
2021-02-09 18:04:32 -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
c41b7195c6 1 Updated Windows Self update, to attempt to kill zombie processes
2. Added promise.wait()
2021-02-05 14:47:11 -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
704edbb802 Updated metadata 2021-01-28 02:11:05 -08:00
Bryan Roe
85ff9aece8 Fixed potential infinite loop 2021-01-26 17:42:34 -08:00
Bryan Roe
96b50f2dea Fixed compiler warning 2021-01-26 15:55:46 -08:00
Bryan Roe
a728ba40de Added NULL checks 2021-01-26 13:47:20 -08:00
Bryan Roe
4be310f809 Added tracker 2021-01-23 00:44:52 -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
c081bb8dde Updated ILibChain_Continue() to set missing flag 2021-01-13 14:17:56 -08:00
Bryan Roe
9048716f59 Fixed compiler warning 2021-01-13 12:56:56 -08:00
Bryan Roe
78507ed66e 1. Updated self-update logging to include current commit hash value
2. Updated child_process.waitExit() to throw an exception on empty set condition
3. Updated ILibChain_Continue() to exit while() loop on empty set
4. Updated agent-installer to better handle error conditions for updatervalue and meshservicename
2021-01-13 11:13:37 -08:00