Commit Graph

13 Commits

Author SHA1 Message Date
Paul Donald 0becc62f82 clamav: freshclam: Add documented options
Enable syslogging

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-27 15:59:04 -07:00
Paul Donald c7d23b60cb clamav: freshclam: Remove UpdateLogFile option
( to instead use syslog options )

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-27 15:59:04 -07:00
Paul Donald 22a05a91b2 clamav: milter: Add Debug option
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-27 15:59:04 -07:00
Paul Donald 921279261c clamav: Add syslogging options
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-27 15:59:04 -07:00
Paul Donald 1631ad8e35 clamav: Align with milter options and remove LogFile* options
( to instead use syslog options )

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-27 15:59:04 -07:00
Paul Donald fc26c6b4f8 clamav: milter: Remove deprecated AllowSupplementaryGroups option
clamav-milter 1.3.0 and onward log:

WARNING: Ignoring deprecated option AllowSupplementaryGroups at /tmp/clamav/clamav-milter.conf:5

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-27 15:59:04 -07:00
Paul Donald 85e44b4804 clamav: Fix UCI error
Hyphens in named sections are a no-no

uci: Parse error (invalid character in name field) at line 1, byte 37

Changed '-' to '_' to fix error to allow UCI parsing.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-27 15:59:04 -07:00
W. Michael Petullo 54016ddaf4 clamav: allow configuration to use TCP socket
Something having to do with passing a file descriptor over spamd's
Unix socket causes the ClamAV milter to fail. The milter says "ERROR:
Unknown reply from clamd," and running strace on spamd reveals "No file
descriptor received. ERROR."

Some work by others can be found on the Internet that suggests using
a TCP socket for the communication between the milter and spamd fixes
this. Lucian Cristian confirmed this on OpenWrt.

I am not sure why the Unix socket does not work. I suspect it is something
related to musl, but I have not yet found evidence of this.

This merge request adds the option to configure spamd to use a TCP
socket, and it uses this as the default. The merge request also adds an
init script for clamav-milter.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-01-09 18:29:46 -06:00
Rosen Penev 2707a95d31
clamav: Shellcheck fixes
Fix SC2129

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-23 18:55:22 +01:00
Josef Schlehofer c7ad27ebbd
clamav: Update to version 0.101.4
Change deprecated options to a new one:
DetectBrokenExecutables to AlertBrokenExecutables
ArchiveBlockEncrypted to AlertEncrypted

Fixes: CVE-2019-12900 and CVE-2019-12625

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-23 18:55:22 +01:00
Jeffery To 9a7ffc7703 clamav: Update init scripts
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.

This also removes some unnecessary curly brackets.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-01 16:39:34 +08:00
Lucian Cristian a252914544 clamav: update to 0.99.2
added option DatabaseDirectory
update depends on musl-fts libraries

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-03-06 14:46:24 +02:00
Marko Ratkaj f9507c02e0 clamav: add package
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-05-20 17:28:30 +02:00