Welcome, Guest. Please Login or Register.
May 13, 2025, 09:17:08 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Proxy Detection!!! - code in here « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Proxy Detection!!! - code in here  (Read 565 times)
Coyote
YaBB God
*****
Posts: 702


I love YaBB SE!

Proxy Detection!!! - code in here
« on: May 02, 2002, 06:27:21 PM »
Reply with quote

I found this tutorial and thought that it would be good to utillise on a forum as a tool against people trying to hide there IP's

http://www.dynamicwebdevelopers.com/tutorials/?Mode=Browse&CatID=8&TutorialID=53

<?
if ($HTTP_X_FORWARDED_FOR) {
 print "<b>Proxy Detected...</b><br>";
 print "Your Real IP Address: <i>". $HTTP_X_FORWARDED_FOR ."</i><br>";
 print "Proxy Server: <i>". $HTTP_VIA ."</i> @ ". $REMOTE_ADDR ."<br>";
} else {
 print "<b>No Proxy Detected =(</b><br>";
 print "Your Real IP Address: <i>". $REMOTE_ADDR ."</i><br>";
}
?>  


its not my code it was written by Sean O`Donnell on 12/09/2001

but its so small, it would make a good addon for the admin centre! I realise that it may not help against advanced attacks but its well worth having.

Tony.
Logged

To the world - you are just one person, but to one person you are the world!
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:Proxy Detection!!! - code in here
« Reply #1 on: May 02, 2002, 08:18:53 PM »
Reply with quote

could be done with gold has such logging in.. Also you need to log http_client_ip too...
Logged
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:Proxy Detection!!! - code in here
« Reply #2 on: April 22, 2003, 08:14:35 AM »
Reply with quote


Can someone integrate this mod in YabbSe 1.5.1?

Surfy
Logged
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Proxy Detection!!! - code in here
« Reply #3 on: April 22, 2003, 08:46:21 AM »
Reply with quote

An even more complicated code has already been implemented in YaBB SE 1.5.1 and 1.5.2 :)

(checkout Querystring.php)
Logged

Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:Proxy Detection!!! - code in here
« Reply #4 on: April 22, 2003, 08:54:45 AM »
Reply with quote

Hi Compuart

I have testet Se1.5.1

At work behind a Firewall, YaBBSe 1.5.1 tells me me IP is "unknown"

On my modded Yabb 1.4.1 it shows me my real IP...

Now i search something to get this in 1.5.1 to work...

On my 1.4.1 i have this Mod installed: http://www.yabbse.org/community/index.php?board=158;action=display;threadid=9408

Surfy
Logged
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Proxy Detection!!! - code in here
« Reply #5 on: April 22, 2003, 09:14:15 AM »
Reply with quote

well, the current code should be more advanced than the mod you're pointing at. Are you sure you're talking about 1.5.1 final and not 1.5.1 RC1?
Logged

Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:Proxy Detection!!! - code in here
« Reply #6 on: April 22, 2003, 09:36:12 AM »
Reply with quote

Yes, 1.5.1 Final...  :-[


Surfy
Logged
Iridium
Full Member
***
Posts: 173


I'm a llama!

Re:Proxy Detection!!! - code in here
« Reply #7 on: April 22, 2003, 11:01:16 AM »
Reply with quote

Of course, you get into some trouble when the person's proxy decides to report the user's IP address in the X-Forwarded-For header line in reverse order as some of the transparent proxies that my ISP uses seem to do (ie. if my IP was 1.2.3.4, it would send it as 4.3.2.1)
Logged
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:Proxy Detection!!! - code in here
« Reply #8 on: April 22, 2003, 05:22:48 PM »
Reply with quote


I hope someone here could make a Mod like this for 1.4.1

Surfy    :P
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Proxy Detection!!! - code in here « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.215 seconds with 21 queries.