Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel
Queries on signature database organization/loading
 

Index | Next | Previous | View Flat


babun at intoto

Dec 29, 2008, 2:53 AM


Views: 1008
Permalink
Queries on signature database organization/loading

Hi,

I am developing SHIM layer for ClamAV to support Freescale pattern
matching hardware. Could you please clarify a few queries:

1. Freescale has a pattern matching engine with 64k pattern capacity.
But clamAV has approx 169000 signatures. This means hardware engine
will not be able to accomodate all the signatures. So we plan to read
.db & .ndb files line by line & load as many possible signatures in
hardware pattern table & then let the remaining signatures into
software data structures.

Queries:
- With the above logic, the signatures in daily.cvd always end
up in software data structures.Can we assume that daily.cvd file
contains the currently prevalent signatures ? If so, does it improve
the performance if we store the daily.cvd signatures in hardware tables ?
- Is main.cvd organized in such a fashion that prevalent
signatures are at the top ? If not, the concern is that hardware scan
hit rate is not as optimal as possible.

2. In clamd signature reloading process, does it always unload the
current signatures & then reload the fresh signatures ? Even if only
daily.cvd is updated in the freshclam update ?

3. When the signature database is updated, Feshclam returns 0. Is
there a way to find whether main.cvd is updated or daily.cvd is
updated or both ?


Please clarify.


Thanks,
Babu



_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Subject User Time
Queries on signature database organization/loading babun at intoto Dec 29, 2008, 2:53 AM
    Re: Queries on signature database organization/loading mail at michaelfmondragon Dec 29, 2008, 3:35 AM
    Re: Queries on signature database organization/loading edwintorok at gmail Dec 29, 2008, 3:56 AM
        Re: Queries on signature database organization/loading babun at intoto Dec 30, 2008, 3:44 AM
            Re: Queries on signature database organization/loading edwintorok at gmail Dec 30, 2008, 3:49 AM
    Re: Queries on signature database organization/loading clamav-devel at jubileegroup Dec 30, 2008, 5:41 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.