File: tsocks.1

package info (click to toggle)
tsocks 1.8beta5-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 428 kB
  • ctags: 173
  • sloc: sh: 2,774; ansic: 1,876; makefile: 129
file content (51 lines) | stat: -rw-r--r-- 1,552 bytes parent folder | download | duplicates (2)
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
.TH TSOCKS 1 "" "TSOCKS"

.SH NAME
.BR tsocks 
\- Shell wrapper to simplify the use of the tsocks(8) library to 
transparently allow an application to use a SOCKS proxy
.SH SYNOPSIS
.B tsocks
.RB [application\ [application's\ arguments]]
.br
or
.B tsocks
.RB [-on|-off]
.br
or
.B tsocks
.SH DESCRIPTION
.B tsocks
is a wrapper between the tsocks library and the application what you
would like to run socksified.
.SH OPTIONS
.IP \fB[application\ \fB[application's\ arguments]]
run the application as specified with the environment (LD_PRELOAD) set
such that tsocks(8) will transparently proxy SOCKS connections in 
that program
.IP \fB[-on|-off]
this option adds or removes tsocks(8) from the LD_PRELOAD environment
variable. When tsocks(8) is in this variable all executed
applications are automatically socksified. If you want to
use this function, you HAVE to source the shell script from yours,
like this: "source /usr/bin/tsocks" or ". /usr/bin/tsocks"
.br
Example:
.br
". tsocks -on" -- add the tsocks lib to LD_PRELOAD (don't forget the
leading dot!)
.br
". tsocks -off" -- remove the tsocks lib from LD_PRELOAD (don't forget the
leading dot!)
.IP \fB[-show|-sh]
show the current value of the LD_PRELOAD variable
.IP \fB<without\ any\ argument>
create a new shell with LD_PRELOAD including tsocks(8). 
.PP
.SH SEE ALSO
tsocks.conf(5)
tsocks(8)
.SH AUTHOR
This script was created by Tamas SZERB <toma@rulez.org> for the debian
package of tsocks. It (along with this manual page) have since been 
adapted into the main tsocks project and modified.