]> git.ipfire.org Git - people/jon/ipfire-2.x.git/commit
RPZ: install new add-on rpzAddon2
authorJon Murphy <jon.murphy@ipfire.org>
Sat, 20 Jul 2024 17:36:01 +0000 (12:36 -0500)
committerJon Murphy <jon.murphy@ipfire.org>
Sat, 20 Jul 2024 17:36:01 +0000 (12:36 -0500)
commitb93756798565de3d3265c561d75444c8f1eb628d
tree283f25e435e4c64c89dc7e79ef964b6fc19b56a8
parent6f83ae4c959045c866c08cc326f36ff645952ae4
RPZ: install new add-on

What is it?
Response Policy Zone (RPZ) is a mechanism to define local policies in a standardised
way and load those policies from external sources.
Bottom line: RPZ allows admins to easily block access to websites via DNS lookup.

RPZ can block websites via categories.  Examples include: fake websites, annoying
pop-up ads, newly registered domains, DoH bypass sites, bad "host" services,
maliscious top level domains (e.g., *.zip, *.mov), piracy, gambling, pornography,
and more.  RPZ lists come from various RPZ providers and their available
catagories.

This RPZ add-on enables the RPZ functionality by adding a couple lines in a
configuration file.  This add-on simply adds a configuration file and adds
three scripts (config, metrics and sleep) to make RPZ easier for the admin to use.

RPZ was release in 2010 and has been part of the IPFire build since ~2015.

Why is it needed?
Some IPFire admin's utilize pihole to block unwanted websites via DNS lookup.
Moving the pihole base functionality (without pretty graphs) to IPFire removes
one device from the admin's local network.
And hopefully this reduces the pihole questions from the Community.

A list of RPZ providers can be recommended by IPFire and coded into a set list.
Or, if prefered, the local admin can choose their own RPZ providers.

This is a:
 * simple replacement for pihole base functionality
 * RPZ can be a nice replacement for the URL Filter

IPFire Wiki
In process at: https://www.ipfire.org/docs/addons/rpz

more info:
 * https://en.wikipedia.org/wiki/Response_policy_zone
 * https://unbound.docs.nlnetlabs.nl/en/latest/topics/filtering/rpz.html

I need help with...
1) The custom allow and block lists are currently located at `/var/ipfire/rpz`.  Is this correct?
2) The three bash scripts are currently located at `/usr/sbin`.  Is this correct?

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
config/backup/includes/rpz [new file with mode: 0644]
config/rootfiles/packages/rpz [new file with mode: 0644]
config/rpz/00-rpz.conf [new file with mode: 0644]
config/rpz/rpz-config [new file with mode: 0644]
config/rpz/rpz-metrics [new file with mode: 0644]
config/rpz/rpz-sleep [new file with mode: 0644]
lfs/rpz [new file with mode: 0644]
make.sh