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

131 Commits

Author SHA1 Message Date
Bryan Roe
0c6db0b2a6 1. Added additional memory check helpers
2. Updated Process exit detection to check apc flags
2020-04-19 15:18:52 -07:00
Bryan Roe
5ba1288cdf Modified JS runtime to use ILibMemory_Extra to point to udata structure,
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
2da776ab5e 1. Added ability to query MeshAent object for KVM Tile limit
2. Added TLS_WRITE_TRACE and KVMMaxTile build switch
2020-04-12 22:51:35 -07:00
Bryan Roe
893ec386a6 1. Fixed compiler warnings
2. Fixed crash that occurs if db is locked
2020-04-11 13:06:53 -07:00
Bryan Roe
34a1b1a4d5 Added ability to fetch core hash 2020-04-08 17:57:28 -07:00
Bryan Roe
0ce6fa835f 1. Added ability to get/set remote mouse render
2. Fixed remoteMouseRender flag for Windows
2020-04-07 10:32:03 -07:00
Bryan Roe
b8208f63ed Fixed Installer/Uninstaller
1. Remapped -fulluninstall to -funinstall
2. Updated behavior so db is not loaded if agent-installer is invoked
3. Renamed Windows Uninstaller from MeshCentralAgent to Mesh Agent for consistency
4. Update service-manager.installService(), such that if the service is the mesh agent, the windows uninstaller will invoke -fulluninstall
5. Updated agent-installer so that secondary agent and its scheduled tasks will be deleted on uninstall
6. Updated event-emitter, so if process.exit() is called on an emit(), it won't throw a catchable exception
2020-04-07 00:03:11 -07:00
Bryan Roe
42f1ea97cf Added db size threshold option 2020-03-27 21:14:39 -07:00
Bryan Roe
42b0113fae Added support for minimum db.compact() threshold 2020-03-26 19:34:54 -07:00
Bryan Roe
46e4113814 1. Fixed Control Channel bug, where host field never contained port number
2. Updated tunnels, so host field only contains port if its not a default port
2020-03-19 23:54:16 -07:00
Bryan Roe
a714468636 Added gateway support to MeshAGent.NetInfo and OS.networkInterfaces() for macOS 2020-03-18 16:41:21 -07:00
Bryan Roe
164b24a925 1. Updated macOS to wait for network ready
2. Implemented Restart/Shutdown Power Actions for macOS
2020-02-27 13:19:57 -08:00
Bryan Roe
2e7efe20ed Fixed auto-update on macOS, so it restarts correctly 2020-02-26 14:19:56 -08:00
Bryan Roe
cd111f0f6e Added workaround for macOS LaunchD placing all parameters within quotes 2020-02-26 13:59:21 -08:00
Bryan Roe
6f5f065eb5 1. Changed Array.includes polyfill to be nonenumerable, fixing potential problems when using for loops
2. Added uninstall helper
3. Fixed macOS bug on 'load' function
2020-02-25 23:32:21 -08:00
Bryan Roe
7c77677b3e 1. Updated Mouse Cursor Update to be event driven
2. Added support for remote mouse cursor rendering on Windows
2020-02-25 15:24:00 -08:00
Bryan Roe
f0c71884ef Fixed connect log message to match printf 2020-02-20 09:26:48 -08:00
Bryan Roe
1731670522 1. Fixed bug in process-manager.getProcessInfo() on linux
2. Updated agent-installer
3. Fixed JSON error in SimpleDataStore
2020-02-15 00:22:15 -08:00
Bryan Roe
69808283be Updated agent-installer 2020-02-14 23:03:56 -08:00
Bryan Roe
4d7aa678bd Fixed build for No_OpenSSL build mode 2020-02-14 09:14:17 -08:00
Bryan Roe
b901d11f97 1. Added placeholder for new installer
2. Updated service, so placeholder will be unified across platforms
2020-02-13 17:11:14 -08:00
Bryan Roe
e8d263a816 Added missing code to set hostname 2020-01-29 11:47:20 -08:00
Bryan Roe
80547a5da5 Fixed invalid length 2020-01-29 11:14:39 -08:00
Bryan Roe
8fadf4b5bc Removed code that was supposed to be removed 2020-01-29 10:26:30 -08:00
Bryan Roe
888629c179 1. Fixed bug in command line msh flag feature, where terminating NULL wasn't added on read
2. Updated 'agentName' feature to send new command, instead of overriding host name
2020-01-29 10:09:01 -08:00
Bryan Roe
1d9908f944 Fixed warnings 2020-01-29 09:29:21 -08:00
Bryan Roe
3bcdb51656 1. Added ability to specify msh flags on command line 2020-01-28 23:48:05 -08:00
Bryan Roe
140363a80e Added 'idleTimeout' readonly property to 'MeshAgent' 2020-01-28 12:23:47 -08:00
Bryan Roe
364bc1e836 1. Fixed bug in log entry that showed HEX string instead of Connection URI
2. Added 'ServerIP' property to MeshAgent
2020-01-10 14:38:53 -08:00
Bryan Roe
8133e2481f Fixed compiler warning 2019-12-23 16:08:09 -08:00
Bryan Roe
235ef4ab21 Fixed HECI linker issue 2019-12-23 10:46:57 -08:00
Bryan Roe
9661c15bc9 1. added .msh flag for HECI debug
2. Fixed _GenericMarshal crash on Windows if GlobalCallback is executed after GC
2019-12-12 10:48:50 -08:00
Bryan Roe
b0903fec7b Added ability to support multiple TSID on Windows KVM 2019-12-06 15:06:22 -08:00
Bryan Roe
0bfe380682 Added Canary Check to KVM WriteSink 2019-12-06 11:38:24 -08:00
Bryan Roe
807f477468 added 'showModuleNames' msh flag, to show module loads 2019-12-05 14:45:56 -08:00
Ylian Saint-Hilaire
c684109361 Merge pull request #17 from dvarnai/master
Add support for HTTPS_PROXY env variable
2019-10-26 11:20:51 -07:00
Bryan Roe
5476ad8b5f 1. added 'slaveKvmLog' flag to msh, to enable Linux Child KVM logging
2. added support for child process core dumps in Linux (Note: core location must be writable by the process)
2019-10-25 13:42:07 -07:00
Bryan Roe
df5b57174a 1. Added additional connection logging
2. Updated Service Detection logic for auto-update
2019-10-21 12:44:59 -07:00
Bryan Roe
e491def440 1. Unified service type detection, between native and JS
2. Added basic support for pseudo services
2019-10-18 17:40:16 -07:00
Bryan Roe
6f2e2ed109 Added Mouse Cursor Capture support to X11/KVM 2019-09-20 16:50:50 -07:00
Bryan Roe
30a4039bf2 Updated slavelog so that it is off by default 2019-09-17 19:48:08 -07:00
Bryan Roe
98aed4c889 Added capability, such that if 'agentName' is specified in the db/msh, it will override the hostname sent to the server 2019-09-13 10:12:49 -07:00
Bryan Roe
dabeb6e2ba Updated Windows, so GetHostNameW is dynamically bound, so that it can fallback to gethostname on platforms that lack support, such as Windows Server 2008 R2 2019-08-29 09:56:12 -07:00
Bryan Roe
356cadb599 Added setting for coreDumpLocation 2019-08-26 16:57:52 -07:00
Bryan Roe
fcea5a600a Fixed bug where if a proxy isn't set, it could cause a segfault on FreeBSD 2019-08-24 00:45:12 -07:00
Bryan Roe
5e47259913 Added logic to check PATH on linux to make sure /sbin is included for current process 2019-08-22 13:40:20 -07:00
Bryan Roe
8292a609ea Added support for non-english username and hostname on Windows. Server modifications still needed for hostname display. 2019-08-19 13:53:37 -07:00
Bryan Roe
bc2ef6a3f4 Added support for fetching system proxy settings from gnome 2019-08-12 11:27:15 -07:00
Bryan Roe
2f439ac716 1. Added comments to agentcore.c
2. Updated user-sessions to use getent passwd instead of /etc/passwd
3. Added user-sessions.getHomeFolder() for linux
4. Added gnome helper to fetch proxy settings from gnome
2019-08-09 18:20:40 -07:00
Bryan Roe
69fe1a74e4 fixed compiler warning 2019-07-23 16:13:07 -07:00