Raised This Month: $51 Target: $400
 12% 

[ANY] ProxyKiller - Configurable Proxy & VPN player manager


Post New Thread Reply   
 
Thread Tools Display Modes
ShyperHH
New Member
Join Date: Oct 2020
Old 10-10-2020 , 23:38   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #21

help

L 10/11/2020 - 0644: [ProxyKiller-latest.smx] [ ERROR ] Error making http request to "https://blackbox.ipinfo.app/lookup/176.59.202.37" - Status: 0
L 10/11/2020 - 0644: [ProxyKiller-latest.smx] [ ERROR ] Error occured while querying service blackbox.ipinfo.app
ShyperHH is offline
MUN
Senior Member
Join Date: Jan 2012
Location: Cali
Old 11-02-2020 , 17:33   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #22

Quote:
Originally Posted by ShyperHH View Post
help

L 10/11/2020 - 0644: [ProxyKiller-latest.smx] [ ERROR ] Error making http request to "https://blackbox.ipinfo.app/lookup/176.59.202.37" - Status: 0
L 10/11/2020 - 0644: [ProxyKiller-latest.smx] [ ERROR ] Error occured while querying service blackbox.ipinfo.app

Is this still an issue? I checked the request and I am not seeing any issues.
__________________
MUN is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 01-16-2021 , 10:31   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #23

Hey, this is a great plugin!

Any chance you could add these features?
  • Ability to check several vpn/proxy lookup sites, and if 70% (configurable) of the sites confirm user is using a vpn/proxy, then do the punishment.
  • With VPNs becoming way more mainstream (thanks nordvpn lol), it'd be nice if there was some sort of auto-whitelisting feature. Here's example criteria for auto-whitelisting:
    • If user has greater than x amount of hours played on this game, auto-whitelist them.
    • If game is TF2 and user is premium account, auto-whitelist them.
    • If user has a VAC ban regardless of the above criteria, do not auto-whitelist them.
    • etc.
__________________
Nanochip is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 02-27-2021 , 08:18   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #24

can someone drop their config for vpn blocking? thank you
__________________
PEACE FROM MOLDOVA
eliteroyal is offline
MUN
Senior Member
Join Date: Jan 2012
Location: Cali
Old 11-05-2021 , 18:10   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #25

How do we interact with an array?

Example API I wish to work with:

Code:
[
	{
		"ip": "1.1.1.1",
		"asn": {
			"name": "CLOUDFLARENET - Cloudflare, Inc.",
			"number": 13335,
			"network": "1.1.1.0",
			"cidr": 24
		},
		"detection": {
			"bogon": false,
			"cloud": false,
			"hosting": true,
			"proxy": true,
			"spamhaus": false,
			"tor": false
		},
		"suggestion": "block"
	},
	{
		"ip": "8.8.8.8",
		"asn": {
			"name": "GOOGLE - Google LLC",
			"number": 15169,
			"network": "8.8.8.0",
			"cidr": 24
		},
		"detection": {
			"bogon": false,
			"cloud": true,
			"hosting": false,
			"proxy": false,
			"spamhaus": false,
			"tor": false
		},
		"suggestion": "block"
	}
]
__________________
MUN is offline
OfficialSikari
Junior Member
Join Date: Aug 2017
Location: /dev/null
Old 12-23-2021 , 03:21   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #26

Quote:
Originally Posted by MUN View Post
How do we interact with an array?

Example API I wish to work with:

Code:
[
	{
		"ip": "1.1.1.1",
		"asn": {
			"name": "CLOUDFLARENET - Cloudflare, Inc.",
			"number": 13335,
			"network": "1.1.1.0",
			"cidr": 24
		},
		"detection": {
			"bogon": false,
			"cloud": false,
			"hosting": true,
			"proxy": true,
			"spamhaus": false,
			"tor": false
		},
		"suggestion": "block"
	},
	{
		"ip": "8.8.8.8",
		"asn": {
			"name": "GOOGLE - Google LLC",
			"number": 15169,
			"network": "8.8.8.0",
			"cidr": 24
		},
		"detection": {
			"bogon": false,
			"cloud": true,
			"hosting": false,
			"proxy": false,
			"spamhaus": false,
			"tor": false
		},
		"suggestion": "block"
	}
]

Sorry, I very rarely check these threads, you can unfortunately only work with a single element of the array (within the response.value property) and you also do not have filtering options.
The "magic" for this can be found here: https://bitbucket.org/Sikarii/proxyk...sp#lines-66:80

Code:
"ProxyKiller"
{
    "YourService"
    {
        "method"    "GET"
        "url"           "http://example.com/{ip}"
        "response"
        {
            "type"      "json"
            "object"    "[0].detection.proxy" // or [0].suggestion
            "value"     "true" // or "block" if using suggestion
        }
    }
}

Last edited by OfficialSikari; 12-23-2021 at 03:23. Reason: Added reference to code.
OfficialSikari is offline
OfficialSikari
Junior Member
Join Date: Aug 2017
Location: /dev/null
Old 12-23-2021 , 03:34   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #27

Quote:
Originally Posted by Nanochip View Post
Hey, this is a great plugin!

Any chance you could add these features?
  • Ability to check several vpn/proxy lookup sites, and if 70% (configurable) of the sites confirm user is using a vpn/proxy, then do the punishment.
  • With VPNs becoming way more mainstream (thanks nordvpn lol), it'd be nice if there was some sort of auto-whitelisting feature. Here's example criteria for auto-whitelisting:
    • If user has greater than x amount of hours played on this game, auto-whitelist them.
    • If game is TF2 and user is premium account, auto-whitelist them.
    • If user has a VAC ban regardless of the above criteria, do not auto-whitelist them.
    • etc.
Sorry, I am a little late on this, but decided to reply regardless.

As far as the first feature request goes:
Quite honestly I haven't touched this plugin in a while, and it would require a somewhat big rework of things work.
It is however something I have definitely considered it in the past, but I don't see myself doing that rework any time soon.

To address the second feature request:
The Plugin API shoud allow you to prevent a lookup (or punishment) on an user.
Simply return Plugin_Handled or Plugin_Stop in the forwards (ProxyKiller_DoCheckClient or ProxyKiller_DoClientPunishment).

Last edited by OfficialSikari; 12-23-2021 at 03:36.
OfficialSikari is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode