Skip to content
Latest version of Squid proxy recompiled with support for HTTPS filtering and SSL inspection on CentOS 7. Used in experimental deployments of Web Safety web filter for Squid.
Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/centos7/scripts.squid4
README.md
websafety.md

README.md

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.

To see it in action, have a look at Virtual Appliance ESXi/Hyper-V, deploy in Microsoft Azure or deploy in Amazon AWS

Update Existing Web Safety Nodes

If you have Web Safety 7.0 up and running and experience errors like described in https://github.com/diladele/websafety-issues/issues/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.

Help

All questions/comments and suggestions are welcome at support@diladele.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

Credits

We admire people working on Squid Cache server, who spend their time free of charge and deliver great product to all of us.

You can’t perform that action at this time.