log.dat: Added 'squid' and 'snort', fix identation for clamav
Message ID | 20160521123131.1235-1-matthias.fischer@ipfire.org |
---|---|
State | Superseded |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (hedwig.ipfire.org [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 025CC61ADF for <patchwork@ipfire.org>; Sat, 21 May 2016 14:31:39 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 15B9CD6F; Sat, 21 May 2016 14:31:39 +0200 (CEST) Received: from Devel.localdomain (p5DD836D7.dip0.t-ipconnect.de [93.216.54.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id E4BBFCCD for <development@lists.ipfire.org>; Sat, 21 May 2016 14:31:36 +0200 (CEST) From: Matthias Fischer <matthias.fischer@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] log.dat: Added 'squid' and 'snort', fix identation for clamav Date: Sat, 21 May 2016 14:31:31 +0200 Message-Id: <20160521123131.1235-1-matthias.fischer@ipfire.org> X-Mailer: git-send-email 2.8.3 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Matthias Fischer
May 21, 2016, 10:31 p.m. UTC
Clamav: Fix identation
Added entries in dropdown for 'Squid' and 'Snort'.
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
html/cgi-bin/logs.cgi/log.dat | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Comments
Hi, these should actually be two patches. One part is okay and I would merge that right away. For the second part I have a question :) On Sat, 2016-05-21 at 14:31 +0200, Matthias Fischer wrote: > Clamav: Fix identation > > Added entries in dropdown for 'Squid' and 'Snort'. > > Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> > --- > html/cgi-bin/logs.cgi/log.dat | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat > index e8635d7..de5076f 100644 > --- a/html/cgi-bin/logs.cgi/log.dat > +++ b/html/cgi-bin/logs.cgi/log.dat > @@ -65,7 +65,9 @@ my %sections = ( > 'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )', > 'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )', > 'pakfire' => '(pakfire:) ', > - 'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:) ' > + 'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:) ', > + 'squid' => '(squid\[.*\]: |squid: )', > + 'snort' => '(snort\[.*\]: )' > ); > > # Translations for the %sections array. > @@ -78,7 +80,7 @@ my %trsections = ( > 'dhcp' => "$Lang::tr{'dhcp server'}", > 'cron' => 'Cron', > 'collectd' => 'Collectd', > - 'clamav' => 'ClamAV', > + 'clamav' => 'ClamAV', > 'ntp' => 'NTP', > 'ssh' => 'SSH', > 'auth' => "$Lang::tr{'loginlogout'}", This looks fine. Should be its own patch. > @@ -86,7 +88,9 @@ my %trsections = ( > 'ipsec' => 'IPSec', > 'openvpn' => 'OpenVPN', > 'pakfire' => 'Pakfire', > - 'wireless' => 'Wireless' > + 'wireless' => 'Wireless', > + 'squid' => 'Squid', > + 'snort' => 'Snort' > ); > Can't we name these "Intrusion Detection System" and "Web Proxy"? This would make more sense to the lesser-experienced users. Are these also translated? -Michael
Hi, On 22.05.2016 23:52, Michael Tremer wrote: > these should actually be two patches. One part is okay and I would merge that > right away. For the second part I have a question > ... Work in progress. I borked "--in-reply-to" while composing, so I'll make it two. Best, Matthias