From 510b4c7699a7e5dd437ec71c028075e5967054b5 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Wed, 1 Nov 2023 09:56:25 +0100 Subject: add correct rules for rngd, the one in the package are broken --- files/etc/logcheck/ignore.d.server/local-rngd | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 files/etc/logcheck/ignore.d.server/local-rngd diff --git a/files/etc/logcheck/ignore.d.server/local-rngd b/files/etc/logcheck/ignore.d.server/local-rngd new file mode 100644 index 0000000..ee809a3 --- /dev/null +++ b/files/etc/logcheck/ignore.d.server/local-rngd @@ -0,0 +1,9 @@ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: rngd [-.[:alnum:]]+ starting up\.\.\.$ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: stats: (bits received from HRNG source|bits sent to kernel pool|entropy added to kernel pool): [[:digit:]]+$ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: stats: FIPS 140-2 (successes|failures): [[:digit:]]+$ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: stats: FIPS 140-2\(2001-10-10\) (Monobit|Poker|Runs|Long run|Continuous run): [[:digit:]]+$ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: stats: (HRNG source|FIPS tests) speed: \(min=[.[[:digit:]]+; avg=[.[:digit:]]+; max=[.[:digit:]]+\)(K|M)ibits/s$ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: stats: (Lowest ready-buffers level|Entropy starvations): [[:digit:]]+$ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: stats: Time spent starving for entropy: \(min=[.[:digit:]]+; avg=[.[:digit:]]+; max=[.[:digit:]]+\)us$ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: entropy feed to the kernel ready$ +^(\w{3} [ :0-9]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ rngd\[[[:digit:]]+\]: Exiting\.\.\.$ -- cgit v1.2.3