2022 Developer Survey is open! Take survey.

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
29 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 ...
user avatar
  • 136
0 votes
3 answers
979 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:...
user avatar
0 votes
1 answer
87 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 ...
user avatar
0 votes
1 answer
105 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 ...
user avatar
0 votes
1 answer
93 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 ...
user avatar
  • 121
0 votes
1 answer
378 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 ...
user avatar
  • 101
0 votes
0 answers
158 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 ...
user avatar
  • 1
1 vote
1 answer
485 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 ...
user avatar
  • 21
0 votes
1 answer
81 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 ...
user avatar
0 votes
0 answers
69 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 ...
user avatar
0 votes
0 answers
68 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 : [...
user avatar
  • 1
0 votes
2 answers
398 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 ...
user avatar
  • 1
1 vote
0 answers
150 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.
user avatar
  • 11
2 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 ...
user avatar
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://...
user avatar
1 vote
0 answers
71 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....
user avatar
  • 111
0 votes
1 answer
438 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 ...
user avatar
0 votes
1 answer
229 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 ...
user avatar
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 ...
user avatar
0 votes
0 answers
98 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 ...
user avatar
  • 1
0 votes
0 answers
169 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 ...
user avatar
0 votes
2 answers
305 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 ...
user avatar
  • 3
1 vote
0 answers
263 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/...
user avatar
  • 11
0 votes
2 answers
202 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....
user avatar
0 votes
3 answers
630 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
user avatar
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 ...
user avatar
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-...
user avatar
  • 101
0 votes
1 answer
596 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 ...
user avatar
15 votes
2 answers
39k 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 ...
user avatar
  • 151
0 votes
2 answers
263 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 ...
user avatar
  • 103
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 ...
user avatar
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 ...
user avatar
0 votes
1 answer
868 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 ...
user avatar
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 ...
user avatar
  • 101
1 vote
0 answers
304 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 ...
user avatar
1 vote
1 answer
1k views

How to send Tor traffic through ssh tunnel?

I want to use TOR in such way: Tor Browser --> local Socks5 proxy --> VPS (connection through ssh tunnel) --> Tor Network --> Internet Questions: How to setup such a connection? Will my ISP ...
user avatar
  • 11
1 vote
2 answers
399 views

How to assign syslog facility of Tor?

I'm running Tor as a daemon and enabled the syslog. The Tor daemon is running well as a socks proxy server and sending all logs to /var/log/messages. But I want to make Tor to write the log through ...
user avatar
0 votes
1 answer
727 views

What is passed to the Onion Proxy in terms of the OSI model?

I'm trying to understand at what layer does the SOCKS proxy receive. For example, if I visit a website and make a HTTP get to the web server it is passed through via SOCKS to make the request. At ...
user avatar
1 vote
2 answers
206 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/...
user avatar
  • 11
3 votes
1 answer
4k views

How does Tor use application proxy (SOCKS)?

I couldn't find the relevant documentation for this on the Tor and was hoping for some clarification here. I understand the process of how Tor works, but I'm looking for information on the client side....
user avatar
2 votes
1 answer
98 views

tbb-nightly-hardened provides no TCP socks proxy, only unix domain socket. is that normal?

I noticed when trying the nightly hardened that the TBB now doesn't spawn an TCP socks proxy but rather use a unix domain sockets is that to be the expected behavior for the future of TBB hardened ? (...
user avatar
  • 21
4 votes
1 answer
4k views

How to change Tor Browser default SocksPort?

I was surprised to find this hadn't been asked already. In ../Browser/TorBrowser/Data/Tor/torrc-defaults I tried changing SocksPort/ControlPort from 9150/9051 to 9170/9071. Then changed the SOCKS ...
user avatar
-1 votes
1 answer
2k views

Problems disabling socks5 proxy | tor [closed]

I was trying to create a PHP application that utilizes a local socks5 proxy to anonymize my IP address on each curl request. I couldn't successfully get the application to use a socks5 proxy. But in ...
user avatar
0 votes
2 answers
664 views

TOR BUG,Tor dropping SSH tunnel to hidden SSH service

I have multiple hidden services which are SSH servers. They do give unstable connections, and drop out all the time (after a couple seconds). Sometimes with a SOCKS error 1 or with packet_write_wait:...
user avatar
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); ...
user avatar
  • 41
4 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 ...
user avatar
  • 41
2 votes
1 answer
539 views

Do I need to configure a GeoIP database when using the ExitNodes directive?

I’m using Tor 0.2.8.9 on Mac Sierra. I’m running a Tor daemon like so tor --CookieAuthentication 0 --HashedControlPassword "" --ControlPort 9050 --SocksPort 50003 The only changes I’ve made to the /...
user avatar
  • 143
0 votes
1 answer
274 views

How cna I make a request through the Tor daemon originate from a US IP?

I”m using Tor 0.2.8.9 on Mac Sierra. I’m having trouble reaching a site using my Tor daemon, which I start like so tor --CookieAuthentication 0 --HashedControlPassword "" --ControlPort 9050 --...
user avatar
  • 143
1 vote
2 answers
497 views

Torsocks hangs when I try and download a file

I'm using Tor v0.2.8.9 on Mac Sierra. I start Tor like so tor --CookieAuthentication 0 --HashedControlPassword "" --ControlPort 9050 --SocksPort 50003 HOwever when I try and get a file using ...
user avatar
  • 143
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 ...
user avatar
  • 1