Hello, first thanks you for replying :) Using ironbee will make me add "something else" to my server, and it looks like it's on a very early stage (with "not secure and ready for production" banners and everything) , have you tried this with ATS? is it working well?
Is there any reason why not to do it as a pluguin for ATS? Is anyone working on this? I understand that it's more performant (and possibly richer on features) to do it "over the air" using the AV API, but that ties it to the AV vendor and the code would be so much complex than just tempfile->exec ret?ok:bad; So I think that a generic plugin to run a command on a file transfer can be very useful! Best, Juan Pablo. 2014-08-20 20:00 GMT-03:00 Nick Kew <n...@apache.org>: > > On 20 Aug 2014, at 22:35, James Peach wrote: > > >> Is there a "run command on every transferred file" plugin so when a user > >> start a download it runs a command (the antivirus client) on the file > and > >> then on the result decides if it pass or fails ? > > > > Maybe https://www.ironbee.com can do this? > > Indeed, ironbee meets that description pretty-much head-on :) > > You would still have some work to do to attach your virus scan to ironbee. > > >> If there is not, I think on a buffered null transform to write the > buffer > >> on a tmp directory, then exec and depending on that produce or cancel > and > >> then send a redirect. What do you think? > > I should certainly hope you could do it better and more efficiently with > ironbee. > At least, assuming there's an API for your proposed virus scanner! > > -- > Nick Kew