Diferior CMS on steroids
+1429 / 2338642 ( online 9 )

Private Tracker


Added downloads: 1
Comments: 5
Forum posts: 57
Method (Chatterbox) @ 07 12 15 - 02:53:22
Looked around the admin panel and couldn't find an option for this. It'd be awesome for an option to make a private tracker, with or without invites.
Avatar
Blog posts: 11
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 07 12 15 - 07:29:57
Admin > Downloads > Anonymous torrent tracker > Disabled

Invite system is not yet available though.
Forum posts: 4
Touch-Money (Beginner) @ 07 12 15 - 10:38:38
Do you see this as becoming a feature in the near future? I really like the concept and whole idea of this program, it would just be nice to see that feature.
Avatar
Blog posts: 11
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 07 12 15 - 11:32:06
Sure, it's actually not that difficult to implement.
Added downloads: 1
Comments: 5
Forum posts: 57
Method (Chatterbox) @ 07 12 15 - 13:18:18
Could you implement an invite only option with the ability to only let admins have invites?
Avatar
Blog posts: 11
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 07 12 15 - 13:26:45
Will do. Can't promise it will be available in the next beta, but eventually :P
Added downloads: 1
Comments: 5
Forum posts: 57
Method (Chatterbox) @ 07 12 15 - 13:32:54
Sounds good. Thanks B)
Forum posts: 8
indentsk8 (Junior member) @ 08 03 21 - 06:10:33
ya this would be so cool to have hope to see it soon and keep up with the good work
Forum posts: 2
TigerXS1 (Beginner) @ 08 04 14 - 17:35:00 (edited 08 04 14 - 18:28:35)
I'm not convinced that's truely private. I think that just forces a login of sorts...

Part of being a „Private Tracker“ is not sharing something via decentralized tracking (or DHT). DHT allows people who do not have accounts (and obtain the .torrent file) to still transfer data to each other (even people with accounts). This is why trackers like Demonoid have been shut down and if you run a demonoid torrent it can still download. Some torrent communities are exclusive, though, and really want to maintain the privacy of the tracker. In order to disable DHT, you would...

Open functions/downloads.php and find:
# Set comment
$c_arr [ 'comment' ] = TORRENT_COMMENT;
$c_arr [ 'comment.utf-8' ] = TORRENT_COMMENT;


Then add below that:
# Private Tracking
if(! TRACKER_ANONYMOUS)
{
// Set the private flag
$c_arr [ 'private' ] = 1;

// remove cached peers (Bitcomet & Azareus DHT)
unset($c_arr['nodes']);
}


*Note: Some hacked torrent clients ignore the private flag, so it doesn't always work. However it does help.

EDIT:
It might also be wise to include this in a separate option, since some people do like to use DHT but keep logins required (this helps with non-connectable users).

In the case that you want to be able to leave DHT on and turn off anonymous tracking, you would want to open up conf.php and find:

# Enables public anonymous bittorrent tracker support.
# Set `anonymous_scrape`, `anonymous_announce`, `anonymous_connect` to 1 in `xbt_config` mysql table and restart xbt (if using XBTT backend, that is).
define ( 'TRACKER_ANONYMOUS', false );


Then add below that:
# Private tracker (attempts to disable DHT decentralized tracking)
define ( 'TRACKER_PRIVATE', false );


Then you'd change the first bit of code I gave you at the top of this post from
if(! TRACKER_ANONYMOUS)
to
if(TRACKER_PRIVATE)

That just gives you better control over private tracking vs. anonymous tracking.
Avatar
Blog posts: 11
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 04 14 - 18:47:25 (edited 08 04 14 - 18:50:09)
Thanks, I'll include this in the next release ;)

EDIT: 'private' flag is set accordingly when uploading torrent (Line 1000).
Forum posts: 2
TigerXS1 (Beginner) @ 08 04 14 - 19:26:00
Thanks, I'll include this in the next release ;)

EDIT: 'private' flag is set accordingly when uploading torrent (Line 1000).


Ah, I didn't read through the code all the way. It'd still be a nice option to have separate from the anonymous tracking.
Forum posts: 10
tobbr (Junior member) @ 09 04 25 - 13:53:23 (edited 09 04 25 - 17:12:40)
edit.
Forum posts: 3
darkhaxer (Beginner) @ 09 05 18 - 07:33:57
Is the invite-option finished? :D