- Latest version:
- Download blocklist hosts from remote sites.
- Add and remove blocklist hosts, from your hosts file.
- Possibility to customize your download blocklist links.
- Possibility to esclude specific hosts.
- Windows & Linux version.
pigHost
Usage:
pigHost (load | unload | force_init) [--debug] | (--version) | (--check-update)
pigHost (--help | -h)
Options:
-h, --help help online
-v, --version view version
--check-update check if there is a new version
--debug view debug info
Command:
load load custom hosts from external urls declared in the file: '<USER_FOLDER>/.pigHosts/pigHosts.urls'
unload disable and remove custom hosts
force_init delete and create a new set of configuration files: '<USER_FOLDER>/.pigHosts/pigHosts.excluded' and '<USER_FOLDER>/.pigHosts/pigHosts.urls'
When you started first time pigHost, will be created two configuration file:
<USER_FOLDER>/.pigHosts/pigHosts.excluded
: list of hosts to esclude. These hosts are excluded, if present, from blocklist.<USER_FOLDER>/.pigHosts/pigHosts.urls
: in this file you can add your list of urls where to download blocklist .
Some antivirus locks .../etc/hosts
file. Remember to configure the antivirus correctly so not to block this file.
- On Windows is necessary run
pigHosts
as Administrator. - On Linux is necessary run
pigHosts
with elevated privileges (sudo pighost ...
).
- Download go-task.
- Set your
GOPATH
environment variable. - In the
./src
folder, execute command:task build-mod-vendor
.
Blocklist Collection sites:
- https://firebog.net/
- https://www.squidblacklist.org/
- https://github.com/StevenBlack/hosts
- https://someonewhocares.org/
Tools and libraries: