Skip to content

Commit

Permalink
instead of --socks5-hostname, use more modern --proxy + user:password…
Browse files Browse the repository at this point in the history
…@ip:port syntax for curl for better stream isolation - https://phabricator.whonix.org/T126
  • Loading branch information
Patrick Schleizer committed Feb 4, 2015
1 parent 994bbc5 commit d040c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/bin/update-torbrowser
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ tb_preparation() {
elif [ -d /usr/share/whonix ]; then
[ -n "$GATEWAY_IP" ] || GATEWAY_IP="10.152.152.10"
[ -n "$SOCKS_PORT_TBB_DOWNLOAD" ] || SOCKS_PORT_TBB_DOWNLOAD="9115"
[ -n "$CURL_PROXY" ] || CURL_PROXY="--socks5-hostname socks5h://$GATEWAY_IP:$SOCKS_PORT_TBB_DOWNLOAD/"
[ -n "$CURL_PROXY" ] || CURL_PROXY="--proxy socks5h://user:password@$GATEWAY_IP:$SOCKS_PORT_TBB_DOWNLOAD"
else
[ -n "$CURL_PROXY" ] || CURL_PROXY=""
fi
Expand Down

0 comments on commit d040c12

Please sign in to comment.