Changeset 11181 for dotorg/trunk/html/beps/bep_0028.html
- Timestamp:
- 10/15/09 16:29:34 (5 months ago)
- Files:
-
- 1 modified
-
dotorg/trunk/html/beps/bep_0028.html (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotorg/trunk/html/beps/bep_0028.html
r11157 r11181 39 39 <tr class="field"><th class="field-name">Title:</th><td class="field-body">Tracker exchange extension</td> 40 40 </tr> 41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">111 56</td>42 </tr> 43 <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference " href="http://bittorrent.org/trac/browser/dotorg/trunk/html/beps/bep_0028.rst">2009-06-22 14:33:09 -0700 (Mon, 22 Jun2009)</a></td>41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">11180</td> 42 </tr> 43 <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference external" href="http://bittorrent.org/trac/browser/dotorg/trunk/html/beps/bep_0028.rst">2009-10-15 23:29:02 +0000 (Thu, 15 Oct 2009)</a></td> 44 44 </tr> 45 45 <tr class="field"><th class="field-name">Author:</th><td class="field-body">Arvid Norberg <arvid at bittorrent.com></td> … … 49 49 <tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td> 50 50 </tr> 51 <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference " href="http://www.bittorrent.org/beps/bep-0012">text/x-rst</a></td>51 <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference external" href="http://www.bittorrent.org/beps/bep-0012">text/x-rst</a></td> 52 52 </tr> 53 53 <tr class="field"><th class="field-name">Created:</th><td class="field-body">26-Nov-2008</td> 54 54 </tr> 55 <tr class="field"><th class="field-name">Post-History:</th><td class="field-body"> </td>55 <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">15-Oct-2009: Add a section on not hammering bad trackers</td> 56 56 </tr> 57 57 </tbody> … … 61 61 <p class="topic-title first">Contents</p> 62 62 <ul class="simple"> 63 <li><a class="reference " href="#tracker-exchange-extension" id="id8">Tracker exchange extension</a><ul>64 <li><a class="reference " href="#rationale" id="id9">rationale</a></li>63 <li><a class="reference internal" href="#tracker-exchange-extension" id="id8">Tracker exchange extension</a><ul> 64 <li><a class="reference internal" href="#rationale" id="id9">rationale</a></li> 65 65 </ul> 66 66 </li> 67 <li><a class="reference" href="#definitions" id="id10">definitions</a></li> 68 <li><a class="reference" href="#extension-header" id="id11">extension header</a></li> 69 <li><a class="reference" href="#extension-message" id="id12">extension message</a></li> 70 <li><a class="reference" href="#id1" id="id13">References</a></li> 67 <li><a class="reference internal" href="#definitions" id="id10">definitions</a></li> 68 <li><a class="reference internal" href="#extension-header" id="id11">extension header</a></li> 69 <li><a class="reference internal" href="#extension-message" id="id12">extension message</a></li> 70 <li><a class="reference internal" href="#trackers" id="id13">trackers</a></li> 71 <li><a class="reference internal" href="#id1" id="id14">References</a></li> 71 72 </ul> 72 73 </div> … … 81 82 about trackers that other peers are using:</p> 82 83 <ol class="arabic simple"> 83 <li>If the peer joined the swarm via a magnet link (<a class="reference " href="http://www.bittorrent.org/beps/bep_0009.html">BEP 9</a> <a class="footnote-reference" href="#id2" id="id3">[1]</a>), bootstrapping84 <li>If the peer joined the swarm via a magnet link (<a class="reference external" href="http://www.bittorrent.org/beps/bep_0009.html">BEP 9</a> <a class="footnote-reference" href="#id2" id="id3">[1]</a>), bootstrapping 84 85 by joining peers from the DHT. The number of peers that's accessable might 85 86 not be sufficient. Announcing with a tracker could make a significant … … 117 118 <h1>extension header</h1> 118 119 <p>The tracker exchange extension (TEX for short) uses the extension protocol 119 (specified in <a class="reference " href="http://www.bittorrent.org/beps/bep_0010.html">BEP 10</a> <a class="footnote-reference" href="#id4" id="id5">[2]</a>) to advertize support. It adds the "lt_tex" entry120 (specified in <a class="reference external" href="http://www.bittorrent.org/beps/bep_0010.html">BEP 10</a> <a class="footnote-reference" href="#id4" id="id5">[2]</a>) to advertize support. It adds the "lt_tex" entry 120 121 to the "m" dictionary in the extension header hand-shake message. This identifies 121 122 the message code used for this message. It also adds "tr" to the handshake message … … 134 135 <li>the hostname is made lower case</li> 135 136 <li>the path and argument components are quote-normalized. Any %-encoding 136 that decodes into an <tt class="docutils literal"><span class="pre">unreserved</span></tt> character (as defined by <a class="reference " href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a> <a class="footnote-reference" href="#id6" id="id7">[3]</a>)137 that decodes into an <tt class="docutils literal"><span class="pre">unreserved</span></tt> character (as defined by <a class="reference external" href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a> <a class="footnote-reference" href="#id6" id="id7">[3]</a>) 137 138 should be decoded. Any remaining encoded characters should use lower case 138 139 hex encoding. i.e. <tt class="docutils literal"><span class="pre">%ff</span></tt> instead of <tt class="docutils literal"><span class="pre">%FF</span></tt></li> … … 164 165 { 'added': ['http://tracker.bittorrent.com/announce', 'http://tracker2.bittorrent.com'] } 165 166 </pre> 167 </div> 168 <div class="section" id="trackers"> 169 <h1>trackers</h1> 170 <p>Trackers discovered through this protocol SHOULD be treated with a certain amount of 171 suspicion. Since the source of a tracker exchange message cannot be trusted, an 172 implementation SHOULD have a lower number of retries before giving up entirely.</p> 173 <p>Also, as specified under the <a class="reference internal" href="#definitions">definitions</a> section, a tracker that has not worked 174 should never be propagated to other peers over the tracker exchange protocol.</p> 166 175 <!-- Local Variables: 167 176 mode: indented-text … … 177 186 <colgroup><col class="label" /><col /></colgroup> 178 187 <tbody valign="top"> 179 <tr><td class="label"><a class="fn-backref" href="#id3">[1]</a></td><td><a class="reference " href="http://www.bittorrent.org/beps/bep_0009.html">http://www.bittorrent.org/beps/bep_0009.html</a></td></tr>188 <tr><td class="label"><a class="fn-backref" href="#id3">[1]</a></td><td><a class="reference external" href="http://www.bittorrent.org/beps/bep_0009.html">http://www.bittorrent.org/beps/bep_0009.html</a></td></tr> 180 189 </tbody> 181 190 </table> … … 183 192 <colgroup><col class="label" /><col /></colgroup> 184 193 <tbody valign="top"> 185 <tr><td class="label"><a class="fn-backref" href="#id5">[2]</a></td><td><a class="reference " href="http://www.bittorrent.org/beps/bep_0010.html">http://www.bittorrent.org/beps/bep_0010.html</a></td></tr>194 <tr><td class="label"><a class="fn-backref" href="#id5">[2]</a></td><td><a class="reference external" href="http://www.bittorrent.org/beps/bep_0010.html">http://www.bittorrent.org/beps/bep_0010.html</a></td></tr> 186 195 </tbody> 187 196 </table> … … 189 198 <colgroup><col class="label" /><col /></colgroup> 190 199 <tbody valign="top"> 191 <tr><td class="label"><a class="fn-backref" href="#id7">[3]</a></td><td><a class="reference " href="http://www.ietf.org/rfc/rfc2396.txt">http://www.ietf.org/rfc/rfc2396.txt</a></td></tr>200 <tr><td class="label"><a class="fn-backref" href="#id7">[3]</a></td><td><a class="reference external" href="http://www.ietf.org/rfc/rfc2396.txt">http://www.ietf.org/rfc/rfc2396.txt</a></td></tr> 192 201 </tbody> 193 202 </table>