Article Title: Build a secure LinuxSquid proxy server. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The proxy server is used to obtain network information from a proxy network user. It is a transfer station for network information. With the widespread use of proxy servers, a series of security problems emerge. Because the access control policy of the proxy server is not configured in detail, users can freely access many pornographic and reactionary illegal sites through the proxy server, these actions are often difficult to track and cause great inconvenience to management.
Squid is the agent server software for caching Internet Data in Linux. It receives user download requests and automatically processes the downloaded data. That is to say, when a user wants to download a home page, he can send an application to Squid to download it instead of Squid. Then Squid connects to the requested website and requests the home page, the home page is sent to the user and a backup is retained. When another user applies for the same page, Squid immediately transmits the saved backup to the user, making the user feel that the speed is quite fast. Currently, Squid can proxy HTTP, FTP, GOPHER, SSL, and WAIS protocols. It cannot proxy POP3, NNTP, and other protocols. Squid can work in many ways, such as AIX, Digital, Unix, FreeBSD, HP-UX, Irix, Linux, NetBSD, Nextstep, SCO, Solaris, OS/2, etc. Operating System
Install and configure SquidServer
Generally, there are two ways to install Squid: one is to obtain the RPM package of the software from RedHatLinux9; the other is to install the source code of the software from the official site of Squid http://www.squid-cache.org. The latest stable version of the current online for the squid-2.5.STABLE10, the following version as an example to introduce the two installation methods.
Working principle of Squid Server
1. Install the RPM package
First, check whether squid has been installed:
# Rpm-qa | grepsquid
RedHatLinux9 comes with the Squid installation package. Place the first installation disc into the optical drive and mount the disc partition:
[1] [2] [3] [4] [5] [6] [7] [8] Next page