summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-11-01 09:56:25 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-11-01 09:56:25 +0100
commit510b4c7699a7e5dd437ec71c028075e5967054b5 (patch)
tree562fe45d1dab60c840e735510268c3b99ab25781 /files
parent022ee1a067a3bb5ac33ee17a9fc4b5aec72e2ab4 (diff)
add correct rules for rngd, the one in the package are broken
Diffstat (limited to 'files')
-rw-r--r--files/etc/logcheck/ignore.d.server/local-rngd9
1 files changed, 9 insertions, 0 deletions
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\.\.\.$