Surge 测试版将 Mac 出站 TCP 改回 BSD sockets,并说明缓冲区取舍
Blankwonder 的官方频道在 Beta Updates 中说明,Surge Mac 的出站 TCP 改回 BSD sockets:Network.framework 将每条连接的接收缓冲限制在约 7 MB,高延迟路径上的单连接下载速度可能因此减半。为避免大量并发流量耗尽内核网络缓冲区,Surge 现在会在客户端读取慢于服务器发送时限制内核中等待的数据量;活动监视器不再把这部分 TCP 缓冲内存计入 Surge。该测试更新还为 PROCESS-NAME 增加 include-children,可匹配应用发起的子进程和代其工作的系统服务,但不将 nsurlsessiond 等共享守护进程归属给某个应用。
频道原文@SurgeTestFlightFeedBeta Updates
Surge Engine
• Fixed requests to a Tailscale or WireGuard peer on a port that refuses connections waiting out the setup timeout (20 seconds for Tailscale) and then failing with 503. They now fail right away with "Connection refused". With prefer-ipv6, this affected every request to a peer service that listens only on IPv4.
• Tailscale now warns when a DNS server, such as dns-server, a resolver from the tailnet or a Split DNS nameserver, cannot be reached through any peer, subnet route or selected exit node. Previously, queries to such a server only timed out after 5 seconds. The warning names the unreachable servers and goes away once they become reachable.Surge Mac
• New include-children option for PROCESS-NAME rules, also available in the rule editor: the rule also matches requests made on an app's behalf, such as child processes the app launches (even from executables outside its bundle) and system services working for it, such as WebKit Networking. Shared system daemons such as nsurlsessiond are not attributed to an app.
• Outgoing TCP connections use BSD sockets again instead of Network.framework, which limited each connection's receive buffer to about 7 MB and could halve single-connection download speed on high-latency paths. Heavy multi-connection traffic still can't exhaust the kernel's network buffers: when a client reads more slowly than the server sends, Surge now limits how much data waits in the kernel. Activity Monitor no longer counts that TCP buffer memory under Surge.
• Fixed a crash when opening the proxy editor.Surge iOS
• Fixed black notches on the policy group cards below an expanded card in the card style.