New port dns/dns2blackhole: Malware Prevention through Domain Blocking

dns2blackhole is a set of Bourne Shell csh scripts that fetch host files
from public host file providers that contain the FQDN [ Fully Qualified
Domain Names ] of sites that fall into the following categories, adware,
malware, exploit, hijackers, harvesters, tracking, phishing, fake news,
fraud, spam, sex, porn, gambling, advertisements, misleading marketing,
illegal pharmacy, warez/piracy and others. The output of the dns2blackhole
scripts is fed directly into the ports/package versions of unbound, named,
and dnsmask DNS servers to block those FQDN thus protecting user
devices from being compromised or bothered seeing things of no interest.
The base built-in version of unbound titled "local_unbound" can also be
configured to work using the dns2blackhole method. This black hole method
is another layer of protection that you can customize to your needs.

WWW: http://dns2blackhole.sourceforge.net/

PR:		222805
Submitted by:	joeb1@a1poweruser.com
This commit is contained in:
Danilo G. Baio 2017-10-14 13:15:15 +00:00
parent bf88d5d7ac
commit b1839422a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452064
6 changed files with 71 additions and 0 deletions

View file

@ -29,6 +29,7 @@
SUBDIR += djbdns-tools
SUBDIR += dlint
SUBDIR += dnrd
SUBDIR += dns2blackhole
SUBDIR += dns2tcp
SUBDIR += dns_balance
SUBDIR += dnscap

View file

@ -0,0 +1,34 @@
# Created by: Joe Barbish
# $FreeBSD$
PORTNAME= dns2blackhole
PORTVERSION= 0.0
CATEGORIES= dns
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= dns2blackhole1@a1poweruser.com
COMMENT= Malware Prevention through Domain Blocking
LICENSE= BSD2CLAUSE
USES= tar:bzip2
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
do-install:
.for f in dns2blackhole-update1 dns2blackhole-update2 dns2blackhole-sanitize \
dns2blackhole-sanitize dns2blackhole-sort-fqdn dns2blackhole-whitelist
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/dns2blackhole-unbound.conf \
${STAGEDIR}${ETCDIR}/dns2blackhole-unbound.conf.sample
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/dns2blackhole-intro ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1507239011
SHA256 (dns2blackhole-0.0.tar.bz2) = ef5d9e36bcc4cfdac7edaab8d115102a4145cd6deba24f013898bf915c989990
SIZE (dns2blackhole-0.0.tar.bz2) = 8993

View file

@ -0,0 +1,10 @@
########################################################################
dns2blackhole
Malware Prevention through Domain Blocking (Black Hole)
For configuration and usage information read
%%DOCSDIR%%/dns2blackhole-intro
########################################################################

View file

@ -0,0 +1,16 @@
Malware Prevention through Domain Blocking (Black Hole)
dns2blackhole is a set of Bourne Shell csh scripts that fetch host files
from public host file providers that contain the FQDN [ Fully Qualified
Domain Names ] of sites that fall into the following categories, adware,
malware, exploit, hijackers, harvesters, tracking, phishing, fake news,
fraud, spam, sex, porn, gambling, advertisements, misleading marketing,
illegal pharmacy, warez/piracy and others. The output of the dns2blackhole
scripts is fed directly into the ports/package versions of unbound, named,
and dnsmask DNS servers to block those FQDN thus protecting user
devices from being compromised or bothered seeing things of no interest.
The base built-in version of unbound titled "local_unbound" can also be
configured to work using the dns2blackhole method. This black hole method
is another layer of protection that you can customize to your needs.
WWW: http://dns2blackhole.sourceforge.net/

View file

@ -0,0 +1,7 @@
bin/dns2blackhole-update1
bin/dns2blackhole-update2
bin/dns2blackhole-sanitize
bin/dns2blackhole-sort-fqdn
bin/dns2blackhole-whitelist
@sample %%ETCDIR%%/dns2blackhole-unbound.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/dns2blackhole-intro