HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.


All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: havp 0.91 and avg7
PostPosted: 18 Jul 2009 11:04 
Offline

Joined: 02 Feb 2008 22:24
Posts: 28
Hi hege,

sorry to say but your havp 0.91 works no longer with avg7 on ipcop/copfilter. As you saw in the copfilter forum avg7 causes errors with 0.91.
Switching back to 0.90 all is running well again.
The disabling of mandatory locking by AVG:ALL does not help.
As avg8 is not running on ipcop I would appreciate if you could sort this issue.

Regards Severus

1st Edit:
The culprit seems to be the changed code in avgscanner.ccp:
the code in 0.90 is
Code:
    if ( Response.length() < 20 )
    {
        LogFile::ErrorMessage("AVG: Invalid response from scanner, report to developer (%s)\n", Response.c_str());
        ScannerAnswer = "2Invalid response from scanner";
        return ScannerAnswer;
    }


in version 0.91 are some additional lines
Code:
    if ( MatchSubstr( Response, "220 Ready", -1 ) == false )
    {
        AVGSocket.Close();
        LogFile::ErrorMessage("AVG: Invalid greeting from scanner (%s)\n", Response.c_str());
        ScannerAnswer = "2Invalid greeting from scanner";
        return ScannerAnswer;
    }


It seems the avg7 scanner responds
Code:
220-AVG7 Anti-Virus daemon mode scanner
220-Program version 7.5.52, engine 442
220-Virus Database: Version 270.13.19/2245  2009-07-18
220 Ready

so the first line of this response is read and raises an error equal to
Code:
12/07/2009 03:14:34 AVG: Invalid greeting from scanner (220-AVG7 Anti-Virus daemon mode scanner)


We'll try to compile havp 0.91 with a changed avgscanner.ccp, but a more global solution would be appreciated.
As I said above: On ipcop avg8 will not run correctly, so avg7 users will like to use this scanner for the whole license time.

Regards Severus

2nd Edit.

Maybe a switch which would allow to select the used version of avg on compiling havp would be good.
Severus


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group