Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Proxy ip to real ip conversion Details »»
Proxy ip to real ip conversion
Version: 1.32, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.x Rating:
Released: 09-09-2004 Last Update: 05-28-2005 Installs: 161
 
No support by the author.

This modification is no longer available or supported.

A simple modification I did for our forum that was originally based on the Proxy Detector Hack (v3.0). Obviously, like all proxy server detection hacks, this will only work if the proxy server passes the appropiate http variables.

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

i.e.

* The real ip/host is displayed in who's online

* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy.

* The real ip is searchable in the admin/mod cp, not the proxy ip.

* The real ip is bannable by admins (no moving to another proxy to avoid a ban).

etc etc.

The installation should take about 10-15 mins (4 file edits, 2 phrase changes, 1 new template, 1 sql query, 1 new image).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
CarpCharacin

Comments
  #232  
Old 01-26-2006, 04:45 PM
RFViet RFViet is offline
 
Join Date: Jan 2006
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work on vB 3.5.2 ????
Reply With Quote
  #233  
Old 01-26-2006, 04:48 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

Quote:
Originally Posted by RFViet
Does it work on vB 3.5.2 ????
https://vborg.vbsupport.ru/showthrea...threadid=95198
Reply With Quote
  #234  
Old 07-13-2006, 03:17 PM
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tell me, should I install this on my 3.0.9 vB or should I just wait till we upgrade to 3.5.4? Im asking since Im not sure which one is better for this mod.

Plus I am wondering.. is it worth it? If people can use free online proxies, then what is the main thing? Just wondering. =)
Reply With Quote
  #235  
Old 07-30-2006, 11:46 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

Quote:
Originally Posted by Mysticales
Tell me, should I install this on my 3.0.9 vB or should I just wait till we upgrade to 3.5.4? Im asking since Im not sure which one is better for this mod.

Plus I am wondering.. is it worth it? If people can use free online proxies, then what is the main thing? Just wondering. =)
It's your choice, it works equally well on either. I cannot tell you if it's worth it - it is to me - but it depends on proxy usage in your member base. It doesn't hurt anything to use it.
Reply With Quote
  #236  
Old 01-26-2007, 08:03 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok this is probably really stupid but. Where does this information appear? I'm obviously a noob to all this but I did get the hack installed and I do not see any type of change as to user's ips that button that was installed does not appear anywhere. I searched thru the admincp and do not see anything different in there either. What is my retarded brain missing?

Was very simple to install with those well written directions. I find some of the other hacks are really short on instructions or written for those who know what they are doing.
Reply With Quote
  #237  
Old 01-26-2007, 10:48 PM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Every post has an IP address associated with it and stored in the post table in the database. The field is labelled ipaddress. Without this hack that IP address could be a proxy IP which could not be used to ban someone because it's not their real IP address.

If you have Admin rights to your forum you can see a blue PC icon in the postbit area of every post near the triangle icon used to report the post. Hovering the mouse over the icon will reveal the IP address. Without the hack installed this IP address could be a real address or a proxy IP address.

After the hack is installed, a post using a proxy IP address will show a reddish icon instead of the blue one. The IP address that appears when the mouse hovers over it is the real IP address - not the proxy IP address. The real IP address should be used when banning the IP address of an unwanted user like a spammer.

To check if anyone has posted with a proxy IP address you can run this query:

SELECT `post`.`proxyip` , `post`.`postid`
FROM post
ORDER BY `post`.`proxyip` DESC

If you have admin rights the query can be run from the admin cp.

Import & Maintenance -> Execute SQL Query

In the edit box of the manual query section paste the above query and click Continue. If some of your members have posted using a proxy IP you should get some results like:

proxyip .................postid
85.158.137.195 ....122709
85.158.137.195 ....127575
85.12.72.2 ..........118743
85.12.72.2 ..........118744
85.12.72.2 ..........118745
85.12.72.2 ..........119307
85.12.72.2 ..........121896
85.12.72.2 ..........121898
85.12.72.2 ..........122090

Use any postid to find that post and it should display a reddish PC icon in the postbit area. That confirms the hack is working properly. This hack has been very helpful to ban spammers and other unwanted posters from my forum.
Reply With Quote
  #238  
Old 01-27-2007, 03:25 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you sir very much. Well explained.
Reply With Quote
Reply

Thread Tools

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 11:43 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.06769 seconds
  • Memory Usage 2,265KB
  • Queries Executed 22 (?)
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
  • (2)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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