Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-08-27 | check_snmp: rebuild threshold parsing | Lorenz Kästle | 5 | -65/+125 | |
2025-08-27 | Fix range comparison and aesthetic improvements | Lorenz Kästle | 1 | -5/+5 | |
2025-08-25 | rebuild check_snmp | Lorenz Kästle | 3 | -926/+838 | |
2025-08-12 | Merge pull request #2142 from ↵ | waja | 4 | -6/+6 | |
monitoring-plugins/dependabot-github_actions-actions-checkout-5 | |||||
2025-08-12 | build(deps): bump actions/checkout from 4 to 5 | dependabot[bot] | 4 | -6/+6 | |
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> | |||||
2025-08-11 | Merge pull request #2107 from RincewindsHat/refactor/check_users | Lorenz Kästle | 7 | -123/+343 | |
Refactor/check users | |||||
2025-08-11 | Merge branch 'master' into refactor/check_users | Lorenz Kästle | 68 | -5842/+6408 | |
2025-08-11 | check_users: Use sd_get_uids instead of sd_get_session | Lorenz Kästle | 1 | -1/+1 | |
Previously check_users in combination with systemd used sd_get_sessions (3) to aquire the number of users, probably with the idea that every users opens a session. Turns out, that a user can have multiple sessions and we only really want to know how many users there are. This commit changes to sd_get_uids (3) to achieve that target. | |||||
2025-08-04 | Merge pull request #2139 from waja/ci_fix_rawhide | waja | 1 | -0/+3 | |
2025-08-01 | (Re)construct PLATFORM_ID as it's droped since Fedora 43 | Jan Wagner | 1 | -0/+3 | |
See https://fedoraproject.org/wiki/Changes/Drop_PLATFORM_ID?#Drop_PLATFORM_ID | |||||
2025-08-01 | Merge pull request #2138 from RincewindsHat/improvements/check_ssh | Lorenz Kästle | 1 | -34/+47 | |
Improvements/check ssh | |||||
2025-08-01 | clang-format | Lorenz Kästle | 1 | -29/+43 | |
2025-08-01 | check_ssh: Put variable in the correct scope | Lorenz Kästle | 1 | -2/+1 | |
2025-08-01 | check_ssh: Fix format expression | Lorenz Kästle | 1 | -1/+1 | |
2025-08-01 | check_ssh: fix data type to allow for error checking | Lorenz Kästle | 1 | -2/+2 | |
2025-08-01 | Quick save | Lorenz Kästle | 2 | -25/+29 | |
2025-08-01 | General smal improvements to the lib logic | Lorenz Kästle | 2 | -9/+11 | |
2025-08-01 | Merge pull request #2133 from rlaager/fix-check_ssh-buffer-overflow | Lorenz Kästle | 1 | -4/+6 | |
Fix check ssh buffer overflow | |||||
2025-07-24 | Merge pull request #2137 from waja/ci_dispatch_ssh | waja | 2 | -2/+26 | |
Adding tmate optional to manual dispatch | |||||
2025-07-24 | Adding tmate optional to manual dispatch | Jan Wagner | 2 | -2/+26 | |
2025-07-23 | Merge pull request #2136 from waja/ci_dispatch | waja | 3 | -0/+3 | |
2025-07-23 | CI: Adding workflow_dispatch | Jan Wagner | 3 | -0/+3 | |
2025-07-14 | check_curl: various small improvements | Lorenz Kästle | 2 | -72/+74 | |
2025-07-14 | Merge pull request #2134 from RincewindsHat/fix/check_ntp_peer_fmt_conv | Lorenz Kästle | 1 | -3/+3 | |
check_ntp_peer: fix invalid conversion in printf | |||||
2025-07-14 | check_ntp_peer: fix invalid conversion in printf | Lorenz Kästle | 1 | -3/+3 | |
2025-07-11 | check_ssh: Correct type on len variable | Richard Laager | 1 | -1/+1 | |
strlen() returns a size_t. Signed-off-by: Richard Laager <rlaager@wiktel.com> | |||||
2025-07-11 | check_ssh: Fix buffer overflow | Richard Laager | 1 | -3/+5 | |
A buffer overflow was occurring when the server responded with: Exceeded MaxStartups\r\n glibc would then abort() with the following output: *** buffer overflow detected ***: terminated It was the memset() that was overflowing the buffer. But the memmove() needed fixing too. First off, there was an off-by-one error in both the memmove() and memset(). byte_offset was already set to the start of the data _past_ the newline (i.e. len + 1). For the memmove(), incrementing that by 1 again lost the first character of the additional output. For the memset(), this causes a buffer overflow. Second, the memset() has multiple issues. The comment claims that it was NULing (sic "null") the "rest". However, it has no idea how long the "rest" is, at this point. It was NULing BUFF_SZ - byte_offset + 1. After fixing the off-by-one / buffer overflow, it would be NULing BUFF_SZ - byte_offset. But that doesn't make any sense. The length of the first line has no relation to the length of the second line. For a quick-and-dirty test, add something like this just inside the while loop: memcpy(output, "Exceeded MaxStartups\r\nnext blah1 blah2 blah3 blah4\0", sizeof("Exceeded MaxStartups\r\nnext blah1 blah2 blah3 blah4\0")); And, after the memmove(), add: printf("output='%s'\n", output); If you fix the memset() buffer overflow, it will output: output='ext blah1 blah2 blah3 ' As you can see, the first character is lost. If you then fix the memmove(), it will output: output='next blah1 blah2 blah3' Note that this is still losing the "blah4". After moving the memset() after byte_offset is set to the new strlen() of output, then it works correctly: output='next blah1 blah2 blah3 blah4' Signed-off-by: Richard Laager <rlaager@wiktel.com> | |||||
2025-07-06 | check_curl: clang-format | Lorenz Kästle | 1 | -276/+495 | |
2025-07-06 | Fix merge error | Lorenz Kästle | 1 | -1/+1 | |
2025-07-06 | Merge branch 'master' into refactor/check_curl | Lorenz Kästle | 96 | -8612/+9657 | |
2025-07-06 | Merge pull request #2109 from RincewindsHat/refactor/check_load | Lorenz Kästle | 5 | -294/+444 | |
Refactor/check load | |||||
2025-07-06 | check_load: fix tests | Lorenz Kästle | 1 | -3/+3 | |
2025-07-06 | Merge branch 'master' into refactor/check_load | Lorenz Kästle | 52 | -5134/+5254 | |
2025-07-06 | Make multiline output look better | Lorenz Kästle | 1 | -1/+32 | |
2025-07-06 | check_load some number type fixes | Lorenz Kästle | 2 | -7/+7 | |
2025-07-06 | check_load: Add top x functionality to output | Lorenz Kästle | 1 | -1/+3 | |
2025-07-06 | check_load: remove useless code and do some formatting | Lorenz Kästle | 1 | -13/+23 | |
2025-06-29 | Merge pull request #2101 from RincewindsHat/refactor/check_procs | Lorenz Kästle | 4 | -579/+634 | |
Refactor/check procs | |||||
2025-06-28 | Merge branch 'master' into refactor/check_procs | Lorenz Kästle | 70 | -5945/+6694 | |
2025-06-23 | Merge pull request #2116 from RincewindsHat/refactor/check_dhcp | Lorenz Kästle | 4 | -390/+554 | |
Refactor/check dhcp | |||||
2025-06-23 | Reapply "check_dhcp: reduce number of tests for weird reasons" | Lorenz Kästle | 1 | -1/+1 | |
This reverts commit 612d261cbf467c82f0dcc0ed63e7584d91f194c4. | |||||
2025-06-23 | Revert "check_dhcp: reduce number of tests for weird reasons" | Lorenz Kästle | 1 | -1/+1 | |
This reverts commit 52338c3423d4b10d2bbeec7a120c7dd2a98fa092. | |||||
2025-06-23 | Add check_dhcp related files to Makefile | Lorenz Kästle | 1 | -1/+2 | |
2025-06-23 | check_dhcp: reduce number of tests for weird reasons | Lorenz Kästle | 1 | -1/+1 | |
2025-06-23 | Adapt tests | Lorenz Kästle | 1 | -10/+14 | |
2025-06-23 | check_dhcp: little fix to output | Lorenz Kästle | 1 | -1/+1 | |
2025-06-23 | Refactor check_dhcp | Lorenz Kästle | 2 | -343/+448 | |
2025-06-23 | check_dhcp: clang-format | Lorenz Kästle | 1 | -65/+119 | |
2025-06-23 | Merge pull request #2130 from RincewindsHat/check_icmp/adjustements | Lorenz Kästle | 3 | -153/+157 | |
Check icmp/adjustements | |||||
2025-06-23 | check_icmp: Add missing line ending in help | Lorenz Kästle | 1 | -1/+1 | |