From: Ross Burton Date: Tue, 26 Aug 2014 14:44:42 +0000 (+0100) Subject: oe-git-proxy: use SOCKS4a instead of SOCKS4 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=984455a95b4302d527ff54e019d8ed00611f3664;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oe-git-proxy: use SOCKS4a instead of SOCKS4 In some situations where a proxy is required the client can't even do DNS lookups, so instead of using SOCKS4 use SOCKS4a which moves the name resolution from the client to the proxy. Signed-off-by: Ross Burton --- diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 98191faadd3..0ce7ed090e4 100755 --- a/scripts/oe-git-proxy +++ b/scripts/oe-git-proxy @@ -121,7 +121,7 @@ if [ "$PROTO" = "socks" ]; then if [ -z "$PORT" ]; then PORT="1080" fi - METHOD="SOCKS4:$PROXY:$1:$2,socksport=$PORT" + METHOD="SOCKS4A:$PROXY:$1:$2,socksport=$PORT" else # Assume PROXY (http, https, etc) if [ -z "$PORT" ]; then