Re: [clamav-users] How to programmatically determine if I have latest clamd software

2020-06-10 Thread Ilana Olsen via clamav-users
https://www.techwalla.com/articles/how-to-ping-a-server-name On Wed, Jun 10, 2020, 5:02 PM Cliff via clamav-users < clamav-users@lists.clamav.net> wrote: > I am building a php dashboard. > > I would like to be able to ping my servers and get notified if clamd > software (not signatures) is out

Re: [clamav-users] FW: How to programmatically determine if I have latest clamd software

2020-06-10 Thread Richard via clamav-users
> Date: Wednesday, June 10, 2020 19:42:18 -0500 > From: Cliff via clamav-users > > I also have a similar cron script that updates clam daily. > > What I’m looking for is a way to double check in case the script > encounters a problem and cannot notify. > > Unfortunately, your method using

[clamav-users] FW: How to programmatically determine if I have latest clamd software

2020-06-10 Thread Cliff via clamav-users
Thanks. I also have a similar cron script that updates clam daily. What I’m looking for is a way to double check in case the script encounters a problem and cannot notify. Unfortunately, your method using freshclam takes about 20 seconds, which is too long for a dashboard. What I am looking

Re: [clamav-users] How to programmatically determine if I have latest clamd software

2020-06-10 Thread Rick Cooper
look in the man page for freshclam: --on-outdated-execute=COMMAND Execute COMMAND when freshclam reports outdated version. In the command string %v will be replaced by the new version number. in the config file OnOutdatedExecute I have a script that sends me an email when freshclam sees the

[clamav-users] Adding extra functionality to dll

2020-06-10 Thread Brett Hunter via clamav-users
Hi, Is it possible for 3 lines to be added to the libclamav.def file for the Windows dll creation? The lines being: EXPORTS cl_fmap_open_handle @72 EXPORTS cl_fmap_close @73 EXPORTS cl_scanmap_callback @74 It makes it so scans can be done on memory buffers. Thanks Brett

[clamav-users] How to programmatically determine if I have latest clamd software

2020-06-10 Thread Cliff via clamav-users
I am building a php dashboard. I would like to be able to ping my servers and get notified if clamd software (not signatures) is out of date. This is for situations where my normal update process breaks for whatever reason. Is there a command that will give me a yes/no answer? If not, is there

[clamav-users] Digital signature verification when updating the virus database

2020-06-10 Thread Artem via clamav-users
Hello, As it is written in the documentation CVD is a digitally signed container that includes signature databases in various text formats. Manually we can verify digital signature using "sigtool --info". Correct me if I am wrong. And second question: Does freshclam automatically verify the