Files

37 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2023-11-07 16:32:45 +01:00
--- examples/sshguard.conf.sample.orig 2021-12-02 18:54:22 UTC
2017-07-20 15:34:08 +00:00
+++ examples/sshguard.conf.sample
2018-01-18 01:15:48 +00:00
@@ -6,10 +6,12 @@
2017-07-20 15:34:08 +00:00
#### REQUIRED CONFIGURATION ####
# Full path to backend executable (required, no default)
2018-01-18 01:15:48 +00:00
-#BACKEND="/usr/local/libexec/sshg-fw-iptables"
+#BACKEND="/usr/local/libexec/sshg-fw-hosts"
2017-07-20 15:34:08 +00:00
+#BACKEND="/usr/local/libexec/sshg-fw-ipfw"
+#BACKEND="/usr/local/libexec/sshg-fw-pf"
2018-01-18 01:15:48 +00:00
# Space-separated list of log files to monitor. (optional, no default)
2017-07-20 15:34:08 +00:00
-#FILES="/var/log/auth.log /var/log/authlog /var/log/maillog"
+FILES="/var/log/auth.log /var/log/maillog"
2017-07-20 15:34:08 +00:00
2018-01-18 01:15:48 +00:00
# Shell command that provides logs on standard output. (optional, no default)
# Example 1: ssh and sendmail from systemd journal:
2023-11-07 16:32:45 +01:00
@@ -38,15 +40,15 @@ IPV4_SUBNET=32
2017-07-20 15:34:08 +00:00
2023-11-07 16:32:45 +01:00
#### EXTRAS ####
2017-07-20 15:34:08 +00:00
# Full path to PID file (optional, no default)
-#PID_FILE=/run/sshguard.pid
+#PID_FILE=/var/run/sshguard.pid
# Colon-separated blacklist threshold and full path to blacklist file.
# (optional, no default)
-#BLACKLIST_FILE=90:/var/lib/sshguard/enemies
2018-05-29 13:04:05 +00:00
+#BLACKLIST_FILE=120:/var/db/sshguard/blacklist.db
2017-07-20 15:34:08 +00:00
# IP addresses listed in the WHITELIST_FILE are considered to be
# friendlies and will never be blocked.
-#WHITELIST_FILE=/etc/friends
+#WHITELIST_FILE=/usr/local/etc/sshguard.whitelist
2023-11-07 16:32:45 +01:00
# If PARSER is unset, SSHGuard will use the installed sshg-parser as its
# parser. Setting PARSER overrides this, so that you can use your own parser.