1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-31 16:53:19 +00:00

Commit Graph

  • 06fe1aebd5 Updated API detection logic to fallback when Powershell access is denied Bryan Roe 2021-11-03 12:30:38 -07:00
  • 912fdc0620 updated windows identifiers to use COM/wmi instead of wmic for UTF8 support Bryan Roe 2021-11-03 00:48:18 -07:00
  • 794960350f Updated os.Name to use wmi instead of registry, because recent versions of windows no longer populates the registry keys correctly Bryan Roe 2021-11-02 21:37:12 -07:00
  • 443d9a222e Updated so marshalInterface throws exception on 32 bit windows, because ellipses functions cannot be stdcall. Bryan Roe 2021-11-02 20:58:13 -07:00
  • 5e4d1b02e3 Updated to support 32 bit windows Bryan Roe 2021-11-02 18:18:49 -07:00
  • 8dcc1cc60b Syned changes with meshcmd, and fixed bug with AMTUUID Bryan Roe 2021-11-02 10:32:44 -07:00
  • 690b21de73 Fixed cleanup to address deadlock that could happen on CoUninitialize() on Windows Bryan Roe 2021-10-30 19:48:40 -07:00
  • 85fb2f3e1f Updated cleanup Bryan Roe 2021-10-29 16:29:20 -07:00
  • ab066751fb 1. Fixed uncaught exception in websocket that could happen if peer disconnects 2. Updated debugger to work with updated promise 3. Fixed bug in event emitter where 'explicit' event type wasn't honored 4. Updated _GenericMarshal to support interface and function marshaling 5. Added COM/WMI support to windows Bryan Roe 2021-10-29 09:39:25 -07:00
  • fa82a9ed76 1. Updated http-diget to not chunk requests, working around AMT TLS bug 2. Fixed bug in http persistent connections, where 2nd request would close the socket when client request is 'end'ed. 3. Added debug logging/instrumentation to readable and writable stream Bryan Roe 2021-09-29 22:08:04 -07:00
  • bf05a0a187 Fixed bug where 'close' event registration could get lost during cleanup Bryan Roe 2021-09-27 08:55:40 -07:00
  • 90f2f570e7 Changed default value for DynamicTarget, fixing install issue on Windows Server 2012 Bryan Roe 2021-09-21 11:29:38 -07:00
  • 618ba307cf 1. Fixed edge case that caused child KVM process to turn into a zombie 2. Fixed user-sessions.change event to delay emitting until a session activates (or a few seconds if a session doesn't activate) Bryan Roe 2021-09-16 16:46:28 -07:00
  • b3f2fa7aea Updated linux KVM, so when you logout, it doesn't display an error Bryan Roe 2021-09-13 10:58:08 -07:00
  • e959511d89 Fixed behavior so when resolution change is detected, it will event the new resolution, and throw out the current CRC buffer, and re-init with the new resolution. This fixes issues on distros that had problems with KVM from login screen transition to logged in user. Bryan Roe 2021-09-09 17:54:54 -07:00
  • 5fd8d5fd3c Updated service-manager, so on systemd platforms, it does a systemctl --system daemon-reload after writing the service configuration. Bryan Roe 2021-09-07 16:58:49 -07:00
  • c5e347335e Updated service-manager for systemd, to use full name of service when calling stop/start/restart/status Bryan Roe 2021-09-07 16:44:58 -07:00
  • 1eae8ef45e Updated so environment block is constructed in parent instead of child, when used for execve() on linux. Bryan Roe 2021-09-07 16:24:44 -07:00
  • 3464f88dba Fixed XAUTHORITY logic when loginctl is used to find display, to check to make sure xauthority token is present in default location. If not, will try to find XAUTHORITY in environment variables in one of the session processes. Bryan Roe 2021-09-01 23:28:15 -07:00
  • 1ad21b6050 Fixed bug on some platforms, where execve() restart didn't set argv[0] correctly Bryan Roe 2021-09-01 10:34:43 -07:00
  • e8c2d57af8 Updated OpenBSD service installer to set AUTO_START when flagged Bryan Roe 2021-08-31 18:40:22 -07:00
  • c7d0a827e7 Fixed service uninstall cleanup, for OpenBSD Bryan Roe 2021-08-31 18:25:52 -07:00
  • d4cdabef31 Updated PID handling for OpenBSD Bryan Roe 2021-08-31 13:38:54 -07:00
  • 294fc2f492 Updated pid handling for OpenBSD services Bryan Roe 2021-08-31 13:08:25 -07:00
  • ca68a1e487 Updated OpenBSD service support Bryan Roe 2021-08-31 13:03:15 -07:00
  • d1204de4c4 1. Fixed bug with clipboard.nativeAddCompressedModule for large files 2. Updated service-manager for better OpenBSD support Bryan Roe 2021-08-31 11:11:31 -07:00
  • 38d9ddc3f5 Fixed compiler warnings MeshCentral_v0.9.16 Bryan Roe 2021-08-30 14:58:22 -07:00
  • f3991cee87 Added OpenSSL/1.1.1l library for OpenBSD Bryan Roe 2021-08-30 13:34:37 -07:00
  • f4b1a7daa7 Updated ARCHID for OpenBSD (37) Bryan Roe 2021-08-30 12:40:28 -07:00
  • 9dae27184c Updated OpenBSD Bryan Roe 2021-08-30 12:39:04 -07:00
  • 67a949207f Updated for OpenBSD Bryan Roe 2021-08-30 12:06:36 -07:00
  • b496e192d9 Updated os.arch() to detect aarch64 Bryan Roe 2021-08-29 10:51:59 -07:00
  • 12101c26ab Updated '-info' to not hang if architecture can't be determined Bryan Roe 2021-08-29 10:39:03 -07:00
  • 55c16811cd Updated Windows OpenSSL lib to 1.1.1l Bryan Roe 2021-08-28 21:08:24 -07:00
  • 670ffc1838 Updated os.arch() on macOS to differentiate Apple and Intel Silicon when running under Rosetta Bryan Roe 2021-08-26 16:40:35 -07:00
  • 3ce29c05b4 updated macOS/OpenSSL to 1.1.1l Bryan Roe 2021-08-26 15:48:56 -07:00
  • 8fdbdb9f4b Fixed bug with os.arch() on FreeBSD Bryan Roe 2021-08-26 13:51:13 -07:00
  • 4b19cbad2a Updated FreeBSD/OpenSSL library to 1.1.1l Bryan Roe 2021-08-26 13:40:38 -07:00
  • 2daff81eaa Updated Alpine/OpenSSL to 1.1.1l Bryan Roe 2021-08-26 13:18:53 -07:00
  • cf5caaf1fa Compiled OpenSSL/1.1.1l Bryan Roe 2021-08-26 13:04:01 -07:00
  • 46ccba5164 Fixed stack overflow that could occur when writing very large single fragment websocket payloads Bryan Roe 2021-08-25 10:46:30 -07:00
  • 8f8e42e985 Updated Windows Agent to save commit date to registry Bryan Roe 2021-08-25 09:48:37 -07:00
  • 2893faa518 1. Fixed bug with X enumeration for multi-user 2. Fixed Linux KVM to correctly differentiate session id and monitor id Bryan Roe 2021-08-24 23:58:40 -07:00
  • dc9376994f Fixed typo/bug in altrequire Bryan Roe 2021-08-24 02:05:46 -07:00
  • 667bb3103d Fixed bug in edge case write() logic Bryan Roe 2021-08-23 23:48:02 -07:00
  • 758b6b5cc1 Fixed bug with return value checking for idleTimeout Bryan Roe 2021-08-23 14:37:57 -07:00
  • 6b78beae11 Fixed bug in promise.event_forwarder that dispatched incorrectly Bryan Roe 2021-08-23 14:37:23 -07:00
  • 3f03f4c972 Fixed crash that could occur if Agent is launched on top of another instance. Bryan Roe 2021-08-17 11:31:04 -07:00
  • f3ed0f8572 Updated text of -info switch Bryan Roe 2021-08-10 22:34:52 -07:00
  • c60b067c00 Updated -info switch to include Host OS Info and Architecture Bryan Roe 2021-08-10 22:32:13 -07:00
  • 841642dec4 1. Added MeshCommand_HostInfo command 2. Fixed compiler warnings Bryan Roe 2021-08-10 16:41:22 -07:00
  • 75a0ae9817 Fixed issue, where if child_process type is set to TERM, and environment block is specified without TERM set, TERM doesn't get set. Bryan Roe 2021-08-10 13:53:17 -07:00
  • 681674f9fd Fixed uncaught exception Bryan Roe 2021-08-10 01:51:19 -07:00
  • ba47f12830 Removed debug message Bryan Roe 2021-08-09 11:59:20 -07:00
  • 6b510cf886 Fixed possible NULL dereference Bryan Roe 2021-08-09 11:31:32 -07:00
  • 3fc9a1fb1a 1. Added support for OpenWRT for x86_64 2. Added missing OpenSSL libraries for linux-armada370-hf Bryan Roe 2021-08-06 01:30:24 -07:00
  • 9dfc4757e4 1. Fixed bug with ILibSparseArray_Move() 2. Added support for ARMADA370-HF (ARCHID=35) MeshCentral_v0.8.98 Bryan Roe 2021-08-05 13:47:56 -07:00
  • 365dfbc298 Added workaround for Windows System bug in execve() family of functions, in older windows releases. Bryan Roe 2021-08-03 13:50:33 -07:00
  • b550dd7a53 Fixed bug introduced by previous fix that imported .msh file earlier. Settings file cannot be imported when running agent installer, so modified behavior so if agent installer is going to run, the .msh is not imported. Bryan Roe 2021-08-02 22:45:32 -07:00
  • 573c12de39 Updated notes Bryan Roe 2021-07-30 15:11:24 -07:00
  • 4a6930e532 1. Updated so that .msh is read earlier, allowing --nocertstore switch to work as msh flag 2. Added --skipmaccheck 3. Updated behavior of websocket to not call removeAllListeners() on cleanup Bryan Roe 2021-07-29 00:18:02 -07:00
  • 9000041823 Fixed bug in promise where the promise returned by promise.this() didn't resolve correctly if it resolved after this() returned Bryan Roe 2021-07-27 23:22:07 -07:00
  • 7820ef25ba 1. Updated module search to use JS lookup table 2. Fixed bug in proxy failure fallback logic Bryan Roe 2021-07-27 19:07:34 -07:00
  • 4f0bee9fc9 Fixed bug in TLS verification where the stack was not popped the correct number of times, which could result in a runtime exception. Bryan Roe 2021-07-26 14:42:04 -07:00
  • 2a4e938a80 updated from UINT_PTR to uintptr_t Bryan Roe 2021-07-23 21:39:08 -07:00
  • a41983ee7a 1. Fixed bug with uncaught rejections in promise.js 2. Updated DHCP.info to support mac address entry 3. Updated clipboard to be able to force single line entry for addModule Bryan Roe 2021-07-23 16:04:54 -07:00
  • ad961128a2 Updated to support older agents Bryan Roe 2021-07-22 16:36:25 -07:00
  • eaa948f184 Updated, so works on old agents Bryan Roe 2021-07-22 16:07:25 -07:00
  • 1ebdb4c58d Added ability to version embedded JS files Bryan Roe 2021-07-22 09:46:36 -07:00
  • aec6f65906 1. Added writeCalledByEnd 2. Updated http-digest.request, to use pass-thru end(buffer) Bryan Roe 2021-07-19 19:07:03 -07:00
  • 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 Bryan Roe 2021-07-17 11:32:25 -07:00
  • 980005b40b Initial add, for DHCP client, to be able to query things like Option 15 Bryan Roe 2021-07-16 11:58:16 -07:00
  • 14d360d275 Merge branch 'master' of https://github.com/Ylianst/MeshAgent into master Bryan Roe 2021-07-14 09:42:05 -07:00
  • e861afc5a6 1. Added info logging to heci onconnect 2. Updated amt-mei to use a singleton for PTHI Bryan Roe 2021-07-14 09:38:17 -07:00
  • a678ff77f0 Fixed agent crash in WebRTC Ylian Saint-Hilaire 2021-07-11 12:20:43 -07:00
  • 5618516cb9 Fixed RCTPRCVDEBUG in ILibSCTP_AddPacketToHoldingQueue. Ylian Saint-Hilaire 2021-07-11 11:42:24 -07:00
  • 51646002cd Fixed windows service install dialog box button placement. Ylian Saint-Hilaire 2021-07-09 13:10:40 -07:00
  • 2a2386b78e Fixed agent install dialog text. Ylian Saint-Hilaire 2021-07-09 12:40:53 -07:00
  • b9ab7d3ca3 Fixed privacy bar movement limitation. Ylian Saint-Hilaire 2021-07-09 12:34:15 -07:00
  • 1f5022ed16 Updated AV() to support UTF8 Bryan Roe 2021-07-06 14:07:36 -07:00
  • d13621a7c5 Added getProcessInfo support for windows Bryan Roe 2021-07-06 12:39:26 -07:00
  • 4f0b8f9eb4 Updated proxy support, to defer DNS resolve to proxy Bryan Roe 2021-06-24 22:16:03 -07:00
  • f38283a9d8 Updated Proxy Support: (DNS resolved by proxy) 1. Added ILibAsyncSocket_ConnectToProxyEx() 2. Updated net.socket and tls.socket to use updated proxy method Bryan Roe 2021-06-20 21:40:34 -07:00
  • 0ea6e28021 1. Remove webSocketMaskOverride switch 2. Fixed bug where disableUpdate was not honored in certain edge cases Bryan Roe 2021-06-15 09:18:48 -07:00
  • 1c918a115c Removed dead code Bryan Roe 2021-05-20 11:41:19 -07:00
  • 486f8eaa39 1. Fixed Compiler Warnings 2. Updated GC behavior for HTTP Bryan Roe 2021-05-20 11:36:40 -07:00
  • 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. Bryan Roe 2021-05-19 15:29:07 -07:00
  • 08d08307a4 Updated Helper Methods Bryan Roe 2021-05-17 10:54:01 -07:00
  • b2e78b23e1 Added DisplayInfo for Windows Bryan Roe 2021-05-16 13:47:28 -07:00
  • 058faf1c30 1. Added _hide() helper 2. Updated service-manager.getService() on windows to GC without mark and sweep GC_OVERHAUL Bryan Roe 2021-05-12 21:47:56 -07:00
  • 33655fb323 1. Fixed compiler warning 2. Fixed GC issue with monitor-info.js 3. Added screenId to windows getInfo() Bryan Roe 2021-05-07 16:29:22 -07:00
  • 9758f775bf Merge branch 'GC_OVERHAUL' of https://github.com/Ylianst/MeshAgent into GC_OVERHAUL Bryan Roe 2021-05-03 10:14:55 -07:00
  • d16f51388b Updated finalizer debug messages Bryan Roe 2021-03-31 12:30:34 -07:00
  • 60cf7dfb98 Updated so if promise is already resolved/rejected when 'then' is called, the event is unhooked. Bryan Roe 2021-03-23 11:22:29 -07:00
  • 242943dd52 Updated GC references Bryan Roe 2021-03-21 16:11:30 -07:00
  • df3ff61c01 Updated GC reference Bryan Roe 2021-03-19 15:12:19 -07:00
  • 6f63b57a63 Updated GC reference Bryan Roe 2021-03-19 14:08:44 -07:00
  • e36dbff9a3 Updated GC references Bryan Roe 2021-03-18 16:17:20 -07:00
  • 577a59ea8e GC reference update Bryan Roe 2021-03-18 11:43:49 -07:00
  • 4f4085d542 GC reference update Bryan Roe 2021-03-17 16:56:44 -07:00