Skip to content

Instantly share code, notes, and snippets.

View olaldiko's full-sized avatar

Gorka Olalde Mendia olaldiko

View GitHub Profile
@olaldiko
olaldiko / postgres.conf (filter.d)
Created July 14, 2021 14:59
Fail2Ban PostgreSQL Ban IP
# /etc/fail2ban/filter.d/postgres.conf
[Definition]
failregex = ^<HOST>.+FATAL: password authentication failed for user.+$