Split the TOR_PT_OUTBOUND_BIND_ADDRESS into a V4/V6 variant.

This commit is contained in:
Alexander Færøy 2019-05-21 12:30:15 +02:00 committed by David Goulet
parent 64b6ae71ab
commit 406e416429

View File

@ -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).
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.
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 ([::1]).
IPv6 addresses MUST always be wrapped in square brackets.
Example with IPv4:
Example::
TOR_PT_OUTBOUND_BIND_ADDRESS=203.0.113.4
Example with IPv6:
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