News for hackers. Stuff that matters.
Re:Hefur: a Standalone C++ BitTorrent tracker by panzi on Tuesday April 22, 2014 @05:06PM (#7630451)
Here is a BitTorrent tracker that logs download statistics and ensures that every torrent has at least one seed: https://github.com/astro/prittorrent It is used by the bitlove BitTorrent podcast distribution service: http://bitlove.org/

(Tim Pritlove had the idea for both, hence the names. He didn't write any of these, though.)

Does Hefur have these kind of features?

Re:Hefur: a Standalone C++ BitTorrent tracker by abique on Tuesday April 22, 2014 @05:14PM (#7630490)
Well there is a stat page, as you can see in the link I posted to the Debian tracker and Archlinux tracker. There is no persistant stats logging (nobody needed it yet).

Ensuring that a torrent has at least one seed is not a feature of Hefur, and I don't think that it needs it.

Re:Hefur: a Standalone C++ BitTorrent tracker by slashdotaccount on Tuesday April 22, 2014 @04:34PM (#7630249)
If you are interested in bittorrent trackers then XBT Tracker[1] and Opentracker[2] are two other open source trackers out there which you can consider using.

[1] http://xbtt.sourceforge.net/tracker/

[2] http://erdgeist.org/arts/software/opentracker/

Re:Hefur: a Standalone C++ BitTorrent tracker by Pfiffer on Tuesday April 22, 2014 @04:18PM (#7630146)
If all data is in memory, what happens when it goes down? Is persistence not part of the use-case?
Re:Hefur: a Standalone C++ BitTorrent tracker by abique on Tuesday April 22, 2014 @04:24PM (#7630186)
The white list of torrent is on the disk: a folder of .torrent files. So when Hefur restarts it scans this folder and recreate the white list.

The peers will recontact the tracker periodically. So the restart is safe.

If you push torrents to the tracker through RPC, then you'll have to push them again on restart.

Re:Hefur: a Standalone C++ BitTorrent tracker by abique on Tuesday April 22, 2014 @04:27PM (#7630208)
Note that Hefur has not been designed to replace existing large scale (in the number of torrents) BitTorrent trackers.

It is very useful for small setups and distributions like Archlinux and Debian: http://tracker.archlinux.org:6969/stat http://bttracker.debian.org:6969/stat