Mailing List Archive

Auto Scan any plugged in usb strogage device with ClamAV
Hi ClamAV Developers, Users

I would like to do auto scan any plugged in USB Storage Device/CD on OS X
Environment. could any one of you help me to achieve this.

Any help/suggestions would be appreciated


Thanks,
Crazy Thinker Inc
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

http://www.clamav.net/contact.html#ml
Re: Auto Scan any plugged in usb strogage device with ClamAV [ In reply to ]
If you want simple you can write a daemon to monitor the USB bus for
the attachment of a Mass Storage device and have it run clamscan on
the device before it actually mounts it, I've done similar to process
a special hidden partition on an HD if available and there are a lot
of USB and mass storage device example code from Apple and in the dev
tools you can use as reference although I would personally examine
the PHP extension code that was with an older version of ClamAV (not
sure if they still include it) and link the libraries directly to the
daemon and perform the scan directly but that's just me.

-- Dale

On Jul 10, 2017, at 04:39 AM, crazy thinker wrote:

> Hi ClamAV Developers, Users
>
> I would like to do auto scan any plugged in USB Storage Device/CD
> on OS X
> Environment. could any one of you help me to achieve this.
>
> Any help/suggestions would be appreciated
>
>
> Thanks,
> Crazy Thinker Inc
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
>
> http://www.clamav.net/contact.html#ml
>



_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

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