open-contracting / deploy

Deployment configuration and scripts
https://ocdsdeploy.readthedocs.io/en/latest/
Apache License 2.0
2 stars 3 forks source link

Consider fail2ban for PostgreSQL #238

Open jpmckinney opened 3 years ago

jpmckinney commented 3 years ago

https://serverfault.com/a/752351/542637

And to test the regex: https://github.com/fail2ban/fail2ban/blob/9bedc3c38385a2eb3c62677360c520a58819b9b1/FILTERS#L247

jpmckinney commented 6 months ago

Automated mass-login attempts cause the server to go down, see e.g. /var/log/postgresql/postgresql-15-main.log.bak.gz starting from 2023-10-23 00:11:44.677.