aboutsummaryrefslogtreecommitdiff
path: root/doc/torify.1.txt
blob: 22b3fe53707fcb623151f19e81bf6c00c6ec5197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Copyright (c) The Tor Project, Inc.
// See LICENSE for licensing information
// This is an asciidoc file used to generate the manpage/html reference.
// Learn asciidoc on http://www.methods.co.nz/asciidoc/userguide.html
:man source:   Tor
:man manual:   Tor Manual
torify(1)
=========

NAME
----
torify - wrapper for torsocks or tsocks and tor

SYNOPSIS
--------
**torify** __application__ [__application's__ __arguments__]

DESCRIPTION
-----------
**torify** is a simple wrapper that attempts to find the best underlying Tor
wrapper available on a system. It calls torsocks or tsocks with a tor specific
configuration file. +

torsocks is an improved wrapper that explicitly rejects UDP, safely resolves DNS
lookups and properly socksifies your TCP connections. +

tsocks itself is a wrapper between the tsocks library and the application that
you would like to run socksified. +

Please note that since both method use LD_PRELOAD, torify cannot be applied to
suid binaries.

WARNING
-------
You should also be aware that the way tsocks currently works only TCP
connections are socksified. Be aware that this will in most circumstances not
include hostname lookups which would still be routed through your normal system
resolver to your usual resolving nameservers. The **tor-resolve**(1) tool can be
useful as a workaround in some cases. The Tor FAQ at
https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ might have further
information on this subject. +

When used with torsocks, torify should not leak DNS requests or UDP data. +

Both will leak ICMP data.

SEE ALSO
--------
**tor**(1), **tor-resolve**(1), **torsocks**(1), **tsocks**(1),
**tsocks.conf**(5).

AUTHORS
-------
Peter Palfrader and Jacob Appelbaum wrote this manual.