Hello!
I'm working on an smtp content filter which does virus scanning with
libclamav (I do not use any clamav daemon).
I pondered about how to handle av database updates and want to find
an elegant solution not want to stop and start the filter daemon.
I tried the following:
when my content
On Wed, 1 Dec 2004 10:41:57 +0100 (CET)
[EMAIL PROTECTED] wrote:
when my content filter daemon starts, it calls a function called
init_cl(). when I upgrade the av database I send a HUP signal to my
daemon and call reload_cl().
It should be called periodically and not only depend on SIGHUP.
Hello Tomasz!
Ok, I'll check for database updates in every hour
(or shall I do that more often?)
But I would like to know what code is preferred doing so.
I tried the following:
void init_cl(){
int ret, no=0;
if((ret = cl_loaddbdir(cl_retdbdir(), root, no))){
syslog(LOG_PRIORITY,
[EMAIL PROTECTED] wrote:
Hello Tomasz!
Ok, I'll check for database updates in every hour
(or shall I do that more often?)
But I would like to know what code is preferred doing so.
I tried the following:
This appears to have nothing to do with improving the ClamAV project. Not that
I'm a topic