This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "Applying Torrent blocking rules..." | |
# Block Torrent algo string using Boyer-Moore (bm) | |
BLOCK_STRINGS_BM=( | |
"BitTorrent" | |
"BitTorrent protocol" | |
"peer_id=" | |
".torrent" | |
"announce.php?passkey=" | |
"torrent" |
OlderNewer