ich bin gerade dabei einn neuen Webserver aufzusetzen, dabei macht die neue Fail2ban Probleme ...
weiss jemand woran das liegen kann?
Code: Alles auswählen
17-07-15 18:20:53,887 fail2ban.filter [424]: INFO Set jail log file encoding to ANSI_X3.4-1968
2017-07-15 18:20:53,890 fail2ban.jail [424]: INFO Jail 'sshd' started
2017-07-15 18:20:53,891 fail2ban.jail [424]: INFO Jail 'apache-badbots' started
2017-07-15 18:20:53,892 fail2ban.jail [424]: INFO Jail 'apache-noscript' started
2017-07-15 18:20:53,893 fail2ban.jail [424]: INFO Jail 'apache-overflows' started
2017-07-15 18:20:53,894 fail2ban.jail [424]: INFO Jail 'apache-fakegooglebot' started
2017-07-15 18:20:53,894 fail2ban.jail [424]: INFO Jail 'apache-shellshock' started
2017-07-15 18:20:53,895 fail2ban.jail [424]: INFO Jail 'proftpd' started
2017-07-15 18:20:53,896 fail2ban.jail [424]: INFO Jail 'courier-smtp' started
2017-07-15 18:20:53,897 fail2ban.jail [424]: INFO Jail 'postfix' started
2017-07-15 18:20:53,897 fail2ban.jail [424]: INFO Jail 'courier-auth' started
2017-07-15 18:20:53,898 fail2ban.jail [424]: INFO Jail 'ssh-ddos' started
2017-07-15 18:20:53,898 fail2ban.jail [424]: INFO Jail 'wordpress' started
2017-07-15 18:20:53,899 fail2ban.jail [424]: INFO Jail 'roundcube' started
2017-07-15 18:20:54,928 fail2ban.action [424]: ERROR iptables -w -N f2b-courier-auth
iptables -w -A f2b-courier-auth -j RETURN
iptables -w -I INPUT -p tcp -m multiport --dports smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s -j f2b-courier-auth -- stdout: b''
2017-07-15 18:20:54,930 fail2ban.action [424]: ERROR iptables -w -N f2b-courier-auth
iptables -w -A f2b-courier-auth -j RETURN
iptables -w -I INPUT -p tcp -m multiport --dports smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s -j f2b-courier-auth -- stderr: b"iptables v1.6.0: invalid port/service `imap3' specified\nTry `iptables -h' or 'iptables --help' for more information.\n"
2017-07-15 18:20:54,930 fail2ban.action [424]: ERROR iptables -w -N f2b-courier-auth
iptables -w -A f2b-courier-auth -j RETURN
iptables -w -I INPUT -p tcp -m multiport --dports smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s -j f2b-courier-auth -- returned 2
2017-07-15 18:20:54,930 fail2ban.actions [424]: ERROR Failed to start jail 'courier-auth' action 'iptables-multiport': Error startin
Code: Alles auswählen
[postfix-sasl]
enabled = false
#port = smtp,465,submission,imap2,imap3,imaps,pop3,pop3s
port = smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s
filter = postfix-sasl
# You might consider monitoring /var/log/mail.warn instead if you are
# running postfix since it would provide the same log lines at the
# "warn" level but overall at the smaller filesize.
logpath = /var/log/mail.warn
[courier-auth]
enabled = true
#port = smtp,465,submission,imap2,imap3,imaps,pop3,pop3s
port = smtp,ssmtp,submission,imap2,imap3,imaps,pop3,pop3s
filter = courier-auth
logpath = /var/log/mail.log