This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fuss:torrents [2022/04/19 08:28] – external edit 127.0.0.1 | fuss:torrents [2024/01/21 00:29] – [Automate Peer Block List Updates] office | ||
---|---|---|---|
Line 14: | Line 14: | ||
====== Automate Peer Block List Updates ====== | ====== Automate Peer Block List Updates ====== | ||
- | Torrent clients such as qBittorrent allow blocking | + | Torrent clients such as qBittorrent allow blocking |
+ | |||
+ | Note that even though blacklists are not as good of a solution as a whitelist of peers (for example, by joining a private tracker), the blacklists are good enough to stop any direct attempts by anti-piracy companies to connect. The fact that anti-piracy companies can use other methods, or even connect through VPNs, if necessary, is irrelevant and removing the peerblock blacklist would just serve to make it easier for the anti-P2P companies to connect (not more difficult). Furthermore, | ||
+ | |||
===== Windows ===== | ===== Windows ===== | ||
Line 84: | Line 88: | ||
===== Linux ===== | ===== Linux ===== | ||
- | A file can be placed | + | The following is a script that can be executed via cron in order to retrieve a list of anti-P2P / piracy companies and their IP subnets in order to load the list in torrent clients and block them. For instance, to download the list on a daily basis, create the file at ''/ |
<file bash peerblock> | <file bash peerblock> | ||
- | #!/bin/sh | + | #!/usr/bin/env sh |
+ | ########################################################################### | ||
+ | ## Copyright (C) Wizardry and Steamworks 2024 - License: MIT ## | ||
+ | ########################################################################### | ||
+ | |||
+ | DESTINATION_FILE=/ | ||
- | / | + | curl \ |
+ | | ||
+ | | ||
+ | | ||
+ | 'http://list.iblocklist.com/? | ||
+ | gunzip | \ | ||
+ | egrep -v ' | ||
+ | sort -u > ${DESTINATION_FILE} | ||
</ | </ | ||
- | that will download the peer block file to the ''/ | + | that will download the peer block file to ''/ |