From 1513041d90188ac2bc5bb4029543e8a73eb8455a Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Sat, 14 Feb 2026 17:31:06 +0100 Subject: [PATCH] fix(vortex-firewall): Detect BIND RPZ in addition to dnsmasq RPCD handler now checks for both: - /etc/dnsmasq.d/vortex-firewall.conf (dnsmasq mode) - /etc/bind/zones/rpz.vortex.zone (BIND RPZ mode) This fixes the "0 blocked domains" display when using BIND DNS server. Co-Authored-By: Claude Opus 4.5 --- .../root/usr/libexec/rpcd/luci.vortex-firewall | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/secubox/secubox-vortex-firewall/root/usr/libexec/rpcd/luci.vortex-firewall b/package/secubox/secubox-vortex-firewall/root/usr/libexec/rpcd/luci.vortex-firewall index 75effce5..adc19fd1 100755 --- a/package/secubox/secubox-vortex-firewall/root/usr/libexec/rpcd/luci.vortex-firewall +++ b/package/secubox/secubox-vortex-firewall/root/usr/libexec/rpcd/luci.vortex-firewall @@ -12,9 +12,10 @@ SINKHOLE_IP="192.168.255.253" do_status() { json_init - # Service status + # Service status - check both dnsmasq and BIND configurations local active=0 [ -f "/etc/dnsmasq.d/vortex-firewall.conf" ] && active=1 + [ -f "/etc/bind/zones/rpz.vortex.zone" ] && active=1 json_add_boolean "active" "$active" json_add_string "sinkhole_ip" "$SINKHOLE_IP"