vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Proxy to Real IP Conversion (https://vborg.vbsupport.ru/showthread.php?t=120082)

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

Quote:

Originally Posted by Fifthe1ement (Post 1199997)
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

Quote:

Originally Posted by Paul M (Post 1200096)
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

Quote:

Originally Posted by Fifthe1ement (Post 1200632)
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/showthrea...19#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

Quote:

Originally Posted by Greek76 (Post 1211490)
Installed reicieved no error messages at all.

Why would you be expecting error messages ?

Quote:

Originally Posted by Greek76 (Post 1211490)
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.

Quote:

Originally Posted by Greek76 (Post 1211490)
Is this suppose to resolve unknown host names aswell?

Sorry, miracles are beyond even me. :)

Quote:

Originally Posted by Greek76 (Post 1211490)
Also some of my templates already have a button called px.gif should I overwrite them? Thanks

No idea, I've never come across anything else that uses px.gif.

Greek76 03-25-2007 01:11 AM

Quote:

Originally Posted by Paul M (Post 1211498)
Why would you be expecting error messages ?

Not sure what to expect with mods you know that so why are you so surprised? ;)

Quote:

It just works.
Great...

Quote:

Sorry, miracles are beyond even me. :)
Damn I was hoping you were a miracle worker!

Quote:

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. :)

Quote:

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:

Quote:

// 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

Quote:

Originally Posted by KipLarson (Post 1215826)
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. 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

Quote:

Originally Posted by NeitherSparky (Post 1215878)
Lol, use Miserable Users. 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

Quote:

Originally Posted by Paul M (Post 1215726)
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

Quote:

Originally Posted by Paul M (Post 1217602)
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

Quote:

Originally Posted by steve71 (Post 1227084)
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 .... ;)

Quote:

Originally Posted by steve71 (Post 1227084)
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.


All times are GMT. The time now is 11:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02346 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete