mirror of https://github.com/fail2ban/fail2ban
RF: harmonize jail.conf (no explicit enabled=false in jails, match filter name for screesharingd, etc)
parent
69aa1feac0
commit
28c9832293
|
@ -240,7 +240,6 @@ backend = %(dropbear_backend)s
|
||||||
|
|
||||||
port = ssh
|
port = ssh
|
||||||
logpath = %(auditd_log)s
|
logpath = %(auditd_log)s
|
||||||
maxretry = 5
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -266,7 +265,6 @@ maxretry = 1
|
||||||
|
|
||||||
port = http,https
|
port = http,https
|
||||||
logpath = %(apache_error_log)s
|
logpath = %(apache_error_log)s
|
||||||
maxretry = 6
|
|
||||||
|
|
||||||
|
|
||||||
[apache-overflows]
|
[apache-overflows]
|
||||||
|
@ -304,18 +302,21 @@ port = http,https
|
||||||
logpath = %(apache_error_log)s
|
logpath = %(apache_error_log)s
|
||||||
maxretry = 2
|
maxretry = 2
|
||||||
|
|
||||||
|
|
||||||
[apache-shellshock]
|
[apache-shellshock]
|
||||||
|
|
||||||
port = http,https
|
port = http,https
|
||||||
logpath = %(apache_error_log)s
|
logpath = %(apache_error_log)s
|
||||||
maxretry = 1
|
maxretry = 1
|
||||||
|
|
||||||
|
|
||||||
[openhab-auth]
|
[openhab-auth]
|
||||||
|
|
||||||
filter = openhab
|
filter = openhab
|
||||||
action = iptables-allports[name=NoAuthFailures]
|
action = iptables-allports[name=NoAuthFailures]
|
||||||
logpath = /opt/openhab/logs/request.log
|
logpath = /opt/openhab/logs/request.log
|
||||||
|
|
||||||
|
|
||||||
[nginx-http-auth]
|
[nginx-http-auth]
|
||||||
|
|
||||||
port = http,https
|
port = http,https
|
||||||
|
@ -335,6 +336,7 @@ port = http,https
|
||||||
logpath = %(nginx_error_log)s
|
logpath = %(nginx_error_log)s
|
||||||
maxretry = 2
|
maxretry = 2
|
||||||
|
|
||||||
|
|
||||||
# Ban attackers that try to use PHP's URL-fopen() functionality
|
# Ban attackers that try to use PHP's URL-fopen() functionality
|
||||||
# through GET/POST variables. - Experimental, with more than a year
|
# through GET/POST variables. - Experimental, with more than a year
|
||||||
# of usage in production environments.
|
# of usage in production environments.
|
||||||
|
@ -399,7 +401,6 @@ logpath = /var/log/sogo/sogo.log
|
||||||
|
|
||||||
logpath = /var/log/tine20/tine20.log
|
logpath = /var/log/tine20/tine20.log
|
||||||
port = http,https
|
port = http,https
|
||||||
maxretry = 5
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -420,7 +421,6 @@ logpath = /var/log/tomcat*/catalina.out
|
||||||
|
|
||||||
[monit]
|
[monit]
|
||||||
#Ban clients brute-forcing the monit gui login
|
#Ban clients brute-forcing the monit gui login
|
||||||
filter = monit
|
|
||||||
port = 2812
|
port = 2812
|
||||||
logpath = /var/log/monit
|
logpath = /var/log/monit
|
||||||
|
|
||||||
|
@ -473,7 +473,6 @@ backend = %(proftpd_backend)s
|
||||||
port = ftp,ftp-data,ftps,ftps-data
|
port = ftp,ftp-data,ftps,ftps-data
|
||||||
logpath = %(pureftpd_log)s
|
logpath = %(pureftpd_log)s
|
||||||
backend = %(pureftpd_backend)s
|
backend = %(pureftpd_backend)s
|
||||||
maxretry = 6
|
|
||||||
|
|
||||||
|
|
||||||
[gssftpd]
|
[gssftpd]
|
||||||
|
@ -481,7 +480,6 @@ maxretry = 6
|
||||||
port = ftp,ftp-data,ftps,ftps-data
|
port = ftp,ftp-data,ftps,ftps-data
|
||||||
logpath = %(syslog_daemon)s
|
logpath = %(syslog_daemon)s
|
||||||
backend = %(syslog_backend)s
|
backend = %(syslog_backend)s
|
||||||
maxretry = 6
|
|
||||||
|
|
||||||
|
|
||||||
[wuftpd]
|
[wuftpd]
|
||||||
|
@ -489,7 +487,6 @@ maxretry = 6
|
||||||
port = ftp,ftp-data,ftps,ftps-data
|
port = ftp,ftp-data,ftps,ftps-data
|
||||||
logpath = %(wuftpd_log)s
|
logpath = %(wuftpd_log)s
|
||||||
backend = %(wuftpd_backend)s
|
backend = %(wuftpd_backend)s
|
||||||
maxretry = 6
|
|
||||||
|
|
||||||
|
|
||||||
[vsftpd]
|
[vsftpd]
|
||||||
|
@ -724,7 +721,6 @@ maxretry = 10
|
||||||
port = 3306
|
port = 3306
|
||||||
logpath = %(mysql_log)s
|
logpath = %(mysql_log)s
|
||||||
backend = %(mysql_backend)s
|
backend = %(mysql_backend)s
|
||||||
maxretry = 5
|
|
||||||
|
|
||||||
|
|
||||||
# Jail for more extended banning of persistent abusers
|
# Jail for more extended banning of persistent abusers
|
||||||
|
@ -740,7 +736,6 @@ logpath = /var/log/fail2ban.log
|
||||||
banaction = %(banaction_allports)s
|
banaction = %(banaction_allports)s
|
||||||
bantime = 604800 ; 1 week
|
bantime = 604800 ; 1 week
|
||||||
findtime = 86400 ; 1 day
|
findtime = 86400 ; 1 day
|
||||||
maxretry = 5
|
|
||||||
|
|
||||||
|
|
||||||
# Generic filter for PAM. Has to be used with action which bans all
|
# Generic filter for PAM. Has to be used with action which bans all
|
||||||
|
@ -786,7 +781,6 @@ action = %(banaction)s[name=%(__name__)s-tcp, port="%(tcpport)s", protocol="tcp
|
||||||
# nobody except your own Nagios server should ever probe nrpe
|
# nobody except your own Nagios server should ever probe nrpe
|
||||||
[nagios]
|
[nagios]
|
||||||
|
|
||||||
enabled = false
|
|
||||||
logpath = %(syslog_daemon)s ; nrpe.cfg may define a different log_facility
|
logpath = %(syslog_daemon)s ; nrpe.cfg may define a different log_facility
|
||||||
backend = %(syslog_backend)s
|
backend = %(syslog_backend)s
|
||||||
maxretry = 1
|
maxretry = 1
|
||||||
|
@ -794,18 +788,14 @@ maxretry = 1
|
||||||
|
|
||||||
[oracleims]
|
[oracleims]
|
||||||
# see "oracleims" filter file for configuration requirement for Oracle IMS v6 and above
|
# see "oracleims" filter file for configuration requirement for Oracle IMS v6 and above
|
||||||
enabled = false
|
|
||||||
logpath = /opt/sun/comms/messaging64/log/mail.log_current
|
logpath = /opt/sun/comms/messaging64/log/mail.log_current
|
||||||
maxretry = 6
|
|
||||||
banaction = %(banaction_allports)s
|
banaction = %(banaction_allports)s
|
||||||
|
|
||||||
[directadmin]
|
[directadmin]
|
||||||
enabled = false
|
|
||||||
logpath = /var/log/directadmin/login.log
|
logpath = /var/log/directadmin/login.log
|
||||||
port = 2222
|
port = 2222
|
||||||
|
|
||||||
[portsentry]
|
[portsentry]
|
||||||
enabled = false
|
|
||||||
logpath = /var/lib/portsentry/portsentry.history
|
logpath = /var/lib/portsentry/portsentry.history
|
||||||
maxretry = 1
|
maxretry = 1
|
||||||
|
|
||||||
|
@ -826,16 +816,12 @@ findtime = 1
|
||||||
[murmur]
|
[murmur]
|
||||||
# AKA mumble-server
|
# AKA mumble-server
|
||||||
port = 64738
|
port = 64738
|
||||||
filter = murmur
|
|
||||||
action = %(banaction)s[name=%(__name__)s-tcp, port="%(port)s", protocol=tcp, chain="%(chain)s", actname=%(banaction)s-tcp]
|
action = %(banaction)s[name=%(__name__)s-tcp, port="%(port)s", protocol=tcp, chain="%(chain)s", actname=%(banaction)s-tcp]
|
||||||
%(banaction)s[name=%(__name__)s-udp, port="%(port)s", protocol=udp, chain="%(chain)s", actname=%(banaction)s-udp]
|
%(banaction)s[name=%(__name__)s-udp, port="%(port)s", protocol=udp, chain="%(chain)s", actname=%(banaction)s-udp]
|
||||||
logpath = /var/log/mumble-server/mumble-server.log
|
logpath = /var/log/mumble-server/mumble-server.log
|
||||||
|
|
||||||
|
|
||||||
[screensharing]
|
[screensharingd]
|
||||||
# For Mac OS Screen Sharing Service (VNC)
|
# For Mac OS Screen Sharing Service (VNC)
|
||||||
enabled = false
|
|
||||||
filter = screensharingd
|
|
||||||
logpath = /var/log/system.log
|
logpath = /var/log/system.log
|
||||||
logencoding=utf-8
|
logencoding = utf-8
|
||||||
maxretry = 4
|
|
||||||
|
|
Loading…
Reference in New Issue