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

152 Commits

Author SHA1 Message Date
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
Bryan Roe
1b78195987 Updated comments in makefile, and update test for FreeBSD 2019-07-22 16:38:22 -07:00
Bryan Roe
531041a17e Fixed MacOS compiler warning 2019-07-19 13:09:19 -07:00
Daniel Varnai
e67ad2f265 Add support for HTTPS_PROXY env variable 2019-07-19 10:19:15 +01:00
Bryan Roe
02f3d8a76f Updated proxy check, to look at /etc/profile.d/proxy_setup if it exists 2019-07-17 14:08:46 -07:00
Bryan Roe
424720211d Updated NetInfo, so desc is omitted if it's blank (MacOS/FreeBSD). Updated os.networkInterfaces() for FreeBSD 2019-06-25 23:39:35 -07:00
Bryan Roe
654af73a9a update mesh.NetInfo for MacOS and FreeBSD 2019-06-25 23:17:29 -07:00
Bryan Roe
ddff71dd79 freebsd update for proxy detection, when running as service 2019-06-24 15:02:10 -07:00
Bryan Roe
c054a38247 Updated proxy detect for freebsd 2019-06-24 13:08:23 -07:00
Bryan Roe
bf173d408c 1. Updated so if Server Address cannot be resolved, it will not say "connecting"
2. Updated, so resolve failure + cache miss, will not prevent retry.
2019-06-21 14:42:09 -07:00
Bryan Roe
124c0d386f Initial modifications to support FreeBSD 2019-06-17 15:45:46 -07:00
Bryan Roe
cefab43b99 Fixed agent connection retry logic 2019-06-14 15:11:40 -07:00
Bryan Roe
38aea71c35 Updated, so Linux Distros that don't have XServer instances running when no users are logged in, will display a descriptive message 2019-06-13 14:43:27 -07:00
Bryan Roe
4f0fbc9581 Removed debug message 2019-06-06 18:44:58 -07:00
Bryan Roe
da7b9aa47b Updated, so 'restartCore' preserves localScript flag 2019-05-15 10:47:10 -07:00
Bryan Roe
7cf000571d 1. Fixed compiler warning
2. Updated so process.exit() throws exception when called in agent mode
2019-05-14 14:52:39 -07:00
Bryan Roe
067a3ee2a2 removed printf 2019-05-01 16:41:03 -07:00
Bryan Roe
bc3e970b5c Fixed Windows KVM bug when you have multiple displays with differing DPI settings 2019-04-24 13:01:31 -07:00
Bryan Roe
3433332be5 Fixed linux compile error, and updated Self Update, to launch Diagnostic Agent 2019-04-12 15:45:41 -07:00
Bryan Roe
547cd9f530 Updated wincrypto to not use global vars for state 2019-04-10 15:34:31 -07:00
Bryan Roe
a6b68a310a Fixed bug, where CoreModuleHash was not sent if core updates were disabled 2019-04-09 18:26:07 -07:00
Bryan Roe
61f768d88b Updated Diagnostic AGent Cert generation to honor noCertStore flag 2019-04-09 10:06:15 -07:00
Bryan Roe
7bf31b0a28 1. Added setting for Windows Certificate Store
2. Updated so NodeID is only saved on Windows, if Certificate Store is used
2019-04-08 17:44:49 -07:00
Bryan Roe
a5000eee85 Updated, so windows will save NodeID to db 2019-04-08 15:42:08 -07:00
Bryan Roe
f7025b3629 Added cert generation helper for Diagnostic Agent use 2019-04-05 14:33:19 -07:00
Bryan Roe
5c09f92446 Updated wincrypto, so if windows crypto store is used, certs between diagnostic agent and regular agent don't collide 2019-04-04 14:25:44 -07:00
Bryan Roe
69f76902cd Added ability to query Server Info, and Proxy Config 2019-04-01 17:34:36 -07:00
Bryan Roe
0637752d92 Fixed, so if geXInfo returns null, it won't throw an exception 2019-03-15 12:46:57 -07:00
Bryan Roe
6352c35e22 Updated, so on upstart platforms, it uses initctl instead of service, to fix problems on older upstart platforms that don't map service to initctl. 2019-03-14 02:53:44 -07:00
Bryan Roe
2559a13f09 1. Updated so if XAUTHORITY or DISPLAY environment variables are not set, they will be computed, which fixes KVM on Kali, and other distributions that behave similarly. 2019-03-12 11:20:20 -07:00