Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Is there a way to determine whether net traffic has come directly or through
High Secure Proxy ?I am using IP detection by
http://show-ip.net
http://ip.needthe.net
http://whatismyipaddress.atspace.com
http://myip.atspace.org
http://showip.atspace.orgAnd WHOIS server at
http://whois.show-ip.net

First of all, what's your setup like?
Internet >> router >> proxy device >> LAN
or
Internet proxy >> router >> LAN
or something completely different?
Not knowing how you're setup makes it nearly impossible to answer your question.

You are right - my info was not sufficient.
Problem is this:
user can access www server1) directly, then $remoteaddr = $_SERVER['REMOTE_ADDR']; - client real address
2) via transparent proxy server - it can be deteted if HTTP_X_FORWARDED_FOR is set,
then $ipaddr = $_SERVER['HTTP_X_FORWARDED_FOR']; - client address
3) via anonymous proxy - it can be detected if (isset($_SERVER['HTTP_VIA']),
then $ipaddr = $_SERVER['HTTP_VIA'] - proxy address;
4) via high anonymity (elite proxy) -
HTTP Servers of this type does not send
HTTP_X_FORWARDED_FOR, HTTP_VIA and HTTP_PROXY_CONNECTION variables.
Server doesn't even know you are using proxy server an of course it
doesn't know your IP address.As you see - impossible to distinguish between 1) and 4) and I can't know if user
address $_SERVER['REMOTE_ADDR'] is his real IP or elite proxy IP.
Im seeking way to separate cases 1 add 4, may be some JScript code or something like this.

Well, I'm a network technician, not a JScripter so your code doesn't mean much to me. Without an idea of your setup and whether or not the proxy is internal or external I won't be able to give you any help whatsoever, sorry.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |