[4/4] firewall.menu: Drop entry for P2P-Block.

Message ID 20220214190307.4086-4-stefan.schantl@ipfire.org
State Accepted
Commit 52c8eaac4b2c714964970cb1cd9088a6fc9a40a9
Headers
Series [1/4] firewall: Drop support for blocking P2P protocols. |

Commit Message

Stefan Schantl Feb. 14, 2022, 7:03 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/menu/50-firewall.menu | 6 ------
 1 file changed, 6 deletions(-)
  

Comments

Peter Müller Feb. 14, 2022, 9:12 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
>  config/menu/50-firewall.menu | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/config/menu/50-firewall.menu b/config/menu/50-firewall.menu
> index 6ae9687dc..aa67d9007 100644
> --- a/config/menu/50-firewall.menu
> +++ b/config/menu/50-firewall.menu
> @@ -21,12 +21,6 @@
>                                  'title' => "$Lang::tr{'intrusion detection system'}",
>  				'enabled' => 1,
>                                  };
> -	$subfirewall->{'50.p2p'} = {
> -				'caption' => $Lang::tr{'p2p block'},
> -				'uri' => '/cgi-bin/p2p-block.cgi',
> -				'title' => "P2P-Block",
> -				'enabled' => 1,
> -				};
>      $subfirewall->{'60.locationblock'} = {
>  				'caption' => $Lang::tr{'locationblock'},
>  				'uri' => '/cgi-bin/location-block.cgi',
  
Michael Tremer Feb. 15, 2022, 12:32 p.m. UTC | #2
Acked-by: Michael Tremer <michael.tremer@ipfire.org>

> On 14 Feb 2022, at 19:03, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> config/menu/50-firewall.menu | 6 ------
> 1 file changed, 6 deletions(-)
> 
> diff --git a/config/menu/50-firewall.menu b/config/menu/50-firewall.menu
> index 6ae9687dc..aa67d9007 100644
> --- a/config/menu/50-firewall.menu
> +++ b/config/menu/50-firewall.menu
> @@ -21,12 +21,6 @@
>                                 'title' => "$Lang::tr{'intrusion detection system'}",
> 				'enabled' => 1,
>                                 };
> -	$subfirewall->{'50.p2p'} = {
> -				'caption' => $Lang::tr{'p2p block'},
> -				'uri' => '/cgi-bin/p2p-block.cgi',
> -				'title' => "P2P-Block",
> -				'enabled' => 1,
> -				};
>     $subfirewall->{'60.locationblock'} = {
> 				'caption' => $Lang::tr{'locationblock'},
> 				'uri' => '/cgi-bin/location-block.cgi',
> -- 
> 2.30.2
>
  

Patch

diff --git a/config/menu/50-firewall.menu b/config/menu/50-firewall.menu
index 6ae9687dc..aa67d9007 100644
--- a/config/menu/50-firewall.menu
+++ b/config/menu/50-firewall.menu
@@ -21,12 +21,6 @@ 
                                 'title' => "$Lang::tr{'intrusion detection system'}",
 				'enabled' => 1,
                                 };
-	$subfirewall->{'50.p2p'} = {
-				'caption' => $Lang::tr{'p2p block'},
-				'uri' => '/cgi-bin/p2p-block.cgi',
-				'title' => "P2P-Block",
-				'enabled' => 1,
-				};
     $subfirewall->{'60.locationblock'} = {
 				'caption' => $Lang::tr{'locationblock'},
 				'uri' => '/cgi-bin/location-block.cgi',