[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs