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  [ 4 posts ] 
Author Message
 Post subject: Selective AV check.
PostPosted: 23 Jun 2006 18:30 
Offline

Joined: 07 Jun 2006 18:41
Posts: 4
To increase (greatly, i guess) performance it would be great to have an opportunity to tell HAVP which server replies need to be passed to AV scanner, and which should be returned direct to client without any future checks. This should be defined depending on URL and/or response MIME type.

For example image/gif, image/jpeg or, saying, text/plain responses need no check at all. But application/octet-stream or application/java-script responses must be checked always.

Now HAVP passes ALL data coming from web server to AV scanner, if im not mistaken.


Top
 Profile  
 
 Post subject: Re: Selective AV check.
PostPosted: 23 Jun 2006 19:16 
Offline
HAVP Maintainer

Joined: 27 Feb 2006 19:08
Posts: 62
Jared wrote:
To increase (greatly, i guess) performance it would be great to have an opportunity to tell HAVP which server replies need to be passed to AV scanner, and which should be returned direct to client without any future checks. This should be defined depending on URL and/or response MIME type .


We have a URL black/whitelist at the moment.

Jared wrote:
For example image/gif, image/jpeg or, saying, text/plain responses need no check at all. But application/octet-stream or application/java-script responses must be checked always.


Filtering by MIME reduce security. The server could fake wrong MIME type. And there are also expolits in pictures. But I'm also thinking about this feature...


Top
 Profile  
 
 Post subject:
PostPosted: 23 Jun 2006 19:41 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Yes, trusting MIME-types is very silly. We could implement libmagic into HAVP, so it could detect file types properly, but I don't know what would be the gain from it? Scanning images and text takes very little resources, and checking magic for every file would actually mean we had an "extra scanner" taking resources.

I could understand if someone was in an environment with 10000 users and 500MHz CPU available? But really, CPU is cheap these days. :)

Archive scanning probably is the most expensive thing, you could just limit that to gain some performance. It's always a trade-off as it would be very expensive to fully scan them. They should be mostly left to workstation scanners.

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 23 Jun 2006 20:17 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
But to have some good news anyways, I'll probably add simple magic image detection, so you can disable scanning for them. I need to add some ZIP detection too to fix handling of them, so it's easy to do..

If you take the (real) risk of image exploits, you can reduce scanning quite a lot then.

Cheers,
Henrik


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

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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