* Nathan Gibbs wrote: > > In Conclusion > I can think of at least three more CLmaAV events that it would be nice to be > notified on. > However, I feel that it is important to decide how to do one common task > before covering new ground. > > Final opinion about how to do the common task. > Use execle to call the script directly, and hand it a common Environment. > Do this for all external events. > Here is my working "test" implementation for the milter
http://www.cmpublishers.com/oss/clamfi.c One of my hosts is running it now. A guy who doesn't know c, and two hours = a working implementation. Sourcefire, a ClamAV Team, and months since the initial request "1754" = 0 My point is that it took 2 hours to get 31 lines of code that worked. Most of those lines were cut, paste, and modify, very little original code. A very inefficient way to do it. Initially I thought that what I wanted was hard to do, now I'm just disgusted with the ClamAV Team at large. This would be trivial to someone who knew what they where doing. I won't say that my implementation is the best way, it certainly isn't pretty, but it works. Now will the REAL C CODERS PLEASE STAND UP! Do it right and show me how its done. Better yet, just do it right the first time, and I won't say a thing. -- Sincerely, Nathan Gibbs Systems Administrator Christ Media http://www.cmpublishers.com
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml