Technical notes
Things I found while solving real problems.
- 5 min read
A backup with no tested restore isn't a backup
The dump runs every day and never fails. That says nothing about whether it works. How I built a check that does say it, and why it deliberately ignores some tables.
- PostgreSQL
- Backups
- systemd
- 6 min read
django-axes wasn't protecting me from anything
The library that blocks brute-force login attempts was installed, configured and running. It was also recording the wrong IP, which made it useless and, on top of that, dangerous.
- Django
- Seguridad
- Reverse proxy
- 4 min read
Your firewall is lying: Docker writes iptables underneath
You can have ufw enabled, set to deny-all, and a database exposed to the internet at the same time. The firewall will tell you everything is closed, and from its point of view that's true.
- Docker
- Firewall
- Linux