1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-26 05:03:15 +00:00
Commit Graph

209 Commits

Author SHA1 Message Date
Bryan Roe
597c73b677 Updated init and systemd 2019-02-20 13:02:44 -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
19b53f1cd4 1. Fixed, so state is cleaned up correctly if you exit instead of disconnect
2. Fixed, so 'end' is propagated to the websocket when terminal exits.
2019-02-15 23:31:22 -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.
MeshCentral_v0.2.8-n
2019-02-15 15:02:42 -08:00
Bryan Roe
ec112d2d22 Fixed compiler warning 2019-02-15 13:53:55 -08:00
Bryan Roe
a9cb689ec3 Removed dead code, and added 'eventNames' 2019-02-15 00:48:57 -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
ed92a0b21c Fixed capitalization of include, when NOTLS is built 2019-02-13 16:36:38 -08:00
Bryan Roe
2f657f31e5 1. Updated 'addMethod' on emitter, to return this, so you can chain multiple together
2. Updated wget return value to expose an 'abort' event
2019-02-13 16:05:51 -08:00
Bryan Roe
76fac42a5f Added 'abort' to wget and clientRequest 2019-02-13 15:57:32 -08:00
Bryan Roe
65e44f0a9d Removed 'nocontinue' functionality from piped streams 2019-02-13 15:57:02 -08:00
Bryan Roe
353b4b2181 Added 'wget' 2019-02-13 11:09:05 -08:00
Bryan Roe
6918c90253 Renamed '_eventHook' on EventEmitter to 'newListener' to match node definition 2019-02-12 21:40:08 -08:00
Bryan Roe
9542a14ada added missing Proxy support for non TLS connections 2019-02-12 17:57:22 -08:00
Bryan Roe
d491aeb98f Added NULL check on uncaught exceptions 2019-02-12 17:56:27 -08:00
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
bfce186759 Updated Duktape_GetBuffer(), so if the object is null or undefined, it returns NULL instead of throwing an exception 2019-02-12 16:54:04 -08:00
Bryan Roe
a52a8e0c9f Fixed behavior so WebSoketServer does not mask data, when talking to clients, to fix interop issue with Chrome 2019-02-12 16:34:23 -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
92abf51a8d Updated, so httpStream and WebSocketStream are identified as http or https depending if the underlying socket is a net.socket or tls.socket. Also, updated the noMasking flag on WebSocket, so it's only set if it s an https.WebSocketStream. 2019-02-11 22:14:22 -08:00
Bryan Roe
eaf4d408a8 Updated linux clipboard 2019-02-11 17:43:41 -08:00
Bryan Roe
cce3d7694b Added more methods 2019-02-11 17:19:17 -08:00
Bryan Roe
57a8d5df1c Added DescriptorEvents 2019-02-11 17:18:50 -08:00
Bryan Roe
05400ea3aa Fixed compiler warning 2019-02-11 14:43:24 -08:00
Bryan Roe
2d8c213b9d Rebuilt http-digest in pure JS to fix some issues 2019-02-11 14:07:48 -08:00
Bryan Roe
86d0b0fd18 fixed compiler warning 2019-02-10 21:53:41 -08:00
Bryan Roe
a10bd1a205 added ability to read clipboard for windows 2019-02-09 19:22:27 -08:00
Bryan Roe
e8594d6b64 Added Clipboard helper 2019-02-09 00:14:54 -08:00
Bryan Roe
9697af5215 Updated so 'Finish' is emitted when "Ready" is called, after 'End' is emitted; 2019-02-08 15:25:38 -08:00
Bryan Roe
52d0510e7b Added String.padStart polyfill 2019-02-08 15:23:39 -08:00
Bryan Roe
6afb6e5316 1. Modified, so if connection: close is specified, it won't try to reuse the socket
2. Added 'generateNonce' helper method
2019-02-08 15:23:10 -08:00
Bryan Roe
8f1501a343 Added listenerCount 2019-02-08 10:39:35 -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
8d8099f0d4 added inline JS support to Service 2019-02-05 19:05:03 -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
82e25a12ea Fixed Build configuration for Release_NoOpenSSL_x64, which was pointing to wrong configuration in solution file
Added missing link for ncrypt for NoOpenSSL configuration
2019-02-04 12:32:49 -08:00
Bryan Roe
e9f5209552 Changed how the ForceUnblockPipe works on Linux, to not use fdopen/fdclose.
Also modified, so when flushing the ForceUnblockPipe, if the descriptor is invalid, it will recreate it, fixing a 100% CPU issue on linux, that seems to happen after a self-update.
2019-02-02 22:49:20 -08:00
Bryan Roe
817f2786e2 Updated 'ChainViewer' 2019-02-02 02:55:12 -08:00
Bryan Roe
aeaa229e31 1. Modified WebRTC_DataChannel to use union, to simplify struct def
2. Added ChainLink MetaData
3. Added 'ChainViewer' to allow JS to debug Chain events
2019-02-01 23:33:02 -08:00
Bryan Roe
88c63b2976 Added ability to inline JS on the command line 2019-02-01 17:22:56 -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
032e350bf9 Updated uninstallService to be sync on linux instead of async 2019-02-01 13:02:43 -08:00