This is for a non-transparent proxy configuration.
I had the problem where if a site was filtered (let's say games.com
) and a proxy client went there, it would redirect to the filtered.php page but they recurse and redirect that entire request to the filtered.php page again ad infinitum until a bad request was made.
Basically, it detects the bad URL (because even those requests are going through the content filter) within the URL it's going to so it tries to filter it out.
There are two fixes.
- Server side: Add the filter page's host (As defined in /etc/dansguardian-av/dansguardian.conf under accessdeniedaddress) to Exception Site List in the Content Filter web config
- Client side: Add the proxy to the browser's "No Proxy For" exception list, preferably the whole internal LAN subnet.