Browse Source

Proper for Oppaitime's Git

pjc 5 years ago
parent
commit
c104d4cc13

+ 4
- 0
_packages/tracker-tiers/classes/config.template View File

@@ -1,5 +1,7 @@
1 1
 <?php
2 2
 
3
+# ...
4
+
3 5
 // Tracker urls to be added to torrent files à la http://bittorrent.org/beps/bep_0012.html
4 6
 define('ANNOUNCE_URLS', [
5 7
   [ # Tier 1
@@ -11,3 +13,5 @@ define('ANNOUNCE_URLS', [
11 13
     'udp://tracker.leechers-paradise.org:6969/announce'
12 14
   ]
13 15
 ]);
16
+
17
+# ...

_packages/tracker-tiers/classes/torrent_form.class → _packages/tracker-tiers/classes/torrent_form.class.php View File

@@ -1,3 +1,5 @@
1
+<!-- ... -->
2
+
1 3
 <p style="text-align: center;">
2 4
   <?php
3 5
     $Announces = ANNOUNCE_URLS[0];
@@ -17,3 +19,5 @@
17 19
   <input type="text" value="<?= Users::get_upload_sources()[0] ?>"
18 20
     size="20" onclick="this.select();" readonly="readonly" />
19 21
 </p>
22
+
23
+<!-- ... -->

+ 7
- 1
_packages/tracker-tiers/readme.md View File

@@ -5,6 +5,12 @@ BioTorrents.de supports two tiers of trackers:
5 5
   - Tier 1: Authenticated private tracker URLs using the familiar Gazelle/Ocelot features
6 6
   - Tier 2: A list of standalone public trackers as backups, in case the main tracker goes down
7 7
 
8
+User passkeys are only applied to the 1st tier, which should contain the announce URLs used for reporting stats to Ocelot.
9
+
10
+The 2nd tier contains public trackers that (1) keep no logs, and (2) insert random IP addresses into the peer list.
11
+
8 12
 Please note that all torrent contents are hashed with the private flag, so the normal protections against DHT, PEX, etc., work as expected.
9 13
 
10
-Support for multiple trackers does not extend to magnet links!
14
+Support for multiple trackers does not extend to magnet links!
15
+
16
+Web seed support is coming soon.

+ 2
- 0
_packages/tracker-tiers/sections/torrents/download.php View File

@@ -18,3 +18,5 @@ $UserAnnounceList = array(array_map('add_passkey', ANNOUNCE_URLS[0]), ANNOUNCE_U
18 18
 echo TorrentsDL::get_file($Contents, $UserAnnounceURL, $UserAnnounceList);
19 19
 
20 20
 define('SKIP_NO_CACHE_HEADERS', 1);
21
+
22
+# EOF

Loading…
Cancel
Save