Blankwonder 说明 Surge 诊断设置按设备保存、MagicDNS 短名称默认关闭的原因
在 Surge 测试版更新说明中,Blankwonder 说明,日志级别、日志文件大小上限、CPU/内存调试及 Ponte 调试通知改为每台设备的设置,以免同步、共享或托管配置将它们应用到所有设备。旧的 loglevel、log-file-size-limit、debug-cpu-usage、debug-memory-usage 配置键会被忽略,并在保存配置时移除;可在 Mac 的 Diagnostic Settings 或 iOS 的 More > Diagnostic 中设置。他还说明,Tailscale 的 MagicDNS Short Names 可让 nas 这类裸节点名通过 tailnet 解析和路由,但默认关闭,因为节点名会接管局域网上的同名裸名称。
频道原文@SurgeTestFlightFeedBeta Updates
Surge Engine
• New Web Dashboard: the dashboard served at /web/ by the HTTP API is rewritten from scratch and replaces yasd. It covers policies, requests, traffic, HTTP capture, rules (with editing), DNS, modules, scripts, profile, external resources, devices and settings. New HTTP API endpoint GET /v1/traffic/speed returns the current speed and its last minute. The profile section endpoints of the HTTP API now also work on iOS and tvOS.
• The log level, log file size limit, CPU and memory debug options and Ponte debug notifications are now settings of each device, not of the profile, so a synced, shared or managed profile no longer applies them to every device. The loglevel, log-file-size-limit, debug-cpu-usage and debug-memory-usage profile keys are ignored and removed when the profile is saved. Set them in the new Diagnostic Settings tab in Settings on Mac or the Diagnostic page under More on iOS, with surge-cli diagnostic-setting, GET/POST /v1/diagnostic-settings in the HTTP API, or the MCP tools. A log level changed with set-log-level is now kept, and invalid levels are rejected.
• New magic-dns-short-name option for Tailscale policies, also a MagicDNS Short Names switch in the Mac and iOS editors: bare node names such as nas resolve and route through the tailnet, not only full MagicDNS names. It is off by default, because a node's name would take over the same bare name on your LAN.
• Newly generated MitM CAs now use an ECDSA P-256 key instead of RSA-2048 and are named "Surge Generated CA <ID> (ECDSA P-256)". Host certificates use the same key type as the CA, so existing RSA CAs work as before.
• Keystore items can now be exported as files, with a save panel on Mac and the share sheet on iOS. The PKCS #12 passphrase is shown.
• Fixed generating or importing a MitM CA leaving the old CA in use when the profile referenced a keystore CA with ca-keystore-name.
• SSH policies now prefer the post-quantum hybrid key exchange mlkem768x25519-sha256 (the OpenSSH 10 default), and fall back to curve25519-sha256 for servers that don't support it.
• WireGuard and Tailscale TCP connections now recover from packet loss more quickly, so uploads on lossy or high-latency paths are faster and less likely to stall.
• Fixed crash loops with WireGuard and Tailscale policies, for example plain HTTP through a Tailscale exit node, when a server answered with a very small TCP window.
• Fixed HTTP/2-based proxy connections (XHTTP over HTTP/2, VLESS gRPC, TrustTunnel and HTTP/2 CONNECT) slowing down and eventually stalling after streams were cancelled, or after one stream stopped reading. When the server shuts down gracefully, open streams now finish instead of being cut off at once.
• Fixed a crash with XHTTP stream-one when a TLS session tunnelled through it closed.
• Fixed a request still being sent upstream after its HTTP/2 client connection closed while rules were being evaluated.
• The latency test of a DEVICE policy now pings the device over the same LAN or Internet path a connection would use, so the result can be compared with WireGuard and Tailscale latency. Previously it set up a full Ponte connection and made an HTTP request.
• When a #!include URL has not been downloaded yet, the error now names the URL and says how to download it, instead of just "Linked profile not ready".
• Large remote icons, such as policy group icons from big icon sets, are now scaled down when they are loaded and cached, and only a few are downloaded from each host at a time. This fixes the icon picker lagging and crashing with large icon sets. Animated images keep their animation on Mac.Surge Mac