# cats-team/adrules

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/cats-team-adrules).**

3,463 stars · 230 forks · Python · wtfpl

## Links

- GitHub: https://github.com/Cats-Team/AdRules
- Homepage: https://adrules.top/
- awesome-repositories: https://awesome-repositories.com/repository/cats-team-adrules.md

## Topics

`adblock` `adblock-list` `adguard` `adguard-blocklist` `dns`

## Description

AdRules is a collection of ad-blocking rule sets and DNS filter lists designed to identify and block malicious domains, trackers, and PCDN services. It functions as a DNS sinkhole filter and a malware domain blocklist used by DNS servers and network proxies to stop advertisements and harmful content from loading.

The project provides regional network optimization, utilizing rule sets tailored to specific geographic regions, languages, and mobile device conditions to target local advertising networks.

The system covers DNS traffic filtering and malware domain blocking through suffix-based domain matching and rule-based pattern matching. It integrates curated filter lists to intercept network requests and block access to known advertising and tracking domains.

## Tags

### Networking & Communication

- [Ad-Blocking Lists](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-infrastructure-configuration/network-infrastructure/dns-based-ad-blockers/ad-sdk-blocking-rule-lists/ad-blocking-lists.md) — Provides curated lists of advertising, tracking, and PCDN domains for use in network filters. ([source](https://adrules.top/adblock.txt))
- [Traffic Interception Rules](https://awesome-repositories.com/f/networking-communication/traffic-interception-rules.md) — Evaluates network requests against defined criteria and curated lists to determine if traffic should be intercepted.

### Security & Cryptography

- [DNS Filtering](https://awesome-repositories.com/f/security-cryptography/dns-filtering.md) — Implements DNS-level filtering to block network requests by mapping unwanted domains to null addresses.
- [Content Filtering and Blocking](https://awesome-repositories.com/f/security-cryptography/application-and-system-security/browser-security/content-filtering-blocking.md) — Blocks advertisements and malware through a combination of rule-based filters and DNS blocks. ([source](https://gp.adrules.top/adblock.txt))
- [External Filter List Integrations](https://awesome-repositories.com/f/security-cryptography/application-and-system-security/browser-security/content-filtering-blocking/content-filtering/external-filter-list-integrations.md) — Provides a system for importing and parsing external rule sets to maintain current blocklists of malicious domains.
- [Regional Ad Filtering](https://awesome-repositories.com/f/security-cryptography/domain-access-restrictions/regional-bypass-rules/regional-ad-filtering.md) — Implements network optimization using filtering rules tailored to specific geographic regions and languages.
- [Domain Blocklists](https://awesome-repositories.com/f/security-cryptography/domain-blocklists.md) — Provides specialized lists of malicious domains and trackers to enhance network security.
- [Malicious Domain Filtering](https://awesome-repositories.com/f/security-cryptography/malicious-domain-filtering.md) — Prevents network connections to domains identified as hosting malware, trackers, or phishing content. ([source](https://adrules.top/mosdns_adrules.txt))
- [Sinkhole Filter Lists](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/network-security-tools/dns-sinkholes/sinkhole-filter-lists.md) — Ships domain lists formatted for integration into network-wide DNS sinkhole filtering systems.
- [Privacy and Ad Blocking](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking.md) — Filters network requests to prevent tracking and block intrusive advertising and malicious connections. ([source](https://cdn.jsdelivr.net/gh/cats-team/adrules@script/README.md))
- [Regional Filter Optimization](https://awesome-repositories.com/f/security-cryptography/domain-access-restrictions/regional-bypass-rules/regional-filter-optimization.md) — Applies specific filter sets tailored to geographic regions and languages to target local advertising networks.
- [Network Traffic Filters](https://awesome-repositories.com/f/security-cryptography/network-traffic-filters.md) — Intercepts and blocks network requests to specific domains using curated DNS filter rules. ([source](https://gp.adrules.top/dns.txt))
- [Mobile Ad Filtering Configurations](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking/mobile-ad-filtering-configurations.md) — Offers filtering rules specifically optimized for suppressing advertisements and trackers on mobile devices. ([source](https://adrules.top/adblock_lite.txt))

### Part of an Awesome List

- [Domain Pattern Matching](https://awesome-repositories.com/f/awesome-lists/devtools/regex-and-pattern-matching/domain-pattern-matching.md) — Uses regular expressions and wildcards to identify and block clusters of related advertising subdomains.
