View Full Version : Proxy to Real IP Conversion
PinkDaisy
14 Feb 2007, 17:27
Just a question too..
Is this working when someone is using like a ip hider, like guardster or something like that to keep their real IP showing ???
Forgive me, but where do I actually see the "conversion"?
For example, in thread view I see this:
http://img122.imageshack.us/img122/281/59861741gt6.gif (http://imageshack.us)
The 3rd box on right (baby blue color) is the one that shows the IP when you hover over it. If you click it, it shows something like:
The IP Address is: 72.49.146.xxx. The host name is: FL-ESR1-72-49-146-xxx.fuse.net.
(I purposely replaced last digits with xxx)
What am I missing?
Forgive me, but where do I actually see the "conversion"?
For example, in thread view I see this:
http://img122.imageshack.us/img122/281/59861741gt6.gif (http://imageshack.us)
The 3rd box on right (baby blue color) is the one that shows the IP when you hover over it. If you click it, it shows something like:
The IP Address is: 72.49.146.xxx. The host name is: FL-ESR1-72-49-146-xxx.fuse.net.
(I purposely replaced last digits with xxx)
What am I missing?
Can someone please help?
What are you expecting to happen ?
I want to know where I should see the px.gif button show up basically. Will it be in the same spot of the 3rd blue button (default) I've shown in the picture?
In who is online (current users) list, I do not see anything about IP's but the numbers (no graphics). Is this normal?
Ok...I've tried two proxies and the IP button is still blue but the proxy shows up in hostname if I click the IP button.
I'm curious why the red button is not showing up (px.gif).
I want to know where I should see the px.gif button show up basically. Will it be in the same spot of the 3rd blue button (default) I've shown in the picture?Yes, [only] if a Proxy was detected for that post.
In who is online (current users) list, I do not see anything about IP's but the numbers (no graphics). Is this normal?Yes.
Can you give me one proxy site that does get detected so I can test it out? I tried underproxy.com and guardster.com They both showed the IP's but the red button did not show up at all.
Also, some awesome ideas that just popped in my mind:
- some sort of proxy blacklist we can add/remove from via admincp
- automatically send email/pm notification if any user logs in via detected proxy
- automatically queue into moderation that same user's posts
So, all in all the red button should show in thread view only. The rest detection is all text (who is online and clicking IP button in threadview)? Please confirm. Thank you
Can you give me one proxy site that does get detected so I can test it out? Sorry, I don't know any proxy servers in the US to give you. This was originally written for ntl proxy servers (a UK ISP, now called VirginMedia) - but afaik, you cannot use them unless you are on the VM network.
So, all in all the red button should show in thread view only.Correct.
Thanks for your response. So what do you think of my suggestions from my earlier post? :) Just curious.
I have no plans to add anythin else to this mod as it does all I need it to. :)
They also seem designed to discriminate against users of proxy servers, which is not the point of this mod (on the ISP mentioned, usage of them is generally not a choice, it's forced).
dutchbb
27 Feb 2007, 12:54
Why is the icon always red on my board? And I'm sure not everyone is using a proxy...
I'm using 2.25 in vBulletin 3.6.4
What does it show when you click on it ?
Why is the icon always red on my board? And I'm sure not everyone is using a proxy...
I'm using 2.25 in vBulletin 3.6.4
I had that problem before, I think I missed a step.
I uninstalled it, removed everything.
Then re-downloaded the zip. Followed the instructions again and it worked out :)
dutchbb
27 Feb 2007, 18:44
What does it show when you click on it ?
ok this shows:
The Real IP Address is: 24.132.152.242
j152242.upc-j.chello.nl
The Proxy Server IP Address is: PROXYIP
Also this hack doesn't work with this other hack: http://www.vbulletin.org/forum/showthread.php?t=117966 (I really like that hack, could you make it so that we can use both? :))
But that one is disabled now so it has nothing to do with this problem.
anywares
27 Feb 2007, 18:50
Will this hack work if a user is using tor?
ok this shows:
Also this hack doesn't work with this other hack: http://www.vbulletin.org/forum/showthread.php?t=117966 (I really like that hack, could you make it so that we can use both? :))
But that one is disabled now so it has nothing to do with this problem.
This is the clue ;
The Proxy Server IP Address is: PROXYIP
You haven't done the file edits to class_core.php properly (or at all).
dutchbb
27 Feb 2007, 20:19
Actually I just did them again just now to be sure. Strange. But I'll try to do it again a few times, I'm using a cache script for the php files called eaccelerator maybe that interferes with it.
Do you think the other hack can work together with yours in some way? They are both very usefull to follow problem members. Something for vbulletin to add to the next release imo!
Do you think the other hack can work together with yours in some way? They are both very usefull to follow problem members. Something for vbulletin to add to the next release imo!
from the main post ...
This mod will also detect if the ipinfo hack is installed and adjust itself to call the ipinfo code.
dutchbb
27 Feb 2007, 20:46
Ok sorry for not reading that part. Still can't get it to work, well it's probably an error on my site. Thanks anyway, i let you know when it actually works.
FindYourHost
28 Feb 2007, 09:30
I'm having trouble with this.
When I try install the .xml file I get:
No file uploaded and no local file found.
I've also tried your 3.5 version in case there was something wrong with my VB 3.6:
XML Error: unknown at Line 0
What would cause this?
FindYourHost
28 Feb 2007, 09:38
Sorted, Was a problem with my /tmp
Paul,
Great mod (had it for all versions). I have the latest version installed with the latest IP info mod (which are compatible now).
One thing I noticed. There are some posts/users with the red icon. I was under the impression that when clicking the red IP info button it would also show the proxy IP address or some additional info. There is still value in seeing that for me. Is the proxy display disabled when used in combination with the IP info mod? Or am I wrong in thinking it also displays the proxy address? Right now I can't see a difference with this mod installed (other than some red icons). The strange thing is I just installed it and with IPinfo it is claiming 55 posts for some members with their current IP address (that is red). So obviously it is still the old proxy address. Just wondering how I could tell the difference. If I could see the proxy address vs the "real" address I could see if they were the same or different.
Thanks
-vissa
Because you have ipinfo installed you won't see the display of real and proxy ip - as that display is replaced by ipinfo's display. You cannot have both.
I think there is a compatibility problem with 3.6.5.
Until I removed the modified class_core file, I got this error when trying to access my forums:
Fatal error: Call to undefined method vB_Input_Cleaner::fetch_ip() in (FORUM ADDRESS)/Forums/includes/class_core.php on line 1567
At first I just assumed that I'd messed up when modifying the file, but after retrying 3 times and getting the same error, I doubt that.
I think there is a compatibility problem with 3.6.5.
Until I removed the modified class_core file, I got this error when trying to access my forums:
At first I just assumed that I'd messed up when modifying the file, but after retrying 3 times and getting the same error, I doubt that.
I'm afraid you must have done something wrong, this works fine on 3.6.5 - in fact, class_core.php has not changed between 364 and 365.
I tried again, and got the same error :(
EDIT:
Could it be some kind of conflict with another mod? The only one I can think of at the moment is the Extra user IP information mod.
Well unless you want to give me ftp access to your forum code there is nothing I can tell you.
Fifthe1ement
10 Mar 2007, 07:28
I'm getting a problem where since updating to version 3.6.5 almost all ip address are showing up as proxy ip's?
Thanks,
Fifth
Did you re-edit class_core.php after upgrading ?
blind-eddie
10 Mar 2007, 13:28
I'm getting a problem where since updating to version 3.6.5 almost all ip address are showing up as proxy ip's?
Thanks,
Fifth
Did you re-edit class_core.php after upgrading ?
Were you answering this question?
blind-eddie
10 Mar 2007, 18:15
lol, I wasnt sure...you know how these post go crazy.
Fifthe1ement
11 Mar 2007, 05:47
Wow, I didn't do it but I did fix it now. It is not fixing the already messed up ones? How can I fix it?
Thanks,
FifthE1ement
Wow, I didn't do it but I did fix it now. It is not fixing the already messed up ones? How can I fix it?
http://www.vbulletin.org/forum/showthread.php?p=1079819#post1079819
Ok now I did all of the correct edits I'm using 3.0.10. I tested it by using anonymizer.com the anonymous surfing program and instead of my real ip showing the fake one came up as where I was posting from. And the icon of the computer wasn't red. Now when I click on the computer I get a blank page.
There is no edit to postbit_ip in the instructions.
Yeah that's where I messed up. So I removed that and went into the template and made the corrections. But now when I click on the computer to see the ip I get a blank page. Before I was getting a mysql 2006 error. And my postings.php is now blank.
Hi,
i just installed this script, no error, but i have a question.
I dont see the icon anywhere when proxy is detected for some reason.
Where should i look for it?
I am sure that this script works.
I did netstats -n on my server and seen proxy IP listed there, and on forum (/online.php) it displays real IP.
What did i do wrong?:))
Picture is uploaded to hosting.
Thank you
blind-eddie
20 Mar 2007, 03:40
A red pc...but then again I see it on my own on some threads and not others.
It doesnt work for me.
I am actually not even sure if this hacks works for me or not.
Friend of mine just logged in to my website using proxy, and it display his IP as Proxy ip.
I re-did all 2 times, and i dont see what wrong have i done.
://
Going to read more about this :)
Greek76
25 Mar 2007, 01:56
Installed reicieved no error messages at all. Do I need to find it through the vb options to activate it or anything like that? Or its just works without me doing nothing to it? Is this suppose to resolve unknown host names aswell? If its suppose to then its not working for me.
Also some of my templates already have a button called px.gif should I overwrite them? Thanks
Installed reicieved no error messages at all.Why would you be expecting error messages ?
Do I need to find it through the vb options to activate it or anything like that? Or its just works without me doing nothing to it? It just works.
Is this suppose to resolve unknown host names aswell? Sorry, miracles are beyond even me. :)
Also some of my templates already have a button called px.gif should I overwrite them? ThanksNo idea, I've never come across anything else that uses px.gif.
Greek76
25 Mar 2007, 02:11
Why would you be expecting error messages ?
Not sure what to expect with mods you know that so why are you so surprised? ;)
It just works.
Great...
Sorry, miracles are beyond even me. :)
Damn I was hoping you were a miracle worker!
No idea, I've never come across anything else that uses px.gif.
Well apparently Vbskinworks use the same name for that button.
If I rename your image to something else do I need to redit anything in the class core file?
Thanks for you quick responses.
Xplorer4x4
25 Mar 2007, 09:22
Paul is it still possible to make it show the IP icon then when a proxy is detected make the red icon show up in place when used with IPINFO?
Also you say this is now designed to work with IP info. How so? Does it reveal the proxy in IP info under host name?
All that happens if IPINFO is installed is that the icon links to the ipinfo page, not the standard page.
peterpigman
25 Mar 2007, 13:12
I have done everything it said and it doesn't appear to be working. Tried it with a few proxies and nothing different.
Greek76
25 Mar 2007, 14:14
Same here I dont think its working either. I even know a few individuals who are using proxies and nothing seems to happen.
It works fine.
This has been covered many times in the thread - please actually read the description, it's there for a reason. :)
This hack makes the forum always use the members real ip when a proxy is detected ....
.
.
Note: Obviously this hack relies on the proxy server passing the correct http variables to allow detection.
snapplekid13
26 Mar 2007, 21:35
When it says find:
// fetch client IP address
$registry->ipaddress = $this->fetch_ip();
define('IPADDRESS', $registry->ipaddress);
// attempt to fetch IP address from behind proxies - useful, but don't rely on it...
$registry->alt_ip = $this->fetch_alt_ip();
define('ALT_IP', $registry->alt_ip);
I can't find it in the class_core.php
Look harder (or get a decent text editor).
They are at about line 1565.
ZombieAndy
29 Mar 2007, 16:08
Can you tell me the info i need to add say a box, showing the proxy IP if detected to the IPinfo screen?
I cannot tell you how to edit someone elses product.
ZombieAndy
29 Mar 2007, 21:28
im not asking that, im asking for the phrase that this hack calls up or any other infomation i would need to make the appropriate edit myself :)
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'].
KipLarson
30 Mar 2007, 03:44
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?
NeitherSparky
30 Mar 2007, 06:00
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 (http://www.vbulletin.org/forum/showthread.php?t=121886). 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.
KipLarson
30 Mar 2007, 06:33
Lol, use Miserable Users (http://www.vbulletin.org/forum/showthread.php?t=121886). 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?
If you have questions about another mod, please post them in that mods thread. :)
ZombieAndy
30 Mar 2007, 13:01
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 :)
rjmjr69
01 Apr 2007, 15:42
What if I use a different image icon?
Um, you'll get a different icon displayed ..........
rjmjr69
01 Apr 2007, 17:32
Um, you'll get a different icon displayed ..........
LOL :D
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?
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.
steve71
14 Apr 2007, 00:13
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?
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 .... ;)
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.
rjmjr69
14 Apr 2007, 04:08
LOL :D
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?
Anyone?
Lizard306
14 Apr 2007, 07:16
Hi Paul, i just installed this hack. But i guess its not working for me.
i followed your steps to install this & made a test post using http://anonymouse.org/anonwww.html but the red icon does not comeup & the system shows the proxy ip instead of the real ip.
i am using 3.6.5
What can be the problem?
steve71
14 Apr 2007, 07:54
Read the nice bold blue line in the main post .... ;)
Sorry I should have mentioned..I did re-edit the class_core.php after the upgrade. Are you sure this is compatable with 3.6.5?
What can be the problem?http://www.vbulletin.org/forum/showthread.php?p=1111071#post1111071
Are you sure this is compatable with 3.6.5?Of course. It works with any version of 3.6 - from Beta 1 up to, and including, 3.6.6.
JFYI - there is no difference in class_core.php between 3.6.4 and 3.6.5
Lizard306
14 Apr 2007, 12:28
lol, sorry i missed that post :), thanks for the prompt reply.
lol, sorry i missed that post :), thanks for the prompt reply.It is from a while ago now, I have to link back to it every so often. I should probably add it to the main post notes at some point. :cool:
BadgerDog
30 Apr 2007, 17:54
Installed.... :up:
Thanks Paul ... :)
Regards,
Badger
aycan555
01 May 2007, 22:04
I have used http://anonymouse.org/anonwww.html registered new user and posted, but it shows on post ip the proxy one also i search in admincp for the user in ip field it show proxy ip, how can i found the real ip and ban it?
Read the main post, just above the file download area.
Paul, I am upgrading from 2.13. Should I apply the file edits found in the text file? I can't find the needed code.
2.13 ? That's a vb 3.5 version - you can't use that on vb 3.6.
You must download and use 2.25 on vb 3.6.x
I installed this on vBulletin 3.6.6 and it keeps giving me an error in the classcore.php. Help please.
No one can help you unless you give some details - "an error" means nothing.
dj_melayu
13 May 2007, 18:26
it doesn't work on 3.6.6. It still not showing the real IP. I'm testing it already. In fact, the code changes is merely the same with your installation instructions.
Original 3.6.6 codes:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Your codes:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I did the changes (for 3.6.4 onwards instructions but nothing happened) :o
Thanks in advanced
it doesn't work on 3.6.6. Yes, it does.
dj_melayu
13 May 2007, 23:05
So any chances updating this modes to 3.6.6. Mine still doesnt work.Will you update the instruction?Thanks in advanced :)
Regards
Nothing needs updating, the instructions are correct.
I suggest you start again with the default class_core and redo the edits.
dj_melayu
14 May 2007, 02:24
Nothing needs updating, the instructions are correct.
I suggest you start again with the default class_core and redo the edits.
Your right Mr. Paul :up: , I forgot this :p
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The error I receive is;
Parse error: syntax error, unexpected $end, expecting '(' in /*****/web05/b1461/*****/htdocs/forum/includes/class_core.php on line 3091
I also receive;
Fatal error: Call to undefined function: fetch_ip() in /*****/web05/b1461/*****/htdocs/forum/includes/class_core.php on line 1584
I get both of them one sometimes, the other other times.
Same answer really - start again with the default class_core and redo the edits, you have made a mistake somewhere.
Same answer really - start again with the default class_core and redo the edits, you have made a mistake somewhere.:D I love it when a guy is totally confident of his work.
^He has a right to be because it worked.
Anyone want to help me install for $?
Please PM me.
Anyone want to help me install for $?
Please PM me.
No need to pay buddy ! if u like i can help u .
BadgerDog
16 May 2007, 12:13
Nothing needs updating, the instructions are correct.
I suggest you start again with the default class_core and redo the edits.
Paul...
If I re-do the edits on the "class_core.php", before I upload it in preparation for the upgrade procedure, will that work and stick?
Thanks
Regards,
Badger
Yes. I always edit files locally and uplaod the edited version.
BadgerDog
16 May 2007, 12:33
Yes. I always edit files locally and uplaod the edited version.
Thanks... :)
I just wanted to make sure that the install process didn't do some kind of checking that would prevent it from installing the v366 modded version (overwriting the v364 modded version).
I'll make your changes in the "upload" file then put it back....
BTW, thanks for your work and professionally written mods. Really great stuff and seems to address many needs our site has been looking for.
Regards,
Badger
Mikecp421
18 May 2007, 16:28
trying it out thanks
So for 3.6.6, 3.6.7 i use the last three steps?
so can i set options for this? and how can i test it?
this shows nothing when i see who is viewing using a proxy....I'm logged on under my other name on a different browser. Any ideas?
Sorry but I don't understand what this means ;
this shows nothing when i see who is viewing using a proxy
Octane1
30 May 2007, 04:46
Thank you
does this have any controls in the acp?
tis person has the red dectection on some post and not in others...whyis that?
The Real IP Address is: 208.59.118.69
208-59-118-69.c3-0.161-ubr1.lnh-161.md.cable.rcn.com
The Proxy Server IP Address is: PROXYIP
does this have any controls in the acp?Nope.
tis person has the red dectection on some post and not in others...whyis that?
The Real IP Address is: 208.59.118.69
208-59-118-69.c3-0.161-ubr1.lnh-161.md.cable.rcn.com
The Proxy Server IP Address is: PROXYIPPROXYIP is an error caused by installing the product but not doing the file edits to class_core.php
ii'm not using a proxy..why does it have the red pc on my post?
Nope.
PROXYIP is an error caused by installing the product but not doing the file edits to class_core.php
what do u mean? I shouldn't see this?I mean i installed the product like normal.
Read the installation notes, this mod requires class_core.php to be edited.
Read the installation notes, this mod requires class_core.php to be edited.
AGAIN....I did the edits...and same thing...SHOULD i email you the file i edited?
AGAIN....I did the edits...and same thing...SHOULD i email you the file i edited?What do you mean "again" ? at no point have you previously confirmed you have done any edits, and the fact you get PROXYIP means that either you haven't, or you have done them incorrectly, or you haven't uploaded them, or some other problem with them. You cannot get that error if the edits are correct and in use.
ok i'm thinking you would have known we do edits before we actually post a problem. Yes i uploaded the xml file..and I did the edits and still the same thing..Now if I did something wrong..I'm sorry...But...could I send you the file so you can yourself? Its to long to post on here.
Yes, you can send me the file.
sent u an email..THANKS!!
Very nice mod. Thanks :)
~ Crys ^^
Still working when upgraded good mod still! :)
thanks paul for checking!!!! works like a charm!!!
msvi007
19 Jun 2007, 10:14
Can you please help me out, I upgraded to the latest version of vbulletin and now I get this:
The Real IP Address is: 74.110.33.163
CPE0011114f0fcf-CM00407b876e1a.cpe.net.cable.rogers.com
The Proxy Server IP Address is: PROXYIP
I did the file updates just as I did before, I am attaching my updated file.
Can you please tell me where I went wrong?
Thank you in advance for your help :)
I've removed the file as you are not permitted to upload complete vb files.
However, I checked it first and found no issues - are you sure you have actually uploaded it (to the correct place). Also, if you run your own server and use a php cache, make sure that is reset so it picks up the new file.
msvi007
19 Jun 2007, 16:02
I've removed the file as you are not permitted to upload complete vb files.
However, I checked it first and found no issues - are you sure you have actually uploaded it (to the correct place). Also, if you run your own server and use a php cache, make sure that is reset so it picks up the new file.
Paul, yes, it is uploaded to the includes folder and I do not run my own server. The only thing different from the last time I used it was I upgraded to the latest version of VB. Would you be able to take a look for me? Please let me know.
If you want to PM me ftp and admin access details then yes, I can take a look.
msvi007
19 Jun 2007, 18:14
ok weird, i don't know if you had a chance to look already, but it looks like I am only seeing that on 1 thread in a hidden forum. I am seeing that for everyone, including myself. The rest of the board seems to have the regular icon. weird.
Outbackmark
20 Jun 2007, 13:32
Installed and lookin good, thanks Paul.
now suppose they don't post...is there anyway we can detect if you click on their profile or even view whos online?
As is says ;
* The real ip (or host) is displayed in the who's online page.
Along with all the other Ip addresses right? Wouldn;t it be better for that certain person using a server to stand out when viewing whos online? Like have a star or something beside their name? Or even admins will get emails or pm notifications when someone is using one? Just a thought..lol Thanks Paul.
This may seem like a lame question, but how do I know it's working? I'm running vBull. 3.6.7 PL1 and I have the newest version of IP info running as well (v1.0.3)
I've installed your product - being meticulous on editing the php file right. Followed the instructions to a T and....now what?
Is there anyway to test the product, or should I just wait and watch the "users online" page? Any suggestions?
Unless you have access to a proxy server (that passes on it's details) then there isn't much you can do except keep an eye out.
I not able to see the icon anywhere. I've uploaded the px.gif to both default and chestnut style's button dir. Can anyone post a screen shot of this mod so I can understand where the button shows? Thanks in advance.
Carlos2
11 Jul 2007, 05:59
Problem Solved.
Installed ;)
TonyComix
29 Jul 2007, 07:25
sorry, im such a newb... but can someone tell me WHERE I go to install this, i downloaded the file and have it up but i need to know where exactly to go to edit:
class_core.php ;
Find ;
function fetch_ip()
{
return $_SERVER['REMOTE_ADDR'];
}
class_core.php is one of the standard vbulletin files (in the includes folder).
3.6.8 i just updated to..and all the members have that red icon on their post. Any updates?
You have remembered this from the main post ?
Remember that this modification involves changes to the class_core.php file - if you upgrade your vbulletin, you must reapply those changes.
Ben6308
01 Sep 2007, 01:15
I'm having problems with this on 3.6.8. All posts have the "Proxy Detected" Red IP box, and when you click on it, it says:
The Real IP Address is: (whatever that users IP is)
(the hostname)
The Proxy Server IP Address is: PROXYIP
Help!
Read the post above yours.
I installed it last night and everything is working as stated
thanks Paul
v3.6.8
bulbasnore
03 Sep 2007, 18:51
Thanks for this hack. I have 3.6.7_pl1 at the moment. I would love to see this with no code edits... do you think the necessary hook will ever be available?
One thing that I like to have, is a report for me and our staff to see who has been using proxies lately.
Below I present a SQL query for such a report and an xml export of a report for those who are using Logician's excellent WebTemplates mod.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The above query gives you how many posts by a proxy for each user, in total.
The attached XML file list username, proxy ip, real ip for the last 30 days in descending order of post date.
Thanks for this hack. I have 3.6.7_pl1 at the moment. I would love to see this with no code edits... do you think the necessary hook will ever be available?
It will never happen because the edited code is part of the very basic core code that is run before the hook system is even initialized.
Most of my members now display a red button and when I check it out this is displayed:
"The Proxy Server IP Address is: PROXYIP"
This is even displayed for myself and I sure am not on a proxy. How can I fix this?
You fix it by doing the required file edits.
The file edits instructions do no longer match vb 3.6.8's class_core.php's content.
Step 3:
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This is not there. What is there is:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I assume that this would need to be replaced. But since I am no coder and it seems more has been altered in class_core.php's content, I am not certain.
You need to re-read the instructions ;
Step 3 clearly states ;
Step 3 (vB Versions 3.6.0 to 3.6.3 only).
Steps 4 & 5 state ;
Step 4 (vB Versions 3.6.4 onwards only).
Step 5 (vB Versions 3.6.4 onwards only).
I seem to have been working with an older version of the instructions. I have now applied the new instructions to vb 3.6.8, but this has not solved it. Do I need to wait for a cron job to be passed or is there something else I need to do?
I'm not sure what you mean isn't solved. If you have done the file edits correctly then new posts posts will now contain the correct data. Old posts will not be updated.
That explains it. Thanks.
dosadno
14 Sep 2007, 12:15
I am having som problems on 3.6.8 version, I cant find the code in step 2. in the class_core.php, so I dont know where to put replacmen code given in the instructions? Help!!!
THNX in front!
Missing code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you have the default class_core file for 3.6.8 then the code is there, perhaps your text editor is not searching properly, try just looking for "// fetch client IP address".
legionofangels
23 Sep 2007, 00:06
Probably a question asked many times but how do we know which IP is the correct one to ban?
When we look at who's online it shows one, then when we hit the IP to resolve it, it shows a different number. So which one is the person's true IP that we can ban?
When you view who's online you see their IP address, when you click on it, vb does a reverse dns lookup to resolve the ip address to a hostname. A hostname is not an ip address (allthough it can sometimes look like one). Also if no rdns exists, the ip address will be displayed again. [This is all standard vbulletin functionality btw]
legionofangels
24 Sep 2007, 06:38
Again, not what I was looking for. At times it lists a text name of something like the type of service they are using. Other times it lists the same number amidst text.
The issue is how do we know which is the real IP address to ban?
For example, I see one now on the who's online screen, most likely a proxy server considering it says
.....atc.proxy.aol.com
That seems pretty obvious.
Now the IP shown at who's online is not the one shown in the Admin CP under the IP under there user profile there.
So again which one is the correct one to ban?
Fifthe1ement
24 Sep 2007, 06:43
If you're not sure ban both, as that is what I do.
This mod is great although it desperately needs and update. :(
FifthE1ement
Now the IP shown at who's online is not the one shown in the Admin CP under the IP under there user profile there.
The ip address in their profile is (was) their ipaddress when they registered (that could be years ago depending on how long they have been a member). The ip address in WOL is their current ip address. The sensible thing to do would be to ban their current ipaddress.
This mod is great although it desperately needs and update. :(
An update to do what ?
flynnibus
05 Oct 2007, 21:56
Does anyone know if this provides any value for AOL users? Users who connect via the AOL client?
Or does anyone have any threads they can point me towards when it comes to singling out users who connect through AOL?
Thx
As I recall, AOL proxies do not pass on the required information.
flynnibus
06 Oct 2007, 13:57
As I recall, AOL proxies do not pass on the required information.
Thx Paul. Man I wish AOL would die already :)
yashbond
27 Oct 2007, 14:41
Does it work on 3.6.8 ?
McMendo
31 Oct 2007, 14:11
Does it work on 3.6.8 ?Don't know. I get a en error on line 2216 of class_core.php, even after reviewing each line of code. Something related to class vBRegistry.
It works on any version of vb 3.6, that's why the version says 3.6.x :)
Total666
31 Oct 2007, 17:58
Don't know. I get a en error on line 2216 of class_core.php, even after reviewing each line of code. Something related to class vBRegistry.
Get textpad the program , then edit your class_core.php
McMendo
06 Nov 2007, 15:31
Get textpad the program , then edit your class_core.phpI can edit it with vi just as well. Anyway, line 2216 is a closing '}'.
However you are editing it, you have made an error. I suggest you start with a clean copy of the file and start again.
Which changes are made to the class_core.php for vr 3.6.5? or all changes on the install file made for the version I am using.
Thanks in advance.
**Edit: nvmd. I figured it out.
dutchbb
18 Dec 2007, 19:59
However you are editing it, you have made an error. I suggest you start with a clean copy of the file and start again.
Hello Paul , is it possible not every proxy is detected ? The mod is working ok on our board but some banned members keep coming back with new proxy IPs.
Did you read the main post, the answer is there more than once .... ;)
dutchbb
19 Dec 2007, 05:29
Yes I've read it a couple of times, I guess you mean it's always detected? Then I don't know why some banned members manage to get new ip's...
I honestly cannot comprehend how you come to that conclusion. I clearly state ;
Obviously this hack relies on the proxy server passing the correct http variables to allow detection.
And also there is a bold purple line telling you to read post #160 (http://www.vbulletin.org/forum/showthread.php?p=1111071#post1111071)
Just in case it's still not clear - This will not detect all proxy servers, that's simply impossible to do.
dutchbb
19 Dec 2007, 11:07
Strange... maybe it's just easy to miss the last two lines even with the color and bold? My conclusion was based on the first lines in the post. Anyway... I understand that you can not add every proxy server, but maybe you can allow users to add proxy servers? Just an idea :)
dutchbb
21 Dec 2007, 11:00
Hello, sorry to bother, but would there be a possibility to add extra proxy's ourselves? We got a lot of banned members that keep coming back with new proxy's. Thank you :)
Sorry but I don't understand what you are asking - what good would a list of proxy servers do exactly ?
dutchbb
24 Dec 2007, 19:24
When you said 'this hack will not detect all proxy servers, that's simply impossible to do' what exactly did you mean? Does this hack depend on a list of proxy's that it has to recognize? If so, we could add new proxy's to that list as they register on our board, just like with the IP ban list.
Hopefully this clears up what I've been trying to point out.
PS: I'm not trying to criticize your hack, it's great as it is, just like to know how it works and maybe suggest something.
This does not rely on a list of servers, in order to know a persons real ip, it relies on the proxy server adding certain http headers. If they are not added then the real ip can never be known.
Note: Obviously this hack relies on the proxy server passing the correct http variables to allow detection.
bulbasnore
10 Jan 2008, 06:34
Uninstalled. Would be worth it if we didn't need 3 edits per upgrade. Thanks Paul!
Uninstalled. Would be worth it if we didn't need 3 edits per upgrade. Thanks Paul!
Unfortunately, there will never be any way around that. :)
njoker555
10 Jan 2008, 18:25
Uninstalled. Would be worth it if we didn't need 3 edits per upgrade. Thanks Paul!
3 edits isnt that much lol, i've installed mods that needed dozens of installations, and before i switched to vb from SMF - i had to make like 50 edits to 30 different files to get the shop mod working lol :D this is nothing
good mod
jellybaby
01 Feb 2008, 10:37
I have installed this modification as well and I get:-
The Proxy Server IP Address is: PROXYIP
I have checked I have done everything correctly and I have. Paul I noticed someone sent you their FTP details where they had the same, did you manage to resolve it?
Thanks
That means you haven't done something correctly (i.e. the class_core edits).
TheInsaneManiac
05 Feb 2008, 19:38
That means you haven't done something correctly (i.e. the class_core edits).
I have done all class core edits correctly and I get this problem too. I have attached my class_core.php for you to take a look at. I also did not upload the CVS folder was I suppose to?
ALSO: Since this mod uncovers the REAL IP Address, does it compare the real IP Address to the list of your banned IP Addresses? If not you should add that in, because then members wouldn't be able to register under a new account too easily.
Same problem here, even though I have done all class core edits.
The Proxy Server IP Address is: PROXYIP
Also it seems that the "real" IP address is showing the proxy IP instead
I'm using Vbulletin 3.6.8 Patch Level 2
I have done all class core edits correctly and I get this problem too. I have attached my class_core.php for you to take a look at. I also did not upload the CVS folder was I suppose to?
ALSO: Since this mod uncovers the REAL IP Address, does it compare the real IP Address to the list of your banned IP Addresses? If not you should add that in, because then members wouldn't be able to register under a new account too easily.
I've removed your file now. I checked it first and it all seems correct. Are you sure you actually uploaded it to your live forum. Also, are you checking current posts, old posts will not be updated if wrong information was stored at the time they were made.
CoryNickerson
22 Feb 2008, 01:38
I couldn't get this to work. I tried on about 10 different proxy browsers. Didn't work on a single one. I'd log in to a fake account on each one then check the Who's Online list with my admin account and the IP was always a fake (not mine).
:( I desperately need to get this working.
http://www.vbulletin.org/forum/showthread.php?p=1111071#post1111071
-=Leb=-
09 Mar 2008, 15:52
Hi ,i'm using VB 3.8 and i'm wondering if i need to edit the class_core.php to get this hack work because on your Proxy-to-real-ip.txt you didn't mention anything above vb 3.6.4.
Thank you
I suggest you re-read it again. The edits apply to all versions, and differ for 3.6.4 or above.
njoker555
10 Mar 2008, 20:26
i used to use this before and it worked, back in january we had a bit of server crash and we lost a lot of data and i reinstalled everything - ever since then, this mod has not worked properly
i just reinstalled today but it still doesn't work, help is appreciated - thanks!
"still doesn't work" is pretty meaningless, if you want help then please state exactly what the issue is. Thanks.
does this work fine on vb 3.6.8 paul ?
3.6.x means it will work on any 3.6 version. :)
raywjohnson
27 Mar 2008, 22:46
Greetings!
I am having a very strange problem with this mod. It only seems to work for me (as superadmin), none of the administrators/moderators ever see the px.gif icon. I tested this by upgrading my "sock" testing account to an admin. Using a different browser (Galeon) to login, sure enough the posts that show the px.gif for me (as superadmin), do not show for my sock.
To see if I could find where the problem was, I made some test changes to (and then blanked out completely) the postbit_ip and postbit_proxyip templates. Any changes to the postbit_proxyip worked as expected for my super account. But, no combination of changes effected my regular admin account. The "default" ip.gif image always showed (I made sure my browser cache was cleared). I have IPInfo installed and the icon is linked correctly to the ipinfo.php file.
I know this mod is working as I can find the post table proxyip field populated for some posts. Also, I "hacked" ipinfo.php to show the proxyip info (if it exists). If (using the regular admin account) I click the ip.gif icon in a post that I know has proxyip info, it shows up as expected.
I have looked for permissions and/or template issues/settings that might effect this with no success.
Thanks for any help!
--RayJ
TheJordan
31 Mar 2008, 05:59
Installed. Good stuff. Thanks.
Thank you! Just installed! Fingers crossed it's going to work!
---MAD---
19 Apr 2008, 07:00
Hi there,
I am trying to install this but have no luck so far. When installing the plugin, the page constantly loads but nothing happens. It even killed mysql a few times and I had to restart it.
Part of the installation is to modify your post table, I would guess you have a large post table.
webghey
21 Apr 2008, 05:34
3.69 issues?
webghey
22 Apr 2008, 00:26
I was asking if people with vb 3.69 issues and this mod, or confirmation it was working on the update
This works with any 3.6 version.
njoker555
23 Apr 2008, 12:07
"still doesn't work" is pretty meaningless, if you want help then please state exactly what the issue is. Thanks.
oh sorry for my late reply, i've just been busy with college
but anyway, by still doesn't work, i mean it doesn't convert the IP - i tested with a dummy account and several proxies - it still shows the proxy ip for some reason
I take it you read all the main post, including the link to this ;
http://www.vbulletin.org/forum/showthread.php?p=1111071#post1111071
njoker555
23 Apr 2008, 16:44
I take it you read all the main post, including the link to this ;
http://www.vbulletin.org/forum/showthread.php?p=1111071#post1111071
yea i remember reading that but the thing is, it USED to work - it used to show the real IPs but not anymore
I have tried more than a few proxies on this, including two of mine which worked fine before so i don't know why it suddenly just stopped working
I cannot possibly answer that unless you give me admin and ftp access to your site.
Wizardjv
27 Apr 2008, 09:33
Hi I recently updated to 3.6.10... And after adding the edit to core.php....It gives error and doesnt work...Is there something that must be updated for it to work with the new security update?
Nope. I suggets you check your edits.
Silver_2000_)!
15 May 2008, 04:34
never mind - 4th edit was the charm
TheLastSuperman
27 Nov 2008, 00:50
Thanks Paul :D
almqdad
02 Feb 2009, 14:02
how do I uninstall this product
and if i want to upgrading to 3-7 shall i over write or any extra editing is needed
Is this working with 3.8.2?
raywjohnson
07 Apr 2009, 21:26
I am just recently upgraded to v3.8.2 and it is still working for me! :up:
--RayJ
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.