Follow

tip: If you have access to your server's command line and the nginx config, you can block requests from bad-actor servers (like freefedifollowers.ga).

In /etc/nginx/, create blockips.conf.

Edit nginx.conf. In the http{} block, add this line:

include blockips.conf;

Use the ping to get the IP address associated with the domain name of the remote server.

In blockips.conf, add this line:

deny xxx.xxx.xxx.xxx;

where xxx... is the IP address you just got.

Restart nginx.

Β· Web Β· 5 Β· 17 Β· 22

In the future, if there's another server you want to block, you can just repeat the last three steps (get IP, add 'deny' line, restart nginx).

@noelle this doesn't work for freefedifollowers.ga, it's behind cloudflare

@noelle i should prob write a masto resolver just for those instances

@noelle oh, weird
here's some that are less wellknown
103.114.191.45 - kf
185.83.215.91 - gab

@noelle couldn't this this type of block be a little bit over boarding? Eventually a bad actor could create a spammy instance on a shared hosting with only limited IP addresses.. Don't know of this configurations are around in the wild thou ...

@noelle that doesn't help if they change their IP or uses an outbound proxy

@feld gotta say, I did not expect "but what about <edge case>" from an instance named after bikeshedding

@noelle It''s exactly what I'd do if I wanted to be abusive on the fediverse to evade most attempts at blocking. These people are not stupid and they will use these methods.
Sign in to participate in the conversation
Elekk: Mastodon for Gamers

Elekk is a Mastodon instance by gamers, for gamers. Games of any type are welcome here - computer, video, tabletop, etc. - as well as game development of any kind. GAMERGATE AND THE ALT-RIGHT ARE NOT WELCOME HERE. Elekk is not hosted in the EU and does not recognize the authority of the EU to govern the internet.