-
Notifications
You must be signed in to change notification settings - Fork 712
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ClamD: Add new zOPTSCAN command w. scan options like ALLMATCH
Added a new ClamD command which can pass options along with the actual scan command. Current options are just `ALLMATCH`. Current scan commands are: - `CONTSCAN` - `FILDES` - `INSTREAM` - `MULTISCAN` For example, you can send: zOPTSCAN CONTSCAN /some/file/path\0 or: zOPTSCAN ALLMATCH INSTREAM \0 <4-byte length><length-bytes data chunk> <4-byte length><length-bytes data chunk> <4-byte zero> Note that a space is presently required between the final option before the path or before the \0 for INSTREAM and FDPASS where the subsequent bytes appear are sent in the next message.
- Loading branch information
1 parent
ebe3c50
commit 00324e3
Showing
22 changed files
with
475 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.