Hot answers tagged

3 votes
Accepted

How can Wget be configured to work with Torify securely?

Personally, I think the wiki stuff is outdated and needs some kinda purge with fire. Here's how Tails does it: #!/bin/sh unset http_proxy unset HTTP_PROXY unset https_proxy unset HTTPS_PROXY exec ...
user avatar
  • 10.8k
3 votes
Accepted

Should I worry about this torify (torsocks) warning?

torsocks intercepts calls to the libc syscall() function (and various other libc calls) by hooking into them through the dynamic linkers LD_PRELOAD environment variable. It creates a "shim" function ...
user avatar
  • 10.8k
2 votes

torsocks over torsocks? (by accident)

Torsocks sets the LD_PRELOAD environment variable to intercept a few system calls. It does not matter if you use it recursively: # at first $LD_PRELOAD is unset $ echo $LD_PRELOAD # when we start ...
user avatar
  • 1,342
2 votes
Accepted

Does torify/torsocks give access to hidden services?

The torsocks program (the actual name of the torify alias) can connect to hidden services fine. For example: torsocks curl https://3g2upl4pq6kufc4m.onion
user avatar
  • 2,648
2 votes
Accepted

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

Most of the links you posted state the differences. You should use torsocks. tsocks: Allows non-SOCKS aware applications to use a SOCKS proxy. No longer maintained. tsocks' role is to allow these ...
user avatar
  • 2,648
1 vote

Site operator gets real IP when I do "torsocks curl example.org/file.zip"?

For just a cURL - no, but a web browser or other application can launch another one that will make unproxified request and that's how the data leaks, so be careful in what you're doing!
user avatar
  • 5,421
1 vote

Site operator gets real IP when I do "torsocks curl example.org/file.zip"?

Just tried your example, it doesn't see my real ip. There maybe some clever way to bypass torsocks, but usually applications access regular API's and curl definitely doesn't leak IP's on regular ...
user avatar
1 vote

What's the recommended timeout when torifying an application to access an onion service (torsocks .onion timeout)?

You should use your system's default for all tcp timeouts, which is likely 60-90 seconds. A quick diff of the about:config settings matching network.http*timeout in the following two browsers: ...
user avatar
1 vote

Does torify/torsocks give access to hidden services?

If the hidden service is HTTP AND your client for some reason does not support torsocks, then you may benefit from a nginx revers proxy listening on local ports WARNINGS: This nginx process will not ...
user avatar
1 vote
Accepted

would torify use the same circuit as tbb when both are in operation?

No, Tor Browser isolates it's circuits by the first party domain. e.g. foo.com, bar.foo.com and qux.bar.foo.com will all be isolated on their own circuit for foo.com. While example.com, bar.example....
user avatar
  • 10.8k
1 vote

Is it safe to pipe profanity through torsocks?

Generally speaking, if it works with torsocks wrapping it, it should be fine. torsocks can cause some features to break but it shouldn't result in any leaks under normal circumstances. It's hard to ...
user avatar
  • 10.8k
1 vote
Accepted

firefox proxy settings

Tor's default SOCKS port is 9050 as far as I remember, so try to use it With remote DNS option.
user avatar
  • 5,421
1 vote

How can I force terminal to use Tor on Ubuntu

You can send any command over Tor with torify or torsocks. Example: torsocks wget https://path/to/file or torify apt-get update or torsocks git clone https://path/to/git or even ssh, scp or ...
user avatar
  • 2,762
1 vote

How can I force terminal to use Tor on Ubuntu

Assuming you want to do this using apt-get, rather than building from source, you can use torify in the following way: # torify apt-get update # torify apt-get install <jdk_packages> [A ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible