Jump to content

Recommended Posts

hey guys

 

i was reading about ip for a while, and i used

 

<?php
$a = getenv(REMOTE_ADDR);
echo $a;
?>

 

for finding what ip i'm using.I tried a program, which changes the ip...

 

the thing i faced is, while i got my ip changed, i checked the new one on that code and i saw it changed.

then i tested that on my friend vbulletin forum, and that forum detected recorded my original ip. again on some business site ( can't remember) at the bottom of the page it said :  your ip is detected as -my original ip. 

 

i wonder how they get the original ip, any kind of coding for it ?

thanks

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/101038-discover-true-ip/
Share on other sites

i tried this program :

http://en.wikipedia.org/wiki/Freegate

 

didn't want to mention such program for i dunno some kinda of rules everywhere but good for some information.

 

How is this program changing your external IP? Aren't they issued by your ISP?

 

yes it is, but without it sometimes you can't get what you find.

out of interest, for example the word "hot" is filtered, so you can't search for hot domain, hot php codes, anything related to this word,  hot tea ;)

 

 

btw,  on one site i remember it was the first time , and it had said my ip is -the original- . while the freegate was on and that code i had written was showing the new ip.

 

any idea? (i found it so intresting)

 

 

Link to comment
https://forums.phpfreaks.com/topic/101038-discover-true-ip/#findComment-516775
Share on other sites

so why this :

 

<?php
$a = getenv(REMOTE_ADDR);
echo $a;
?>

 

shows the changed ip ?

 

Because that is the IP that the request is coming from. You are requesting it from the proxy, the proxy is requesting it from the script, the script returns it to the proxy and the proxy returns it to you.

 

EDIT: vB likely shows your actual IP rather than the proxies as there are plug-ins available (or it might be standard now) that can detect proxies and trace the original IP.

Link to comment
https://forums.phpfreaks.com/topic/101038-discover-true-ip/#findComment-516843
Share on other sites

EDIT: vB likely shows your actual IP rather than the proxies as there are plug-ins available (or it might be standard now) that can detect proxies and trace the original IP.

 

i'm really sorry, got no idea what is vB. what is it? do a google search , i did "vB ip" , it showing about function in visual basic that gets the ip, is that what you meant?

 

You can't -- that's how proxies work.  If you're behind a firewall, your internal/private IP is not visible to the outside world.

 

so that'll take us to the first place.

Link to comment
https://forums.phpfreaks.com/topic/101038-discover-true-ip/#findComment-516931
Share on other sites

then i tested that on my friend vbulletin forum, and that forum detected recorded my original ip.

EDIT: vB likely shows your actual IP rather than the proxies as there are plug-ins available (or it might be standard now) that can detect proxies and trace the original IP.

 

i'm really sorry, got no idea what is vB. what is it? do a google search , i did "vB ip" , it showing about function in visual basic that gets the ip, is that what you meant?

 

vB == vBulletin

Link to comment
https://forums.phpfreaks.com/topic/101038-discover-true-ip/#findComment-516946
Share on other sites

You might want to read this - http://www.phpfreaks.com/forums/index.php?topic=114669.0

 

There are two types of proxies, anonymous (ones that don't want you to know they are proxies, nor who they are forwarding requests for) and non-anonymous (ones that do want you to know they are proxies and they want you to know who they are forwarding request for.)

 

For a non-anonymous proxy, you will typically receive the HTTP_FORWARDED_FOR header. For an anonymous proxy, you won't receive any overt information that indicates the request came from a proxy.

Link to comment
https://forums.phpfreaks.com/topic/101038-discover-true-ip/#findComment-516949
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.