[oe-commits] Ross Burton : oe-git-proxy: use SOCKS4a instead of SOCKS4

git at git.openembedded.org git at git.openembedded.org
Fri Oct 10 15:44:56 UTC 2014


Module: openembedded-core.git
Branch: dizzy
Commit: 984455a95b4302d527ff54e019d8ed00611f3664
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=984455a95b4302d527ff54e019d8ed00611f3664

Author: Ross Burton <ross.burton at intel.com>
Date:   Tue Aug 26 15:44:42 2014 +0100

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 <ross.burton at intel.com>

---

 scripts/oe-git-proxy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy
index 98191fa..0ce7ed0 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



More information about the Openembedded-commits mailing list