Major changes:
* Recognize rejections from Postfix's postscreen daemon
* The parser can now be changed using the PARSER and POST_PARSER options
* Remove some false positive attack signatures for SSH and Cyrus
* Adjust log verbosity of some log messages
* The firewalld backend now uses firewall-cmd instead of iptables to flush block lists
Full changelog : https://bitbucket.org/sshguard/sshguard/src/v2.4.2/CHANGELOG.rst
PR: 256575
Reported by: <sirdice@gmail.com>
Approved by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)
20 lines
505 B
Plaintext
20 lines
505 B
Plaintext
--- src/sshguard.in.orig 2021-06-06 14:54:07 UTC
|
|
+++ src/sshguard.in
|
|
@@ -98,14 +98,8 @@ elif [ -z "$tailcmd" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
-if [ -n "$PID_FILE" ]; then
|
|
- if [ ! -e "$PID_FILE" ]; then
|
|
- echo "$$" > $PID_FILE
|
|
- else
|
|
- err "$PID_FILE already exists; is SSHGuard already running?"
|
|
- exit 1
|
|
- fi
|
|
-fi
|
|
+# Already checked by rc(8)
|
|
+echo "$$" > $PID_FILE
|
|
|
|
# Select PARSER from configuration file or use default. Add POST_PARSER from
|
|
# configuration file if it exists.
|