How to use Squid deny_info with ClamAV adapter?
I recently implemented the eCAP library and the ClamAV adapter to block malicious content. I would now like to notify the user of why a particular site was blocked but my deny_info message is failing. My configuration is posted below.
I am using:
Squid 3.2.0.9
libecap-0.2.0
ecap_clamav_
Log format:
logformat squid %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt %adapt::<last_h
Log Output when a virus is encountered:
192.168.0.119 TCP_MISS/403 4062 GET http://
### eCAP / Virus Detection
ecap_enable on
acl multimedia rep_mime_type -i ^image/
acl multimedia rep_mime_type -i video
acl multimedia rep_mime_type -i audio
loadable_modules /usr/lib/
ecap_service eReqmod reqmod_precache bypass=1 uri=ecap:
ecap_service eRespmod respmod_precache bypass=1 uri=ecap:
adaptation_
adaptation_
adaptation_access reqfilter deny multimedia
adaptation_access reqFilter allow all
adaptation_access respFilter deny multimedia
adaptation_access respFilter allow all
### Banned Malicious Content ACL
acl malicious_content rep_header -i ^X-Virus-ID
http_access deny malicious_content
#http_reply_access deny malicious_content
deny_info http://
Cache log error message:
ACL::checklistM
Thank you,
John
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- eCAP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- John Bull
- Solved:
- Last query:
- Last reply: