The difference between HTTP proxy and SOCKS proxy

  HTTP proxy: it can proxy the client’s HTTP access, mainly proxy browsers to access web pages, and its ports are generally 80, 8080, 3128, etc.

The difference between HTTP proxy and SOCKS proxy

  SOCKS proxy: SOCKS proxy is different from other types of proxies. It simply transmits data packets and does not care about the application protocol. It can be an HTTP request, so the SOCKS proxy server is faster than other types of proxy servers. many. SOCKS proxy is divided into SOCKS4 and SOCKS5. The difference between the two is that SOCKS4 proxy only supports TCP protocol (that is, transmission control protocol), while SOCKS5 proxy supports both TCP protocol and UDP protocol (that is, user data packet protocol), and each Various authentication mechanisms, server-side domain name resolution, etc. SOCKS5 that SOCK4 can do are available, but SOCK4 that SOCKS5 can do may not.

  SOCKS is a set of open software open standards developed by the Internal Engineering Task Force (IETF) to deal with network security issues. SOCKS is like a wall sandwiched between the Internal server and the client, providing traffic and safe management of information entering and leaving the corporate network. The term SOCKS is not an abbreviation of a set of English prefixes, but a security standard related to the TCP/IP Socket port. Generally, firewall systems usually act on the seventh layer of the OSI model like a gateway (Gateway). At the application layer, TCP/IP high-level protocols such as Telnet, FTP, HTTP and SMTP are controlled, while SOCKS acts on the fourth layer of the OSI model, which is the session layer, acting like a proxy to the client to the server or The data connection between the server and the server provides security services. Because SOCKS acts on the session layer, it is a solution that provides security services from the session layer to the session layer, and is not affected by changes in high-level applications.

  What is the difference between SOCKS4 and SOCKS5? The specific manifestation is that SOCKS4 can only proxy TCP protocol, while SOCKS5 can proxy any protocol, and ICQ uses TCP protocol which is safer than UDP protocol, so SOCKS4 proxy can be used. And like foreign QQ uses UDP protocol, so it cannot use SOCKS4 proxy.

  What is the difference between SOCKS proxy and HTTP proxy? From the above, we know that SOCKS works on the session layer, while HTTP works on the application layer. Socks proxy simply transmits data packets without worrying about the application protocol (such as FTP). , HTTP and NNTP requests), so the Socks proxy server is much faster than the application layer proxy server.