[tor-bugs] #15035 [Applications/Orbot]: URI format for bridges

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 20 11:44:43 UTC 2019


#15035: URI format for bridges
--------------------------------+-----------------------
 Reporter:  eighthave           |          Owner:  n8fr8
     Type:  task                |         Status:  new
 Priority:  Medium              |      Milestone:
Component:  Applications/Orbot  |        Version:
 Severity:  Normal              |     Resolution:
 Keywords:  uri, url, bridge    |  Actual Points:
Parent ID:  #28015              |         Points:
 Reviewer:                      |        Sponsor:
--------------------------------+-----------------------

Comment (by eighthave):

 I updated the URL parsing stuff to also handle non-PT bridges with no
 _transport_.

 Here is how Tor Browser handles incoming Bridges config (from GeKo):
 https://gitweb.torproject.org/tor-launcher.git/tree/src/components/tl-
 protocol.js#n379
 > what we are doing is `TorSetConf()`, the key is "Bridge" and the value
 is an array with the bridge lines you got, (that's part of
 `aSettingsObj`). Part of `aSettingsObj` in that case is `UseBridges: true`
 as well.  This is then sent to tor via a `SETCONF` command.  The resulting
 changes are written to disk in your tor browser dir at
 Browser/TorBrowser/Data/Tor/torrc.

 Here's an Android utility class for working with these:
 https://github.com/guardianproject/AndroidPluggableTransports/pull/15

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


More information about the tor-bugs mailing list