Commit Graph

2236 Commits

Author SHA1 Message Date
世界
53850e99d4 documentation: Fix Chinese link anchors 2026-03-16 12:24:10 +08:00
世界
b0487c6600 documentation: Fix unicode heading anchors 2026-03-16 12:10:32 +08:00
世界
6da6aff8b4 Deprecate Socksaddr.IsFqdn: do not reject potentially valid domain names 2026-03-16 09:37:59 +08:00
世界
ecbdba3e1e Bump version 2026-03-15 17:56:37 +08:00
世界
baf76d88ad Fix connector canceled dial cleanup 2026-03-15 17:56:37 +08:00
深鸣
acf3dd8056 documentation: Minor fixes 2026-03-15 17:56:37 +08:00
世界
6eff43b36d tun: Fix nftables single include_uid not working 2026-03-15 16:58:34 +08:00
世界
ea67013cc8 Fix kTLS crash 2026-03-14 21:38:38 +08:00
世界
5764a92e59 tun: Fix "Fix auto_redirect dropping SO_BINDTODEVICE traffic" 2026-03-14 21:38:38 +08:00
世界
0b388be33c Bump version 2026-03-14 21:38:38 +08:00
世界
2e1cb43042 tun:Fix auto_redirect dropping SO_BINDTODEVICE traffic 2026-03-14 21:38:38 +08:00
世界
e7a770c977 tailscale: Fix system interface rules 2026-03-14 21:38:38 +08:00
世界
673a11379f platform: Add f-droid update helpers 2026-03-11 20:41:29 +08:00
世界
5b27caa338 Add Alpine APK packaging to CI build
Add fpm-based Alpine APK packaging alongside existing DEB/RPM/Pacman
packages. Alpine APKs use `linux` in the filename to distinguish from
OpenWrt APKs which use the `openwrt` prefix.
2026-03-11 20:41:29 +08:00
世界
4bd2a359e3 ccm/ocm: Fix missing metering for 1M context and /fast mode
CCM: Fix 1M context detection - use prefix match for versioned
beta strings (e.g. "context-1m-2025-08-07") and include cache
tokens in the 200K threshold check per Anthropic billing docs.

OCM: Add GPT-5.4 family pricing (standard/priority/flex) with
extended context (>272K) premium pricing support. Add context
window tracking to usage combinations, mirroring CCM's pattern.
Update normalizeGPT5Model defaults to latest known models.
2026-03-11 20:41:29 +08:00
世界
b68394bbe2 Fix tailscale connections 2026-03-11 00:27:15 +08:00
世界
ab1fb1dce0 documentation: Update ocm/ccm examples 2026-03-10 22:04:12 +08:00
世界
0153ec1a69 Fix OCM websocket proxy lifecycle and headers 2026-03-10 22:04:11 +08:00
世界
b8a398a9a5 ccm/ocm: Add by_user_and_week cost summary 2026-03-10 22:04:11 +08:00
世界
7388824759 ocm: Add Responses WebSocket API proxy and fix client config docs
Support the OpenAI Responses WebSocket API (`wss://.../v1/responses`)
for bidirectional frame proxying with usage tracking.
Fix Codex CLI client config examples to use profiles and correct flags.

Update openai-go v3.24.0 → v3.26.0.
2026-03-10 22:04:11 +08:00
世界
bbedd5383a tailscaile: Fix using TUN auto redirect with tailscale system interface 2026-03-10 22:04:11 +08:00
世界
45353fbe2c tailscale: Use system dialer for system interface
* Revert "Fix netstack TCP connections with system interface
2026-03-10 19:50:16 +08:00
世界
4984fc05bc Fix legacy DNS client_subnet options not working 2026-03-09 20:18:47 +08:00
世界
0af59a3a0a release: Fix default config 2026-03-09 20:18:43 +08:00
世界
bcd9bfa614 release: Add openwrt apk build 2026-03-09 20:18:40 +08:00
世界
5ddaf78fdc Fix missing with_gvisor build tag for tailscale 2026-03-09 20:18:28 +08:00
世界
89f31c6ab2 release: Backport Go 1.25 to macOS 10.13 2026-03-09 20:13:36 +08:00
世界
a50f64a6c8 Fix websocket connection and goroutine leaks in Clash API
Co-authored-by: traitman <112139837+traitman@users.noreply.github.com>
2026-03-09 20:06:34 +08:00
世界
999fb83b61 documentation: Update cronet-go descriptions 2026-03-09 20:06:34 +08:00
世界
559eb5ed71 Fix local DNS transport CNAME chain broken with systemd-resolved
Replace D-Bus ResolveRecord API with direct raw DNS queries to upstream
servers obtained from systemd-resolved's per-interface link properties.
2026-03-09 20:06:34 +08:00
世界
77edcaf011 tailscale: Fix inbound UDP packet connection 2026-03-09 20:06:34 +08:00
Heng lu
2a1c465d62 Fix netns fd leak in ListenNetworkNamespace 2026-03-09 20:06:34 +08:00
Oleg Artyomov
14eb5395b3 service/ccm: strip Accept-Encoding before forwarding to avoid untracked usage
When clients (e.g. Node.js Anthropic SDK) explicitly set Accept-Encoding: gzip,
Go's http.Transport does not transparently decompress the response body, because
it only does so when it added the header itself. This causes CCM's json.Unmarshal
to receive raw gzip bytes, silently failing to parse usage data and leaving the
usage counter unchanged.

Fix: remove Accept-Encoding from the outgoing proxy request. Transport adds it
automatically and transparently decompresses response.Body before CCM reads it.

Wire compression (CCM→Anthropic) is preserved — Transport still negotiates gzip.
Only CCM→localhost path is affected; compression on loopback has no practical
benefit.
2026-03-09 20:06:34 +08:00
世界
8ef2b826c3 Fix legacy DNS defaults on final transport 2026-03-09 20:06:34 +08:00
世界
c4bb80d2f0 cronet-go: Fix library search path 2026-03-09 20:06:34 +08:00
世界
5d219a4111 Bump version 2026-03-07 16:13:23 +08:00
世界
ea9b80dc92 Update Go to 1.25.8 2026-03-07 16:13:23 +08:00
世界
d28a7ffba1 sing: Revert "Relax domain name validation to support non-standard characters" 2026-03-07 15:44:40 +08:00
世界
23e2d28c21 Fix DNS exchange failure and recursion deadlock in connector
Co-authored-by: everyx <lunt.luo@gmail.com>
2026-03-06 15:31:22 +08:00
dyhkwong
c490e06b29 Fix v2ray HTTP transport server 2026-03-06 10:13:39 +08:00
世界
66d89918aa Bump version 2026-03-05 21:46:27 +08:00
世界
5e4f6437ca Rename branches and update release workflows
stable-next → oldstable, main-next → stable, dev-next → testing, new unstable
2026-03-05 21:12:02 +08:00
世界
88db068ea3 tun: Fix darwin batch loop not exit on EBADF 2026-03-05 20:38:19 +08:00
世界
798e5cbec6 Fix rule_set_ip_cidr_accept_empty not working 2026-03-04 11:48:22 +08:00
世界
7bcb2df6be tailscale: Fix netstack TCP connections with system interface 2026-03-03 22:06:54 +08:00
世界
82482741df Fix fake-ip address allocation 2026-03-03 21:37:24 +08:00
世界
14ca4b9607 Fix naive client close 2026-03-03 21:21:09 +08:00
世界
b5aaac8518 sing: reject IP literals in IsDomainName 2026-03-03 21:21:09 +08:00
世界
e269ad6528 release: Unify default build tags and linker flags into shared files
Move hardcoded build tags and ldflags from Makefile, Dockerfile, CI
workflows, and local build scripts into canonical files under release/:

- release/DEFAULT_BUILD_TAGS (Linux common archs, Darwin, Android)
- release/DEFAULT_BUILD_TAGS_WINDOWS (includes with_purego)
- release/DEFAULT_BUILD_TAGS_OTHERS (no with_naive_outbound)
- release/LDFLAGS (shared linker flags)
2026-03-03 21:21:09 +08:00
世界
7ff25431c0 endpoint: Fix UDP resolved destination 2026-03-02 13:55:26 +08:00