123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {% extends "base.html" %}
- {% block content %}
- <h2>What is this?</h2>
- <p>This tool allows you to find "good" peerings for dn42, by measuring the
- latency from various points in the network towards you.</p>
- <h2>How does it work?</h2>
- <p>
- <ol>
- <li>you enter your (Internet) IP address or hostname</li>
- <li>various routers participating in dn42 will ping you over the Internet</li>
- <li>after a short while, you get back all the latency results</li>
- <li>you can then peer with people close to you (low latency)</li>
- </ol>
- </p>
- <h3>Launch a measurement</h3>
- <p>
- <form action="/submit" method="POST">
- <label for="target">Target:</label>
- <input type="text" name="target" id="target" value="{{ request.remote_addr|ipaddress_pp }}"/><br />
- <input type="checkbox" id="public" name="public" />
- <label for="public">Public?</label><br />
- <input type="submit" value="Launch" />
- </form>
- </p>
- <p>If you mark your measurement as public, it will be displayed on the
- home page below. Note that the IP addresses of the target will be shown
- alongside the result.</p>
- <h2>Recent measurements</h2>
- <table>
- <tr>
- <th>Date</th>
- <th>Target</th>
- <th>Result</th>
- </tr>
- {% for t in targets %}
- <tr>
- <td>{{ t.submitted.strftime('%Y-%m-%d %H:%M') }}</td>
- <td>{{ t.get_ip() }}</td>
- <td><a href="/result/show/{{ t.unique_id }}">View result</a></td>
- </tr>
- {% endfor %}
- </table>
- {% endblock %}
|