1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-28 23:33:20 +00:00

Commit Graph

  • 84f9c14d5a Fixed bug, where if multiple KVM sessions are connected, only the first one had the resolution sent... Bryan Roe 2019-01-22 16:28:59 -08:00
  • 82fc208e8b Fixed valgrind issue Bryan Roe 2019-01-22 16:28:36 -08:00
  • 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. Bryan Roe 2019-01-22 14:29:03 -08:00
  • 2690fd13d9 Added File Transfer support Bryan Roe 2019-01-21 23:26:24 -08:00
  • e3d6c048e3 Updated, so that options object passed to attachDebugger(), is passed to duktape-debugger via a global object in the debugger context Bryan Roe 2019-01-21 18:19:52 -08:00
  • 7baea32a67 Fixed linux issues Bryan Roe 2019-01-21 12:36:59 -08:00
  • 05a84e3b34 firat rev of bare bones core Bryan Roe 2019-01-21 12:15:37 -08:00
  • 7489e1b34d Updated license MeshCentral_v0.2.6-o Bryan Roe 2019-01-19 00:16:12 -08:00
  • 5fbd1588f5 updated license Bryan Roe 2019-01-19 00:11:26 -08:00
  • 2046a22e9a Added meshcore DelayStart feature Bryan Roe 2019-01-18 22:46:12 -08:00
  • a627ae6db0 Fixed import/export bug caused by previous change to Get/GetBuffer Bryan Roe 2019-01-18 22:45:51 -08:00
  • f36bd6f8e0 Added native Timeout helper Bryan Roe 2019-01-18 22:45:11 -08:00
  • 2d0e8d227f Updated endianess of AgentCapabilities Bryan Roe 2019-01-18 19:22:24 -08:00
  • 9351108e60 Fixed typo in macro Bryan Roe 2019-01-18 17:03:13 -08:00
  • b33c9ee4b8 Updated Buffer.from(), to allow hex encodings to start with 0x Bryan Roe 2019-01-18 16:20:03 -08:00
  • d64dfb5504 Fixed compiler warnings on some toolchains Bryan Roe 2019-01-18 16:02:00 -08:00
  • 694108d245 Moved pragma to satisfy some toolchains Bryan Roe 2019-01-18 15:52:58 -08:00
  • f65a5935dd Fixed compiler warnings Bryan Roe 2019-01-18 15:28:28 -08:00
  • e5600ea6b0 Added missing fseek Bryan Roe 2019-01-18 14:58:13 -08:00
  • 4f5d3bcfe4 Fixed file format to be consistent between 32/64 bit... Updated so it will auto update old format to new format Bryan Roe 2019-01-18 14:26:16 -08:00
  • 2366122d58 Fixed bug where clearing proxy setting, didn't clear all the settings Bryan Roe 2019-01-17 22:59:27 -08:00
  • 335ff51bfe Removed reference to unused files Bryan Roe 2019-01-17 22:09:17 -08:00
  • 4a26ff4df2 removed files that aren't used Bryan Roe 2019-01-17 22:01:39 -08:00
  • 3612e45cef Fixed compiler warning on GCC related to duktape specific issue Bryan Roe 2019-01-17 21:56:34 -08:00
  • 9a6e4af874 fixed typo in printf error message Bryan Roe 2019-01-17 19:04:20 -08:00
  • 96a76d7a2e added getx, which returns the result as a HEX encoded string Bryan Roe 2019-01-17 18:51:06 -08:00
  • 9eef92aae2 Added "GetBuffer", which always returns a buffer. Updated "Get" so it always returns a string, which underneath it just fetches the buffer and calls toString() on it. Bryan Roe 2019-01-17 18:50:02 -08:00
  • 1e537debfb Fixed Buffer, so if the buffer contains a NULL, the string is truncated at the NULL Bryan Roe 2019-01-17 18:48:47 -08:00
  • 51a8b5c44d fixed compiler warning Bryan Roe 2019-01-17 18:08:51 -08:00
  • d0348b083b Merge branch 'master' of https://github.com/Ylianst/MeshAgent Bryan Roe 2019-01-17 18:06:39 -08:00
  • a0767cd665 Added ability to merge AgentCapabilities from db Bryan Roe 2019-01-17 18:06:33 -08:00
  • ba28e98ef7 1. Fixed bug where the last result data length could include the NULL terminator if the input string length was too long. 2. Updated DB calls, to Get/Put will truncate the NULL terminator if it is specified in the key name 3. Updated COMPACT, so keynames will be fixed if it contains a NULL terminator Bryan Roe 2019-01-17 18:05:26 -08:00
  • 8988b5eada Added another Linux mshx bad name for v1 migration. Ylian Saint-Hilaire 2019-01-17 16:54:56 -08:00
  • 0b36dd07fe updated comments to describe when to build for jpeg8 vs jpeg6 Bryan Roe 2019-01-17 16:13:24 -08:00
  • 9ea6ecccdb Fixed duplicate MAC detection so that it skips 00:00:00:00:00:00, which is commonly used for loopback interfaces Bryan Roe 2019-01-17 15:42:58 -08:00
  • 12f8dc4509 Added MeshCommand_CoreOk. Ylian Saint-Hilaire 2019-01-17 15:06:16 -08:00
  • 73eb954a57 Added Linux support for system-wide proxy detection Bryan Roe 2019-01-17 14:35:12 -08:00
  • 01c0b7f31a Added comments showing how to install dependent packages using YUM Bryan Roe 2019-01-17 11:20:30 -08:00
  • a632839e79 Added check in makefile to test for -no-pie support before using it Bryan Roe 2019-01-16 22:59:09 -08:00
  • 9faccc6756 Revert "Recompiled with -FPIC, to fix complaint by newer versions of GCC" This reverts commit 6183790f4c. Bryan Roe 2019-01-16 18:07:06 -08:00
  • 6cd91c5ab5 Fixed compiler warnings Bryan Roe 2019-01-16 17:34:00 -08:00
  • 381baaf06a Fixed bug where if you try to write data to a piped stream that was paused, the buffered data wouldn't get retried. Bryan Roe 2019-01-16 15:51:33 -08:00
  • f39beca4aa 1. Fixed bug where pendingBytesToSend went negative 2. Fixed bug where if bytesSent was -1, it caused allocated buffer to be offset incorrectly Bryan Roe 2019-01-16 15:50:02 -08:00
  • d39dcd0aa1 Fixed uncaught exception that can happen if you pause a stream with no upstream piped object. Bryan Roe 2019-01-16 15:48:57 -08:00
  • da278e558f Added 'dataGenerator' which can be used for testing Bryan Roe 2019-01-16 15:47:29 -08:00
  • ea1e1890bd Added comments on how to build libjpeg-turbo Bryan Roe 2019-01-15 15:40:34 -08:00
  • cdefd73744 added missing file Bryan Roe 2019-01-15 15:12:07 -08:00
  • 6183790f4c Recompiled with -FPIC, to fix complaint by newer versions of GCC Bryan Roe 2019-01-14 21:37:06 -08:00
  • d2fba65521 commented out logging, until we fix it with a #ifdef Bryan Roe 2019-01-14 16:52:59 -08:00
  • 230d71bfed Updated, so default display used is obtained from $DISPLAY instead of assuming :0 Bryan Roe 2019-01-14 16:23:51 -08:00
  • 10c72b8a05 Updated consoleUid, to look at $DISPLAY when checking to see what users are logged in locally Bryan Roe 2019-01-14 16:23:19 -08:00
  • 7b6222711b Removed unrelated files Bryan Roe 2019-01-13 15:31:05 -08:00
  • 60fb611961 declutter... Will create separate folder for test scripts Bryan Roe 2019-01-11 22:18:50 -08:00
  • 989a500b6e Fix from Ylian, regarding Linux Transition Agent Bryan Roe 2019-01-11 16:18:09 -08:00
  • 2759cc799e Fixed preprocessor, so compiled correctly if OpenSSL is not linked Bryan Roe 2019-01-11 16:13:44 -08:00
  • 08eb5509aa updated Bryan Roe 2019-01-11 14:03:00 -08:00
  • 311431ba24 Updated to not use script container Bryan Roe 2019-01-11 14:02:35 -08:00
  • 02187849c3 Added MacOS support Fixed Windows 7 issues Bryan Roe 2019-01-11 14:02:12 -08:00
  • a939e61fad Updated license header Updated how X11 support is detected and bound Bryan Roe 2019-01-11 14:00:53 -08:00
  • 242382d90b Added MacOS support Bryan Roe 2019-01-11 13:56:43 -08:00
  • 6bb0a8e7b3 Changed error handling Bryan Roe 2019-01-11 13:56:10 -08:00
  • 81ef5d4c2e Added MacOS support Bryan Roe 2019-01-11 13:55:38 -08:00
  • 17b378d53f integrated changes from Ylian Bryan Roe 2019-01-11 13:55:06 -08:00
  • f5ee0de45c updated license header Bryan Roe 2019-01-11 13:54:11 -08:00
  • c1b55c1fa8 added try/catch block Bryan Roe 2019-01-11 13:53:41 -08:00
  • 8344d03f22 updated license Bryan Roe 2019-01-11 13:53:17 -08:00
  • 236cc0dc2c Fixed edge case that could cause 100% cpu utilization Bryan Roe 2019-01-11 13:52:55 -08:00
  • 0f89f3b812 Updated webpage Bryan Roe 2019-01-11 13:52:18 -08:00
  • 01b8b5826e Added debug messages, and updated key enumeration Bryan Roe 2019-01-11 13:51:56 -08:00
  • 6bc03042eb Updated error handling and argument propagation Bryan Roe 2019-01-11 13:51:29 -08:00
  • a2e018bb34 updated error handling Bryan Roe 2019-01-11 13:49:25 -08:00
  • 406c7b79df Added try/catch block Bryan Roe 2019-01-11 13:48:51 -08:00
  • 303bacfdef Updated so compiles on OSX Added Canary check to HECI_Sesison object Changed error type to enum Added support for timeouts when adding wait handles added 2 second timeout for doIoctl Bryan Roe 2019-01-11 13:47:17 -08:00
  • 979101863c Fixed bug where IncomingMessage wasn't a readable stream in 'request' emitter Fixed edge case where Agent.keepSocketAlive wasn't always getting called Bryan Roe 2019-01-11 13:45:43 -08:00
  • c739a535c3 Updated to first try to use MeshAgent cert, if present Bryan Roe 2019-01-11 13:42:15 -08:00
  • d93decc462 Added MacOS Support Added chownSync Bryan Roe 2019-01-11 13:41:36 -08:00
  • 3cebd6a990 Added Domain Socket support Bryan Roe 2019-01-11 13:40:29 -08:00
  • 43eb327870 Updated so compiles on MacOS Bryan Roe 2019-01-11 13:39:09 -08:00
  • 99ff50fcb8 Updated so compiles on OSX Fixed Semaphores which were completely broken on OSX. Now uses Grand Central Dispatch Semaphores Disabled WatchDog for Non-Isolated ScriptContainer Updated Canary check, so it fails if the pointer is NULL Added thread join helper Updated RunOnMicrostackThread, to make availahle an ABORT handler started to add SSL tracing capability for debug Bryan Roe 2019-01-11 13:38:12 -08:00
  • 2363e36bcb Fixed on Linux, so db is opened exclusively, and fails/exits if it can't do it Updated from SHA256 to SHA384 Added helper to see if db exist Fixed deprecation problem on windows Added an explicit unlock Added fix, to prevent memory corruption if a db record is corrupt Bryan Roe 2019-01-11 13:34:22 -08:00
  • 372a20e841 Updated SSL_TRACE Fixed logic error that occurs if the server returns an invalid/incorrect status code when making a websocket request Bryan Roe 2019-01-11 12:44:46 -08:00
  • 0af4b403dd Added helper code (commented out), to aid in wireshark debugging DTLS Bryan Roe 2019-01-11 12:43:23 -08:00
  • a3f69396f6 Added MacOS support Added ability to spawn process with specific user, under linux Fixed edge case memory leak caused when we were trying to QueueUserAPC to a thread we were already on, which also caused a 3 second delay. Changed WindowsRunLoop, to detect bad HANDLEs, and event an error on them, and remove them from list Fixed linux bug, where a spawned child called 'exit' instead of '_exit' in an error condition Bryan Roe 2019-01-11 12:42:16 -08:00
  • c0db749e8e Added ability to use external cert Bryan Roe 2019-01-11 12:39:44 -08:00
  • eaff1c25e4 Added domain socket support on Linux and MacOS Bryan Roe 2019-01-11 12:37:59 -08:00
  • b8928208d7 Added code to check the stack size when transitioning from native to javascript Bryan Roe 2019-01-11 12:30:53 -08:00
  • 51ee1c0562 Added canary checks Fixed behavior of 'finish' to match node documentation Bryan Roe 2019-01-11 12:30:06 -08:00
  • 678ab7e687 Updated so attempts to end an already end'ed stream is ignored Bryan Roe 2019-01-11 12:28:48 -08:00
  • 71a9d2ba17 Added MacOS support Fixed 'child' race condition Fixed compiler warnings Bryan Roe 2019-01-11 12:28:03 -08:00
  • 07c3eeb3bc 1. Integrated polyfill for promise 2. Modified Immediate, so a reference is automatically saved until it expires 3. ) updated Buffer.alloc to support non-zero fill 4. added bignum support using OpenSSL if linked Bryan Roe 2019-01-11 12:25:34 -08:00
  • 24d97b3b34 Added GetBuffer helper Bryan Roe 2019-01-11 12:22:57 -08:00
  • 70daead65e Added Async Threading helpers Bryan Roe 2019-01-11 12:22:16 -08:00
  • a9b159ea7e Fixed bug where'flush' flag was set incorrectly on a transform stream Bryan Roe 2019-01-11 12:21:11 -08:00
  • 2dbf7c60cf added 'address' Bryan Roe 2019-01-11 12:20:26 -08:00
  • ca7b441cf8 bug fixes Bryan Roe 2019-01-11 12:18:36 -08:00
  • 820aecc7ec 1. Added Canary checks 2. Added 'waitExit' for linux and MacOS Bryan Roe 2019-01-11 12:17:24 -08:00
  • a6f743658e Updated so you can update a module that already exists Bryan Roe 2019-01-11 12:15:56 -08:00
  • b2b2a9187a Added '-info' to display Compile Time and OpenSSL Version Bryan Roe 2019-01-11 11:22:42 -08:00
  • 6032f86849 Added ability to propagate errors Bryan Roe 2019-01-11 11:21:45 -08:00
  • cc26cff004 Updated, so compiles on MacOS Bryan Roe 2019-01-11 11:21:24 -08:00