Bug 295194 - Add IPv6 support to DHT
Summary: Add IPv6 support to DHT
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-02 08:14 UTC by Artyom Aleksyuk
Modified: 2012-03-24 18:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artyom Aleksyuk 2012-03-02 08:14:41 UTC
Version:           unspecified (using KDE 4.8.0) 
OS:                Linux

http://bittorrent.org/beps/bep_0032.html
Sorry in case it already works, I didn't found any info in ChangeLog about it.

Reproducible: Always

Steps to Reproduce:
Install Miredo.

Actual Results:  
IPv6 peers appear only in torrents with IPv6 trackers.

Expected Results:  
µTorrent and Transmission shows IPv6 peers ever if there are no IPv6 tracker.
Comment 1 Joris Guisson 2012-03-03 11:20:59 UTC
Most of that is already supported. I will have to see if ktorrent  fully supports it.
Comment 2 Joris Guisson 2012-03-11 15:49:39 UTC
Git commit 10fffff8cf5f2826e6e2c06bdd31fdbd1256a101 by Joris Guisson.
Committed on 11/03/2012 at 16:48.
Pushed by guisson into branch 'master'.

Implement BEP 32, IPv6 DHT

M  +3    -0    ChangeLog
M  +3    -1    src/CMakeLists.txt
M  +2    -0    src/dht/CMakeLists.txt
M  +39   -48   src/dht/announcetask.cpp
M  +3    -0    src/dht/announcetask.h
M  +54   -70   src/dht/database.cpp
M  +27   -23   src/dht/database.h
M  +33   -38   src/dht/dht.cpp
M  +1    -6    src/dht/dht.h
M  +17   -4    src/dht/findnodereq.cpp
M  +3    -1    src/dht/findnodereq.h
M  +15   -19   src/dht/findnodersp.cpp
M  +12   -0    src/dht/getpeersreq.cpp
M  +5    -1    src/dht/getpeersreq.h
M  +26   -31   src/dht/getpeersrsp.cpp
M  +1    -1    src/dht/getpeersrsp.h
M  +4    -5    src/dht/kbucket.cpp
M  +67   -66   src/dht/kbucket.h
C  +108  -191  src/dht/kbuckettable.cpp [from: src/dht/node.cpp - 056% similarity]
C  +34   -24   src/dht/kbuckettable.h [from: src/dht/packednodecontainer.h - 062% similarity]
M  +16   -16   src/dht/kclosestnodessearch.cpp
M  +14   -14   src/dht/kclosestnodessearch.h
M  +88   -217  src/dht/node.cpp
M  +13   -13   src/dht/node.h
M  +26   -30   src/dht/nodelookup.cpp
M  +4    -0    src/dht/nodelookup.h
M  +3    -3    src/dht/pack.h
M  +1    -1    src/dht/packednodecontainer.cpp
M  +5    -10   src/dht/packednodecontainer.h
M  +6    -8    src/dht/rpccall.cpp
M  +3    -5    src/dht/rpccall.h
M  +6    -1    src/dht/rpcmsgfactory.cpp
M  +17   -13   src/dht/rpcserver.cpp
M  +6    -10   src/dht/rpcserver.h
C  +7    -10   src/dht/rpcserverinterface.cpp [from: src/dht/packednodecontainer.cpp - 085% similarity]
C  +21   -9    src/dht/rpcserverinterface.h [from: src/dht/packednodecontainer.cpp - 077% similarity]
M  +1    -1    src/dht/task.h
M  +11   -1    src/net/address.cpp
M  +3    -0    src/net/address.h
M  +2    -2    src/util/error.cpp

http://commits.kde.org/libktorrent/10fffff8cf5f2826e6e2c06bdd31fdbd1256a101
Comment 3 Artyom Aleksyuk 2012-03-24 18:10:18 UTC
Thanks.
Sorry for writing to an inappropriate place, can you add a PeerID of MediaGet?