Re: [clamav-users] ClamAV Scan - Data Read vs Data Scanned

2020-11-01 Thread Al Varnell via clamav-users
The eicar test file is 68 bytes long which is .68 MB which rounded to two 
significant digits is 0.00 MB both scanned and read.

There are various limits, depending on file and archive types as to how much is 
read and/or scanned. In most cases they will be exactly the same.

-Al-

> On Nov 1, 2020, at 19:40, Ankur Sharma via clamav-users 
>  wrote:
> 
> Hi All,
> 
> I tried to scan an eicar test file and got the following scan output:
> 
> {'Scanning /tmp/bucket-file-upload/eicar_com.zip!ZIP': 'eicar.com 
> ', '/tmp/bucket-file-upload/eicar_com.zip': 
> 'Win.Test.EICAR_HDB-1 FOUND', '/tmp/bucket-file-upload/eicar_com.zip!(1)ZIP': 
> 'eicar.com : Win.Test.EICAR_HDB-1 FOUND', 'Known viruses': 
> '8931107', 'Engine version': '0.102.4', 'Scanned directories': '0', 'Scanned 
> files': '1', 'Infected files': '1', 'Data scanned': '0.00 MB', 'Data read': 
> '0.00 MB (ratio 0.00:1)', 'Time': '22.963 sec (0 m 22 s)'}
> 
> Though it correctly mentions that the 'Infected files' is '1'. It mentions 
> that data scanned and data read is 0.00 MB. Can someone please help me and 
> confirm what is Data read and Data scanned ? How are these different?
> 
> Thanks a lot for your time.
> 
> -- 
> regards
> Ankur


smime.p7s
Description: S/MIME cryptographic signature

___

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] ClamAV Scan - Data Read vs Data Scanned

2020-11-01 Thread Ankur Sharma via clamav-users
Hi All,

I tried to scan an eicar test file and got the following scan output:

{'Scanning /tmp/bucket-file-upload/eicar_com.zip!ZIP': 'eicar.com',
'/tmp/bucket-file-upload/eicar_com.zip': 'Win.Test.EICAR_HDB-1 FOUND',
'/tmp/bucket-file-upload/eicar_com.zip!(1)ZIP': 'eicar.com:
Win.Test.EICAR_HDB-1 FOUND', 'Known viruses': '8931107', 'Engine version':
'0.102.4', 'Scanned directories': '0', 'Scanned files': '1', *'Infected
files': '1',* *'Data scanned': '0.00 MB', 'Data read': '0.00 MB (ratio
0.00:1)'*, 'Time': '22.963 sec (0 m 22 s)'}

Though it correctly mentions that the 'Infected files' is '1'. It mentions
that data scanned and data read is 0.00 MB. Can someone please help me and
confirm what is Data read and Data scanned ? How are these different?

Thanks a lot for your time.

-- 
regards
Ankur
+61481141085

___

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] clamd scan problem

2020-11-01 Thread G.W. Haywood via clamav-users

Hi there,


On Sat, 31 Oct 2020, Tsutomu Oyamada wrote:

Scanning certain files will result in a memory error in clamd version 0.101.5.


In the context of virus scanning, one year old is very old indeed.

On Sat, 31 Oct 2020, G.W. Haywood wrote:


That is rather an old version, released over a year ago.  There have
been some significant changes since then.  You should upgrade.


See for example

https://blog.clamav.net/2019/10/clamav-01020-has-been-released.html

--

On Sat, 31 Oct 2020, Tsutomu Oyamada wrote:


The platform is AIX.  This behavior does not occur in CVD version
25904, but does occur in CVD version 25973.


On Sun, 1 Nov 2020, Tsutomu Oyamada wrote:


The RAM size of my system is 4GB.


The amount of free RAM is what matters.  Yesterday I showed you how
much free RAM there is on my dedicated clamd server.  I doubt that you
are using your AIX system as a dedicated clamd server, so what else is
it doing and how much RAM does that leave free?


I think it's not a system spec issue, it's a CVD issue.
This is because an event occurred in the CVD update.


It may or may not be a signature issue, but it will be a lot easier to
troubleshoot if you are using the current version of ClamAV - which
you should be doing anyway, so that's the first thing you need to do.
As you will see if you read the release notes in the link I gave above,
even version 0.102 fixed many faults to be found in older versions.

The scan results which I showed you yesterday used the _same_ version
of the daily database with which you claim to be having trouble:

8<--
$ grep 2597[345] /var/log/clamav/freshclam.log 
Fri Oct 30 15:55:54 2020 -> daily database available for update (local version: 25972, remote version: 25973)

Fri Oct 30 15:56:31 2020 -> daily.cld updated (version: 25973, sigs: 4337152, 
f-level: 63, builder: raynman)
Sat Oct 31 03:56:33 2020 -> daily.cld database is up to date (version: 25973, 
sigs: 4337152, f-level: 63, builder: raynman)
Sun Nov  1 03:58:58 2020 -> daily database available for update (local version: 
25973, remote version: 25974)
Sun Nov  1 03:59:33 2020 -> daily.cld updated (version: 25974, sigs: 4337524, 
f-level: 63, builder: raynman)
8<--

As I said yesterday, scanning the same file here with a recent version
of ClamAV, using the same database, and plenty of free RAM, does not
appear to show the same issue.  In case the file was somehow corrupted
in transfer by email, in my post yesterday to you I gave the md5sum of
the file I scanned, which is

bc14659c084333c99bfcc728ef6744bd

so that you can check that we are indeed scanning the same thing.  I
also showed you how to check that your system has sufficient free RAM.

Do you have enough *free* RAM?

Does your problem still appear with the *current* version of ClamAV?

Are you sure that the problem appears on your AIX system but not our
Linux system, using the same ClamAV version, and the same database,
and with sufficient free RAM?

These questions need to be answered.  It's up to you to provide those
answers.  It _is_ possible that there is an issue with version 25973
of the daily database, these things do happen.  But I haven't seen it,
and if it were a problem affecting all ClamAV installations you could
reasonably expect that you would by now have seen many more enquiries
on this list about it.

I repeat my suggestions that you

(1) upgrade your version of ClamAV, from the one year old version 0.101
to the current version 0.103 (which you should have done already, even
if you did *not* have memory issues like this) and then

(2) if the problem persists and you are quite sure that you and I are
scanning the same file and that you have sufficient free RAM, so that
it can be investigated try to narrow it down to a single signature
which causes problems on your system.  That should be straightforward.

--

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] clamd scan problem

2020-11-01 Thread Tsutomu Oyamada
Hi, Mark

Thank you for your reply.

The RAM size of my system is 4GB.

I think it's not a system spec issue, it's a CVD issue.
This is because an event occurred in the CVD update.

Regards
T.Oyamada

On Sat, 31 Oct 2020 14:10:29 +
Mark Fortescue via clamav-users  wrote:

> How much memory is available on your AIX system ?
> 
> Recommendations vary but I think the general rule will be you need 4GBytes or 
> more for any server that has to do more than just run Clamd. Anything less 
> that 2GBytes is going to be very slow or fail.



___

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