diff options
author | David Goulet <dgoulet@torproject.org> | 2020-07-21 07:57:21 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-07-21 08:18:31 -0400 |
commit | c3d113a464d4f2e994ae6d1c876875b542f90d5c (patch) | |
tree | 595579453519713c3c07682aa2c4482be052aa39 /src/app/config/config.c | |
parent | f5d773c600e9902f053d03f47b7812bd1f4796b7 (diff) | |
download | tor-c3d113a464d4f2e994ae6d1c876875b542f90d5c.tar.gz tor-c3d113a464d4f2e994ae6d1c876875b542f90d5c.zip |
relay: Add AddressDisableIPv6 torrc option
This option controls if a tor relay will attempt address auto discovery and
thus ultimately publish an IPv6 ORPort in the descriptor.
Behavior is from proposal 312 section 3.2.6.
Closes #33245
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r-- | src/app/config/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c index 7d147ef456..9e7d1179ba 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -315,6 +315,7 @@ static const config_var_t option_vars_[] = { VAR("AccountingRule", STRING, AccountingRule_option, "max"), V(AccountingStart, STRING, NULL), V(Address, LINELIST, NULL), + V(AddressDisableIPv6, BOOL, "0"), OBSOLETE("AllowDotExit"), OBSOLETE("AllowInvalidNodes"), V(AllowNonRFC953Hostnames, BOOL, "0"), |