PDA

View Full Version : Miscellaneous Hacks - Proxy/Web-Proxy Registration Prevention


LordOfWAR_PC
01-14-2011, 10:00 PM
Proxy/Web-Proxy Registration Prevention allows to block registrations from most of the Web-proxy/Proxy services. It allows to you to specify count of checked Ports and timeout (max time for respone which system must wait during testing of every port).

Also you can configure product to block all users who have empty HTTP_CONNECTION parameter or who have web-server on his IP with empty Index page (in most cases, that situation reminds Web-proxy).

Product requires "curl" support on forum web-hosting (but currently it is enabled in most web-hostings... except free).

Screenshot with all possible parameters :

https://vborg.vbsupport.ru/attachment.php?attachmentid=125669&stc=1&d=1295105091

Installation :

Just import xml file as usual product. Then configure it via admin pannel in VBulletin Options.

Uninstallation :

Just uninstall product.

Tested on 3.7.3 and 3.8.6 versions. Currently I'am working for adjusting it to VB 4 version.

____

Registration process when "Proxy/Web-Proxy Registration Prevention" installed :

1. User must accept usuall Forum Rules (Or so called Users agreement).
2. User will see form with asking to run proxy check with calculated time to wait (time = timeout*count of ports). :

https://vborg.vbsupport.ru/attachment.php?attachmentid=125668&stc=1&d=1295103578

3. After user will click on continue button, system will make needed checks of users's IP. If script will not detect no any proxy, then user will be able to continue registration. If proxy was detected - user will see an error message :

https://vborg.vbsupport.ru/attachment.php?attachmentid=125667&stc=1&d=1295103578

For multilanguage forums :

After installing of "Proxy/Web-Proxy Registration Prevention" product, you will be able to find and edit needed vbphrases :


settinggroup_preventproxyregs
setting_preventproxyregs_canblockemptyhttp_title
setting_preventproxyregs_canblockemptyhttp_desc
setting_preventproxyregs_canblockemptyserverhttp_t itle
setting_preventproxyregs_canblockemptyserverhttp_d esc
setting_preventproxyregs_webproxy_sentences_title
setting_preventproxyregs_webproxy_sentences_desc
setting_preventproxyregs_checkurl_title
setting_preventproxyregs_checkurl_desc
setting_preventproxyregs_timeout_title
setting_preventproxyregs_timeout_desc
setting_preventproxyregs_proxyports_title
setting_preventproxyregs_proxyports_desc
setting_preventproxyregs_onoffwebproxy_title
setting_preventproxyregs_onoffwebproxy_desc
setting_preventproxyregs_onoffproxy_title
setting_preventproxyregs_onoffproxy_desc
preventproxyregs_continue
preventproxyregs_notification2
preventproxyregs_notification
preventproxyregs_isanonsite
preventproxyregs_isproxy


___

(English and Russian language included).

Hornstar
01-15-2011, 10:43 PM
What about Singapore users. I believe many of them are on proxy by default.

Haltech
01-16-2011, 03:54 AM
This will come in very handy for us. We have two users who continue to re-create a username via proxy and access the site. I hope this helps the situation.

Haltech
01-16-2011, 06:22 AM
It detected some proxies and failed at detecting others. Would it be possible to modify it so we could list common proxy webservers on the net and add them to a blacklist?

LordOfWAR_PC
01-16-2011, 11:33 AM
What about Singapore users. I believe many of them are on proxy by default.

Hm, I can add field with allowed CIDR (NetMask), where you will be able to specify some Net Addresses (like 192.168.1.0/24 and e.t.c.), which will not be checked.

It detected some proxies and failed at detecting others.

Are you mean web-proxies (like anonymouse.org or hidemyass.com) ? Or proxy servers ?

If you about web-proxies, then please, post there few examples which was skipped by the script - I want to check them manually. (Or just post there IP's from where your "bad" users still can register).

If you about proxies, then you can increase list of checked proxy ports (by default there is only 3 checked ports - 80,8080 and 3128). But increasing ports list will increase time to wait for normal users (time = timeout*ports count). You can find an working proxy list (and most used proxy ports) there (http://www.proxy-list.org/en/index.php?pp=any&pt=any&pc=any&ps=any&submit=Filter+Proxy).

Also script are not able to detect special proxies (in this case proxy server will give to the user other IP, which is not same as proxy server IP).

You also can enable two options which is disabled in the down of options list. This will also increase security, but sometimes there will be some normal users who will be blocked too.

Would it be possible to modify it so we could list common proxy webservers on the net and add them to a blacklist?

Script just checks users IP, so if you want to ban some proxies, you can add proxy IP's into your IP black list.

For example if you have proxy list :

209.159.147.197:80
66.197.164.213:80
216.46.129.159:3128

So, you can add them into black list there (without ports) :

https://vborg.vbsupport.ru/attachment.php?attachmentid=125685&stc=1&d=1295184411

Trip3151
01-17-2011, 12:11 AM
I get a database error when some one trys to register

maybe that Working url (please, enter URL with permanent content) : is wrong? not sure I added my sites URL

LordOfWAR_PC
01-17-2011, 11:50 AM
I get a database error when some one trys to register

maybe that Working url (please, enter URL with permanent content) : is wrong? not sure I added my sites URL

If you are not sure, then leave all settings include vbulletin.com as it was by default.

1. Install the product.
2. Enable first two options (to enable plugin).
3. Check if all working. If not, then make sure that your web-hosting have enabled "curl" support (but I still don't understand why there is DB error, probably you entered some settings incorrectly).

Script do not make any changes in your DB, no any queries and e.t.c.

ctrlbrk
01-19-2011, 01:51 AM
Developer - Can you clarify whether or not hidemyass and anonymouse are supported by your plug-in (blocked)?

Second, would it be possible to use a cron job instead of "holding" the user in a timeout pattern while checking real-time? Simply have a cron job which runs every 1m, 5m, 30m whatever and then moves the user into a special usergroup class for example so they cannot use the forum and they receive a notice that proxy's aren't supported (notice manager - show notice to this usergroup class).

Trip3151
01-19-2011, 03:20 AM
If you are not sure, then leave all settings include vbulletin.com as it was by default.

1. Install the product.
2. Enable first two options (to enable plugin).
3. Check if all working. If not, then make sure that your web-hosting have enabled "curl" support (but I still don't understand why there is DB error, probably you entered some settings incorrectly).

Script do not make any changes in your DB, no any queries and e.t.c.

Done all that and I get a Mysql time out error I had to unistall it but it works I use hide my ass and a few others and the script picked it up! shame that I get this time out error :(

LordOfWAR_PC
01-19-2011, 10:35 AM
Developer - Can you clarify whether or not hidemyass and anonymouse are supported by your plug-in (blocked)?

Yes, they are supported (blocked). Any web-proxies what I checked was blocked without problems. If you will find some new which will be skipped, then just write a list of them there.

Also all proxy-servers like (192.168.1.1:80) which users can add into web-broswer settings, will be blocked if they use standart ports (80,8080,3128), also you can add your own ports in plugin settings.

Second, would it be possible to use a cron job instead of "holding" the user in a timeout pattern while checking real-time?

Hm, I am doubt that PHP have something for this. In any case it will be needed to wait in real time, but the question - just wait, or make it as AJAX request and show to the user some picture or something else during checking.

P.S. Of course it is possible, but for this we must have our own server, where we can launch some other program, written on C++ or so, which will get users from DB and make checks. It will be transparent for users, but it will be separate program for the server, not just an plugin for VB).

Simply have a cron job which runs every 1m, 5m, 30m whatever and then moves the user into a special usergroup class for example so they cannot use the forum and they receive a notice that proxy's aren't supported (notice manager - show notice to this usergroup class).

Also if we will make checking for proxy even after registration, every 1,2,5 mins, then probably it is not very nice idea, because every time server will make many requests to its users, so if you will have many users, then there can be situation, when server will be overloaded.

Done all that and I get a Mysql time out error I had to unistall it but it works I use hide my ass and a few others and the script picked it up! shame that I get this time out error :(

Ok, let's find solution. Can you pls tell me, which VB version do you have ? Maybe there is some others mods for registration installed ?

|Jordan|
02-24-2011, 08:05 PM
This doesnt work.

I just tried registering on my site as a test and im not using a proxy and it thinks i am. It did this with the default 3 second wait time and 10 second wait time.

LordOfWAR_PC
02-25-2011, 08:49 PM
This doesnt work.

I just tried registering on my site as a test and im not using a proxy and it thinks i am. It did this with the default 3 second wait time and 10 second wait time.

Did you have web-server launched on your IP ? This script checks url to the page (vbulletin.org by default) and then tried to send request for this same url to your IP on one of the considered ports by using curl... If your web-server will proceed request then script will think that you have something like web-proxy... also it is not recommended to enable two last options if you don't sure what they doing...

Papa Bear
05-11-2011, 08:48 PM
very nice..so far it works great..thanks..

dutchbb
07-01-2011, 08:21 AM
I tested it, and when not using a proxy it still said I used one. This doesn't work at all. :(

g00gl3r
06-12-2012, 04:12 PM
Any update on V4 yet?

leemart44
03-21-2015, 06:10 PM
Works great I have all options checked and its not blocking me not even with Cloudfare