feat: DNS Response Policy Zone (RPZ)

- syntax based on https://rpz.oisd.nl/basic/
This commit is contained in:
Ming Di Leom 2021-04-01 04:29:18 +00:00
parent 9b517094de
commit 1369b7df7b
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
3 changed files with 507 additions and 1 deletions

View File

@ -11,7 +11,7 @@ There are multiple formats available, refer to the appropriate section according
- Vivaldi -> [URL-based (Vivaldi)](#url-based-vivaldi)
- [Hosts](#hosts-based)
- [Dnsmasq](#dnsmasq)
- [BIND](#bind)
- BIND -> BIND [zone](#bind) or [RPZ](#response-policy-zone)
- [Unbound](#unbound)
- Internet Explorer -> [Tracking Protection List (IE)](#tracking-protection-list-ie)
- [Snort2](#snort2)
@ -218,6 +218,24 @@ Zone file is derived from [here](https://github.com/tomzuu/blacklist-named/blob/
</details>
## Response Policy Zone
This blocklist includes domains only.
- https://curben.gitlab.io/malware-filter/pup-filter-rpz.conf
<details>
<summary>Mirrors</summary>
- https://cdn.statically.io/gl/curben/pup-filter/master/dist/pup-filter-rpz.conf
- https://glcdn.githack.com/curben/pup-filter/raw/master/dist/pup-filter-rpz.conf
- https://raw.githubusercontent.com/curbengh/pup-filter/master/dist/pup-filter-rpz.conf
- https://cdn.statically.io/gh/curbengh/pup-filter/master/dist/pup-filter-rpz.conf
- https://gitcdn.xyz/repo/curbengh/pup-filter/master/dist/pup-filter-rpz.conf
- https://cdn.jsdelivr.net/gh/curbengh/pup-filter/dist/pup-filter-rpz.conf
</details>
## Unbound
This blocklist includes domains only.

476
dist/pup-filter-rpz.conf vendored Normal file
View File

@ -0,0 +1,476 @@
; Title: PUP Domains RPZ Blocklist
; Updated: Wed, 31 Mar 2021 11:06:18 UTC
; Expires: 1 day (update frequency)
; Homepage: https://gitlab.com/curben/pup-filter
; License: https://gitlab.com/curben/pup-filter#license
; Source: https://github.com/zhouhanc/malware-discoverer
$TTL 30
@ IN SOA rpz.curben.gitlab.io. hostmaster.rpz.curben.gitlab.io. 1617250637 86400 3600 604800 30
NS localhost.
20patogh.com CNAME .
321movies.xyz CNAME .
4uabs.club CNAME .
7awwa2.xyz CNAME .
abeah-security.xyz CNAME .
adrondespi.top CNAME .
advancecare.info CNAME .
akb48wrapup.com CNAME .
amateurxporn.com CNAME .
anismunre.info CNAME .
apptool.me CNAME .
ashtdi.cn CNAME .
assuredhealth.info CNAME .
asufij.xyz CNAME .
auto-lawyer.site CNAME .
baseofmp3.com CNAME .
bestappland.me CNAME .
bestlinkupgrade.info CNAME .
bestlinkupgrades.info CNAME .
bestlinkupgrading.info CNAME .
bestresults.xyz CNAME .
bettercleanplayer.info CNAME .
bettercleanplayers.info CNAME .
betterfreedownloadplayer.info CNAME .
betterfreedownloadplayers.info CNAME .
bigcbd.info CNAME .
bigdaycasino.info CNAME .
bittrend.com CNAME .
biztherapy.info CNAME .
bodyamaze.club CNAME .
bodyselfcare.info CNAME .
browsercheck.site CNAME .
cabins-r-us.com CNAME .
calculateprint.xyz CNAME .
carebility.info CNAME .
carevision.info CNAME .
celebseven.com CNAME .
centrodeartigos.com CNAME .
cheerplaceweb.xyz CNAME .
coachbelief.xyz CNAME .
collectrewards.net CNAME .
comphp.xyz CNAME .
conceivecolor.xyz CNAME .
cooing.top CNAME .
credit-alerts.xyz CNAME .
credit-monitor.xyz CNAME .
credit-resources.xyz CNAME .
cryptotradingcourses.net CNAME .
cryptounlimited.info CNAME .
cs-alerts.xyz CNAME .
curesector.today CNAME .
degreenm.top CNAME .
delightcmain.xyz CNAME .
digitalinvest.news CNAME .
displayfriend.xyz CNAME .
ditvl.com CNAME .
dragonballclub.com CNAME .
ehousan.top CNAME .
eproute.info CNAME .
eroanimeittyokusen.com CNAME .
excitingthing.xyz CNAME .
facebook-sex.com CNAME .
fastmapf.xyz CNAME .
fastplanetf.xyz CNAME .
fastspotb.xyz CNAME .
filmesonlineturbo.net CNAME .
filmrod.xyz CNAME .
films-down.com CNAME .
financial-deals.xyz CNAME .
findforus.net CNAME .
findoffers.co CNAME .
findperfectplaces4download.work CNAME .
findyourultimateplayersfirst.best CNAME .
firststableplayer.work CNAME .
fisham.site CNAME .
fitandready.info CNAME .
fitandstable.club CNAME .
fitbodyandsoul.info CNAME .
fitcourage.info CNAME .
fithealthspark.info CNAME .
fithealthspot.club CNAME .
fithealthsure.info CNAME .
fitlifevalue.info CNAME .
fitnessdial.club CNAME .
fitsure.info CNAME .
foregoingpump.xyz CNAME .
forsalecheap.net CNAME .
freeperfectupgrade.work CNAME .
freshclover.info CNAME .
fuck-me-hard.club CNAME .
funmapc.xyz CNAME .
funmapd.xyz CNAME .
funplanetb.xyz CNAME .
funsiteb.xyz CNAME .
funspinf.xyz CNAME .
funspotf.xyz CNAME .
funwebd.xyz CNAME .
fwsxqc.cn CNAME .
gainhealth.info CNAME .
gapingshame.xyz CNAME .
generouscare.info CNAME .
getstablesystemupgrades.work CNAME .
gladcboulevard.xyz CNAME .
gladdboulevard.xyz CNAME .
gladplaceweb.xyz CNAME .
gladslotweb.xyz CNAME .
gladspotplay.xyz CNAME .
gladspotwonder.xyz CNAME .
gladvideo.fun CNAME .
gladvideo.online CNAME .
gladvideo.site CNAME .
gladvideo.surf CNAME .
gladvideo.website CNAME .
globalvideo.fun CNAME .
globalvideo.store CNAME .
go-x34n7wbcoes-ok.live CNAME .
govpshosting.com CNAME .
graburprize.net CNAME .
grandcasinoprize.info CNAME .
greatplaceofstubs.work CNAME .
greatsearch.xyz CNAME .
growthnetic.club CNAME .
hailso.xyz CNAME .
haircarepro.info CNAME .
happyactive.today CNAME .
happymakeworld.xyz CNAME .
healandgrow.club CNAME .
healthdefine.info CNAME .
healthdome.info CNAME .
healtheezy.info CNAME .
healthemerge.info CNAME .
healthjolly.info CNAME .
healthmainly.info CNAME .
healthmaintain.info CNAME .
healthmama.info CNAME .
healthmanic.info CNAME .
healthmarlin.club CNAME .
healthneo.club CNAME .
healthready.info CNAME .
healthreportsweb.info CNAME .
healthreward.info CNAME .
healthroll.info CNAME .
healthschedule.club CNAME .
healthspark.today CNAME .
healthsupreme.club CNAME .
healthtag.club CNAME .
healthupper.club CNAME .
healthvenue.club CNAME .
healthvibe.live CNAME .
healthwella.club CNAME .
healthy-lifestyle.club CNAME .
healthyideal.club CNAME .
healthyparker.info CNAME .
healthysure.info CNAME .
idtheft-alert.xyz CNAME .
inappropriate.top CNAME .
information.casa CNAME .
instablog.club CNAME .
insuredhealth.info CNAME .
iosrecommendedvpn.com CNAME .
iosvpnsecure.com CNAME .
izipik.com CNAME .
joyplaceplay.xyz CNAME .
joyspotmap.xyz CNAME .
joyspotspin.xyz CNAME .
jsrenthouse.com CNAME .
jubilantdstreet.xyz CNAME .
kad3md.cn CNAME .
ketodietrecipes.org CNAME .
leeching.net CNAME .
legendaryplaceupgrade.info CNAME .
legendaryplaceupgrades.info CNAME .
legendaryplaceupgrading.info CNAME .
legendaryplayerupdates.work CNAME .
legendarysiteupgrading.work CNAME .
legendaryvideoupgrade.info CNAME .
legendaryvideoupgrades.info CNAME .
legendaryvideoupgrading.info CNAME .
life-esteem.info CNAME .
lifecaregoal.info CNAME .
lightstop.xyz CNAME .
livehealthcare.today CNAME .
livelyyroad.xyz CNAME .
livingmighty.club CNAME .
loadfree-bestheavilyfile.best CNAME .
loadgreatly-bestadvancedfile.best CNAME .
loadgreatly-bestquickfile.best CNAME .
loadheavily-bestfreefile.best CNAME .
loosefit.info CNAME .
loveorfun.cc CNAME .
luckjackcasino.info CNAME .
madpandatv.net CNAME .
majorhealthpro.info CNAME .
makemesafeios.com CNAME .
managestrong-theuberfile.best CNAME .
manageuber-thenewestfile.best CNAME .
manageuber-therecentfile.best CNAME .
manageuber-thestrongfile.best CNAME .
manageuber-theswiftfile.best CNAME .
mathison.io CNAME .
max-care.info CNAME .
mediaplayer24.ml CNAME .
medicomatic.info CNAME .
meeryslotspin.xyz CNAME .
merryplayglobal.xyz CNAME .
merryplayworld.xyz CNAME .
mindmatch.ai CNAME .
modern-security.xyz CNAME .
monitoring-credit.xyz CNAME .
multitax.xyz CNAME .
news-new19.net CNAME .
newsitedowloads.site CNAME .
nogfw.pro CNAME .
nosyknot.xyz CNAME .
nutrinamic.info CNAME .
onegowc.pw CNAME .
onlinecinema.eu CNAME .
operatecompletely-theprecisefile.best CNAME .
operatecompletely-thespeedyfile.best CNAME .
operateextremely-theprogressivefile.best CNAME .
operateextremely-therenewedfile.best CNAME .
operatefree-theuberfile.best CNAME .
operategreatly-therefinedfile.best CNAME .
operategreatly-theswiftfile.best CNAME .
operatehighly-thespeedyfile.best CNAME .
operatehighly-thestrongfile.best CNAME .
operateintensely-theprogressivefile.best CNAME .
operateintensely-thestrongfile.best CNAME .
operatenewest-theuberfile.best CNAME .
operateoriginal-themostfile.best CNAME .
operateoriginal-theuberfile.best CNAME .
operateoverly-thesophisticatedfile.best CNAME .
operateprecise-thecompletelyfile.best CNAME .
operateprogressive-theintenselyfile.best CNAME .
operatequick-themostfile.best CNAME .
operaterefined-thegreatlyfile.best CNAME .
operaterenewed-theextremelyfile.best CNAME .
operatesophisticated-theoverlyfile.best CNAME .
operatespeedy-thehighlyfile.best CNAME .
operateuber-thefreefile.best CNAME .
operateuber-theoriginalfile.best CNAME .
patriothealth.today CNAME .
pcicompliancemanager.xyz CNAME .
perfectplaceonnetforplayers.work CNAME .
performcompletely-thelatestfile.best CNAME .
performcompletely-thequickfile.best CNAME .
performextremely-theprecisefile.best CNAME .
performfree-thehighlyfile.best CNAME .
performgreatly-thespeedyfile.best CNAME .
performheavily-theoriginalfile.best CNAME .
performhighly-thefreefile.best CNAME .
performhighly-theprecisefile.best CNAME .
performhighly-therecentfile.best CNAME .
performintensely-thedevelopedfile.best CNAME .
performlatest-thecompletelyfile.best CNAME .
performmost-thenewestfile.best CNAME .
performmost-therecentfile.best CNAME .
performoriginal-theheavilyfile.best CNAME .
performoriginal-theuberfile.best CNAME .
performoverly-theprogressivefile.best CNAME .
performprecise-theextremelyfile.best CNAME .
performprecise-thehighlyfile.best CNAME .
performprogressive-theintenselyfile.best CNAME .
performprogressive-theoverlyfile.best CNAME .
performquick-thecompletelyfile.best CNAME .
performrecent-themostfile.best CNAME .
performrefined-theextremelyfile.best CNAME .
performrenewed-theoverlyfile.best CNAME .
performsophisticated-thehighlyfile.best CNAME .
performspeedy-thegreatlyfile.best CNAME .
performuber-theoriginalfile.best CNAME .
performuber-therenewedfile.best CNAME .
piorkeepi.top CNAME .
placesiteb.xyz CNAME .
placesitee.xyz CNAME .
placewebe.xyz CNAME .
plampo.xyz CNAME .
playspina.xyz CNAME .
playspind.xyz CNAME .
playspote.xyz CNAME .
premiernursingacademy.org CNAME .
preparedforsafeupgrading.work CNAME .
primawise.info CNAME .
primecare.today CNAME .
prohealthroutine.info CNAME .
protect-connection.com CNAME .
protectyourvpn.com CNAME .
readyhealth.info CNAME .
readyhealthgo.today CNAME .
recontent.casa CNAME .
recontent.cyou CNAME .
recontent.fun CNAME .
recontent.space CNAME .
recontent.surf CNAME .
recontent.website CNAME .
reliablesoftwarevideos.info CNAME .
remedify.info CNAME .
renewvideo.casa CNAME .
renewvideo.fun CNAME .
renewvideo.online CNAME .
renewvideo.site CNAME .
renewvideo.website CNAME .
resignation.top CNAME .
roadtoyourhealth.info CNAME .
robogarden.io CNAME .
rootessential.info CNAME .
rotharbor.xyz CNAME .
runadvanced-bestextremelyfile.best CNAME .
runcurrent-bestextremelyfile.best CNAME .
rundeveloped-bestoverlyfile.best CNAME .
runextremely-bestadvancedfile.best CNAME .
runextremely-bestcurrentfile.best CNAME .
runextremely-bestlatestfile.best CNAME .
runextremely-bestrecentfile.best CNAME .
runfree-bestoverlyfile.best CNAME .
runintensely-bestrenewedfile.best CNAME .
runlatest-besthighlyfile.best CNAME .
runnewest-bestextremelyfile.best CNAME .
runoriginal-bestextremelyfile.best CNAME .
runoriginal-bestintenselyfile.best CNAME .
runoverly-bestdevelopedfile.best CNAME .
runoverly-bestquickfile.best CNAME .
runoverly-bestsophisticatedfile.best CNAME .
runrecent-bestextremelyfile.best CNAME .
runrecent-besthighlyfile.best CNAME .
safelyonline.tech CNAME .
safest4placeupdate.info CNAME .
safest4placeupdates.info CNAME .
scheduleagreement.xyz CNAME .
score-monitoring.xyz CNAME .
search-tool.net CNAME .
search-trends.co CNAME .
searchfeed.co CNAME .
sec-alert.xyz CNAME .
sec-alerts.xyz CNAME .
sec-monitoring.xyz CNAME .
second-handjam.xyz CNAME .
security-made-easy.xyz CNAME .
security-pro.xyz CNAME .
security-protection.xyz CNAME .
seemlast.monster CNAME .
selfradiance.info CNAME .
shkshk.site CNAME .
shopnsave.world CNAME .
shoppingexp.xyz CNAME .
smartys.link CNAME .
spotplanetc.xyz CNAME .
spotplanetd.xyz CNAME .
spotspinb.xyz CNAME .
spotspotf.xyz CNAME .
springplanetb.xyz CNAME .
springsitea.xyz CNAME .
springsitef.xyz CNAME .
stingyscent.xyz CNAME .
storeheavily-thefreefile.best CNAME .
storeheavily-thequickfile.best CNAME .
storeheavily-thespeedyfile.best CNAME .
storeheavily-thestrongfile.best CNAME .
storelatest-theoverlyfile.best CNAME .
storenewest-theoverlyfile.best CNAME .
storeoverly-theadvancedfile.best CNAME .
storeoverly-thecurrentfile.best CNAME .
storeoverly-thelatestfile.best CNAME .
storeoverly-thenewestfile.best CNAME .
storerecent-theoverlyfile.best CNAME .
storespeedy-theheavilyfile.best CNAME .
storeswift-theheavilyfile.best CNAME .
styleandhealth.info CNAME .
subeamy.pw CNAME .
sugar-legal-about13.fun CNAME .
superiorcare.info CNAME .
survey-club.club CNAME .
synccompletely-bestoriginalfile.best CNAME .
synccompletely-bestprogressivefile.best CNAME .
syncgreatly-bestrenewedfile.best CNAME .
syncheavily-bestlatestfile.best CNAME .
synchighly-bestfreefile.best CNAME .
synchighly-bestoriginalfile.best CNAME .
synchighly-bestprogressivefile.best CNAME .
synchighly-bestrecentfile.best CNAME .
synchighly-bestsophisticatedfile.best CNAME .
synchighly-bestspeedyfile.best CNAME .
syncintensely-bestprogressivefile.best CNAME .
synclatest-bestuberfile.best CNAME .
syncoriginal-bestcompletelyfile.best CNAME .
syncprogressive-bestcompletelyfile.best CNAME .
syncprogressive-besthighlyfile.best CNAME .
syncrenewed-bestcompletelyfile.best CNAME .
syncuber-bestoriginalfile.best CNAME .
syncuber-bestprecisefile.best CNAME .
talskingest.top CNAME .
tastefulwood.xyz CNAME .
tdstraffic.xyz CNAME .
theable.me CNAME .
thebettercleanplayer.info CNAME .
thebettercleanplayers.info CNAME .
theconnectvpn.com CNAME .
thefatburner.info CNAME .
thefitproject.club CNAME .
thehealthcurve.info CNAME .
thehealthcycle.club CNAME .
thehealthgo.info CNAME .
thehealthpedia.info CNAME .
thehealthystyle.info CNAME .
thehealthyvibe.info CNAME .
thelastpicture.show CNAME .
thepackage.club CNAME .
thesafestplayerlinks.work CNAME .
thestablealwayssafeupdates.work CNAME .
thestablegreatupgrades.best CNAME .
thrillqueen.xyz CNAME .
toovolution.club CNAME .
topnotchsports.tips CNAME .
trafficbounce.net CNAME .
trktraf.club CNAME .
trkvpn.xyz CNAME .
uclaimrewards.net CNAME .
unequalfaucet.xyz CNAME .
uniremedy.info CNAME .
upbeatcboulevard.xyz CNAME .
upbeatmstreet.xyz CNAME .
upbeatmway.xyz CNAME .
updatecurrent-thegreatlyfile.best CNAME .
updategreatly-thecurrentfile.best CNAME .
updategreatly-thenewestfile.best CNAME .
updategreatly-therecentfile.best CNAME .
updatelatest-thegreatlyfile.best CNAME .
updaterecent-thegreatlyfile.best CNAME .
upmakesite.xyz CNAME .
upplayglobal.xyz CNAME .
vexearth.xyz CNAME .
viral-surveys.win CNAME .
viralarticles.net CNAME .
vital-health.club CNAME .
vitalrole.info CNAME .
vpn-pro.info CNAME .
vpnadefenceplus.com CNAME .
vpntool.me CNAME .
website4all.info CNAME .
websiteforall.work CNAME .
websitetoget.work CNAME .
wellnessgram.info CNAME .
wellnessplum.info CNAME .
wherentlybrane.site CNAME .
wowlifestyle.info CNAME .
yourbestlinkupgrade.info CNAME .
yourbestlinkupgrades.info CNAME .
yourbestlinkupgrading.info CNAME .
yourbestvideoconnection.info CNAME .
yourbestvideoconnections.info CNAME .
yourbettercleanplayer.info CNAME .
yourbettercleanplayers.info CNAME .
yourlegendaryplaceupgrade.info CNAME .
yourlegendaryplaceupgrades.info CNAME .
yourlegendaryplayerupdate.work CNAME .
yourlegendaryplayerupdating.work CNAME .
yourlegendaryvideoupgrades.info CNAME .
yourlegendaryvideoupgrading.info CNAME .
yoursafestplayerlink.best CNAME .
yoursafestreliablelink.work CNAME .
yoursafeststablelink.info CNAME .
yoursafeststablelinks.info CNAME .
yoursafesystemsupdating.work CNAME .
yourultimateperfectupgrades.work CNAME .
ysfetinora.tk CNAME .

View File

@ -130,6 +130,18 @@ sed '1 i\'"$COMMENT"'' | \
sed "1s/Blocklist/BIND Blocklist/" > "../dist/pup-filter-bind.conf"
## DNS Response Policy Zone (RPZ)
CURRENT_UNIX_TIME="$(date +%s)"
RPZ_SYNTAX="\n\$TTL 30\n@ IN SOA rpz.curben.gitlab.io. hostmaster.rpz.curben.gitlab.io. $CURRENT_UNIX_TIME 86400 3600 604800 30\n NS localhost.\n"
cat "pup-notop-domains.txt" | \
sed "s/$/ CNAME ./g" | \
sed '1 i\'"$RPZ_SYNTAX"'' | \
sed '1 i\'"$COMMENT"'' | \
sed "s/^#/;/g" | \
sed "1s/Blocklist/RPZ Blocklist/" > "../dist/pup-filter-rpz.conf"
## Unbound-compatible blocklist
cat "pup-notop-domains.txt" | \
sed 's/^/local-zone: "/g' | \