Sponsored Content
Operating Systems Solaris Clamd max file size Solaris 10 Post 303012115 by Troutfest on Tuesday 30th of January 2018 05:54:06 AM
Old 01-30-2018
Clamd max file size Solaris 10

Hi,

I've compiled a 64-bit version of ClamAV 0.98.7 on my Solaris 10 SPARC server. I have a selection of files all containing the eicar signature but clamd is only picking up the signature in the files <2GB.

I have the following set in clamd.conf, to remove file size checking:
Code:
MaxScanSize 0
MaxFileSize 0

I'm scanning a 2.2GB file (containing the eicar string) with the following command:

Code:
clamdscan --stream --verbose /var/crash/bigfile

this returns:
Code:
----------- SCAN SUMMARY -----------
Infected files: 0
Time: 375.965 sec (6 m 15 s)

A 1.4GB file (containing the eicar string) returns:
Code:
/var/crash/mediumfile: Eicar-Test-Signature FOUND
----------- SCAN SUMMARY -----------
Infected files: 1
Time: 274.180 sec (4 m 34 s)

Other info that may be relevant:
SunOS myhost 5.10 Generic_147440-09 sun4v sparc SUNW,SPARC-Enterprise-T5120

Any help/suggestions much appreciated Smilie


Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!
Please post in adequate forum!

Last edited by RudiC; 01-30-2018 at 07:00 AM.. Reason: Added CODE tags, moved thread to Solaris forum.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

setting max log file size...

Hello all! I have found a new home, this place is great! I have been searching for days to find a way to set a max size for a log.txt file using a cron job exicuting a shell script. Is it possible for a script to remove older entries in a log file to maintain a limited file size? If so,... (5 Replies)
Discussion started by: v-rod
5 Replies

2. Shell Programming and Scripting

Max size of variable

What is the maximum amount of characters that you can have in a varible name in the ksh shell? (1 Reply)
Discussion started by: lesstjm
1 Replies

3. UNIX for Dummies Questions & Answers

Max I/O Size

My HP-UX 11.0 system is supporting an Oracle database. I have found a number of references on the Net to the "Max I/O size" in relation to setting Oracle parameters. How can I tell what my max i/o size is? I originally made the assumption that it was referring to my stripe size but now I think... (1 Reply)
Discussion started by: keelba
1 Replies

4. Programming

Max file size can't exceed 2 GB

We have Sun OS 5.9 we are doing a backup process (ProC program) that uses the function... fprintf(fp,"%s;%s;%s;%s;%s;%ld;%ld;%ld;%ld;%s;%s;%s;%d;%s;%s;%s;%ld;%s;%s;%s;%ld;%ld;%s;%ld;%s;%ld;%s;%s;%c%c",x_contrno, x_subno, x_b_subno,x_transdate,x_last_traffic_date,BillAmt_s, x_billamount_int,... (10 Replies)
Discussion started by: atiato
10 Replies

5. UNIX for Advanced & Expert Users

How to determine the max file size

Does anyone know a way to determine the maximum filesize on a file system on Solaris, HP-UX, AIX, Linux, and OSF1 using the command line? TIA (2 Replies)
Discussion started by: dknight
2 Replies

6. Solaris

max. size of file

I wants to ask that what is the max size of file that we can create in the unix file system. (2 Replies)
Discussion started by: sameerghogre
2 Replies

7. UNIX for Advanced & Expert Users

Max. file size

i want to know what is the maximum file size supported by linux with ext3 file system. (1 Reply)
Discussion started by: nagalenoj
1 Replies

8. UNIX for Dummies Questions & Answers

MAX file size limited to 2GB

Hi All, We are running HP rp7400 box with hpux 11iv1. Recently, we changed 3 kernel parameters a) msgseg from 32560 to 32767 b) msgmnb from 65536 to 65535 c) msgssz from 128 to 256 Then we noticed that all application debug file size increase upto 2GB then it stops. So far we did not... (1 Reply)
Discussion started by: mhbd
1 Replies

9. UNIX for Dummies Questions & Answers

Restrict Max file size

Hello All, I am working on an issue, where I need to check the max file size of a file. If the file size exceeds 2 GB, then I need to generate an error message. Since the file system does not allow a file to be created larger than 2 GB, I am planning to use named pipes & AWK file to acheive my... (6 Replies)
Discussion started by: puru2121
6 Replies

10. Shell Programming and Scripting

Max size directory

Hi I know that a perticular direxctory is cosuming max space . Filesystem 1K-blocks Used Available Use% Mounted on nfsfi02:/vol/fivol2/Dir2/dir 104857600 92671400 12186200 89% /fs/dir I want to know which sub directory is consuming max... (4 Replies)
Discussion started by: ptappeta
4 Replies
AFP_SIGNATURE.CONF(5)						   Netatalk 2.2 					     AFP_SIGNATURE.CONF(5)

NAME
afp_signature.conf - Configuration file used by afpd(8) to specify server signature DESCRIPTION
/etc/netatalk/afp_signature.conf is the configuration file used by afpd to specify server signature automagically. The configuration lines are composed like: "server name" hexa-string The first field is server name. Server names must be quoted if they contain spaces. The second field is the hexadecimal string of 32 characters for 16-bytes server signature. The leading spaces and tabs are ignored. Blank lines are ignored. The lines prefixed with # are ignored. The illegal lines are ignored. Note Server Signature is unique 16-bytes identifier used to prevent logging on to the same server twice. Netatalk 2.0 and earlier generated server signature by using gethostid(). There was a problem that another servers have the same signature because the hostid is not unique enough. Current netatalk generates the signature from random numbers and saves it into afp_signature.conf. When starting next time, it is read from this file. This file should not be thoughtlessly edited and be copied onto another server. If it wants to set the signature intentionally, use the option "-signature user:xxxx" in afpd.conf. In this case, afp_signature.conf is not used. EXAMPLES
Example. afp_signature.conf three servers on one netatalk # This is a comment. "Guest Server" 251D25569CB29AFDF296C6B5B3A385B7 "User Server" 26B5D785046C019F55718F76B1C13BFB special 74A0BB94EC8C13988B2E75042347E528 SEE ALSO
afpd(8), afpd.conf(5), asip-status.pl(1) Netatalk 2.2 08 Mar 2011 AFP_SIGNATURE.CONF(5)
All times are GMT -4. The time now is 01:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy