12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- {% extends "base.html" %}
- {% block content %}
- <h2>What is this?</h2>
- <p>This tool allows you to find "good" peerings
- for <a href="https://dn42.net">dn42</a>, by measuring the latency from
- various points in the network towards you.</p>
- <p>If you don't know what dn42 is,
- read <a href="https://dn42.net/Home">the website</a> and in particular
- the <a href="https://dn42.net/Getting-started-with-dn42">Getting Started
- guide</a>.</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|not_dn42 }}"/>
- <span style="margin-left: 1em;"><strong>Note:</strong> the target may block or rate-limit ICMP (e.g. Fritz!Box routers)</span><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 %}
|