PDA

View Full Version : Administrative and Maintenance Tools - Proxy to Real IP Conversion


Pages : 1 [2]

PinkDaisy
02-14-2007, 04:27 PM
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 ???

Chadi
02-15-2007, 02:46 AM
Forgive me, but where do I actually see the "conversion"?

For example, in thread view I see this:

https://vborg.vbsupport.ru/ (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?

Chadi
02-21-2007, 10:37 AM
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?

Paul M
02-21-2007, 11:05 AM
What are you expecting to happen ?

Chadi
02-21-2007, 11:06 AM
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?

Chadi
02-21-2007, 11:16 AM
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).

Paul M
02-21-2007, 11:21 AM
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.

Chadi
02-21-2007, 11:34 AM
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

valdet
02-21-2007, 03:22 PM
thanks

*installed*

Paul M
02-21-2007, 03:48 PM
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.

Chadi
02-22-2007, 03:07 AM
Thanks for your response. So what do you think of my suggestions from my earlier post? :) Just curious.

Paul M
02-22-2007, 11:25 AM
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
02-27-2007, 11:54 AM
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

Paul M
02-27-2007, 02:22 PM
What does it show when you click on it ?

Shazz
02-27-2007, 02:24 PM
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
02-27-2007, 05:44 PM
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: https://vborg.vbsupport.ru/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
02-27-2007, 05:50 PM
Will this hack work if a user is using tor?

Paul M
02-27-2007, 06:50 PM
ok this shows:




Also this hack doesn't work with this other hack: https://vborg.vbsupport.ru/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
02-27-2007, 07:19 PM
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!

Paul M
02-27-2007, 07:23 PM
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
02-27-2007, 07:46 PM
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
02-28-2007, 08:30 AM
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
02-28-2007, 08:38 AM
Sorted, Was a problem with my /tmp

lazytown
02-28-2007, 09:36 AM
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

Paul M
02-28-2007, 09:44 AM
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.

Zelos
03-03-2007, 05:57 AM
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.

Shazz
03-03-2007, 06:21 AM
Working fine on 3.6.5 :|

Paul M
03-03-2007, 10:32 AM
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.

Zelos
03-07-2007, 02:53 AM
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.

Paul M
03-07-2007, 10:41 AM
Well unless you want to give me ftp access to your forum code there is nothing I can tell you.

Fifthe1ement
03-10-2007, 06:28 AM
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

Paul M
03-10-2007, 10:30 AM
Did you re-edit class_core.php after upgrading ?

blind-eddie
03-10-2007, 12:28 PM
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?

Paul M
03-10-2007, 02:35 PM
Um, yes ..........

blind-eddie
03-10-2007, 05:15 PM
lol, I wasnt sure...you know how these post go crazy.

Fifthe1ement
03-11-2007, 04:47 AM
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

Paul M
03-11-2007, 04:19 PM
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?

https://vborg.vbsupport.ru/showthread.php?p=1079819#post1079819

BGOL
03-11-2007, 09:48 PM
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.

Paul M
03-11-2007, 10:32 PM
There is no edit to postbit_ip in the instructions.

BGOL
03-11-2007, 10:36 PM
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.

Daky
03-20-2007, 02:21 AM
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
03-20-2007, 02:40 AM
A red pc...but then again I see it on my own on some threads and not others.

Daky
03-20-2007, 02:44 AM
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 :)

BBF
03-23-2007, 06:50 PM
it's works on 3.6.5?

Paul M
03-23-2007, 10:59 PM
Yes.

Greek76
03-25-2007, 12:56 AM
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

Paul M
03-25-2007, 01:06 AM
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
03-25-2007, 01:11 AM
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
03-25-2007, 08:22 AM
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?

Paul M
03-25-2007, 11:19 AM
All that happens if IPINFO is installed is that the icon links to the ipinfo page, not the standard page.

peterpigman
03-25-2007, 12:12 PM
I have done everything it said and it doesn't appear to be working. Tried it with a few proxies and nothing different.

Greek76
03-25-2007, 01:14 PM
Same here I dont think its working either. I even know a few individuals who are using proxies and nothing seems to happen.

Paul M
03-25-2007, 04:26 PM
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
03-26-2007, 08:35 PM
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

Paul M
03-26-2007, 09:04 PM
Look harder (or get a decent text editor).

They are at about line 1565.

ZombieAndy
03-29-2007, 03:08 PM
Can you tell me the info i need to add say a box, showing the proxy IP if detected to the IPinfo screen?

Paul M
03-29-2007, 08:08 PM
I cannot tell you how to edit someone elses product.

ZombieAndy
03-29-2007, 08:28 PM
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 :)

Paul M
03-29-2007, 11:51 PM
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
03-30-2007, 02:44 AM
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
03-30-2007, 05:00 AM
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 (https://vborg.vbsupport.ru/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
03-30-2007, 05:33 AM
Lol, use Miserable Users (https://vborg.vbsupport.ru/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?

Paul M
03-30-2007, 10:56 AM
If you have questions about another mod, please post them in that mods thread. :)

ZombieAndy
03-30-2007, 12:01 PM
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
04-01-2007, 02:42 PM
What if I use a different image icon?

Paul M
04-01-2007, 04:01 PM
Um, you'll get a different icon displayed ..........

rjmjr69
04-01-2007, 04:32 PM
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?

jonty
04-11-2007, 09:43 AM
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
04-13-2007, 11:13 PM
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?

Paul M
04-14-2007, 12:15 AM
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
04-14-2007, 03:08 AM
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
04-14-2007, 06:16 AM
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
04-14-2007, 06:54 AM
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?

Paul M
04-14-2007, 11:07 AM
What can be the problem?https://vborg.vbsupport.ru/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
04-14-2007, 11:28 AM
lol, sorry i missed that post :), thanks for the prompt reply.

Paul M
04-14-2007, 11:35 AM
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
04-30-2007, 04:54 PM
Installed.... :up:

Thanks Paul ... :)

Regards,
Badger

aycan555
05-01-2007, 09:04 PM
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?

Paul M
05-01-2007, 09:48 PM
Read the main post, just above the file download area.

Alfa1
05-08-2007, 12:31 AM
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.

Paul M
05-08-2007, 01:28 AM
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

Atwal
05-13-2007, 04:57 PM
I installed this on vBulletin 3.6.6 and it keeps giving me an error in the classcore.php. Help please.

Paul M
05-13-2007, 05:18 PM
No one can help you unless you give some details - "an error" means nothing.

dj_melayu
05-13-2007, 05:26 PM
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:

if (!defined('SESSION_IDHASH'))
{
define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . $this->fetch_substr_ip($registry->alt_ip))); // this should *never* change during a session
}

Your codes:

if (!defined('SESSION_IDHASH'))
{
// Paul M - Define session id
define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip(IPADDRESS)));
}

I did the changes (for 3.6.4 onwards instructions but nothing happened) :o

Thanks in advanced

Paul M
05-13-2007, 06:25 PM
it doesn't work on 3.6.6. Yes, it does.

dj_melayu
05-13-2007, 10:05 PM
So any chances updating this modes to 3.6.6. Mine still doesnt work.Will you update the instruction?Thanks in advanced :)

Regards

Paul M
05-14-2007, 12:50 AM
Nothing needs updating, the instructions are correct.

I suggest you start again with the default class_core and redo the edits.

dj_melayu
05-14-2007, 01:24 AM
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

Find ;

// define session constants
define('SESSION_HOST', substr($registry->ipaddress, 0, 15));


Replace with ;

// Paul M - Define session host
define('SESSION_HOST', substr(IPADDRESS, 0, 15));

Atwal
05-14-2007, 01:27 AM
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.

Paul M
05-14-2007, 11:27 AM
Same answer really - start again with the default class_core and redo the edits, you have made a mistake somewhere.

sola
05-14-2007, 12:45 PM
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.

Atwal
05-14-2007, 07:48 PM
^He has a right to be because it worked.

Gayble
05-14-2007, 08:11 PM
Anyone want to help me install for $?
Please PM me.

Mecho
05-15-2007, 05:01 PM
Anyone want to help me install for $?
Please PM me.

No need to pay buddy ! if u like i can help u .

BadgerDog
05-16-2007, 11:13 AM
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

Paul M
05-16-2007, 11:23 AM
Yes. I always edit files locally and uplaod the edited version.

BadgerDog
05-16-2007, 11:33 AM
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
05-18-2007, 03:28 PM
trying it out thanks

Mrdby
05-20-2007, 01:47 AM
So for 3.6.6, 3.6.7 i use the last three steps?

Mrdby
05-20-2007, 02:10 AM
so can i set options for this? and how can i test it?

Mrdby
05-21-2007, 03:34 PM
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?

Paul M
05-21-2007, 06:49 PM
Sorry but I don't understand what this means ;

this shows nothing when i see who is viewing using a proxy

Octane1
05-30-2007, 03:46 AM
Thank you

Mrdby
06-10-2007, 02:18 AM
does this have any controls in the acp?

Mrdby
06-10-2007, 02:26 AM
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

Paul M
06-10-2007, 10:19 AM
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

Mrdby
06-10-2007, 07:42 PM
ii'm not using a proxy..why does it have the red pc on my post?

Mrdby
06-10-2007, 07:43 PM
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.

Paul M
06-10-2007, 08:42 PM
Read the installation notes, this mod requires class_core.php to be edited.

Mrdby
06-10-2007, 08:43 PM
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?

Paul M
06-10-2007, 08:51 PM
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.

Mrdby
06-10-2007, 08:54 PM
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.

Paul M
06-10-2007, 09:51 PM
Yes, you can send me the file.

Mrdby
06-10-2007, 10:59 PM
sent u an email..THANKS!!

hoof
06-10-2007, 11:25 PM
Thanks great Hack/Mod

Crys
06-17-2007, 02:47 PM
Very nice mod. Thanks :)

~ Crys ^^

Shazz
06-17-2007, 02:54 PM
Still working when upgraded good mod still! :)

Mrdby
06-17-2007, 03:45 PM
thanks paul for checking!!!! works like a charm!!!

msvi007
06-19-2007, 09:14 AM
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 :)

Paul M
06-19-2007, 11:50 AM
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
06-19-2007, 03:02 PM
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.

Paul M
06-19-2007, 03:56 PM
If you want to PM me ftp and admin access details then yes, I can take a look.

msvi007
06-19-2007, 05:14 PM
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
06-20-2007, 12:32 PM
Installed and lookin good, thanks Paul.

Mrdby
06-20-2007, 01:54 PM
now suppose they don't post...is there anyway we can detect if you click on their profile or even view whos online?

Paul M
06-20-2007, 02:48 PM
As is says ;

* The real ip (or host) is displayed in the who's online page.

Mrdby
06-20-2007, 04:19 PM
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.

bryanb
06-20-2007, 08:40 PM
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?

Paul M
06-21-2007, 12:39 AM
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.

Dotara
06-28-2007, 08:14 PM
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
07-11-2007, 04:59 AM
Problem Solved.

Installed ;)

TonyComix
07-29-2007, 06:25 AM
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'];
}

Paul M
08-04-2007, 05:00 PM
class_core.php is one of the standard vbulletin files (in the includes folder).

Mrdby
08-10-2007, 11:59 AM
3.6.8 i just updated to..and all the members have that red icon on their post. Any updates?

Paul M
08-10-2007, 07:34 PM
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
09-01-2007, 12:15 AM
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!

Paul M
09-01-2007, 02:35 PM
Read the post above yours.

ickie
09-01-2007, 03:48 PM
I installed it last night and everything is working as stated
thanks Paul
v3.6.8

bulbasnore
09-03-2007, 05:51 PM
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.


SELECT username, count( * )
FROM `post`
WHERE `proxyip` REGEXP '[0-9].*'
GROUP BY username
ORDER BY `username` ASC


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.

Paul M
09-03-2007, 06:49 PM
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.

Alfa1
09-05-2007, 07:11 PM
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?

Paul M
09-05-2007, 10:02 PM
You fix it by doing the required file edits.

Alfa1
09-06-2007, 03:26 PM
The file edits instructions do no longer match vb 3.6.8's class_core.php's content.

Step 3:
Find:
// define session constants
define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip($registry->alt_ip))); // this should *never* change during a session
define('SESSION_HOST', substr($registry->ipaddress, 0, 15));

This is not there. What is there is:
// define session constants
define('SESSION_HOST', substr($registry->ipaddress, 0, 15));
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.

Paul M
09-06-2007, 05:24 PM
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).

Alfa1
09-07-2007, 11:44 AM
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?

Paul M
09-07-2007, 03:59 PM
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.

Alfa1
09-07-2007, 04:14 PM
That explains it. Thanks.

dosadno
09-14-2007, 11:15 AM
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:
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);

Paul M
09-14-2007, 02:44 PM
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".

CMGU
09-14-2007, 04:58 PM
nice thanks

legionofangels
09-22-2007, 11:06 PM
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?

Paul M
09-23-2007, 10:39 AM
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
09-24-2007, 05:38 AM
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
09-24-2007, 05:43 AM
If you're not sure ban both, as that is what I do.

This mod is great although it desperately needs and update. :(

FifthE1ement

Paul M
09-24-2007, 10:53 AM
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
10-05-2007, 08:56 PM
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

Paul M
10-05-2007, 10:59 PM
As I recall, AOL proxies do not pass on the required information.

flynnibus
10-06-2007, 12:57 PM
As I recall, AOL proxies do not pass on the required information.

Thx Paul. Man I wish AOL would die already :)

yashbond
10-27-2007, 01:41 PM
Does it work on 3.6.8 ?

McMendo
10-31-2007, 01:11 PM
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.

Paul M
10-31-2007, 04:42 PM
It works on any version of vb 3.6, that's why the version says 3.6.x :)

Total666
10-31-2007, 04:58 PM
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
11-06-2007, 02:31 PM
Get textpad the program , then edit your class_core.phpI can edit it with vi just as well. Anyway, line 2216 is a closing '}'.

Paul M
11-06-2007, 09:14 PM
However you are editing it, you have made an error. I suggest you start with a clean copy of the file and start again.

sylar
11-07-2007, 05:56 AM
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
12-18-2007, 06:59 PM
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.

Paul M
12-18-2007, 07:06 PM
Did you read the main post, the answer is there more than once .... ;)

dutchbb
12-19-2007, 04:29 AM
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...

Paul M
12-19-2007, 09:49 AM
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 (https://vborg.vbsupport.ru/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
12-19-2007, 10:07 AM
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
12-21-2007, 10:00 AM
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 :)

Paul M
12-21-2007, 10:55 AM
Sorry but I don't understand what you are asking - what good would a list of proxy servers do exactly ?

dutchbb
12-24-2007, 06:24 PM
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.

Paul M
12-24-2007, 06:44 PM
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
01-10-2008, 05:34 AM
Uninstalled. Would be worth it if we didn't need 3 edits per upgrade. Thanks Paul!

Paul M
01-10-2008, 06:56 AM
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
01-10-2008, 05:25 PM
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
02-01-2008, 09:37 AM
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

Paul M
02-01-2008, 10:21 AM
That means you haven't done something correctly (i.e. the class_core edits).

TheInsaneManiac
02-05-2008, 06:38 PM
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.

Taran
02-05-2008, 09:02 PM
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

Paul M
02-05-2008, 10:28 PM
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
02-22-2008, 12:38 AM
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.

Paul M
02-22-2008, 06:07 PM
<a href="https://vborg.vbsupport.ru/showthread.php?p=1111071#post1111071" target="_blank">https://vborg.vbsupport.ru/showt...71#post1111071</a>

-=Leb=-
03-09-2008, 02:52 PM
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

Paul M
03-09-2008, 02:55 PM
I suggest you re-read it again. The edits apply to all versions, and differ for 3.6.4 or above.

njoker555
03-10-2008, 07:26 PM
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!

Paul M
03-11-2008, 04:35 PM
"still doesn't work" is pretty meaningless, if you want help then please state exactly what the issue is. Thanks.

lasto
03-23-2008, 12:57 PM
does this work fine on vb 3.6.8 paul ?

Paul M
03-25-2008, 08:31 PM
3.6.x means it will work on any 3.6 version. :)

raywjohnson
03-27-2008, 09:46 PM
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
03-31-2008, 04:59 AM
Installed. Good stuff. Thanks.

JKatz
04-14-2008, 03:29 AM
Thank you! Just installed! Fingers crossed it's going to work!

---MAD---
04-19-2008, 06:00 AM
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.

Paul M
04-19-2008, 11:06 AM
Part of the installation is to modify your post table, I would guess you have a large post table.

webghey
04-21-2008, 04:34 AM
3.69 issues?

Paul M
04-21-2008, 06:33 AM
Huh ??

webghey
04-21-2008, 11:26 PM
I was asking if people with vb 3.69 issues and this mod, or confirmation it was working on the update

Paul M
04-22-2008, 09:34 AM
This works with any 3.6 version.

njoker555
04-23-2008, 11:07 AM
"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

Paul M
04-23-2008, 11:58 AM
I take it you read all the main post, including the link to this ;

https://vborg.vbsupport.ru/showthread.php?p=1111071#post1111071

njoker555
04-23-2008, 03:44 PM
I take it you read all the main post, including the link to this ;

https://vborg.vbsupport.ru/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

Paul M
04-23-2008, 04:46 PM
I cannot possibly answer that unless you give me admin and ftp access to your site.

Wizardjv
04-27-2008, 08:33 AM
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?

Paul M
04-27-2008, 10:39 AM
Nope. I suggets you check your edits.

Silver_2000_)!
05-15-2008, 03:34 AM
never mind - 4th edit was the charm

TheLastSuperman
11-26-2008, 11:50 PM
Thanks Paul :D

almqdad
02-02-2009, 01:02 PM
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

gsk8
04-07-2009, 12:05 PM
Is this working with 3.8.2?

raywjohnson
04-07-2009, 08:26 PM
I am just recently upgraded to v3.8.2 and it is still working for me! :up:

--RayJ