一个面向 Apple Silicon 的 macOS 版 Flowseal/zapret-discord-youtube 移植,用 Go 重写,通过 pf、utun 和 BPF 绕过针对 Discord 和 YouTube 的 DPI。

Stars

4

7 天增长

暂无数据

Fork 数

1

开放 Issue

0

开源协议

NOASSERTION

最近更新

2026-07-31

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它解决了 macOS 没有 WinDivert/NFQUEUE 的问题,用 pf route-to、utun 和原始 BPF 写入构建数据通路,并自动转换上游全部 21 个策略且保留精确参数,同时不需要关闭 SIP、内核扩展或公证。

适合谁使用

  • 使用 Apple Silicon Mac、网络 ISP 对 Discord/YouTube 做 DPI 封锁的用户
  • 现有 zapret 用户想在 macOS 上获得等效方案
  • 对 pf、utun 和 BPF 网络包拦截技术感兴趣的开发者
  • 需要在受限网络环境中通过 launchd 守护进程保持绕过能力的用户

典型使用场景

  • 在 DPI 导致 Discord/YouTube 无法访问或降级时恢复连接
  • 用 zaprctl autopick 自动挑选并保留当前 ISP 的最佳策略
  • 运行常驻守护进程,自动监视并恢复 pf anchor
  • 安装前用 zapret-probe 探测当前机器是否支持包数据通路

项目优势

  • 上游 21 个策略由 .bat 自动转换,参数精确保留,无需手工调整
  • 不需要关闭 SIP、安装内核扩展、使用 NetworkExtension、付费开发者账号、重启或公证
  • 在真实硬件上验证,包含十阶段探测与回滚,且不改动 /etc/pf.conf
  • CLI 会逐策略标出当前传输模式无法支持的操作,并拒绝静默启用关键技术缺失的策略

使用前须知

  • root 进程的流量不会绕过 DPI,这是设计限制
  • 不支持 Internet Sharing;完整隧道 VPN 会让数据通路失效,除非使用 --allow-vpn
  • Apple 将 pf 视为非 API,与其他 pfctl 使用可能冲突;策略也可能随 DPI 实现变化而失效

README 快速开始

Quick start / Быстрый старт

项目描述

Flowseal's zapret-discord-youtube, fully ported to macOS (Apple Silicon) — DPI bypass for Discord and YouTube, rewritten from scratch in Go

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

programmersd21
精选
programmersd21 GitHub avatar

flow

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.

开发者工具CLI 与终端
277
makecindy
精选
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI 与机器学习大语言模型
958
l0ng-ai
精选
l0ng-ai GitHub avatar

tty7

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.

开发者工具CLI 与终端
359