mirror of https://github.com/fail2ban/fail2ban
BF: jail.conf multiport actions previously using single port iptables
parent
e433a5c633
commit
606e97683b
|
@ -229,7 +229,7 @@ logpath = /var/log/apache2/error_log
|
|||
|
||||
enabled = false
|
||||
filter = roundcube-auth
|
||||
action = iptables[name=RoundCube, port="http,https"]
|
||||
action = iptables-multiport[name=RoundCube, port="http,https"]
|
||||
logpath = /var/log/roundcube/userlogins
|
||||
|
||||
|
||||
|
@ -241,7 +241,7 @@ enabled = false
|
|||
filter = sogo-auth
|
||||
# without proxy this would be:
|
||||
# port = 20000
|
||||
action = iptables[name=SOGo, port="http,https"]
|
||||
action = iptables-multiport[name=SOGo, port="http,https"]
|
||||
logpath = /var/log/sogo/sogo.log
|
||||
|
||||
# Ban attackers that try to use PHP's URL-fopen() functionality
|
||||
|
@ -251,7 +251,7 @@ logpath = /var/log/sogo/sogo.log
|
|||
[php-url-fopen]
|
||||
|
||||
enabled = false
|
||||
action = iptables[name=php-url-open, port="http,https"]
|
||||
action = iptables-multiport[name=php-url-open, port="http,https"]
|
||||
filter = php-url-fopen
|
||||
logpath = /var/www/*/logs/access_log
|
||||
maxretry = 1
|
||||
|
@ -267,7 +267,7 @@ maxretry = 1
|
|||
|
||||
enabled = false
|
||||
filter = lighttpd-fastcgi
|
||||
action = iptables[name=lighttpd-fastcgi, port="http,https"]
|
||||
action = iptables-multiport[name=lighttpd-fastcgi, port="http,https"]
|
||||
# adapt the following two items as needed
|
||||
logpath = /var/log/lighttpd/error.log
|
||||
maxretry = 2
|
||||
|
@ -279,7 +279,7 @@ maxretry = 2
|
|||
|
||||
enabled = false
|
||||
filter = lighttpd-auth
|
||||
action = iptables[name=lighttpd-auth, port="http,https"]
|
||||
action = iptables-multiport[name=lighttpd-auth, port="http,https"]
|
||||
# adapt the following two items as needed
|
||||
logpath = /var/log/lighttpd/error.log
|
||||
maxretry = 2
|
||||
|
@ -405,7 +405,7 @@ maxretry=5
|
|||
|
||||
enabled = false
|
||||
filter = 3proxy
|
||||
action = iptables-multiport[name=3proxy, port=3128, protocol=tcp]
|
||||
action = iptables[name=3proxy, port=3128, protocol=tcp]
|
||||
logpath = /var/log/3proxy.log
|
||||
|
||||
[exim]
|
||||
|
|
Loading…
Reference in New Issue