Bryan Roe
8dbd0c956c
added missing free for MouseCursor capture
MeshCentral_v0.4.1-a
2019-09-19 17:03:06 -07:00
Bryan Roe
c6042e0935
Add Mouse Cursor Propagation Support to Windows KVM
2019-09-19 16:38:19 -07:00
Bryan Roe
6a84582764
Dropped autofragmentation size to 5k on Linux, until we figure out why on old hardware on linux, OpenSSL tends to corrupt TLS if we try to encode a large fragment
2019-09-19 16:37:45 -07:00
Bryan Roe
dcdbe39a42
Updated makefile, so deadlock detection is enabled by default
2019-09-19 16:36:28 -07:00
Bryan Roe
365fe2d36f
Fixed bug where if WatchDog is specified on Linux, a compile error happens because of a typo
2019-09-19 16:35:47 -07:00
Bryan Roe
b2f3e28c33
1. Fixed windows null dereference crash
...
2. Updated Linux KVM support check, to check if X is apawned, which fixes cases where X libraries are present, but X isn't running.
2019-09-19 15:15:29 -07:00
Bryan Roe
813c0395b0
Recompiled OpenSSL/1.1.1d on Windows with more secure build options
2019-09-19 11:14:49 -07:00
Bryan Roe
30a4039bf2
Updated slavelog so that it is off by default
2019-09-17 19:48:08 -07:00
Bryan Roe
84735cf3dc
Lowered autofragment size to 15k from 30k
2019-09-17 12:42:42 -07:00
Bryan Roe
29ee49e7d8
Fixed Windows KVM bug, where the kvm process restarts when the parent disconnects
2019-09-17 09:41:45 -07:00
Bryan Roe
7f228d78fb
Added missing changes to support SSL_EXPORTABLE_KEYS
2019-09-17 09:25:10 -07:00
Bryan Roe
5d2e5dab8b
Added compile switch to support SSL/TLS key export for debug
2019-09-17 00:52:04 -07:00
Bryan Roe
00250434c6
Merge branch 'master' of https://github.com/Ylianst/MeshAgent
2019-09-14 21:18:29 -07:00
Bryan Roe
8b3f4b453c
Compiled OpenSSL/1.1.1d 64 bit on MacOS
2019-09-14 21:18:05 -07:00
Bryan Roe
8d2b140b74
Compiled OpenSSL/1.1.1d 64 bit on FreeBSD
2019-09-14 20:59:55 -07:00
Bryan Roe
32d0d9db20
Compiled 32 bit OpenSSL/1.1.1d for Windows
2019-09-14 18:34:24 -07:00
Bryan Roe
ddfe515f4c
Compiled OpenSSL/1.1.1d 64 bit for Windows
2019-09-14 17:58:38 -07:00
Bryan Roe
cc1f867c02
OpenSSL/1.1.1d compiled with CentOS 5.11
2019-09-13 15:30:12 -07:00
Bryan Roe
d0d486865b
OpenSSL/1.1.1d compiled with Ubuntu 10.04 LTS
2019-09-13 15:29:48 -07:00
Bryan Roe
92fe765c32
Fixed bug with service.isMe() for init and upstart linux
2019-09-13 14:41:19 -07:00
Bryan Roe
c4a5c69969
Fixed compiler warning
2019-09-13 14:17:48 -07:00
Bryan Roe
660aabb178
1. Added -b64exec
...
2. Updated service-manager on windows to ignore running state when uninstalling
2019-09-13 11:37:41 -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
17839ec388
Added missing ifndef to prevent modifying rlimit on windows
2019-09-11 10:29:46 -07:00
Bryan Roe
eb76a93551
Fixed compiler warnings
2019-09-09 17:44:42 -07:00
Bryan Roe
5f586a2039
Added ability to fetch default route interface
2019-09-09 12:53:06 -07:00
Bryan Roe
da6cf39dd2
Added 'index' to networkInterfaces() on windows
...
Added missing #define
Added IPAddress helper
2019-09-08 19:30:31 -07:00
Bryan Roe
f75e2514a9
Updated Buffer.from() so that 'binary' encoding is properly suppoerted
2019-09-06 21:43:07 -07:00
Bryan Roe
72db242dee
Added ability to end stdin on child_process spawned process
2019-09-06 21:41:48 -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
48590a7dff
Added update() to getService() on Windows
2019-08-28 00:44:14 -07:00
Bryan Roe
303bde7654
Updated, so on non-windows platforms, when coreDumpLocation is set or reset, the process.rlimit is adjusted to enable/disable generating a core file.
2019-08-27 15:12:49 -07:00
Bryan Roe
d7f0424d2c
Updated crash handler on linux, so that if a core file would've been generated on crash, it will reset/restart the signal handler, so that a core file will be generated after logging the crash.
2019-08-27 15:00:18 -07:00
Bryan Roe
72e665908a
Added flag for CRASH_HANDLER=0 in case it is explicitly needed
2019-08-27 14:58:30 -07:00
Bryan Roe
31ccab899a
Added ability to get/set rlimits on non windows platforms
2019-08-27 14:05:08 -07:00
Bryan Roe
898f606062
Updated field offsets for AMTInfo
2019-08-27 12:02:30 -07:00
Bryan Roe
e384a1a680
Added startType to getService() for MacOS
2019-08-27 11:19:12 -07:00
Bryan Roe
fd7a0a0f5b
Added startType property to getService() for Linux/systemd and FreeBSD
2019-08-27 11:04:43 -07:00
Bryan Roe
c983afdd4b
Added 'startType' property for getService result on Windows and Linux (Upstart/InitV)
2019-08-27 02:38:12 -07:00
Bryan Roe
5a79e119fd
Added comment describing new coreDumpEnabled flag
2019-08-26 17:07:32 -07:00
Bryan Roe
356cadb599
Added setting for coreDumpLocation
2019-08-26 16:57:52 -07:00
Bryan Roe
fa6836d17a
Added ability to generate Dump file on crash, on Windows
2019-08-26 14:16:39 -07:00
Bryan Roe
ede1ed71d5
Added UTF8 helper method that puts the string on the stack
2019-08-26 14:15:43 -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
84882e0b52
Fixed the following bugs on Windows:
...
1. Normally when a process exits when a stream is paused, I delayed the exit propagation until resume was called, so data was not lost. However, if no data was read, resume may not get called, causing the descriptor to continually trigger the event loop. For example, if the user explicity killed the process, resume won't get triggered after the fact.
2. If the above descriptor continually triggers the event loop, other descriptors will not get serviced, which can cause a stall
3. The above two issues caused KVM issues on windows, where it would not clean up properly and leak handles because the exit wasn't gettign called. But at the same time there's a race condition depending on where in the event list the descriptor is, could cause future KVM sessions to stall.
2019-08-23 17:07:12 -07:00
Bryan Roe
3ef2c541f4
1. Updated failover for os.name() on linux to check DISTRIB_DESCRIPTION
...
2. Fixed substring bug, that chopped off the last character of os.name()
2019-08-23 00:02:00 -07:00
Bryan Roe
51018a2192
updated os.name() for linux, to return first result if PRETTY_NAME is not found
2019-08-22 21:21:42 -07:00
Bryan Roe
5e006bc0a9
Added work-around if linux-dbus isn't updated
2019-08-22 17:26:52 -07:00
Bryan Roe
fbd67d2c9c
1. Updated linux-dbus to support querying if a service is present
...
2. Updated toaster, so it will check if org.freedesktop.Notification is installed
2019-08-22 16:57:12 -07:00
Bryan Roe
e666a5f7b9
Fixed compiler warning
2019-08-22 16:54:04 -07:00