vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Ban Proxy Surfers? (https://vborg.vbsupport.ru/showthread.php?t=29534)

bikeboy 10-04-2001 04:16 PM

I did a search and found nothing that would help...

These are my issues:

1. I have a couple of banned users that continue to access our site by using Proxy Servers.
2. It is not a big deal if Proxies can see the site, I just don't want them being able to post.

I need this product to protect our site and our users. Proxies are good, but when banned members use them to create kaos within our board that is not good.

any ideas on what can be done?

Tom Dooley 10-05-2001 09:31 AM

this would be a great thing :)

bikeboy 10-05-2001 12:22 PM

I know there is a site at www.elitehackers.com (a bunch of kiddies that have no real clue) they have this feature in place where you can't post from a proxy

Palmer ofShinra 10-05-2001 05:57 PM

The only way I see of doing it would be to get a list of proxies out there, then add all their IPs to your banned IP list.

LoB 10-06-2001 09:58 PM

you can check the HTTP referrer session variable, if it's set, dont allow them access, simple :) worked like a charm on my board software

LoB 10-06-2001 10:04 PM

sorry should have been clearer, have a look at this code, might come in handy

PHP Code:

if ($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"] != ""){ 
$ip $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]; 
$proxy $HTTP_SERVER_VARS["REMOTE_ADDR"]; 
$hostname = @gethostbyaddr($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]); 
}else{ 
$ip $HTTP_SERVER_VARS["REMOTE_ADDR"]; 
$hostname = @gethostbyaddr($HTTP_SERVER_VARS["REMOTE_ADDR"]); 



maverick1236 10-06-2001 10:59 PM

where do i put that?
global.php?

bikeboy 10-07-2001 12:46 AM

okay, so I check yes to referal in the control panal, but where do I place this code. and what happens if they try to post from a proxy, do they get sent to another page telling them what they are doing wrong?

LoB 10-07-2001 10:03 AM

Quote:

Originally posted by bikeboy
okay, so I check yes to referal in the control panal, but where do I place this code. and what happens if they try to post from a proxy, do they get sent to another page telling them what they are doing wrong?
depends what you do with it....
put the entire bit of the code in a place where itll always be called...

then after the code put this:

PHP Code:

if(isset($proxy))
{

die(
"SORRY, ACCESS FROM A PROXY IS FORBIDDEN!");



or something like that...

Razzie 10-07-2001 10:38 AM

Don't all AOL users go through a proxy? You'll be cutting off a lot of (potential?) users.


All times are GMT. The time now is 03:26 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.01005 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete