SkillAgentSearch skills...

CombinedPrivacyBlockLists

Ad-blocking hosts files, IP block lists, PAC filters, ABP / uBO / ADG subscriptions, and a whole lot more. All merged from multiple reputable sources, combined with my own research. Also, script-based utilities to help you create such things yourself. Updated at least once every two weeks, usually more frequently. Since 2017.

Install / Use

/learn @bongochong/CombinedPrivacyBlockLists

README

Combined Privacy Block Lists

<p align="left"> <img src="https://i.imgur.com/tmiMGph.png"> <img src="https://i.imgur.com/yZ6NnIW.png"> </p>

Ad & malware-blocking hosts files, IP block lists, PAC filters, ABP / uBO / ADG subscriptions and more, all compiled from multiple reputable sources, along with my own research. The generation of these lists is automated via my homemade scripts and utilities, friendler versions of which are available in a subdirectory of this repository and regularly updated to reflect backend improvements. Said utilities can be installed with a simple script or one-liner, for ease of use. Most content in this repo is approved by Richard Stallman himself (theoretically). Use as you see fit, but do continue reading.

| TLD-Optimized | | - | | ABP ǁ DNSMasq ǁ Domains ǁ Wildcards ǁ Bromite ǁ PAC |

| Traditional | | - | | Standard Hosts ǁ Windows Hosts ǁ Domains |

| IP Addresses & Ranges | | - | | CIDR ǁ IPFilter (DAT) ǁ IPFilter (P2P) |

My lists block malicious and harmfully deceptive content, like advertising, tracking, telemetry, scams, and malware. The lists do not block porn, social media, or so-called "fake news" sites, except for the advertising, tracking, telemetry, scam, and malware servers associated with them. False positives and invalid entries are rigorously removed from all lists, and those which contain domains (like hosts files) are processed by an IDN-to-Punycode conversion routine, meaning that they can be utilized on all operating systems. In short, these block lists are both comprehensive and universally compatible, while remaining reasonable in size + scope, and free of censorship. If you find yourself in need of slimmer or somewhat less aggressive lists, I generate Mini or Light variants with every update.

Updates to the lists usually occur every two weeks, but often more frequently. If there is a wave of rapid updates in a single day, this means that there are significant improvements under way. Please consider donating to the project if you find it useful. It should also be noted that my lists are not just relevant to those living in English-speaking countries, as I make efforts to block a good amount of malicious "international" content as well. Additionally, I would like to point out that I manually review updates before making final commits, as I rely on this data myself. Some of my work is included OOTB or as an option in the wonderful AdBlock Plus, ReThink DNS, Blokada, and DNSWarden projects, along with adblock + simple-adblock for OpenWrt, all of which offer important utilities that enable users to block undesirable content across a wide variety of platforms.

Descriptions (mind the footnotes)

  • newhosts-final.hosts: Is a comprehensive hosts file which blocks known ad, exploit, malware, and tracking servers. It is pulled from PGL Yoyo<sup>01</sup>, URL Haus<sup>02</sup>, Updated Immortal Malware Domains<sup>03</sup>, several AdGuard<sup>04</sup> and EasyList sources<sup>05</sup>, along with a wide variety of supplementary lists for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention.<sup>06</sup> It is then merged, sorted and deduped. This list is compatible with any operating systems that make use of a hosts file, and works great with all manner of DNS filtering setups, including local VPN-based solutions for mobile platforms. A notably enhanced experience with the world wide web awaits you. An IPv6 version, a version for both IPv4 and IPv6, a plain list of blocked domains, an optimized wildcard list, and a dnsmasq blacklist are available as well.
  • cpbl-abp-list.txt: Is a filter subscription for AdBlock Plus, uBlock Origin, AdGuard and other similar products, derived from my main hosts file, with some mostly cosmetic filters to remove overlooked web annoyances. It is much smaller than my hosts file while blocking the same amount of content and more (thanks to wildcard matching and flexible ABP syntax). It is quite effective, and an especially good choice for those who do not have access to the hosts file or configurable DNS-based blocking options. I recommend using this list with AdGuard's Base + Tracking + Annoyances filters<sup>07</sup>, or EasyList + EasyPrivacy + FanBoy's Annoyance filters<sup>08</sup>, due to their additional element hiding and exception rule-sets. This list is also available - albeit a bit trimmed down - as a custom ad-block filter for Bromite.
  • pac-done.js: Is a Proxy AutoConfig file<sup>09</sup> meant to block advertising, tracking, malware servers and such. This file is generated from a slimmed down list of the same reputable sources which my main hosts file uses, and takes advantage of the - rather limited - wildcard matching capabilities which PAC files offer. If you are working under a desktop operating system, this PAC file should serve you well, but those on mobile platforms and older devices will probably fare better with my MiniList PAC file.
  • combined-final-win.dat and combined-final.p2p: Are IP block lists suitable for use in torrent clients like Halite for Windows<sup>10</sup>, or qBitTorrent<sup>11</sup> and Transmission<sup>12</sup> under any OS. These lists adhere to ipfilter.dat and PeerGuardian P2P conventions, and will come in especially handy on public trackers (though you can use them confidently on private ones as well). The discerning user may be interested to know that all iBlockList sources have been abandoned for these lists, meaning that the increasingly outdated entries associated with that service, are now a thing of the past. The lists will mitigate a wide gamut of nefarious traffic, being merged from the same sources as the CIDR list described below.
  • combined-final.cidr: Is a CIDR-format IP block list suitable for use with the IPSet utility, Linux-based routers, a variety of firewalls, file-sharing clients and so on. Basically, it works with anything which accepts CIDR lists. It is compiled from the ad-blocking IP list provided by PGL Yoyo<sup>13</sup>, a

Related Skills

View on GitHub
GitHub Stars276
CategoryEducation
Updated1d ago
Forks29

Languages

Shell

Security Score

85/100

Audited on Mar 30, 2026

No findings