News for hackers. Stuff that matters.
Re:What.cd's Gazelle on GitHub by quchen on Wednesday July 10, 2013 @10:10AM (#6019654)
Could someone explain what this is?
Re:What.cd's Gazelle on GitHub by aroch on Wednesday July 10, 2013 @10:12AM (#6019681)
'Gazelle' is the bittorrent tracker frontend developed by What.CD (For those not in the know, one of the largest music trackers out there).
Re:What.cd's Gazelle on GitHub by bigdubs on Wednesday July 10, 2013 @10:16AM (#6019731)
actually 'ocelot' is the tracker itself, gazelle is just the site that the users access to get the torrents
Re:What.cd's Gazelle on GitHub by aroch on Wednesday July 10, 2013 @10:26AM (#6019818)
I corrected myself as soon as I posted...Not enough coffee this morning
Re:What.cd's Gazelle on GitHub by andrewflnr on Wednesday July 10, 2013 @11:30AM (#6020376)
So, what is a bittorrent tracker?
Re:What.cd's Gazelle on GitHub by FZeroX on Wednesday July 10, 2013 @12:28PM (#6020858)
The tracker tells you who else has the files you want, in a nutshell.

Basic bittorrent outline:

You download a .torrent file which contains (amongst other things) a list of files, their hashes, and a list of trackers to connect to.

Your BitTorrent client connects to the tracker and says "Hi, who else has or is looking for these files"?

It returns a list of these people (aka "peers") and your BitTorrent client then connects directly to peers to download the files (and upload them to other people).

Re:What.cd's Gazelle on GitHub by andrewflnr on Wednesday July 10, 2013 @01:46PM (#6021523)
And all this time I thought a torrent file had the actual peers in it. So you don't even really need the .torrent if you have the addresses of some trackers that know where the files are that you want?
Re:What.cd's Gazelle on GitHub by nadaviv on Wednesday July 10, 2013 @07:58PM (#6023643)
You would also need the torrent's hash (which enable you to specify to the tracker which files you want exactly). That's how magnet link [1] works - they contain the torrent's hash and optionally a list of trackers (most clients today support DHT [2], a decentralized tracker-less way to find peers).

[1] https://en.wikipedia.org/wiki/Magnet_URI_scheme

[2] https://en.wikipedia.org/wiki/Distributed_hash_table

Re:What.cd's Gazelle on GitHub by FZeroX on Friday July 12, 2013 @06:35AM (#6031886)
I made a few simplifications for brevity and "these files" was one of them. What the .torrent actually contains is a list of the files and how those files are divided up into chunks of equal size (say half a megabyte per chunk). The bulk of the torrent is a list of hashes of each chunk, which allows your client to verify the data it has received from other peers. If you then take a hash of <<the part of the torrent that lists the files and the chunk hashes>> the resulting hash is known as the infohash. The infohash describes this particular torrent uniquely, and it's the infohash you send to the tracker when asking for peers.

Hopefully from this explanation you can see that you need it for two purposes, one so you can give the right infohash to the tracker, and two so you can verify the data you receive from peers.

Re:What.cd's Gazelle on GitHub by dewey on Wednesday July 10, 2013 @11:50AM (#6020546)
Re:What.cd's Gazelle on GitHub by quchen on Wednesday July 10, 2013 @10:27AM (#6019822)
Ah, thanks.
Re:What.cd's Gazelle on GitHub by samolang on Wednesday July 10, 2013 @10:12AM (#6019682)
What.cd is a private torrenting site. They decided to open source the code they use to run their site.
Re:What.cd's Gazelle on GitHub by sciurus on Wednesday July 10, 2013 @10:42AM (#6019983)
It appears they decided to publish to code, but the license isn't open source as defined at http://opensource.org/docs/osd
Re:What.cd's Gazelle on GitHub by slacka on Wednesday July 10, 2013 @11:02AM (#6020159)
See my post above for links/references, but it was originally released under the GPLv3.
Re:What.cd's Gazelle on GitHub by dewey on Wednesday July 10, 2013 @11:58AM (#6020601)
A minor detail: The codebase was open source for a long time already, just on their own git and available on what.cd/gazelle and the IRC channel instead of GitHub.
Re:What.cd's Gazelle on GitHub by nutmeg on Wednesday July 10, 2013 @10:11AM (#6019665)
The Bittorrent tracker software used to run What.CD, a popular music torrent site.