Questions tagged [socks]

SOCKS (Socket Secure) routes network packets between clients and servers through a proxy server. It operates at Layer 5 of the OSI model.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Tor stream isolation using torcc

I use torsocks for 3 applications: IRC, SSH and Thunderbird (My Tor browser uses port 9150 fom the torbrowser bundle daemon). I want to use a different tor circuit each application. On the internet I ...
2 votes
3 answers
3k views

Connecting to Tor network through any Application/Script without installing Tor browser bundle?

I am planning to develop an application that must use Tor network connection. I am connecting with Tor browser bundle and then using the socket(9050/9150/whatever). Now I want to connect to Tor ...
0 votes
0 answers
24 views

Stun.protocol preventing me from connecting to TOR

Every time I try to connect to Tor, on my phone, through the browser or Orbot on either my mobile data or when connected to Wi-Fi I always get see these showing up on either my firewall (RethinkDNS+...
8 votes
5 answers
56k views

How to set Tor proxy for Windows 10 instead of VPN?

When I open windows 10 settings and then "Network & Internet" I see: Settings -> Network & Internet 1. Data usage ...
0 votes
1 answer
2k views

How to create a tor proxy?

I want to create a tor proxy on a virtual machine (Linode). But I'm missing some elements. For example, when I buy a proxy service I can send requests to socks5 proxy with user:password. So ideally ...
0 votes
1 answer
411 views

unable to find valid certification path to requested target Error

I downloaded the Tor browser, and ran the Tor exe file. I then run the code shown below to try an access a website using SOCKS SocketAddress sockAddr = new InetSocketAddress("localhost",9050); ...
0 votes
1 answer
127 views

Connecting an ESP32 to a site via a SOCKS5 proxy

There is a lot of talk about the poor old ESP32 chip not being able to handle TOR due to its resource constraints, and I know there is one library out there that might work if I had platform.io and ...
0 votes
1 answer
239 views

Tor relay server behind proxy

I'm a newbie in the Tor world. I was just thinking of running a relay server... The fact is that I know some sites like Netflix, Disney and others just block all the relays IPs that are posted on the ...
0 votes
1 answer
99 views

Tor Browser: Is it safe to connect to Tor via a proxy server?

When using the Tor Browser, is it safe to connect to Tor via a proxy server? There is an SSH connection between the proxy server and my computer: ssh me@proxyserver -D localhost:9999. In the Tor ...
1 vote
1 answer
2k views

Tor won't connect even through bridges

Using the Tor browser bundle, I can't connect to Tor at the Port Angeles, Washington library. I have tried all the connection options including requesting some bridges. When trying to connect, the ...
0 votes
1 answer
2k views

Torify + Whois don't work ;(

as i wrote in title. Typing in command: torify whois ****.com Output: [Mar 04 01:29:26] PERROR torsocks[21980]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:185) ...
1 vote
2 answers
209 views

Can't use SOCKS with TBB 7.0a3 -- help w/ torrc and unix sockets plz

Currently running TBB 7.0a3 on OS X 10.15. Cannot get any other app to use Tor on any port when bundle is running. Some digging turned up torrc file which contained line: SocksPort unix:"/Users/will/...
0 votes
3 answers
1k views

Tor SOCKS5 Not Working With Anything Other Than Tor Browser

I am running Tails OS on a live USB and am attempting to run traffic through Tor. The Tor Browser is working via the SOCKS5 proxy on 127.0.0.1:9050. When I try to run: curl --socks5-hostname localhost:...
0 votes
1 answer
5k views

OpenVPN connecting to a server via a Tor (SOCKS) proxy - error: "timeout expired" and "Inactivity timeout"" in Linux

I'm trying to connect to an OpenVPN server through Tor Socks Proxy. When I try to connect to the VPN sometimes I receive this error message "Recv_socks_reply: TCP Port Read Timeout expired" and ...
0 votes
1 answer
599 views

How to restore GnuPG proxy configuration to default?

I was trying to verify TOR package signature with this command: gpg --keyserver pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290 I got this response gpg: requesting key 0x4E2C6E8793298290 ...
0 votes
2 answers
411 views

Configuring Tor to Work in Other Web Browsers

I am trying to configure my internet options so I can use the Tor servers in another browser, specifically Internet Explorer. Yes, I know this is not recommended and it's an old browser, but I need to ...
0 votes
0 answers
34 views

Socks Proxy or Tor Browser for self/friendhosted services?

I'm wondering.. Would you use Tor Browser for self-hosted or friendhosted onion services? Or would you use your own Firefox+socks proxy specifically for these services? I reckon there might be a lot ...
6 votes
4 answers
39k views

Proxy Client: unable to connect ("general SOCKS server failure")

Can someone help me with the following error?? Below is my log and I'm not an expert, so please explain in simple terms! 9/14/2015 18:30:52 PM.100 [NOTICE] DisableNetwork is set. Tor will not make or ...
0 votes
1 answer
91 views

How to connect android device to TOR programmatically

I would like to build an application that connects the phone like Orxy/Orbot, although I cannot figure out how. How might I connect to tor using java, or connect to the socks proxy tor interface in ...
0 votes
2 answers
204 views

Fetching JSON via Tor

Hi I am trying to make a code that monitors cryptocurrency prices, so I am fetching JSON data from public sources and then processing it. I am using this python code by @Anurag Uniyal: import urllib....
0 votes
1 answer
420 views

Is there a C/C++ Tor API?

I am looking for a (preferably Open Source) API usable in C/C++, that enables one to send/receive data over the Tor network. So I want to build an application that uses sockets to communicate data ...
1 vote
1 answer
538 views

Openvpn over TOR

I am trying to route my vpn traffic over TOR (Tor is using bridges) on ubuntu by simply adding the following in the tor configuration: UseBridges 1 Bridge bridge1 fingerprint1 Bridge bridge2 ...
1 vote
0 answers
172 views

How to prevent torsocks timeouts from concurrent calls?

I'm running a distant HTTP server, serving a single page, used for delay measurements purposes. From my client, I'm generating multiple different custom circuits each being assigned a new upcoming ...
5 votes
2 answers
2k views

How can I figure out how to use TOR in my Java application

I am trying to integrate TOR into my java application. I have tried Silvertunnel and Orchid, and cant get them to work. I think without doing some learning, im not going to figure this out. On ...
0 votes
1 answer
87 views

Sending a request over Tor without binding port on localhost

Usually, Tor works like that: a daemon starts in background, reads torrc and listens on SocksPort (usually 9050). Then an application uses localhost:9050 as a SOCKS5 proxy and performs requests over ...
0 votes
0 answers
71 views

Why doesn't tor connect to Socks4/5 proxies?

I can only connect to HTTPS proxies using FF's proxy feature. When i put in a socks4/5 proxy in FF, it doesn't connect to the proxy. Can anybody confirm this behaviour ? My setup: proxychains v4.14 ...
0 votes
0 answers
75 views

Problem connecting, socks failure

Recently I'm not able to connect anymore to Tor and other vpns through my provider who blocks access to them. I reinstalled Tor, got bridges from the email, but it still doesn't work. The log says : [...
1 vote
0 answers
161 views

How to set up a SOCKSport?

I'd like to know how to set up a SOCKSport on Tor Windows and how to create a SOCKS policy. Thank you very much.
3 votes
1 answer
1k views

What's the difference between torify, usewithtor, tsocks and torsocks?

I want to use an external application with Tor. I find 4 different commands for that, and I am not sure about their relations. usewithtor torify tsocks torsocks What's the relation between those 4 ...
0 votes
1 answer
1k views

Trying to pass TTL expired error: socks.SOCKS5Error: 0x06: TTL expired

Im trying to pass this error im getting while checking if sites are up with python: socks.SOCKS5Error: 0x06: TTL expired proxies = { 'http': 'socks5h://127.0.0.1:9050', 'https': 'socks5h://...
9 votes
2 answers
31k views

Proxy server is refusing connection

When launching the Tor browser from its folder it keeps on failing. The Connection Settings is set to Manual Proxy with SOCKS Host at 127.0.0.1 Port 9150 v5.
1 vote
0 answers
81 views

using autentication with torsocks --address

On Linux, I noticed I can run torsocks by specifying --address so that it connects to another computer and use that computer's tor connection, e.g downloading a file over tor: torsocks --address my....
0 votes
0 answers
2k views

tor running but can't connect through socks proxy

I have installed tor on Ubuntu 16.04. It seems to be running $> ps aux |grep to debian-+ 1300 0.0 0.2 89504 44416 ? Ss Feb24 0:12 /usr/bin/tor --defaults-torrc /usr/share/tor/tor-...
0 votes
1 answer
450 views

SOCKS5 protocol: "binding" on a hidden service address

Problem Accepting incoming connections over Tor through the Tor proxy. I'm developing a socks client in rust for tokio tcp streams. Like https://crates.io/crates/tokio-socks but with upgraded ...
0 votes
0 answers
101 views

tor does not work anymore

Since 1 week I can not launch tor I looked a lot of forum but none really talk about my problem, when I run it said unexpectedly exited tor ..... I tried bridges and proxy it does not work so I put my ...
15 votes
2 answers
40k views

"This is a SOCKS Proxy, Not An HTTP Proxy"

As the title says, I've been trying to use Tor as a proxy for Postman and I'm getting the following response when I try to make a request to a specific endpoint that does not support HTTPS ...
0 votes
0 answers
170 views

Connect to a vpn through tor nftables

I have a box with 3 interfaces wlan0, eth0 (with internet connection) and tun0 (Openvpn). I want to connect that box to a remote vpn using tor socks. Until now I have the sock 60140 open in tor, the ...
2 votes
1 answer
2k views

proxychain not finding proxychains.conf Tails 2.3

My objective is tor --> socks proxy --> destination Reason for doing this is to access sites that do not like Tor exit nodes. This is all done on Tails I have tried running this proxychains tor-...
0 votes
2 answers
308 views

What is the best practice for having an encrypted connection while connected to Tor?

I've seen articles stating the best practice for connecting to Tor is through a VPN, however where this setup fails is at hiding your traffic from a malicious Tor exit-node. Because the traffic goes ...
0 votes
3 answers
636 views

Does entry node know the clients ipaddress?

I have read that entry nodes knows clients ipaddress but how is it possible because tor uses socks proxy to communicate
1 vote
0 answers
273 views

Connect to TOR serivce to upload files FTP/SFTP

I would like to upload some files to my .onion website over FTP/SFTP securely however I cannot figure how to connect. Any help? I have added the following to /etc/tor/torrc: HiddenServiceDir /var/...
2 votes
1 answer
2k views

Using socat through Tor socks proxy gives no response

I am trying to get an HTTP request through a private Tor network that I have setup using tunneling with socat. In a private Tor network (10.0.0.216/29) I have relays setup on my servers 218 and 221 ...
7 votes
1 answer
12k views

What does "[Warning] Rejecting SOCKS request for anonymous connection to private address [scrubbed]." means?

What does "[Warning] Rejecting SOCKS request for anonymous connection to private address [scrubbed]." means? Vidalia occasionally gives this warning.
0 votes
1 answer
342 views

Is there any vulnerabilities when using socks with tails?

In the tor manual under socks port it states “The SOCKS protocol is unencrypted and (as we use it) unauthenticated” Does the socks protocol used in the loop back interface only or does the Socks ...
0 votes
2 answers
266 views

limit tor socks server to a certain hidden service

I have tor running on a pc, with its socks server listening on localhost port 9050. I would like to limit the socks server in this way: socks requests (from clients) should be allowed only for a ...
2 votes
3 answers
2k views

How to change Tor exit node when using multiple SocksPorts?

I'm using Tor with multiple SocksPorts. Does anyone know how I can programmatically change the exit for each SocksPort separately? The code below changes the exit nodes for all the SocksPorts -- I ...
1 vote
2 answers
2k views

Privoxy VS Polipo

I'm trying to share a SocksPort (SocksPort 192.168.0.14:10001) with a mobile device. The mobile device only supports HTTP proxies. It seems polipo used to be supported/promoted[1] by the torproject ...
0 votes
1 answer
887 views

Socks version 22 not recognized. (Tor is not an http proxy.)

Hello everyone. i have a simple question i am using a tor client to connect programmatically to tor via Socks4a. Everything run smoothly but when i tried to add ssl-tls to connect to localhost i got ...
0 votes
2 answers
2k views

Enbale TOR only for SOCKS5 communication on a Tomato enabled router

I have a WNR3500Lv2 router where I installed the Tomato driver. The TOR configuration window looks like this in the router GUI: My problem that I don't want to enable TOR for anything else in my home ...
1 vote
0 answers
305 views

Python JSON fetching via Socks5 proxy on Tails

I am trying to fetch JSON data, via a Python3 script, on Tails. I would like to know that this code is secure and doesn't leak IP or any other stuff. I know that Tails is configured to block any ...