vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to beat a proxy server (https://vborg.vbsupport.ru/showthread.php?t=48523)

Areku 02-04-2003 04:33 PM

How to beat a proxy server
 
Hi!

I'm on Spain and main ISP put a proxy for the whole country so now people coming from any region can enter multiple times even if I ban them, since I'd be banning proxy IP.

Someone pointed out this function to retrieve the REAL IP:

PHP Code:

function ipReal(){

if (
$tmp=getenv("HTTP_X_FORWARDED_FOR")) {
    
$tmpip=explode(",",$tmp);
    return 
trim($tmpip[0]); }
else return 
getenv("REMOTE_ADDR");


And claimed I have to paste it everywhere an IP is traced.

Can anyone in here be more specific OR point me to a hack that would allow me to ban people behind a proxy?

Thanks!

Icheb 02-04-2003 04:39 PM

Those IP informations have to be provided by the proxy, so it's not necessaire that this will work since not every proxy sends this information.

Areku 02-04-2003 04:45 PM

Giving the fact he is in Spain and we have the same proxy...

Any chances? Any other hack?

Icheb 02-04-2003 05:07 PM

There is nothing you can do. Maybe try your method and pray the proxy provides this information.

Areku 02-04-2003 06:31 PM

Maybe I just can create a funcion I'd call ONLY when i want to ban someone, i.e. calling admin/whichip.php would report me which real ip a user hides onto.

Assuming proxy provides, it, can you help out?


All times are GMT. The time now is 01:53 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.00894 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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