All Projects → chadmayfield → My Pihole Blocklists

chadmayfield / My Pihole Blocklists

Licence: gpl-3.0
Create custom pi-hole blocklists

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to My Pihole Blocklists

Yahm
Yet Another Homematic Management - Skripte zur Einrichtung der Homematic CCU Oberfläche in einem LXC Container unter Debian Jessie auf ARM CPU (z.B.: Raspberry Pi & Co)
Stars: ✭ 113 (-57.99%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Briarids
An All-In-One home intrusion detection system (IDS) solution for the Raspberry PI.
Stars: ✭ 187 (-30.48%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Crankshaft
Crankshaft: A turnkey GNU/Linux solution that transforms a Raspberry Pi to an Android Auto head unit.
Stars: ✭ 1,703 (+533.09%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Raspberrypi tempmon
Raspberry pi CPU temperature monitor with many functions such as logging, GPIO output, graphing, email, alarm, notifications and stress testing. Python 3.
Stars: ✭ 52 (-80.67%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Padd
PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.
Stars: ✭ 1,011 (+275.84%)
Mutual labels:  pi-hole, raspberry-pi, raspberrypi
Nwjs rpi
[NW.js port for Raspberry Pi] binary compiled for the ARMv6 used in Raspberry Pi (compatible with RPi 2 and RPi 3)
Stars: ✭ 91 (-66.17%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Piwheels
Python package repository providing wheels (pre-built binaries) for Raspberry Pi
Stars: ✭ 180 (-33.09%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Q3lite
Q3lite, an OpenGL ES port of Quake III Arena for embedded Linux systems.
Stars: ✭ 64 (-76.21%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Gravity Sync
An easy way to synchronize the blocklist and local DNS configurations of multiple Pi-hole 5.x instances.
Stars: ✭ 406 (+50.93%)
Mutual labels:  pi-hole, raspberry-pi, dns
Pi Hole Unbound Wireguard
Turning your Raspberry Pi into an ad-blocking VPN with built-in DNS resolution using Pi-Hole, Unbound & WireGuard.
Stars: ✭ 302 (+12.27%)
Mutual labels:  pi-hole, raspberry-pi, raspbian
Mobilenet Ssd Realsense
[High Performance / MAX 30 FPS] RaspberryPi3(RaspberryPi/Raspbian Stretch) or Ubuntu + Multi Neural Compute Stick(NCS/NCS2) + RealSense D435(or USB Camera or PiCamera) + MobileNet-SSD(MobileNetSSD) + Background Multi-transparent(Simple multi-class segmentation) + FaceDetection + MultiGraph + MultiProcessing + MultiClustering
Stars: ✭ 322 (+19.7%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Piadvanced
This started as a custom install for my pihole!
Stars: ✭ 144 (-46.47%)
Mutual labels:  pi-hole, raspberry-pi, raspberrypi
Gumcp
Web Control Panel for Raspberry Pi
Stars: ✭ 124 (-53.9%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Cattlepi
effortlessly boot, configure, update and monitor your raspberry pi ☁️
Stars: ✭ 250 (-7.06%)
Mutual labels:  raspberry-pi, raspberrypi, raspbian
Pihole Panel
Python/GTK3 based Pi-hole (network-level adblocker) dashboard for stats and more
Stars: ✭ 125 (-53.53%)
Mutual labels:  pi-hole, raspberry-pi, raspbian
Pihole Unbound
Guide to setup Unbound recursive DNS resolver with Pi-Hole. With additional configs for speed and security!! 🚀🔒
Stars: ✭ 165 (-38.66%)
Mutual labels:  pi-hole, raspberry-pi, dns
fresh-coffee-listener
Using a raspberry pi, we listen to the coffee machine and count the number of coffee consumption
Stars: ✭ 52 (-80.67%)
Mutual labels:  raspberrypi, raspbian
pihut-xmas-asyncio
Demonstration driving The Pi Hut Raspberry Pi 3D Xmas tree using Python Asyncio
Stars: ✭ 15 (-94.42%)
Mutual labels:  raspberrypi, raspbian
Bazel bin
Bazel's pre-built binaries for armv7l / aarch64 / x86_64.
Stars: ✭ 23 (-91.45%)
Mutual labels:  raspberrypi, raspbian
PiBeacon
Low-cost iBeacon using Raspberry Pi
Stars: ✭ 41 (-84.76%)
Mutual labels:  raspberrypi, raspbian

my-pihole-blocklists

Create custom pi-hole blocklists to block unwanted traffic to a network.

Disclaimer

This project is in no way affiliated with the core Pi-Hole project or organization. This project was created as a contribution to the community by providing high quality blocklists. Use at your own risk.

Screenshots

Pi-hole dashboard with the default, light, and heavy porn blocklists installed;

Running with default ruleset Top 1m (Light List) All (Heavy List)
default blocklist light blocklist heavy blocklist

And the affect of having the porn list installed;

Site Blocked!

Supported lists

Currently supported lists;

  1. porn (via create_blocklist_porn.pl which creates two lists)
    ... light list: pi_blocklist_porn_top1m.list (~21k domains). This list is a correlated list to only block porn sites that appear on Alex'a top 1m site list.
    ... heavy list: pi_blocklist_porn_all.list (~2m domains). This list is a slightly edited list from Université Toulouse 1 Capitole. NOTE: Use caution when using this list with embedded computers.
  2. more coming soon...

Requirements

  • Perl
  • Array::Utils (install via sudo perl -MCPAN -e 'install Array::Utils' aslo you may needed to use export PERL5LIB= after installing Array::Utils to add path to the library)

Installation

  1. SSH to deployed pi-hole
  2. Copy adlists.default to adlists.list sudo cp /etc/pihole/adlists.default /etc/pihole/adlists.list
  3. Edit sudo vi /etc/pihole/adlists.list to add one of the following lists;
    ... Light: https://raw.githubusercontent.com/chadmayfield/pihole-blocklists/master/lists/pi_blocklist_porn_top1m.list
    ... Heavy https://raw.githubusercontent.com/chadmayfield/pihole-blocklists/master/lists/pi_blocklist_porn_all.list
  4. Run pihole -g to update all lists
pi¾pi-hole:´ $ pihole -g
:::
::: Neutrino emissions detected...
:::
::: Pulling source lists into range... done!
:::
::: Getting raw.githubusercontent.com list... done
:::   Status: Success (OK)
:::   List updated, transport successful!
::: Getting mirror1.malwaredomains.com list... done
:::   Status: Not modified
:::   No changes detected, transport skipped!
::: Getting sysctl.org list... done
:::   Status: Not modified
:::   No changes detected, transport skipped!
::: Getting zeustracker.abuse.ch list... done
:::   Status: Not modified
:::   No changes detected, transport skipped!
::: Getting s3.amazonaws.com list... done
:::   Status: Not modified
:::   No changes detected, transport skipped!
::: Getting s3.amazonaws.com list... done
:::   Status: Not modified
:::   No changes detected, transport skipped!
::: Getting hosts-file.net list... done
:::   Status: Not modified
:::   No changes detected, transport skipped!
::: 
::: Aggregating list of domains... done!
::: Formatting list of domains to remove comments.... done!
::: 128651 domains being pulled in by gravity...
::: Removing duplicate domains.... done!
::: 105011 unique domains trapped in the event horizon.
:::
::: Adding adlist sources to the whitelist... done!
::: Whitelisting 9 domains... done!
::: Nothing to blacklist!
::: No wildcards used!
::: Formatting domains into a HOSTS file... done!
:::
::: Cleaning up un-needed files... done!
:::
::: Refresh lists in dnsmasq... done!
::: DNS service is running
::: Pi-hole blocking is Enabled

Sample blocklist creation ouput

[[email protected]:~] $ ./create_blocklist_porn.pl 
beginning downloads
download complete: top-1m.csv.zip
download complete: adult.tar.gz
extracting files
extracting file: top-1m.csv.zip
  loading alexa top-1m domains
  loaded successfully
extracting file: adult.tar.gz
  loading domains from adult.tar.gz
  loaded successfully
comparing lists for commonality
counting lines...done
*******************************************************************
Light blocklist created: pi_blocklist_porn_top1m.list (21492 lines)
Heavy blocklist created: pi_blocklist_porn_all.list (1980211 lines)
*******************************************************************

NOTE: This is a work in progress and is being actively developed (for now).

TODO

  • [ ] Cleanup the code! (most of this was written as PoC)
  • [ ] Log output from script to file rather than STDOUT
  • [X] Add comparison to Alexa top 1 million sites to only block the top sites
  • [ ] Add cron script to run from cron daily/weekly/monthly
  • [ ] Add installation script for automated install
  • [ ] Add additional lists to combine into one mega list
  • [ ] Possibly generizie script to accept any list
  • [ ] Add instructions to host the list on the pi-host itself
  • [ ] Add the Cisco Umbrella OpenDNS Top 1 Million list
  • [ ] Add the Majestic Million list
  • [ ] Add the Stavoo Top 1 Million list
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].