From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Bitsch To: development@lists.ipfire.org Subject: Re: [PATCH 2/2] graphs.pl: Change directory name to replace HOSTILE with HOSTILE_DROP - fixes bug#12838 Date: Tue, 05 Apr 2022 13:18:13 +0200 Message-ID: <9537d2c8-4f65-22aa-02bc-8f22eaf93709@ipfire.org> In-Reply-To: <20220404203331.3612132-2-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2479497010053510757==" List-Id: --===============2479497010053510757== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bernhard Bitsch Am 04.04.2022 um 22:33 schrieb Adolf Belka: > From: Bernhard Bitsch >=20 > - The directory name for the hostile data was using HOSTILE while the chain= was called > HOSTILE_DROP. This resulted in the files in the directory not being upd= ated. >=20 > Fixes: bug#12838 > Tested-by: Adolf Belka > Signed-off-by: Adolf Belka > --- > config/cfgroot/graphs.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl > index b964f1e80..3368e5aad 100644 > --- a/config/cfgroot/graphs.pl > +++ b/config/cfgroot/graphs.pl > @@ -693,7 +693,7 @@ sub updatefwhitsgraph { > "DEF:newnotsyn=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptable= s-filter-NEWNOTSYN/ipt_bytes-DROP_NEWNOTSYN.rrd:value:AVERAGE", > "DEF:portscan=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables= -filter-PSCAN/ipt_bytes-DROP_PScan.rrd:value:AVERAGE", > "DEF:spoofedmartian=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/ip= tables-filter-SPOOFED_MARTIAN/ipt_bytes-DROP_SPOOFED_MARTIAN.rrd:value:AVERAG= E", > - "DEF:hostile=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-f= ilter-HOSTILE/ipt_bytes-DROP_HOSTILE.rrd:value:AVERAGE", > + "DEF:hostile=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/iptables-f= ilter-HOSTILE_DROP/ipt_bytes-DROP_HOSTILE.rrd:value:AVERAGE", > "COMMENT:".sprintf("%-26s",$Lang::tr{'caption'}), > "COMMENT:".sprintf("%15s",$Lang::tr{'maximal'}), > "COMMENT:".sprintf("%15s",$Lang::tr{'average'}), --===============2479497010053510757==--