Wednesday, October 8, 2014

Create your own torrent tracker using opentracker



1- install opentracker

cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat
cd libowfat
make
cd ..
cvs -d:pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot co opentracker
cd opentracker
make


2- run opentracker

./opentracker

It will listen on port tcp/udp 6969, my pc run the tracker is 192.168.202.1


3- create torrent file with bittorrent
change the trackers to udp://192.168.202.1:6969/announce as the picture below



then save the the torrent file. if you share the file, other people will be able to download all content that list in the torrent with the help from our own tracker

4- test download the torrent file, we see two peer are downloading and the tracker is 192.168.202.1




5- get statistic from our tracker
 use the following url:
http://localhost:6969/stats
http://localhost:6969/stats?mode=everything




-------------------------------------------

with our tracker we can use torrent with the internet (public trackers like udp://tracker.openbittorrent.com:80/announce, etc..).

No comments:

Post a Comment