/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());
|
/external/chromium/net/socket/ |
socks_client_socket.h | 25 // The SOCKS client socket implementation 32 // communicate to via the socks layer. For testing the referrer is optional. 42 // Does the SOCKS handshake and completes the protocol. 72 // The SOCKS proxy connection either has the hostname resolved via the 73 // client or via the server. This enum stores the state of the SOCKS 107 // SOCKS handshake data. The length contains the expected size to 115 // This becomes true when the SOCKS handshake has completed and the 119 // These contain the bytes sent / received by the SOCKS handshake. 123 // Used to resolve the hostname to which the SOCKS proxy will connect.
|
socks5_client_socket.h | 25 // This ClientSocket is used to setup a SOCKSv5 handshake with a socks proxy. 33 // communicate to via the SOCKS layer. 35 // Although SOCKS 5 supports 3 different modes of addressing, we will 46 // Does the SOCKS handshake and completes the protocol. 101 // Writes the SOCKS handshake buffer into |handshake| 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.
|
socks_client_socket.cc | 17 // Every SOCKS server requests a user-id from the client. It is optional 32 // Server Response codes for SOCKS. 129 // if the SOCKS handshake is complete. 140 // SOCKS handshake is complete. 166 DLOG(INFO) << "Finished setting up SOCKS handshake"; 254 // We check whether the SOCKS proxy is 4 or 4A. 295 // Writes the SOCKS handshake data to the underlying socket connection. 372 LOG(ERROR) << "Unknown response from SOCKS server."; 376 // TODO(arindam): Add SOCKS specific failure codes in net_error_list.h 382 LOG(ERROR) << "SOCKS request rejected or failed" [all...] |
socks5_client_socket.cc | 22 // not a valid SOCKS reply. 25 case 1: return "(1) General SOCKS server failure"; 114 // if the SOCKS handshake is complete. 125 // SOCKS handshake is complete. 281 LoadLog::AddStringLiteral(load_log_, "Unexpected SOCKS version"); 320 // Writes the SOCKS handshake data to the underlying socket connection. 387 LoadLog::AddStringLiteral(load_log_, "Unexpected SOCKS version."); 396 "SOCKS server returned a failure code:");
|
/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
PlainSocketImpl.java | 44 // For SOCKS support. A SOCKS bind() uses the last 108 return proxy != null && proxy.type() == Proxy.Type.SOCKS; 247 // Do nothing for a SOCKS connection. The listen occurs on the 260 * Gets the SOCKS proxy server port. 263 // get socks server port from proxy. It is unnecessary to check 272 * Gets the InetAddress of the SOCKS proxy server. 276 // get socks server address from proxy. It is unnecessary to check 288 * Connect using a SOCKS server. 295 throw new SocketException("SOCKS connection failed: " + e) [all...] |
Socks4Message.java | 163 return "Failure to connect to SOCKS server"; 210 * Returns the SOCKS version number. Should always be 4. 235 * Set the SOCKS version number. This should always be 4.
|
/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,
|
dbutil.h | 51 int *socks, unsigned int sockcount, char **errstring, int *maxfd);
|
/external/chromium/net/proxy/ |
proxy_server_unittest.cc | 97 "SOCKS foopy:1080" 106 "SOCKS foopy:10" 129 // SOCKS proxy URIs (should default to SOCKS4) 131 "socks://foopy", // No port. 137 "SOCKS foopy:1080" 140 "socks://foopy:10", 146 "SOCKS foopy:10" 243 "socks foopy", 275 "SOCKS", // missing host/port.
|
proxy_config_unittest.cc | 134 // Specify an HTTP proxy for "ftp://" and a SOCKS proxy for "https://" urls. 186 // Only SOCKS proxy present, others being blank. 188 "socks=foopy", 198 // SOCKS proxy present along with other proxies too 200 "http=httpproxy ; https=httpsproxy ; ftp=ftpproxy ; socks=foopy ", 210 // SOCKS proxy (with modifier) present along with some proxies 213 "http=httpproxy ; https=httpsproxy ; socks=socks5://foopy ", 368 // Proxy-per scheme (HTTP and SOCKS) 373 "http=http://proxy-for-http:1801; socks=socks-server:6083") [all...] |
proxy_config_service_linux_unittest.cc | 533 "", // socks 550 TEST_DESC("socks"), 554 "", "", "", "socks.com", // hosts 563 MakeSingleProxyRules("socks4://socks.com:99"), // proxy_rules 633 NULL, NULL, // SOCKS 653 NULL, NULL, // SOCKS 673 NULL, NULL, // SOCKS 693 NULL, NULL, // SOCKS 713 NULL, NULL, // SOCKS 733 NULL, NULL, // SOCKS [all...] |
proxy_list_unittest.cc | 28 { "proxy foopy1 ; SOCKS foopy2", 29 "PROXY foopy1:80;SOCKS foopy2:1080", 70 { "PROXY foopy:10 ; SOCKS5 foopy2 ; SOCKS foopy11 ; PROXY foopy3 ; DIRECT",
|
proxy_server.cc | 25 if (LowerCaseEqualsASCII(begin, end, "socks")) { 27 // notation didn't originally exist, so if a client returns SOCKS they 50 if (LowerCaseEqualsASCII(begin, end, "socks")) 171 // For compatibility send SOCKS instead of SOCKS4. 172 return std::string("SOCKS ") + host_and_port();
|
proxy_config_service_win_unittest.cc | 111 // SOCKS proxy configuration 117 L"ftp=ftpproxy:20;socks=foopy:130", // lpszProxy
|
proxy_server.h | 54 // Returns true if this ProxyServer is a SOCKS proxy. 75 // the default port for the chosen scheme (80 for "http", 1080 for "socks"). 97 // chosen scheme (80 for "http", 1080 for "socks").
|
proxy_list.h | 51 // For example: "PROXY xxx.xxx.xxx.xxx:xx; SOCKS yyy.yyy.yyy:yy".
|
proxy_config.h | 67 // "socks4://foopy" -- use SOCKS v4 proxy "foopy:1080" for all 97 // Set if configuration has SOCKS proxy.
|
/libcore/luni/src/main/java/java/net/ |
ProxySelectorImpl.java | 141 // case 3: use socks proxy instead 142 type = Proxy.Type.SOCKS; 146 int defaultPort = (type == Proxy.Type.SOCKS) ? SOCKS_PROXY_PORT 168 // case 2: use socks proxy instead 169 type = Proxy.Type.SOCKS; 174 int defaultPort = (type == Proxy.Type.SOCKS) ? SOCKS_PROXY_PORT 201 // case 2: use socks proxy instead 202 type = Proxy.Type.SOCKS; 207 int defaultPort = (type == Proxy.Type.SOCKS) ? SOCKS_PROXY_PORT 213 * Gets proxy for socks request [all...] |
Proxy.java | 25 * <li>SOCKS</li></ul 43 * {@code Proxy.Type.SOCKS}. To create a {@code Proxy} instance representing 154 * DIRECT}, {@code HTTP} and {@code SOCKS}. 169 * SOCKS type proxy. 171 SOCKS
|
/external/apache-http/src/org/apache/http/impl/conn/ |
ProxySelectorRoutePlanner.java | 234 * The default implementation just picks the first non-SOCKS proxy 235 * from the list. If there are only SOCKS proxies, 272 case SOCKS: 273 // SOCKS hosts are not handled on the route level. 274 // The socket may make use of the SOCKS host though. 280 //@@@ log as warning or info that only a socks proxy is available? 281 // result can only be null if all proxies are socks proxies 282 // socks proxies are not handled on the route planning level
|
/external/apache-http/src/org/apache/http/io/ |
package.html | 41 direct or via SOCKS hosts, with bandwidth throttling, or
|
/external/webkit/WebCore/platform/network/cf/ |
SocketStreamHandleCFNet.cpp | 178 // SOCKS or HTTPS (AKA CONNECT) proxies are supported. 181 // Many CONNECT proxies limit connectivity to port 443, so we prefer SOCKS, if configured. 230 // Keep looking for proxies, as a SOCKS one is preferable. 259 // SOCKS or HTTPS (AKA CONNECT) proxies are supported. 262 // Many CONNECT proxies limit connectivity to port 443, so we prefer SOCKS, if configured.
|