#reactionrust — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #reactionrust, aggregated by home.social.
-
Someone wrote a wiki page to ban IPs using ipset.
If you ban IPs with iptables, consider switching to ipset, as it's much faster!
https://reaction.ppom.me/actions/ipset.html -
Ok I just switched reaction's ip bans from plain iptables to ipset.
This made reaction startup 10 times faster on server 1.
2,600 ips added in 3s instead of 30s.ipset is far superior than plain iptables for big IP lists. I knew this but I'm still surprised now that I see this!
And the firewall stack must be much faster as well when treating incoming packets!
-
I also published an article on how to set up alerting for systemd units.
>_
-
I also published an article on how to set up alerting for systemd units.
>_
-
I also published an article on how to set up alerting for systemd units.
>_
-
I also published an article on how to set up alerting for systemd units.
>_
-
I also published an article on how to set up alerting for systemd units.
>_
-
So, someone in the issue made me realize that some bots impersonate the user agents of big actors, such as Googlebot. I checked my webserver logs and found a lot of them actually!
I liked the challenge, so I just wrote an article about how to do this in less than 40 SLOC 🏆
https://reaction.ppom.me/filters/useragent-impersonators.html