Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Proxy to Real IP Conversion Details »»
Proxy to Real IP Conversion
Version: 2.25, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.x Rating:
Released: 07-01-2006 Last Update: 11-24-2006 Installs: 633
DB Changes Uses Plugins Auto-Templates
Code Changes Translations  
No support by the author.

This modification is no longer available or supported.

This hack makes the forum always use the members real ip when 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).

i.e.

* The real ip (or host) 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.

etc etc ......

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

If a proxy is detected, then a red ip icon is displayed instead of the standard one. This mod will also detect if the ipinfo hack is installed and adjust itself to call the ipinfo code.


History:

v2.20 : Updated for vb 3.6. IP Info detection added.
v2.21 : Dependancies updated for 3.6.0 Gold.
v2.22 : Updated for Version Checking.
v2.23 : Fixed bug causing wrong ip in WOL display.
v2.24 : Rewritten slightly to fix a minor issue with spiders.
v2.25 : Updated for changes in vB 3.6.4.


Remember that this modification involves changes to the class_core.php file - if you upgrade your vbulletin, you must reapply those changes.

Please do not post asking why this does not work with some proxy servers, the answer is already in the notes above, and also in Post #160.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #312  
Old 03-30-2007, 05:00 AM
NeitherSparky's Avatar
NeitherSparky NeitherSparky is offline
 
Join Date: Aug 2006
Location: Sacramento, CA
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KipLarson View Post
Say I have a member that keeps coming back after getting banned through various proxies... is there a way to prevent proxies from even being allowed to view the site?

If it is possible, would you recommend against it? Or is there some other way to get rid of the member?
Lol, use Miserable Users. It's the best. You could also ban the IP in your .htaccess file, I used to do that a lot with this one particular user. Anyways if you ban the IP in your .htaccess, the user knows you're out to get them; with Miserable Users it looks on their end that your server is just busy. Very very busy. With that user I mentioned, the more I actually banned him, the more hostile he got; but Miserable Users is a more passive approach. He didn't realise I was actually still keeping him off of the forum, so he cooled off, thinking *I* was the one stuck with a crappy server.
Reply With Quote
  #313  
Old 03-30-2007, 05:33 AM
KipLarson KipLarson is offline
 
Join Date: Jul 2005
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NeitherSparky View Post
Lol, use Miserable Users. It's the best. You could also ban the IP in your .htaccess file, I used to do that a lot with this one particular user. Anyways if you ban the IP in your .htaccess, the user knows you're out to get them; with Miserable Users it looks on their end that your server is just busy. Very very busy. With that user I mentioned, the more I actually banned him, the more hostile he got; but Miserable Users is a more passive approach. He didn't realise I was actually still keeping him off of the forum, so he cooled off, thinking *I* was the one stuck with a crappy server.
Can you set it up so that it looks like they're just a regular user? So they don't figure out they're specifically being targetted?
Reply With Quote
  #314  
Old 03-30-2007, 10:56 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have questions about another mod, please post them in that mods thread.
Reply With Quote
  #315  
Old 03-30-2007, 12:01 PM
ZombieAndy's Avatar
ZombieAndy ZombieAndy is offline
 
Join Date: Oct 2004
Location: UK
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
The proxy ip (if it exists) is stored in the post table field 'proxyip' - so in the normal $post array it would be $post['proxyip'].
Thanks alot paul, working nicely now
Reply With Quote
  #316  
Old 04-01-2007, 02:42 PM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if I use a different image icon?
Reply With Quote
  #317  
Old 04-01-2007, 04:01 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um, you'll get a different icon displayed ..........
Reply With Quote
  #318  
Old 04-01-2007, 04:32 PM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Um, you'll get a different icon displayed ..........

LOL

I know that funny guy what I was getting at is will the hack still function correctly? Like how is it going to be red if I have a black Button?
Reply With Quote
  #319  
Old 04-11-2007, 09:43 AM
jonty jonty is offline
 
Join Date: Dec 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since the update to 3.6.5 all the post icons have gone red to indicate proxy usage.
Has anyone else noticed this?
Or is it unrelated

/edit
D'Oh - the upgrade probably wiped out the changes (in the readme)
Going back to re-apply.
Reply With Quote
  #320  
Old 04-13-2007, 11:13 PM
steve71 steve71 is offline
 
Join Date: Dec 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I seemed to have this running smoothly in version 3.6.4, but now that I've upgraded to 3.6.5 the following occurs.

When a proxy is detected and I click on the icon it gives the real IP but, where the PROXY IP used to be listed it instead just has the text : PROXYIP

Also,

I then disabled the mod, and it turns out that the real IP that was listed (after the proxy was detected) remained the same, so something isn't right. If it is disabled, then the only IP I should be able to view on that user would be the proxy IP right?
Reply With Quote
  #321  
Old 04-14-2007, 12:15 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steve71 View Post
I seemed to have this running smoothly in version 3.6.4, but now that I've upgraded to 3.6.5 the following occurs.

When a proxy is detected and I click on the icon it gives the real IP but, where the PROXY IP used to be listed it instead just has the text : PROXYIP
Read the nice bold blue line in the main post ....

Quote:
Originally Posted by steve71 View Post
I then disabled the mod, and it turns out that the real IP that was listed (after the proxy was detected) remained the same, so something isn't right. If it is disabled, then the only IP I should be able to view on that user would be the proxy IP right?
Nope, disabling the product will not prevent the IP conversion.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:20 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09307 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete