1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
DansGuardian Bad Request 400 Fix
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: DansGuardian Bad Request 400 Fix
#36226
DansGuardian Bad Request 400 Fix 4 Months, 3 Weeks ago  
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.

J
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/12/29 00:12 By JVFF.
The administrator has disabled public write access.
 
#36240
Re: DansGuardian Bad Request 400 Fix 4 Months, 3 Weeks ago  
Hi J,

Welcome to Clear. Yes - I have added the proxy server address into the excluded list (deployed by group policy). I will be interested to see if I still need this work round with the 6 release.

David
David Clayton
Gold Boarder
Posts: 286
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop