Commit Graph
92 Commits
Author SHA1 Message Date
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 8ebd2d54f6 Switched the image from supervisord to s6-overlay because it provides a much smaller memory footprint.
s6-overlay vs supervisord — Memory Footprint Comparison

s6-overlay:
Uses only 1–2 MB of RAM. Its service processes typically consume around 200 KB RSS each.
Extremely lightweight, written in C, minimal overhead.

supervisord:
Consumes roughly 10–15 MB of RAM in real-world usage.
Implemented in Python, so it naturally has a higher baseline memory footprint (≈8–10× s6-overlay).
2025-11-16 01:38:44 +00:00
fscarmen 4713fc4cca Optimized Sing-box deployment with local-first Reality key handling for reduced latency, DNF integration for modern CentOS systems, and Supervisor as PID 1 in Docker for robust process supervision.
1. Local-First Reality Key Computation: Prioritize on-device calculation of public key from private key for faster processing; fallback to API only if local fails, reducing latency and API calls.

2. DNF Support for CentOS 8+: Replace YUM with DNF on CentOS 8 and later for improved dependency resolution and speed, with backward compatibility for older systems.

3. Ensure Supervisor runs as true PID 1 in Docker container for proper signal handling and supervision.
2025-11-15 03:07:34 +00:00
fscarmen bd89cd8964 Enhance installation menu, fix Nginx status display, improve CentOS 7 compatibility, and add conditional Nginx startup for WS protocol support. https://github.com/fscarmen/sing-box/issues/232
1. Add quick install mode to the menu for faster, automated setup.

    2. Fix bug causing incorrect display of Nginx running status.

    3. Resolve compatibility issues specific to CentOS 7 environments.

    4. Introduce Nginx process startup in the guardian script for WS protocol (previo
usly unsupported due to missing Nginx dependency).
2025-11-13 12:55:55 +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 55779c3f7d feat: Enhance self-signed certs with DNS SAN and add insecure=1 support to v2rayN TUIC/Trojan URIs. 2025-11-08 16:13:01 +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 6465d2ef8d Remove statistics of run-times. 2025-10-31 05:16:55 +00:00
fscarmenandGitHub 8ee7f904ff Fix bug where UUID was missing from nginx config path after changing port. 2025-10-19 11:58:59 +08:00
fscarmenandGitHub d05a2fbe9c sing-box v1.13.0-alpha.7 return to working. 2025-08-27 23:15:48 +08:00
fscarmen 633623dfdf v1.2.18 Support AnyTLS URI in v2rayN v7.14.3+ 2025-08-27 07:54:16 +00:00
fscarmen 85917ee7f4 Fix a bug in Clash proxy format; Change the Github Proxy. 2025-08-22 14:00:28 +00:00
fscarmenandGitHub 09a1d2104f Fix a bug in checking ChatGPT unlock. 2025-08-02 04:24:48 +08:00
fscarmenandGitHub d2a005647c Thanks to [Sharon](https://sharon.io). 2025-07-29 18:32:51 +08:00
fscarmen 56004f8f75 Modify the API URL for counting runtime statistics. 2025-07-28 08:33:11 +00:00
fscarmen 78f0bb5995 Fix the bug related to iproute2 dependency installation in Alpine system. 2025-07-25 15:10:13 +00:00
fscarmen 464c5dc714 Modify DNS strategy logic to use ping for detecting IPv4 and IPv6 network connectivity. 2025-07-24 13:39:02 +00: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 38a7f4cd77 Fix the issue where AnyTLS URI is not displayed in Shadowrocket. 2025-07-01 08:19:41 +00:00
fscarmen c37baf743c fix bug when upgrading sing-box to the latest core version. 2025-05-19 04:23:42 +00:00
fscarmenandGitHub 5dc6bc2ea4 fix: GitHub API 403 rate limit error caused sing-box download failure. 2025-05-11 12:40:48 +08:00
fscarmen 049e0105cd sing-box v1.1.12.0-beta.8 return to working. 2025-04-29 17:02:32 +00:00
fscarmen 3b5a945238 Fix: downgrade sing-box to v1.12.0-beta.6 due to critical bug in beta.7 2025-04-29 07:15:40 +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
fscarmenandGitHub 681a2ad7b7 Solving CentOS7 firewall problems. 2025-04-23 11:02:06 +08:00
fscarmenandGitHub a12ff6acb6 Add Anytls URI for Nekobox. 2025-04-19 22:46:49 +08: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 5312718dde Use Firebase realtime database + Netlify cloud function to replace hits.seeyoufarm.com for usage statistics; Replace CF CDN domains. 2025-04-03 07:45:56 +00:00
fscarmen 974fe8736d Adapt to the new DNS configuration format in Sing-box v1.12 alpha.18+. 2025-04-01 15:22:17 +00:00
fscarmen 9795b9ffcd Update config file describe. 2025-03-27 06:02:02 +00:00
fscarmen bd3e1777b7 domain_strategy is merged to domain_resolver in sing-box 1.12.0; Clash support TCP Brutal. 2025-03-25 12:52:30 +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
fscarmenandGitHub 490940b0af Update mirror.yml 2025-02-06 17:28:34 +08: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
MaxrxfandGitHub 7620079069 Update sing-box.sh (#135) 2024-12-11 23:18:04 +08: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
MaxrxfandGitHub 49063e5675 Sing-box 1.11.7+ adaptation (#134)
感谢兄弟呀,我试过可以了,哥哥太高手了:1、sing-box 新改动太大,我研究了都不会,只能摆烂;2、我的屎山代码你都能改得动 :)

<img width="867" alt="image" src="https://github.com/user-attachments/assets/294e6428-de6b-45ab-8a98-e2221e5cb859">
2024-12-10 20:04:06 +08:00
fscarmen b05aec66ad Force sing-box vesion to 1.11.0-alpha.6 2024-11-08 07:42:38 +00:00
fscarmen a2dffc7e67 v1.2.6 Fixed the bug that clash subscription. 2024-10-28 12:34:58 +00:00
fscarmenandGitHub c3f91f55c4 Since amd64v3 has been removed in 1.10.0-beta.11, adaptations are required. 2024-09-24 08:46:19 +08:00
fscarmen 8cf1ec787d Renew some CDN domains. 2024-09-08 01:32:55 +00:00
fscarmenandGitHub 50de0d9097 Fix two bugs in exporting sing-box config files. 2024-08-14 11:14:44 +08:00