VPNBlocker

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

VPNBlocker

Post by allejo » Thu Aug 15, 2019 3:27 am

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 ]
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

Danji
Private First Class
Private First Class
Posts: 6
Joined: Thu Apr 17, 2014 5:09 am

Re: VPNBlocker

Post by Danji » Thu Sep 05, 2019 6:05 am

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: 989
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: VPNBlocker

Post by optic delusion » Sat Sep 14, 2019 11:56 pm

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 » Tue Sep 17, 2019 3:50 pm

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: 4741
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: VPNBlocker

Post by blast » Tue Sep 17, 2019 9:35 pm

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: 3856
Joined: Wed Mar 23, 2005 1:02 am
Location: outer Slovenia
Contact:

Re: VPNBlocker

Post by kierra » Tue Sep 17, 2019 10:03 pm

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"

User avatar
Zehra
Private First Class
Private First Class
Posts: 618
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: VPNBlocker

Post by Zehra » 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.

-Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~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.

User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 762
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: VPNBlocker

Post by allejo » Tue Sep 17, 2019 11:49 pm

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.
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

Lancer_MiG21
Private
Private
Posts: 4
Joined: Tue Sep 17, 2019 3:14 pm

Re: VPNBlocker

Post by Lancer_MiG21 » Sat Sep 28, 2019 6:56 am

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