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.
It is currently 22 Jun 2014 09:53

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: big files
PostPosted: 07 Jun 2006 19:13 
Offline

Joined: 29 May 2006 17:57
Posts: 9
Hi,

big files seems to pass without scanning:
When you download small files (1M, 2M...) you can see temp files in the mandatory locking directory growing then disapear when fully downloaded.

When you download big files (650M (iso)), you can see a temp file in locking dir that disapear almos instantanly.

It seems to be related to "dynamic scanning" (around line 688) section of proxyhandler.cpp.


Dynamic scanning means there is no temp file and the content is scanned on the fly ?

Bye,
Mat.


Top
 Profile  
 
 Post subject:
PostPosted: 07 Jun 2006 20:27 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
What is your MAXSCANSIZE? When you have downloaded this much, the tempfiles are deleted already.

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 07 Jun 2006 22:43 
Offline

Joined: 29 May 2006 17:57
Posts: 9
The size of the file I'm downloading is 717729792.

My MAXSCANSIZE is 1717729792. --> I realize it's a wrong value... it is greater than MAXFILELOCKSIZE....

(but I also tried MAXSCANSIZE 0).


Top
 Profile  
 
 Post subject:
PostPosted: 07 Jun 2006 23:25 
Offline

Joined: 29 May 2006 17:57
Posts: 9
I'll try to give you a simple example of the issue, with smaller files that shouldn't exceed any MAX values:

9.7Mb iso file:
http://mirrors.ircam.fr/pub/CentOS/4/os ... s/boot.iso
a temp file is created, starts to grow and disapear quickly.

a 12Mb img file:
http://mirrors.ircam.fr/pub/CentOS/4/os ... skboot.img
a temp file is created, grows up to 12Mb and disapear after scanning.

Bye,
Mat.


Top
 Profile  
 
 Post subject:
PostPosted: 08 Jun 2006 00:01 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
How do you mean it starts to grow? If you download smaller files than MAXSCANSIZE, it will be fully allocated and it stays the same size. If it does grow, either you have some config error or old buggy version.

If you download something over MAXSCANSIZE, then the file will grow as you download it.

What scanner are you using? It might decide it's not a virus and finish scanning immediately.

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 08 Jun 2006 10:15 
Offline

Joined: 29 May 2006 17:57
Posts: 9
hege wrote:
How do you mean it starts to grow? If you download smaller files than MAXSCANSIZE, it will be fully allocated and it stays the same size. If it does grow, either you have some config error or old buggy version.


I mean, a temp file with final size is allocated, then it's filled with downloaded data.

Quote:
If you download something over MAXSCANSIZE, then the file will grow as you download it.

What scanner are you using? It might decide it's not a virus and finish scanning immediately.

clamd and f-prot (with -dumb) with same results.

Is there any chances that .iso files are bypassed with those two av ?

Cheers,
Henrik[/quote]


Top
 Profile  
 
 Post subject:
PostPosted: 08 Jun 2006 19:13 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
m33 wrote:
Is there any chances that .iso files are bypassed with those two av ?


It seems neither of them scan into .iso, so that explains it..

Cheers,
Henrik


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

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [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