Merge branch 'main' into domains

This commit is contained in:
WickedYoda authored and GitHub committed 2026-09-26 21:55:46 -05:00
commit 598b4d0809
16 files changed
+16269 -92

No files matched your search

+16130 -37
View File
File diff suppressed because it is too large. Load diff
+74
View File
@@ -0,0 +1,74 @@
# bypass_sites.txt Index
> Index of categorized domains in [`bypass_sites.txt`](./bypass_sites.txt)
> This file is regenerated by `update_domains.py --bypass` (combines
> social+porn, no streaming services).
## Structure
The file contains three sections, in order:
1. **Bypass Sites (18 services)** — Manually curated list with structured headers for:
- Facebook/Meta, Amazon, Apple, TikTok/Bytedance, Instagram, Duck.com, ESPN,
Flickr, Meetup, Zoom, Discord, Pinterest, Quora, Snapchat, OnlyFans, Fansly,
WhatsApp — and their known IP ranges.
2. **Porn Sites** — Bulk-merged from `known_porn_domains.txt` and
`known_porn_domains_v2.txt` with all duplicates removed against Section 1.
## Section 1 — Bypass Services
| # | Service Group | Example Domains | IP Ranges |
|---|--------------|-----------------|-----------|
| 1 | Facebook / Meta | facebook.com, fb.com, instagram.com, meta.com | 33 |
| 2 | Amazon | amazon.com, amazonaws.com, s3.amazonaws.com | 0 |
| 3 | Apple | apple.com, apple-dns.net, mzstatic.com, icloud.com | 3 |
| 4 | TikTok / Bytedance | tiktok.com, bytedance.com, musical.ly | 15 |
| 5 | Instagram | instagram.com, api.instagram.com, cdninstagram.com | 0 |
| 6 | Duck.com | duck.com, duckduckgo.com, ddg.gg | 0 |
| 7 | ESPN | espn.com, espn.net, espncdn.com | 0 |
| 8 | Flickr | flickr.com, staticflickr.com | 0 |
| 9 | Meetup | meetup.com, meetupstatic.com | 0 |
| 10 | Zoom | zoom.us, zoom.com, zoomgov.com | 0 |
| 11 | Discord | discord.com, discordapp.com, discord.media | 0 |
| 12 | Messenger | messenger.com | 0 |
| 13 | Pinterest | pinterest.com, pinimg.com, pinterestcdn.com | 0 |
| 14 | Quora | quora.com, quoracdn.net | 0 |
| 15 | Snapchat | snapchat.com, snap.com, snapkit.com | 64 |
| 16 | OnlyFans | onlyfans.com, cdn3.onlyfans.com, api.onlyfans.com | 3 |
| 17 | Fansly | fansly.com, cdn3.fansly.com, apiv3.fansly.com | 3 |
| 18 | WhatsApp | whatsapp.com, whatsapp.net, wa.me | 8 |
## Section 2 — Porn Sites (merged)
| Source File | Unique Domains Added |
|------------|---------------------|
| known_porn_domains.txt | ~15,907 |
| known_porn_domains_v2.txt | ~1,933 (unique, not in v1) |
| **Total porn entries** | **16,117** |
## Section 3 — IP Ranges (deduplicated)
Combined from all service sources. Total IP/CIDR entries: 111.
## Services NOT Included (by design)
- Netflix, Hulu, Disney+, Amazon Prime Video — streaming services
- Spotify, Deezer, Tidal, Pandora — music/audio streaming
- YouTube, Twitch, Rumble — video platforms
- Twitter/X, Reddit, VK, Tumblr, Weibo — social media (not requested)
- Imgur, 4chan, Sina — non-requested platforms
- Telegram — not in user's requested list
## IP Range Notes
- Meta/Facebook: AS32934, AS2603, AS131772 (224.0.0.0/4 excluded — multicast)
- OnlyFans/Fansly: Cloudflare AS13335 (shared ranges deduplicated)
- WhatsApp: Meta AS32934
## Validation
- ✅ Zero streaming domains in file
- ✅ Zero non-approved social media domains
- ✅ Zero duplicate entries (domains or IPs)
- ✅ Zero digit-leading domains (filtered for DNS tool compatibility — Pi-hole, AdGuard, etc.)
- ✅ All 18 service groups present with headers
- ✅ All associated domains included (fb.com, m.me, wa.me, cloudfront.net, etc.)
- ✅ known_porn_domains.txt and _v2.txt merged with deduplication
- ✅ DOMAIN_RE in update_domains.py updated to match stricter validation (letter-first label)
+2 -2
View File
@@ -60,7 +60,7 @@ def backup_file(path, label):
DOMAIN_RE = re.compile(
r'^(?=.{1,253}$)'
r'([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+'
r'([a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+'
r'[a-zA-Z]{2,63}$'
)
@@ -287,7 +287,7 @@ def main():
parser = argparse.ArgumentParser(description="Update domain lists - never delete!")
parser.add_argument("--streaming", action="store_true", help="Update streaming only")
parser.add_argument("--social", action="store_true", help="Update social media only")
parser.add_argument("--bypass", action="store_true", help="Update bypass_sites (combines streaming+social)")
parser.add_argument("--bypass", action="store_true", help="Update bypass_sites (combines social+porn+OnlyFans/Fansly), no streaming")
parser.add_argument("--porn", action="store_true", help="Update porn domains")
parser.add_argument("--all", action="store_true", help="Update all lists")
args = parser.parse_args()