[ANY] VPN Block
Description
This plugin's purpose is to kick anyone who tries to join your server with a VPN. It does it by checking from this website whether the client who is joining your server is using a VPN or not. It then saves the ip and whether it's a proxy to a database so it doesn't need to check the same ip many times. You can use either mysql or sqlite database with this plugin. The plugin creates a log file to sourcemod/logs/VPNBlock_Log.txt and logs everyone who tries to join the server with a VPN. Admin commands (require flag z) PHP Code:
CVars are saved to your cfg/sourcemod/VPNBlock.cfg file. PHP Code:
Installation
Changelog Code:
1.1.0 (17-Jan-2019) Direct download |
Re: [ANY] VPN Block
|
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
Great plugin just some small problem but its not the plugins problem it can give a false positives but other wise really good plugin:)
|
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
Quote:
With this one, your server is calling a third party every time, to ask whether or not the IP is a proxy/VPN, and if it claims it is, it will act accordingly - and automated, without your you need to get your hands on the job with generating the list of bad IP addresses. |
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
I seem to be getting a fair few false positives.
|
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
Quote:
EDIT: I definitely think that there should be two checks put in place as I'm having a fair few people a day come to me asking to be unblocked and I'm checking their IPs and they're valid ISPs. |
Re: [ANY] VPN Block
Quote:
Quote:
|
Re: [ANY] VPN Block
Quote:
I don't have this problem myself because I think that 3rd party website detects all isps from my coutry as not proxy but I'll probably change the default site to something else and maybe provide a config from which you can easily change it yourself. |
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
L 01/08/2019 - 18:26:01: [SM] Exception reported: Databases don't work
L 01/08/2019 - 18:26:01: [SM] Blaming: VPNBlock.smx L 01/08/2019 - 18:26:01: [SM] Call stack trace: L 01/08/2019 - 18:26:01: [SM] [0] SetFailState L 01/08/2019 - 18:26:01: [SM] [1] Line 36, VPNBlock.sp::OnSqlConnect |
Re: [ANY] VPN Block
Any particular reason you decided on using System2 vs SteamWorks for the http requests? Just curious, as SteamWorks definitely is more widely used, and I'm sure I speak for others when I say the less dependencies, the better. :)
|
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
2 Attachment(s)
no block/kick version just logging..
|
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
You are right, steamworks definitely is more widely used extension and I changed the http requests to use it instead and made some other changes aswell.
Code:
1.1.0 (17-Jan-2019) |
Re: [ANY] VPN Block
1 Attachment(s)
Added Hungarian phrases. :)
|
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
Works really good. :) Thank you so much Pwnk!
|
Re: [ANY] VPN Block
Quote:
I'm really sorry if our inaccurate information has affected anyone who relies on this service! |
Re: [ANY] VPN Block
1 Attachment(s)
Here's the same plugin but with SQLite.
|
Re: [ANY] VPN Block
How do you install with Steamworks running correctly? I get this when I launch my tf2 server
L 04/22/2019 - 23:11:36: [SM] Exception reported: Databases don't work L 04/22/2019 - 23:11:36: [SM] Blaming: VPNBlock.smx L 04/22/2019 - 23:11:36: [SM] Call stack trace: L 04/22/2019 - 23:11:36: [SM] [0] SetFailState L 04/22/2019 - 23:11:36: [SM] [1] Line 44, VPNBlock.sp::OnSqlConnect Plz Help. |
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
I am pretty new to stuff like this with codes n stuff, but I am trying to get my things right but I am pretty lost at this point.
Where do I whitelist an user so he can join with his VPN service on? Best Regards, Anzulia. |
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
It's does blocking even players without VPN.
|
Re: [ANY] VPN Block
the URL to check proxies is down :3
|
Re: [ANY] VPN Block
Quote:
a) temporary issues on your end (e.g. your provider having connectivity issues) b) permanent issues on your end (e.g. your provider blocking it) |
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
L 07/21/2019 - 14:05:25: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 07/21/2019 - 14:05:25: [SM] Blaming: VPNBlock.smx L 07/21/2019 - 14:05:25: [SM] Call stack trace: L 07/21/2019 - 14:05:25: [SM] [0] SQL_EscapeString L 07/21/2019 - 14:05:25: [SM] [1] Line 233, VPNBlock.sp::WhiteList L 07/21/2019 - 14:05:25: [SM] [2] Line 207, VPNBlock.sp::CommandWhiteList my sql server version is : mysql Ver 15.1 Distrib 10.4.6-MariaDB, for Linux (x86_64) using readline 5.1 how i fix this? |
Re: [ANY] VPN Block
1 Attachment(s)
Quote:
Guys, help me please, how can I change the proxy check address on this one? That site have less false positives, when I check the same ip's on mind-media.com and proxycheck.io What I need to write in VPNBlock URL? (see on Screenshot) https://proxycheck.io |
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
Quote:
Erors 07/27/2019 - 02:47:27: SourceMod error session started L 07/27/2019 - 02:47:27: Info (map "de_dust2_night_fix") (file "errors_20190727.log") L 07/27/2019 - 02:47:27: [SM] Exception reported: Invalid query Handle 0 (error: 4) L 07/27/2019 - 02:47:27: [SM] Blaming: ProxyKiller-latest.smx L 07/27/2019 - 02:47:27: [SM] Call stack trace: L 07/27/2019 - 02:47:27: [SM] [0] DBResultSet.HasResults.get L 07/27/2019 - 02:47:27: [SM] [1] Line 25, ProxyKiller/cache.sp::OnCache |
Re: [ANY] VPN Block
Quote:
|
Re: [ANY] VPN Block
I'm find out how to connect this plugin to Proxycheck.io :)
|
All times are GMT -4. The time now is 10:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.