Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2004, 08:09 AM
beano33 beano33 is offline
 
Join Date: Feb 2003
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Port Scanner for Open Proxies on Registration

Anyone with a good sized board knows what a nuisance proxies can be in the hands of disgruntled users and revolutionary wannabes. The only hacks to deal with this use http forwarding, which doesn't detect anonymous proxies, so they're very limited in value. Just about anyone that's going to go through the trouble of using a proxy to evade a ban is going to use an anonymous one.

The only way I can think of to deal with it is to do port scanning at registration, similar to what is done on IRC servers. I know it's server intensive, but I'm wondering if it would be that bad if it were only used to scan registration applications?

The features/options I'd like to see:

1) port scan: ports 80, 81, 3128, 8000, and 8080. I think these are the most common, someone can correct me on that if I'm wrong. Chances are one of these will be open even if the user is connected to a less common one.

2) automatically reject the registration: with a message for the user. It could be integrated into email verification. I assume anyone that has need for a proxy scanner is already doing email verification.

3) automatically ban the IP using vBulletin's IP ban to the 2nd depth: example- if the IP is 219.202.64.47 the hack would write 219.202.64. to your IP ban list. Eventually with all those open proxies being auto-banned, the malcontents would give up. This way would also easily allow you to manually remove a ban as there's bound to be glitches and special circumstances. Ideally this would be an option that could be turned on and off, but I know I'm asking for too much already.
:nervous:

4) Create a log of rejected registrations due to open open proxies. vBulletin owners could share these and speed up the process.

This looks like it would be a major hack, so anyone with the ambition to do it is bound to become famous.
Reply With Quote
  #2  
Old 12-07-2004, 05:45 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow that would be awesome
Reply With Quote
  #3  
Old 12-07-2004, 07:33 AM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have written a similar unpublished hack to this for VB2. There are a list of about 40 common ports used by proxies. I have discovered that using the HTTP_FORWARDED family of variables is not a very effective way of proxy detection because it actually tends to mistake certain ISP addresses as proxies. The port scan itself is not completely fool proof either. But it is able to catch a good number of proxies. I have set up my board to redirect all unregistered people who are using a proxy to register.com. There is no need to IP ban proxies since almost all of them have a very short lifetime.

You should be able to create something with a few hours worth of effort.
Reply With Quote
  #4  
Old 12-09-2004, 01:30 AM
beano33 beano33 is offline
 
Join Date: Feb 2003
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zzed
You should be able to create something with a few hours worth of effort.
Speak for yourself. It probably takes me longer to install stuff than it takes people to make it. lol
Reply With Quote
  #5  
Old 12-09-2004, 05:42 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by beano33
Speak for yourself. It probably takes me longer to install stuff than it takes people to make it. lol

Reply With Quote
  #6  
Old 01-16-2005, 03:42 PM
beano33 beano33 is offline
 
Join Date: Feb 2003
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's a great hack for this for phpBB.
http://www.phpbb.com/phpBB/viewtopic.php?t=248252
You can download the zip file there.

It's actually 2 hacks, one references the Distributed Server Boycott List (DSBL) and compares IP's, while the other does an actual scan for open proxies.

The author has given permission for it to be ported to vBulletin as long as you mention him in the credits.
Reply With Quote
  #7  
Old 01-16-2005, 04:29 PM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by beano33
Speak for yourself. It probably takes me longer to install stuff than it takes people to make it. lol
That made me laugh. Thanks.
Reply With Quote
  #8  
Old 07-01-2005, 05:09 AM
beano33 beano33 is offline
 
Join Date: Feb 2003
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like a good time for a bump. Maybe someone will take this up for vB 3.5.
Reply With Quote
  #9  
Old 07-01-2005, 05:29 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Detecting those ports is not conclusive evidence that the person is using a proxy server at all, even less so that it is some annonymous proxy and they are a 'troublemaker'.

And just to repeat - in case you missed it in other threads - millions of people (esp in the uk) have to connect via proxy servers because they have no choice (their company or ISP force them via one).
Reply With Quote
  #10  
Old 07-01-2005, 01:37 PM
beano33 beano33 is offline
 
Join Date: Feb 2003
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Detecting those ports is not conclusive evidence that the person is using a proxy server at all, even less so that it is some annonymous proxy and they are a 'troublemaker'.

And just to repeat - in case you missed it in other threads - millions of people (esp in the uk) have to connect via proxy servers because they have no choice (their company or ISP force them via one).
The scanning I'm referring to is for open (unsecured) proxy ports. This would not affect UK hosts, AOL, or any other host that uses proxies with secured ports.
Reply With Quote
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. The time now is 06:43 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.04608 seconds
  • Memory Usage 2,265KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete