Skip to content

Commit ad28bf1

Browse files
committed
Lower threshold for ban-worthy HTTP 429 and double bantime
1 parent b6d01b9 commit ad28bf1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ansible/openrailwaymap/fail2ban_custom.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
port = http,https
4949
filter = apache-429
5050
logpath = %(apache_access_log)s
51-
maxretry = 10000
51+
maxretry = 5000
5252
banaction = ufw
53-
bantime = 12h
53+
bantime = 24h
5454
findtime = 12h
5555
# Avoid accidential banning of Deutsche Bahn in order to keep email inbox small :-)
5656
ignoreips = 81.200.197.0/24

0 commit comments

Comments
 (0)