logs.cgi/log.dat: Replace DNS logging in favour of knot-resolver
Commit Message
Fixes #13981
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
html/cgi-bin/logs.cgi/log.dat | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -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'