- 新增 Node.js TLS Forward Proxy (tools/node-tls-proxy/) 原生 Node.js TLS 栈发起上游 HTTPS,JA3/JA4 天然匹配 Claude CLI SSE 流式透传,支持上游 HTTP CONNECT 代理 零依赖,Node.js 24.13.0 锁定版本 - Go 集成 (config.go + http_upstream.go) 新增 NodeTLSProxyConfig 配置 DoWithTLS 优先走 Node.js 代理模式,URL 重写 https→http://localhost:3456 - Docker 网络隔离 (docker-compose.tls-proxy.yml) sub2api 容器仅 internal 网络,物理隔离外网 node-tls-proxy 唯一出站通道,IPv6 内核级禁用 - iptables 防泄露脚本 (tools/firewall/) QUIC/UDP 443 全局 DROP,仅 nodeproxy 用户可出站 TCP 443 - 镜像切换为 zfc931912343/ 仓库
15 lines
350 B
JSON
15 lines
350 B
JSON
{
|
|
"name": "node-tls-proxy",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Node.js TLS forward proxy for native JA3/JA4 fingerprint matching",
|
|
"main": "proxy.js",
|
|
"scripts": {
|
|
"start": "node proxy.js",
|
|
"health": "curl -s http://127.0.0.1:${PROXY_PORT:-3456}/__health | jq ."
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|