vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Proxy to Real IP Conversion (https://vborg.vbsupport.ru/showthread.php?t=120082)

NeitherSparky 08-23-2006 02:54 AM

I have a really terrible person who has been threatening me and plagiarising portions of my website to his for a long time. He's just seriously been a thorn in my side for quite a while, and he follows me everywhere. I banned his home IP from my website a while ago but then he started using proxies of some kind...the other day he signed up for an account on my new vBulletin mimicing my username there, obviously intending to try to fool people into thinking he was me. I've HAD it with him. I have installed this hack, and hopefully it will help! Thank you.

Zelos 08-23-2006 05:58 AM

Quote:

Originally Posted by I||usi0nz
I think you might of deleted this line
PHP Code:

 define('SESSION_HOST'substr($registry->ipaddress015)); 

under
In class_core.php ;
Find ;
PHP Code:

 // define session constants
define('SESSION_IDHASH'md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip($registry->alt_ip))); // this should *never* change during a session 

Replace with ;
PHP Code:

// Paul M - define session constants
define('SESSION_IDHASH'md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip($registry->ipaddress))); // this should *never* change during a session 


That solved the problem! Thank you so much! :D


EDIT: Is it safe to install the "Extra user IP information" mod, having already installed this one?

Paul M 08-23-2006 06:47 AM

Quote:

Originally Posted by Zelos
EDIT: Is it safe to install the "Extra user IP information" mod, having already installed this one?

Yes.

NeitherSparky 08-23-2006 07:48 PM

This is unfortunately not working with my problem user - he's on right now. Poop. :(

Neal-UK 08-23-2006 08:29 PM

He probably using a fake IP then. Just moderate new members. If their IP hostname comes back as nothing or something weird or that you have never heard of, delete them.

Zelos 08-23-2006 08:35 PM

Quote:

Originally Posted by Paul M
Yes.

I just installed the extra IP info mod, but now I'm not sure this mod is working correctly anymore.

This is what I get when I click the IP button of someone who has a proxy: http://img182.imageshack.us/img182/8080/ipproxyuf0.png
Not only does it not list the fake adress, but the "real" IP adress it lists has (according to the list) only been posted from twice. Should I just uninstall the extra info mod?

Shazz 08-23-2006 08:38 PM

Updated yesterday? Anything major.

Paul M 08-23-2006 09:57 PM

Quote:

Originally Posted by Zelos
I just installed the extra IP info mod, but now I'm not sure this mod is working correctly anymore.

This is what I get when I click the IP button of someone who has a proxy: http://img182.imageshack.us/img182/8080/ipproxyuf0.png

You cannot have both displays off one link, so you need to choose which you prefer.


Quote:

Originally Posted by Shazz
Updated yesterday? Anything major.

There is a version history in the first post.

slowhand.chen 08-24-2006 01:48 AM

my vbb server is:172.24.32.108
proxy server is:172.24.32.187

if I use proxy ,user this Plugin don't record the proxy

I already note
PHP Code:

if (preg_match("#^(127|10|172\.(1[6-9]|2[0-9]|3[0-1])|192\.168|169\.254)\.#"$alt_ip)) $alt_ip '' 


Paul M 08-24-2006 02:14 AM

Please put code inside php or code tags.

Also note ;
Quote:

Obviously this hack relies on the proxy server passing the correct http variables to allow detection.


All times are GMT. The time now is 01:18 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.02086 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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