VPNBlocker

Expand and mod your server.
Post Reply
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

VPNBlocker

Post by allejo »

With the unfortunate rise of VPN abuse, I was forced to write a plug-in to auto-kick players who were on VPNs. Since then, I've kept the plug-in private and have shared it with other server owners but it's now time to release it to the public and let others use it or improve on it.

Note, this plug-in does not guarantee it will be able to kick all VPNs. The plug-in is only as good as the service you're using. IPHub is currently the only service that has first-class support in the plug-in but you can query other services or build your own! Detecting VPNs is not an easy task and most of the time, it just requires a very large database of IPs; most VPNs are designed to be transparent, afterall.

This plug-in allows for a lot of customization and can be really powerful, so be sure to read the README for full details about how to configure it.

All development for this plug-in occurs on GitHub, so be sure to follow development and new releases there; I will very rarely update this post with updates on new releases. The link below will always point to the latest stable release.

Plug-in Download (BZFS 2.4.12+)
[ GitHub | README | Download | MIT ]
Danji
Private First Class
Private First Class
Posts: 6
Joined: Thu Apr 17, 2014 5:09 am

Re: VPNBlocker

Post by Danji »

Great, hackers are on the rise and I'm sure they would love to abuse VPN's.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: VPNBlocker

Post by optic delusion »

The newer configuration options have made it quite effective against the evolving tactics of those wishing to evade it's effects.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Lancer_MiG21
Private
Private
Posts: 4
Joined: Tue Sep 17, 2019 3:14 pm

Re: VPNBlocker

Post by Lancer_MiG21 »

Damn, I have to use a VPN when I'm working abroad quite often... I guess I'll find other games to play during that time then.
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: VPNBlocker

Post by blast »

Or play on servers that aren't running this plugin.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
kierra
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 4108
Joined: Wed Mar 23, 2005 1:02 am
Location: outer Slovenia
Contact:

Re: VPNBlocker

Post by kierra »

Lancer_miG21, Please read the forum pm I sent you.
"Sometimes people try to expose what's wrong with you, because they can't handle what's right about you."
"Measure your words -- they determine the distance of your relationships"
"If serving is beneath you, leadership is beyond ypu."
User avatar
Zehra
Private First Class
Private First Class
Posts: 915
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

Re: VPNBlocker

Post by Zehra »

It certainly is possible to modify the plug-in to allow registered users to connect via VPN, but disallow unregistered ones to connect via VPN.

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra

See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.

Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: VPNBlocker

Post by allejo »

Zehra wrote: Tue Sep 17, 2019 10:38 pm It certainly is possible to modify the plug-in to allow registered users to connect via VPN, but disallow unregistered ones to connect via VPN.
Or, you know, you could read the README and see that this plug-in looks for an ALLOWVPN permission. You can add this to your group file.

Code: Select all

VERIFIED: +ALLOWVPN
Which, I don't recommend because then users can just create new accounts to bypass this plug-in. I recommend the allow_vpn and max_bzid configuration file settings.
Lancer_MiG21
Private
Private
Posts: 4
Joined: Tue Sep 17, 2019 3:14 pm

Re: VPNBlocker

Post by Lancer_MiG21 »

blast wrote: Tue Sep 17, 2019 9:35 pm Or play on servers that aren't running this plugin.
Well, that's a solution, sorry for the stupid question :oops:

Kierra, I've seen it, I'm answering right now!
Post Reply