# metacubex/meta-rules-dat

**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/metacubex-meta-rules-dat).**

3,753 stars · 658 forks · Shell · gpl-3.0 · fork

## Links

- GitHub: https://github.com/MetaCubeX/meta-rules-dat
- awesome-repositories: https://awesome-repositories.com/repository/metacubex-meta-rules-dat.md

## Description

meta-rules-dat is a collection of binary-encoded network datasets used to identify and categorize traffic for routing on resource-constrained devices. It provides a structured domain categorization list and a geographic IP routing dataset to map network traffic to specific countries or service providers.

The project utilizes trie-based lookup data and compact binary serialization to enable high-performance prefix matching and fast domain-to-category resolution. To minimize memory and storage overhead, it employs stripped-down GeoIP mapping that removes non-essential metadata.

The datasets cover network traffic categorization and routing management, organizing network requests into groups such as advertising or global services. This allows for the application of targeted routing and blocking policies based on site type, origin country, or service provider.

## Tags

### Networking & Communication

- [Domain Traffic Filters](https://awesome-repositories.com/f/networking-communication/domain-traffic-filters.md) — Organizes network requests into categories like advertising or global services for targeted routing policies.
- [Network Traffic Filters](https://awesome-repositories.com/f/networking-communication/network-traffic-filters.md) — Provides optimized datasets of categorized domains and IP addresses for integration with proxy and routing software.
- [Binary Routing Datasets](https://awesome-repositories.com/f/networking-communication/binary-routing-datasets.md) — Provides a collection of domain and IP mapping data stored in a compact binary format.
- [Category-Based Domain Partitioning](https://awesome-repositories.com/f/networking-communication/category-based-domain-partitioning.md) — Groups network domains into discrete functional categories to apply targeted routing and blocking policies.
- [Geographic Traffic Routing](https://awesome-repositories.com/f/networking-communication/geographic-traffic-routing.md) — Maps internet traffic to specific countries or providers to control data flow based on geographic origin.
- [Traffic Routing Policies](https://awesome-repositories.com/f/networking-communication/traffic-routing-policies.md) — Implements routing policies that organize network traffic into domain groups for trackers or providers. ([source](https://github.com/MetaCubeX/meta-rules-dat#readme))

### Part of an Awesome List

- [IP-to-Country Databases](https://awesome-repositories.com/f/awesome-lists/data/country-and-regional-data/country-identifiers/ip-to-country-databases.md) — Maps IP addresses to geographic regions and service providers for origin-based traffic routing. ([source](https://github.com/MetaCubeX/meta-rules-dat#readme))

### Data & Databases

- [Binary Data Formats](https://awesome-repositories.com/f/data-databases/binary-data-formats.md) — Implements compact binary serialization formats to minimize memory overhead and increase lookup speed.
- [GeoIP Databases](https://awesome-repositories.com/f/data-databases/geoip-databases.md) — Ships a stripped-down geographic IP database for mapping traffic to countries and providers.
- [Binary Serialization](https://awesome-repositories.com/f/data-databases/binary-serialization.md) — Converts human-readable routing rules into a dense binary stream for optimized loading and runtime memory usage.
- [Resource Optimization](https://awesome-repositories.com/f/data-databases/data-storage-optimizers/resource-optimization.md) — Employs compressed binary datasets to reduce memory and storage overhead on low-power hardware.
- [Metadata-Stripped Datasets](https://awesome-repositories.com/f/data-databases/geoip-databases/metadata-stripped-datasets.md) — Removes non-essential geographic fields from IP databases to reduce total storage footprint.
- [Domain Indices](https://awesome-repositories.com/f/data-databases/hierarchical-data-indexing/domain-indices.md) — Organizes network domains into a structured index to map hosts to predefined routing categories.

### Programming Languages & Runtimes

- [Binary Instruction Encodings](https://awesome-repositories.com/f/programming-languages-runtimes/binary-instruction-encodings.md) — Uses compact binary formats for dataset storage to minimize memory consumption on resource-constrained hardware.

### Software Engineering & Architecture

- [Trie Data Structures](https://awesome-repositories.com/f/software-engineering-architecture/trie-data-structures.md) — Implements trie-based data structures for high-performance prefix matching and fast domain resolution.

### DevOps & Infrastructure

- [Geographic Routing Datasets](https://awesome-repositories.com/f/devops-infrastructure/regional-routing/geographic-routing-datasets.md) — Utilizes stripped-down geographic routing datasets to minimize memory and storage usage. ([source](https://github.com/MetaCubeX/meta-rules-dat#readme))
