Squid Web Cache wiki

Squid Web Cache documentation

πŸ”— Squid on FreeBSD

πŸ”— Pre-Built Binary Packages

FreeBSD 12.2 ships squid-4.14 as a pre-built package, and squid-4.15 in the ports collection.

It also carries squid-5.0.5 under the name β€œsquid-devel”

To install the binary package:

 pkg add squid

πŸ”— Compiling

The general build instructions should be all you need.

However, if you wish to integrate patching of Squid with patching of your other FreeBSD packages, it might be easiest to install Squid from the Ports collection. As of FreeBSD 12.2, the available ports are:

To install squid-4:

 cd /usr/ports/www/squid
 make install clean

πŸ”— Standard Locations

The FreeBSD packages and ports install squid in the following locations:

πŸ”— Troubleshooting

πŸ”— ERROR: Could not send signal N to process NN: (3) No such process

FreeBSD contains additional security settings to prevent users sending fatal or other signals to other users applications.

 sysctl security.bsd.see_other_uids

Unfortunately this catches Squid in the middle. Since the administrative process of Squid normally runs as root and the child worker process runs as some other non-privileged user (by default: nobody). The root administrative process is unable to send signals such as shutdown or reconfigure to its own child.

Categories: KnowledgeBase

Navigation: Site Search, Site Pages, Categories, πŸ”Ό go up