Re: [clamav-users] Terminate clamscan after specific time

2021-01-05 Thread Richard Graham via clamav-users
On Tue, Jan 5, 2021 at 5:01 PM G.W. Haywood via clamav-users <
clamav-users@lists.clamav.net> wrote:

> ...
> An Englishman asked an Irishman for directions to somewhere.
>
> The Irishman replied, "If I was going there, I wouldn't start from here".
>
> :)
>
> Reminds me of another Irishman...

Visitor:  "Have you lived here your entire life?"
Irishman:  "No, I live down the lane a bit."
Visitor: "Your whole life?"
Irishman: "Well, not yet."

:-)

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Help please

2021-01-05 Thread Richard Graham via clamav-users
You also may want to install it from the Ubuntu repo.

https://help.ubuntu.com/community/ClamAV
https://packages.ubuntu.com/focal/clamav

On Tue, Jan 5, 2021 at 9:36 PM David Copeland  wrote:

> You might have a look at:
>
>
> https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions
>
> Dave C.
>
> On 2021-01-05 2:29 p.m., Mark Burzenski via clamav-users wrote:
>
> Hello,
>
> I downloaded the tar.gz for Clamav, then gunzipped it, then moved it to
> its own directory and un tarred it. Now I have a directory full of files
> and no idea how to get clamav installed.
>
> New to Linux
> using Ubuntu 20.04 in a Virtual box environment.
>
> Thank you,
> Mark B.
>
> ___
>
> clamav-users mailing 
> listclamav-users@lists.clamav.nethttps://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV 
> guide:https://github.com/vrtadmin/clamav-faq
> http://www.clamav.net/contact.html#ml
>
>
>
> ___
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Help please

2021-01-05 Thread David Copeland
You might have a look at:

https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions

Dave C.

On 2021-01-05 2:29 p.m., Mark Burzenski via clamav-users wrote:
> Hello,
>
> I downloaded the tar.gz for Clamav, then gunzipped it, then moved it
> to its own directory and un tarred it. Now I have a directory full of
> files and no idea how to get clamav installed.
>
> New to Linux
> using Ubuntu 20.04 in a Virtual box environment.
>
> Thank you,
> Mark B.
>
> ___
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml


___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] Help please

2021-01-05 Thread Mark Burzenski via clamav-users
 Hello,

I downloaded the tar.gz for Clamav, then gunzipped it, then moved it to its
own directory and un tarred it. Now I have a directory full of files and no
idea how to get clamav installed.

New to Linux
using Ubuntu 20.04 in a Virtual box environment.

Thank you,
Mark B.

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Terminate clamscan after specific time

2021-01-05 Thread G.W. Haywood via clamav-users

Hi there,

On Tue, 5 Jan 2021, Zvi Kave via clamav-users wrote:


   Seems that the parameter --max-scantime=#n aborts scan on every file after 
#n ms.
   But it continues to the next file, instead of clamscan termination + summary 
as I need.


You can easily start another process, which sleeps for your desired
number of seconds and then kills the clamscan process.  You won't get
the exact summary which clamscan gives when it terminates normally, but
you will get the output about what's been found so you can approximate
the report e.g. by piping the output of the clamscan process to a file
(perhaps asking for verbose reporting from libclamav and/or clamscan as
well as reporting clean files) and doing a little bit of scripting.

This does seem to me to be a strange thing to want to do.  If you can
explain exactly what the problem is and why you think this is the
solution we might be able to offer alternatives or other suggestions.

If all else fails you have the source code.  It would be possible to
get clamscan to respond to a signal in the way you describe.

An Englishman asked an Irishman for directions to somewhere.

The Irishman replied, "If I was going there, I wouldn't start from here".

:)

--

73,
Ged.

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Terminate clamscan after specific time

2021-01-05 Thread Zvi Kave via clamav-users
Hi Micah,

Seems that the parameter --max-scantime=#n aborts scan on every file
after #n ms.
But it continues to the next file, instead of clamscan termination +
summary as I need.

Thanks,

 Zvi

On Mon, Dec 28, 2020 at 6:04 PM Zvi Kave via clamav-users <
clamav-users@lists.clamav.net> wrote:

> Hi,
>
> Is there a way to Terminate clamscan after specific time with summary ?
>
> Regards,
>
> Zvi
>
>
> 
>
> ___
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] Terminate clamscan after specific time

2021-01-05 Thread Zvi Kave via clamav-users

  
  
Micah,


I did not pay attention to this parameter.


Thank you for discovering it,


Zvi



On 1/5/2021 3:53 AM, Micah Snyder
  (micasnyd) via clamav-users wrote:


  
  
  
  
Zvi,
 
Yes, clamscan has a --max-scantime=#n
  option, which is measured in milliseconds.  Clamscan will
  check the time limit periodically and abort the scan if the
  time limit has been exceeded.  There is a similar config
  option for clamd in clamd.conf.
 
Disclaimer: the limit is not precise as
  clamscan may be busy decompressing or parsing a file in
  between checks.  It’s useful mostly when scanning large
  archives and such to abort partway through a long scan. 
   Ideally it would monitor the scan in a watchdog process or
  something so it could abort the scan more precisely but
  unfortunately it doesn’t work that way.
  
 
Regards,
Micah
 

  

  From: clamav-users

On Behalf Of Zvi Kave via clamav-users
Sent: Monday, December 28, 2020 8:04 AM
To: clamav-users@lists.clamav.net
Cc: Zvi Kave 
Subject: [clamav-users] Terminate clamscan after
specific time

  
   
  
Hi,
Is there a way to Terminate clamscan after specific time
  with summary ?
Regards,
Zvi
  

  
  
  
  
___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


  


___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml