From 368825ff4529e78ec5be3f79aacf5a5bdd18ef6a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 15 Mar 2016 11:19:59 -0400 Subject: Sandbox: Don't preseed getaddrinfo(gethostname()) in client mode. If we're a server with no address configured, resolve_my_hostname will need this. But not otherwise. And the preseeding itself can consume a few seconds if like tails we have no resolvers. Fixes bug 18548. --- changes/bug18548 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 changes/bug18548 (limited to 'changes') diff --git a/changes/bug18548 b/changes/bug18548 new file mode 100644 index 0000000000..262d1d3615 --- /dev/null +++ b/changes/bug18548 @@ -0,0 +1,12 @@ + o Minor bugfixes (linux seccomp2 sandbox): + - Avoid a 10-second delay when starting as a client with Sandbox 1 + enabled and no DNS resolvers configured. This should help TAILS + start up faster. Fixes bug 18548; bugfix on 0.2.5.1-alpha. + + + o Minor features (linux seccomp2 sandbox): + - Detect and reject attempts to change our Address with Sandbox 1 + enabled. Changing Address with Sandbox turned on would never + actually work, but previously it would fail in strange and + confusing ways. Found while fixing 18548. + -- cgit v1.2.3-54-g00ecf