![]() |
Proxy ip to real ip conversion
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). |
nice
|
Cool, I'm going to install this later after I work on vb ads for a while.
|
Thank you! Very usefull :)
*clicks install* |
Thank you very much! :D
|
wheres the original proxy hack that i need
|
Very good idea
[high]* Beermonster clicks install :)[/high] |
kinda having trouble beleaving it can resolve the users real IP, but we will see :)
|
Quote:
Quote:
|
Paul - I've installed your hack as per the instructions, but I'm getting IP addresses being saved by proxy users in the post table such as
192.168.1.7, 82. 172.26.106.249, unknown, 10.255. 10.20.5.2, 194.2 I'm regarding this is quite a serious error as IP information needs to be correct. PHP Code:
Please help! |
Quote:
This problem is corrected in v1.1 - which has a better ip extraction and check. The steps to update are in the new zip file. :) |
Thanks. I'll keep an eye on it. For the bad IP addresses, I'll just edit out anything after the first 4 numbers and in the case of them having 'unknown' in the text I'll leave them blank. Do you agree with this course of action?
FYI I have installed this hack and the IP Info hack so my moderators can track down the morons causing trouble with duplicate registrations and proxys. |
I installed Proxy Detector 3.0 to my VB 3.01 - and next to the IP button is _HacNho - it doesnt seem to be working, any idea what might cause this? thanks>!
|
Quote:
Quote:
|
Quote:
|
Quote:
You could replace it with this which should work ok ; PHP Code:
Paul. |
nothing change,
I did the change in postbit_ip but nothing! |
Quote:
What steps have you done, and what is the problem ? |
Hello,
I have some members that I know for certain are behind a proxy. however, this hack hasn't changed or added the second "red" comp in their posts. I do believe that it is showing the correct IP, but now I can't see who else is behind a proxy. If there is a proxy detected, will it tell me that a proxy was detected? I click the normal comp and it tells me the IP and the host, but not if they were behind a proxy. On "who's online", nothing has changed either. All I see are the usernames,where they are currently on the site, and their IP address. Should i also see the host? |
Quote:
|
whatproxy can i use to test this?
|
Quote:
For who's online, it is an option (in Admin CP) to turn on host display, but this still relies on there actually being a reverse dns lookup record for the ip (which is nothing to do with me ;)) |
Thanks Paul. Yesterday I installed Proxy Detector v3.1 - for Posts and WOL which also allows you to see the Proxy IP address and Real IP address in Who's Online when User Agent info is displayed.
I think I discovered a bug afterwards in relation to the Revert function which caused my Whosonline template to disappear. I explained what happened in this post. Today I added your Proxy IP Hack Modification v1.1. Can you explain why you've changed the text in the phrase thread_displayproxyip from Below is text from original Proxy Detector v3.0 hack which is replaced The proxy IP Address is: $postinfo[ipaddress]<br> The proxy host name is: $postinfo[hostaddress]<br> The real IP Address is: $postinfo[proxyip] -------------------------------------------------------- to Real IP Address : $postinfo[ipaddress]<br> $postinfo[hostaddress]<br> Proxy Server IP Address : $postinfo[proxyip]<br> $postinfo[proxyhost] ----------------------------------------------------------- Why was this necessary? Also, in your postbit_ip modification one of the lines you add is: <if condition="($post[proxyip] != '' & $permissions['adminpermissions'])"> I changed it to <if condition="($post[proxyip] != '')"> to allow my supermods to see the red gif identifying the proxy users. |
Quote:
Quote:
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=61331 |
Quote:
The main reason I wrote this [for our forum] was because when his hack detects a proxy, it still treats the proxy server ip as the real ip, and just records the real ip in the proxyip field. As detailed in post one of this thread, my hack corrects this 'problem' and makes sure the forum always uses the members real ip, even when a proxy is detected. :) |
Thanks again, Paul. Just wanted further clarification as the fields appear to be swapped between your version and the original but your modification works and adds further benefits to the original without diminishing the original so thankyou for sharing it.
|
Quote:
Or are proxy IP addresses ignored and not stored? Thereby, making it impossible to search and find proxy IPs shared by members. |
Quote:
Quote:
|
Paul, since installing your hack I'm getting weird results when searching in admin cp Search IP Addresses.
For example: a member called Scott-Wozniak has 640 posts recorded with 80.3.32.4 When I do a search "Find IP Addresses for user" and type Scott-Wozniak I get 80.3.32.4 However, when I use "Find Users by IP Address" and type 80.3.32.4 I get No Matches Found. What is going on here, Paul. Have others experienced the same problem since installing this hack. I've checked other members including myself and some IP numbers listed when using Find IP Addresses for user return "No Matches Found" when entered as the search string in Find Users by IP Address to get the members name. But some IP numbers do return the member's name. Any explanation for this? |
Quote:
|
Paul, great work !
I was wondering if there was an easy way to show something in WOL to see whos using a proxy without needing them to post first ? I have hancho's WOL installed, but it doesnt seem to show this...? |
<a href="https://vborg.vbsupport.ru/showthread.php?t=61331" target="_blank">Proxy Detector v3.1 - for Posts and WOL </a> shows proxy IP in WOL but first you must turn the User Agent option on. The setting is at the bottom of the WOL page and is off by default. It also defaults each time you close the page and re-open it. Once user agent is on the real IP is seen above the user agent info and the proxy IP is indicated by a blue question icon (vB3)that appears to th eright of the user agent info. Mouse-over/hover over the icon to reveal the proxy IP.
|
Quote:
I was turning on the user agent, but somehow I missed the whole mousehover over the ? thing. |
Quote:
however, if you want, you can modify the template :) |
Quote:
|
I like this, but would like to see it integrated into the ipInfo hack (or vice versa)...
|
Quote:
|
Quote:
|
Well I am pretty puzzled. I have installed the hack but I don't see anything different in the WOL, or on any posts. It simply displays one IP address and not
Real IP Address : $postinfo[ipaddress]<br> $postinfo[hostaddress]<br> Proxy Server IP Address : $postinfo[proxyip]<br> $postinfo[proxyhost] as indicated by the explaination of the thread. I must have done something wrong. Anyone got any ideas. Thanks |
All times are GMT. The time now is 06:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|