mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 15:42:34 +01:00
This caused my attempt to fix hs_config/valid_service_v2 to fail
_again_. Third time's the charm?
This commit is contained in:
parent
bb66a48541
commit
b9ad49844b
1 changed files with 5 additions and 5 deletions
|
@ -266,7 +266,7 @@ test_valid_service_v2(void *arg)
|
||||||
"HiddenServiceVersion 2\n"
|
"HiddenServiceVersion 2\n"
|
||||||
"HiddenServicePort 80\n"
|
"HiddenServicePort 80\n"
|
||||||
"HiddenServicePort 22 localhost:22\n"
|
"HiddenServicePort 22 localhost:22\n"
|
||||||
#ifndef HAVE_SYS_UN_H
|
#ifdef HAVE_SYS_UN_H
|
||||||
"HiddenServicePort 42 unix:/path/to/socket\n"
|
"HiddenServicePort 42 unix:/path/to/socket\n"
|
||||||
#endif
|
#endif
|
||||||
"HiddenServiceAuthorizeClient basic alice,bob,eve\n"
|
"HiddenServiceAuthorizeClient basic alice,bob,eve\n"
|
||||||
|
@ -286,7 +286,7 @@ test_valid_service_v2(void *arg)
|
||||||
"HiddenServiceVersion 2\n"
|
"HiddenServiceVersion 2\n"
|
||||||
"HiddenServicePort 65535\n"
|
"HiddenServicePort 65535\n"
|
||||||
"HiddenServicePort 22 1.1.1.1:22\n"
|
"HiddenServicePort 22 1.1.1.1:22\n"
|
||||||
#ifndef HAVE_SYS_UN_H
|
#ifdef HAVE_SYS_UN_H
|
||||||
"HiddenServicePort 9000 unix:/path/to/socket\n"
|
"HiddenServicePort 9000 unix:/path/to/socket\n"
|
||||||
#endif
|
#endif
|
||||||
"HiddenServiceAuthorizeClient stealth charlie,romeo\n"
|
"HiddenServiceAuthorizeClient stealth charlie,romeo\n"
|
||||||
|
@ -370,7 +370,7 @@ test_valid_service_v3(void *arg)
|
||||||
"HiddenServiceVersion 3\n"
|
"HiddenServiceVersion 3\n"
|
||||||
"HiddenServicePort 80\n"
|
"HiddenServicePort 80\n"
|
||||||
"HiddenServicePort 22 localhost:22\n"
|
"HiddenServicePort 22 localhost:22\n"
|
||||||
#ifndef HAVE_SYS_UN_H
|
#ifdef HAVE_SYS_UN_H
|
||||||
"HiddenServicePort 42 unix:/path/to/socket\n"
|
"HiddenServicePort 42 unix:/path/to/socket\n"
|
||||||
#endif
|
#endif
|
||||||
"HiddenServiceAllowUnknownPorts 1\n"
|
"HiddenServiceAllowUnknownPorts 1\n"
|
||||||
|
@ -389,7 +389,7 @@ test_valid_service_v3(void *arg)
|
||||||
"HiddenServiceVersion 3\n"
|
"HiddenServiceVersion 3\n"
|
||||||
"HiddenServicePort 65535\n"
|
"HiddenServicePort 65535\n"
|
||||||
"HiddenServicePort 22 1.1.1.1:22\n"
|
"HiddenServicePort 22 1.1.1.1:22\n"
|
||||||
#ifndef HAVE_SYS_UN_H
|
#ifdef HAVE_SYS_UN_H
|
||||||
"HiddenServicePort 9000 unix:/path/to/socket\n"
|
"HiddenServicePort 9000 unix:/path/to/socket\n"
|
||||||
#endif
|
#endif
|
||||||
"HiddenServiceAllowUnknownPorts 0\n"
|
"HiddenServiceAllowUnknownPorts 0\n"
|
||||||
|
@ -440,7 +440,7 @@ test_staging_service_v3(void *arg)
|
||||||
"HiddenServiceVersion 3\n"
|
"HiddenServiceVersion 3\n"
|
||||||
"HiddenServicePort 65535\n"
|
"HiddenServicePort 65535\n"
|
||||||
"HiddenServicePort 22 1.1.1.1:22\n"
|
"HiddenServicePort 22 1.1.1.1:22\n"
|
||||||
#ifndef HAVE_SYS_UN_H
|
#ifdef HAVE_SYS_UN_H
|
||||||
"HiddenServicePort 9000 unix:/path/to/socket\n"
|
"HiddenServicePort 9000 unix:/path/to/socket\n"
|
||||||
#endif
|
#endif
|
||||||
"HiddenServiceAllowUnknownPorts 0\n"
|
"HiddenServiceAllowUnknownPorts 0\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue