Final Project Presentation document

advertisement
From Torrent to Magnet Link
a new way of sharing on P2P network
TRIBLER: A social-based Peer-to-Peer system
Presenter: Guanlong Zhou
Fan Feng
The motivation for this project
In our previous project, there is one problem
with Tibler that if the server or the tracker get
blocked or closed, then the file cannot be
download anymore which limits the efficiency
and convenience of the p2p sharing system.
So in this final project, we are going to
develop a new method using magnet link to
make sure even with the server or the tracker
be closed the file still can be download
Introduction of Magnet URI
• Definition
• DHT Network
• Magnet link
Introduction of Magnet Link
•Magnet link consists:
–magnet:
–?xt=urn:btih:
–5dee65101db281ac9c46344cd6b175cdc
ad53426
–&dn=name
Main Advantage of Magnet Link
• easy to transfer
• difficult to be tracked/blocked
The problem here we found is that because of a lack of
central tracker, TRIBLER will suffer from an extremely hard
period of bootstrapping if there is only a few of peers on the
swam. Because the amount of peers is very small, it
becomes very difficult to connect two peers who is
downloading/has downloaded the same files. The peers in
the Buddycast list are totally random which even increase
the difficulty of connecting two peers of sharing the same
files.
What we have done to solve this problem?
• Convert .torrent file to magnet link
• Connect OpenTracker Servers into P2P
•“Built” a search engine on the P2P network
.torrent file
ExampleFile:ubuntu-12.04.3-desktop-i386.torrent
Info Hash:87250A39 78F312D4 3F898B0B B9BA3B31 C853A881
Tracker:URL1:udp://tracker.publicbt.com/announce
URL2:udp://tracker.openbittorrent.com/announce
URL3:http://torrent.ubuntu.com:6969/announce
…
Metadata: Created On/ Created By/ Piece Length(512KB)…
Filename: ubuntu-12.04.3-desktop-i386.iso
Filesize: 707MB
magnet:?xt=urn:btih:87250A3978F312D43F898B0BB9BA3B31C853A881
Information URL: http://tinyurl.com/tor2mag
Download .torrent file: http://www.tor2mag.com/transtomag.htm
Tech supported: TorrentEditor
Class: BEncode
OpenTracker
Example Site:
openbittorrent.com
publicbt.com
istole.it
Example Tracker:
udp://tracker.openbittorrent.com:80
udp://tracker.publicbt.com:80
udp://tracker.ccc.de:80
OpenTracker
An aggregated scrape file for the entire cluster can be
found at each opentracker website.
The file is updated every specific period .
Example file:
http://torrentproject.com/dailydump.txt.gz
http://torrentproject.com/hourlydump.txt.gz
Tor2mag.com
File hosting service provider:
Programming language:
Database Platform:
DNS hosting service provider:
Tor2mag.com
Torrent convert service: www.tor2mag.com
Magnet Link Search Engine: search.tor2mag.com
Result:
Input: ubuntu-12.04.3-desktop-i386.torrent
Output:
magnet:?xt=urn:btih:87250A3978F312D43F898B0BB9BA3B31C853A881
&tr.0=http://tracker.openbittorrent.com/announce&tr.1=http://exodus.desy
nc.com/announce&tr.2=http://tracker.torrentfrancais.com/announce&tr.3=
http://tracker.torrentbay.to:6969/announce&tr.4=http://tracker.prq.to/annou
nce&tr.5=udp://tracker.istole.it:80/announce&tr.6=http://tracker.ex.ua/anno
unce&tr.7=udp://tracker.publicbt.com:80/announce&tr.8=http://tracker.torr
entfrancais.com/announce&tr.9=http://tracker.tfile.me/announce
Permanent Page Link:
http://www.tor2mag.com/getmag.php?hash=87250A3978F312D4
3F898B0BB9BA3B31C853A881
Uploaded file was deleted immediately after the conversion!
Result:
Search: Ubuntu
Output: Find 1058 Results
ubuntu-12.04.3-desktop-i386.iso
ubuntu-13.10-server-amd64.iso
ubuntu-12.04.3-server-amd64.iso
ubuntu-13.10-server-i386.iso
ubuntu-12.10-desktop-amd64.iso
ubuntu-13.04-server-amd64.iso
...
Detail information link:
http://tinyurl.com/k32yc95
No real file is saved on the server. Only the information.
What is the advantage?
HTTP/FTP download:
http://mirror.hmc.edu/ubuntu-releases//precise/ubuntu-12.04.3-desktop-amd64.iso
Traditional BT download:
Website ->.torrent file -> Tracker
New Magnet-Link download:
87250a3978f312d43f898b0bb9ba3b31c853a881
Reference
1.J. A. Pouwelse, P. Garbacki, J. Wang, A. Bakker, J. Yang, A. Iosup, D. H. J. Epema, M.
Reinders, M. R. van Steen, and H. J. Sips.TRIBLER: a social-based peer-to-peer system:
Research Articles. Concurr. Comput. : Pract. Exper., 20:127–138, February 2008.
2.Usman Khurshid: What is the difference between a Torrent File and a Magnet link.Jan
16,2012.
Download