Commits
Steven Thomas Smith authored and Perry E. Metzger committed eedf91a939d
1 - | --- ./etc/clamd.conf.macports |
2 - | +++ ./etc/clamd.conf.macports 2019-06-12 15:04:06.000000000 -0400 |
1 + | --- etc/clamd.conf.macports |
2 + | +++ etc/clamd.conf.macports 2019-11-23 14:00:02.000000000 -0500 |
3 3 | |
4 4 | |
5 5 | |
6 6 | # Comment or remove the line below. |
7 7 | -Example |
8 8 | +#Example |
9 9 | |
10 10 | # Uncomment this option to enable logging. |
11 11 | -# LogFile must be writable for the user running daemon. |
12 12 | +LogFile @PREFIX@/var/log/clamav/clamd.log |
52 52 | # Default: disabled (the primary group of the user running clamd) |
53 53 | |
54 54 | |
55 55 | # Maximum number of threads running at the same time. |
56 56 | # Default: 10 |
57 57 | -#MaxThreads 20 |
58 58 | +MaxThreads 6 |
59 59 | |
60 60 | # Waiting for data from a client socket will timeout after this time (seconds). |
61 61 | # Default: 120 |
62 - | |
63 - | #SendBufTimeout 200 |
64 - | |
65 - | # Maximum number of queued items (including those being processed by |
66 - | -# MaxThreads threads) |
67 - | +MaxThreads 6 |
68 - | # It is recommended to have this value at least twice MaxThreads if possible. |
69 - | # WARNING: you shouldn't increase this too much to avoid running out of file |
70 - | # descriptors, |
71 - | |
62 + | |
72 63 | #ExcludePath ^/proc/ |
73 64 | #ExcludePath ^/sys/ |
74 65 | |
75 66 | +# BRE regex References: |
76 67 | +# https://www.clamav.net/documents/phishsigs#Introduction-to-regular |
77 68 | +# https://forum.netgate.com/topic/102819/alternate-definitions-for-clamav/10 |
78 69 | +# http://ftp.swin.edu.au/sanesecurity/foxhole_filename.cdb |
79 70 | + |
80 71 | +# Exclude these attached volumes that `CrossFilesystems` doesn't prevent |
81 72 | + |
164 155 | +# rspamd |
165 156 | +ExcludePath ^@PREFIX@/var/macports/distfiles/rspamd/ |
166 157 | + |
167 158 | # Maximum depth directories are scanned at. |
168 159 | # Default: 15 |
169 160 | -#MaxDirectoryRecursion 20 |
170 161 | +MaxDirectoryRecursion 30 |
171 162 | |
172 163 | # Follow directory symlinks. |
173 164 | # Default: no |
174 - | |
165 + | |
175 166 | |
176 167 | # Don't fork into background. |
177 168 | # Default: no |
178 169 | -#Foreground yes |
179 170 | +Foreground yes |
180 171 | |
181 172 | # Enable debug messages in libclamav. |
182 173 | # Default: no |
183 - | |
174 + | |
184 175 | |
185 176 | # Detect Possibly Unwanted Applications. |
186 177 | # Default: no |
187 178 | -#DetectPUA yes |
188 179 | +DetectPUA yes |
189 180 | |
190 181 | # Exclude a specific PUA category. This directive can be used multiple times. |
191 - | # See https://github.com/vrtadmin/clamav-faq/blob/master/faq/faq-pua.md for |
192 - | |
182 + | # See https://github.com/vrtadmin/clamav-faq/blob/master/faq/faq-pua.md for |
183 + | |
193 184 | #IncludePUA Scanner |
194 185 | #IncludePUA RAT |
195 186 | |
196 187 | +IncludePUA RAT |
197 188 | +IncludePUA Spy |
198 189 | +IncludePUA Server |
199 190 | +IncludePUA Script |
200 191 | + |
201 192 | # This option causes memory or nested map scans to dump the content to disk. |
202 193 | # If you turn on this option, more data is written to disk and is available |
203 194 | # when the LeaveTemporaryFiles option is enabled. |