Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fuss:torrents [2020/05/17 15:16] – [Peer Block Lists] officefuss:torrents [2024/01/21 00:38] (current) – [Linux] office
Line 14: Line 14:
 ====== Automate Peer Block List Updates ====== ====== Automate Peer Block List Updates ======
  
-Torrent clients such as qBittorrent allow blocking p2p peers based on a provided blacklistSince the blacklist may be updated periodically, it must be re-downloaded on schedule.+Torrent clients such as qBittorrent allow blocking P2P peers based on blacklists generated by various third-parties parties on the InternetBlacklists are typically updated by the maintainer such that they must be updated periodically and the following section provides scripts to download the blocklists in various environments. 
 + 
 +Note that even though blacklists are not as good of a solution as a whitelist of peers (for exampleby 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, peerblock blacklists are typically organized such that they require an O(1) time complexity lookup, with a negligible computational time loss, compared to the ability to batch block entire IP ranges belonging to companies whose very mission is to track and harass people sharing files. The argument that peerblock "is useless" is null and void; //just because robbers can climb into your house through your window, does not mean you should leave your door open//. 
 + 
 +It is the case that some compiled blacklists contain lists such as anti-malware, or "known bad domains" that would have a detrimental effect and might end up blocking valid peers. However, anti-malware, "known bad domains" and "anti-pedophile" IP blacklists have nothing to do with P2P filesharing such that the best source is a clean collection of anti-P2P agencies. One good example to use is the [[https://www.iblocklist.com/list?list=ydxerpxkpcfqjaybcssw|Bluetack level 1 list]] that specifically specializes as a list of anti-P2P companies instead of just using a wrapper of bunch of lists that have nothing to do with P2P company harassment in general. 
  
 ===== Windows ===== ===== Windows =====
Line 84: Line 89:
 ===== Linux ===== ===== Linux =====
  
-A file can be placed at ''/etc/cron.daily/peerblock'' with the following contents:+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 ''/etc/cron.daily/peerblock'' with the following contents:
 <file bash peerblock> <file bash peerblock>
-#!/bin/sh+#!/usr/bin/env sh 
 +########################################################################### 
 +##  Copyright (C) Wizardry and Steamworks 2024 - License: MIT            ## 
 +########################################################################### 
 + 
 +DESTINATION_FILE=/opt/peerblock/peerblock.p2p
  
-/usr/bin/wget ---O /opt/peerblock/anti-p2p-companies.p2p http://omeglewarden.weebly.com/uploads/6/9/2/6/6926744/anti-p2p-companies.p2p+curl \ 
 +    -s \ 
 +    -L \ 
 +    -
 +    'http://list.iblocklist.com/?list=ydxerpxkpcfqjaybcssw&fileformat=p2p&archiveformat=gz' | \ 
 +    gunzip | \ 
 +    egrep -v '^#' | \ 
 +    sort -u > ${DESTINATION_FILE}
  
 </file> </file>
-that will download the peer block file to the ''/opt/peerblock'' directory.+that will download the peer block file to ''/opt/peerblock/peerblock.p2p''.
  
  

fuss/torrents.1589728578.txt.gz · Last modified: 2020/05/17 15:16 by office

Wizardry and Steamworks

© 2025 Wizardry and Steamworks

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.