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

81 Commits

Author SHA1 Message Date
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
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
Bryan Roe
d774dbe0e4 Fixed bug where if more than one XAUTHORITY was specified, the correct one wasn't always chosen 2019-03-11 18:00:37 -07:00
Bryan Roe
780ef826c3 Added 'isService' property to MeshAgent object 2019-03-06 16:40:05 -08:00
Bryan Roe
c8c366ff5a Fixed compiler warning 2019-03-04 18:22:51 -08:00
Bryan Roe
8a923d57c9 1. Added plumbing for a Recovery agentcore
2. Added service control features for linux Service Manager
2019-03-03 22:04:21 -08:00
Bryan Roe
014cabfe79 Unverified fix for localmode multicast 2019-02-28 19:21:44 -08:00
Bryan Roe
a3e3e22528 Updated behavior, so if Windows Service is run in console mode, it will write meta data to HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE 2019-02-25 23:14:50 -08:00
Bryan Roe
d12afc14a6 1. Fixed Service Detection on SystemD, and changed to use auto-restart instead of systemctrl restart, to remove dependency on restart=always 2019-02-21 08:15:32 -08:00
Bryan Roe
6bd4b027f5 Updated Self-Update, so that upstart is correctly used on upstart platforms 2019-02-20 17:26:30 -08:00
Bryan Roe
9ba3fbf4a1 Updated, so on linux, if env variable for proxy isn't set, it'll check /etc/environment to see if proxy is set. 2019-02-19 13:52:32 -08:00
Bryan Roe
e370491f98 Fixed compiler warning 2019-02-19 11:02:23 -08:00
Bryan Roe
5da959c16a 1. Added metadata to _GenericMarshal
2. Added BootStrapCore functionality
2019-02-18 21:45:58 -08:00
Bryan Roe
f6eed29c31 Modified behavior on Windows to match that on Linux... If the db is wiped, new certs will be generated.
Also updated the Mesh Agent Service Installer on windows, so that the db is wiped on install.
2019-02-15 15:02:42 -08:00
Bryan Roe
c4a56475fa Fixed bug in Url swap for bad migration 2019-02-14 17:09:52 -08:00
Bryan Roe
09eac9f968 Added fix, to correct the server uri obtained from Meshcentral.com migration 2019-02-14 16:07:36 -08:00
Bryan Roe
b9af163039 Added ability to log control channel messages 2019-02-14 14:03:33 -08:00
Bryan Roe
ea62661a2d Added ability to specify a JS Debugger Port in the db 2019-02-12 16:54:34 -08:00
Bryan Roe
09a2c17104 Changed UINT_PTR to uintptr_t 2019-02-12 14:15:28 -08:00
Bryan Roe
995c4015b0 Added functionality so if 'webSocketMaskOverride' is specified in the db, the optimization to disable masking for TLS protected websockets is disabled 2019-02-12 13:43:42 -08:00
Bryan Roe
2096619903 Enable Jumbo Support on Windows KVM 2019-02-04 17:10:37 -08:00
Bryan Roe
1b5a6d0bc6 Updated selfupdate to use fork/execv instead of command
Updated SelfUpdate logging
Added SelfUpdate debugging helpers
2019-02-01 17:22:33 -08:00
Bryan Roe
bd16538a8e Fixed compiler warnings on MacOS 2019-02-01 01:13:07 -08:00