Squid for CentOS
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL. http://www.squid-cache.org
This project provides scripts needed to recompile Squid on CentOS 7 with support for HTTPS filtering, SSL inspection and some custom patches to overcome issues and bugs found by intensive testing in the production.
How to Use
To rebuild the Squid 4 on your instance of CentOS 7, download scripts from src/centos7 folder to your target machine and run these one by one. Please note all scripts are run by root user except for 03_build.sh which must be run as normal user.
# bash 01_update.sh # bash 02_tools.sh $ bash 03_build.sh # bash 04_install.sh
You should now have installed the recompiled Squid on the build machine. If needed, copy the rebuilt RPMs from
~/rpmbuild/RPMS/x86_64 to your target machine and install them one by manually.
Web Filter for Squid using ICAP
In case you need a high quality HTTP(S) traffic filtering solution, take a look at our project - Web Safety.
Web Safety for Squid Proxy is an ICAP web filtering server that integrates with Squid proxy server and provides rich content and web filtering functionality to sanitize Internet traffic passing into an internal home/enterprise network. It may be used to block illegal or potentially malicious file downloads, remove annoying advertisements, prevent access to various categories of web sites and block resources with adult/explicit content.
Update Existing Web Safety Nodes
If you have Web Safety 7.0 up and running and experience errors like described in diladele/websafety#1141 then please use latest Ubuntu 18 LTS based virtual appliance from https://www.diladele.com/virtual_appliance.html - this error is fixed there. But if you must continue using CentOS 7 please read the Web Safety CentOS 7 update procedure.
All questions/comments and suggestions are welcome at email@example.com or in Squid mailing list http://www.squid-cache.org/Support/mailing-lists.html. Squid documentation can be found at http://www.squid-cache.org
We admire people working on Squid Cache server, who spend their time free of charge and deliver great product to all of us.