summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-10-13 20:25:21 +0100
committerGitHub <noreply@github.com>2017-10-13 20:25:21 +0100
commitb90f50862f0cb01857240b74dba2774660257a97 (patch)
tree6e4a7b56537c071e740c7dec7695bd7a6da85ee4 /nixos
parent50a3db126d24dae357fd3c8d49c334a1b708ddfb (diff)
parent847beb558f858d7270a8e9e87db074bc0978aa9b (diff)
downloadnixlib-b90f50862f0cb01857240b74dba2774660257a97.tar
nixlib-b90f50862f0cb01857240b74dba2774660257a97.tar.gz
nixlib-b90f50862f0cb01857240b74dba2774660257a97.tar.bz2
nixlib-b90f50862f0cb01857240b74dba2774660257a97.tar.lz
nixlib-b90f50862f0cb01857240b74dba2774660257a97.tar.xz
nixlib-b90f50862f0cb01857240b74dba2774660257a97.tar.zst
nixlib-b90f50862f0cb01857240b74dba2774660257a97.zip
Merge pull request #30324 from florianjacob/firewall-clarify-logging
nixos/firewall: Rename misleading rejected to refused in logging
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/firewall.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix
index 68a814b23053..9bd88ca1707b 100644
--- a/nixos/modules/services/networking/firewall.nix
+++ b/nixos/modules/services/networking/firewall.nix
@@ -95,18 +95,18 @@ let
     ip46tables -N nixos-fw-log-refuse
 
     ${optionalString cfg.logRefusedConnections ''
-      ip46tables -A nixos-fw-log-refuse -p tcp --syn -j LOG --log-level info --log-prefix "rejected connection: "
+      ip46tables -A nixos-fw-log-refuse -p tcp --syn -j LOG --log-level info --log-prefix "refused connection: "
     ''}
     ${optionalString (cfg.logRefusedPackets && !cfg.logRefusedUnicastsOnly) ''
       ip46tables -A nixos-fw-log-refuse -m pkttype --pkt-type broadcast \
-        -j LOG --log-level info --log-prefix "rejected broadcast: "
+        -j LOG --log-level info --log-prefix "refused broadcast: "
       ip46tables -A nixos-fw-log-refuse -m pkttype --pkt-type multicast \
-        -j LOG --log-level info --log-prefix "rejected multicast: "
+        -j LOG --log-level info --log-prefix "refused multicast: "
     ''}
     ip46tables -A nixos-fw-log-refuse -m pkttype ! --pkt-type unicast -j nixos-fw-refuse
     ${optionalString cfg.logRefusedPackets ''
       ip46tables -A nixos-fw-log-refuse \
-        -j LOG --log-level info --log-prefix "rejected packet: "
+        -j LOG --log-level info --log-prefix "refused packet: "
     ''}
     ip46tables -A nixos-fw-log-refuse -j nixos-fw-refuse