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

107 Commits

Author SHA1 Message Date
Bryan Roe
e6dca12458 Updated comments 2019-02-12 16:55:50 -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
99f688d01a Documented list of agent configuration db keys 2019-02-12 14:03:14 -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
05400ea3aa Fixed compiler warning 2019-02-11 14:43:24 -08:00
Bryan Roe
ae72740a18 1. Updated ILibProcessPipe, so that buffer will grow as necessary
2. Updated Windows KVM, to add an accumulator for JUMBO commands
2019-02-06 16:32:31 -08:00
Bryan Roe
2096619903 Enable Jumbo Support on Windows KVM 2019-02-04 17:10:37 -08:00
Bryan Roe
26a3ccefd0 Added missing includes, if NOTLS is specified for Linux 2019-02-04 12:49:44 -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
Bryan Roe
5995742cef Added db key to log update messages to aid in debugging update failures. 2019-01-31 14:40:52 -08:00
Bryan Roe
12a7e3e4a0 fixed misspelling in message 2019-01-30 23:20:37 -08:00
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
6c6c0ff9ab Updated, so if XOpenDisplay() fails, an error is propagated back up 2019-01-23 17:17:05 -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
d6500322b9 Updated, so double-click events are propagated from browser to agent. On MacOS, this is then used to simulate double-click, as Linux/Windows doesn't need to explicitly simulate double-click. 2019-01-23 15:54:40 -08:00
Ylian Saint-Hilaire
ebbeb07c45 Added double click stub for MacOS. 2019-01-23 13:21:43 -08:00
Bryan Roe
3b514cd526 fixed typo 2019-01-22 17:05:44 -08:00
Bryan Roe
69947b9c8c Fixed bug where resolution was only sent on first KVM connection 2019-01-22 16:30:41 -08:00
Bryan Roe
84f9c14d5a Fixed bug, where if multiple KVM sessions are connected, only the first one had the resolution sent... 2019-01-22 16:28:59 -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
335ff51bfe Removed reference to unused files 2019-01-17 22:09:17 -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
a632839e79 Added check in makefile to test for -no-pie support before using it 2019-01-16 22:59:09 -08:00
Bryan Roe
d2fba65521 commented out logging, until we fix it with a #ifdef 2019-01-14 16:52:59 -08:00
Bryan Roe
230d71bfed Updated, so default display used is obtained from $DISPLAY instead of assuming :0 2019-01-14 16:23:51 -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
6032f86849 Added ability to propagate errors 2019-01-11 11:21:45 -08:00
Bryan Roe
cc26cff004 Updated, so compiles on MacOS 2019-01-11 11:21:24 -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
Bryan Roe
83c1435512 KVM Fixes
1. Added changes to support MacOS
2. Updated Linux KVM, so X11 is dynamically loaded at runtime
2019-01-11 11:15:22 -08:00
Bryan Roe
dac85f7e80 Initial Add 2019-01-11 11:00:00 -08:00