Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Proxy to Real IP Conversion Details »
Proxy to Real IP Conversion
Mod Version: 4.2.0.1, by Paul M (Member) Paul M is offline
Developer Last Online: Jan 2018 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 4.2.x Rating: (56 votes - 4.75 average) Installs: 686
Released: 02 Jan 2010 Last Update: 04 Jan 2015 Downloads: 4284
Not Supported DB Changes Uses Plugins Auto-Template Code Changes Translations  


--------------------------------------------------------------------------------
This modification has been withdrawn.
vBulletin 4.0.x and 4.1.x are no longer supported.

For vBulletin 4.2.x please use the built in reverse proxy detection.
--------------------------------------------------------------------------------


This hack makes the forum always use the members real ip if a proxy is detected, meaning that all existing ip functions should continue to work, basically ignoring the proxy server (other than recording it's presence).

For example ;

* The real ip is displayed in the who's online page.
* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy server.
* The real ip is searchable in the admin/mod cp (but not the proxy ip).
* The real ip can be banned by admins.

Note: This hack relies on the proxy server passing the correct http variables to allow detection.
If they are not passed then detection will not work. By definition, annonymous proxies do not pass on these variables.


If a proxy is detected, then a red ip icon is displayed instead of the standard one.

To install, download and unzip the files and follow the instructions in the text file.

This modification involves changes to the class_core.php file - if you upgrade your vbulletin, you must reapply those changes.
If you forget these edits, the modification will continue to work for forum posts only (v4.0.4 +).



History:

v4.0.1 : 02-Jan-2010 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 04-Jan-2010 : Added check for invalid alt ip address.
v4.0.3 : 13-Jan-2010 : Minor change to cope better when people forget the class_core file edits.
v4.0.4 : 15-Jan-2010 : Further changes to process forum posts when people forget the class_core file edits.
v4.0.5 : 20-Feb-2010 : Internal update, not released.
v4.0.6 : 27-Feb-2010 : Style code updates for vB 4.0.2.
v4.0.7 : 30-Oct-2010 : Style code updated to work when css stored as files.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.x

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.
v4.1.8.0 : 18-Nov-2011 : Updated for vBulletin 4.1.8.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.
v4.2.0.1 : 02-Jan-2015 : Updated for Cloudflare Changes.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	PRC1.jpg
Views:	3654
Size:	20.9 KB
ID:	108792   Click image for larger version

Name:	PRC2.PNG
Views:	4656
Size:	11.7 KB
ID:	108793  

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools Proxy IP to Real IP Conversion Paul M Modification Graveyard 153 13 Jun 2014 20:09
Administrative and Maintenance Tools Proxy IP to real IP conversion Paul M Modification Graveyard 152 20 Feb 2011 22:46
Administrative and Maintenance Tools Proxy to Real IP Conversion Paul M Modification Graveyard 459 07 Apr 2009 21:26
Proxy ip to real ip conversion Paul M Modification Graveyard 236 27 Jan 2007 04:25

  #226  
Old 14 Oct 2013, 02:38
dandanch dandanch is offline
 
Join Date: Nov 2008
This doesn't seem to work with clouldflare, paul would it be possible to get this hack to work with CF?
Reply With Quote
  #227  
Old 15 Oct 2013, 21:59
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Cloudfare seem to think it does, or at least it used to.

See https://support.cloudflare.com/hc/en...ith-vBulletin-
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #228  
Old 16 Oct 2013, 17:49
dandanch dandanch is offline
 
Join Date: Nov 2008
It might still be working but just not on my end - Anyway, I integrate mod_cloudflare and now we can see the real ip's and not Cf, but I'm still using yours.
Reply With Quote
  #229  
Old 19 Oct 2013, 09:34
Pocket Aces Pocket Aces is offline
 
Join Date: Mar 2007
Is this mod applicable to VPN or anonymity software (eg. hotspotshield) users?
__________________



vBulletin 4.2.5 | PHP 7.0 | MariaDB 10.2
Reply With Quote
  #230  
Old 01 Nov 2013, 16:16
GuiltyNL GuiltyNL is offline
 
Join Date: Mar 2013
Does this mod work well together with Proxy Alert? It is nice to see the red IP icon, but I would also like to be able to block them automatically using Proxy Alert and or receive PM's / emails and that is supported by Proxy Alert.

http://www.vbulletin.org/forum/showthread.php?t=299546
Reply With Quote
  #231  
Old 25 Nov 2013, 08:24
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Getting a warning message when this is running now vb4.2.2


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Dave
__________________
www.nirc.co.uk
Reply With Quote
  #232  
Old 25 Nov 2013, 09:52
tbworld tbworld is offline
 
Join Date: Oct 2008
Originally Posted by Disco_Dave View Post
Getting a warning message when this is running now vb4.2.2


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Dave
The mod that has the warning is:
vBulletin Cron Based Database Backup
http://www.vbulletin.org/forum/showt...ht=cron+backup

it is not this mod...

In /includes/cron/cronbackup.php on line 18
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is a warning not an error.
Reply With Quote
  #233  
Old 25 Nov 2013, 10:14
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Originally Posted by tbworld View Post
The mod that has the warning is:
vBulletin Cron Based Database Backup
http://www.vbulletin.org/forum/showt...ht=cron+backup

it is not this mod...

In /includes/cron/cronbackup.php on line 18
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is a warning not an error.

Cheers I actually wasn't meant to post in this thread, just picked the wrong one on Paul's profile......Please move if possible. Thanks for the fix!

Dave
__________________
www.nirc.co.uk
Reply With Quote
  #234  
Old 28 Dec 2013, 17:33
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Real name: Md Tajirul Islam
In the changes to the class_core.php file what is Line No ? Anyone can changes to the class_core.php file than upload for vBulletin 4.2.2 ?
Reply With Quote
  #235  
Old 30 Mar 2014, 15:41
rrhill rrhill is offline
 
Join Date: Jul 2012
Thank you very much for this solution, it works great in vBulletin 4.22
Reply With Quote
  #236  
Old 12 Apr 2014, 14:07
xhells21 xhells21 is offline
 
Join Date: Aug 2011
Thanks for this mod! It works, I got a little visual problem. If someone is able to help me solve this, would be greatly appreciated.
Reply With Quote
  #237  
Old 22 Apr 2014, 14:32
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
I tried this mod, but no real ip has shown to me!!

I have a VPS and using Nginx so I don't see why this mod doesn't work anyways since Nginx always detect the real IP!!!

any idea??
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #238  
Old 17 May 2014, 08:22
Bozza Bozza is offline
 
Join Date: Jul 2003
I'm trying to install this (as I run CloudFlare) and the install seems to go ok...

Importing Product, Please Wait...

[:]

Real IP Detection

Installing : 4.2.0.0

Please remember to Mark as Installed at vBulletin.org

...but I'm then not seeing this listed in my installed products and I'm still getting CloudFlare IP addresses. Any clues?
Reply With Quote
  #239  
Old 28 May 2014, 15:57
Calahan Calahan is offline
 
Join Date: Jun 2007
Hello
When add the code to my class_core.php all the and ... change to in my board
Any idea what I am doing wrong?
I used notepad via Filezilla to change the class_core
Reply With Quote
  #240  
Old 29 May 2014, 12:42
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
The text edtitor is breaking the utf8 chars, try a different editor.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:12.

Layout Options | Width: Wide Color: