fasv return codes

Scholar

fasv return codes

Does fasv return exactly one code or can it return many?  If many, what delimiter is used?  I want to write a script that calls fasv and parses its return.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
F-Secure Product Expert

Re: fasv return codes

It seems that you are using our Linux Security product which allows you to run "fsav" command for manual scan.

 

Detail information about the return code of that command can be checked by running "man fsav".

Basically, it has the following return codes.

 

       0     Normal exit; no viruses or suspicious files found.
       1      Fatal error; unrecoverable error.  (Usually a missing or corrupted file.)
       3      A boot virus or file virus found.
       4      Riskware (potential spyware) found.
       6      At least one virus was removed and no infected files left.
       7      Out of memory.
       8      Suspicious files found; these are not necessarily infected by a virus.
       9      Scan error, at least one file scan failed.
       64 + return code above
                Program was prematurely terminated by SIGIN after something abnormal already had been detected. 

                Usually this means that the user pressed CTRL-C (64 means we set the 7th bit to 1)
       128 + signal number
               Program was terminated by pressing CTRL-C, or by a sigterm or suspend event.

 

"fsav" will only return one code as a result after the command has been run.

It will report the return code in the following priority order.

 

130, 7, 1, 3, 4, 8, 6, 9, 0

4 REPLIES 4
Scholar

Re: fasv return codes

Sorry, I meant fsav exit codes

 

Community Manager

Re: fasv return codes

Hi BigBobG,

 

May I know based on which OS are you referring here?

Has somebody helped you? Say thanks by giving likes. Has your issue been solved? Mark the post using "Accept As Solution" button to let others know.
Scholar

Re: fasv return codes

I Intend to deploy F-Secure for Linux File Server to an E2 instance on AWS.

 

Ideally i will be able to use the AWS preloaded linux server

F-Secure Product Expert

Re: fasv return codes

It seems that you are using our Linux Security product which allows you to run "fsav" command for manual scan.

 

Detail information about the return code of that command can be checked by running "man fsav".

Basically, it has the following return codes.

 

       0     Normal exit; no viruses or suspicious files found.
       1      Fatal error; unrecoverable error.  (Usually a missing or corrupted file.)
       3      A boot virus or file virus found.
       4      Riskware (potential spyware) found.
       6      At least one virus was removed and no infected files left.
       7      Out of memory.
       8      Suspicious files found; these are not necessarily infected by a virus.
       9      Scan error, at least one file scan failed.
       64 + return code above
                Program was prematurely terminated by SIGIN after something abnormal already had been detected. 

                Usually this means that the user pressed CTRL-C (64 means we set the 7th bit to 1)
       128 + signal number
               Program was terminated by pressing CTRL-C, or by a sigterm or suspend event.

 

"fsav" will only return one code as a result after the command has been run.

It will report the return code in the following priority order.

 

130, 7, 1, 3, 4, 8, 6, 9, 0