Version: 1.32, by Paul M
Developer Last Online: Nov 2023
Version: 3.0.x
Rating:
Released: 09-09-2004
Last Update: 05-28-2005
Installs: 161
No support by the author.
This modification is no longer available or supported.
A simple modification I did for our forum that was originally based on the Proxy Detector Hack (v3.0). Obviously, like all proxy server detection hacks, this will only work if the proxy server passes the appropiate http variables.
This hack makes the forum always use the members real ip when a proxy is detected, meaning that all existing ip functions continue to work, basically ignoring the proxy server (other than recording it's presence).
i.e.
* The real ip/host is displayed in who's online
* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy.
* The real ip is searchable in the admin/mod cp, not the proxy ip.
* The real ip is bannable by admins (no moving to another proxy to avoid a ban).
etc etc.
The installation should take about 10-15 mins (4 file edits, 2 phrase changes, 1 new template, 1 sql query, 1 new image).
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
There was no intention to be nasty, I'm sorry if you took it that way - I simply answered your questions.
In that case I apologize for taking it that way.
Can you explain which variable the http is passed through to check if it is a proxy IP? Is it simply checking the IP against the x-originating IP address, or is it doing something else as well?
Proxy servers pass the originating ip in a variety of ways depending on the software they run (is there a standard I wonder ?). The most common ones are X_FORWARDED_FOR & CLIENT_IP. The hack checks these (and others) for a vailid IP address.
Proxy servers pass the originating ip in a variety of ways depending on the software they run (is there a standard I wonder ?). The most common ones are X_FORWARDED_FOR & CLIENT_IP. The hack checks these (and others) for a vailid IP address.
cool- thanks for the info. What are some of the "others"?
This seems like a very good hack, ive installed other hacks, but this one seems a little hard onto following some of the steps, im stuck at the second step already, anybody have or maybe got an easier translation for a newbie like me?? So i can follow clear instructions and details??
Hmm, I installed the extra IP info hack, and I don't know if it'll work with this, care to add me on MSN or AIM or YIM to teach me? Anyone?
As far as functionality is concerned they will work fine, they do not intefere with each other. The only clash is the displayiing of the icon via postbit_ip template. One suggested solution to this is here.
Another solution, that I e-mailed to someone the other week, is to do this ;
Follow the proxy-to-real instructions and replace postbit_ip - ignore the ipinfo instructions that mention this template. Then in postbit template (or postbit_legacy if you use it)
<tr><td class="vbmenu_option"><a href="ipinfo.php?$session[sessionurl]p=$post[postid]" target='_blank' >Display IP Information</a></td></tr>
After doing this you should be able to view the ip information for any post like this ;
Click on the posters name - this should display the DHTML list of options, at the bottom of the list (under "Add xxxx to Your Buddy List") should be "Display IP Information" - simply click on it.
This way, I'll see the ipinfo when a proxy is not detected, but when a proxy is detected, the "red ipp.gif" icon appears and I'll see the proxy info, hmm its probably all good. =)