1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-10 05:13:38 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
Bryan Roe
0c5d6f9048 Fixed compiler warning on linux 2022-03-23 22:51:59 -07:00
Bryan Roe
c7f4906889 Updated so log about certificate not being found, is only written if database didn't exist when agent was started 2022-02-04 17:09:15 -08:00
Ylian Saint-Hilaire
7adf0dddd4 Updated headers. 2022-02-04 14:43:55 -08:00
Bryan Roe
5c18c4ac01 1. Added logging for Windows Cert Store Error cases
2. Added db corruption detection
2021-04-08 23:34:10 -07:00
Bryan Roe
0b835a6c82 1. Fixed minor memory leaks
2. Updated child_process.waitExit() to throw an exception if it's aborted
2020-12-03 17:11:50 -08:00
Bryan Roe
ee0aaf4615 Fixed JSON serialization of parameters 2020-11-17 15:14:33 -08:00
Bryan Roe
ef307c7843 Fixed 32 bit compiler warnings, and fixed bug where serviceName could be undefined 2020-11-10 02:08:06 -08:00
Bryan Roe
a2892996fb IOActive update for size_t vs int for buffer lengths 2020-10-16 00:48:34 -07:00
Bryan Roe
73b1d5e77c Converted atoi to safer alternative 2020-09-24 15:50:27 -07:00
Bryan Roe
812fbae6e5 Updated size check 2020-09-23 14:01:22 -07:00
Bryan Roe
43e09dd41e 1. Removed uneccessary printf
2. Added support for hex values for CAched db entries
3. Added --copy-msh support in agent installer
4. Added --no-embedded support
2020-08-01 02:38:38 -07:00
Bryan Roe
8f43ced7a1 Fixed memory leak when writing compressed record 2020-07-30 21:30:50 -07:00
Bryan Roe
1064fee868 1. Fixed size checks
2. Added checks for db write errors, and added readonly mode failover, with an error event
2020-07-27 13:19:36 -07:00
Bryan Roe
a45f5f07c8 Updated readonly support 2020-07-18 01:55:10 -07:00
Bryan Roe
af9ce34a6f Updated to better support readonly filesystems 2020-07-18 00:32:35 -07:00
Bryan Roe
7814278d4f 1. Updated encrypted discovery
2. Fixed memory leak
2020-07-15 14:11:32 -07:00
Bryan Roe
0902718a47 Fixed bug in IOActive fix 2020-07-15 01:42:12 -07:00
Bryan Roe
67fc6c54b1 Addressed IOActive issues 2020-07-15 01:24:56 -07:00
Bryan Roe
4728330c5e Fixed some warnings 2020-07-08 16:07:04 -07:00
Bryan Roe
ba8e43b47c 1. Fixed integer overflow detection for 32 bit
2. Fixed compiler warning
2020-06-30 10:58:59 -07:00
Bryan Roe
10bde8c328 1. Fixed typo with upstart service manager .conf definition
2. Added support for installedDate in service manager
3. Fixed compiler warnings
2020-06-25 12:34:56 -07:00
Bryan Roe
9b6669f074 Fixed compiler warnings 2020-06-24 15:10:00 -07:00
Bryan Roe
ea1c9fbf20 Updated db to better support compressed records. 2020-06-23 01:57:08 -07:00
Bryan Roe
e82255959a Added support for compressed db entries 2020-06-22 19:10:54 -07:00
Bryan Roe
59f80fc1b1 Fixed db retry logic 2020-06-15 21:15:33 -07:00
Bryan Roe
f38089fa3b Updated, so if database is locked, and installer is being run, db will open in cache only mode 2020-05-01 01:21:25 -07:00
Bryan Roe
71bd469551 fix 2020-04-29 03:01:44 -07:00
Bryan Roe
34a1b1a4d5 Added ability to fetch core hash 2020-04-08 17:57:28 -07:00
Bryan Roe
42f1ea97cf Added db size threshold option 2020-03-27 21:14:39 -07:00
Bryan Roe
42b0113fae Added support for minimum db.compact() threshold 2020-03-26 19:34:54 -07:00
Bryan Roe
cd111f0f6e Added workaround for macOS LaunchD placing all parameters within quotes 2020-02-26 13:59:21 -08:00
Bryan Roe
1731670522 1. Fixed bug in process-manager.getProcessInfo() on linux
2. Updated agent-installer
3. Fixed JSON error in SimpleDataStore
2020-02-15 00:22:15 -08:00
Bryan Roe
7730d9a627 Updated serialization 2020-02-13 21:20:19 -08:00
Bryan Roe
675dae55a9 Added ability to serialize cached entries 2020-02-13 17:10:04 -08:00
Bryan Roe
888629c179 1. Fixed bug in command line msh flag feature, where terminating NULL wasn't added on read
2. Updated 'agentName' feature to send new command, instead of overriding host name
2020-01-29 10:09:01 -08:00
Bryan Roe
1d9908f944 Fixed warnings 2020-01-29 09:29:21 -08:00
Bryan Roe
3bcdb51656 1. Added ability to specify msh flags on command line 2020-01-28 23:48:05 -08:00
Bryan Roe
b25a54c8b5 Fixed race condition, where on Linux when you compact the DB, it may not unlock before it reopens 2019-03-01 15:31:43 -08:00
Bryan Roe
9205af5804 removed debug line 2019-02-25 22:39:24 -08:00
Bryan Roe
382ea03135 Updated file access, so the db can be queried while an agent is still active 2019-02-25 21:43:48 -08:00
Bryan Roe
9351108e60 Fixed typo in macro 2019-01-18 17:03:13 -08:00
Bryan Roe
f65a5935dd Fixed compiler warnings 2019-01-18 15:28:28 -08:00
Bryan Roe
e5600ea6b0 Added missing fseek 2019-01-18 14:58:13 -08:00
Bryan Roe
4f5d3bcfe4 Fixed file format to be consistent between 32/64 bit... Updated so it will auto update old format to new format 2019-01-18 14:26:16 -08:00
Bryan Roe
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
2019-01-17 18:05:26 -08:00
Bryan Roe
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
2019-01-11 13:34:22 -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
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