Skip to content

Ad-blocking hosts files, IP block lists, PAC filters, ABP / uBO 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, often more frequently.

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md

bongochong/CombinedPrivacyBlockLists

Repository files navigation

Combined Privacy Block Lists

Ad & malware-blocking hosts files, IP block lists, PAC filters, ABP / uBO 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, 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 MVPS01, PGL Yoyo02, Malware Domain List03, URL Haus04 and EasyList05, along with a wide variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention.06 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 filters07, or EasyList + EasyPrivacy + FanBoy's Annoyance filters08, 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 file09 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 Windows10, or qBitTorrent11 and Transmission12 under any OS. The lists are merged from BlueTack and CruzIT Web Attacks, Hijacks, and Bad Peers - plus a small list based on my own observations, along with traditional bogon ranges - then deduped and sorted.13 These lists adhere to ipfilter.dat conventions, and will come in especially handy on public trackers. These two block lists may receive less updates than other lists, as their sources change infrequently.
  • combined-final.cidr: Is a CIDR-format IP block list suitable for use with the IPSet utility, Linux-based routers, a variety of firewalls, older P2P 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 Yoyo14, a collection of smaller lists from BlockList.de15, the FeodoTracker abuse list16, high confidence Emerging Threats lists17, along with DShield's Top Twenty18, SpamHaus Drop + eDrop19, and a conservative list of IPv4 bogons20. It also incorporates a small list of IPs I've observed malicious activity from, via running public Shoutcast and Icecast servers for extended periods of time. It is likewise deduped + sorted (with overlapping ranges resolved). This list is also available with deny from prepended to each line, here.
  • optimized-win.hosts: Is a hosts file specifically tailored for Windows users, wherein the list is arranged to have seven hosts per line, thus saving space, and preventing the lag that some users experience when they have a large hosts file on that platform. It is culled from the same sources as my main hosts file. While the main hosts file I distribute is meant for all platforms, some Windows users experience a delay when attempting to connect to sites after starting up with a large hosts file in place. This optimized list will resolve that issue for said users. For those who wish to experiment with IPv6 additions, the IPv4+IPv6 version is here.

Please feel free to subscribe to or use these lists as is. I use them on all of my personal devices. The aforementioned lists also fall under a separate license, the WTFPL.

Finally, the user-friendly versions of the scripts and utilities that I use to generate these lists, can be set up in one shot by following the instructions here.

They include the following:

  • Hosts File Updater - Automated and easy-to-configure bash script for updating your hosts file from multiple sources. Pre-configured to work with included templates. Runs properly out of the box. GNU/Linux and other Unix-like operating systems only. There is also a version that updates your hosts file with both IPv4 and IPv6 entries here, and one for IPv6-only here.
  • BitTorrent IP Block Updater (DAT Format) - Bash script for automated generation of an IP block list from multiple sources for torrent clients like Halite. Pre-configured and runs out of the box. GNU/Linux and other Unix-like operating systems only.
  • BitTorrent IP Block Updater (P2P Format) - Bash script for automated generation of an IP block list from multiple sources for torrent clients like qBitTorrent and Transmission. Pre-configured and runs out of the box. GNU/Linux and other Unix-like operating systems only.
  • PAC Updater - A bash script that automatically generates, updates and optionally uploads an ad-blocking PAC file to your server of choice. GNU/Linux and other Unix-like operating systems only.

These tools are modified versions of the ones I run on my GNU/Linux boxes. I test them regularly. Some of them have dependencies, so make sure you inspect their respective readme files, and that your system has the relevant programs if you plan on using my tools. The GNU/Linux scripts should work on OS X or BSD, so long as dependencies are met. There are editions for Cygwin as well. All of my tools clean up after themselves, leaving no extraneous or intermediary files behind.

If you're a Windows user who is not comfortable with Cygwin, then you may be interested in My CWP Utilities Repository, which contains simplified Windows ports of the utilities listed above, compatible with both 32 and 64-bit versions of Windows. They are friendlier versions of my GNU/Linux tools, bundled with the necessary dependencies, distributed with an integrated, easy-to-use, and coherent interface.

Notice: Due to resource considerations, I will likely have to re-initialize this repository without a commit history at some point. Over six years of commits make for one huge .git directory, and re-basing + pruning + garbage collection is only doing so much. Everything important will always be here, but don't be surprised if you arrive here one day and only see two or three commits in the logs. This started as a purely personal project, and an attempt to replicate the functionality of some very useful software titles, but in the form of bash scripts. It has grown into a good deal more than that, and I am very pleased that others find my efforts useful.

GNU Terry Pratchett | Carpentry Get Truth | A.M.K.

01. MVPS Hosts.
02. PGL Yoyo Hosts.
03. Updated Malware Domains Immortal List.
04. URL Haus Active Domains.
05. EasyList Hosts.
06. Additional | Supplementary | Sources.
07. AdGuard Filters.
08. EasyList Filters.
09. Proxy Auto-Configuration Files.
10. Halite.
11. qBitTorrent.
12. Transmission.
13. BlueTack on I-BlockList.
14. PGL Yoyo PeerBlock.
15. BlockList.de Lists.
16. FeodoTracker Abuse.
17. Emerging Threats.
18. DShield Lists.
19. SpamHaus Lists.
20. Cymru Bogon Reference.

About

Ad-blocking hosts files, IP block lists, PAC filters, ABP / uBO 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, often more frequently.

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks