diff options
author | Ross Burton <ross.burton@intel.com> | 2014-08-26 15:44:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-10 16:44:31 +0100 |
commit | 1d00f3e0d9c7450dcf84688c3ab260d5b1fb5389 (patch) | |
tree | c64983dc58681483cd2a2b65b737826b39a33e40 | |
parent | 0843260f2f71c916509abfcb0aa89afb2e70a84a (diff) | |
download | poky-1d00f3e0d9c7450dcf84688c3ab260d5b1fb5389.tar.gz |
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.
(From OE-Core rev: 984455a95b4302d527ff54e019d8ed00611f3664)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/oe-git-proxy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 98191faadd..0ce7ed090e 100755 --- a/scripts/oe-git-proxy +++ b/scripts/oe-git-proxy | |||
@@ -121,7 +121,7 @@ if [ "$PROTO" = "socks" ]; then | |||
121 | if [ -z "$PORT" ]; then | 121 | if [ -z "$PORT" ]; then |
122 | PORT="1080" | 122 | PORT="1080" |
123 | fi | 123 | fi |
124 | METHOD="SOCKS4:$PROXY:$1:$2,socksport=$PORT" | 124 | METHOD="SOCKS4A:$PROXY:$1:$2,socksport=$PORT" |
125 | else | 125 | else |
126 | # Assume PROXY (http, https, etc) | 126 | # Assume PROXY (http, https, etc) |
127 | if [ -z "$PORT" ]; then | 127 | if [ -z "$PORT" ]; then |