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

889 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
670ffc1838 Updated os.arch() on macOS to differentiate Apple and Intel Silicon when running under Rosetta 2021-08-26 16:40:35 -07:00
Bryan Roe
8fdbdb9f4b Fixed bug with os.arch() on FreeBSD 2021-08-26 13:51:13 -07:00
Bryan Roe
46ccba5164 Fixed stack overflow that could occur when writing very large single fragment websocket payloads 2021-08-25 10:46:30 -07:00
Bryan Roe
2893faa518 1. Fixed bug with X enumeration for multi-user
2. Fixed Linux KVM to correctly differentiate session id and monitor id
2021-08-24 23:58:40 -07:00
Bryan Roe
dc9376994f Fixed typo/bug in altrequire 2021-08-24 02:05:46 -07:00
Bryan Roe
6b78beae11 Fixed bug in promise.event_forwarder that dispatched incorrectly 2021-08-23 14:37:23 -07:00
Bryan Roe
841642dec4 1. Added MeshCommand_HostInfo command
2. Fixed compiler warnings
2021-08-10 16:41:22 -07:00
Bryan Roe
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. 2021-08-10 13:53:17 -07:00
Bryan Roe
681674f9fd Fixed uncaught exception 2021-08-10 01:51:19 -07:00
Bryan Roe
ba47f12830 Removed debug message 2021-08-09 11:59:20 -07:00
Bryan Roe
6b510cf886 Fixed possible NULL dereference 2021-08-09 11:31:32 -07:00
Bryan Roe
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
2021-07-29 00:18:02 -07:00
Bryan Roe
9000041823 Fixed bug in promise where the promise returned by promise.this() didn't resolve correctly if it resolved after this() returned 2021-07-27 23:22:07 -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
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
2a4e938a80 updated from UINT_PTR to uintptr_t 2021-07-23 21:39:08 -07:00
Bryan Roe
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
2021-07-23 16:04:54 -07:00
Bryan Roe
1ebdb4c58d Added ability to version embedded JS files 2021-07-22 09:46:36 -07:00
Bryan Roe
aec6f65906 1. Added writeCalledByEnd
2. Updated http-digest.request, to use pass-thru end(buffer)
2021-07-19 19:07:03 -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