Commit graph

27 commits

Author SHA1 Message Date
Micah Snyder
72fd33c8b2 clang-format'd using new .clang-format rules. 2019-10-02 16:08:16 -04:00
Micah Snyder (micasnyd)
3d9620db54 Disabled OnAccessExtraScanning and provided a warning when starting clamd if it's enabled as well as a note in the sample clamd.conf. 2018-12-02 23:07:01 -05:00
Micah Snyder
d39cb6581f Updating libclamunrar from legacy C implementation to modern unrar 5.6.5. API changes and supporting changes included to pass the filepath of the scanned file into libclamav through the cli_ctx structure, required by the unrar library to open archives. The filename argument may be optional for the scandesc scanning variant, but libclamav will make a best effort to identify the filename from the file descriptor if it was not provided. In addition, included the ability to prefix temp file and directory names with file basenames. 2018-12-02 23:06:59 -05:00
Micah Snyder
d7979d4ff7 Restructured scan options flags from a single bitflag field to a structure containing multiple bitflag fields. This also required adding a new function to the bytecode API to get scan options a la carte, and modifying the existing function to hand back scan options in the old/deprecated uint32_t bitflag format. Re-generated bytecode iface header files.
Updated libclamav documentation detailing new scan options structure.
Renamed references to 'algorithmic' detection to 'heuristic' detection. Renaming references to 'properties' to 'collect metadata'.
Renamed references to 'scan all' to 'scan all match'.
Renamed a couple of 'Hueristic.*' signature names as 'Heuristics.*' signatures (plural) to match majority of other heuristics.
2018-12-02 23:06:59 -05:00
Micah Snyder
e551468a03 Initializing virname to NULL in cases where it was uninitialized. 2018-12-02 23:06:58 -05:00
Mickey Sola
674a4aa545 0.100.x - bb11985 - onas whitespace normalization/fixup 2018-03-05 13:25:31 -05:00
Mickey Sola
b71960cd37 0.100.x - bb11985 - overhauling onas extra scanning feature to work with new UID exclude fixes 2018-03-05 13:25:23 -05:00
Mickey Sola
51b69a091a 0.100.x - bb11985 - adding initial refactor for thread-safe scan function for onas 2018-03-05 13:25:01 -05:00
Mickey Sola
6412bda704 onas - changing sizelimit to unsigned int to allow for wider scan ranges 2017-06-26 15:05:28 -04:00
Mickey Sola
d98d6fdbd1 bb11432 - resolving onaccess warnings 2015-11-18 15:01:09 -05:00
Steven Morgan
bd6ce1e459 fix crash in clamd scan callback function. 2015-10-26 12:49:33 -04:00
Mickey Sola
67e36ea745 onas: adding throttling to notifications when handling fanotify errors on large files. 2015-10-15 15:16:40 -04:00
Mickey Sola
2b122eb2cd onas: improving handling of fanotify read errors for large files. 2015-10-14 09:37:59 -04:00
Mickey Sola
4e5ebc3eb4 cov: adding null check check for tharg in onas 2015-09-29 16:51:45 -04:00
Mickey Sola
400b477727 onas: changing onaccess scanning to scan and notify for files after close events 2015-09-29 14:43:01 -04:00
Mickey Sola
e0056fe676 onas: adding checks when killing ddd thread. 2015-09-23 13:26:48 -04:00
Mickey Sola
cf703fa100 onas: changing clamd NotifyOnly option to Prevention and disabling Prevention option by default. 2015-09-17 16:49:42 -04:00
Mickey Sola
46a35abe56 mass update of copyright headers 2015-09-17 13:41:26 -04:00
Mickey Sola
f408e5b2ce fanotify: consolidating prevention options into a single NotifyOnly option. 2015-09-14 12:13:05 -04:00
Mickey Sola
2217edf5bd fanotify: adding option to watch and notify on mountpoints. 2015-09-14 11:46:35 -04:00
Mickey Sola
bbb244d97d fanotify: adding clamd configuration toggle options to prevent read and access attempts 2015-09-11 14:17:58 -04:00
Mickey Sola
4a1bd5c89d fanotify: adding clamd option to disable ddd 2015-09-10 17:26:54 -04:00
Mickey Sola
405ec90b56 fanotify: adding sleep to save on cpu cycles during reload block. 2015-09-09 11:52:48 -04:00
Mickey Sola
0c5992d35b fanotify: blocking fanotify during database reload. 2015-09-09 11:19:11 -04:00
Mickey Sola
abbe4c4bc3 onas: improving handling of thread exit cleanup and db reload. 2015-09-08 16:15:52 -04:00
Mickey Sola
1704071a7e Improving memory handling on ddd thread exit. 2015-08-31 11:08:30 -04:00
Mickey Sola
5ae59b959d Overhauling clamd onaccess scanning to support dynamic directory determination. 2015-08-28 16:05:18 -04:00
Renamed from clamd/fan.c (Browse further)