Clamav: fix DetectBrokenExecutables option (#4873)

This commit is contained in:
KS
2025-08-05 19:25:43 +02:00
committed by GitHub
parent f8b9581270
commit b9d21c1dd4
4 changed files with 7 additions and 4 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
PLUGIN_NAME= clamav
PLUGIN_VERSION= 1.8
PLUGIN_REVISION= 3
PLUGIN_VERSION= 1.8.1
PLUGIN_COMMENT= Antivirus engine for detecting malicious threats
PLUGIN_DEPENDS= clamav
PLUGIN_MAINTAINER= m.muenz@gmail.com
+4
View File
@@ -9,6 +9,10 @@ database updates.
Plugin Changelog
================
1.8.1
* Fixed detect broken executables option (contributed by @sopex)
1.8
* Use syslog for logging
@@ -73,7 +73,7 @@
<id>general.detectbroken</id>
<label>Detect broken executables</label>
<type>checkbox</type>
<help>With this option clamav will try to detect broken executables (both PE and ELF) and mark them as Broken.</help>
<help>With this option ClamAV will alert on broken executables (both PE and ELF) and mark them as Broken.</help>
</field>
<field>
<id>general.scanole2</id>
@@ -38,7 +38,7 @@ ScanPE yes
ScanELF yes
{% endif %}
{% if helpers.exists('OPNsense.clamav.general.detectbroken') and OPNsense.clamav.general.detectbroken == '1' %}
DetectBrokenExecutables yes
AlertBrokenExecutables yes
{% endif %}
{% if helpers.exists('OPNsense.clamav.general.scanole2') and OPNsense.clamav.general.scanole2 == '1' %}
ScanOLE2 yes