Loading...

clamav-devel@lists.clamav.net

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Clamav-devel] Can I join the Mac dev of clamAV Tomasz Kojm Thu Apr 05 11:00:51 2012

On Thu, 5 Apr 2012 23:29:53 +0800 boyd yang <[EMAIL PROTECTED]> wrote:
> Yes, I have been developing on Mac for years.

Cool!

> I built the clamav and examined the ClamAuth on 10.7.3. It works.
> I think we can add a system tray icon on up-right cormer of Desktop, and
> pop up window for on-access virus.
> An installer is also needed.
> 
>> Thu Apr  5 23:21:49 2012 -> ClamAuth: /Applications/clam_ISmsi_ext
> copy.exe: ClamAV-Test-File FOUND
>> Thu Apr  5 23:21:49 2012 -> ClamAuth: /Applications/clam_ISmsi_ext
> copy.exe: ClamAV-Test-File FOUND

In clamd.conf you can enable the VirusEvent directive and point it to
some shell script. Whenever clamd finds a virus, it'll call that script
and set up two environment variables:

$CLAM_VIRUSEVENT_FILENAME -> path to infected file
$CLAM_VIRUSEVENT_VIRUSNAME -> virus name

I think a script that integrates with Growl would be a good start!

Thanks,

-- 
   oo    .....         Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Thu Apr  5 18:06:10 CEST 2012
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net