Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#6377 closed defect (fixed)

Allow config option TestingTorNetwork if AlternateDirAuthority is set

Reported by: ln5 Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Keywords: tor-relay
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We don't allow TestingTorNetwork to be set if DirServer is not set.
We should allow it if AlternateDirAuthority is set.

Child Tickets

Change History (7)

comment:1 Changed 8 years ago by ln5

Status: newneeds_review

Branch bug6377 in my public repo should fix this.

comment:2 Changed 8 years ago by nickm

Milestone: Tor: unspecified

This probably wants to be on maint-0.2.3 if it's needed for testing?

It needs a changes file.

I'm not too sure that I understand the rationale, and that it's truly safe: Is it really a good idea to let testing networks talk to real Bridge authorities?

comment:3 in reply to:  2 ; Changed 8 years ago by ln5

Replying to nickm:

This probably wants to be on maint-0.2.3 if it's needed for testing?

That could be helpful, yes.

It needs a changes file.

Added, see branch bug6377_rebased2 in my repo.

I'm not too sure that I understand the rationale, and that it's truly safe: Is it really a good idea to let testing networks talk to real Bridge authorities?

You are right, it's not. Changed it to require both
AlternateDirAuthority and AlternateBridgeAuthority, see branch
bug6377_rebased2.

Question is of course if it's wise to let testing networks talk to
real HS authorities. I don't know.

Hmm. It'd be sweet if we could accept AlternateDirAuthority with the
"hs" flag set as the equivalent of AlternateHSAuthority being set.

comment:4 in reply to:  3 Changed 8 years ago by rransom

Replying to ln5:

Question is of course if it's wise to let testing networks talk to
real HS authorities. I don't know.

‘HS authorities’ are not used at all by Tor 0.2.2.x and later.

comment:5 Changed 8 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Cherry-picked into 0.2.3.x; thanks!

comment:6 Changed 7 years ago by nickm

Keywords: tor-relay added

comment:7 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.