Comment on Lots of dead Lemmy/Kbin domains have CNAME records pointing to a domain parking company
andrew_s@piefed.social 3 months agoMy experience from when my backend server died, and Lemmy instances were getting a 502 response to ActivityPub POST activity, they eventually stopped sending anything. They kept trying to GET stuff though (user account details, nodeinfo responses), and lemmy.ml has never stopped POSTing, even though I configured nginx to always respond 403 to anything from them for about a year now.
pcouy@lemmy.pierre-couy.fr 3 months ago
Lol, there are definitely some stubborn stuff out there. I’ve been serving 418 to a bunch of SEO crawlers - with fail2ban configured to drop all packets from their IPs/CIDR ranges after some attemps - for a few months now. They keep coming at the same rate as soon as they get unbanned. I guess they keep sending requests into the void for the whole ban duration.
Using the 418 for undesirable requests instead of a more common status code (such as 403) lets me easily filter these blocks in fail2ban, which can help weed out a lot of noise in server logs.
rammer@sopuli.xyz 3 months ago
That’s a really good idea. I’ll have to remember that.