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
</th>
70 {% for result in results %}
72 <td>{{ loop.index }}
</td>
73 <td>{{ result.cw }}
</td>
74 <td>{{ result.adv_bw }}
</td>
75 <td>{{ result.p_guard }}
</td>
76 <td>{{ result.p_middle }}
</td>
77 <td>{{ result.p_exit }}
</td>
78 <td>{{ result.nick }}
</td>
79 <!-- this happens when we do groupings-->
80 {% if
"relays" in result.fp %}
81 <td>{{ result.fp }}
</td>
83 <td><a href=
"https://atlas.torproject.org/#details/{{
84 result.fp }}">{{ result.fp[:
8] }}
</a></td>
86 <td>{{ result.exit }}
</td>
87 <td>{{ result.guard }}
</td>
88 <td>{{ result.cc }}
</td>
89 <td>{{ result.as_info }}
</td>
94 <p><a class=
"btn btn-primary btn-large" href=
"{{
95 url_for('index') }}">Back
«</a></p>
101 The Tor Project -
2012<br>
102 <a href=
"https://gitweb.torproject.org/compass.git">Source code
</a> -
103 <a href=
"https://trac.torproject.org/projects/tor/newticket?component=Compass">Report a bug
</a> -
104 <a href=
"mailto:tor-assistants@lists.torproject.org">Contact
</a>
107 </div> <!-- /container -->
110 ================================================== -->
111 <!-- Placed at the end of the document so the pages load faster -->
113 <script src=
"{{ url_for('static', filename='js/jquery-1.8.0.min.js') }}"></script>
114 <script src=
"{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
115 <script src=
"{{ url_for('static', filename='js/custom.js') }}"></script>
116 <script src=
"{{ url_for('static', filename='js/bootstrap-tooltip.js') }}"></script>
119 $(document
).ready(function() {
121 $('span[rel=tooltip]').tooltip();
125 <script src="{{ url_for('static', filename='js/bootstrap-transition.js') }}"></script>
126 <script src="{{ url_for('static', filename='js/bootstrap-alert.js') }}"></script>
127 <script src="{{ url_for('static', filename='js/bootstrap-modal.js') }}"></script>
128 <script src="{{ url_for('static', filename='js/bootstrap-dropdown.js') }}"></script>
129 <script src="{{ url_for('static', filename='js/bootstrap-scrollspy.js') }}"></script>
130 <script src="{{ url_for('static', filename='js/bootstrap-tab.js') }}"></script>
131 <script src="{{ url_for('static', filename='js/bootstrap-popover.js') }}"></script>
132 <script src="{{ url_for('static', filename='js/bootstrap-button.js') }}"></script>
133 <script src="{{ url_for('static', filename='js/bootstrap-collapse.js') }}"></script>
134 <script src="{{ url_for('static', filename='js/bootstrap-carousel.js') }}"></script>
135 <script src="{{ url_for('static', filename='js/bootstrap-typeahead.js') }}"></script>