Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Proxy Detector v3.1 - for Posts and WOL Details »»
Proxy Detector v3.1 - for Posts and WOL
Version: 1.00, by mtha mtha is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 02-07-2004 Last Update: 06-20-2004 Installs: 68
DB Changes
 
No support by the author.

############################################
# Hack Name: Proxy Detector v3.1
# Orgiginal hack by Takara and Stadler (for vB 2.0)
# Modified for vB 3.0.1 and Addon by HacNho
# Compatibility to vB 3.0.x
# Date: 06.20.04
############################################
# History:
# Version 3.1: (update 06.20.04)
# 1. Display ProxyIP in WhoIsOnline list (in UserAgent section)
#
# Version 3.0:
# 1. Compatibility to vB 3.0 RC4
# 2. Admin with "adminpermission" will see the "ProxyIP when overmouse if the IP is not shown
# 3. Proxy IP will be displayed with IP address in show IP page
#
# # Version 2.0 ...
# # Version 1.0 by Takara and Stadler (for vB 2.x)

###########################################
# Description: This is little hack detects via the Environmental Variable
# HTTP_X_FORWARDED_FOR if the user is using a proxy. Most proxys give out this
# variable. If it is it will display it out for you, and allow you to view the
# real IP of the person, and proxy IP when you click the link (in Post or Who'sOnline).
#
# Files Edited: 5 - includes/init.php
# - Files edited for proxyIP in posts: 2- includes/functions_newpost.php, postings.php
# - Files edited for proxyIP in WOL: 2- includes/sessions.php, online.php
# Templates Modified for proxyIP in posts: 2 - postbit_ip_show, postbit_ip_hidden
# Templates Modified for ProxyIP in WOL: 1 - whosonlinebit
# SQL Query to run: 2 (add proxyip in post and session table)
# Phrase to add: thread_displayproxyip

#
# Remember to backup your files and DB before making any changes!
############################################

INSTALL: HN-ProxyDetextor-301.txt (8.9 KB)

Upgrade from version 3.0 or only install ProxyDetector for WOL:
HN-ProxyDetextor-WOL.txt (11.5 KB) - Update 06.20.04

Upgrade from version for vB beta7 to version 3.0HN-ProxyDetextor-upgrade-b7-RC4.txt (3.5 KB)

SCREENSHOTS:
proxydetected.jpg (7.8 KB)
proxyip-WOL.gif (10.1 KB)



*NEW: version 3.1 will save and show proxyIP in Who is Online page.
In order to see proxy, you need to turn "UserAgent" on:
http://YourDomain/Yourforum/online.php?ua=1


Remember to click

Show Your Support

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

Comments
  #82  
Old 10-11-2004, 11:29 AM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theArchitect

Thankyou. Although, in the first screen shot is that suppose to be displayed when I click on the IP address icon located next to each post?
When a person creates a post obviously that post is recorded in the database with IP address info which is accessible by mouse-over or clicking the ip.gif. If the person was using a proxy IP when they posted that too will be recorded in the database so that when you click the ip.gif icon you get a message screen that contains both real and proxy IP addresses like you see in the first screenshot.
Reply With Quote
  #83  
Old 10-11-2004, 12:06 PM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MickDoneDee
When a person creates a post obviously that post is recorded in the database with IP address info which is accessible by mouse-over or clicking the ip.gif. If the person was using a proxy IP when they posted that too will be recorded in the database so that when you click the ip.gif icon you get a message screen that contains both real and proxy IP addresses like you see in the first screenshot.
Thankyou for your assistance. But it doesn't seem to be doing this.

I have a couple of friends who have been helping me out by logging on from proxies to test my system and they are not being listed as proxies.

Does this hack work for annonymisers or just proxies?
Reply With Quote
  #84  
Old 10-11-2004, 12:17 PM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are your friends actually posting? If they are posting with a proxy that IP should appear in the Proxy IP field in your database and be displayed in http://yourforum.com/postings.php?do=getip&p=xxxxxxx where xxxxxxx is the postid.

Have you got access to your database to check?
Reply With Quote
  #85  
Old 11-19-2004, 09:27 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MickDoneDee
Look at the bottom of Who's Online - you should see these settings:

Display: All (space) User Agent: No (space) Per Page: 20

They are the default settings that appear whenever you load http://YourDomain/Yourforum/online.php?

To see the results of the Proxy Detector v3.1 hack you need to select User Agent: Yes

The Real IP is seen above the user agent info and if a Proxy IP is detected you will see the round blue icon with question mark within the user agent info. Mouse-over that to see the Proxy IP.

If you are concerned about the User Agent setting defaulting every time you leave and return to Who's Online then keep Who's Online open but minimised as an icon on your taskbar while you browse the rest of the site in another open window.
It seems that people having a hard time turning User Agent ON so I would suggest taking the ProxyIP Icon OUT of the user Agent


You can Use this instead:


### ACP/Edit TEMPLATE: whosonlinebit
## Look for:

<if condition="$show['useragent']">

## Add BEFORE:
<if condition="$userinfo[proxyip]">
<img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[proxyip]" />
Reply With Quote
  #86  
Old 11-19-2004, 09:31 PM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a possibilaty to ban people with a proxy?

With this hack I can see their real IP. But when I ban that IP, and their proxy IP they can just take another proxy from the net and start posting again..
Cause the ACP doesn't use the info/doesn't see's the info.

So when a user's real IP and proxy IP are banned the forum doesn't do anything when a person is posting again.

Do you understand?
Reply With Quote
  #87  
Old 11-20-2004, 03:35 AM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eagle Creek
Is there a possibilaty to ban people with a proxy?

So when a user's real IP and proxy IP are banned the forum doesn't do anything when a person is posting again.
That's why you need to add Proxy ip to real ip conversion. It compliments this hack very well so that you can reveal people's real IP address when they are using Proxys AND, most importantly, ban those users, if necessary, by their REAL ip address. I haven't had to ban anyone, yet, in this manner, but I have forums which allow guests to post so it is vital that I can stop them flooding the forum by banning their real ip.
Reply With Quote
  #88  
Old 12-05-2004, 07:58 PM
rh2004 rh2004 is offline
 
Join Date: Nov 2004
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work in 3.0.3
Reply With Quote
  #89  
Old 12-05-2004, 08:37 PM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MickDoneDee
That's why you need to add Proxy ip to real ip conversion. It compliments this hack very well so that you can reveal people's real IP address when they are using Proxys AND, most importantly, ban those users, if necessary, by their REAL ip address. I haven't had to ban anyone, yet, in this manner, but I have forums which allow guests to post so it is vital that I can stop them flooding the forum by banning their real ip.
Thank you! I'll take a look overthere.
Reply With Quote
  #90  
Old 12-05-2004, 09:53 PM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rh2004
Will this work in 3.0.3
Yes, I'm using 3.0.3 and it works well.
Reply With Quote
  #91  
Old 12-10-2004, 01:41 PM
Goodspeed Goodspeed is offline
 
Join Date: Aug 2004
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just uninstalled Proxy Detector... But now IP adresses do not write into the database. All I can see is

IP Adress: IPADRESS. Host .

Please help. May be I deleted something wrong?
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 12:01 PM.


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.04842 seconds
  • Memory Usage 2,310KB
  • 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
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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