mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
While here, break some long lines, Use INSTALL_DATA to install sample config file since it's not supposed to be changed and re-generate patches using `make makepatch` PR: 230861 Approved by: maintainer timeout (> 1 month) Obtained from: pfSense Sponsored by: Rubicon Communications, LLC (Netgate)
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
--- examples/sshguard.conf.sample.orig 2018-06-25 21:13:07 UTC
|
|
+++ examples/sshguard.conf.sample
|
|
@@ -6,10 +6,12 @@
|
|
|
|
#### REQUIRED CONFIGURATION ####
|
|
# Full path to backend executable (required, no default)
|
|
-#BACKEND="/usr/local/libexec/sshg-fw-iptables"
|
|
+#BACKEND="/usr/local/libexec/sshg-fw-hosts"
|
|
+#BACKEND="/usr/local/libexec/sshg-fw-ipfw"
|
|
+#BACKEND="/usr/local/libexec/sshg-fw-pf"
|
|
|
|
# Space-separated list of log files to monitor. (optional, no default)
|
|
-#FILES="/var/log/auth.log /var/log/authlog /var/log/maillog"
|
|
+FILES="/var/log/auth.log /var/log/maillog"
|
|
|
|
# Shell command that provides logs on standard output. (optional, no default)
|
|
# Example 1: ssh and sendmail from systemd journal:
|
|
@@ -40,12 +42,12 @@ IPV4_SUBNET=32
|
|
# !! Warning: These features may not work correctly with sandboxing. !!
|
|
|
|
# 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
|
|
+#BLACKLIST_FILE=120:/var/db/sshguard/blacklist.db
|
|
|
|
# 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
|