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

[tor-commits] [torspec/master] Split the TOR_PT_OUTBOUND_BIND_ADDRESS into a V4/V6 variant.



commit 406e41642938f7f17abd186d85fd97a0877bd617
Author: Alexander Færøy <ahf@xxxxxxxxxxxxxx>
Date:   Tue May 21 12:30:15 2019 +0200

    Split the TOR_PT_OUTBOUND_BIND_ADDRESS into a V4/V6 variant.
---
 pt-spec.txt | 34 ++++++++++++++++++++++++----------
 1 file changed, 24 insertions(+), 10 deletions(-)

diff --git a/pt-spec.txt b/pt-spec.txt
index 0a8548f..5fefff1 100644
--- a/pt-spec.txt
+++ b/pt-spec.txt
@@ -217,27 +217,41 @@ Table of Contents
 
          TOR_PT_EXIT_ON_STDIN_CLOSE=1
 
-     "TOR_PT_OUTBOUND_BIND_ADDRESS"
+     "TOR_PT_OUTBOUND_BIND_ADDRESS_V4"
 
-       Specifies an IP address that the PT proxy SHOULD use as source address for
-       outgoing IP packets. This feature allows people with multiple network
-       interfaces to specify explicitly which interface they prefer the PT proxy to use.
+       Specifies an IPv4 IP address that the PT proxy SHOULD use as source address for
+       outgoing IPv4 IP packets. This feature allows people with multiple network
+       interfaces to specify explicitly which interface they prefer the PT proxy to
+       use.
 
        If this value is unset or empty, the PT proxy 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]).
+       loopback addresses (127.0.0.0/8).
 
-       IPv6 addresses MUST always be wrapped in square brackets.
+       Example:
+
+         TOR_PT_OUTBOUND_BIND_ADDRESS_V4=203.0.113.4
+
+     "TOR_PT_OUTBOUND_BIND_ADDRESS_V6"
+
+       Specifies an IPv6 IP address that the PT proxy SHOULD use as source address for
+       outgoing IPv6 IP packets. This feature allows people with multiple network
+       interfaces to specify explicitly which interface they prefer the PT proxy to
+       use.
 
-       Example with IPv4:
+       If this value is unset or empty, the PT proxy MUST use the default source
+       address for outgoing connections.
 
-         TOR_PT_OUTBOUND_BIND_ADDRESS=203.0.113.4
+       This setting MUST be ignored for connections to
+       loopback addresses ([::1]).
+
+       IPv6 addresses MUST always be wrapped in square brackets.
 
-       Example with IPv6:
+       Example::
 
-         TOR_PT_OUTBOUND_BIND_ADDRESS=[2001:db8::4]
+         TOR_PT_OUTBOUND_BIND_ADDRESS_V6=[2001:db8::4]
 
 3.2.2. Pluggable Transport Client Environment Variables
 



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