1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00

add ignore file for chkrootkit

This commit is contained in:
KiekerJan 2021-05-01 23:36:51 +02:00
parent 2973307cf8
commit 575e5144d5
2 changed files with 6 additions and 2 deletions

1
conf/chkrootkit.ignore Normal file
View File

@ -0,0 +1 @@
^eth[0-9]{1}: PACKET SNIFFER\(\/usr\/lib\/systemd\/systemd-networkd\[[0-9]+\]\)$

View File

@ -48,10 +48,13 @@ tools/editconf.py /etc/default/rkhunter \
CRON_DB_UPDATE='"true"' \ CRON_DB_UPDATE='"true"' \
APT_AUTOGEN='"true"' APT_AUTOGEN='"true"'
hide_output install -m 644 conf/chkrootkit.ignore /etc/
tools/editconf.py /etc/chkrootkit.conf \ tools/editconf.py /etc/chkrootkit.conf \
RUN_DAILY='"true"' \ RUN_DAILY='"true"' \
DIFF_MODE='"true"' DIFF_MODE='"true"' \
IGNORE_FILE="/etc/chkrootkit.ignore"
# Should be last, update expected output # Should be last, update expected output
rkhunter --propupd rkhunter --propupd
chkrootkit -q > /var/log/chkrootkit/log.expected chkrootkit -q | egrep -v -f /etc/chkrootkit.ignore > /var/log/chkrootkit/log.expected