/libcore/luni/src/test/java/libcore/java/net/ |
OldProxyTest.java | 28 Proxy proxy = new Proxy(Proxy.Type.SOCKS, address); 32 new Proxy(Proxy.Type.SOCKS, null); 46 new Proxy(Proxy.Type.SOCKS, address1); 47 Proxy proxy4 = new Proxy(Proxy.Type.SOCKS, address1); 54 Proxy proxy5 = new Proxy(Proxy.Type.SOCKS, address1); 55 Proxy proxy6 = new Proxy(Proxy.Type.SOCKS, address2); 64 proxy = new Proxy(Proxy.Type.SOCKS, address); 65 assertEquals(Proxy.Type.SOCKS, proxy.type());
|
ProxySelectorTest.java | 150 assertEquals(Arrays.asList(new Proxy(Proxy.Type.SOCKS, createUnresolved("a", 1080))), 152 assertEquals(Arrays.asList(new Proxy(Proxy.Type.SOCKS, createUnresolved("a", 1080))), 154 assertEquals(Arrays.asList(new Proxy(Proxy.Type.SOCKS, createUnresolved("a", 1080))), 156 assertEquals(Arrays.asList(new Proxy(Proxy.Type.SOCKS, createUnresolved("a", 1080))), 164 assertEquals(Arrays.asList(new Proxy(Proxy.Type.SOCKS, createUnresolved("a", 1001))), 166 assertEquals(Arrays.asList(new Proxy(Proxy.Type.SOCKS, createUnresolved("a", 1001))), 168 assertEquals(Arrays.asList(new Proxy(Proxy.Type.SOCKS, createUnresolved("a", 1001))), 170 assertEquals(Arrays.asList(new Proxy(Proxy.Type.SOCKS, createUnresolved("a", 1001))),
|
/external/chromium/net/socket/ |
socks5_client_socket.h | 28 // This ClientSocket is used to setup a SOCKSv5 handshake with a socks proxy. 36 // communicate to via the SOCKS layer. 38 // Although SOCKS 5 supports 3 different modes of addressing, we will 53 // Does the SOCKS handshake and completes the protocol. 120 // Writes the SOCKS handshake buffer into |handshake| 135 // SOCKS handshake data. The length contains the expected size to 143 // This becomes true when the SOCKS handshake has completed and the 147 // These contain the bytes sent / received by the SOCKS handshake.
|
socks_client_socket.h | 28 // The SOCKS client socket implementation 35 // communicate to via the socks layer. For testing the referrer is optional. 50 // Does the SOCKS handshake and completes the protocol. 116 // SOCKS handshake data. The length contains the expected size to 124 // This becomes true when the SOCKS handshake has completed and the 128 // These contain the bytes sent / received by the SOCKS handshake. 132 // Used to resolve the hostname to which the SOCKS proxy will connect.
|
socks_client_socket.cc | 17 // Every SOCKS server requests a user-id from the client. It is optional 27 // Server Response codes for SOCKS. 183 // if the SOCKS handshake is complete. 194 // SOCKS handshake is complete. 220 DVLOG(1) << "Finished setting up SOCKS handshake"; 320 // Writes the SOCKS handshake data to the underlying socket connection. 395 LOG(ERROR) << "Unknown response from SOCKS server."; 404 LOG(ERROR) << "SOCKS request rejected or failed"; 407 LOG(ERROR) << "SOCKS request failed because client is not running " 411 LOG(ERROR) << "SOCKS request failed because client's identd could [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
ProxyTest.java | 37 // test SOCKS type proxy 38 proxy = new Proxy(Proxy.Type.SOCKS, address); 39 assertEquals(Proxy.Type.SOCKS, proxy.type()); 60 // test SOCKS type proxy 62 proxy = new Proxy(Proxy.Type.SOCKS, null); 117 proxy = new Proxy(Proxy.Type.SOCKS, address); 134 proxy = new Proxy(Proxy.Type.SOCKS, address); 151 // SOCKS type 152 Proxy proxy3 = new Proxy(Proxy.Type.SOCKS, address1); 153 Proxy proxy4 = new Proxy(Proxy.Type.SOCKS, address2) [all...] |
ProxySelectorTest.java | 125 // set socks proxy 139 assertProxyEquals(proxyList,Proxy.Type.SOCKS,SOCKS_PROXY_HOST,SOCKS_PROXY_PORT); 166 // set socks proxy 183 assertProxyEquals(proxyList, Proxy.Type.SOCKS, SOCKS_PROXY_HOST, 199 // set socks proxy 220 // set socks proxy 233 assertProxyEquals(proxyList,Proxy.Type.SOCKS,SOCKS_PROXY_HOST,SOCKS_PROXY_PORT); 253 // set socks proxy 267 assertProxyEquals(proxyList,Proxy.Type.SOCKS,SOCKS_PROXY_HOST,SOCKS_PROXY_PORT); 316 // set socks prox [all...] |
/external/dropbear/ |
listener.c | 49 FD_SET(listener->socks[j], readfds); 67 sock = listener->socks[j]; 79 struct Listener* new_listener(int socks[], unsigned int nsocks, 98 close(socks[i]); 115 ses.maxfd = MAX(ses.maxfd, socks[j]); 125 memcpy(newlisten->socks, socks, nsocks * sizeof(int)); 160 close(listener->socks[j]);
|
tcp-accept.c | 103 int socks[DROPBEAR_MAX_SOCKS]; local 121 nsocks = dropbear_listen(listen_spec, portstring, socks, 131 /* new_listener will close the socks if it fails */ 132 listener = new_listener(socks, nsocks, CHANNEL_ID_TCPFORWARDED, tcpinfo,
|
listener.h | 33 int socks[DROPBEAR_MAX_SOCKS]; member in struct:Listener 53 struct Listener* new_listener(int socks[], unsigned int nsocks,
|
/libcore/luni/src/main/java/java/net/ |
PlainSocketImpl.java | 48 // For SOCKS support. A SOCKS bind() uses the last 120 return proxy != null && proxy.type() == Proxy.Type.SOCKS; 276 // Do nothing for a SOCKS connection. The listen occurs on the 293 * Gets the SOCKS proxy server port. 296 // get socks server port from proxy. It is unnecessary to check 304 * Gets the InetAddress of the SOCKS proxy server. 308 // get socks server address from proxy. It is unnecessary to check 320 * Connect using a SOCKS server. 326 throw new SocketException("SOCKS connection failed", e) [all...] |
Proxy.java | 25 * <li>SOCKS</li></ul 43 * {@code Proxy.Type.SOCKS}. To create a {@code Proxy} instance representing 158 * DIRECT}, {@code HTTP} and {@code SOCKS}. 173 * SOCKS type proxy. 175 SOCKS
|
/external/chromium/net/proxy/ |
proxy_config_unittest.cc | 133 // Specify an HTTP proxy for "ftp://" and a SOCKS proxy for "https://" urls. 185 // Only SOCKS proxy present, others being blank. 187 "socks=foopy", 197 // SOCKS proxy present along with other proxies too 199 "http=httpproxy ; https=httpsproxy ; ftp=ftpproxy ; socks=foopy ", 209 // SOCKS proxy (with modifier) present along with some proxies 212 "http=httpproxy ; https=httpsproxy ; socks=socks5://foopy ",
|
proxy_config_service_win_unittest.cc | 106 // SOCKS proxy configuration. 112 L"ftp=ftpproxy:20;socks=foopy:130", // lpszProxy 117 // Note that "socks" is interprted as meaning "socks4", since that is how 127 "socks4://foopy:130", // socks
|
proxy_server.h | 57 // Returns true if this ProxyServer is a SOCKS proxy. 69 // the default port for the chosen scheme (80 for "http", 1080 for "socks"). 75 // "socks://foopy" {scheme=SOCKS5, host="foopy", port=1080} 93 // chosen scheme (80 for "http", 1080 for "socks"). 134 // |scheme| can be one of http, https, socks, socks4, socks5, direct.
|
proxy_config_service_linux_unittest.cc | 566 "", // socks 584 TEST_DESC("socks"), 588 "", "", "", "socks.com", // hosts 599 "socks5://socks.com:99", // single proxy 670 NULL, NULL, // SOCKS 691 NULL, NULL, // SOCKS 712 NULL, NULL, // SOCKS 733 NULL, NULL, // SOCKS 754 NULL, NULL, // SOCKS 777 NULL, NULL, // SOCKS [all...] |
proxy_list_unittest.cc | 30 { "proxy foopy1 ; SOCKS foopy2", 31 "PROXY foopy1:80;SOCKS foopy2:1080", 72 { "PROXY foopy:10 ; SOCKS5 foopy2 ; SOCKS foopy11 ; PROXY foopy3 ; DIRECT",
|
proxy_config.cc | 110 // socks=XXX is inconsistent with the other formats, since "socks" 112 // it to the SOCKS proxy server XXX". 113 if (url_scheme == "socks") {
|
proxy_server_unittest.cc | 88 "SOCKS foopy:1080" 96 "SOCKS foopy:10" 117 // SOCKS proxy URIs (should default to SOCKS5) 119 "socks://foopy", // No port. 127 "socks://foopy:10", 253 "socks foopy", 294 "SOCKS", // missing host/port.
|
/external/apache-harmony/luni/src/test/resources/net.resources/ |
README.txt | 69 4. Start up a SOCKS server. 78 FTP and SOCKS servers and so on. Isolating these values in a properties file 88 that contains suitable property values if the HTTP, FTP and SOCKS servers were 107 * SocksServerTestHost : the fully qualified location of the SOCKS server used 110 * SocksServerTestPort : the test SOCKS server's port number
|
/external/smack/src/org/jivesoftware/smack/proxy/ |
Socks4ProxySocketFactory.java | 95 The client connects to the SOCKS server and sends a CONNECT request when 105 VN is the SOCKS protocol version number and should be 4. CD is the 106 SOCKS command code and should be 1 for CONNECT request. NULL is a byte 141 The SOCKS server checks to see whether such a request should be granted 144 consulting IDENT, cf. RFC 1413. If the request is granted, the SOCKS 159 92: request rejected becasue SOCKS server cannot connect to
|
/external/apache-http/src/org/apache/http/impl/conn/ |
ProxySelectorRoutePlanner.java | 246 * The default implementation just picks the first non-SOCKS proxy 247 * from the list. If there are only SOCKS proxies, 284 case SOCKS: 285 // SOCKS hosts are not handled on the route level. 286 // The socket may make use of the SOCKS host though. 292 //@@@ log as warning or info that only a socks proxy is available? 293 // result can only be null if all proxies are socks proxies 294 // socks proxies are not handled on the route planning level
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
Socks5BytestreamSession.java | 48 * the initiator and target, <code>false</code> if the session is mediated over a SOCKS proxy.
58 * Returns <code>true</code> if the session is mediated over a SOCKS proxy, <code>false</code>
|
/external/webkit/Source/WebCore/platform/network/ |
ProxyServer.cpp | 43 case ProxyServer::SOCKS: 44 builder.append("SOCKS");
|
/external/chromium/chrome/browser/extensions/ |
extension_proxy_api_constants.cc | 42 "socks" };
|