vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Prevent guests/users from using proxies at your forum (https://vborg.vbsupport.ru/showthread.php?t=242357)

borbole 05-11-2010 10:00 PM

Prevent guests/users from using proxies at your forum
 
1 Attachment(s)
This hack will allow you to prevent guests/users from using proxies at your forum. You can dissallow proxies for the forum as a whole or to prevent only registrations with proxies. You can enable and disable it at the Acp of your forum where you can control the settings for the mod.

Note: As you know there is no such way of preventing proxies 100% but it helps a lot. I tested it with a dozen proxies and it stopped 8 of them.

sulasno 05-12-2010 01:31 PM

will this Mod work with 4.0.3 ?

tagged and thanks

borbole 05-12-2010 02:01 PM

Yes. You can find the 4x version here:

https://vborg.vbsupport.ru/showthread.php?t=235638

WebkinzCoast 05-12-2010 10:40 PM

Thank you, I'll add it right now! Great mod!

borbole 05-13-2010 09:28 AM

You are welcome. Glad it came in handy.

John1uk 05-14-2010 06:12 PM

just what i needed ... :D thankyou

Rickpwns 05-14-2010 07:32 PM

You Rule,
I needed this!

An option to change the 'Not Allowed' Template would be nice :)

simmer1974 05-14-2010 08:18 PM

Great mod!

borbole 05-14-2010 08:27 PM

Thanks for all your feedbacks/comments guys. Appreciate them :)

@Rickpwns, atm I don''t have much free time to edit the mod, maybe later on. In meanwhile you can change the error text at the xml file.

Sajeth 06-15-2010 10:16 AM

Pretty useless mod, as it will only detect low privacy proxies that forward client information - people that use proxies for anonymity measures which provide a standard level of security wont be detected by this. Try it out for yourself.

borbole 06-18-2010 02:20 PM

Quote:

Originally Posted by Sajeth (Post 2053944)
Pretty useless mod, as it will only detect low privacy proxies that forward client information - people that use proxies for anonymity measures which provide a standard level of security wont be detected by this. Try it out for yourself.

There are like millions of proxies out there. There is no way to detect all of them.

Sajeth 06-20-2010 07:18 PM

Quote:

Originally Posted by borbole (Post 2055451)
There are like millions of proxies out there. There is no way to detect all of them.

Exactly.
This mod is useless, as it wont detect any actual proxies but just block registration access for everyone using a low-anonymity-proxy sometimes necessary for working within special networks or given to you by some providers.

borbole 06-20-2010 07:26 PM

Quote:

Originally Posted by Sajeth (Post 2056592)
Exactly.
This mod is useless, as it wont detect any actual proxies but just block registration access for everyone using a low-anonymity-proxy sometimes necessary for working within special networks or given to you by some providers.

Then don''t use it. Instead of repeating yourself like a broken record, either find another mod, or create your own. What can I say.

Sajeth 06-21-2010 12:46 PM

Quote:

Originally Posted by borbole (Post 2056599)
Then don''t use it. Instead of repeating yourself like a broken record, either find another mod, or create your own. What can I say.

I just wanted to point out that its pretty useless and annoying to have this mod installed since it will only bug legit users and not those using anonym proxies.
Didnt mean to offend you, but... thats just the way it is. Besides, a fsockopen on every page load seems like a really, REALLY bad idea... I mean REALLY bad. And basically youre blocking everyone with port 80 forwarded, which seems like an idea far worse...

Technically there is no real possibility to find out wether a user is using an anonym proxy or not. You'll have to rely on your mods if you have troublemakers coming again and again...

BlackHoster 07-26-2010 05:56 AM

Great thank you ...works even with VB4
INSTALLED

kevinkun 09-05-2010 04:00 AM

umm, I was in china a few weeks ago...
& I was trying to access my forums through the internet access I had there...

but the modification prevented me.. because apparently I was using a proxy...

what should I do?

D_light 09-05-2010 06:18 AM

tnx mate good job...

EvilLinux 12-06-2010 10:09 PM

I love this plugin, and I made it even a bit more fun for people who think that proxing through other servers is smart:

Edit this code:
Code:

<phpcode><![CDATA[if ($vbulletin->options['no_proxy_enable'])
                {
                if( @fsockopen( $_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1 ) || @fsockopen( $_SERVER['REMOTE_ADDR'], 443, $errstr, $errno, 1 ))
        {
                standard_error(fetch_error('no_proxy_message'));
                }
                }]]></phpcode>
                </plugin>
                <plugin active="1" executionorder="5">
                        <title><![CDATA[No Proxy Allowed.]]></title>
                        <hookname>global_start</hookname>
                        <phpcode><![CDATA[if ($vbulletin->options['no_proxy_allowed_enable'])
                {
                if( @fsockopen( $_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1 ) || @fsockopen( $_SERVER['REMOTE_ADDR'], 443, $errstr, $errno, 1 ))
        {
                standard_error(fetch_error('no_proxy_allowed_message'));
                }
                }]]></phpcode>

And where it says:
Code:

{
                standard_error(fetch_error('no_proxy_message'));
                }

and
Code:

{
                standard_error(fetch_error('no_proxy_allowed_message'));
                }

Replace it with this to forward to any site, page or w/e you want:
Code:

header( 'Location: http://www.yourwebsitehere.com' ) ;
Hope the author doesn't mind me posting this, had some fun with adding this to our use of the plugin. Which I will add is a GREAT blocking for any and all proxy servers, thank you very much for making this!

mp3president 12-29-2010 05:18 AM

Sorry, dislike this mod because a lot of problems without using proxy.
I'll keep on working this problem manualy.

Max Taxable 02-10-2011 11:42 PM

Got it, installed it, and it works.

3.8.6

Thanks!

DaBoss2000 06-02-2011 05:37 PM

can this be updated to blocc users without a User-Agent(ie, browser)? this will greatly help me out if this can be done and will stop a dos attacc on my site quite easily

dutchbb 07-01-2011 08:50 AM

Finally one that works, I tried every one of them here and they all failed except for this one. Good work.

dutchbb 07-01-2011 09:00 AM

I shouldn't have said anything... it doesn't work with http://www.anoniem-surfen.nl/ for example. :(

Scyther 07-08-2011 10:30 AM

Thanks...marked installed.

geocodes 12-21-2011 12:59 AM

This blocked some of my users who didn't use proxies and were connecting directly to the site with their ISP (Comcast for example). It would be nice if the creator could modify the code to address this bug.

ChiNa 08-20-2012 10:36 PM

This one is not working right, this is also making normal users with normal IP get blocked,, How come,,

biftek 08-24-2012 11:33 AM

because as mention of page one , there is many legit reasons why someone might be behind a proxy

VIP Hawaii 10-11-2012 10:49 PM

Hey, this REALLY WORKS!! .. thanks!

Gostemilov 01-25-2013 08:19 AM

Great mod! Installed!


All times are GMT. The time now is 07:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01214 seconds
  • Memory Usage 1,773KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete