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)

apiasto 11-05-2006 11:37 AM

Quote:

Originally Posted by Paul M
You haven't uploaded the image to the correct place for your style.

I did uploaded px.gif to images>buttons folder, where the ip gif is. as it says in the instruction:confused:

Paul M 11-05-2006 05:18 PM

The instructions cannot cover all possibilities - like I said, it needs to be the correct place for your style.

beishe8 11-06-2006 02:50 AM

Quote:

Originally Posted by Paul M
... - they wouldn't be annonymous if they did. :)

Grrr... Thanks Paul. :)

taydu 11-10-2006 09:05 AM

please help, do i need to enable this hack after install ?? Mind the doesn't seem to be working

influence 11-13-2006 01:15 AM

what is the CVS folder for? do i need to upload it to my server? to where?

Shazz 11-13-2006 02:03 AM

Where do you see a CVS folder?

Paul M 11-13-2006 02:13 AM

I was wondering that as well. There shouldn't be one in the zip, and as far as I can see there isn't.

If you do have one for some bizarre reason then just ignore/delete it.

influence 11-13-2006 02:53 AM

please download your hack again. yes there is a cvs folder because I just re-open the zip file that i downloaded again and that folder still shows up.

oh well. *deleted*

Paul M 11-13-2006 03:20 AM

Winzip is not showing it, but does create the empty folder when I unzip it ... weird ....

Shazz 11-13-2006 03:22 AM

Quote:

Originally Posted by influence (Post 1115989)
please download your hack again. yes there is a cvs folder because I just re-open the zip file that i downloaded again and that folder still shows up.

oh well. *deleted*

I still don't see anything?? =??
I tried unzipping it, Winrar it

NeitherSparky 11-13-2006 04:15 AM

Quote:

Originally Posted by Paul M (Post 1116005)
Winzip is not showing it, but does create the empty folder when I unzip it ... weird ....

That happened to me too and it actually scared me, I thought it was some kind of virus-related issue because I didn't know where it had come from. Lol hopefully it is perfectly safe. ;)

Paul M 11-13-2006 02:16 PM

Quote:

Originally Posted by NeitherSparky (Post 1116030)
That happened to me too and it actually scared me, I thought it was some kind of virus-related issue because I didn't know where it had come from. Lol hopefully it is perfectly safe. ;)

It's fine, all my mods are stored in cvs locally, that's where the folder comes from. It's just weird how it's not listed.

Mecho 11-13-2006 03:48 PM

Thanks Paul M ,

Installed . but i could find Install Button in this topic !! i think its gone after upgrade version of VB !

Paul M 11-13-2006 05:35 PM

Quote:

Originally Posted by Mecho (Post 1116370)
Installed . but i could find Install Button in this topic !! i think its gone after upgrade version of VB !

It's in the links, above the file you downloaded.

taydu 11-13-2006 08:59 PM

does anyone know a proxy that will trigger this mod so I can use to test it??? I have test dozen proxy and it doesn't seem to work\.

influence 11-13-2006 09:40 PM

Quote:

Originally Posted by taydu (Post 1116637)
does anyone know a proxy that will trigger this mod so I can use to test it??? I have test dozen proxy and it doesn't seem to work\.

same here. my members laughed hard at me after I posted a annoucement saying that I just installed something that will put an end to track down people who are using proxy and they all decided to use proxy to make fun of me. aha . I love them though. smart ass kids

beishe8 11-16-2006 01:18 AM

Hmmm...
It's gone silly ATM... It is reporting all the posts to come from proxies.(red button )
Including my posts...

My own post reported to come from a proxy:
The Real IP Address is: 00.111.222.333
Replacement of real details
The Proxy Server IP Address is: PROXYIP

This post is from a real proxy:
The Real IP Address is: 85.195.123.22
85.195.123.22
The Proxy Server IP Address is: PROXYIP

Paul M 11-16-2006 02:54 AM

You have probably upgraded and not re-done the file edits.

The Finman 11-22-2006 05:38 AM

Hi Paul,

I had an idea from something a ran across a long time ago. I'm not sure if I should post this idea in this thread or PM you. I figured since you got promoted that you probably get tons of PMs already from people asking you about this that and the other...that a post might work better. :nervous:

I'm posting this here (you may delete it if you want) as I think this idea could possibly be merged with this hack, and also because you are one of the few people I think could pull it off.

A long time ago, I ran across a UBB hack that checked what port a post or thread was posted from. The hack denied all posts the were not from port 80 (http), and it was effective in blocking any post that was made from proxies that were using non-standard ports (those other than http port 80, with the exception of any "whitelisted" the admin wished to designate), which are quite a fairly large number of proxies.

Since your hack works on all but anonymous proxies, this would also eliminate even anonymous proxies if they weren't using port 80 to connect, thereby giving this an even stronger "bite".

It's been a number of years ago since I ran across this "hack" that my friend was using on his UBB board. I have looked for it over at UBB Developers for it, and I've tried to get in touch with my friend that used it, but he has since moved back to Hungary. I suspect given the time frame that it was done either in PERL (he was using UBB classic at the time) and/or it he may have used something like an .htaccess file. I do know that it existed, but I don't know any more of the details than that. :ermm:

Anyway, if the idea is silly or shouldn't even be posted in this thread, I apologize and please go ahead and delete it, as I don't have the level of PHP skills necessary to try recreate it on my own, and I thought if it was entwined with your original hack that it could be used to help make it even a little stronger. :nervous:

GNDI 11-22-2006 07:16 AM

sound likes a great idea to me

Paul M 11-22-2006 07:31 AM

I don't quite follow how this would work, as all requests to the final server (i.e. your server) will be on port 80, regardless of what ports were used before that.

GNDI 11-22-2006 07:46 AM

if you backtrace the connection, you will be able to see if it was connected through port 80 or an alternative just view your own log file

Paul M 11-22-2006 07:56 AM

Nope, 99% of the worlds webservers only listen on port 80 (for http) so your logs will only show port 80.

The Finman 11-22-2006 08:41 AM

Quote:

Originally Posted by Paul M (Post 1122812)
I don't quite follow how this would work, as all requests to the final server (i.e. your server) will be on port 80, regardless of what ports were used before that.

You know...I may be remembering this incorrectly and I may also be explaining it incorrectly as well.


This is what I remember that it did.

Let's grab a "fresh" proxy list

Quote:

Anonymous List:

89.34.43.181:6588
89.34.32.224:6588
202.68.151.108:6588
220.226.63.254:8008
58.143.98.224:8080
222.235.104.129:8080

http://www.proxy-list.net/show-proxy...0eb7fa884d1b19
The first proxies on that list are connected at port: 6588 and the remaining three are connected via port: 8080

This is where I am having trouble explaining this, as I know what it did...I'm just not sure how it was done.

He used UBB Classic (which was completely written in PERL until the later versions that used PHP as an accelerant), the server was Linux and I do know that he often relied on .htaccess files to handle problem boards linking to him, the "hot" linking of images on his server, Etc.

He had a script that somehow was able to detect proxies that were connected at other ports besides port 80.

How he was able to do this exactly is what I am not sure of and was why I was over at UBB Developers seeing if I could find it.

I was a Moderator on his UBB board and one day I was unable to connect to the board because I had left my connection to a proxy server on. I asked him and he said it was a "script" that was able to block most proxies. A few weeks later I noticed that I was able to connect and post using a proxy server, and I asked him if he had disabled the proxy script, he said that he hadn't...I asked him why I was able to connect presently as I was posting to him behind a proxy. He asked me what port I was connected on and I told him port 80, he confided in me that the port 80 was the only proxy connection that the script failed to block, and he asked me not to mention it as it had seriously cut down on the number of problem posters/troll that were posting using a proxy that used a port connection of 80.

I really wish I could find him, as I am not sure if my memory regarding the event is faulty or that I was just too "green" at the time to understand it.

He was a very quiet person and was not prone to bragging or lying which is why I am treading very gingerly in describing that event. He was very good at writing his own scripts in PERL (and I know he used to contribute to UBB Developers which is why I went there looking first).

I remember also, because I asked him about learning PERL (remember this was about 4 years ago) and he told me at the time to concentrate on PHP instead.

So, what I am carefully trying to say without looking silly...is that he was able to detect and block proxy servers that the user had connected to using a port other than 80. He was able to block those proxy connections, but the "Achilles heel" (so to speak) was proxy connections that used standard (http - port 80) connections. I don't know know if it was a script he wrote in PERL (I don't think UBB was using PHP yet at that time), or if had configured something on their server to detect and block it directly.

I do know that like so many proxy fixes that people have developed to try and fix/stop the problem that his also didn't work 100% either.

I have recently been looking at various ways other people (such as yourself) have approached the problem, and I remembered the way he approached it and I was thinking if his way (again, I remember pretty clearly the details of what it did...I'm just not sure of the details of how he did it https://vborg.vbsupport.ru/external/2010/01/19.gif) could be combined with your method, that even though it still would be 100%, if it was possible...it would still be pretty damn powerful.


Like I said, I do remember that he asked me not to say or mention the flaw, or post about it on the board which I helped moderate and that he owned/ran, as he said that the majority of proxies that the users connect too, don't use port 80 and that the "script" (I am almost positive that he called it a script) was able to stop all those with that one exception being those that connected to the proxy they were using via port 80.

But maybe it wasn't a script...maybe have been something he did at the server itself (similar to the way that .htaccess works).

Or, maybe my memory really is that faulty. https://vborg.vbsupport.ru/external/2010/01/19.gif

Paul M 11-24-2006 11:22 PM

<u>vBulletin 3.6.4</u>

Version 2.25 Uploaded.

An extra step has been added to the class_core.php edits to take account of new code added to this file in vB version 3.6.4. When upgrading to 3.6.4 you should start with a fresh copy of class_core and apply all the edits.

Shazz 11-24-2006 11:31 PM

SO if where still back on 3.6.2 we should just stay with what we got? :)

Total666 11-25-2006 12:41 AM

Step 3.

In class_core.php ;

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));

Replace with ;

// Paul M - Define session constants
define('SESSION_HOST', substr(IPADDRESS, 0, 15));
define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip(IPADDRESS)));

Mine with 3.64 is differnet ..

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

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
}

What I'm trying to say is that my code is not the same , the last two are not in the same location .. Total

Paul M 11-25-2006 02:06 AM

You're right, I hadn't noticed that had changed as well.

I've uploaded a new set of instructions for both changes.

Total666 11-25-2006 02:11 AM

Thanks man , I thought that either I went insane or my carbon monxide detector was faulty ( or both ) .. Total

Shazz 11-25-2006 03:33 AM

If where using 3.6.2
Should we just stay put on the release before this new one ? :confused:

firstrebel 11-25-2006 07:12 AM

Quote:

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
}
Not found in my 3.6.4 copy of class_core.php

Bob

jw00dy 11-25-2006 07:46 AM

I JUST edited my 3.6.4 version and it is there.

If you are doing a search with vi, it won't find anything with a ' or " in it.

So do a search for $this->fetch_substr_ip($registry->alt_ip))) and you'll find it.

Paul M 11-25-2006 09:30 AM

Quote:

Originally Posted by firstrebel (Post 1124674)
Not found in my 3.6.4 copy of class_core.php

Bob

Look again, it's somewhere around line 2500.

firstrebel 11-25-2006 09:54 AM

For some reason Dreamweaver 8 could not find it, but Programmers Notepad did. All done now.

Bob

GNDI 11-25-2006 01:48 PM

you should use UltraEdit32 for programming when you use windows

firstrebel 11-25-2006 01:54 PM

Quote:

Originally Posted by GNDI (Post 1124827)
you should use UltraEdit32 for programming when you use windows

Programmers Notepad is free.

Bob

Shazz 11-25-2006 03:38 PM

Question:
Quote:

Originally Posted by Shazz (Post 1124611)
If where using 3.6.2
Should we just stay put on the release before this new one ? :confused:


Paul M 11-25-2006 03:58 PM

Guess .......

Quote:

v2.25 : Updated for changes in vB 3.6.4

Shazz 11-25-2006 04:03 PM

Quote:

Originally Posted by Paul M (Post 1124901)
Guess .......

Means probablly just stay with the old one :D
just wanted to clarify :glasses:

Zelos 11-26-2006 05:02 AM

I just noticed that the version of the current XML file (v2.25) outdates the one I have installed on my site (from when I first installed the mod (v2.21)). Should I replace the old one with the new one? If so, how would I go about doing that? Should I uninstall the old one first, or just upload and overwrite?

I'm running 3.6.4 if that matters, and yes, I have already upgraded my class_core.php


All times are GMT. The time now is 02:21 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.03183 seconds
  • Memory Usage 1,838KB
  • 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
  • (15)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