Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-08-17 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
-+-
 Reporter:  arma |  Owner:  (none)
 Type:  enhancement  | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tor-hs, hsdir, needs-proposal, 035   |  Actual Points:
  -roadmap-proposed, 035-removed-20180711,   |
  036-proposed   |
Parent ID:  #25955   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by traumschule):

 * parent:   => #25955


Comment:

 exciting!

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-08-17 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
-+-
 Reporter:  arma |  Owner:  (none)
 Type:  enhancement  | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tor-hs, hsdir, needs-proposal, 035   |  Actual Points:
  -roadmap-proposed, 035-removed-20180711,   |
  036-proposed   |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by teor):

 * keywords:
 tor-hs, hsdir, needs-proposal, 035-roadmap-proposed,
 035-removed-20180711
 =>
 tor-hs, hsdir, needs-proposal, 035-roadmap-proposed,
 035-removed-20180711, 036-proposed


Comment:

 I'm in favour of accepting the OnionDir flag in 0.3.6, updating torspec,
 and calling this ticket done.

 All of the other "hsdir" strings aren't likely to be seen by most users or
 relay operators.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-08-17 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
-+-
 Reporter:  arma |  Owner:  (none)
 Type:  enhancement  | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  tor-hs, hsdir, needs-proposal, 035   |  Actual Points:
  -roadmap-proposed, 035-removed-20180711|
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by traumschule):

 * keywords:  needs-proposal, 035-roadmap-proposed, 035-removed-20180711 =>
 tor-hs, hsdir, needs-proposal, 035-roadmap-proposed,
 035-removed-20180711


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-07-06 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
-+-
 Reporter:  arma |  Owner:  (none)
 Type:  enhancement  | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.5.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  035-proposed needs-proposal  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-

Comment (by teor):

 Replying to [comment:5 dgoulet]:
 > Datapoints. From `tor-spec.txt`, the protover names:
 >
 > {{{
 > 9.4. "HSIntro"
 > 9.5. "HSRend"
 > 9.6. "HSDir"
 > }}}
 >
 > Hidden service consensus params:
 >
 > {{{
 > "hs_intro_min_introduce2"
 > "hs_intro_max_introduce2"
 > "hs_intro_min_lifetime"
 > "hs_intro_max_lifetime"
 > "hs_intro_num_extra"
 > "hsdir_interval"
 > "hsdir_n_replicas"
 > "hsdir_spread_fetch"
 > "hsdir_spread_store"
 > "HSV3MaxDescriptorSize"
 > "hs_service_max_rdv_failures"
 > }}}

 Let's change the protover names at the same time, and then call it done?
 (The protover names appear in descriptors and in consensus-health, but the
 C function names do not.)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-07-05 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
-+-
 Reporter:  arma |  Owner:  (none)
 Type:  enhancement  | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.5.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  035-proposed needs-proposal  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-

Comment (by arma):

 dgoulet asked today how much I want this in 0.3.5. Given that it's a two
 line patch to start, and it's already been written, it seems worth
 continuing to consider for 0.3.5. :)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-05-23 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
-+-
 Reporter:  arma |  Owner:  (none)
 Type:  enhancement  | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.5.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  035-proposed needs-proposal  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-

Comment (by dgoulet):

 Datapoints. From `tor-spec.txt`, the protover names:

 {{{
 9.4. "HSIntro"
 9.5. "HSRend"
 9.6. "HSDir"
 }}}

 Hidden service consensus params:

 {{{
 "hs_intro_min_introduce2"
 "hs_intro_max_introduce2"
 "hs_intro_min_lifetime"
 "hs_intro_max_lifetime"
 "hs_intro_num_extra"
 "hsdir_interval"
 "hsdir_n_replicas"
 "hsdir_spread_fetch"
 "hsdir_spread_store"
 "HSV3MaxDescriptorSize"
 "hs_service_max_rdv_failures"
 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-05-23 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
-+-
 Reporter:  arma |  Owner:  (none)
 Type:  enhancement  | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.5.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  035-proposed needs-proposal  |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * keywords:   => 035-proposed needs-proposal
 * milestone:   => Tor: 0.3.5.x-final


Comment:

 If we do this, we might want to consider doing it as part of a more
 general planned strings-revamp in our directory documents.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-05-22 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
--+
 Reporter:  arma  |  Owner:  (none)
 Type:  enhancement   | Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by teor):

 Replying to [comment:2 arma]:
 > An interesting side note: there is a protocol version named HSDir too.
 We could leave that one alone, for historical reasons, or we could start
 understanding a synonym OnionDir protocol version too. There might be a
 bit more code changes on that one.

 I think we should make sure that all references to HSDir have a plan to
 migrate to OnionDir.
 But we don't need to do them all in this ticket. (For example, there is
 already a ticket to alias the HS options.)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-05-22 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
--+
 Reporter:  arma  |  Owner:  (none)
 Type:  enhancement   | Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by arma):

 An interesting side note: there is a protocol version named HSDir too. We
 could leave that one alone, for historical reasons, or we could start
 understanding a synonym OnionDir protocol version too. There might be a
 bit more code changes on that one.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-05-22 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
--+
 Reporter:  arma  |  Owner:  (none)
 Type:  enhancement   | Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by arma):

 Here is I think the patch we want for step 1. (patch on maint-0.2.9 so it
 will last the longest)
 {{{
 diff --git a/src/or/routerparse.c b/src/or/routerparse.c
 index 521e237..f72e995 100644
 --- a/src/or/routerparse.c
 +++ b/src/or/routerparse.c
 @@ -2948,6 +2948,8 @@ routerstatus_parse_entry_from_string(memarea_t
 *area,
  rs->is_unnamed = 1;
} else if (!strcmp(tok->args[i], "HSDir")) {
  rs->is_hs_dir = 1;
 +  } else if (!strcmp(tok->args[i], "OnionDir")) {
 +rs->is_hs_dir = 1;
} else if (!strcmp(tok->args[i], "V2Dir")) {
  rs->is_v2_dir = 1;
}
 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #26168 [Core Tor/Tor]: Rename HSDir consensus flag to OnionDir

2018-05-22 Thread Tor Bug Tracker & Wiki
#26168: Rename HSDir consensus flag to OnionDir
--+
 Reporter:  arma  |  Owner:  (none)
 Type:  enhancement   | Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:
 Severity:  Normal|   Keywords:
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+
 Over time, nobody is going to know what an HSDir is. Eventually we will
 want to use a more understandable name. I propose OnionDir.

 Step 1: Make clients able to parse the OnionDir flag, and they just treat
 it as a synonym for HSDir.

 Step 2: Wait a long time until all clients from before step 1 are gone.

 Step 3: Have dir auths start saying OnionDir instead of HSDir.

 (In the above plan, step 2 could take years. But I think it's still the
 simplest plan. The only real risk is if we somehow screw up with step 1,
 and don't notice the screw-up until we try step 3.)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs