Changeset 10561
- Timestamp:
- 02/06/2008 10:01:00 AM (11 months ago)
- Location:
- dotorg/trunk_fixed/html/beps
- Files:
-
- 4 modified
-
bep_0000.rst (modified) (1 diff)
-
bep_0004.rst (modified) (3 diffs)
-
bep_0009.rst (modified) (3 diffs)
-
makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dotorg/trunk_fixed/html/beps/bep_0000.rst
r10528 r10561 56 56 .. |8| replace:: :raw-html:`<A HREF="bep_0008.html">8</A>` 57 57 .. |9| replace:: :raw-html:`<A HREF="bep_0009.html">9</A>` 58 .. |10| replace:: :raw-html:`<A HREF="bep_00 09.html">10</A>`58 .. |10| replace:: :raw-html:`<A HREF="bep_0010.html">10</A>` 59 59 .. |1000| replace:: :raw-html:`<A HREF="bep_1000.html">1000</A>` -
dotorg/trunk_fixed/html/beps/bep_0004.rst
r10528 r10561 24 24 25 25 reserved[5] 26 0x10 LTEP (Lib Torrent Extension Protocol)26 0x10 LTEP (Libtorrent Extension Protocol) 27 27 28 28 reserved[7] … … 45 45 0x07 piece 46 46 0x08 cancel 47 48 DHT Extension: 47 49 0x09 port 48 50 49 Fast Extensions 50 51 Fast Extensions: 51 52 0x0D suggest 52 53 0x0E have all … … 55 56 0x11 allowed fast 56 57 57 Additional IDs used in deployed clients 58 Additional IDs used in deployed clients: 58 59 0x14 LTEP Handshake (implemented in libtorrent, uTorrent,...) 60 59 61 60 62 -
dotorg/trunk_fixed/html/beps/bep_0009.rst
r10528 r10561 23 23 part of the .torrent file is referred to as *the metadata*. 24 24 25 The metadata is plit up in 16kiB pieces. The pieces are indexed starting 26 from 0 for the first 16kiB of metadata. 25 The metadata is handled in bocks of 16KiB (65536 Bytes). The metadata blocks 26 are indexed starting at 0. All blocks are 16KiB except the last block which may 27 be smaller. 27 28 28 29 extension header 29 30 ================ 30 31 31 The metadata extension uses the `extension protocol`_ to advertize its32 existence. It adds the "ut_metadata" entry to the "m" dictionary in the 33 extension header hand-shake message. This identifies the message code34 used for this message. It also adds "metadata_size" to the handshake35 message (not the "m" dictionary) specifying an integer value of the32 The metadata extension uses the extension protocol (specified in `BEP 0010`_ 33 ) to advertize its existence. It adds the "ut_metadata" entry to the "m" 34 dictionary in the extension header hand-shake message. This identifies the 35 message code used for this message. It also adds "metadata_size" to the 36 handshake message (not the "m" dictionary) specifying an integer value of the 36 37 number of bytes of the metadata. 37 38 38 .. _` extension protocol`: extension_protocol.html39 .. _`BEP 0010`: http://www.bittorrent.org/beps/bep_0010.html 39 40 40 41 Example extension handshake message:: … … 120 121 121 122 <info-hash> 122 Is the info-hash encoded as base32 .123 Is the info-hash encoded as base32 [#base32]_ 123 124 124 125 ``xt`` is the only mandatory parameter. ``dn`` is the display name that may be … … 129 130 Both ``dn`` and ``tr`` are optional. 130 131 131 If no tracker is specified, the client SHOULD use the DHT to acquire peers.132 If no tracker is specified, the client SHOULD use the DHT (`BEP 0005`_) to acquire peers. 132 133 134 .. [#base32] http://www.ietf.org/rfc/rfc3548.txt 135 .. _`BEP 0005`: bep_0005.html 133 136 134 137 -
dotorg/trunk_fixed/html/beps/makefile
r10540 r10561 17 17 18 18 %.html:%.rst_post 19 rstbep2html.py --template= template.txt --pep-base-url=http://www.bittorrent.org/beps/ --cloak-email-addresses --link-stylesheet --stylesheet=../css/bep.css --no-toc-backlinks $? >$@ --traceback19 rstbep2html.py --template=../template.txt --pep-base-url=http://www.bittorrent.org/beps/ --cloak-email-addresses --link-stylesheet --stylesheet=../css/bep.css --no-toc-backlinks $? >$@ --traceback 20 20 21 21 %.rst_post: %.rst 22 p ostprocess.py $? > $@22 python postprocess.py $? > $@ 23 23 24 24 #%.html:%.rst