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)

fxs158 08-30-2006 06:22 PM

Just installed the mod, things seem to work well with one exception. Under the ip on the whos online screen one of my users now says unknown. Is this because he is using anon proxy?

fxs158 08-30-2006 06:25 PM

Quote:

Originally Posted by Total666
Weird - is your step 3 different ??

Step 3.

In class_core.php ;

Find ;

// 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 ;

// 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

I put on bold the difference.

fxs158 08-30-2006 08:36 PM

Member is using tmobile sidekick (cellphone), for some reason after the hack instead of an ip it shows a message that says unknown.

This is the only member that shows this anomalie.

Paul M 08-30-2006 10:51 PM

Quote:

Originally Posted by Total666
doing the code changes to the class_core.php file .. ( step 3 )


MY existing code

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


The new code from the read me

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


these look unchanged ?? Wondering .. Total

That's not what is in the current zip, that's the previous (old) version.

fxs158 08-30-2006 11:13 PM

Is there a way to show the porxy ip, if the peerson is using anon rather than showing the unknown message? When the member posted I clicked on the red icon "that indicates a proxy present" and at least it showed me the proxy ip. But when I look on the who is online, I get the unkbown ip message.

Total666 08-31-2006 12:19 AM

Quote:

Originally Posted by Paul M
That's not what is in the current zip, that's the previous (old) version.


Thanks man , all good , weird I kept getting the wrong version ( I believe something to do with winzip ) I deleted the temp dir and NOW I have the correct new update , good work ...

Scorpior 09-02-2006 06:57 AM

So the "The real ip can be banned by admins." Can you make it so that the proxy IP can also be banned by admins as well?

I have a situation that the proxy IP is detected properly, but the real IP is listed at 127.0.0.1. This is not the case for all of them, but I do see this happening in one particular proxy. So yea, making proxy IPs also bannable (so it checks the real IP and proxy IP to ban) would be helpful here.

Paul M 09-02-2006 08:25 AM

That would (I think) be another file edit, and probably not used by most people - but I'll consider it when I next work on this.

BruceWest 09-03-2006 03:00 AM

Love the product! Testing it out now!

I noticed that after installation, all original (registration) IPs were missing from the database... at least I no longer see them in the AdminCP.

Cheers!

Luke Brown256 09-08-2006 03:34 PM

hi just a quick ntoe i followed instructions completely, but it always shows the person as having a proxy even when some users are not using a proxy and it then displays the same 2 IP addresses.
(Just to note it DOES correctly identify proxy users and report 2 different IP addresses aswell)


All times are GMT. The time now is 12:41 AM.

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.01406 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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