HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

havp 0.91 and avg7
http://havp.hege.li/forum/viewtopic.php?f=3&t=468
Page 1 of 1

Author:  Severus [ 18 Jul 2009 11:04 ]
Post subject:  havp 0.91 and avg7

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

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/