Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# Openhab brute force auth filter: /etc/fail2ban/filter.d/openhab.conf:
2
#
3
# Block IPs trying to auth openhab by web or rest api
4
#
5
# Matches e.g.
6
# 12.34.33.22 -  -  [26/sept./2015:18:04:43 +0200] "GET /openhab.app HTTP/1.1" 401 1382
7
# 175.18.15.10 -  -  [02/sept./2015:00:11:31 +0200] "GET /rest/bindings HTTP/1.1" 401 1384
8
 
9
[Definition]
10
failregex = ^<HOST>\s+-\s+-\s+\[\]\s+"[A-Z]+ .*" 401 \d+\s*$
11
 
12
datepattern = %%d/%%b[^/]*/%%Y:%%H:%%M:%%S %%z
13
 
14
 
15