Re: [Exim] ANNOUNCE: exiscan-4.12-22

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: a.piesk
Fecha:  
A: Tony Finch
Cc: exim-users
Asunto: Re: [Exim] ANNOUNCE: exiscan-4.12-22
> a.piesk@??? wrote:
> >
> >a scanner could die without returning any output. scanner's malfunction
> or
> >segfault or whatever.
> >how should that be handled? the av_cmdline stuff must be as generic as
> >possible. so i think, treating no output as error is the safest way.
>
> No output is a traditional Unix way of indicating success. What's
> wrong with using the exit status?


well, using the exitcodes would be a fine solution if every scanner returns
the proper codes.
kavscan as an example returns always 0 if i remember right.

so the problem is, how can one be sure that 'no output' indicates 'no
virus'? the solution must be generic, not specific to one or two scanners.
introducing an option "exiscan_av_cmdline_treat_no_output_as_success' with
default 'false' is a possible solution.

opinions?

-ap

--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!