Repository navigation
Home
System-wide blocking of ads, trackers, malware and phishing domains for Linux desktops. It is a port of blockads-android that uses the same filter catalog and rule syntax, adapted to Linux.
Status: released. The port is feature-complete: the filter engine, DNS resolver, list updates, query log and statistics, root firewall helper, system integration (systemd, D-Bus, polkit), GUI with tray icon, trusted networks and the Android settings import all work, and every supported distribution is tested in CI. Packages for Debian, Ubuntu and Arch are attached to each release; see Installation.
A sandboxed local DNS filter (blockadsd) answers on the privileged loopback port 153. While protection is on, iptables nat OUTPUT rules redirect every outgoing port-53 DNS query to it. There is no TUN "VPN", and routing, /etc/resolv.conf and NetworkManager are never modified. If anything goes wrong, the rules are removed and DNS keeps working unfiltered (fail-open). The rules are never saved, so a reboot always starts clean.
- Stability and guaranteed rollback. Every firewall change is verified after it is applied and can always be reverted, even without Python.
- Fail-open + alert. A crash, hang or flushed rule set means DNS works unfiltered and the tray icon turns red; systemd retries.
-
Least privilege. Only a small, stdlib-only helper runs as root, and only from systemd hooks or
pkexec. - No telemetry. The only network contacts are the DNS upstream you chose (Quad9 over DoH by default) and the original publishers of the filter lists you enabled. Lists are compiled locally.
- Architecture: components, interception, self-healing
- Installation: supported systems and installing from source
-
Usage: GUI and
blockadsctl -
Configuration: DNS upstreams, filter lists, rules, trusted networks, containers and VMs,
firewall.conf - Troubleshooting and Recovery: status, diagnostics and emergency revert
- Security: reporting vulnerabilities, threat model and defences
- Development: running from source, tests, CI, translations
Report vulnerabilities privately with GitHub's vulnerability reporting, never in a public issue. See Security and SECURITY.md.
Copyright (C) 2026 MateusBMP. Free software under the GNU General Public License, version 3 only (GPL-3.0-only), with ABSOLUTELY NO WARRANTY, to the extent permitted by law. See LICENSE.
It is a port of, and partly derived from, blockads-android (GPL-3.0); NOTICE lists the derived parts. Filter lists are not redistributed: each is downloaded from its original publisher and keeps its own licence (the Filters page shows where each comes from).
Every program prints its version, copyright and licence with --version; the GUI shows them on its About page.