mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
test/parseconf: Add tests for ignored options
These tests will also pass on 0.4.3, with the original implementation, and with the new implementation in 32404. Part of 32295 and 32404.
This commit is contained in:
parent
2ee04fc309
commit
9be51e8a8e
4 changed files with 70 additions and 0 deletions
0
src/test/conf_examples/obsolete_1/expected
Normal file
0
src/test/conf_examples/obsolete_1/expected
Normal file
68
src/test/conf_examples/obsolete_1/torrc
Normal file
68
src/test/conf_examples/obsolete_1/torrc
Normal file
|
@ -0,0 +1,68 @@
|
|||
# These options are obsolete as of 0.4.2
|
||||
AllowDotExit
|
||||
AllowInvalidNodes
|
||||
AllowSingleHopCircuits
|
||||
AllowSingleHopExits
|
||||
AlternateHSAuthority
|
||||
AuthDirBadDir
|
||||
AuthDirBadDirCCs
|
||||
AuthDirRejectUnlisted
|
||||
AuthDirListBadDirs
|
||||
AuthDirMaxServersPerAuthAddr
|
||||
CircuitIdleTimeout
|
||||
ControlListenAddress
|
||||
DirListenAddress
|
||||
DisableIOCP
|
||||
DisableV2DirectoryInfo_
|
||||
DynamicDHGroups
|
||||
DNSListenAddress
|
||||
TestingEnableTbEmptyEvent
|
||||
ExcludeSingleHopRelays
|
||||
FallbackNetworkstatusFile
|
||||
FastFirstHopPK
|
||||
FetchV2Networkstatus
|
||||
Group
|
||||
HidServDirectoryV2
|
||||
CloseHSClientCircuitsImmediatelyOnTimeout
|
||||
CloseHSServiceRendCircuitsImmediatelyOnTimeout
|
||||
MaxOnionsPending
|
||||
NamingAuthoritativeDirectory
|
||||
NATDListenAddress
|
||||
PredictedPortsRelevanceTime
|
||||
WarnUnsafeSocks
|
||||
ORListenAddress
|
||||
PathBiasDisableRate
|
||||
PathBiasScaleFactor
|
||||
PathBiasMultFactor
|
||||
PathBiasUseCloseCounts
|
||||
PortForwarding
|
||||
PortForwardingHelper
|
||||
PreferTunneledDirConns
|
||||
RecommendedPackages
|
||||
RunTesting
|
||||
SchedulerLowWaterMark__
|
||||
SchedulerHighWaterMark__
|
||||
SchedulerMaxFlushCells__
|
||||
SocksListenAddress
|
||||
StrictEntryNodes
|
||||
StrictExitNodes
|
||||
Support022HiddenServices
|
||||
Tor2webMode
|
||||
Tor2webRendezvousPoints
|
||||
TLSECGroup
|
||||
TransListenAddress
|
||||
TunnelDirConns
|
||||
UseEntryGuardsAsDirGuards
|
||||
UseNTorHandshake
|
||||
UserspaceIOCPBuffers
|
||||
V1AuthoritativeDirectory
|
||||
V2AuthoritativeDirectory
|
||||
VoteOnHidServDirectoriesV2
|
||||
UseFilteringSSLBufferevents
|
||||
__UseFilteringSSLBufferevents
|
||||
TestingConsensusMaxDownloadTries
|
||||
ClientBootstrapConsensusMaxDownloadTries
|
||||
ClientBootstrapConsensusAuthorityOnlyMaxDownloadTries
|
||||
TestingDescriptorMaxDownloadTries
|
||||
TestingMicrodescMaxDownloadTries
|
||||
TestingCertMaxDownloadTries
|
0
src/test/conf_examples/obsolete_2/expected
Normal file
0
src/test/conf_examples/obsolete_2/expected
Normal file
2
src/test/conf_examples/obsolete_2/torrc
Normal file
2
src/test/conf_examples/obsolete_2/torrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
# This option has been obsolete for some time
|
||||
AllowDotExit
|
Loading…
Add table
Reference in a new issue