mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
More strict variable changes
changing the findtime / bantime and max retry to a more strict state then the defaults.
This commit is contained in:
parent
98628622c7
commit
2005cbbed7
@ -11,59 +11,68 @@ ignoreip = 127.0.0.1/8 PUBLIC_IP ::1 PUBLIC_IPV6
|
|||||||
enabled = true
|
enabled = true
|
||||||
filter = dovecotimap
|
filter = dovecotimap
|
||||||
logpath = /var/log/mail.log
|
logpath = /var/log/mail.log
|
||||||
findtime = 30
|
findtime = 24h
|
||||||
maxretry = 20
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
|
||||||
[miab-management]
|
[miab-management]
|
||||||
enabled = true
|
enabled = true
|
||||||
filter = miab-management-daemon
|
filter = miab-management-daemon
|
||||||
port = http,https
|
port = http,https
|
||||||
logpath = /var/log/syslog
|
logpath = /var/log/syslog
|
||||||
maxretry = 20
|
findtime = 24h
|
||||||
findtime = 30
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
|
||||||
[miab-munin]
|
[miab-munin]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = http,https
|
port = http,https
|
||||||
filter = miab-munin
|
filter = miab-munin
|
||||||
logpath = /var/log/nginx/access.log
|
logpath = /var/log/nginx/access.log
|
||||||
maxretry = 20
|
findtime = 24h
|
||||||
findtime = 30
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
|
||||||
[miab-owncloud]
|
[miab-owncloud]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = http,https
|
port = http,https
|
||||||
filter = miab-owncloud
|
filter = miab-owncloud
|
||||||
logpath = STORAGE_ROOT/owncloud/nextcloud.log
|
logpath = STORAGE_ROOT/owncloud/nextcloud.log
|
||||||
maxretry = 20
|
findtime = 24h
|
||||||
findtime = 120
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
|
||||||
[miab-postfix465]
|
[miab-postfix465]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = 465
|
port = 465
|
||||||
filter = miab-postfix-submission
|
filter = miab-postfix-submission
|
||||||
logpath = /var/log/mail.log
|
logpath = /var/log/mail.log
|
||||||
maxretry = 20
|
findtime = 24h
|
||||||
findtime = 30
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
|
||||||
[miab-postfix587]
|
[miab-postfix587]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = 587
|
port = 587
|
||||||
filter = miab-postfix-submission
|
filter = miab-postfix-submission
|
||||||
logpath = /var/log/mail.log
|
logpath = /var/log/mail.log
|
||||||
maxretry = 20
|
findtime = 24h
|
||||||
findtime = 30
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
|
||||||
[miab-roundcube]
|
[miab-roundcube]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = http,https
|
port = http,https
|
||||||
filter = miab-roundcube
|
filter = miab-roundcube
|
||||||
logpath = /var/log/roundcubemail/errors.log
|
logpath = /var/log/roundcubemail/errors.log
|
||||||
maxretry = 20
|
findtime = 24h
|
||||||
findtime = 30
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
|
||||||
[recidive]
|
[recidive]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
findtime = 24h
|
||||||
|
bantime = 24h
|
||||||
maxretry = 10
|
maxretry = 10
|
||||||
action = iptables-allports[name=recidive]
|
action = iptables-allports[name=recidive]
|
||||||
# In the recidive section of jail.conf the action contains:
|
# In the recidive section of jail.conf the action contains:
|
||||||
@ -79,8 +88,12 @@ action = iptables-allports[name=recidive]
|
|||||||
|
|
||||||
[postfix-sasl]
|
[postfix-sasl]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
findtime = 24h
|
||||||
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
|
||||||
[sshd]
|
[sshd]
|
||||||
enabled = true
|
enabled = true
|
||||||
maxretry = 7
|
findtime = 24h
|
||||||
bantime = 3600
|
bantime = 24h
|
||||||
|
maxretry = 10
|
||||||
|
Loading…
Reference in New Issue
Block a user