From 625412d2bcd2221701fe810ba2745aec380fff74 Mon Sep 17 00:00:00 2001 From: Louis Bettens Date: Mon, 14 Feb 2022 20:55:25 +0100 Subject: [PATCH] nixos/firewall: remove dead code --- nixos/modules/services/networking/firewall.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix index 2aa3be16f6e9..7482e29a3fda 100644 --- a/nixos/modules/services/networking/firewall.nix +++ b/nixos/modules/services/networking/firewall.nix @@ -179,10 +179,6 @@ let ) cfg.allowedUDPPortRanges ) allInterfaces)} - # Accept IPv4 multicast. Not a big security risk since - # probably nobody is listening anyway. - #iptables -A nixos-fw -d 224.0.0.0/4 -j nixos-fw-accept - # Optionally respond to ICMPv4 pings. ${optionalString cfg.allowPing '' iptables -w -A nixos-fw -p icmp --icmp-type echo-request ${optionalString (cfg.pingLimit != null)