update fail2ban
This commit is contained in:
parent
3dc427c467
commit
b6f52ed1d9
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ with lib;
|
||||||
"fail2ban/filter.d/nginx-git-not-found.local".text = ''
|
"fail2ban/filter.d/nginx-git-not-found.local".text = ''
|
||||||
[Definition]
|
[Definition]
|
||||||
failregex = src_addr="<HOST>".*response_statu="404".*host="git\.ingolf-wagner\.de"
|
failregex = src_addr="<HOST>".*response_statu="404".*host="git\.ingolf-wagner\.de"
|
||||||
journalmatch = _SYSTEMD_UNIT=nginx.service + _COMM=nginx
|
journalmatch = _SYSTEMD_UNIT=nginx.service
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
@ -42,7 +42,7 @@ with lib;
|
||||||
"fail2ban/filter.d/nginx-git-bad-request.local".text = ''
|
"fail2ban/filter.d/nginx-git-bad-request.local".text = ''
|
||||||
[Definition]
|
[Definition]
|
||||||
failregex = src_addr="<HOST>".*response_statu="400".*host="git\.ingolf-wagner\.de"
|
failregex = src_addr="<HOST>".*response_statu="400".*host="git\.ingolf-wagner\.de"
|
||||||
journalmatch = _SYSTEMD_UNIT=nginx.service + _COMM=nginx
|
journalmatch = _SYSTEMD_UNIT=nginx.service
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue