[tor-bugs] #12442 [Tor]: Bridges should put their "transport" lines in their main descriptor, not extra-info desc

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 23 08:41:47 UTC 2014


#12442: Bridges should put their "transport" lines in their main descriptor, not
extra-info desc
-------------------------+-------------------------------------------------
     Reporter:  arma     |      Owner:
         Type:           |     Status:  new
  enhancement            |  Milestone:  Tor: 0.2.6.x-final
     Priority:  normal   |    Version:
    Component:  Tor      |   Keywords:  tor-bridge, maybe-proposal,
   Resolution:           |  bridgedb-parsers
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by karsten):

 Replying to [ticket:12442 arma]:
 > The only drawback I see is that it's a bit less secret what your
 transports are. But I think the extrainfo descriptor is served to anybody
 who asks for it, so it's not a secret now anyway from people who can fetch
 your main descriptor.

 I thought the bridge authority doesn't give out extra-info descriptors:

 https://gitweb.torproject.org/tor.git/blob/HEAD:/src/or/directory.c#l2847

 {{{
   if (!strcmpstart(url,"/tor/server/") ||
       (!options->BridgeAuthoritativeDir &&
        !options->BridgeRelay && !strcmpstart(url,"/tor/extra/"))) {
     /* ... */
   }
 }}}

 Just saying.  I don't feel strongly about whether additional transport
 lines should be kept secret from the users of a bridge.  Something for the
 PT people to decide.

 > Another option is to start putting the transport line in *both* places
 for a while, so people who parse these things (e.g. Karsten) have more
 time to transition. Seems better just to identify all the people who parse
 these things, get them to prepare for it, and then just move the transport
 lines.

 The only place where I'm handling these lines is in CollecTor when
 sanitizing bridge descriptors.  I'd appreciate a heads-up of, say, 72
 hours before the bridge authority starts accepting server descriptors with
 transport lines.  For example, let me know when the patch is merged but
 before we ask Lucky to upgrade Tonga.  Thanks!

 Including transport lines in both server and extra-info descriptors is not
 necessary, IMO.  Feel free to ask on tor-dev@ if anybody else uses these
 lines.

 > Then in the distant future, places like bridgedb can stop needing the
 extrainfo descriptors too.

 Making things simpler is always a good plan.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12442#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list