Skip to content

To make a public RPZ block list for everyone, open forever.

License

Notifications You must be signed in to change notification settings

MagicTeaMC/rpz-detector

Repository files navigation

RPZ Detector

To make a public RPZ block list for everyone, open forever.

Purpose and Background

About RPZ

TWNIC's implementation of RPZ is an effective DNS-based defense mechanism that significantly enhances network security by blocking malicious domain names at the DNS level. It serves as a vital part of the network infrastructure, contributing to a safer and more reliable internet environment for users in Taiwan. By filtering out known threats before they can reach users, RPZ helps protect individuals and organizations from a wide range of cyber threats.

RPZ Controversy

TL;DR: Taiwan's website blocking system, especially "RPZ 1.5" is controversial. It allows quick blocking without court approval, lacks transparency, and has a history of errors (it used to block some popular domains such as eu.org, Polymarket.com and Instagram.com), raising concerns about potential abuse and the restriction of digital rights. The new law further legitimizes this process, sparking fears of unchecked government power online.

More Info About It:

Download RPZ Block List

This list is not complete, RPZ blocked more than just these domains. Counting only 2024, RPZ has blocked at least 30,000 domains..

rpz-block-list.txt
This block list can be use at anywhere for any legal purpose.

Start Using

Python Script

  1. Create a venv and install requirements.
  2. Clone domains list here, and merge it with merge_datas.py, or use other source
  3. Check if the domains is still alive with massdns (optional)
  4. Config to your want in main.py (optional)
  5. Run main.py then waiting for a while (maybe a day or so)

Rust Script (Beta)

  1. Clone domains list here, and merge it with merge_datas.py, or use other source
  2. Check if the domains is still alive with massdns (optional)
  3. Config to your want in src/main.rs (optional)
  4. Use cargo build --release to build a executable file.
  5. Run executable file then waiting for a while.

MassDNS (Fast)

  1. Create a venv and install requirements.
  2. Clone domains list here, and merge it with merge_datas.py, or use other source
  3. Install massdns
  4. Run massdns -r resolvers.txt -t A -o S -w results.txt domains.txt
  5. Use massdns2list.py to format the list

Domains source

About

To make a public RPZ block list for everyone, open forever.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published