[tor-bugs] #13504 [Applications/Tor Browser]: Bridges in Tor Browser Bundles should be public so that we have metrics on them

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 13 05:38:55 UTC 2016


#13504: Bridges in Tor Browser Bundles should be public so that we have metrics on
them
--------------------------------------------------+------------------------
 Reporter:  isis                                  |          Owner:  isis
     Type:  defect                                |         Status:  closed
 Priority:  Medium                                |      Milestone:
Component:  Applications/Tor Browser              |        Version:
 Severity:  Normal                                |     Resolution:  fixed
 Keywords:  tbb-bridges, tbb-pref, bridgedb-dist  |  Actual Points:
Parent ID:                                        |         Points:
 Reviewer:                                        |        Sponsor:
--------------------------------------------------+------------------------
Changes (by dcf):

 * status:  new => closed
 * resolution:   => fixed
 * severity:   => Normal


Comment:

 I think that all the default bridges report metrics these days. The three
 listed in comment:2 have been removed.

 I hacked attachment:check-bundled-bridges-are-public.sh to only look at
 current bridges. The only "no" output was for mercurius4,
 104.131.108.182:56880, and I think it's because it's not running.

 {{{
 #!/bin/bash

 cat Bundle-Data/PTConfigs/bridge_prefs.js | \
     grep '^pref("extensions\.torlauncher\.default_bridge\.' | cut -d ' '
 -f 2- | sed -e 's/");//' | sed -e 's/"//' | \
     sort | uniq > bundled-bridges.txt

 if ! test -f "bundled-bridges-details" ; then
     torsocks curl -o bundled-bridges-details \
 "https://onionoo.torproject.org/details?type=bridge&fields=hashed_fingerprint"
 fi

 for fpr in `cat bundled-bridges.txt | cut -d ' ' -f 3-3 | sort | uniq`; do
     hashedfpr=`python3 -c "import
 hashlib,binascii;print(hashlib.sha1(binascii.a2b_hex('$fpr')).hexdigest().upper());"`
     public=`grep -i $hashedfpr bundled-bridges-details`
     bridgeline=`grep -i $fpr bundled-bridges.txt`
     printf "%s\n" "$bridgeline"
     printf "%s -> %s" "$fpr" "$hashedfpr "
     if test -n "$public" ; then
         printf "yes\n\n"
     else
         printf "no\n\n"
     fi
 done
 }}}

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


More information about the tor-bugs mailing list