mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
parseconf: Add an authority IPv6 ORPort test
These tests don't actually exercise the authority IPv6 ORPort self-add feature in 32822, but they do improve coverage of the related config code. Part of 32822.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
This tor was built with dirauth mode disabled.
|
||||
@@ -0,0 +1 @@
|
||||
This tor was built with dirauth mode disabled.
|
||||
@@ -0,0 +1,9 @@
|
||||
Address 192.0.2.1
|
||||
AuthoritativeDirectory 1
|
||||
ContactInfo tor_parse_test@example.net
|
||||
DirPort 192.0.2.1:2
|
||||
DownloadExtraInfo 1
|
||||
Nickname Unnamed
|
||||
ORPort 192.0.2.1:1
|
||||
ORPort [2001:DB8::1]:3
|
||||
V3AuthoritativeDirectory 1
|
||||
@@ -0,0 +1 @@
|
||||
Read configuration file .*dirauth_3[./]*torrc
|
||||
@@ -0,0 +1,13 @@
|
||||
# Authority with IPv6 address
|
||||
|
||||
AuthoritativeDirectory 1
|
||||
V3AuthoritativeDirectory 1
|
||||
|
||||
ContactInfo tor_parse_test@example.net
|
||||
|
||||
Address 192.0.2.1
|
||||
|
||||
ORPort 192.0.2.1:1
|
||||
DirPort 192.0.2.1:2
|
||||
|
||||
ORPort [2001:DB8::1]:3
|
||||
Reference in New Issue
Block a user