Changeset 11131 for dotorg/trunk
- Timestamp:
- 08/12/2008 09:25:08 PM (4 months ago)
- Files:
-
- 1 modified
-
dotorg/trunk/html/beps/bep_0022.html (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotorg/trunk/html/beps/bep_0022.html
r11123 r11131 39 39 <tr class="field"><th class="field-name">Title:</th><td class="field-body">BitTorrent Local Tracker Discovery Protocol</td> 40 40 </tr> 41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">1112 2</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_0022.rst">2008-08- 05 19:00:59 -0700 (Tue, 05Aug 2008)</a></td>41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">11129</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_0022.rst">2008-08-12 21:23:42 -0700 (Tue, 12 Aug 2008)</a></td> 44 44 </tr> 45 45 <tr class="field"><th class="field-name">Author:</th><td class="field-body">David Harrison <dave at bittorrent.com>, Stanislav Shalunov <shalunov at bittorrent.com>, Greg Hazel <greg at bittorrent.com></td> … … 77 77 <p>With this extension, BitTorrent clients are able to discover a tracker 78 78 nearby on the network, and via this tracker discover nearby caches or 79 peers. A cache is simplya fast peer in the middle of the network. It79 peers. A cache may simply be a fast peer in the middle of the network. It 80 80 might also have substantial disk space. The client communicates with a 81 81 cache using the normal BitTorrent protocol.</p> … … 98 98 is not obvious. Determining obviousness is beyond the scope of this 99 99 BEP.</p> 100 <p>Extensions to the BitTorrent wireline protocol to delegate seeding 101 or improve cache performance are beyond the scope of this BEP.</p> 100 102 </div> 101 103 <div class="section" id="the-discovery-mechanism"> … … 138 140 <p>The domain name returned from the reverse DNS lookup is specific to 139 141 the querying host. In the naive implementation in DNS, there would be 140 one SRV resource record for every querying host. The most obvious141 solution is to use a wildcard of the form:</p>142 one SRV resource record for every querying host. A natural but 143 incorrect solution is to use a wildcard of the form:</p> 142 144 <pre class="literal-block"> 143 145 *.pacbell.net 144 146 </pre> 145 <p> However, if wildcards are implemented according to the algorithm in146 section 4.3.2 in <a class="footnote-reference" href="#rfc-1034" id="id5">[4]</a> then all subdomains of pacbell.net that147 do nothave an exact label match will match the wildcard. Thus,</p>147 <p>If wildcards are implemented according to the algorithm in section 148 4.3.2 in <a class="footnote-reference" href="#rfc-1034" id="id5">[4]</a> then all subdomains of pacbell.net that do not 149 have an exact label match will match the wildcard. Thus,</p> 148 150 <pre class="literal-block"> 149 151 _jabber._tcp.pacbell.net … … 158 160 BitTorrent SRV records without further information. This behavior is 159 161 implemented with BIND 9.4.1.</p> 160 <p>The natural solution would be to specify domain names of the type</p> 162 <p>Another natural but incorrect solution is to specify domain names of 163 the type</p> 161 164 <pre class="literal-block"> 162 165 _bittorrent-tracker._tcp.*.pacbell.net … … 183 186 <p>then the client queries for</p> 184 187 <pre class="literal-block"> 185 _bittorrent-tracker. dsl.pltn13.pacbell.net188 _bittorrent-tracker._tcp.dsl.pltn13.pacbell.net 186 189 </pre> 187 190 <p>and then</p> 188 191 <pre class="literal-block"> 189 _bittorrent-tracker. pltn13.pacbell.net192 _bittorrent-tracker._tcp.pltn13.pacbell.net 190 193 </pre> 191 194 <p>The search removes one label at a time terminating when one or more