Updated Features (markdown)

d47081 2023-10-24 00:55:23 +03:00
parent 62749929c4
commit c158e9098d

@ -2,6 +2,8 @@
Feature implemented in YGGtracker v.2.2.0 and allows to download any torrent file from catalog trough Yggdrasil protocol.
### Overview
When torrent uploaded to catalog has leechers, but no seeders in local network, the torrent have highlighted with "Wanted" label. Any user able to download raw torrent file that auto-includes Yggdrasil trackers by click on the label. When file have downloaded, it immediately become accessible for wanted leechers trough Yggdrasil announcers.
To automate seeding process for active members, YGGtracker provides additional features (#27) like anonymous FTP mirror with wanted files. These files could be useful for Bittorrent clients (with autoscan directory feature).
@ -16,4 +18,45 @@ _* `yggtracker` is default namespace and depends of `APP_TORRENT_WANTED_FTP_FOLD
When the wanted torrent get at least one seeder, YGGtracker scraper (which running with [Crontab](https://github.com/YGGverse/YGGtracker/wiki/Crontab)) auto-removes deprecated files from storage.
On Linux systems, remote FTP folder could be mounted using [curlftpfs](https://curlftpfs.sourceforge.net/), [rclone](https://rclone.org/) and other tools.
On Linux systems, remote FTP folder could be mounted using [curlftpfs](https://curlftpfs.sourceforge.net/), [rclone](https://rclone.org/) and other tools.
### Server setup
Example of FTP server setup on Debian-based systems, where YGGtracker installation placed in `/var/www/YGGverse/YGGtracker` directory
1. Install vsftpd server
```
apt install vsftpd
```
2. Create folder and grant web-server permissions (usually `www-data`)
```
mkdir /var/www/YGGverse/YGGtracker/var/ftp
chown www-data:www-data /var/www/YGGverse/YGGtracker/var/ftp
```
3. Edit `/etc/vsftpd.conf` file as below
```
listen_ipv6=YES
anonymous_enable=YES
local_enable=NO
anon_root=/var/www/YGGverse/YGGtracker/var/ftp
no_anon_password=YES
hide_ids=YES
pasv_min_port=40000
pasv_max_port=50000
```
4. Allow Yggdrasil connections in firewall rules
```
ufw allow proto tcp from 0200::/7 to any port 21
ufw allow proto tcp from 0200::/7 to any port 40000:50000
```
5. Restart vsftpd service
```
service vsftpd restart
```