No Result
View All Result
CloudReports
  • Home
  • Linux
  • Web development
  • Javascript
  • SQL
  • Ant Design tutorial
  • QR Code Scanner
  • Home
  • Linux
  • Web development
  • Javascript
  • SQL
  • Ant Design tutorial
  • QR Code Scanner
No Result
View All Result
CloudReports
No Result
View All Result
Home Web development

What is proxy IP?

by Alicja Zelazko
June 26, 2019
in Web development
Reading Time: 3 mins read
0
0
SHARES
522
VIEWS
Share on FacebookShare on Twitter
Rate this post

1. Proxy IP type:

Usually we generally divide the proxy IP into four types, “transparent proxy, anonymous proxy, high-hiding proxy, obfuscated proxy”, proxy IP, in terms of security, the order of these
four proxy types Divided into “high” – “anonymous” – “transparent”

2. The principle of agency

The type of agent depends mainly on the configuration of the proxy server. Different configurations form different agent types.

ADVERTISEMENT

In the configuration, these three variables REMOTE_ADDR, HTTP_VIA, HTTP_X_FORWARDED_FOR are decisive factors.

  1. REMOTE_ADDR
    1. REMOTE_ADDR represents the client’s IP, but its value is not provided by the client, but the server is specified according to the client’s IP.
    2. If you use a browser to directly access a website, the website’s web server (Nginx, Apache, etc.) will set REMOTE_ADDR to the client’s IP address.
    3. If we set up a proxy for the browser, our request to access the target site will go through the proxy server, and then the proxy server will translate the request to the target site. Then the web server of the website will set REMOTE_ADDR to the IP of the proxy server.
  2. X-Forwarded-For(XFF)
    1. X-Forwarded-For is an HTTP extension header that represents the real IP of the HTTP requester. When the client uses the proxy, the web server does not know the real IP address of the client. To avoid this, the proxy server usually adds an X-Forwarded-For header to add the client’s IP to the header.
    2. The X-Forwarded-For request header format is as follows:
      1. X-Forwarded-For: client, proxy1, proxy2
        client represents the IP address of the client; proxy1 is the IP of the device farthest from the server; proxy2 is the IP of the secondary proxy device; from the format, it can be seen that from client to server Can have multiple layers of agents.
      2. If an HTTP request arrives at the server and passes through three agents Proxy1, Proxy2, and Proxy3, the IP addresses are IP1, IP2, and IP3, and the real IP of the user is IP0. Then, according to the XFF standard, the server will eventually receive the following information:
      3. X-Forwarded-For: IP0, IP1, IP2
        Proxy3 Directly connect to the server, it will append IP2 to XFF, indicating that it is forwarding requests to Proxy2. There is no IP3 in the list, and IP3 can be obtained on the server through the Remote Address field. We know that HTTP connections are based on TCP connections, there is no concept of IP in the HTTP protocol, and Remote Address comes from a TCP connection, indicating the IP of the device that establishes a TCP connection with the server, in this case IP3.
  3. HTTP_VIA: Via is a header in the HTTP protocol. It records the proxy and gateway through which an HTTP request passes. After one proxy server, it adds a proxy server information, and adds two after two.

3. The difference between the types of agents

  1. Transparent Proxy
    1. The configuration of the proxy server is as follows:
      1. REMOTE_ADDR = Proxy IP
      2. HTTP_VIA = Proxy IP
      3. HTTP_X_FORWARDED_FOR = Your IP
      4. Although the transparent proxy can directly “hide” the client’s IP address, the client’s IP address can still be found from HTTP_X_FORWARDED_FOR.
  2. Anonymous Proxy
    1. The configuration of the proxy server is as follows:
    2. REMOTE_ADDR = proxy IP
    3. HTTP_VIA = proxy IP
    4. HTTP_X_FORWARDED_FOR = proxy IP
    5. Anonymous agents provide the ability to hide client IP addresses. With an anonymous proxy, the server knows that the client is using the proxy and cannot know the real IP address of the client.
  3. Distorting Proxy
    1. The configuration of the proxy server is as follows:
    2. REMOTE_ADDR = Proxy IP
    3. HTTP_VIA = Proxy IP
    4. HTTP_X_FORWARDED_FOR = Random IP address
    5. Similar to the principle of an anonymous proxy, but it will pretend to be more realistic. If the client uses a confusing proxy, the server still knows that the client is using the proxy, but will get a fake client IP address.
  4. High-altitude agent (Elite Proxy or High Anonymity Proxy)
    1. The configuration of the proxy server is as follows:
    2. REMOTE_ADDR = Proxy IP
    3. HTTP_VIA = not determined
    4. HTTP_X_FORWARDED_FOR = not determined

The Cheat Agent can make the server unclear whether the client is using the proxy or not, and the server can not get the real IP address of the client.

Tags: anonymous transparentHTTP_VIAHTTP_X_FORWARDED_FORproxy IPREMOTE_ADDR
ShareTweetShare
Previous Post

Relational database overview – SQL tutorial

Next Post

What is … in JavaScript (Three dots) – Spread Syntax in Javascript ES6

Alicja Zelazko

Related Posts

Linux

What is the location of the MySQL databases?

April 24, 2022
597
Web development

Top 10 Best WordPress SEO themes of 2022

March 16, 2022
490
Web development

Gmail – Gmail Sign Up – Gmail Login

August 30, 2021
7.1k
Javascript

Configuring VS Code for Node/JavaScript Development

August 2, 2021
1.3k
Javascript

How does Nodejs solve the problem of high concurrency?

July 18, 2021
1.3k
Linux

How to create a self-signed SSL certificate for Apache on Ubuntu 16.04

July 18, 2021
1k
Next Post

What is … in JavaScript (Three dots) - Spread Syntax in Javascript ES6

Discussion about this post

No Result
View All Result

Categories

  • Android (1)
  • Ant Design tutorial (7)
  • App/Game (2)
  • Javascript (16)
  • Layout and Routing (2)
  • Linux (9)
  • PC & LAPTOP (6)
  • PERSONAL FINANCES (1)
  • React (13)
  • SQL (2)
  • TECHNOLOGY & DIGITAL (7)
  • The Basics (5)
  • Web development (37)

Search

No Result
View All Result

Categories

  • Android (1)
  • Ant Design tutorial (7)
  • App/Game (2)
  • Javascript (16)
  • Layout and Routing (2)
  • Linux (9)
  • PC & LAPTOP (6)
  • PERSONAL FINANCES (1)
  • React (13)
  • SQL (2)
  • TECHNOLOGY & DIGITAL (7)
  • The Basics (5)
  • Web development (37)
No Result
View All Result
  • Home
  • Linux
  • Web development
  • Javascript
  • SQL
  • Ant Design tutorial
  • QR Code Scanner
Exit mobile version