From ede5a5b90888a7902910fef5a1a340f8c616f4a5 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 1 Oct 2007 02:47:57 +0000 Subject: [PATCH] added ipv4 and ipv6 to the extension handshake protocol --- docs/extension_protocol.html | 10 ++++++++++ docs/extension_protocol.rst | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/docs/extension_protocol.html b/docs/extension_protocol.html index 1de9cf9f3..3ead11ba8 100644 --- a/docs/extension_protocol.html +++ b/docs/extension_protocol.html @@ -144,6 +144,16 @@ receiver's external ip address (no port is included). This may be either an IPv4 (4 bytes) or an IPv6 (16 bytes) address. +ipv6 +If this peer has an IPv6 interface, this is the compact +representation of that address (16 bytes). The client may +prefer to connect back via the IPv6 address. + +ipv4 +If this peer has an IPv4 interface, this is the compact +representation of that address (4 bytes). The client may +prefer to connect back via this interface. + reqq An integer, the number of outstanding request messages this client supports without dropping any. The default in diff --git a/docs/extension_protocol.rst b/docs/extension_protocol.rst index a097e4aec..742944a0b 100644 --- a/docs/extension_protocol.rst +++ b/docs/extension_protocol.rst @@ -93,6 +93,14 @@ Here are some other items that an implementation may choose to support: | | This may be either an IPv4 (4 bytes) or an IPv6 | | | (16 bytes) address. | +--------+-----------------------------------------------------------+ +| ipv6 | If this peer has an IPv6 interface, this is the compact | +| | representation of that address (16 bytes). The client may | +| | prefer to connect back via the IPv6 address. | ++--------+-----------------------------------------------------------+ +| ipv4 | If this peer has an IPv4 interface, this is the compact | +| | representation of that address (4 bytes). The client may | +| | prefer to connect back via this interface. | ++--------+-----------------------------------------------------------+ | reqq | An integer, the number of outstanding request messages | | | this client supports without dropping any. The default in | | | in libtorrent is 250. |