Changeset 11181

Show
Ignore:
Timestamp:
10/15/09 16:29:34 (5 weeks ago)
Author:
bittorrent
Message:

updated html

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dotorg/trunk/html/beps/bep_0028.html

    r11157 r11181  
    3939<tr class="field"><th class="field-name">Title:</th><td class="field-body">Tracker exchange extension</td> 
    4040</tr> 
    41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">11156</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 Jun 2009)</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> 
    4444</tr> 
    4545<tr class="field"><th class="field-name">Author:</th><td class="field-body">Arvid Norberg &lt;arvid&#32;&#97;t&#32;bittorrent.com&gt;</td> 
     
    4949<tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td> 
    5050</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> 
    5252</tr> 
    5353<tr class="field"><th class="field-name">Created:</th><td class="field-body">26-Nov-2008</td> 
    5454</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> 
    5656</tr> 
    5757</tbody> 
     
    6161<p class="topic-title first">Contents</p> 
    6262<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> 
    6565</ul> 
    6666</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> 
    7172</ul> 
    7273</div> 
     
    8182about trackers that other peers are using:</p> 
    8283<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>), bootstrapping 
     84<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 
    8485by joining peers from the DHT. The number of peers that's accessable might 
    8586not be sufficient. Announcing with a tracker could make a significant 
     
    117118<h1>extension header</h1> 
    118119<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 &quot;lt_tex&quot; entry 
     120(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 &quot;lt_tex&quot; entry 
    120121to the &quot;m&quot; dictionary in the extension header hand-shake message. This identifies 
    121122the message code used for this message. It also adds &quot;tr&quot; to the handshake message 
     
    134135<li>the hostname is made lower case</li> 
    135136<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>) 
     137that 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>) 
    137138should be decoded. Any remaining encoded characters should use lower case 
    138139hex 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> 
     
    164165{ 'added': ['http://tracker.bittorrent.com/announce', 'http://tracker2.bittorrent.com'] } 
    165166</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 
     171suspicion. Since the source of a tracker exchange message cannot be trusted, an 
     172implementation 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 
     174should never be propagated to other peers over the tracker exchange protocol.</p> 
    166175<!-- Local Variables: 
    167176mode: indented-text 
     
    177186<colgroup><col class="label" /><col /></colgroup> 
    178187<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> 
    180189</tbody> 
    181190</table> 
     
    183192<colgroup><col class="label" /><col /></colgroup> 
    184193<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> 
    186195</tbody> 
    187196</table> 
     
    189198<colgroup><col class="label" /><col /></colgroup> 
    190199<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> 
    192201</tbody> 
    193202</table>