Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.43k stars 382 forks source link

Idea: Detect if a user is connecting from a TOR exit node #356

Closed hakusaro closed 12 years ago

hakusaro commented 12 years ago

Would help prevent people from using TOR. That's about my only reason.

k0rd commented 12 years ago

this is not detectable through any method that I know about we'll probably need to maintain or use an exit node list...

ColinBohn commented 12 years ago

Many proxy blacklists contain tor exit nodes, in general I'd love to see TShock servers check all IPs against those blacklists, maybe build a cache off of it to prevent having to check each IP each time. With this, IP banning could be expanded upon since proxies would be less of a problem.

katanacrimson commented 12 years ago

This is what a firewall is for.

hakusaro commented 12 years ago

It's actually not.

katanacrimson commented 12 years ago

either way, this guy provides the tor exit nodes, this is what you'd be looking for: https://www.dan.me.uk/dnsbl

k0rd commented 12 years ago

we were tossing around the idea of adding DNSBL support also I think I just got bit by a spider.

katanacrimson commented 12 years ago

well, why reinvent the wheel in any case - don't create your own list, use his - there's also a text/plain version that contains the entire list of tor exit nodes that you can pull once an hour per IP, iirc.

k0rd commented 12 years ago

dnsbl is recreating the wheel? I hope you're not being serious.

katanacrimson commented 12 years ago

No, I mean generating and maintaining your own list :P

Olink commented 12 years ago

What k0rd meant was that we were thinking of adding the code to use a dnsbl, not create our own :D

Slight miscommunication.

k0rd commented 12 years ago

creating a plugin for this.