Commit Graph
75 Commits
Author SHA1 Message Date
fscarmen 4f29ea5c92 v1.3.16 feat: support bind_interface for multi-NIC servers
- Add bind_interface option in sb -d menu to bind outbound traffic to a specific NIC
- Change v2rayN Hysteria2 Realm config from Finalmask field to ProtoExtraObj

v1.3.16 feat: 支持指定网络出口,多网卡绑定

- sb -d 菜单新增「指定网络出口」选项,可为出站流量绑定特定网卡
- v2rayN 的 Hysteria2 Realm 配置从 Finalmask 字段改为 ProtoExtraObj
2026-07-15 23:06:26 +00:00
fscarmen 3dfbec4215 v1.3.15 feat: improve hysteria2 realm UX, fix port hopping, add v2rayN realm support
- add v2rayN Finalmask field for hysteria2 realm subscription output
- add dedicated "Close Realm" / "Open Realm" menu entries (E[167]/E[168])
- detect realm state from subscribe/proxies realm-opts instead of reading config file
- skip fetch_nodes_value when closing realm; keep it when opening
- fix port hopping target parsing (strip leading whitespace from awk output)
- keep server/server_port in sing-box json output when realm is enabled, realm as additional field

v1.3.15 feat: 优化 Hysteria2 Realm 交互体验,修复端口跳跃,新增 v2rayN Realm 支持

- v2rayN 订阅输出增加 Realm 的 Finalmask 字段
- 新增"关闭 Realm"/"开启 Realm"独立菜单项(E[167]/E[168])
- 通过 subscribe/proxies 的 realm-opts 判断 Realm 状态,不再读取配置文件
- 关闭 Realm 时跳过 fetch_nodes_value,开启时保留
- 修复端口跳跃目标解析(去除 awk 输出的前导空格)
- sing-box JSON 输出开启 Realm 时保留 server/server_port,realm 作为附加字段
2026-07-01 06:44:10 +00:00
fscarmen 2ca9504654 feat: security upgrade for subscriptions, client output improvements
- replace Nekobox with Throne for client output; generate independent Throne config
- security upgrade: remove `insecure=true`, use TLS certificate fingerprint verification

feat: 订阅链接安全升级,客户端输出优化

- 使用 Throne 替代 Nekobox 输出客户端配置,独立生成 Throne 配置
- 安全升级:移除 `insecure=true`,启用 TLS 证书指纹校验
2026-06-06 03:25:28 +00:00
fscarmen 5644e6bebb v1.3.14 feat: add custom warp-ep route rule management
- add optional custom warp-ep route rule management via [sb -d]
- expand custom route entries by individual domain_suffix and rule_set values

v1.3.14 feat: 增加自定义 warp-ep 路由规则管理

- 增加可选的自定义 warp-ep 路由规则管理,可通过 [sb -d] 按需配置
- 将 domain_suffix 和 rule_set 数组按单项展开显示
2026-05-29 22:46:10 +00:00
fscarmen 5672af2cee feat: add Armbian support to system detection
- add Armbian detection and mapping logic in system identification
- update error messages to include Armbian in supported systems

feat: 增加对 Armbian 系统的支持

- 在系统识别逻辑中添加对 Armbian 的检测与映射
- 更新错误提示信息,在支持系统中包含 Armbian
2026-05-20 04:07:17 +00:00
fscarmen d785652c53 v1.3.13 feat: add explicit HTTP clients for remote rule sets
* add `http_clients` configuration for sing-box 1.14.0+
* set `route.default_http_client` for remote rule-set downloads
* fix: correct Cloudflare API validation logic

v1.3.13 feat: 增加远程规则集 HTTP Client 配置

* 为 sing-box 1.14.0+ 增加 `http_clients` 配置
* 为远程规则集下载设置 `route.default_http_client`
* fix: 修正 Cloudflare API 判断逻辑
2026-05-17 21:08:30 +00:00
fscarmen d6cb1796f4 v1.3.12 feat: add Hysteria2 Realm support
* add Hysteria2 Realm configuration for servers and supported clients
* export Realm options for Clash/Mihomo and sing-box clients
* support WARP-assisted hole punching for strict NAT environments
* allow enabling or disabling Hysteria2 Realm from `sb -d`
* add non-interactive Realm and Realm WARP parameters
* rename `PORT_HOPPING_RANGE` to `HY2_PORT_HOPPING_RANGE` to align Hysteria2 optional parameter prefixes

feat: 增加 Hysteria2 Realm 支持

* 为服务端和支持的客户端增加 Hysteria2 Realm 配置
* 为 Clash/Mihomo 和 sing-box 客户端导出 Realm 参数
* 支持严格 NAT 环境下的 WARP 辅助打洞
* 支持通过 `sb -d` 开启或关闭 Hysteria2 Realm
* 增加 Realm 和 Realm WARP 无交互参数
* 将 `PORT_HOPPING_RANGE` 改为 `HY2_PORT_HOPPING_RANGE`,统一 Hysteria2 可选参数名前缀
2026-05-14 22:44:42 +00:00
fscarmen b5cf0bdb0a v1.3.11 feat: update v2rayN exports for Tuic, AnyTLS and naive dedicated links
- generate v2rayn:// dedicated links for Tuic subscriptions
- generate v2rayn:// dedicated links for AnyTLS subscriptions
- generate v2rayn:// dedicated links for naive http2 and quic modes
- Thank to @DHR60

feat: 更新 v2rayN 的 Tuic, AnyTLS 与 naive 专属链接导出格式

- 为 Tuic 订阅生成 v2rayn:// 专属链接
- 为 AnyTLS 订阅生成 v2rayn:// 专属链接
- 为 naive http2 和 quic 模式生成 v2rayn:// 专属链接
- 感谢 @DHR60
2026-05-07 12:19:47 +00:00
fscarmen dbb79a77ad v1.3.10 feat: add naive support and switch NekoBox export to Throne
- add naive to protocol selection, quick install, and reload flows
- generate naive inbound config with username/password authentication
- create and refresh 200-day certificates for naive when missing, expired, or SNI changes
- export naive nodes for ShadowRocket, V2RayN, Throne, and sing-box clients
- replace NekoBox subscription output with Throne-compatible links
- include TLS certificate data in Throne subscription links
- update client prompts and compatibility notes for naive and Throne

v1.3.10 feat: 增加 naive 支持并将 NekoBox 导出切换为 Throne

- 将 naive 加入协议选择、极速安装和重载流程
- 生成带用户名 / 密码认证的 naive 入站配置
- 在证书缺失、过期或 SNI 变化时自动生成 / 刷新 200 天证书
- 为 ShadowRocket、V2RayN、Throne 和 sing-box 客户端导出 naive 节点
- 将 NekoBox 订阅输出替换为 Throne 兼容链接
- 在 Throne 订阅链接中附带 TLS 证书数据
- 更新 naive 与 Throne 相关客户端提示和兼容性说明
2026-04-27 13:06:08 +00:00
fscarmen d8edd86142 v1.3.9 feat: refactor config flow and firewall system
- remove pre-install UFW blocking logic, fallback to iptables when inactive
- unify firewall behavior across install, update, and uninstall
- normalize user input (spaces, full-width symbols)
- avoid unnecessary sing-box restart for CDN / bandwidth / port hopping changes
- reduce redundant single-use functions

feat: 重构配置流程与防火墙系统

- 移除安装前 UFW 强制校验,inactive 自动回退 iptables
- 统一安装 / 修改 / 卸载的防火墙逻辑
- 自动处理空格与全角符号输入
- 优选地址 / 带宽 / 端口跳跃修改不再重启 sing-box
- 清理单次调用函数,提升结构可读性
2026-04-11 14:22:18 +00:00
fscarmen 1c06a002da v1.3.8 feat: add UFW firewall support and merge -p into -d https://github.com/fscarmen/sing-box/issues/290
- Automatically detect UFW and switch rule management accordingly
- Add native UFW support for Hysteria2 port hopping rules (no iptables / netfilter-persistent required)
- Optimize UFW rule updates and cleanup behavior
- Merge the old -p (port change) functionality into -d (config editor), simplifying usage
- Remove the standalone -p / -P entry points entirely

feat: 支持 UFW 防火墙管理,合并 -p 到 -d

- 自动检测 UFW 并切换规则管理方式
- 新增对 Hysteria2 端口跳跃的 UFW 原生支持(无需 iptables / netfilter-persistent)
- 优化 UFW 规则更新及清理逻辑
- 将原有 -p(修改端口)功能合并到 -d(配置修改),简化使用方式
- 完全移除独立的 -p / -P 入口
2026-04-10 06:46:08 +00:00
fscarmen cd2632ba9d v1.3.7 Enhance Hysteria2 with post-installation port hopping and bandwidth configuration
- Add support for enabling/disabling Hysteria2 port hopping and modifying port ranges after installation
- Allow customization of Hysteria2 upload/download bandwidth without reinstalling
- Enhance client configuration with proper Hysteria2 bandwidth (up/down) and port hopping parameters
- Improve port range input validation with automatic separator normalization
- Simplify menu option 9 description to "Change node configuration

增强 Hysteria2,支持安装后配置及客户端参数完善

- 支持安装后启用/禁用 Hysteria2 端口跳跃,并可修改端口范围
- 支持自定义 Hysteria2 上下行带宽,无需重新安装
- 完善客户端配置,补充 Hysteria2 上传/下载速率及端口跳跃参数
- 改进端口范围输入校验,自动规范分隔符格式
- 简化菜单选项 9 描述为“修改节点配置”
2026-04-09 15:00:51 +00:00
fscarmen ac1e83558d v1.3.6 feat: refactor change_config, optimize text() and unify TLS_SERVER handling
- Replace change_cdn() with change_config() supporting multi-field edits (CDN, Reality SNI, node name, UUID/password, server IP) via unified menu
- Rewrite text() with bash nameref + pre-scanned TEXT_NEEDS_EVAL map to eliminate per-call grep subprocesses
- Refactor ssl_certificate() to accept a TLS_SERVER parameter instead of using global TLS_SERVER_DEFAULT
- Remove per-protocol TLS_SERVER array; use single scalar read from cert SAN
- Localize cert fingerprint variables inside export_list()
- Bump version to v1.3.6 (2026.03.22)

v1.3.6 重构:统一修改入口 change_config、优化 text() 函数、统一 TLS_SERVER 处理

- 用 change_config() 替换 change_cdn(),通过统一菜单支持多项修改(CDN、Reality SNI、节点名、UUID/密码、服务器 IP)
- 用 bash nameref + 预扫描 TEXT_NEEDS_EVAL 关联数组重写 text() 函数,消除每次调用产生的 grep 子进程
- 重构 ssl_certificate(),改为接受 TLS_SERVER 参数,不再依赖全局变量 TLS_SERVER_DEFAULT
- 移除各协议独立的 TLS_SERVER 数组,改为从证书 SAN 读取统一标量
- 将证书指纹变量局部化至 export_list() 内部
- 版本升级至 v1.3.6 (2026.03.22)
2026-03-24 01:13:33 +00:00
fscarmen 623db9c416 v1.3.5 Performance: Optimize concurrent process execution to significantly accelerate script installation. 2026-03-15 02:30:10 +00:00
fscarmenandGitHub f77b3ba2df Thanks to [VPS.Town](https://vps.town). 2026-03-11 20:07:31 +08:00
fscarmen 4d87f17ec3 v1.3.4 Chore: upgrade SS encryption method to SS-2022 spec. 2026-02-10 17:11:06 +00:00
fscarmen 8bd017c214 v1.3.3 feat: enhance security and update SFM/SFA compatibility.
Security: Add pinnedPeerCertSha256 for Hy2/Trojan in v2rayN to prevent MITM (replaces AllowInsecure).

Compatibility: Refactor SFM/SFI/SFA configs for sing-box v1.13.0+.
2026-01-20 07:32:16 +00:00
fscarmen d7cdde95f6 v1.3.2 feat: Add Argo tunnel creation via Cloudflare API
- Auto-create Argo tunnels using Cloudflare API tokens with auto DNS setup
- Intelligent GitHub proxy fallback: test direct first, then cycle proxies
- Support 3 Argo auth methods: Token, Json, and API token
- Add comprehensive API token permission requirements to README
- Update documentation with Cloudflare API setup instructions

Credits: Thanks to zmlu for Cloudflare API implementation approach
2025-12-15 13:36:23 +00:00
fscarmen cdc8601727 feat: Add SNI support and self-signed certificate enhancements for multiple protocols
- Add SNI (Server Name Indication) support to Hysteria2, Tuic, Trojan, and AnyTLS protocols for improved TLS handshake compatibility
- Update self-signed certificate public key configuration across affected protocol inbound configurations
- Add detailed documentation on handling self-signed certificates in various client applications
- Include client-specific instructions for certificate validation and bypass methods
- Improve security posture by leveraging SNI for better certificate verification workflows
- Update configuration templates and inline comments for clarity on certificate usage per protocol
2025-12-09 14:51:03 +00:00
fscarmen f0240b9081 Add LICENSE (GNU GPL v3)
Add the full GNU General Public License v3.0 text to the project root (LICENSE) and
include the SPDX identifier (SPDX-License-Identifier: GPL-3.0-or-later). Update README
to reference the LICENSE file.
2025-11-21 11:42:33 +00:00
fscarmen 76920a992b v1.3.1 Quick Install Mode and Custom Reality Key Support.
1. Reality Configuration Update: In Reality configurations, the original multiplexing (multiplex) has been replaced with xtls-rprx-vision flow control, improving transmission efficiency, reducing latency, and enhancing security. The original configuration conversion script command remains fully compatible and unchanged — bash <(curl -sSL https://raw.githubusercontent.com/fscarmen/tools/main/vision.sh).

2. Quick Install Mode: Added a one-click installation feature that auto-fills all parameters, simplifying the deployment process. Chinese users can use -l or -L; English users can use -k or -K. Case-insensitive support makes operations more flexible.

3. Custom Reality Key Support: In response to user feedback, you can now specify a custom Reality private key via --REALITY_PRIVATE=<privateKey>. The script will automatically compute the corresponding public key using the integrated API. If left blank, it generates a random private-public key pair in real-time.

4. Enhanced HTTP + Reality Support in Clash Clients: Added full compatibility for HTTP + Reality transport in Clash clients, improving connection stability and performance.
2025-11-12 10:39:08 +00:00
fscarmen c1cc9d372e v1.3.0 Replace multiplex with xtls-rprx-vision flow control in reality configuration. 2025-11-11 02:56:12 +00:00
fscarmen adcaf813fc v1.2.19 Enhance security by replacing certificate skipping with certificate fingerprint verification
This commit improves the security posture for Shadowrocket, Clash, and sing-box clients by implementing certificate fingerprint validation instead of the less secure certificate skipping approach.

Key changes:
- Shadowrocket: Replaced insecure TLS validation with HPKP-based certificate fingerprint verification
- Clash: Updated configuration to use certificate fingerprints instead of skip-cert-verify flags
- sing-box: Implemented certificate_public_key_sha256 verification for enhanced TLS security

This change ensures that only connections with verified server certificates are accepted, significantly reducing the risk of man-in-the-middle attacks while maintaining compatibility with self-signed certificates.
2025-11-06 09:16:58 +00:00
fscarmen 633623dfdf v1.2.18 Support AnyTLS URI in v2rayN v7.14.3+ 2025-08-27 07:54:16 +00:00
fscarmenandGitHub d2a005647c Thanks to [Sharon](https://sharon.io). 2025-07-29 18:32:51 +08:00
fscarmen ade20bb77e Fix a bug in non-interactive installation. 2025-07-14 06:50:56 +00:00
fscarmen b520674f09 Prioritize using a GitHub proxy and replace the script execution count tracking service. 2025-07-12 04:18:19 +00:00
fscarmen 6e54af3170 v1.2.17 Added the ability to change CDNs online using [sb -d]. 2025-04-26 02:20:44 +00:00
fscarmen ee030a8e09 v1.2.16 Use OpenRC on Alpine to replace systemctl (Python3-compatible version). 2025-04-07 02:01:40 +00:00
fscarmen 712185c578 v1.2.15 AnyTLS supports output for clients such as Shadowrocket, Clash Mihomo, and Sing-box. 2025-04-05 14:18:05 +00:00
fscarmen 9795b9ffcd Update config file describe. 2025-03-27 06:02:02 +00:00
fscarmen d6ab0a626d v1.2.14 Added support for anytls protocol. 2025-03-24 00:53:26 +00:00
fscarmen bf575805bb v1.2.13 Compatible with Sing-box 1.12.0-alpha.18 2025-03-18 05:43:17 +00:00
fscarmen b44432c55b v1.2.12 Add a mandatory version file. 2025-01-31 07:17:16 +00:00
fscarmen 0079e3d06f v1.2.11 Add server-side time synchronization configuration. 2025-01-28 02:14:00 +00:00
fscarmen 2a4f2eccfd v1.2.10 Add port hopping for hysteria2 in sing-box client output. 2024-12-31 02:01:13 +00:00
fscarmen 2415986d18 v1.2.9 Refactored the chatGPT detection method. 2024-12-26 16:29:05 +00:00
fscarmen fd7ede0255 v1.2.8 Refine the Warp routing for chatGPT. 2024-12-13 14:36:55 +00:00
fscarmen 27c466d090 v1.2.7 Compatible with Sing-box 1.11.0-beta.8+. Thanks to the PR from brother Maxrxf. 2024-12-10 14:21:00 +00:00
fscarmen a2dffc7e67 v1.2.6 Fixed the bug that clash subscription. 2024-10-28 12:34:58 +00:00
fscarmen 34222c476e v1.2.5 Add detection of TCP brutal. 2024-08-06 03:34:28 +00:00
fscarmen 7159e0d5b1 Add Github proxy and translation api; Renew CF CDN; Optimize code. 2024-05-21 09:50:46 +00:00
fscarmen d74115d209 v1.2.4 Add hysteria2 port hopping. 2024-05-10 06:59:03 +00:00
fscarmen 83ab799419 v1.2.3 Automatically detects native IPv4 and IPv6. 2024-05-06 07:03:46 +00:00
fscarmen 8fad882a79 v1.2.2 Complete 8 non-interactive installation modes. 2024-05-03 02:12:16 +00:00
fscarmen 4858996052 v1.2.1 Fix a bug in changing protocols. 2024-04-16 17:57:24 +00:00
fscarmen 73fba3ace3 v1.2.0 Add Cloudflare Argo Tunnel. 2024-04-13 14:33:30 +00:00
fscarmen 53065a4e83 Fix a bug in Json and Token Tunnels. 2024-04-04 15:26:05 +00:00
fscarmen 23743ae6a5 Fix some bugs. 2024-04-02 17:53:56 +00:00
fscarmen edb022abfc Sing-box + Argo container is newly launched. 2024-04-01 13:24:01 +00:00