From patchwork Sun May 24 13:28:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 9856 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4gNfwk3ThTz3wh8 for ; Sun, 24 May 2026 13:28:38 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4gNfwk0wn0z76X for ; Sun, 24 May 2026 13:28:38 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4gNfwk07ccz2ynX for ; Sun, 24 May 2026 13:28:38 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4gNfwg3h3Kz2xHy for ; Sun, 24 May 2026 13:28:35 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4gNfwY2qmjzd8; Sun, 24 May 2026 13:28:29 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1779629309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2Ay6OunWKdd0jsRDK5FZiE8UO6W2vB8d8uMfKXPGH3U=; b=U9CYL7NsuzvmjMSnmy4YfmKBvWtwEDJYs7wXWdgTPwaZztaadtZkM7T2CeDHH1mTpvf4PZ 1tDKdKWITD3dfzAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1779629309; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2Ay6OunWKdd0jsRDK5FZiE8UO6W2vB8d8uMfKXPGH3U=; b=JZkWGX2L16/EESx7GtYwZZcFlEwGbk7Ti6gfo6l9mLmsJALcW3f708AoyAeHzoAB8xwTdO jU5DsLSvVK7CGKknHZLUnNEYXMlyB789NcNGlCYYhmSh+SJkHBX5TrgWXf72hqYptbhimW W0VaRo7V8lGtvSvyP5TlKlRnVqignUH9hOajNNK6vdLTW5OD9Xvox+n2dx8wCO9r9rgm2t LU47HdSEsp6mLqCAqSd2B84SDMF15T7O/KaFk2lokt+ezjpdtfO1pr3EiIpLaKVlAV0a76 35DccZCw77iK0q9ceW64rNcmpasUSTA+rgsNHXm2EVGFz9DCg51ErzdLPT4c/A== From: Stefan Schantl To: development@lists.ipfire.org Cc: Stefan Schantl Subject: [PATCH] logs.cgi/log.dat: Replace DNS logging in favour of knot-resolver Date: Sun, 24 May 2026 15:28:27 +0200 Message-ID: <20260524132827.5629-1-stefan.schantl@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Fixes #13981 Signed-off-by: Stefan Schantl --- html/cgi-bin/logs.cgi/log.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat index 4370b1bf3..6c74dbcfd 100644 --- a/html/cgi-bin/logs.cgi/log.dat +++ b/html/cgi-bin/logs.cgi/log.dat @@ -65,6 +65,7 @@ my %sections = ( 'ipfire' => '(ipfire: )', 'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )', 'kernel' => '(kernel: (?!DROP_))', + 'knot-resolver' => '(knot_resolver.*: |supervisord: |kresd\[.*\]: )', 'monit' => '(monit\[.*?\]: )', 'ntp' => '(ntpd(?:ate)?\[.*\]: )', 'nut' => '(upsmon\[.*?\]: )', @@ -76,7 +77,6 @@ my %sections = ( 'suricata' => '(suricata: )', 'squid' => '(squid\[.*\]: |squid: )', 'ssh' => '(sshd(?:\(.*\))?\[.*\]: |sshd-session(?:\(.*\))?\[.*\]:)', - 'unbound' => '(unbound: \[.*?\])(.*:.*$)', 'urlfilter bl' => '(installpackage\[urlfilter\]: )', 'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:)', 'zabbix_agentd' => '(zabbix_agentd\[.*?\]: )' @@ -100,6 +100,7 @@ my %trsections = ( 'ipfire' => 'IPFire', 'ipsec' => 'IPSec', 'kernel' => "$Lang::tr{'kernel'}", + 'knot-resolver' => 'DNS: Knot-Resolver', 'monit' => 'Monit', 'ntp' => 'NTP', 'nut' => 'NUT', @@ -111,7 +112,6 @@ my %trsections = ( 'suricata' => "$Lang::tr{'intrusion detection'}", 'squid' => "$Lang::tr{'web proxy'}", 'ssh' => 'SSH', - 'unbound' => 'DNS: Unbound', 'urlfilter bl' => 'URLFilter Blacklist', 'wireless' => 'Wireless', 'zabbix_agentd' => 'Zabbix Agent'