64
I Use This!
Moderate Activity

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Apr 22, 2023 — Apr 22, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
use calloc instead of malloc More... 13 days ago
fix More... about 1 month ago
refactor the hostgroup option to array-style More... about 1 month ago
fix More... about 1 month ago
fix missing =over4 More... about 1 month ago
New: Added support for debugging TLS/SSL connections with Wireshark. It is now possible to set the SSLKEYLOGFILE=<path> environment variable when starting Monit, to log the master secret to a file, which can be used by Wireshark in "Settings -> Protocols -> TLS -> (Pre)-Master-Secret log filename". Note: The SSLKEYLOGFILE functionality is enabled only in the monit debug mode (when monit was started with the -v option). More... about 1 month ago
back to signal flag More... about 1 month ago
refactor the SIGCHLD deadlock fix ... let the signal handler do the waitpid() again, but block the SIGCHLD in the thread, which locks the ProcessTable mutex (unblock after unlock) => any thread which doesn't lock the ProcessTable may call waitpid immediately More... about 1 month ago
1. add support for adding monit to M/Monit hostgroups using "set mmonit" "hostgroup" option 2. update copyright to 2024 3. update HTTP GUI links from HTTP to HTTPS More... about 1 month ago
fix deadlock when the main thread enters the SIGCHLD signal handler while it holds the ProcessTable mutex (e.g. inside ProcessTable_findServiceProcess): (lldb) thr backtrace all * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x000000019e6e4ea4 libsystem_kernel.dylib`__psynch_mutexwait + 8 frame #1: 0x000000019e720060 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_wait + 84 frame #2: 0x000000019e71d9f0 libsystem_pthread.dylib`_pthread_mutex_firstfit_lock_slow + 248 -> frame #3: 0x0000000101082dd4 monit`ProcessTable_getProcess(P=0x0000000104a016a0, pid=15847) at ProcessTable.c:411:9 [opt] -> frame #4: 0x0000000100f807dc monit`handle_wait(sig=<unavailable>) at monit.c:1005:31 [opt] frame #5: 0x000000019e753584 libsystem_platform.dylib`_sigtramp + 56 frame #6: 0x000000010254cad4 libclang_rt.asan_osx_dynamic.dylib`__asan::Allocator::Allocate(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool) frame #7: 0x000000010254c730 libclang_rt.asan_osx_dynamic.dylib`__asan::asan_malloc(unsigned long, __sanitizer::BufferedStackTrace*) + 48 frame #8: 0x000000010259b18c libclang_rt.asan_osx_dynamic.dylib`wrap_malloc + 252 frame #9: 0x000000019e5d5030 libsystem_c.dylib`tre_tnfa_run_parallel + 164 frame #10: 0x000000019e5d4ecc libsystem_c.dylib`tre_match + 252 -> frame #11: 0x000000010108385c monit`ProcessTable_findServiceProcess at ProcessTable.c:186:37 [opt] frame #12: 0x00000001010836d4 monit`ProcessTable_findServiceProcess(s=<unavailable>) at ProcessTable.c:469:37 [opt] frame #13: 0x0000000101007be4 monit`check_process(s=0x0000000104904580) at validate.c:1586:21 [opt] frame #14: 0x00000001010066dc monit`validate at validate.c:1565:52 [opt] frame #15: 0x0000000100f7f20c monit`main [inlined] do_default at monit.c:643:25 [opt] frame #16: 0x0000000100f7f090 monit`main [inlined] do_action(arguments=<unavailable>) at monit.c:451:17 [opt] frame #17: 0x0000000100f7e7f4 monit`main(argc=<unavailable>, argv=<unavailable>) at monit.c:186:9 [opt] frame #18: 0x000000019e39a0e0 dyld`start + 2360 More... about 1 month ago
fix double free: ==13610==ERROR: AddressSanitizer: heap-use-after-free on address 0x000106720e38 at pc 0x000102df46f4 bp 0x00016d1a2170 sp 0x00016d1a2168 READ of size 1 at 0x000106720e38 thread T0 #0 0x102df46f0 in Process_free Command.c:433 #1 0x102cba5bc in _gc_service gc.c:188 #2 0x102cb775c in _gc_service_list gc.c:179 #3 0x102cb775c in _gc_service_list gc.c:179 #4 0x102cb775c in _gc_service_list gc.c:179 #5 0x102cb775c in _gc_service_list gc.c:179 #6 0x102cb775c in _gc_service_list gc.c:179 #7 0x102cb775c in _gc_service_list gc.c:179 #8 0x102cb775c in _gc_service_list gc.c:179 #9 0x102cb775c in _gc_service_list gc.c:179 #10 0x102cb775c in _gc_service_list gc.c:179 #11 0x102cb775c in _gc_service_list gc.c:179 #12 0x102cb775c in _gc_service_list gc.c:179 #13 0x102cb775c in _gc_service_list gc.c:179 #14 0x102cb775c in _gc_service_list gc.c:179 #15 0x102cb775c in _gc_service_list gc.c:179 #16 0x102cb775c in _gc_service_list gc.c:179 #17 0x102cb72a0 in gc gc.c:99 #18 0x102ca40e8 in do_exit monit.c:559 #19 0x102ca31d4 in main monit.c:186 #20 0x19e39a0dc (<unknown module>) More... about 1 month ago
fix compilation on freebsd More... about 2 months ago
Fixed: The SSL connection can be sporadically interrupted. More... about 2 months ago
Rename the wrapper macro to something less generic More... 3 months ago
Move System_random and System_randomNumber out into a new Random module. Slightly improve Random_bytes by only seeding the RnG once More... 3 months ago
Comment/name change More... 3 months ago
Merged in issue_1098 (pull request #135) More... 3 months ago
The web interface does not show rows like the mail message in the runtime status page well, the line breaks are ignored. The data field use <pre> if the data contains line breaks. More... 3 months ago
Use awk (of course) no need to go via egrep More... 3 months ago
Determine the minimum macOS version we can build More... 3 months ago
Add function to print a config variable More... 3 months ago
Merged tildeslash/monit into master More... 3 months ago
Report and use the pid returned from spawn More... 3 months ago
The detach property was removed More... 3 months ago
Remove workarounds for 'check program' status collection. Exit status is now collected by a SIGCHLD handler More... 3 months ago
Removed the detach property. All Processes started by spawn are started detached, _except_ the process created from a Service's start program. More... 3 months ago
Let the caller log any error using errno, unless err buf is given More... 3 months ago
Updated More... 3 months ago
Use strncmp instead of memcmp More... 3 months ago
Introduce a detach property to spawn function's args. If true, Monit will execute the program, check that it started and then detach. Some programs Monit start are fire-and-forget. These are typically programs started from an "if xxx then exec" statement. More... 3 months ago