From b694fa0054a21427d2e9c5cfcb945671d764bd0c Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Sat, 9 Dec 2017 10:46:13 +0100 Subject: [PATCH] nixos/logstash: Listen on 127.0.0.1 instead of 0.0.0.0 --- nixos/doc/manual/release-notes/rl-1803.xml | 6 ++++++ nixos/modules/services/logging/logstash.nix | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-1803.xml b/nixos/doc/manual/release-notes/rl-1803.xml index b0e29182127..482afe8ef8d 100644 --- a/nixos/doc/manual/release-notes/rl-1803.xml +++ b/nixos/doc/manual/release-notes/rl-1803.xml @@ -131,6 +131,12 @@ following incompatible changes: must be set to true. + + + The option is now 127.0.0.1 by default. + Previously the default behaviour was to listen on all interfaces. + + diff --git a/nixos/modules/services/logging/logstash.nix b/nixos/modules/services/logging/logstash.nix index b4abd2cd7e5..28d89a7463a 100644 --- a/nixos/modules/services/logging/logstash.nix +++ b/nixos/modules/services/logging/logstash.nix @@ -103,7 +103,7 @@ in listenAddress = mkOption { type = types.str; - default = "0.0.0.0"; + default = "127.0.0.1"; description = "Address on which to start webserver."; };