Hostsblock is a POSIX-compatible script for Linux designed to take advantage of the HOSTS file available in all operating systems to provide system-wide blocking of internet advertisements, malicious domains, trackers, and other undesirable content.
Hostsblock also provides a command-line utility that allows you to configure how individual websites and any other domains contained in that website are handled.
This is free and open source software.
Key Features
- System-wide blocking (all non-proxied connections use the HOSTS file).
- Zip- and 7zip-capable (can download and process zip- and 7zip-compressed files).
- Non-interactive (can be run as a periodic cronjob without needing user interaction).
- Extensive configurability (allows for custom black and white listing, redirection, post-processing scripting, target HOSTS file, etc.).
- Bandwidth-efficient (only downloads blocklists that have been changed, uses compression when available).
- Resource-efficient (only processes blocklists when changes are registered, uses minimal pipes).
- High performance blocking (when using DNS caching and pseudo-server daemons).
- Extensive choice of blocklists included (allows user to customize how much or how little is blocked).
- Redirection capability (combats DNS cache poisoning).
Website: gaenserich.github.io/hostsblock
Support: GitHub Code Repository
Developer: Jacob A. van der Kolk
License: GNU General Public License
Related Software
| Anti-Malware Tools | |
|---|---|
| ClamAV | Antivirus engine for detecting trojans, viruses, malware and other threats |
| YARA-X | Re-incarnation of YARA |
| YARA | Pattern matching swiss knife for malware researchers |
| Maltrail | Malicious traffic detection system |
| ClamTk | Graphical frontend for ClamAV |
| LMD | Malware scanner focusing on threats faced in shared hosted environments |
| phpMussel | PHP-based anti-virus anti-trojan anti-malware solution |
| Raspirus | Lightweight signature-based malware scanner |
| FastFinder | Fast suspicious file finder |
| chkrootkit | Locally checks for signs of a rootkit |
| Unhide | Forensic tool to find hidden processes and TCP/UDP ports |
| Atomdrift Scan | Malware and supply chain scanner for software security |
| paranoya | Malware scanner using indicators of compromise and YARA rules |
| decloaker | Security tool for revealing objects concealed by malware |
| Lenspect | Lightweight security threat scanner |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.