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)

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

Quote:

Originally Posted by legionofangels (Post 1345710)
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.

Quote:

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

Quote:

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

Quote:

Originally Posted by yashbond (Post 1369711)
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

Quote:

Originally Posted by McMendo (Post 1372733)
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

Quote:

Originally Posted by Total666 (Post 1372890)
Get textpad the program , then edit your class_core.php

I 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

Quote:

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

Quote:

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

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.

Quote:

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

Quote:

Originally Posted by bulbasnore (Post 1418800)
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

Quote:

Originally Posted by bulbasnore (Post 1418800)
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

Quote:

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

Quote:

Originally Posted by TheInsaneManiac (Post 1436916)
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. :)


All times are GMT. The time now is 12:30 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.01920 seconds
  • Memory Usage 1,819KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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