summaryrefslogtreecommitdiff
path: root/hosts/station/fail2ban/jail.d/station.local
blob: 211061200f4c1f357ded4b21417b146686973cea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[DEFAULT]
maxretry = 4
findtime = 60m
bantime = 24h
backend = systemd
logtarget = SYSTEMD-JOURNAL
banaction = nftables-multiport
banaction_allports = nftables-allports
#mta = sendmail
#destemail = mark@akon.city
#action = %(action_)s
#  %(mta)s-whois-matches[sender="%(sender)s", dest="%(destemail)s", chain="%(chain)s"] 

[postfix]
enabled = true
mode = aggressive
journalmatch=_SYSTEMD_UNIT=postfix.service

[sieve]
enabled = true
journalmatch=_SYSTEMD_UNIT=dovecot.service

[dovecot]
enabled = true
journalmatch=_SYSTEMD_UNIT=dovecot.service

[dovecot-pop3imap]
enabled = true
filter = dovecot-pop3imap
journalmatch=_SYSTEMD_UNIT=dovecot.service

[nginx-limit-req]
enabled = true
journalmatch=_SYSTEMD_UNIT=nginx.service

[sshd]
enabled = true
mode = aggressive
journalmatch=_SYSTEMD_UNIT=ssh.service