php gets the three attributes of ip that distinguish of HTTP_X_FORWARDED_FOR HTTP_VIA REMOTE_ADDR

  • 2020-05-26 07:56:31
  • OfStack

1. If no proxy server is used:

REMOTE_ADDR = your IP
HTTP_VIA = no value or no display
HTTP_X_FORWARDED_FOR = no value or no display

2. Use of transparent proxy servers: Transparent Proxies

REMOTE_ADDR = the last proxy server, IP
HTTP_VIA = proxy server IP
HTTP_X_FORWARDED_FOR = your true IP, and when passing through multiple proxy servers, the value looks like this: 203.98.182.163, 203.98.182.163, 203.129.72.215.

This type of proxy server still forwards your information to your access object and does not achieve the purpose of hiding your true identity.

3. Use of common anonymous proxy servers: Anonymous Proxies

REMOTE_ADDR = last proxy server IP
HTTP_VIA = proxy server IP
HTTP_X_FORWARDED_FOR = proxy server IP. When passing through multiple proxy servers, this value looks like the following: 203.98.182.163, 203.98.182.163, 203.129.72.215.

Hides your true IP, but reveals to the access object that you are using a proxy server to access them.

4. Use of fraudulent proxy servers: Distorting Proxies

REMOTE_ADDR = proxy server IP
HTTP_VIA = proxy server IP
HTTP_X_FORWARDED_FOR = random IP. When passing through multiple proxy servers, this value looks like the following: 203.98.182.163, 203.98.182.163, 203.129.72.215.

Told the access object that you used the proxy server, but fabricated a fake random IP instead of your real IP to trick it.

5. Use of high anonymous proxy servers: High Anonymity Proxies (Elite proxies)

REMOTE_ADDR = proxy server IP
HTTP_VIA = no value or no display
HTTP_X_FORWARDED_FOR = no value or no display. When passing through multiple proxy servers, the value looks like the following: 203.98.182.163, 203.98.182.163, 203.129.72.215.

Completely replace all of your information with the proxy server information, as if you were using that proxy server directly to access the object.

Related articles: