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
 <?php
1
 <?php
2
 
2
 
3
+# ...
4
+
3
 // Tracker urls to be added to torrent files à la http://bittorrent.org/beps/bep_0012.html
5
 // Tracker urls to be added to torrent files à la http://bittorrent.org/beps/bep_0012.html
4
 define('ANNOUNCE_URLS', [
6
 define('ANNOUNCE_URLS', [
5
   [ # Tier 1
7
   [ # Tier 1
11
     'udp://tracker.leechers-paradise.org:6969/announce'
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
+<!-- ... -->
2
+
1
 <p style="text-align: center;">
3
 <p style="text-align: center;">
2
   <?php
4
   <?php
3
     $Announces = ANNOUNCE_URLS[0];
5
     $Announces = ANNOUNCE_URLS[0];
17
   <input type="text" value="<?= Users::get_upload_sources()[0] ?>"
19
   <input type="text" value="<?= Users::get_upload_sources()[0] ?>"
18
     size="20" onclick="this.select();" readonly="readonly" />
20
     size="20" onclick="this.select();" readonly="readonly" />
19
 </p>
21
 </p>
22
+
23
+<!-- ... -->

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

5
   - Tier 1: Authenticated private tracker URLs using the familiar Gazelle/Ocelot features
5
   - Tier 1: Authenticated private tracker URLs using the familiar Gazelle/Ocelot features
6
   - Tier 2: A list of standalone public trackers as backups, in case the main tracker goes down
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
 Please note that all torrent contents are hashed with the private flag, so the normal protections against DHT, PEX, etc., work as expected.
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
 echo TorrentsDL::get_file($Contents, $UserAnnounceURL, $UserAnnounceList);
18
 echo TorrentsDL::get_file($Contents, $UserAnnounceURL, $UserAnnounceList);
19
 
19
 
20
 define('SKIP_NO_CACHE_HEADERS', 1);
20
 define('SKIP_NO_CACHE_HEADERS', 1);
21
+
22
+# EOF

Loading…
Cancel
Save