14 lines
453 B
Diff
14 lines
453 B
Diff
|
Index: fail2ban-1.0.2/config/filter.d/sshd.conf
|
||
|
===================================================================
|
||
|
--- fail2ban-1.0.2.orig/config/filter.d/sshd.conf
|
||
|
+++ fail2ban-1.0.2/config/filter.d/sshd.conf
|
||
|
@@ -16,7 +16,7 @@ before = common.conf
|
||
|
|
||
|
[DEFAULT]
|
||
|
|
||
|
-_daemon = sshd
|
||
|
+_daemon = sshd(?:-session)?
|
||
|
|
||
|
# optional prefix (logged from several ssh versions) like "error: ", "error: PAM: " or "fatal: "
|
||
|
__pref = (?:(?:error|fatal): (?:PAM: )?)?
|