Hot answers tagged

36 votes
Accepted

How to check if Tor is working and debug the problem on CLI?

You can use curl to check https://check.torproject.org/api/ip over tor: curl -x socks5h://localhost:9050 -s https://check.torproject.org/api/ip Note the h in socks5h. This will ensure dns resolution ...
  • 476
7 votes
Accepted

How to channel all traffic on Kali linux through Tor?

Short answer: Download Tails. Long answer that more properly answers your qustion and use case: Once Tor is installed (I'll leave that to you; I recommend using the official Tor repos for Debian), ...
  • 3,730
6 votes

How to use Tor with Google Chrome?

From the Arch Linux Wiki: chromium --proxy-server="socks5://127.0.0.1:9050" --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE myproxy" However as the wiki explicitly warns: this will be used for ...
  • 10.8k
6 votes

Where is the tor log file

By default stdout and stderr of a systemd unit are sent to syslog. On my machine(Kali distro) it is stored in /var/log/syslog. So to see tor unit output run cat /var/log/syslog | grep tor -i Or to ...
  • 281
5 votes
Accepted

usewithtor: command not found

usewithtor is deprecated, you want to use torsocks in it's place. Previously there were various incarnations, the commands were kept for backwards compatibility but torsocks is what torify/usewithtor ...
  • 10.8k
4 votes

Where is the tor log file

Usually Tor stores its log files in /var/log/tor. Depending from the specific settings you'll find /var/log/tor/notices.log, /var/log/tor/log, /var/log/tor/info.log, etc. The option Log in torrc ...
  • 8,683
4 votes
Accepted

How do I set up a Tor relay as a docker container?

Foreword Docker defines a container as a "A standardized unit of software" [1] and does in a nutshell provide the tooling needed to create self-contained containers - think of little neatly-wrapped ...
3 votes

Qestion about Linux Tails persistent volume

It is really simple. Move file to be uploaded to ~/Tor Browser PersistentDir/Tor Browser These are the folders you can upload from or download to.
3 votes
Accepted

About Vidalia not working/discontinued

Vidalia has been discontinued for a long time now because it has not been maintained to keep up with changes in tor. At present there is no officially recommended alternative, though I have heard some ...
  • 510
3 votes

Can I comment on youtube videos

Took a while, but finally made it work: Open the menu of the onion icon and click "Preferences...". In the window that opens select the "Security settings" tab. Uncheck "Don't record browsing history ....
3 votes
Accepted

Use Tor browser as non-root Linux

You can run any command as a different user using sudo: sudo -u my_user tor-browser-en If you need to use multiple commands you can do this: sudo -u my_user sh -c "first && second" If you ...
  • 210
3 votes
Accepted

How to use tor with a program in shell?

From the README: The getxbook program downloads books anonymously. Using it will still result in your IP address being logged (use torify to stop this)... torify is tool that attempts to wrap ...
3 votes

Serious TCP Bug in Linux Systems?

What we can do to protect ourselves as VPN/Tor users? Note that the attack itself is targeted at the service, not the client (I.E. tor relay, not the tor client) so there isn't much you can do. If ...
  • 10.8k
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 ...
  • 10.8k
3 votes

I want upload a file to a ftp server using Tor proxy to comunicate with a Hidden Service [Python 3]

The tl;dr is that FTP and .onion do not go well together and never will, due to how the FTP protocol works. For more details, see below. FTP goes a little like this: Client connects to the "command" ...
  • 10.8k
3 votes
Accepted

Cannot persist NoScript settings on TorBrowser 8

This is a known issue: https://trac.torproject.org/projects/tor/ticket/27175 Looks like the fix will be released very soon with the next update.
2 votes

Vidalia fails to start

This bug has been confirmed. Some workarounds have been communicated, but no final solution / bugfix. See launchpad: Bug #680192 “Vidalia was unable to start Tor. Check your setting...” and try to ...
  • 121
2 votes

How does one execute JavaScript using Tor network without human interaction?

I found a way to do that on linux: apt-get install tor download Multi-TOR from here: https://github.com/jseidl/Multi-TOR run ./multi-tor.sh 10 for 10 socks ports (for example) You can use selenium or ...
  • 21
2 votes

Errors when starting Tor browser on Linux

As per this suggestion http://www.linuxquestions.org/questions/debian-26/why-apt-get-comes-with-error-on-this-802849/ I ran ifconfig lo up and everything worked. I have zero clue what this does, ...
2 votes

Using Tor for the whole system on fedora

Yes you can route all data through Tor, but is a Bad Idea. Instead try Tails a live operating system, that you can start on almost any computer from a DVD, USB stick, or SD card. It aims at ...
  • 933
2 votes

How to block all non-tor network traffic on GNU/Linux?

You are right, this can be achieved by using iptables. This is described in Tor documentation. So, as a root, type: iptables -F OUTPUT iptables -A OUTPUT -j ACCEPT -m owner --uid-owner debian-tor ...
  • 708
2 votes
Accepted

When using custom keys, what permissions do "/var/lib/tor/hidden_service/" need?

I don't know if it is strictly necessary, for me it works with these permissions: 700 (or drwx------) for the folder (folder2 in your case) 600 (or -rw-------) for the private_key file. Both owned ...
  • 3,745
2 votes

Post install questions

If you've installed tor as a system service through OpenSUSE's package manager: You can define where tor logs to through use of Log directives in the torrc file, located by default in /etc/tor/torrc. ...
  • 10.8k
2 votes

How to start tor on boot in Raspian Jessie?

You can make Tor start on boot by running (as root): update-rc.d tor enable Because you compiled Tor from source, you may not have the files to automatically start Tor at boot. If it says some file ...
  • 275
2 votes

How to start tor on boot in Raspian Jessie?

The best way is to use a three components: /etc/rc.local - It's a script that is executed on boot. I'm using it to start the components I need - see how downstrings. A daemontools package - it's ...
  • 5,471
2 votes

Serious TCP Bug in Linux Systems?

Tor developer Isis Agora Lovecruft has published a blog post on this. CVE-2016-5696 and its effects on Tor tl;dr: This vulnerability is quite serious, but it doesn’t affect the Tor network any ...

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