MyBB Community Forums

Full Version: Anti Proxy.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Author: Pratik Unadkat.
Author site: -
License: Mentioned below.

Description: This plugin detects most of the proxies and denies registration using proxies.

Functioning:

This plugin detects proxies from various HTTP headers.

The plugin comes with full language support.

Installation instructions:

1. Unzip the archive.
2. Upload antiproxy.lang.php found inside inc/languages/ folder in the zip to ./inc/languages/ directory of your server.
3. Upload antiproxy.php inside the inc/plugins/ folder which we just extracted now to (root)./inc/plugins directory of your website's server.
4. Go to ACP > Plugins and activate it.
5. Next, proceed to ACP > Settings > Configuration and find anti proxy settings and configure them.

Note: By default, the plugin is in "OFF" mode, you need to enable it from the settings mentioned above.


Download:

http://mods.mybb.com/view/anti-proxy


License:

Anyone who have downloaded this, the below but not limited to rules applies to them:

1. Not distributed under GNU/GPL.
2. You may modify the codes or plugin for your personal use but cannot claim it to be own or remodify and sell or reproduce under any cirumstances.
3. Free to edit for personal use but not allowed to distribute the plugin by modifying any codes.
Nice work Crazy, Will look forward to using this.

But will wait for more people to test it on their forums before I use it on mine, heard that most "Proxy blockers" tend to block people that aren't using one.


Anyways, Thanks for the share Smile
This is simply nice mod, by using simple header detection Smile
        'HTTP_VIA',
        'HTTP_X_FORWARDED_FOR',
        'HTTP_FORWARDED_FOR',
        'HTTP_X_FORWARDED',
        'HTTP_FORWARDED',
        'HTTP_CLIENT_IP',
        'HTTP_FORWARDED_FOR_IP',
        'VIA',
        'X_FORWARDED_FOR',
        'FORWARDED_FOR',
        'X_FORWARDED',
        'FORWARDED',
        'CLIENT_IP',
        'FORWARDED_FOR_IP',
        'HTTP_PROXY_CONNECTION'
Cool, keep it up.
(2012-11-03, 10:35 PM)Red Bull Wrote: [ -> ]Nice work Crazy, Will look forward to using this.

But will wait for more people to test it on their forums before I use it on mine, heard that most "Proxy blockers" tend to block people that aren't using one.


Anyways, Thanks for the share Smile
This won't. Because many proxy blockers plugin uses advance methods such as portscan on common proxy ports which is often detected as false positive.

This just checks various HTTP headers, so only legitimate proxy users will be blocked. Try yourself.
Getting this error:

Fatal error: Cannot access empty property in /home/content/99/7992099/html/forum/inc/plugins/antiproxy.php on line 106
Ah, my small typo.

Open plugin file and find:

$lang->$atp_error

replace with:

$lang->atp_error

Submitting an update on mods site, thank you for reporting.
Thanks that fixed it. But now I am having the issue saying I am using a proxy/vpn when I am not.

Could it be because I am using cloudflare?
Ah yes. CF acts as a proxy, so you'll have that issue.
When I go to the mods site it says this; Invalid Download
The download you are attempting to view appears to be invalid.
Pages: 1 2