# ihciah/clean-dns-bpf

基于 Rust + eBPF 丢弃 GFW DNS 污染包

Repository: https://github.com/ihciah/clean-dns-bpf
Canonical: https://ross.abutalabs.com/products/clean-dns-bpf
Language: Rust
License Family: other
Last push: 2021-12-05T04:37:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1796, "days_push": 1732, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1115, forks 63 (observed 2026-08-28T04:03:38.330873+00:00)

## What it is
A Rust + eBPF/XDP tool that drops GFW DNS poisoning packets at the kernel level, allowing clean DNS resolution from 8.8.8.8 without a proxy. It filters poisoned responses by matching packet fingerprints like IP ID, flags, and DNS header markers.

## Use cases
- get uncensored DNS results from 8.8.8.8 without a VPN
- filter GFW DNS poisoning at the kernel level
- resolve blocked domains correctly behind the Great Firewall
- drop DNS hijack packets using eBPF/XDP
- avoid running a userspace proxy just for clean DNS

## When to choose
- you are on Linux with XDP-capable kernel and NIC drivers
- you want a lightweight, high-performance kernel-space DNS poison filter
- you only need clean resolution from 8.8.8.8 and don't need a full proxy

## When to avoid
- you are not on Linux or your kernel/NIC lacks XDP support
- you need general censorship circumvention beyond DNS, such as a full proxy or VPN
- you need a maintained cross-platform solution with active releases

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: networking, security, privacy
- domain: networking, security, privacy, censorship-circumvention
- platform: cli
- tags: ebpf, xdp, dns-filtering, gfw, rust, packet-filtering, dns-poisoning, linux

## Member repositories
- ihciah/clean-dns-bpf (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:38.330873+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:42:10.810348+00:00, confidence not recorded.
  - readme: https://github.com/ihciah/clean-dns-bpf (fetched 2026-08-28T04:03:38.330873+00:00, sha 818d95e540dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
