14-12-2005, 22:39
|
#16
|
|
-
Join Date: Jul 2003
Location: Poole, Dorset
Age: 40
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: [Solved] Proxies
Quote:
|
Originally Posted by Stuart C
A common misconception, helped by lazy coding on some sites. The Proxy actually passes on both it's own IP and yours. Click "Connection" in the top bar above for a demo.
|
Talking of Lazy Coding
http://www.abyssunderground.co.uk/ip.php
|
|
|
15-12-2005, 10:11
|
#17
|
|
Inactive
Join Date: Oct 2005
Location: Merseyside
Age: 37
Services: BT Infinity Option 2, HH5, synced at maximum 80Mbps/20Mbps.
Posts: 2,221
|
Re: [Solved] Proxies
Quote:
|
Originally Posted by Zeph
|
Whats that supposed to mean?
|
|
|
15-12-2005, 10:36
|
#18
|
|
Inactive
Join Date: Jun 2003
Location: Stafford
Age: 52
Services: Sky World
300k BB
NTL Phone
Posts: 2,399
|
Re: [Solved] Proxies
Quote:
|
Originally Posted by AbyssUnderground
Whats that supposed to mean?
|
He probably means your aren't getting the real IP of visitors to your site.
|
|
|
15-12-2005, 10:47
|
#19
|
|
Inactive
Join Date: Oct 2005
Location: Merseyside
Age: 37
Services: BT Infinity Option 2, HH5, synced at maximum 80Mbps/20Mbps.
Posts: 2,221
|
Re: [Solved] Proxies
Quote:
|
Originally Posted by poolking
He probably means your aren't getting the real IP of visitors to your site.
|
But then I already knew that
|
|
|
15-12-2005, 12:40
|
#20
|
|
-
Join Date: Jul 2003
Location: Poole, Dorset
Age: 40
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: [Solved] Proxies
Just agreeing with Stuart's Comment about Lazy Coding that's all, nothing else.
|
|
|
15-12-2005, 12:47
|
#21
|
|
Inactive
Join Date: Oct 2005
Location: Merseyside
Age: 37
Services: BT Infinity Option 2, HH5, synced at maximum 80Mbps/20Mbps.
Posts: 2,221
|
Re: [Solved] Proxies
I dont understand how it is lazy coding though
Its good enough for what I built it for.
|
|
|
15-12-2005, 13:07
|
#22
|
|
-
Join Date: Jul 2003
Location: Poole, Dorset
Age: 40
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: [Solved] Proxies
well for me it displays
Your IP Address is: 80.4.224.9
Your DNS is: sotn-cache-6.server.ntli.net
which is completely untrue, this doesn't protect you in any way it just confuses the user lol.
|
|
|
15-12-2005, 13:17
|
#23
|
|
Inactive
Join Date: Oct 2005
Location: Merseyside
Age: 37
Services: BT Infinity Option 2, HH5, synced at maximum 80Mbps/20Mbps.
Posts: 2,221
|
Re: [Solved] Proxies
Quote:
|
Originally Posted by Zeph
well for me it displays
Your IP Address is: 80.4.224.9
Your DNS is: sotn-cache-6.server.ntli.net
which is completely untrue, this doesn't protect you in any way it just confuses the user lol.
|
What do you mean it doesnt protect you?
|
|
|
15-12-2005, 13:37
|
#24
|
|
-
Join Date: Jun 2003
Location: Somewhere
Services: Virgin for TV and Internet, BT for phone
Posts: 26,546
|
Re: [Solved] Proxies
Err guys, can we not start a fight? I called it Lazy coding as a lot of forums do it, and, therefore, when they ban the IP of a user, if that user is Proxied, they ban everyone on that Proxy. I was not commenting on anyone's coding style.
|
|
|
15-12-2005, 13:45
|
#25
|
|
-
Join Date: Jul 2003
Location: Poole, Dorset
Age: 40
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: [Solved] Proxies
Im not fighting i was just trying to suggest that if he wants to show a User's IP rather than the proxy that he could, I would even be willing to write up and post the required extra code. (If he wants)
|
|
|
15-12-2005, 13:47
|
#26
|
|
Inactive
Join Date: Oct 2005
Location: Merseyside
Age: 37
Services: BT Infinity Option 2, HH5, synced at maximum 80Mbps/20Mbps.
Posts: 2,221
|
Re: [Solved] Proxies
Quote:
|
Originally Posted by Zeph
Im not fighting i was just trying to suggest that if he wants to show a User's IP rather than the proxy that he could, I would even be willing to write up and post the required extra code. (If he wants)
|
If you could that would be brilliant .
|
|
|
15-12-2005, 14:02
|
#27
|
|
-
Join Date: Jul 2003
Location: Poole, Dorset
Age: 40
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: [Solved] Proxies
OK gimme a while and ill have it sorted.
|
|
|
15-12-2005, 14:19
|
#28
|
|
Inactive
Join Date: Oct 2005
Location: Merseyside
Age: 37
Services: BT Infinity Option 2, HH5, synced at maximum 80Mbps/20Mbps.
Posts: 2,221
|
Re: [Solved] Proxies
Quote:
|
Originally Posted by Zeph
OK gimme a while and ill have it sorted.
|
Cheers
|
|
|
15-12-2005, 14:21
|
#29
|
|
cf.mega poster
Join Date: Sep 2003
Posts: 12,048
|
Re: [Solved] Proxies
abyss he is reffering to the x-forwarded-for header which shows the ip that the proxy is grabbing content for aka the user's real ip.
It is possible to avoid using any ntl proxy by using your own proxy on a non standard port.
|
|
|
15-12-2005, 15:12
|
#30
|
|
-
Join Date: Jul 2003
Location: Poole, Dorset
Age: 40
Services: FreeSat+
Tivo
V-Box
VM 60MBit
Posts: 13,365
|
Re: [Solved] Proxies
PHP Code:
<?php if(isset($_SERVER["HTTP_X_FORWARDED_FOR"])) { $realip = $_SERVER["HTTP_X_FORWARDED_FOR"]; $realdns = gethostbyaddr($realip);
$proxyip = $_SERVER['REMOTE_ADDR']; $proxydns = gethostbyaddr($proxyip);
?> <div align="center">It was detected that you are behind a proxy!</div> <table border="0" width="300" align="center"> <tr><td><font size="2"> <b>Your Real IP Address is:</b></font></td> <td><font size="2"><?php print $realip;?></font></td></tr> <tr><td><font size="2"> <b>Your Real DNS is:</b></font></td> <td><font size="2"><?php print $realdns;?></font></td></tr>
<tr><td><font size="2"> <b>Your Proxy IP Address is:</b></font></td> <td><font size="2"><?php print $proxyip;?></font></td></tr> <tr><td><font size="2"> <b>Your Proxy DNS is:</b></font></td> <td><font size="2"><?php print $proxydns;?></font></td></tr> </table> <?php } else { $realip = $_SERVER['REMOTE_ADDR']; $realdns = gethostbyaddr($realip);
?> <div align="center">It was detected that you are <b>NOT </b>behind a proxy!</div> <table border="0" width="300" align="center"> <tr><td><font size="2"> <b>Your Real IP Address is:</b></font></td> <td><font size="2"><?php print $realip;?></font></td></tr> <tr><td><font size="2"> <b>Your Real DNS is:</b></font></td> <td><font size="2"><?php print $realdns;?></font></td></tr> <?php } ?>
---------- Post added at 15:34 ---------- Previous post was at 15:23 ----------
Oh btw you can see this in action here: www.zeph.co.uk/abyss before you try it if you like
---------- Post added at 16:12 ---------- Previous post was at 15:34 ----------
Quote:
|
Originally Posted by Chrysalis
It is possible to avoid using any ntl proxy by using your own proxy on a non standard port.
|
I run a Squid proxy on my server in the US and incredibly it's quite often faster and more reliable than the NTL ones, I run it on port 3128 so that the NTL Proxies can't touch it
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 22:03.
|