Anonymous | Login | 2024-12-22 00:27 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0019401 | ClearOS | app-file-scan - Antimalware File Scan | public | 2018-03-21 05:24 | 2019-11-23 05:02 | ||||
Reporter | NickH | ||||||||
Assigned To | NickH | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | closed | Resolution | suspended | ||||||
Platform | OS | OS Version | |||||||
Product Version | 7.4.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0019401: Add option to exclude file types from daily scan | ||||||||
Description | Currently the file scanner app scans all files and folders within the selected locations. Many file types are considered harmless such as jpg's and could be excluded from daily scans. As an example my IP security camera produces some 3800 jpg's yesterday and I keep a few days of history. A full scan including these takes over 2h. It would be trivial to read in parameters exclude= and exclude-dir= from /etc/clearos/file_scan.conf by adding these lines to /use/sbin/file_scan: elseif ($param == 'exclude') $clam_scan_options .= " --$param=$value"; elseif ($param == 'exclude-dir') $clam_scan_options .= " --$param=$value"; after the lines: elseif ($param == 'max-scansize') $clam_scan_options .= " --$param=$value"; This can be documented in the help text as the max-scansize and max-filesize are at the moment. Longer term this could be the precursor to adding the parameters to the Webconfig. Note that clamscan allows these parameters to be repeated multiple times, but we don't necessarily need to to start with as a regex such as --exclude="\.(jpg|jpeg|png|gif|mkv)$" can cover multiple file types. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0012401) NickH (developer) 2019-11-23 05:01 |
Migrated to https://gitlab.com/clearos/clearfoundation/app-file-scan/issues/1 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2018-03-21 05:24 | NickH | New Issue | |
2018-03-21 08:01 | user2 | Status | new => confirmed |
2019-11-23 05:02 | NickH | Note Added: 0012401 | |
2019-11-23 05:02 | NickH | Status | confirmed => closed |
2019-11-23 05:02 | NickH | Assigned To | => NickH |
2019-11-23 05:02 | NickH | Resolution | open => suspended |