Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Webspace, E-Mail & Browsing Issues (https://www.cableforum.uk/board/forumdisplay.php?f=80)
-   -   [Solved] Proxies (https://www.cableforum.uk/board/showthread.php?t=39780)

Graham M 14-12-2005 22:39

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

:D

AbyssUnderground 15-12-2005 10:11

Re: [Solved] Proxies
 
Quote:

Originally Posted by Zeph


Whats that supposed to mean?

poolking 15-12-2005 10:36

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.

AbyssUnderground 15-12-2005 10:47

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 :dozey:

Graham M 15-12-2005 12:40

Re: [Solved] Proxies
 
Just agreeing with Stuart's Comment about Lazy Coding that's all, nothing else.

AbyssUnderground 15-12-2005 12:47

Re: [Solved] Proxies
 
I dont understand how it is lazy coding though :confused:

Its good enough for what I built it for.

Graham M 15-12-2005 13:07

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.

AbyssUnderground 15-12-2005 13:17

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?

Stuart 15-12-2005 13:37

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.

Graham M 15-12-2005 13:45

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)

AbyssUnderground 15-12-2005 13:47

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 .:p:

Graham M 15-12-2005 14:02

Re: [Solved] Proxies
 
OK gimme a while and ill have it sorted.

AbyssUnderground 15-12-2005 14:19

Re: [Solved] Proxies
 
Quote:

Originally Posted by Zeph
OK gimme a while and ill have it sorted.

Cheers

Chrysalis 15-12-2005 14:21

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.

Graham M 15-12-2005 15:12

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


All times are GMT. The time now is 03:22.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum