6 <title>Tor Metrics
</title>
7 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
8 <meta name=
"description" content=
"Tor relay stats">
9 <meta name=
"author" content=
"Sathyanarayanan Gunasekaran">
12 <link href=
"{{ url_for('static', filename='css/bootstrap.css') }}" rel=
"stylesheet">
13 <style type=
"text/css">
20 <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
22 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
28 <div class=
"navbar navbar-fixed-top">
29 <div class=
"navbar-inner">
30 <div class=
"container">
31 <a class=
"btn btn-navbar" data-toggle=
"collapse" data-target=
".nav-collapse">
32 <span class=
"icon-bar"></span>
33 <span class=
"icon-bar"></span>
34 <span class=
"icon-bar"></span>
36 <a class=
"brand" href=
"{{
37 url_for('index') }}">Tor Metrics
</a>
38 <div class=
"nav-collapse">
40 <li class=
"active"><a href=
"{{
41 url_for('index') }}">Home
</a></li>
42 <li><a href=
"https://trac.torproject.org/projects/tor/ticket/6498">Trac
45 </div><!--/.nav-collapse -->
50 <div class=
"container">
51 <div class=
"hero-unit">
52 <table class=
"table table-striped table-condensed table-hover table-bordered">
56 <th><span rel=
"tooltip" title=
"Relative bandwidth weight assigned to this relay by the directory authorities">Consensus Weights
</span></th>
57 <th><span rel=
"tooltip" title=
"Relative advertised bandwidth of this relay compared to the total advertised bandwidth in the network">Advertised Bandwidth
</span></th>
58 <th><span rel=
"tooltip" title=
" Probability of this relay to be selected for the guard position">Guard Probability
</span></th>
59 <th><span rel=
"tooltip" title=
"Probability of this relay to be selected for the middle position">Middle Probability
</span></th>
60 <th><span rel=
"tooltip" title=
"Probability of this relay to be selected for the exit position">Exit Probability
</span></th>
66 <th>Autonomous System Number
</th>
67 <th>Autonomous System Name
</th>
71 {% for result in results %}
73 <td>{{ loop.index }}
</td>
74 <td>{{ result.cw }}
</td>
75 <td>{{ result.adv_bw }}
</td>
76 <td>{{ result.p_guard }}
</td>
77 <td>{{ result.p_middle }}
</td>
78 <td>{{ result.p_exit }}
</td>
79 <td>{{ result.nick }}
</td>
80 <!-- this happens when we do groupings-->
81 {% if
"relays" in result.fp %}
82 <td>{{ result.fp }}
</td>
84 <td><a href=
"https://atlas.torproject.org/#details/{{
85 result.fp }}">{{ result.fp[:
8] }}
</a></td>
87 <td>{{ result.exit }}
</td>
88 <td>{{ result.guard }}
</td>
89 <td>{{ result.cc }}
</td>
90 <td>{{ result.as_no }}
</td>
91 <td>{{ result.as_name }}
</td>
96 <p><a class=
"btn btn-primary btn-large" href=
"{{
97 url_for('index') }}">Back
«</a></p>
103 The Tor Project -
2012<br>
104 <a href=
"https://gitweb.torproject.org/compass.git">Source code
</a> -
105 <a href=
"https://trac.torproject.org/projects/tor/newticket?component=Compass">Report a bug
</a> -
106 <a href=
"mailto:tor-assistants@lists.torproject.org">Contact
</a>
109 </div> <!-- /container -->
112 ================================================== -->
113 <!-- Placed at the end of the document so the pages load faster -->
115 <script src=
"{{ url_for('static', filename='js/jquery-1.8.0.min.js') }}"></script>
116 <script src=
"{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
117 <script src=
"{{ url_for('static', filename='js/custom.js') }}"></script>
118 <script src=
"{{ url_for('static', filename='js/bootstrap-tooltip.js') }}"></script>
121 $(document
).ready(function() {
123 $('span[rel=tooltip]').tooltip();
127 <script src="{{ url_for('static', filename='js/bootstrap-transition.js') }}"></script>
128 <script src="{{ url_for('static', filename='js/bootstrap-alert.js') }}"></script>
129 <script src="{{ url_for('static', filename='js/bootstrap-modal.js') }}"></script>
130 <script src="{{ url_for('static', filename='js/bootstrap-dropdown.js') }}"></script>
131 <script src="{{ url_for('static', filename='js/bootstrap-scrollspy.js') }}"></script>
132 <script src="{{ url_for('static', filename='js/bootstrap-tab.js') }}"></script>
133 <script src="{{ url_for('static', filename='js/bootstrap-popover.js') }}"></script>
134 <script src="{{ url_for('static', filename='js/bootstrap-button.js') }}"></script>
135 <script src="{{ url_for('static', filename='js/bootstrap-collapse.js') }}"></script>
136 <script src="{{ url_for('static', filename='js/bootstrap-carousel.js') }}"></script>
137 <script src="{{ url_for('static', filename='js/bootstrap-typeahead.js') }}"></script>