From b0283a5aeee428c9f2567b81ae78c9da68f6f4af Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 11 May 2018 14:51:50 +0200 Subject: use 127.0.0.1 instead of localhost as default Tor proxy This shouldn't make a practical difference for most people, but for edge cases it avoids DNS lookups and additionally prevents us from perfoming unneeded SRV requests, too. --- doc/apt-transport-http.1.xml | 2 +- doc/apt-transport-https.1.xml | 2 +- doc/po/apt-doc.pot | 4 ++-- doc/po/de.po | 8 ++++---- doc/po/es.po | 4 ++-- doc/po/fr.po | 10 +++++----- doc/po/it.po | 4 ++-- doc/po/ja.po | 4 ++-- doc/po/nl.po | 4 ++-- doc/po/pl.po | 4 ++-- doc/po/pt.po | 4 ++-- doc/po/pt_BR.po | 4 ++-- 12 files changed, 27 insertions(+), 27 deletions(-) (limited to 'doc') diff --git a/doc/apt-transport-http.1.xml b/doc/apt-transport-http.1.xml index 7426a4502..afc8bea58 100644 --- a/doc/apt-transport-http.1.xml +++ b/doc/apt-transport-http.1.xml @@ -112,7 +112,7 @@ negotiation. Acquire::http { Proxy::example.org "DIRECT"; - Proxy "socks5h://apt:pass@localhost:9050"; + Proxy "socks5h://apt:pass@127.0.0.1:9050"; Proxy-Auto-Detect "/usr/local/bin/apt-http-proxy-auto-detect"; No-Cache "true"; Max-Age "3600"; diff --git a/doc/apt-transport-https.1.xml b/doc/apt-transport-https.1.xml index e925dd537..e77a5a706 100644 --- a/doc/apt-transport-https.1.xml +++ b/doc/apt-transport-https.1.xml @@ -100,7 +100,7 @@ In practice the use of the host-specific variants of both options is highly reco Acquire::https { Proxy::example.org "DIRECT"; - Proxy "socks5h://apt:pass@localhost:9050"; + Proxy "socks5h://apt:pass@127.0.0.1:9050"; Proxy-Auto-Detect "/usr/local/bin/apt-https-proxy-auto-detect"; No-Cache "true"; Max-Age "3600"; diff --git a/doc/po/apt-doc.pot b/doc/po/apt-doc.pot index 90cc9a94e..202f6aece 100644 --- a/doc/po/apt-doc.pot +++ b/doc/po/apt-doc.pot @@ -7217,7 +7217,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -7361,7 +7361,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" diff --git a/doc/po/de.po b/doc/po/de.po index 37ea17305..5ac6cd4e4 100644 --- a/doc/po/de.po +++ b/doc/po/de.po @@ -10310,7 +10310,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10325,7 +10325,7 @@ msgid "" msgstr "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10538,7 +10538,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10560,7 +10560,7 @@ msgid "" msgstr "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" diff --git a/doc/po/es.po b/doc/po/es.po index 3516e1dee..8f419acda 100644 --- a/doc/po/es.po +++ b/doc/po/es.po @@ -10062,7 +10062,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10207,7 +10207,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" diff --git a/doc/po/fr.po b/doc/po/fr.po index 8d9c7dd76..b29f046e8 100644 --- a/doc/po/fr.po +++ b/doc/po/fr.po @@ -10285,7 +10285,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10300,7 +10300,7 @@ msgid "" msgstr "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10509,7 +10509,7 @@ msgstr "" #| msgid "" #| "acquire::https {\n" #| "\tproxy::example.org \"direct\";\n" -#| "\tproxy \"socks5h://apt:pass@localhost:9050\";\n" +#| "\tproxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" #| "\tproxy-auto-detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" #| "\tno-cache \"true\";\n" #| "\tmax-age \"3600\";\n" @@ -10531,7 +10531,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10553,7 +10553,7 @@ msgid "" msgstr "" "acquire::https {\n" "\tproxy::example.org \"direct\";\n" -"\tproxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tproxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tproxy-auto-detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tno-cache \"true\";\n" "\tmax-age \"3600\";\n" diff --git a/doc/po/it.po b/doc/po/it.po index ff31bdffd..870550dc7 100644 --- a/doc/po/it.po +++ b/doc/po/it.po @@ -10219,7 +10219,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10364,7 +10364,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" diff --git a/doc/po/ja.po b/doc/po/ja.po index e5e45b9b0..8f7975c8e 100644 --- a/doc/po/ja.po +++ b/doc/po/ja.po @@ -9832,7 +9832,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -9977,7 +9977,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" diff --git a/doc/po/nl.po b/doc/po/nl.po index b7b838881..a195229dc 100644 --- a/doc/po/nl.po +++ b/doc/po/nl.po @@ -10455,7 +10455,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10600,7 +10600,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" diff --git a/doc/po/pl.po b/doc/po/pl.po index da06c6756..47b14b041 100644 --- a/doc/po/pl.po +++ b/doc/po/pl.po @@ -9218,7 +9218,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -9364,7 +9364,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" diff --git a/doc/po/pt.po b/doc/po/pt.po index 4056ec33a..b8b138117 100644 --- a/doc/po/pt.po +++ b/doc/po/pt.po @@ -9998,7 +9998,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -10143,7 +10143,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" diff --git a/doc/po/pt_BR.po b/doc/po/pt_BR.po index b42a81622..33ad7a358 100644 --- a/doc/po/pt_BR.po +++ b/doc/po/pt_BR.po @@ -7539,7 +7539,7 @@ msgstr "" msgid "" "Acquire::http {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" @@ -7684,7 +7684,7 @@ msgstr "" msgid "" "Acquire::https {\n" "\tProxy::example.org \"DIRECT\";\n" -"\tProxy \"socks5h://apt:pass@localhost:9050\";\n" +"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n" "\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n" "\tNo-Cache \"true\";\n" "\tMax-Age \"3600\";\n" -- cgit v1.2.3