diff options
author | Alexander Færøy <ahf@torproject.org> | 2019-05-21 12:30:15 +0200 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-10-06 09:32:28 -0400 |
commit | 406e41642938f7f17abd186d85fd97a0877bd617 (patch) | |
tree | 0778c69d914a6d4b397f418687a36e9f371c2442 /pt-spec.txt | |
parent | 64b6ae71ab362d052d38d75a6bfb5af93f8af6a0 (diff) | |
download | torspec-406e41642938f7f17abd186d85fd97a0877bd617.tar.gz torspec-406e41642938f7f17abd186d85fd97a0877bd617.zip |
Split the TOR_PT_OUTBOUND_BIND_ADDRESS into a V4/V6 variant.
Diffstat (limited to 'pt-spec.txt')
-rw-r--r-- | pt-spec.txt | 34 |
1 files 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 |