Use the SafeSquid proxy server to filter harmful content

Source: Internet
Author: User

The Content Filtering Proxy server can provide administrators with control over transmitted content while accessing the Internet. It usually ensures that the use of the Internet conforms to the acceptable local use policy. A Content Filtering Proxy server must meet the requirements of fine-grained rules for Internet access and restrictions throughout the enterprise. The Content Filtering Proxy can filter out harmful content in multiple ways, such as URL or DNS blacklist, URL filtering, MIME filtering, keyword filtering, cookie filtering, header filtering, and pornographic image filtering. At the same time, the Content Filtering Proxy supports authentication to control Web access. It can generate logs, provide detailed information about the URL accessed by a specific user, or monitor the bandwidth utilization statistics. It can also communicate with background programs based on email sending and receiving and anti-virus software based on ICAP, so as to scan the incoming content in real time to provide security for viruses and other malicious programs. In this article, I will describe the process of installing the Content Filtering Proxy software-SafeSquid, hoping to help users solve their urgent needs. SafeSquid is a Linux-based content filtering HTTP1.1 proxy and an application layer firewall. It allows administrators to control who can access what content on the network, when and how many visits. It allows administrators to implement overall access control and overall content control. SafeSquid provides a free version with complete functions. It has no time limit and can be used in the network of 20 users. You can download the free version from the following link: http://www.safesquid.com/html/portal.php?page=126 Install SafeSquid in Linux. Copy safesquid.tar.gz to the/usr/local/src/directory: cp safesquid-4.2.0-com20-free.tar.gz/usr/local/src/safesquid.tar.gz unzip the tar file with the following command: tar-xvzf safesquid-4.2.0-com20-free.tar.gz this creates a "safesquid" directory in your current working directory. Switch to this directory: cd safesquid/"safesquid" contains the installation script command. Run the script command :. the/install installation script command requires you to select one of the following three options: press "F" if we are doing a Fresh install Press "U" if we want to Update an existing installation Press "A" if we want to Adjust an existing conf file if we want to execute for a new installation, press "F "; if we want to update the existing installation, press "U"; if we want to adjust the existing conf file, press "". Here we are the first installation, so we need to press "F" for a new installation. Checking Dependencies/lib/libsafe. so.2 (0xf6ffa000) libpam. so.0 =>/lib/libpam. so.0 (0xf6fea000) libdl. so.2 =>/lib/libdl. so.2 (0xf6fe5000) libpthread. so.0 =>/lib/tls/i686/libpthread. so.0 (0xf6fd4000) libssl. so.4 =>/lib/libssl. so.4 (0xf6fa0000) libstdc ++. so.6 =>/usr/lib/libstdc ++. so.6 (0x00bbb000) libm. so.6 =>/lib/tls/i686/libm. so.6 (0xf6f7d000) libc. so.6 =>/lib/tls/i686/libc. so.6 (0xf6e6900 0) libgcc_s.so.1 =>/lib/libgcc_s.so.1 (0x00974000)/lib/ld-linux.so.2 (0x00b97000) Labels =>/usr/lib/libraries (0x009e7000) libkrb5.so. 3 =>/usr/lib/libkrb5.so. 3 (0x00b1e000) libcom_err.so.2 =>/lib/libcom_err.so.2 (0x009e2000) libk5crypto. so.3 =>/usr/lib/libk5crypto. so.3 (0x00afb000) libresolv. so.2 =>/lib/libresolv. so.2 (0xf6e55000) libcrypto. so.4 =>/lib/libcrypto. so.4 (0x00a11000) libz. so.1 =>/usr/lib/libz. so.1 (0x00962000) looks okay Press any key to continue if the association is reported to be lost, you may install it before continuing. If everything is normal, press any Jian to continue. Then the installer displays the SafeSquid terminal user protocol. The options are as follows: Press "B"/"F" to move Back/Forward Press "S" when you have finished reading. After reading the license agreement, (or press "S" to skip the installation .) The following options are displayed: press "Y" if you find the End-User License Acceptable Press "A" To Read the End-User License Again Press "N" if you find the End-User License NOT Acceptable and immediately abort the Installation Process if we agree to the license agreement, press "Y" to continue the installation. You can press the "S" key to use the default options for installation, or you can browse many option pages. The installation command will ask about 28 configuration options. All the option pages have clear explanations and won't force you to make any changes. To make changes in the default options, press the "C" key. After making the necessary changes, press "S" to continue the installation. You can use/etc/init. d/safesquid to adjust the command change, or by editing at/opt/safesquid/init. startup. conf file Implementation changes. These changes will take effect the next time Safesquid is restarted. When you press the "S" key, the installation starts. The installation process will pause several times to display the status to the user and wait for the user to confirm. After the installation is complete, the following message is displayed: Press "S" if you wowould like to start your safesquid now Press any other key to simply exit here, press "S" to start SafeSquid. The following message is displayed: 1. safesquid started with PID: 9659... ssquid is not listening on: 8080... 2. safesquid started with PID: 9659... ssquid is LISTENING on 192.168.0.30: 8080... process is running now, and your SafeSquid has been installed and run. Now, we can access the safequid interface. In the browser, set the proxy to the IP address and port of the safequid server: for example, 192.168.0.30: 8080 and access the URL: http://safesquid.cfg Note: In case of any problem, run the following command:/etc/init. d/safesquid dircheck. This command will check and correct the installed files and directories and their licenses. After that, use this command to restart SafeSquid:/etc/init. d/safesquid restart to feel the power of safesquid!

This article from the CSDN blog, reprinted please indicate the source: aspx "> http://blog.csdn.net/cnbird2008/archive/2010/07/22/5755210.aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.