[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torspec/master] Add TOR_PT_OUTBOUND_BIND_ADDRESS support.



commit 654edcee5e5097a11989e6a42fee7259281e0f00
Author: Alexander Færøy <ahf@xxxxxxxxxxxxxx>
Date:   Sat May 18 17:31:47 2019 +0200

    Add TOR_PT_OUTBOUND_BIND_ADDRESS support.
    
    This patch adds support for the TOR_PT_OUTBOUND_BIND_ADDRESS variable to
    both PT proxies and servers.
    
    See: https://bugs.torproject.org/5304
---
 pt-spec.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/pt-spec.txt b/pt-spec.txt
index bd4aec6..8231597 100644
--- a/pt-spec.txt
+++ b/pt-spec.txt
@@ -217,6 +217,29 @@ Table of Contents
 
          TOR_PT_EXIT_ON_STDIN_CLOSE=1
 
+     "TOR_PT_OUTBOUND_BIND_ADDRESS"
+
+       Specifies an IP address that the PT proxy or server SHOULD use as source
+       address for outgoing IP connections. This feature allows people with multiple
+       network interfaces to specify explicitly which interface they prefer the PT to
+       use.
+
+       If this value is unset or empty the PT MUST use the default source
+       address for outgoing connections.
+
+       This setting MUST be ignored for connections to
+       loopback addresses (127.0.0.0/8 and [::1]).
+
+       IPv6 addresses MUST always be wrapped in square brackets.
+
+       Example with IPv4:
+
+         TOR_PT_OUTBOUND_BIND_ADDRESS=203.0.113.4
+
+       Example with IPv6:
+
+         TOR_PT_OUTBOUND_BIND_ADDRESS=[2001:db8::4]
+
 3.2.2. Pluggable Transport Client Environment Variables
 
    Client-side Pluggable Transport forward proxies are configured



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits