From patchwork Sun Mar 12 13:28:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 6693 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PZLFj6LDwz3x2l for ; Sun, 12 Mar 2023 13:28:09 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PZLFg3sKmzbV; Sun, 12 Mar 2023 13:28:07 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PZLFg2Bb7z2yjS; Sun, 12 Mar 2023 13:28:07 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PZLFf004qz2y9s for ; Sun, 12 Mar 2023 13:28:05 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PZLFd2sMyzbV for ; Sun, 12 Mar 2023 13:28:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1678627685; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=lV4U67q+3i6C+xEpBsVufLkxO3RL2K4H91CtQY6Y0pk=; b=mirYpXYe51tx7NikMpd7X4qfGo4SqfZLfW9TnLyL0HGAD3OwYAhDz8Ns7CrCTVm8llh2cz HPiXtv1kKRQk6l/9wcHiAlgh+tN3eGzwBsMgZqXKyCSwKwGmmnyJ5KCTZxySHe5CWytHTu aS5H+OPzgQQmCvV41evxLaoHDDI7Ide39AxK4cuxmECvPBnwDIXFPF3AYtn7oilvYZDpKM J3mN8lVlWBPbVSUtbzAGh6ZZtepYzr4xkG6S0Xvy4LFVa+k6cz/ZRc54uCAxwNyWa+u2P6 iAqb/dYOeKIae088x+117PK9ZUYmJICFy4mnyKcF3ZOQ2HTBYeNsUKvwDJR9wg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1678627685; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=lV4U67q+3i6C+xEpBsVufLkxO3RL2K4H91CtQY6Y0pk=; b=eQrv1bESMO0E/GRQ4OBFFQ9gFHQZXkt9tKbK1ONZwZaHMrHjiq3I2vpOhkaz0DsS4yZkqo c4Ln2eY3Isd1bSBw== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] rules.pl: Proposed patch - Fix for missing bracket Date: Sun, 12 Mar 2023 14:28:00 +0100 Message-Id: <20230312132800.1625540-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 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" Signed-off-by: Matthias Fischer Reviewed-by: Bernhard Bitsch --- config/firewall/rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 80985ca53..6c08feb86 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -761,7 +761,7 @@ sub ipblocklist () { } # Check if logging is enabled. - if($blocklistsettings{'LOGGING'}) && ($blocklistsettings{'LOGGING'} eq "on")) { + if(($blocklistsettings{'LOGGING'}) && ($blocklistsettings{'LOGGING'} eq "on")) { # Create logging rule. run("$IPTABLES -A ${blocklist}_DROP -j LOG -m limit --limit 10/second --log-prefix \"BLKLST_$blocklist \""); }