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
1answer
62 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 ...
0
votes
0answers
65 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 ...
1
vote
1answer
170 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 ...
0
votes
0answers
71 views

Socat only connecting to V2 Onion addresses

I'm trying to capture onion addresses so they can be accessed via my hidden service. I'm just running into some trouble getting socat set up. I can connect to old style V2 addresses but not V3 ...
0
votes
0answers
22 views

Is it possible to pass a traffic through socks under tor to prevent tor exit node IP detection?

Is it possible to pass a traffic through socks under tor to prevent tor exit node IP detection? In my case, for TOR browser especially. Traffic scheme: Local network -> TOR -> SOCKS proxy -> ...
0
votes
1answer
37 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
0answers
63 views

privoxy/tor/python 503 SOCKS5 TTL expired

i'm trying to access hidden-service through python: import requests proxies = {'http': 'http://127.0.0.1:8118', 'https': 'http://127.0.0.1:8118'} s = requests.Session() r = s.get("http://...
0
votes
0answers
41 views

What to do to access Tor Network when Tor browser can't contact bridges and relays?

Please, can anyone help me? I am born a Chinese, but I am an outsider among the Chinese, I don't like China very much, in fact I hate it. So I am in China, I am behind the Great FireWall of China, ...
0
votes
0answers
38 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
0answers
34 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 : [...
0
votes
2answers
277 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
0answers
76 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.
1
vote
1answer
515 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
1answer
680 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://...
1
vote
0answers
45 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
1answer
295 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
1answer
156 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 ...
1
vote
1answer
831 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
0answers
89 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 ...
0
votes
0answers
119 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 ...
0
votes
2answers
253 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 ...
1
vote
0answers
203 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/...
0
votes
2answers
163 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
3answers
527 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
0
votes
1answer
1k 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
0answers
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
1answer
550 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 ...
15
votes
2answers
33k 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
2answers
210 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 ...
1
vote
2answers
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
1answer
4k 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
1answer
747 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
2answers
1k 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
0answers
290 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 ...
1
vote
1answer
942 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 ...
1
vote
2answers
344 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 ...
0
votes
1answer
634 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 ...
1
vote
2answers
184 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/...
3
votes
1answer
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....
2
votes
1answer
89 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 ? (...
4
votes
1answer
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 ...
-1
votes
1answer
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 ...
0
votes
2answers
604 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:...
0
votes
1answer
402 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); ...
4
votes
2answers
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 ...
1
vote
1answer
511 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 /...
0
votes
1answer
265 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 --...
1
vote
2answers
431 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 ...
0
votes
1answer
331 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 ...
1
vote
1answer
295 views

Why are Tor Browser's tor and standalone tor isolated?

I have Tor Browser Bundle 6.0.7 installed on linux and I also installed stand-alone tor through yum. I run standalone tor in a shell while TBB is running but any shell traffic (e.g. wget) redirected ...