Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Ubuntu Server12.04 installation acting as a proxy server using Squid 3.1.19.

Squid has been configured to pass content to SquidClamAV 6.10 to check for viruses (using icap):

icap_service service_req reqmod_precache bypass=1 icap://
adaptation_access service_req allow all
icap_service service_resp respmod_precache bypass=1 icap://
adaptation_access service_resp allow all

The current setup works perfectly well, but now I’d like to install DansGuardian to provide content filtering.

Like Squid, the DansGuardian config file (/etc/dansguardian/dansguardian.conf) can also be integrated with anti-virus products using the 'contentscanner' directive.

Should I ignore the 'contentscanner' directive in DansGuardian and leave Squid in charge of passing content to SquidClamAV. Or should I have DansGuardian pass content to an anti-virus product? Or should they both be passing content to anti-virus products?

What’s considered best practice? Are there any advantages/disadvantages either way?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.