snirect

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: MIT

README

Snirect

跨平台 HTTP/HTTPS 代理:按规则改 TLS SNI,必要时用本机根 CA 做 MITM。提供桌面端 CLI 与 Android 应用。

预编译包:Releases。

make build
./dist/snirect -s          # 前台运行,顺带设系统代理
./dist/snirect cert install

HTTPS 站点必须先装根 CA(Firefox 再加一条 cert firefox install)。私钥只在本机。

Directories

Path Synopsis
Package app's service.go provides a unified, kardianos/service-backed service manager that replaces the previous per-OS hand-written installers (systemd unit, launchd plist, Windows scheduled task).
Package app's service.go provides a unified, kardianos/service-backed service manager that replaces the previous per-OS hand-written installers (systemd unit, launchd plist, Windows scheduled task).
cmd
snirect command
Package color holds the ANSI color/style escape sequences shared by the logger console handler and the CLI's UI helper.
Package color holds the ANSI color/style escape sequences shared by the logger console handler and the CLI's UI helper.
Package config defines configuration structures and provides loading, validation, and default management for Snirect.
Package config defines configuration structures and provides loading, validation, and default management for Snirect.
Package dns provides multi-backend DNS resolution (UDP/TCP/TLS/DoH) with caching and IP preference selection.
Package dns provides multi-backend DNS resolution (UDP/TCP/TLS/DoH) with caching and IP preference selection.
Package proxy implements the core HTTP/HTTPS proxy server with TLS interception and SNI modification capabilities.
Package proxy implements the core HTTP/HTTPS proxy server with TLS interception and SNI modification capabilities.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL