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
Next revisionBoth sides next revision
fuss:torrents [2020/05/17 15:16] – [Peer Block Lists] officefuss:torrents [2024/01/21 00:23] – [Linux] office
Line 84: Line 84:
 ===== 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            ## 
 +###########################################################################
  
-/usr/bin/wget ---O /opt/peerblock/anti-p2p-companies.p2p http://omeglewarden.weebly.com/uploads/6/9/2/6/6926744/anti-p2p-companies.p2p+DESTINATION_FILE=/opt/peerblock/peerblock.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'' directory.
  
  

fuss/torrents.txt · Last modified: 2024/01/21 00:38 by office

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.