Skip to content


Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

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.

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 which must be run as normal user.

# bash
# bash
$ bash
# bash

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 diladele/websafety#1141 then please use latest Ubuntu 18 LTS based virtual appliance from - 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 or in Squid mailing list Squid documentation can be found at


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


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.







No releases published


No packages published