This project provides a full Docker image for Diladele Web Safety, including Squid with SSL support(version 3.5.23) and Apache.
Diladele Web Safety for Squid Proxy is the ICAP web filtering server that 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 explicit content. The application is easily deployed and managed, requires minimal external dependencies, very robust and runs with the excellent performance.
It supports all major Linux distributions (Ubuntu, RedHat, Debian, CentOS), FreeBSD (pfSense) and Raspberry PI (2). With the latest release of Docker it can also run on Windows 10 Professional.
There were a lot of breaking changes in 5.0 compared to 4.X versions. If you run Web Safety on real hardware it is recommended to completely rebuild the proxy box from scratch. See Version History for more information!
Check the upgrade documentation for more informaion about the changes and hints at a potential upgrade path from the 4.x docker image.
Please install docker from www.docker.com.
If you had the image already deployed please see how you can [clean before updating to the newest version](# Removing existing images and containers).
In order to run the product please execute the following commands:
docker run -it --name websafety-config diladele/websafety /usr/local/bin/firstrun.sh
docker run -dt --name websafety --dns=8.8.8.8 --volumes-from websafety-config -p 8000:80 -p 3128:3128 diladele/websafety
After executing these commands, you can connect to the Web UI typing http://localhost:8000 in your browser.
The Squid is listening on port 3128.
To stop the container, please run:
docker stop websafety
To start the container again, please run:
docker start websafety
The full tutorial can be found here.
In order to remove the previous version of websafety, please perform the following steps:
- stop running container with the following command:
docker stop websafety
- remove data and runtime containers:
docker rm websafety
docker rm websafety-config
- remove outdatad image (optional):
docker rmi diladele/websafety
See how you can install the new version.
Please install docker from www.docker.com. After cloning the project, build it with
./build.sh
Run the container with
./run.sh
Stop with
docker stop websafety
Start again with
docker start websafety
The docker image comes with a pre-installed license. If it expires, please request the license at support@diladele.com
In case of any questions, please contact support@diladele.com
- For an image with the standalone Web Safety please visit Diladele Web Safety Docker Cluster
- For Squid on Windows installer please click here
Our big thanks go to Ian Bashford for his invaluable contributions. Also a lot of thanks to Johann Richard for moving to version 5.0.