Skip to main content
Share Your Experience: Take the 2024 Developer Survey
42 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 ...
ki9's user avatar
  • 536
11 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 ...
pouya's user avatar
  • 391
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 ...
cacahuatl's user avatar
  • 11k
4 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 ...
cacahuatl's user avatar
  • 11k
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 ...
Jens Kubieziel's user avatar
  • 8,570
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-...
4 votes

Download Error 404 while running torbrowser-launcher on Ubuntu 22.04 LTS. tor-browser-linux64-12.0.2_en-US.tar.xz.asc not available

After running: sudo sed -i 's|self.language =.*|self.language = "ALL"|g' /usr/lib/python3/dist-packages/torbrowser_launcher/common.py Tor-browser downloads OK (Downloading Tor Browser for ...
Hahmo's user avatar
  • 41
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 ...
cacahuatl's user avatar
  • 11k
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 ...
cacahuatl's user avatar
  • 11k
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 ...
Richard Horrocks's user avatar
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" ...
cacahuatl's user avatar
  • 11k
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.
Andy Eoch's user avatar
3 votes

Tor Browser, Signature verification Failed, Cant check signature: No public key

Check out the Tor Project's signing keys page for more info. If you followed that tutorial exactly, then you imported a single developer's signing key, but this is not the key used to sign the ...
drew010's user avatar
  • 270
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. ...
cacahuatl's user avatar
  • 11k
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 ...
Alexey Vesnin's user avatar
  • 6,225
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 ...
v7d8dpo4's user avatar
  • 305
2 votes
Accepted

Autostart tor on Linux Mint / Ubuntu

The issue is that the package is aimed at ubuntu, the systemd service file expects apparmor to be there it tries to enforce the profile but the profile isnt loaded or cant be loaded, to remedy this ...
cacahuatl's user avatar
  • 11k
2 votes

Autostart tor on Linux Mint / Ubuntu

Related to this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808296 Solved using mkdir /etc/systemd/system/[email protected]/ (echo "[Service]"; echo "AppArmorProfile=") > /etc/...
Xaser's user avatar
  • 143
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 ...
Aaa Zzz's user avatar
  • 21
2 votes
Accepted

Can I install Tor by making source lists HTTPS

You have different possibilities to download Tor. Each comes with different advantages or disadvantages: HTTP: This is the default method which is offered through the Tor website. Usually HTTP works ...
Jens Kubieziel's user avatar
  • 8,570
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 ...
Matt Nordhoff's user avatar
2 votes

How to make tor browser work with the system tor service rather than the tor service provided with the browser

From the guide I wrote, available on the Tor Project wiki here: Add or edit the following lines in your torrc: # add these flags to SocksPort to act like Tor Browser SocksPort 9050 IPv6Traffic ...
cacahuatl's user avatar
  • 11k
2 votes

Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running? (Whonix)

Good day, You'll have to run "whonixsetup" after adding your bridges to torrc and reload Tor afterwards. Either way, going through this should help you get along nicely: https://www.whonix.org/wiki/...
Ego's user avatar
  • 41
2 votes

Tor don't stop after terminal being closed

Here's the Linux way to do it: In a terminal, use "sudo service tor stop." If that doesn't work, try going to System Monitor and ending the process from there. If THAT doesn't work, go to your ...
NoName's user avatar
  • 43
2 votes
Accepted

How to specify ExitNodes in Linux?

GeoIP needs to be installed for Tor to be able to determine in what country a exit relay is. You can install it using sudo apt install tor-geoipdb. From the logs: We've been configured to use (or ...
Peter Gerber's user avatar
  • 1,342
2 votes

Can't connect to Tor

You have accidently pressed the Enter when you was editing it - right here : #HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C #CookieAuthentication 1 so it ...
Alexey Vesnin's user avatar
  • 6,225
2 votes

Error in Tails Error opening directory 'home/amnesia'

Firstly, Tails uses apparmor to restrict Tor Browser's access to the file system, it can only save files to ~/Tor Browser or ~/Persistence/Tor Browser. For more details on this, see my answer here. ...
cacahuatl's user avatar
  • 11k
2 votes

Downloading linux mint through tor

Yes, you should be able to do this. Start up Tails on your PC Download the desired ISO Install software to create a bootable USB stick (e.g. unetbootin) (See: https://tails.boum.org/doc/first_steps/...
bn4t's user avatar
  • 446

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