libTorrent BitTorrent library
C++ M4 Other
Latest commit c3c74f8 Nov 15, 2016 @rakshasa committed on GitHub Fix BEP7 compatibility with IPv6 trackers and IPv4 peers (#137)
Currently the BEP7 code in tracker_http supports the case where
a peer is IPv6 ready but the tracker is not, passing its IPv6 IP
as an announce parameter. Unfortunately it does not yet support
the case where both the peer and tracker are running in IPv6 mode
but other peers in the swarm are not yet IPv6 capable. This sort
of situation is occuring with increasing frequency now that IPv6
adoption is taking off.

To correct this, we are now going to send the IPv4 parameter to
the tracker when connecting to the tracker over IPv6, implementing
the remaining portion of this specification amendment.

README

LibTorrent

Copyright (C) 2005-2014, Jari Sundell

LICENSE

 GNU GPL, see COPYING. "libtorrent/src/utils/sha_fast.{cc,h}" is
originally from the Mozilla NSS and is under a triple license; MPL,
LGPL and GPL. An exception to non-NSS code has been added for linking
to OpenSSL as requested by Debian, though the author considers that
library to be part of the Operative System and thus linking is allowed
according to the GPL.

 Use whatever fits your purpose, the code required to compile with
Mozilla's NSS implementation of SHA1 has been retained and can be
compiled if the user wishes to avoid using OpenSSL.

CONTACT

 Jari Sundell

 Skomakerveien 33
 3185 Skoppum, NORWAY

 Send bug reports, suggestions and patches to
<sundell.software@gmail.com> or to the mailinglist.