Questions tagged [socks]

Socket Secure (SOCKS for short) is an Internet protocol that routes network packets between a client and server through a Proxy server.

Resources:

  • RFC 1928 SOCKS Protocol Version 5
  • RFC 1929 Username/Password Authentication for SOCKS V5
  • RFC 1961 GSS-API Authentication Method for SOCKS Version 5
  • RFC 3089 A SOCKS-based IPv6/IPv4 Gateway Mechanism
774 questions
5
votes
1 answer

Socks 4 Bind Request Explanation

i was reading this topic http://ftp.icm.edu.pl/packages/socks/socks4/SOCKS4.protocol What I'm trying to do is: I have a client/server application, I'm trying to use socks 4 BIND request to bind my server to a remote socks server, and make the…
killercode
  • 1,666
  • 5
  • 29
  • 42
5
votes
2 answers

Python Requests with Tor

Unable to use Tor with Python Requests import requests proxies = { 'http': 'socks5://localhost:9050', 'https': 'socks5://localhost:9050' } url = 'http://httpbin.org/ip' print(requests.get(url, proxies=proxies).text) I have tried a multitude…
Vaxe
  • 51
  • 1
  • 6
5
votes
1 answer

Proxy SOCKS 5 authentication with Selenium Chrome

I have the credential of a SOCKS 5 proxy (host, port, username, password). I want to set that proxy and use with selenium-Chrome. from selenium import webdriver from selenium.webdriver.common.proxy import Proxy, ProxyType proxy =…
S1M0N38
  • 131
  • 2
  • 10
5
votes
2 answers

Using Paramiko with SOCKS proxy

I an trying to use Paramiko with SOCKS proxy (SecureCRT or PuTTY configured as SOCKS proxy). I am using the below code import paramiko,socks host, port = '127.0.0.1', 1080 # Set up your proxy information for this…
MiniMe
  • 1,057
  • 4
  • 22
  • 47
5
votes
3 answers

C# HttpClient tor socks4/5 proxy?

I can set http proxy with this code: public class CustomFlurlHttpClient : DefaultHttpClientFactory { public override HttpClient CreateClient(Url url, HttpMessageHandler m) { return base.CreateClient(url,…
abritov
  • 373
  • 4
  • 11
5
votes
4 answers

pip install doesnt work , InvalidSchema: Missing dependencies for SOCKS support

I am freaking out with this error I am struck on for 2 days. 2 days ago activated my virtualenv, then tried to install some dependencies but pip install keeps throwing this error. pip install django Traceback (most recent call last): File…
Aditya
  • 300
  • 2
  • 3
  • 15
5
votes
1 answer

Why server reply of socks5 protocol can use dummy values?

I'm confused about the handshake process of socks5 protocol. According to the page 5 of RFC1928: In the reply to a CONNECT, BND.PORT contains the port number that the server assigned to connect to the target host, while BND.ADDR contains…
loggerhead
  • 131
  • 9
5
votes
3 answers

Unable to determine SOCKS version from socks

Using proxy connection (HTTP Proxy : 10.3.100.207, Port 8080). Using python's request module's get function, getting following error: "Unable to determine SOCKS version from socks://10.3.100.207:8080/"
Avikalp Srivastava
  • 139
  • 1
  • 1
  • 9
5
votes
1 answer

SOCKS Proxy with Python

Im using the following code to proxy my traffic within my Django application through a socks proxy, def bind_proxy_port(enable=True): try: if enable == True: socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 8080) …
felix001
  • 15,341
  • 32
  • 94
  • 121
5
votes
0 answers

Socks 5 with authentication JVM config

I am trying to set all my connections to go through a Socks 5. I have the following code: System.setProperty("socksProxyHost" , "xx.xx.xx.xx"); System.setProperty("socksProxyPort" , "yy") ; System.setProperty("socksProxyVersion" ,…
nmpg
  • 561
  • 2
  • 10
  • 24
5
votes
2 answers

How to configure Android SDK manager with socks?

The default proxy of Android SDK manager (android-sdk-manager) is HTTP, but the problem is how can I use it with SOCKS (My OS is Windows 7)?
PodBlood
  • 179
  • 1
  • 10
5
votes
0 answers

How to route all traffic to local socks5 server?

I've implemented SOCKS5 server (which forwards connections over SSH to remote), it runs on 127.0.0.1:7070. Now I'm trying to route all traffic through it. I thought it's impossible, but apps like proxifier can do it... but how? I'm looking for the…
miloserdow
  • 1,051
  • 1
  • 7
  • 27
5
votes
1 answer

SQL Developer Connection through Socks 5 proxy

I have been using SQL Developer v3.2.20 and it was working successfully with SecureCRT Dynamic port forwarding (socks 5 proxy) feature. Two parameters needs to be configured AddVMOption -DsocksProxyHost=127.0.0.1 AddVMOption…
Olgun Kaya
  • 2,519
  • 4
  • 32
  • 46
5
votes
2 answers

Why does my SOCKS proxy code throw SocketException: Malformed reply from SOCKS server?

Why does my SOCKS proxy code throw SocketException: Malformed reply from SOCKS server? I've tried to set in URLConnection or other, but this doesn't work. Only thing that worked - chilkat lib, but it's commercial. So, how I, for example, make http…
Pter
  • 163
  • 1
  • 2
  • 7
5
votes
0 answers

How do I use Tortoise SVN through local socks proxy and remote ssh server

I'm using TortoiseSVN in Windows 8.1 x64. I'm trying to checkout a SVN server through a local proxy I've configured with putty that tunnels my requests to a remote ssh server but I'm receiving this error: Error running context: The server…
Namroy
  • 71
  • 4