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

Bug 295182

Summary: app-antivirus/clamav - freshclam : since 0.95.1 (current 0.95.2) OnOutdatedExecute seem not to work anymore
Product: Gentoo Linux Reporter: sec.plabst
Component: Current packagesAssignee: Antivirus Team <antivirus>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description sec.plabst 2009-11-30 13:35:26 UTC
since version 0.95.1 it seems the "OnOutdatedExecute" - func seems not to work anymore for freshclam ; at least with option --no-dns or when there is the  
WARNING: Invalid DNS reply. Falling back to HTTP mode.

Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2010-01-02 21:39:16 UTC
I'm not sure what the old version-checking mechanism was for freshclam earlier than 0.95.2, but if you only have problems when DNS is unavailable you're seeing the expected behavior for the current freshclam design. 

From freshclam.conf man page:
DNSDatabaseInfo STRING
    This directive enables database and software version checks through DNS TXT records.
    Default: enabled, pointing to current.cvd.clamav.net 

Since freshclam uses DNS queries to see what is current version for comparison against installed version, if it can't do DNS then it doesn't know to set the outdated flag. 


So, have you seen OnOutdatedExecute work ok when DNS _is_ available? Or does it never seem to work anymore?
Comment 2 sec.plabst 2010-01-08 13:38:35 UTC
(In reply to comment #1)
> I'm not sure what the old version-checking mechanism was for freshclam earlier
> than 0.95.2, but if you only have problems when DNS is unavailable you're
> seeing the expected behavior for the current freshclam design. 
> 
> From freshclam.conf man page:
> DNSDatabaseInfo STRING
>     This directive enables database and software version checks through DNS TXT
> records.
>     Default: enabled, pointing to current.cvd.clamav.net 
> 
> Since freshclam uses DNS queries to see what is current version for comparison
> against installed version, if it can't do DNS then it doesn't know to set the
> outdated flag. 
> 
> 
> So, have you seen OnOutdatedExecute work ok when DNS _is_ available? Or does it
> never seem to work anymore?
> 

I can not check that, because I allways get this DNS -error, but i swa in the freshclamlog the warning that the version was outdated , only the OnOutdated-mechanism didnĀ“t work
Comment 3 Wormo (RETIRED) gentoo-dev 2010-01-10 07:36:56 UTC
Ok, it seems strange that you always get a complaint about DNS. How about you attach a copy of your logfile and post output from 'emerge --info', and then we'll ask the clamav maintainers to take a look.