O3O Mastodon Toolkit


Block User-Agents

Block search engine crawlers and potentially censored browsers by blocking user-agents

Cloudflare
Cloudflare dashboard > Firewall > Firewall Rues > Edit expression
Usage Example #1: /rule.php?program=cloudflare
Usage Example #2: /rule.php?program=cloudflare&list=https://example.com/ua-blacklist.txt

Nginx
Add to your Nginx configuration file
Usage Example #1: /rule.php?program=nginx
Usage Example #2: /rule.php?program=nginx&list=https://example.com/ua-blacklist.txt


GFW Detector

Detect whether your instance is blocked, tampered with and/or DNS-contaminated by China's firewall

GFW Detector
Usage Example #1: /detect.php?domain=example.com
Usage Example #2: /detect.php?domain=example.com&mode=china
Usage Example #3: /detect.php?domain=example.com&mode=foreign