Bryan Roe
52ff7ba04c
1. Updated user-sessions.consoleUid() to not try to parse 'from'. It just returns the uid of any user listed in 'who'. This fixes Fedora, but should still work with all the other distros.
...
2. Updated, so if it can't find an Xauthority, it propagates an error, asking if the user configured DM to use X. This makes it, so on something like Fedora, it pops up a more intuitive error, that the user can fix, rather than just a generic, XOpenDisplay() error.
2019-01-30 23:17:39 -08:00
Bryan Roe
cef67a1c8e
Updated, so if ignoreProxyFile is specified in db, it will not try to use a proxy
2019-01-30 13:03:37 -08:00
Bryan Roe
dfbe5bca50
Added proxy detection logic for MacOS
2019-01-29 14:44:20 -08:00
Bryan Roe
258c1396c7
Added proxy detection logic on windows
2019-01-28 15:57:11 -08:00
Bryan Roe
559928de5b
The following updates, fix KVM for openSUSE and other distros with similar behavior
...
1. Removed 'setDisplay()' because it doesn't work
2. Added more descriptive error message when XOpenDisplay fails
3. Added ability to set XAUTHORITY in the child process if it wasn't set, by finding how X was started
2019-01-24 11:19:33 -08:00
Bryan Roe
74d8bd9aac
Fixed compiler warning
2019-01-23 17:50:18 -08:00
Bryan Roe
14a65d4bca
Updated LocalMacAddress check, so resetNodeId will only be determined if the list of local MACs contains something other than zeros.
2019-01-23 16:39:30 -08:00
Bryan Roe
1b013abe2d
Updated behavior so if agent update is disabled, it will send an agent hash of all zeros to the server, when asked for agent hash. This fixes a bug where the new version of the server only pushes a core, if the hash check succeeds.
2019-01-22 14:29:03 -08:00
Bryan Roe
2046a22e9a
Added meshcore DelayStart feature
2019-01-18 22:46:12 -08:00
Bryan Roe
2d0e8d227f
Updated endianess of AgentCapabilities
2019-01-18 19:22:24 -08:00
Bryan Roe
d64dfb5504
Fixed compiler warnings on some toolchains
2019-01-18 16:02:00 -08:00
Bryan Roe
2366122d58
Fixed bug where clearing proxy setting, didn't clear all the settings
2019-01-17 22:59:27 -08:00
Bryan Roe
9a6e4af874
fixed typo in printf error message
2019-01-17 19:04:20 -08:00
Bryan Roe
51a8b5c44d
fixed compiler warning
2019-01-17 18:08:51 -08:00
Bryan Roe
d0348b083b
Merge branch 'master' of https://github.com/Ylianst/MeshAgent
2019-01-17 18:06:39 -08:00
Bryan Roe
a0767cd665
Added ability to merge AgentCapabilities from db
2019-01-17 18:06:33 -08:00
Ylian Saint-Hilaire
8988b5eada
Added another Linux mshx bad name for v1 migration.
2019-01-17 16:54:56 -08:00
Bryan Roe
9ea6ecccdb
Fixed duplicate MAC detection so that it skips 00:00:00:00:00:00, which is commonly used for loopback interfaces
2019-01-17 15:42:58 -08:00
Ylian Saint-Hilaire
12f8dc4509
Added MeshCommand_CoreOk.
2019-01-17 15:06:16 -08:00
Bryan Roe
73eb954a57
Added Linux support for system-wide proxy detection
2019-01-17 14:35:12 -08:00
Bryan Roe
989a500b6e
Fix from Ylian, regarding Linux Transition Agent
2019-01-11 16:18:09 -08:00
Bryan Roe
2759cc799e
Fixed preprocessor, so compiled correctly if OpenSSL is not linked
2019-01-11 16:13:44 -08:00
Bryan Roe
47a011bb8f
1. Added MacOS KVM Support
...
2. Added Helpers for Systemd detection, MemoryMappedFile Read, and CommandLine parsing, for Linux/MacOS
3. Added "IsService" helper for Linux/MacOS
4. Updated the updater so it uses SystemD, LaunchD, or InitD when appropriate.
5. Fixed auto update bugs
6. Updated, to support KVM with XWayland. Note: Only works when somebody is logged in. XWayland prevents connections when nobody is logged in
7. Added ECDSA support.
8. Added TPM support on Windows Agents.
2019-01-11 11:20:39 -08:00
Ylian Saint-Hilaire
3c80473a94
Major agent update.
2018-09-05 11:01:17 -07:00
Ylian Saint-Hilaire
4b5c77b4fd
Many improvements.
2018-02-11 21:11:58 -08:00
Ylian Saint-Hilaire
508646044e
Much improved, better stability, lots of fixes
2018-01-12 11:50:04 -08:00
Ylian Saint-Hilaire
becf71557f
Improved agent that can update the MeshCentral1 agent
2017-11-09 16:07:39 -08:00
Ylian Saint-Hilaire
34e09c2304
MeshAgent for MeshCentral2 Beta2 with improved crypto.
2017-10-25 21:08:41 -07:00
Ylian Saint-Hilaire
75d86eb4c8
First commit of MeshAgent for MeshCentral
2017-10-12 14:28:03 -07:00