From 8ae9d858b3d81d5aebb1db905fbe6e087df5025c Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Sun, 30 Mar 2025 10:41:13 +0000 Subject: [PATCH] First commit --- sshguard/sshguard.opensuse | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sshguard/sshguard.opensuse diff --git a/sshguard/sshguard.opensuse b/sshguard/sshguard.opensuse new file mode 100644 index 0000000..7964df0 --- /dev/null +++ b/sshguard/sshguard.opensuse @@ -0,0 +1,19 @@ +BACKEND="/usr/libexec/sshg-fw-iptables" + +#FILES="/var/log/auth.log /var/log/authlog /var/log/maillog" +#LOGREADER="LANG=C /usr/bin/journalctl -afb -p info -n1 -t sshd -t sendmail -o cat" +#LOGREADER="/usr/bin/log stream --style syslog --predicate '(processImagePath contains \"sshd\")'" +#LOGREADER="LANG=C /usr/bin/journalctl -afb -p info -n1 -t sshd -o cat" +LOGREADER="LANG=C.UTF-8 /usr/bin/journalctl -afb -p info -n1 -t sshd-session -o cat" + +#### OPTIONS #### +THRESHOLD=30 +BLOCK_TIME=120 +DETECTION_TIME=1800 +IPV6_SUBNET=128 +IPV4_SUBNET=32 + +#### EXTRAS #### +PID_FILE="/run/sshguard.pid" +BLACKLIST_FILE="30:/var/lib/sshguard/blacklist" +WHITELIST_FILE="/etc/sshguard/whitelist"