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

1582 Commits

Author SHA1 Message Date
Bryan Roe
375515c0a3 Hybrid Experiment/PoC 2021-12-06 19:50:35 -08:00
Bryan Roe
3268eeb03e 1. Added COM based TaskScheduler for windows
2. Added support Active Directory to win-registry when fetching SID
3. Added additional debug support to _GenericMarshal.Variable
2021-12-03 17:50:01 -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
25cdbfbda4 tweaked comparison 2021-11-16 13:30:09 -08:00
Bryan Roe
59373dc743 Updated self update to canonicalize path when checking 2021-11-16 10:22:52 -08:00
Bryan Roe
acedf0890d Updated process.kill on windows to use Open/Terminate 2021-11-16 00:34:54 -08:00
Bryan Roe
e78909b4eb Fixed compiler warning 2021-11-15 15:21:06 -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
75fc7d0878 1. Removed debug message from smbios
2. Added workaround for LME behavior change between AMT/7 and AMT/11
2021-11-11 15:33:38 -08:00
Bryan Roe
a053f2d353 Added WebRTC test case 2021-11-10 15:30:27 -08:00
Bryan Roe
cbd1940189 Added ability to create new WebRTC Factory instance 2021-11-10 13:00:23 -08:00
Bryan Roe
bc40427b26 1. Updated CoInitializseEx() to MULTITHREAD when running service in console mode
2. Updated Cleanup code for COM, so that Release is not called from finalizer
3. Updated installer to create WebRTC UDP firewall rule
2021-11-09 15:21:16 -08:00
Bryan Roe
4fcdd211b1 1. Updated win-firewall to use COM instead of netsh/powershell
2. Updated win-com to add debug messages
3. Updated agent-installer to not add unneeded firewall rules
2021-11-08 13:01:23 -08:00
Bryan Roe
637125d154 Updated self test to support console rights 2021-11-04 09:53:29 -07:00
Bryan Roe
388d07e683 Updated self-test 2021-11-03 19:25:52 -07:00
Bryan Roe
06fe1aebd5 Updated API detection logic to fallback when Powershell access is denied 2021-11-03 12:30:38 -07:00
Bryan Roe
912fdc0620 updated windows identifiers to use COM/wmi instead of wmic for UTF8 support 2021-11-03 00:48:18 -07:00
Bryan Roe
794960350f Updated os.Name to use wmi instead of registry, because recent versions of windows no longer populates the registry keys correctly 2021-11-02 21:37:12 -07:00
Bryan Roe
443d9a222e Updated so marshalInterface throws exception on 32 bit windows, because ellipses functions cannot be stdcall. 2021-11-02 20:58:13 -07:00
Bryan Roe
5e4d1b02e3 Updated to support 32 bit windows 2021-11-02 18:18:49 -07:00
Bryan Roe
8dcc1cc60b Syned changes with meshcmd, and fixed bug with AMTUUID 2021-11-02 10:32:44 -07:00
Bryan Roe
690b21de73 Fixed cleanup to address deadlock that could happen on CoUninitialize() on Windows 2021-10-30 19:48:40 -07:00
Bryan Roe
85fb2f3e1f Updated cleanup 2021-10-29 16:29:20 -07:00
Bryan Roe
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
2021-10-29 09:39:25 -07:00
Bryan Roe
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
2021-09-29 22:08:04 -07:00
Bryan Roe
bf05a0a187 Fixed bug where 'close' event registration could get lost during cleanup 2021-09-27 08:55:40 -07:00
Bryan Roe
90f2f570e7 Changed default value for DynamicTarget, fixing install issue on Windows Server 2012 2021-09-21 11:29:38 -07:00
Bryan Roe
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)
2021-09-16 16:46:28 -07:00
Bryan Roe
b3f2fa7aea Updated linux KVM, so when you logout, it doesn't display an error 2021-09-13 10:58:08 -07:00
Bryan Roe
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. 2021-09-09 17:54:54 -07:00
Bryan Roe
5fd8d5fd3c Updated service-manager, so on systemd platforms, it does a systemctl --system daemon-reload after writing the service configuration. 2021-09-07 16:58:49 -07:00
Bryan Roe
c5e347335e Updated service-manager for systemd, to use full name of service when calling stop/start/restart/status 2021-09-07 16:44:58 -07: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
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. 2021-09-01 23:28:15 -07:00
Bryan Roe
1ad21b6050 Fixed bug on some platforms, where execve() restart didn't set argv[0] correctly 2021-09-01 10:34:43 -07:00
Bryan Roe
e8c2d57af8 Updated OpenBSD service installer to set AUTO_START when flagged 2021-08-31 18:40:22 -07:00
Bryan Roe
c7d0a827e7 Fixed service uninstall cleanup, for OpenBSD 2021-08-31 18:25:52 -07:00
Bryan Roe
d4cdabef31 Updated PID handling for OpenBSD 2021-08-31 13:38:54 -07:00
Bryan Roe
294fc2f492 Updated pid handling for OpenBSD services 2021-08-31 13:08:25 -07:00
Bryan Roe
ca68a1e487 Updated OpenBSD service support 2021-08-31 13:03:15 -07:00
Bryan Roe
d1204de4c4 1. Fixed bug with clipboard.nativeAddCompressedModule for large files
2. Updated service-manager for better OpenBSD support
2021-08-31 11:11:31 -07:00
Bryan Roe
38d9ddc3f5 Fixed compiler warnings MeshCentral_v0.9.16 2021-08-30 14:58:22 -07:00
Bryan Roe
f3991cee87 Added OpenSSL/1.1.1l library for OpenBSD 2021-08-30 13:34:37 -07:00
Bryan Roe
f4b1a7daa7 Updated ARCHID for OpenBSD (37) 2021-08-30 12:40:28 -07:00
Bryan Roe
9dae27184c Updated OpenBSD 2021-08-30 12:39:04 -07:00
Bryan Roe
67a949207f Updated for OpenBSD 2021-08-30 12:06:36 -07:00
Bryan Roe
b496e192d9 Updated os.arch() to detect aarch64 2021-08-29 10:51:59 -07:00
Bryan Roe
12101c26ab Updated '-info' to not hang if architecture can't be determined 2021-08-29 10:39:03 -07:00
Bryan Roe
55c16811cd Updated Windows OpenSSL lib to 1.1.1l 2021-08-28 21:08:24 -07:00