This script is for Slackware 14.1 only and may be outdated.

SlackBuilds Repository

14.1 > Network > hostsblock (0.12.3)

Hostsblock is a bash script for Linux designed to take advantage of the
/etc/hosts file to provide system-wide blocking of internet advertisements,
malicious domains, trackers, and other undesirable content. To do so, it
downloads a configurable set of blocklists and processes and their entries into
a singular file.

The SlackBuild assumes that dnsmasq is not available so it will configure
hostsblock to overwrite the current /etc/hosts file. The install script will
backup the current /etc/hosts file to /etc/hostsblock/hosts.head if it does
not already exist.

After uninstalling hostsblock, you should copy hosts.head back to /etc/hosts.

To have hostsblock automatically update /etc/hosts once a week, run:
ln -sf /usr/sbin/hostsblock /etc/cron.weekly/hostsblock

Maintained by: Benjamin Trigona-Harany
Keywords: hosts,hostsblock,ads,adblock
ChangeLog: hostsblock


Source Downloads:
hostsblock-0.12.3.tar.bz2 (20eb8ee8627c0980f57d54727b6bd797)

Download SlackBuild:
hostsblock.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.1

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds