mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
log.dat: Fix an error with 'unbound' logging too much data.
- Make regex "non-greedy" - grab data up to first occurance of "]" and not last occurance of "]" Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
This commit is contained in:
@@ -75,7 +75,7 @@ my %sections = (
|
||||
'suricata' => '(suricata: )',
|
||||
'squid' => '(squid\[.*\]: |squid: )',
|
||||
'ssh' => '(sshd(?:\(.*\))?\[.*\]: )',
|
||||
'unbound' => '(unbound: \[.*:.*\])(.*:.*$)',
|
||||
'unbound' => '(unbound: \[.*?\])(.*:.*$)',
|
||||
'urlfilter bl' => '(installpackage\[urlfilter\]: )',
|
||||
'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:)'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user