diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service50Ejabberd b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service50Ejabberd index bae5df6..f9b5f11 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service50Ejabberd +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service50Ejabberd @@ -9,7 +9,7 @@ $OUT .=<<"EOF"; [ejabberd] enabled = true -filter = ejabberd +filter = ejabberd-auth logpath = /var/log/ejabberd.run/current action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime] EOF diff --git a/root/etc/fail2ban/filter.d/ejabberd.conf b/root/etc/fail2ban/filter.d/ejabberd.conf deleted file mode 100644 index 9a410c0..0000000 --- a/root/etc/fail2ban/filter.d/ejabberd.conf +++ /dev/null @@ -1,4 +0,0 @@ -[Definition] - -failregex = Failed authentication for .*@.* from IP -ignoreregex =