supabase-postgres.git / summary / log / commit / refs
commit 3fcda0bfde6b1ee4c230911292a2cafdbfe9775d
Author: Etienne Stalmans <staaldraad@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Date: Thu Jan 29 19:15:52 2026 +0000
feat: add more fail2ban matches (#2020)
ansible/files/fail2ban_config/filter-pgbouncer.conf.j2 | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ansible/files/fail2ban_config/filter-pgbouncer.conf.j2 b/ansible/files/fail2ban_config/filter-pgbouncer.conf.j2
index 3a3a52ec..24418cb3 100644
--- a/ansible/files/fail2ban_config/filter-pgbouncer.conf.j2
+++ b/ansible/files/fail2ban_config/filter-pgbouncer.conf.j2
@@ -1,3 +1,8 @@
+[Init]
+maxlines = 3
+
[Definition]
failregex = ^.+@<HOST>:.+password authentication failed$
+ ^.+@<HOST>:.+pooler error: no such user$
+ ^.+@<HOST>:.+registered new auto-database.*\n.*\n.*server login failed: FATAL database ".+" does not exist.*$
journalmatch = _SYSTEMD_UNIT=pgbouncer.service
[parent: acdab31a2fba]