]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
doc: Add TCPProxy option
authorSuphanat Chunhapanya <haxx.pop@gmail.com>
Tue, 20 Aug 2019 08:18:24 +0000 (16:18 +0800)
committerSuphanat Chunhapanya <haxx.pop@gmail.com>
Thu, 17 Oct 2019 07:33:16 +0000 (15:33 +0800)
TCPProxy is used for proxying all outgoing OR connections through some
proxy with the protocol specified in the option.

doc/tor.1.txt

index 06bf022b158f3ae4b044d69b491912d1b69fd903..5bcb6ec2bdc05665ba5668ce820aa80fe44d7a32 100644 (file)
@@ -647,6 +647,22 @@ GENERAL OPTIONS
     in accordance to RFC 1929. Both username and password must be between 1 and
     255 characters.
 
+[[TCPProxy]] **TCPProxy** __protocol__ __host__:__port__::
+       Tor will use the given protocol to make all its OR (SSL) connections through
+       a TCP proxy on host:port, rather than connecting directly to servers. You may
+       want to set **FascistFirewall** to restrict the set of ports you might try to
+       connect to, if your proxy only allows connecting to certain ports. There is no
+       equivalent option for directory connections, because all Tor client versions
+       that support this option download directory documents via OR connections. +
++
+       The only protocol supported right now 'haproxy'. This option is only for
+       clients. (Default: none) +
++
+       The HAProxy version 1 proxy protocol is described in detail at
+       https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt +
++
+       Both source IP address and source port will be set to zero.
+
 [[UnixSocksGroupWritable]] **UnixSocksGroupWritable** **0**|**1**::
     If this option is set to 0, don't allow the filesystem group to read and
     write unix sockets (e.g. SocksPort unix:). If the option is set to 1, make