From patchwork Sun May 19 23:54:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ummeegge X-Patchwork-Id: 2258 Return-Path: Received: from mail01.ipfire.org (mail01.i.ipfire.org [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id 6A6DE85218B for ; Sun, 19 May 2019 14:54:43 +0100 (BST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 456NnG3Kd5z519P5; Sun, 19 May 2019 14:54:42 +0100 (BST) Received: from ipfire-server.local (i59F72BDC.versanet.de [89.247.43.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 456NnC49yzz51Yd8; Sun, 19 May 2019 14:54:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904rsa; t=1558274079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=flqMGIyeSyTnGQNqDMNpMEk0IcpSulmZWmbdwrN7wrw=; b=c9xpCT3/nACZtPyv3/vNBRPiGstGuJNmgI0mv/cQntZu/KY2Pk4CP+b+7xdwe8pqnCm1z7 M4lPgnAcvjuNAqRg0lq+Z277RQxo4KWmEX+F+PMJZ8hjMZ7KO63FyuRlkKi0oKF5C8QuVC k5dsfnknh4obweZA0DQy4+7di5jlKR4t98l6Rxo+0iSB244j9jJ24chp64UbN/o2v1IQHL asA7u1N8m3Ebs3oDtH83C6bjKUbPQZ594AYT2n1BfeZmOLiK1n4EZGeA9oRI62+iH8BoTI 2Ypr33VGrXoRvKXN2KCY4mNigImLljrotpgcULYPiQ++6aIWnSylOj3EjKlfLw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904ed25519; t=1558274079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=flqMGIyeSyTnGQNqDMNpMEk0IcpSulmZWmbdwrN7wrw=; b=Y6F2UAHxmUxIY+RxHzva/Cf+8kSq6Y615QiTNGepPh6OdpBAMXLq9eT92txcYiZmJdbXMr 9chCFV4bBbV/LbAw== From: Erik Kapfer To: development@lists.ipfire.org Subject: [PATCH] suricata: Fixed logs.dat regex for suricata Date: Sun, 19 May 2019 15:54:32 +0200 Message-Id: <20190519135432.10771-1-ummeegge@ipfire.org> X-Mailer: git-send-email 2.12.2 Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=ummeegge smtp.mailfrom=ummeegge@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Fixes: #12084 Since the Suricata regex did not match the messages output, Suricata was not displayed in the "System Logs" section in the WUI. Signed-off-by: Erik Kapfer --- html/cgi-bin/logs.cgi/log.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat index 136fed77c..061525382 100644 --- a/html/cgi-bin/logs.cgi/log.dat +++ b/html/cgi-bin/logs.cgi/log.dat @@ -67,7 +67,7 @@ my %sections = ( 'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )', 'pakfire' => '(pakfire:)', 'red' => '(red:|pppd\[.*\]: |chat\[.*\]|pppoe\[.*\]|pptp\[.*\]|pppoa\[.*\]|pppoa3\[.*\]|pppoeci\[.*\]|ipppd|ipppd\[.*\]|kernel: ippp\d|kernel: isdn.*|ibod\[.*\]|dhcpcd\[.*\]|modem_run\[.*\])', - 'suricata' => '(suricata\[.*\]: )', + 'suricata' => '(suricata: )', 'squid' => '(squid\[.*\]: |squid: )', 'ssh' => '(sshd(?:\(.*\))?\[.*\]: )', 'unbound' => '(unbound: \[.*:.*\])(.*:.*$)',