Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 453330

Summary: net-proxy/squidclamav-6.10: redirection on virus detection does not work
Product: Gentoo Linux Reporter: tazinblack <verbeamt>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: major CC: net-proxy+disabled, treecleaner
Priority: Normal Keywords: NeedPatch, PMASKED
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard: Pending removal: 2018-12-04
Package list:
Runtime testing required: ---
Bug Depends on: 556306    
Bug Blocks:    
Attachments: my squidclamav configuration

Description tazinblack 2013-01-21 13:12:05 UTC
Browser redirection on virus detection always redirects to http://proxy.domain.dom/cgi-bin/clwarn.cgi regardless what of you configure in /etc/squidclamav.conf.



Reproducible: Always

Steps to Reproduce:
1.configure /etc/squidclamav.conf with directive "redirect"
2.restart clamav, c-icap and squid
3.Download EICAR Testvirus with a browser using this squid.
Actual Results:  
Your Browser is redirected to http://proxy.domain.dom/cgi-bin/clwarn.cgi which fails since it does not exist.

Expected Results:  
redirection to the configured website
Comment 1 tazinblack 2013-01-21 13:14:09 UTC
Created attachment 336334 [details]
my squidclamav configuration
Comment 2 tazinblack 2013-01-21 13:18:23 UTC
Looks like this behavior only appears when you download the eicar.com and the eicar.com.txt files.
If you download eicar_com.zip or eicarcom2.zip the redirection works as expected.
Comment 3 Pacho Ramos gentoo-dev 2016-08-12 13:53:33 UTC
Maybe 6.15 version could help (bug 556306), if not, I would suggest you to report to upstream directly
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-04 17:07:30 UTC
Removing wrt #556306.