Proxy server is the function of network users to obtain network information, it is a transit point for network information. With the widespread use of proxy servers, a series of security issues followed. Because there is no comprehensive and meticulous configuration of the access control policy of proxy server, the user can access many pornographic and reactionary illegal sites through proxy server at will, and these behaviors are often difficult to trace, which brings great inconvenience to the management work.
Squid is the next Linux proxy Server software that caches Internet data, receives users ' download requests, and processes downloaded data automatically. In other words, when a user wants to download a home page, can send a request to squid, squid in lieu of it to download, and then squid connection to the application site and request the home page, and then the home page to the user to keep a backup. When another user applies for the same page, squid passes the saved backup to the user immediately, making the user feel very fast. At present, squid can proxy http, FTP, GOPHER, SSL and WAIS protocol, temporarily can not proxy POP3, NNTP and other protocols. Squid can work in a number of fields, such as AIX, Digital, Unix, FreeBSD, HP-UX, Irix, Linux, NetBSD, Nextstep, SCO, Solaris, OS/2, and so on. Operating system
Installing and configuring Squidserver
Usually, there are two ways to install squid: one is to obtain the software from the RedHatLinux9 RPM package, and the second is to install the official site from squid http://www.squid-cache.org/download the software source for the compilation and installation. At present, the latest stable version of the internet is squid-2.5.stable10, the following is an example of this version of the two installation methods introduced.
Squid Server Working principle diagram
1. Installation of RPM Package
First, check to see if squid has been installed:
#rpm-qa|grepsquid
REDHATLINUX9 with squid installation package, put the first CD-ROM into the optical drive and mount the disc partition:
Zebian: Bean Technology Application