mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Add torify
svn:r1064
This commit is contained in:
parent
19a1c80f25
commit
a9ec08e362
7
contrib/torify
Executable file
7
contrib/torify
Executable file
@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
# Wrapper script for use of the tsocks(8) transparent socksification library
|
||||
# See the tsocks(1) and torify(1) manpages.
|
||||
|
||||
TSOCKS_CONF_FILE=/etc/tor/tsocks.conf
|
||||
export TSOCKS_CONF_FILE
|
||||
exec tsocks "$@"
|
23
contrib/torify.1
Normal file
23
contrib/torify.1
Normal file
@ -0,0 +1,23 @@
|
||||
.TH torify 1 "" Feb-2004 ""
|
||||
.\" manual page by Peter Palfrader
|
||||
.SH NAME
|
||||
.LP
|
||||
torify \- wrapper for tsocks and tor
|
||||
|
||||
.SH SYNOPSIS
|
||||
\fBtorify\fP\ \fIapplication\fP\ [\fIapplication's\ arguments\fP]
|
||||
|
||||
.SH DESCRIPTION
|
||||
\fBtorify\fR is a simple wrapper that calls tsocks with a tor specific
|
||||
configuration file.
|
||||
|
||||
Tsocks itself is wrapper between the tsocks library and the application what
|
||||
you would like to run socksified.
|
||||
|
||||
Please note that since tsocks uses LD_PRELOAD this cannot be applied to suid
|
||||
binaries.
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR tor (1),
|
||||
.BR tsocks (1),
|
||||
.BR tsocks.conf (5).
|
7
contrib/tsocks-tor.conf
Normal file
7
contrib/tsocks-tor.conf
Normal file
@ -0,0 +1,7 @@
|
||||
# This is the configuration for libtsocks (transparent socks) for use
|
||||
# with tor, which is providing a socks server on port 9050 by default.
|
||||
#
|
||||
# See tsocks.conf(5) and torify(1) manpages.
|
||||
|
||||
server = 127.0.0.1
|
||||
server_port = 9050
|
Loading…
Reference in New Issue
Block a user