Skip to content

cstrotm/rspamd-antivirus-savapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SAVAPI (Avira) Antivirus Scanner Module for RSpamd

Overview

This repository contains an updated Lua-Module for the RSpamd Spam-Filtering System. It is more robust and evaluates more return codes from the SAVAPI scanner.

Changes

making evaluation of SAVAPI return code more robust

Git fdd9ffd5fed2b2c22d300cd211c2e2020c6ef1bb

The old code used string comparison to decide on the return code of the SAVAPI antivirus scanner. However the return string from SAVAPI could also contain other text such as the filename of an infected file. If that filename contained a number that is also a valid returncode (example: Buy 200000 v*** pills on this website) and because the return code “200” (not infected) is evaluated first before other return codes, an infected mail could have been passed as not infected.

adding additional terminal error conditions

Git b66be7ebdde9e1cc9a96aee243e6e6116e8abb1d

The Savapi module can now handle additional terminal return codes

Return CodeDescription
220connection timeout
350unspecified error, additional details in the SAVAPI scanner log
404too many clients connected

adding additional non-terminal error conditions

Git 1d294b064f97abee587c9d02fc9d065e67848a88

The Savapi module can now handle additional non-terminal return codes

Return CodeDescription
421Microsoft OLE Document found
422Microsoft OLE Document with Macros found
423Microsoft OLE Document with Autostart-Macros found
430Altert URL (URL to a page with additional information)
450Plugin response
499,100Information from SAVAPI
???Unknow SAVAPI returncode

About

SAVAPI (Avira) Module for RSpamd

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages