clamd.conf provides configurations for clamd(clamav daemon). Whereas
clamscan does not take configuration setting from it.

Use  --max-scansize=#n and  --max-filesize=#n instead.

On Fri, Sep 14, 2012 at 6:29 PM, Siranjeevi <siranjee...@gmail.com> wrote:

> Hi All,
>
>  I changed the items in clamd.conf
>
>  MaxScanSize = "157286400"
>  MaxFileSize = "104857600"
>
>  But Still, the changes are not reflected in clamscan. I couldn't scan
> large files which is of 75MB in size.
>
>  Please help me out.
>
>  I didn't expect such a great response by you guys. Really ClamAV has so
> many active members who are contributing very well for its growth.
>
>  I am a newbie. May be my questions seems to be silly. Please consider my
> question and I am expecting your replies.
>
>  Thank You.
>
>
> On Fri, Sep 14, 2012 at 3:10 PM, Al Varnell <alvarn...@mac.com> wrote:
>
> > On 9/14/12 2:05 AM, "Siranjeevi" <siranjee...@gmail.com> wrote:
> >
> > > Hi All,
> > >
> > >     I have tried to scan the file which is of 75 MB file.. I need to
> know
> > > whether it is scanned or not. Because Data Scanned is coming as 0.00
> MB.
> > > Please help me in this regard. I have to proceed further.
> > >
> > > [root@mySys clamav]# clamscan clamav-0.97.tar
> > >
> > > LibClamAV Warning: **************************************************
> > > LibClamAV Warning: ***  The virus database is older than 7 days!  ***
> > > LibClamAV Warning: ***   Please update it as soon as possible.    ***
> > > LibClamAV Warning: **************************************************
> > > clamav-0.97.tar: OK
> > >
> > > ----------- SCAN SUMMARY -----------
> > > Known viruses: 1263908
> > > Engine version: 0.97.5
> > > Scanned directories: 0
> > > Scanned files: 1
> > > Infected files: 0
> > > *Data scanned: 0.00 MB*
> > > Data read: 75.66 MB (ratio 0.00:1)
> > > Time: 2.416 sec (0 m 2 s)
> > >
> > > What is the maximum file size ClamAV supports ?? Please reply with the
> > > maximum file size limit. I couldn't found this information in google.
> > >
> > > Thanks in Advance for your help.
> >
> > Run clamconf and check MaxScanSize.  Probably 100M.
> >
> > Also, from man clamscan:
> >
> >        --max-scansize=#n
> >              Extract and scan at most #n kilobytes from each scanned
> file.
> >              You may pass the value in megabytes in format xM or xm,
> where
> > x
> >              is a number.  This option protects your system against DoS
> >              attacks (default: 100 MB, max: <4 GB)
> >
> > However, if the file is an archive, then the MaxFileSize is probably 25M.
> >
> >
> > -Al-
> >
> > --
> > Al Varnell
> > Mountain View, CA
> >
> >
> >
> > _______________________________________________
> > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> > http://www.clamav.net/support/ml
> >
>
>
>
> --
>    Regards,
>    *R.Siranjeevi**   **|  MCA @ PSG Tech*
>
> ---------------------------------------------------------------------------------
> "Count the flowers of your garden, NOT the leafs which falls away! "
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to