[Clamav-devel] [clamav-users] How to get each file status when scan a ditrtectory using clamdscan

crazy thinker crazythinker91 at gmail.com
Thu Oct 6 11:40:27 EDT 2016


@All

In MultiScan Mode,i would like to get each file staus call back from clamd
server but currently clamdscan gets callback from clamd when a file is
either infected or error one. clamdscan runs faster than clamscan..so i
would like to  improve performance in full system scan

i am reading source code and started to do code changes to achieve this.
but i am missing some logic and getting dififculty to get call back for
each  file from clamd server

@ClamAV Dev Team

Could someone  from  Development Team help me to implement this feature


On 6 October 2016 at 03:32, Paul Kosinski <clamav-users at iment.com> wrote:

> Some years ago, before ClamAv had an option to follow symlinks when
> recursing, I modified the source code to add an option to do that. It
> was not too much work to do it once, but it got tedious to roll the
> modifications forward and recompile with every new version, as I like
> to keep up, even ahead of the distro (which forced a recompile in any
> case).
>
> This was not a big deal, but having private mods is basically forking.
> I was very happy when ClamAV added the option and spared me future work.
>
> P.S. In the past, with some experimental software at IBM Research, quite
> extensive code changes were needed, and it was almost impossible to
> keep up. So, being able to modify the source code is *necessary*, but
> not *sufficient* to make things behave the way you want, depending on
> the effort needed, the resources available, and the number of target
> users (only me, in that example).
>
>
>
> On Wed, 5 Oct 2016 01:07:49 -0700
> Dennis Peterson <dennispe at inetnw.com> wrote:
>
> > You have access to the source code. Make it do what you want that it
> > does not already do.
> >
> > dp
> >
> > On 10/3/16 10:05 AM, crazy thinker wrote:
> > > Hi,
> > >
> > > when i  scanned  a dirtectory using clamdscan, i could get only
> > > error and virus file infected files status in output.but i would
> > > like to see each file status(including "OK" status also ) when i
> > > perform scan over sinle dirtectory / multiple dirtectories
> > >
> > > how does it can be achived? could anyone  please help me in this...
> > >
> > >
> > > Thanks,
> > >   crazy thinker
>
> >
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>


More information about the clamav-devel mailing list