Surge Mac 历史版本
The last version of Surge Mac v4 download link: https://dl.nssurge.com/mac/v4/Surge-latest.zip
The last version of Surge Mac v3 download link: https://dl.nssurge.com/mac/v3/Surge-latest.zip
The last version of Surge Mac v2 download link: https://dl.nssurge.com/mac/v2/Surge-latest.zip
Surge Mac v4
Version 4.11.2 (May 6, 2023)
Replace the API service provider for obtaining external IP.
https://dl.nssurge.com/mac/v4/Surge-4.11.2-2016-b4c9dad3472594b01ef3d8ac9b05c78e.zip
Version 4.11.1 (Apr 15, 2023)
Fixed a bug that Surge VIF v6 may not be enabled automatically when set to auto.
Fixed a bug that requests sent by $httpClient may not obey the ip-version parameter of the selected policy.
Fixed a bug that DDNS can’t be enabled if the user deleted the iCloud data of Surge.
Fixed a bug that domain rules can’t match if the requests’ domain is in uppercase.
Fixed a bug that the UI can’t add listeners in the advanced proxy service settings.
Fixed a bug that the UI can’t add new items in the metered network SSID view.
Fixed a WireGuard related crash.
Other bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.11.1-2013-eac717436d753b5ea2b82a206d5851e7.zip
Version 4.10.3 (Feb 16, 2023)
The installed modules are now synced between Mac devices via iCloud.
Performance optimization.
Fixed an issue that the DHCP service might not be able to start after auto-upgrading.
Fixed an issue that the remove helper script can't be executed on macOS Ventura.
Fixed menu bar icon issues when using multiple displays.
WireGuard related optimizations.
Support for customizing the reserved bits of WireGuard, also known as the client ID or routing ID.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.10.3-2004-d730cb305e3cbb949f82d01771624b4e.zip
Version 4.10.2 (Feb 3, 2023)
UDP performance optimization.
Change the way connections are rejected from ICMP to TCP RST. This ensures that the Windows operating system can correctly detect the rejection.
Fixed the proxy editing view layout issue.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.10.2-1981-d99d487bbd9f9109a00dd5a5b7915be4.zip
Version 4.10.1 (Dec 3, 2022)
New Feature
Gaming Optimization Mode:
udp-priority = true
. Enabling it will prioritize UDP packets when the system load is very high, and packet processing is delayed.SOCKS5 proxy now supports UDP forwarding, as the server side does not consistently support UDP forwarding, the parameter udp-relay=true needs to be explicitly configured.
The
ipv6-vif
parameter now supportsalways
andauto
like Surge iOS. If set toauto
, IPv6 VIF will only be enabled if a valid Internet IPv6 address (2000::/3) exists.
Minor Improvements
URL regular expressions for Script, Rewrite, Mock, etc. will try to match URLs constructed in many different ways (e.g. Host field in Header) to solve the problem that some apps use custom DNS logic to request directly to IP addresses.
Removed the silencing mechanism after UDP forwarding errors to avoid extra waiting time after switching networks.
The IPv6 switch no longer prevents direct access to IPv6 addresses when turned off. The switch is now limited to controlling whether the DNS Client requests AAAA records.
Automatic disabling of AAAA queries due to DNS issues will be prompted in the Event Center instead of just in the logs.
Fixed handling issue of generating IPv6 fragmentation when forwarding IPv6 UDP packets via WireGuard.
The external policy group will skip the line and continue processing when it encounters invalid content instead of returning an error directly.
Adjusted the buffering mechanism of raw TCP forwarding to avoid conflicts with some apps.
Fixed REJECT requests not being marked as failed under MITM H2.
Adjusted the output text under diagnostics.
Other bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.10.1-1964-34ee4f3efbd20065ad808cf0cab6d380.zip
Version 4.10.0 (Nov 10, 2022)
Support New Proxy Protocol
New proxy protocol supported: TUIC. (https://github.com/EAimTY/tuic).
New proxy protocol supported: Snell V4. (https://manual.nssurge.com/others/snell.html)
New proxy transport layer protocol supported: Shadow TLS. (https://github.com/ihciah/shadow-tls). You may append
shadow-tls-password=pwd
to any proxy to utilize it.
Other Improvements
shadowsocks now supports the none cipher.
Modified the handshake packet construction logic when forwarding HTTPS requests to proxies, which can slightly optimize latency.
Surge HTTP requests for proxy testing no longer contain a User-Agent header.
A new option to allow to disable system processes combining in the process view.
Fixes an issue on M1 processors where the system would move Surge to the efficiency core when using an application in full screen causing a significant drop in performance.
Bug fixes
Fixed a memory leak that could occur when HTTP capturing is enabled.
Fixed an issue that may not work properly when nesting proxy chains with a specific protocol combination.
Fixed an issue that the module could not configure the MITM h2 parameter.
https://dl.nssurge.com/mac/v4/Surge-4.10.0-1927-f009d35c5da9df00cccf818edd74b20d.zip
Version 4.9.1 (Sep 29, 2022)
Overall performance optimization.
Added an alert when using router mode in an IPv6 network.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.9.1-1866-e90f4c1609827e5669c21803ac8e90a3.zip
Version 4.9.0 (Sep 11, 2022)
Router Mode
Overall performance optimization.
Fixed a performance issue with PS5.
Surge VIF IPv6
You may use the parameter
ipv6-vif = always
to let Surge configure IPv6 address and the default route for Surge VIF.Surge VIF now supports handling raw TCP and UDP traffic with IPv6.
ICMPv6 relay is now supported.
MITM
New parameter
client-source-address
. Use this parameter to enable the MITM function on some devices only.It's a list parameter, using commas as the separator.
You may specify a single IP address or use a CIDR block, both IPv4 and IPv6 are supported.
You may use the
-
prefix to exclude some clients, e.g.,client-source-address = -192.168.1.2, 0.0.0.0/0
If the parameter is not set, MITM is enabled for all clients. A equivalent to
client-source-address = 0.0.0.0/0, ::/0
127.0.0.1
should be included if you want to enable MITM for the current device.
WireGuard
WireGuard now supports IPv6 tunneling.
Use parameter
self-ip-v6
to assign an IPv6 address for Surge.You may configure
self-ip
andself-ip-v6
to utilize the IPv4 & IPv6 dual stack, or just one of them to use the single stack.Make sure to use the correct
dns-server
address for the enabled IP protocol version.The
allowed-ips
parameter supports IPv6 CIDR now, e.g.,allowed-ips = 0.0.0.0/0, ::0/0
Others
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.9.0-1850-c52ab2531bb82ff6f8d72df65f65c76a.zip
Version 4.8.0 (Aug 9, 2022)
Experimental function: DNS over QUIC and DNS over HTTP/3
Surge now supports DNS over QUIC. (e.g.:
encrypted-dns-server = quic://example.com
)Surge now supports DNS over HTTP/3. (e.g.:
encrypted-dns-server = h3://example.com/dns-query
)Parameter
doh-server
renames toencrypted-dns-server
.Parameter
doh-follow-outbound-mode
renames toencrypted-dns-follow-outbound-mode
.Parameter
doh-skip-cert-verification
renames toencrypted-dns-skip-cert-verification
.The DNS relay (
always-real-ip
and non-A/AAAA record lookup) in the Enhanced Mode now uses the encrypted DNS servers.You may use
encrypted-dns-skip-cert-verification=true
to disable server certificate verification for DNS-over-HTTPS.
Scripting
New helper functions:
$utils.ipasn(ipAddress<String>)
,$utils.ipaso(ipAddress<String>)
and$utils.ungzip(binary<Uint8Array>)
.New subtype of the event script:
notification
. You may use a script to forward Surge notifications to a third-party message service.
Others
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.8.0-1788-3b96ac4d92f39b6a4a8e195708aae8d8.zip
Version 4.7.0 (Jun 30, 2022)
MITM over HTTP/2
Surge now supports performing MITM with HTTP/2 protocol to improve concurrent performance.
Surge now supports performing MITM on WebSocket connections.
Others
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.7.0-1757-0b3d1ec3c3f7067386361dd582ad964a.zip
Version 4.6.1 (Jun 10, 2022)
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.6.1-1718-a39555f74c3f6d43fdcaa8501d55d26a.zip
Version 4.6.0 (Jun 8, 2022)
SSH Proxy Support
You can use SSH protocol as a proxy protocol. The feature is equivalent to the
ssh -D
command.Both password and public key authentications are supported.
All the four types of private keys, RSA/ECDSA/ED25519/DSA, are supported.
Surge only supports
curve25519-sha256
as the kex algorithm andaes128-gcm
as the encryption algorithm. The SSH server must use OpenSSH v7.3 or above. (It should not be a problem since OpenSSH 7.3 was released on 2016-08-01.)
Keystore
You may now save sensitive keystore items to the system keychain. (More, Profile, Manage Keystore)
Others
New rule type: IP-ASN. You may use the rule to match the autonomous system number of the remote address.
Dashboard now shows more details about the remote address, including the ASN.
Surge will try to fix the system proxy settings after applying fails.
You can now enable/disable the rewrite rules and DNS local mapping items.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.6.0-1708-9ef4eecae3a0cc5dfebd74e5e850cb2f.zip
Version 4.5.2
Dashboard
You can now export HTTP/HTTPS requests to a HAR file, which is a standard format and can be opened by many web analysis tools
Proxy
New parameter
server-cert-fingerprint-sha256
for TLS proxy policies. Use a pinned server certificate instead of the standard X.509 validation.tls-engine
option is now deprecated. OpenSSL is now the only TLS engine.You may use
%PROFILE_DIR%
in the external proxy arguments, which will be replaced to the path of the profile directory.You can now use a full profile as the external policy group (policy-path). All proxies in the [Proxy] section will be used.
DHCP Server
Surge DNS is now integrated with the DHCP device management. You can use a device name to get the IP address directly. Reverse IP lookup is also supported.
The helper upgrade is now optional to prevent the interrupt after an auto-upgrade.
Surge now can relaunch itself after a crash.
CLI
surge-cli just got a refresh. Use
surge-cli --help
to know what you can do with it.
Others
Header rewrite now supports using the regex to replace the value.
Header rewrite now supports modifying the response headers.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.5.2-1663-d480512b326806e7e850f98efe875bec.zip
Version 4.5.1
There is a kernel bug in macOS 12.3, which significantly degrades performance of the Enhanced Mode and Router Mode. A workaround is deployed in this version.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.5.1-1621-c2a973ddb992df5c34757daacc632598.zip
Version 4.5.0
WireGuard
WireGuard supports multiple peers.
The allowed-ips now support multiple IP ranges.
WireGuard supports preshared-key and keepalive.
WireGuard supports peers with IPv6 endpoints. (But still no IPv6 tunnel support)
WireGuard and shadowsocks policy now support underlying-proxy.
The raw TCP connections are now relayed on the L3 layer if no high-level features are used.
Detached Profile
You can now include multiple detached profiles into one section. But the section will be marked read-only and can't be edited with UI.
#!include A.dconf, B.dconf
Policy Group
You can now temporarily override an auto test group or an SSID group's optimal option, until Surge restart or reload.
The new parameter include-all-proxies=true is added to the policy group, which will include all proxy policies defined in the [Proxy] section, and can be used with the policy-regex-filter parameter for filtering.
The new parameter include-other-group="group1,group2" is added to include policies from another policy group, and can include multiple policy groups separated by commas, also can be used with the policy-regex-filter parameter for filtering.
include-all-proxies, include-other-group, and policy-path parameters are allowed to be used in a single policy group at the same time. The policy-regex-filter parameter applies to all three.
There is an order of precedence among the policy groups for the include-other-group parameter, but there is no order of precedence among the include-all-proxies, include-other-group, and policy-path parameters. For scenarios where the order of sub-policies makes sense (e.g., fallback groups), use policy groups nesting with include-other-group.
Subnet expression
SSID Group is now upgraded to Subnet Group, which supports subnet expression.
SSID Setting now supports subnet expression.
The SUBNET rule now supports subnet expression.
A subnet expression can be one of these:
Use SSID:value to match the Wi-Fi SSID, wildcard character is allowed.
Use BSSID:value to match the Wi-Fi BSSID, wildcard character is allowed.
Use ROUTER:value to match the router IP address.
Use TYPE:WIFI to match all Wi-Fi networks.
Use TYPE:WIRED to match all wired networks.
Use TYPE:CELLULAR to match all cellular networks. (iOS Only)
Use MCCMNC:100-200 to match a cellular network. (iOS Only)
The [SSID Setting] can control the TCP Fast Open behavior now. Read the manual for more information.
Others
Performance improvements.
The default timeout of $httpClient is 5 seconds now.
New Official Module: Block HTTP3/QUIC
You can now adjust the effective order among modules.
Modules allow to modify the skip-server-cert-verify and tcp-connection parameters of [MITM].
The client will get an ICMP connection refused message instead of TCP RST if a REJECT policy matches.
Supports IPv6 addresses with scope ID.
The Network diagnostics can test proxy UDP relay now.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.5.0-1618-5d2042223762269c5322520810dd7e0c.zip
Version 4.4.1
You may click a proxy of a select group in the main menu with holding the Option key, to test the proxy alone.
Fixed a bug that UDP NAT can't be released if a REJECT policy is matched.
Other bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.4.1-1532-abe4b5471dcb3eaeec51fcda768cc635.zip
Version 4.4.0
Uses Surge as a WireGuard client, converting L3 VPN as an outbound proxy policy. More information: https://manual.nssurge.com/policy/wireguard.html
Supports VmessAEAD. (Policy parameter: vmess-aead = true)
Trojan protocol now supports UDP relay. (No additional parameter required)
The underlying proxy now supports using a policy group.
Performance optimization.
Added a release note window to show update history.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.4.0-1521-a0024e9fbe33f5ccaa41316d63cdefee.zip
Version 4.3.1
Snell Protocol v3, which brings UDP over TCP relay support
Optimized for high throughput.
Port Restricted Cone NAT support. (aka NAT type 2)
The http-response scripts can read request headers via $request.headers now.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.3.1-1461-829471a307259fe1729cf06a7cd13d06.zip
Version 4.3.0
Surge Dashboard now supports managing DHCP devices. All of the properties (name, icon, static IP address, gateway mode) can be edited locally and remotely.
The traffic statistics data is now persistent between sessions. And you may use Dashboard to view all the detailed statistical data.
The statistics data range is extended to 24 hours.
Performance improvements.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.3.0-1430-bde27671bfdadfab143338a7cd5b2fa3.zip
Version 4.2.5
Performance improvements.
Supports remote rule editing for Surge iOS remote controller.
Kill other processes that take over port 53 when starting DHCP service.
Surge now only executes reloading if the profile is valid.
Supports custom the policy IP TOS field. Example: test-policy = direct, tos=0xb8.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.2.5-1414-764146258a319c307056593a1309cf89.zip
Version 4.2.4
New option: Menubar icon display mode. You can now hide the icon and display the real-time speed only, to save the precious menubar space.
New HTTP API: GET /policies/benchmark_results
Supports IP Fragmentation for UDP and ICMP packets. (IP Fragmentation for TCP packets is already supported in the previous versions.)
You can now right click on a remote client to add a new rule in the Dashboard.
Performance improvements.
Added a few device icons.
The UI editor of policy group now supports filter and mixed policies.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.2.4-1399-4f3c53abfe45fce5646d84af11e589c4.zip
Version 4.2.3
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.2.3-1357-0803594c82248360a95722089650f7f7.zip
Version 4.2.2
Supports binary mode for http-request and http-response scripts.
DHCP can detect if a device is private address enabled now.
Surge won't reload the profile automatically if the new profile is invalid.
New local and remote notification selections: auto-updating and profile reloading.
https://dl.nssurge.com/mac/v4/Surge-4.2.2-1351-5dc813192d6e37fdb0895034ebc90b57.zip
Version 4.2.1
External IP
You may now check the external IP address in the interfaces view.
DDNS
Surge Mac can associate its external IP address to .sgddns hostname. You may use the hostname with Surge iOS or Surge Mac on another device. The data is synced via iCloud, and the hostname can't be used publicly.
Others
Surge Mac now can fix the helper installtion issues automatically。
https://dl.nssurge.com/mac/v4/Surge-4.2.1-1333-14f7cb7cd943be7e4b3cecfb3fcd8ba3.zip
Version 4.2.0
Web Dashboard
The community project YASD is now part of Surge. You can now control Surge via a web browser on local or remote devices. (Licensed by author @geekdada)
You may now manage the DHCP devices with the Web Dashboard.
Profile Syntax
We have added a profile syntax view to show all the available syntax for the current view if you prefer to edit profile with a text editor. You can find it in Help ▸ Profile Syntax.
The Diagnostics now can report invalid config lines in the profile.
Benchmark
We have changed the proxy benchmark standard. The result is now similar to a ping test result, which ignores the proxy setup cost.
Minor Improvements
SOCKS proxy service now supports SOCKS4 and SOCKS4a protocol. (Server-side only)
Cloud Notifications now supports rule notifications.
The real-time speed is now available on the proxy view.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.2.0-1321-d4d84696bb58cf8be0189b59ccbe926b.zip
Version 4.1.0
Scripting
You may configure and edit scripts with UI now.
Profile
You may put partial sections into a detached file. See https://manual.nssurge.com/overview/configuration.html
HTTP API
Added new profile related HTTP APIs, including GET /profiles, POST /profiles/check
Added new device management HTTP APIs, including GET /devices, POST /devices, GET /devices/icon
The HTTP API, proxy services, and external controller now support listening on IPv6 addresses. (No UI supports. Manual profile editing is required.)
You may now use 'http-api-tls=true' enable TLS for HTTP API access. (aka HTTPS-API)
Unsupervised Optimizations
The external resources downloading now occurs after surge engine started.
The external resources downloading now automatically starts after if a resource is not ready.
Other Improvments
New rule type: SUBNET, which can match SSID/BSSID/router IP address with a wildcard pattern.
Significantly optimizes Dashboard performance when handling large numbers of requests.
https://dl.nssurge.com/mac/v4/Surge-4.1.0-1298-f07b1b8713b2397518f4b252b5786452.zip
Version 4.0.5
Policy Group
In this release, we completely refactored the policy group functionality, bringing the following changes:
The url-test/fallback/load-balance policy group can no longer be configured with a specific testing URL but with a global testing URL or a policy-configured testing URL. The policy's test results can be used directly in all policy group decisions, eliminating the need to retest each policy group individually.
All types of policy groups support mixed nesting. The only requirement is that no circular references can be used.
When a group policy is used as a sub-policy of the url-test/fallback/load-balance group.
The latency of the select/url-test/fallback/ssid group is the latency of the selected policy.
The latency of the load-balance group is the average of the latencies of all available policies.
The timeout parameter of a policy group marks policies with latency exceeding this parameter as unavailable when making decisions for the group. But the maximum time taken to test the policy group is controlled by the global test-timeout parameter. (Default is 5s)
When testing a group due to decision making, all sub-policies that the group may use are tested, including sub-policies of the sub-policy group.
You may use no-alert=true parameter to suppress notifications for particular groups.
Cloud Notification
You can receive the notifications on iOS devices. Enable this option first and then configure it on Surge iOS. The two device must use a same iCloud account.
Minor Changes
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.0.5-1262-db70f680cd0f15236c8415ec7b804c3a.zip
Version 4.0.4
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.0.4-1227-9acb8b9e3f39e9048fc82e427184a4af.zip
Version 4.0.3
You may override the testing URL of a policy for network diagnostics and activity cards.
The GeoIP database can be updated automatically in the background.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.0.3-1224-4ef8ae10c8a74c395bb4b6c3f6af6af6.zip
Version 4.0.2
You may now customize the GeoIP database updating URL.
tun-excluded-routes and tun-included-routes are now available for Surge Mac.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.0.2-1219-dbd08724b90aa8b444cd6d0679a245b5.zip
Version 4.0.1
You may configure the proxy chain with the UI now.
Fixed some visual inconsistency under reducing transparency mode.
Bug fixes.
https://dl.nssurge.com/mac/v4/Surge-4.0.1-1207-ee7bea1b244950c82a6f90e060fa2d89.zip
Version 4.0.0
The first version of 4.0.0.
https://dl.nssurge.com/mac/v4/Surge-4.0.0-1191-d8140b0084223fd3fc4335e4414c0884.zip
Surge Mac V3
Version 3.5.8
Bug fixes
https://dl.nssurge.com/mac/v3/Surge-3.5.8-1130.zip
Version 3.5.7
Bug fixes
https://dl.nssurge.com/mac/v3/Surge-3.5.7-1129.zip
Version 3.5.5
Minor Changes
All URL resources now support URLs with a username and password (e.g. https://user:pass@example.com), including managed profile, external resources, and importing profile form URL.
You may switch among the main views with shortcut keys.
Bug fixes.
https://dl.nssurge.com/mac/v3/Surge-3.5.5-1123.zip
Version 3.5.4
Changes in Policy Group
New parameter: policy-regex-filter. If the parameter is configured, only matched policy line will be used.
Minor Changes
Provides more details for the TLS handshake error.
Increases the file description limitation alert threshold.
https://dl.nssurge.com/mac/v3/Surge-3.5.4-1119.zip
Version 3.5.3
New Parameter: use-local-host-item-for-proxy
[General]
use-local-host-item-for-proxy = true
If use-local-host-item-for-proxy is true, Surge sends the proxy request with the IP address defined in the [Host] section, instead of the original domain.
Changes in Load Balance Group
load-balance group now supports connectivity testing before being used. Add 'url' parameter to enable it.
Parameters 'timeout', 'interval' and 'evaluate-before-use' are also available.
Minor Changes
Surge will send an ICMP port unreachable message if UDP forwarding fails.
Eliminate unnecessary local DNS lookup while forwarding UDP traffic to a proxy server.
Fixed a bug that connecting to Surge iOS via USB is not working in Surge Dashboard.
https://dl.nssurge.com/mac/v3/Surge-3.5.3-1094.zip
Version 3.5.2
SSID Suspend
Surge Mac supports SSID suspend now. The system proxy and enhanced mode will be temporarily suspended under specified SSIDs.
The name of WiFi can be an SSID, a BSSID, or a gateway IP address.
No UI configuration in the current version.
REJECT-DROP
REJECT-DROP policy is now effective to proxy connections. The connections matched with a REJECT-DROP policy will be closed in 60-120s later without any data returned.
Global Proxy
You may now select and view sub-policy for policy groups while using the global proxy mode.
https://dl.nssurge.com/mac/v3/Surge-3.5.2-1082.zip
Version 3.5.1
New rule type: DOMAIN-SET
DOMAIN-SET is just like RULE-SET. But it is designed a large number of rules and highly efficient.
Unlike RULE-SET, you can only write hostnames (domain or IP address) in it. One hostname per line.
You may use "." prefix to include all sub-domains.
Changes in SRC-IP
SRC-IP rule now supports IP-CIDR for both IPv4 and IPv6.
Changes in DNS over HTTPS
From this version, if DNS-over-HTTPS is configured, the traditional DNS will only be used to test the connectivity and resolve the domain in the DOH URL.
The DNS over HTTPS now has a separate parameter: doh-server. The DOH servers in 'dns-server' will be moved to the new parameter after saving.
The legacy DNS is always required now.
DOH can be matched with rule 'PROTOCOL,DOH' now.
Added a new parameter 'doh-follow-outbound-mode'. In the previous version, the DOH client follows the system proxy settings. From this version, all DOH requests will use DIRECT policy by default. If 'doh-follow-outbound-mode' is set, the DOH requests will follow the outbound mode settings regardless of the system proxy settings.
We are refactoring the HTTP client for DOH and scripting. Please feedback if you encounter any issue.
Changes in Scripting
Added a simple view to test the script. You may find it in the Window menu.
Minor Changes
Fixed a crash in Dashboard while using search.
Bug fixes.
Known Issues
You may not configure DOH with UI in this version temporarily.
https://dl.nssurge.com/mac/v3/Surge-3.5.1-1069.zip
Version 3.5.0
New feature: Module, which can override the current profile with a set of settings. Highly flexible for diverse purposes. See the post in the community for more information: https://community.nssurge.com/d/225-module.
You may enable modules in the menu now.
You may view the detail of a module by double clicking.
Supports pattern filter for Dashboard requests.
Added a new rule type: PROTOCOL. The possible values are HTTP, HTTPS, SOCKS, SNELL, TCP, UDP.
You may now use UI to add and edit load-balance group.
DNS over HTTP (DoH) now uses DNS wireformat by default. You may configure doh-format=json in [General] to continue using JSON format.
TCP connection setup optimizations.
Bug fixes.
https://dl.nssurge.com/mac/v3/Surge-3.5.0-1039.zip
Version 3.4.0
Snell protocol now upgrade to version 2, supporting to reuse TCP connections to improve performance. https://github.com/surge-networks/snell/releases
Supports a new proxy protocol: Trojan.
Remote Dashboard now upgraded to Remote Controller. You may use Surge iOS to select policy group, toggle HTTP capture/MitM, and switch outbound mode remotely.
The comment lines in the text config won't lost after editing with UI.
You may open the new connection window of Dashboard by holding the Option key while clicking the Dashboard item in the main menu.
Supports to use OpenSSL as TLS provider. See the post in the community for more information: https://community.nssurge.com/d/196-surge-ios-mac-tls-provider.
Fixed a bug that Surge may not be able to process DNS answer packets which is longer than 512 bytes.
https://dl.nssurge.com/mac/v3/Surge-3.4.0-989.zip
Version 3.3.3
Fixed a bug which causes TFO failed.
You may use a profile which stores in a subdirectory of the profile directory.
Added Traditional Chinese localizations.
Fixed a bug that the menu might be unresponsive.
Fixed crashs on macOS 10.11.
https://dl.nssurge.com/mac/v3/Surge-3.3.3-939.zip
Version 3.3.2
Supports MITM on non-standard port for TCP mode.
Proxy editing view now supports VMess protocol and all misc options.
A new option 'persistent' has been added to the load-balance group. (aka PCC, per connection classifier) When 'persistent=true' is set, a same hostname will always get the same policy.
Bug fixes.
https://dl.nssurge.com/mac/v3/Surge-3.3.2-925.zip
Version 3.3.1
Supports VMess proxy protocol.
vmess-proxy= vmess, example.com, 443, username = 12345678-abcd-1234-1234-47ffca0ce229, ws=true, tls=true, ws-path=/v2, ws-headers=X-Header-1:value|X-Header-2:value
All proxy options for TLS proxy are available.
Web-socket and TLS options would degrade performance. Only enable when necessary.
Surge only supports chacha20-poly1305 encryption algorithm. Please make sure the server supports it. We have no plan to implement other ciphers.
https://dl.nssurge.com/mac/v3/Surge-3.3.1-906.zip
Version 3.3.0
The scripting has been rewritten totally. The old scripts are not compatible with this version. See https://community.nssurge.com/d/33-scripting/3
Added support for TLS 1.3. Append 'tls13=true' to the proxy line to enable it. (Requires macOS 10.14 or above)
Supports to use 'X-Surge-Policy' to force policy for HTTP/HTTPS requests.
SSID group now supports to use the IP address of default router as an identifier.
New policy group type: load-balance, which will use a random sub-policy for every request.
Supports DNS over HTTPS. More information in community: https://community.nssurge.com/d/48-dns-over-http
IN-PORT and DEST-PORT rule now supports port range expression:
DEST-PORT,8000-8999,DIRECT
Provides compatibility for Surge iOS 4.
Surge Mac software package is now notarized by Apple.
A new standalone view to manage all external resources.
https://dl.nssurge.com/mac/v3/Surge-3.3.0-893.zip
Version 3.2.1
Fixed a bug that Handoff doesn't work between Surge iOS and Dashboard.
Fixed a bug that 'Update All Remote Resources' may not work.
https://dl.nssurge.com/mac/v3/Surge-3.2.1-863.zip
Version 3.2.0
Scripting
New major feature: scripting. You may use JavaScript to modify the response as you wish. See the manual for more information: https://manual.nssurge.com/http-processing/scripting.html
You can now use a script to modify the response headers and status code.
Dashboard
USB module has been refactored to improve stability. Also, you may choose the device from multiple USB devices now.
MitM
HTTP and MitM engine has been refactored. Please report if you encounter any issues.
You can now use URL-REGEX rule for MitM connections.
You may use prefix '-' to exclude domains for MitM. Example:
MitM hostname list now supports port number. By default only the connections to port 443 will be decrypted. Use suffix :port to enable MitM for other ports. Use suffix :0 to enable MitM for all ports on the hostname.
URL rewrite type 'header' is now available for MitM connections. You may also use it to rewrite a plain HTTP request to an HTTPS request.
Misc
You can now enable/disable a rule.
Added a small indicator in the menu icon for Metered Network Mode.
Added main switches for rewrite and scripting.
Supports TCP SACKs for Surge VIF.
New general option: force-http-engine-hosts. You can force Surge to treat a raw TCP connection as an HTTP connection, to enable high-level functions such as URL-REGEX rules, rewrite and scripting. This option uses the same format as [MITM] hostname option.
New option for url-test/fallback group: evaluate-before-use. By default, the requests before a connection evaluation will use the first policy in the list and trigger the evaluate. Enable the option to delay the requests until the evaluation completed.
https://dl.nssurge.com/mac/v3/Surge-3.2.0-860.zip
Version 3.1.1
Bug fixes.
https://dl.nssurge.com/mac/v3/Surge-3.1.1-811.zip
Version 3.1.0
Added more feature to the main menu.
Dashboard now supports to export all requests to an archive file for opening later or sharing.
Supports a new proxy protocol: Snell. (https://github.com/surge-networks/snell)
Surge Mac can work as a Snell proxy server now. See https://manual.nssurge.com/others/snell-server.html for more information.
A new option to automatically reload if the profile was modified externally/remotely.
Fixed a compatibility issue with some FTP clients.
Added a new option to disable automatically notification dismissing.
The update notification is now shown as a banner instead of an alert window.
Bug fixes.
https://dl.nssurge.com/mac/v3/Surge-3.1.0-807.zip
Version 3.0.6
Optimizations for no network error handling.
Reduces CPU usage on idle.
Fixed a bug while enabling MitM with a new certificate.
Fixed crashes on macOS 10.11.
https://dl.nssurge.com/mac/v3/Surge-3.0.6-781.zip
Version 3.0.5
CPU usage optimizations (50% reduced for high throughout).
Enabled Hardened Runtime to get enhanced security protections in macOS Mojave.
Add more notes for rule evaluating stage.
WeChat.app may flood ping when network is unstable, which causes a high CPU usage of Surge. We added a mechanism to limit ICMP throughput in this version.
https://dl.nssurge.com/mac/v3/Surge-3.0.5-773.zip
Version 3.0.4
Added a new option 'hijack-dns' to hijack DNS queries to other DNS servers with fake IP addresses. See manual for more information: https://manual.nssurge.com/others/misc-options.html.
Bug fixes
https://dl.nssurge.com/mac/v3/Surge-3.0.4-759.zip
Version 3.0.3
Supports new iCloud container for Surge iOS migration.
The MitM feature is now compatible with Android system. Please regenerate an new CA certificate before using with Android.
Fixed some UI issues in Dashboard.
Fixed a bug that MitM may refuse to enable after modifying settings.
Fixed a bug that br decompress may fail.
Fixed a bug that the menu item may use a wrong color if the accent color of system isn't blue.
Fixed the JSON viewer color issue in the Dark Mode.
Minor bug fixes.
https://dl.nssurge.com/mac/v3/Surge-3.0.3-754.zip
Version 3.0.2
Allows import the profile from a URL.
Fixed an issue that the HTTP capture button may show wrong state in Dashboard.
Fixed an issue that Dashboard doesn't show User-Agent as the process name while connecting to iOS device.
Fixed an issue that the bandwidth of processes may be inaccurate.
Fixed an issue that the DEST-PORT rule may not be parsed.
Fixed an issue that ruleset can't be used with logical type rule.
https://dl.nssurge.com/mac/v3/Surge-3.0.2-736.zip
Version 3.0.1
Fixed an issue that TFO option will not be saved.
Fixed an issue that UDP relay option shows wrong state.
Fixed some i18n issues.
Fixed crashs on macOS 10.11.
Save proxy declarations with legacy style (custom) if the proxy is written in legacy style in the text file.
Other minor bug fixes.
https://dl.nssurge.com/mac/v3/Surge-3.0.1-711.zip
Version 3.0.0
https://dl.nssurge.com/mac/v3/Surge-3.0.0-702.zip
Surge Mac V2
Version 2.6.7
Fixed a compatibility issue with 304 response.
Fixed a Dashboard crash.
https://dl.nssurge.com/mac/Surge-2.6.7-656.zip
Version 2.6.6
Fixed a compatibility issue with 304 response.
Fixed an issue that Dashboard may not use the correct encoding to decode text body.
https://dl.nssurge.com/mac/Surge-2.6.6-654.zip
Version 2.6.5
Bug fixes.
https://nssurge.com/mac/Surge-2.6.5-652.zip
Version 2.6.4
Bug fixes.
https://nssurge.com/mac/Surge-2.6.4-647.zip
Version 2.6.3
New Features: External Proxy Provider. See https://medium.com/@Blankwonder/surge-mac-new-features-external-proxy-provider-375e0e9ea660 for more information.
Surge will automatically track system proxy settings now. When Surge is no longer the default proxy, the status icon will turn grey and a notification will raise.
Fixed a compatibility issue with Docker.
https://nssurge.com/mac/Surge-2.6.3-637.zip
Version 2.6.2
Fixed an issue that the UDP mode with AEAD ciphers doesn't work.
Bug fixes.
https://nssurge.com/mac/Surge-2.6.2-618.zip
Version 2.6.1
Surge now allows expired DNS answers for performance reasons. See 'Optimistic DNS' section in https://developer.apple.com/videos/play/wwdc2018/714/ for more information.
Performance improvements.
Fixed an issue that UDP traffics are not included in the real-time speed.
Supports hardware acceleration for AES-GCM encryption.
Supports NAT64 in a pure IPv6 network. (Previous versions already supported DNS64)
https://nssurge.com/mac/Surge-2.6.1-612.zip
Version 2.6.0
Supports using Surge Mac as a gateway.
A new setup guide view.
A new config panel for traffic capture options.
Fixed an issue which Dashboard may disconnect unexpectedly under huge pressure.
The status bar icon will be red while traffic capture is enabled.
Improved TUN interface performance.
Enabling TCP Fast Open in macOS 10.14.
https://nssurge.com/mac/Surge-2.6.0-596.zip
Version 2.5.3
Supports UDP relay for shadowsocks protocol. A brief introduction in Chinese: https://trello.com/c/ugOMxD3u.
You may use Dashboard to view UDP conversations.
Dashboard now can save multiple remote machine profiles.
Improved the JSON viewer in Dashboard.
Added an UI switch for the dns-failed option in FINAL rule.
Bug fixes.
https://nssurge.com/mac/Surge-2.5.3-563.zip
Version 2.5.2
You may toggle the hidden state of columns in Dashboard now.
Supports to export selected rows to csv file.
Added a connection duration column in Dashboard.
Supports obfs-uri parameter.
Improved the benchmark view.
Fixed a serious bug in the SOCKS5 proxy implementation.
Bug fixes.
https://nssurge.com/mac/Surge-2.5.2-544.zip
Version 2.5.1
The MitM enabling switch has been moved to the main menu and isolated from profile.
Bug fixes.
http://dl.nssurge.com/mac/Surge-2.5.1-528.zip
Version 2.5.0
Added Outbound Mode options: Direct Outbound, Global Proxy and By Rule.
Added options for all policy to specify outgoing interface: 'interface' and 'allow-other-interface'.
Added all_proxy environment variable for 'Copy Shell Export Command'
Supports client-side SSL/TLS certificate validation for HTTPS and SOCKS5-TLS proxy. A config example is here: https://gist.github.com/Blankwonder/cd9fa1987e41cf1a1f1df50583ba1d9c (DO NOT support editing with UI in this version.)
Refined MitM.
Concurrently setup connection to host with Round-robin DNS to boost performance.
Bug fixes.
http://dl.nssurge.com/mac/Surge-2.5.0-520.zip
Version 2.4.6
Supports xchacha20-ietf-poly1305.
Bug fixes.
HTTP request header and response header can be extracted from TCP connection now. (SOCKS5 and TUN)
Enhanced mode can handle all connections now, even for connections initialized with IP address directly.
Surge TUN now supports forwarding ICMP packets.
From this version, the minimum system version requirement was raised to macOS 10.11. If you are still using macOS 10.10, please use version 2.4.5.
http://dl.nssurge.com/mac/Surge-2.4.6-490.zip
Version 2.4.5
Bug fixes.
Improved performance for high concurrency.
TCP fast open has been disabled temporarily since there is a serious problem in macOS/iOS kernel.
Dashboard will display decoded URL query now.
http://dl.nssurge.com/mac/Surge-2.4.5-468.zip
Version 2.4.4
Supports obfs=tls for shadowsocks protocol.
Refined the proxy edit panel.
Added Simplified Chinese language.
http://dl.nssurge.com/mac/Surge-2.4.4-459.zip
Version 2.4.3
Supports obfs=tls for shadowsocks protocol.
Refined the proxy edit panel.
Added Simplified Chinese language.
http://dl.nssurge.com/mac/Surge-2.4.3-457.zip
Version 2.4.2
Fixed an issue that enhanced mode may not be closed properly when switching to a profile without dns-server.
Fixed an issue that managed profile updating and license info are unavailable while enhanced mode enabled.
When the necessary port is used by another process, the error alert will show which process is using the port.
Fixed an issue that map local items can't be edited with UI.
Fixed an issue that system proxy settings may not be reset properly.
Auto URL test group will execute a retest immediately after the selected policy has failed.
http://dl.nssurge.com/mac/Surge-2.4.2-445.zip
Version 2.4.1
Bug fixes.
http://dl.nssurge.com/mac/Surge-2.4.1-439.zip
Version 2.4.0
Supports enterprise license and profile management.
Fixed a bug that some fields are unavailable in the configuration panel in some cases.
Fixed a bug that the FINAL rule can't be edited.
Fixed a bug that you may not be able to use custom storage path for profiles.
The interface related options are no longer controlled by profile. Sorry for the repetitive changes.
You may use $1, $2 to use the matched string in the value while using header rewrite.
Added an option for HTTP/HTTPS proxy: always-use-connect. When it is true, Surge will use CONNECT method for plain HTTP requests.
http://dl.nssurge.com/mac/Surge-2.4.0-429.zip
Version 2.3.2
Added a option to control whether show proxy error notification.
Fixed a problem that Dashboard show data doesn't exist error.
http://dl.nssurge.com/mac/Surge-2.3.2-421.zip
Version 2.3.1
Added a wizard to install CA’s root certificate for iOS simulator.
Connectivity quality is now an option. (Not show by default)
Line comments in [Rule] section in profile file is now presented in UI.
You may add proxy rule with Dashboard by right-clicking the request or process.
Dashboard will always open a new window for local machine, instead of asking. You may use "File" menu to connect to a remote machine.
Added a patch mechanism for adjusting settings for managed config. See manual for more information: https://manual.nssurge.com/others/managed-configuration.html
http://dl.nssurge.com/mac/Surge-2.3.1-420.zip
Version 2.3.0
Completely redesign the configure interface. You may configure every function with UI now.
Proxy benchmark is now moved to main application from Dashboard.
New feature: Header rewrite. See manual for more information: https://manual.nssurge.com/header-rewrite.html.
You may switch profile with command line now: surge-cli switch-profile profilename.
http://dl.nssurge.com/mac/Surge-2.3.0-416.zip
Version 2.2.4
Notifications presented by Surge will be removed from Notification Center automatically.
The interval of attempts to refresh managed config changes to one hour from one minute. (After config expired)
Supports new encryption methods for shadowsocks-libev 3.0.
Optimized Dashboard performance.
Supports TCP Fast Open for shadowsocks proxy. You need add "tfo=true" flag in [Proxy] section to enable the feature. You may use benchmark to confirm TFO is working.
You can sort benchmark results now.
You may choose to reload config after managed config updated.
http://dl.nssurge.com/mac/Surge-2.2.4-394.zip
Version 2.2.2
Fixed a bug when using SOCKS5 without authorization.
http://dl.nssurge.com/mac/Surge-2.2.2-375.zip
Version 2.2.1
You may use Dashboard to benchmark proxies now.
Fixed "Too many open files" error by raising limit to 2048.
Fixed a bug in SOCKS5 with authorization.
Fixed a bug that managed config may refresh continuously.
http://dl.nssurge.com/mac/Surge-2.2.1-374.zip
Version 2.2.0
Map local function is now available.
Adds notifications when proxy encounters errors.
Network changed notification will show service name instead of BSD name now.
Fixed a bug that Dashboard may show the incorrect state of body dump.
Changes for HTTPS and SOCK5-TLS proxy:
Option 'skip-common-name-verify' is deprecated.
Add a new option 'skip-cert-verify' to skip certificate verify completely.
Add a new option 'sni' to customize SNI field while handshaking. You may use 'sni=off' to disable SNI.
New rule type: PROCESS-NAME, USER-AGENT and URL-REGEX.
You can use simple wildcard matching (? and *) for PROCESS-NAME rule, local DNS mapping and MitM hosts.
Dashboard supports display POST form data in a table view.
You may let Surge reload config by sending SIGHUP. You can use command 'killall -HUP Surge' or 'surge-cli reload'.
Managed configuration is supported now.
Add a new option 'skip-server-cert-verify' for MitM.
http://dl.nssurge.com/mac/Surge-2.2.0-368.zip
Version 2.1.4
Fixed a bug that helper may crash on macOS 10.10.
Add a option to remove Surge helper for troubleshooting.
Bug fixes.
http://dl.nssurge.com/mac/Surge-2.1.4-362.zip
Version 2.1.3
Fixed a bug that helper may crash on macOS 10.10.
Add a option to remove Surge helper for troubleshooting.
Bug fixes.
http://dl.nssurge.com/mac/Surge-2.1.3-337.zip
Version 2.1.2
New option: Collapse policy group items in menu
Fixed a bug that enhanced mode DNS settings may not be reverted.
Hold option key to click 'Copy Shell Export Command' to get a command with primary interface IP instead of 127.0.0.1.
Bug fixes.
http://dl.nssurge.com/mac/Surge-2.1.2-327.zip
Version 2.1.0
New feature: Enhanced Mode
Some applications may not obey the system proxy settings. Using enhanced mode can make all applications handled by Surge.
New rule type: IP-CIDR6
Example: IP-CIDR6,2005::/16,DIRECT,no-resolve
The /etc/hosts file will be reloaded automatically if it has changes.
http://dl.nssurge.com/mac/Surge-2.1.0-318.zip
Version 2.0.13
Dashboard supports to use ⌘ + 1,2,3,4 to switch panel.
Dashboard Supports handoff with Surge iOS.
Fixed a bug that Dashboard may show incorrect process name.
http://dl.nssurge.com/mac/Surge-2.0.13-304.zip
Version 2.0.12
Bug fixes.
Supported SNI while performing MitM.
The original certificate will be resigned and used while performing MitM, instead of generating a new certificate.
http://dl.nssurge.com/mac/Surge-2.0.12-295.zip
Version 2.0.11
Rule test cache will be flushed after network switching now.
Added a option 'Grey icon if set as system proxy is disabled'.
Bug fixes and performance improvements.
http://dl.nssurge.com/mac/Surge-2.0.11-289.zip
Version 2.0.10
Surge talks to HTTP proxies with a plain HTTP method for non-HTTPS requests now, instead of CONNECT.
Improved compatibility with some HTTP server.
Improved compatibility with some DNS server.
http://dl.nssurge.com/mac/Surge-2.0.10-280.zip
Version 2.0.9
Dashborad: The height of the detail panel will not change now while switching pages.
A notification will show when proxy client access from other machine.
Used SF Mono as monospaced font for header and body data display.
Supported TCP half-open mechanism.
http://dl.nssurge.com/mac/Surge-2.0.9-273.zip
Version 2.0.8
Add a new option 'exclude-simple-hostnames' in the gereral section.
Dashborad: Selected row will not be lost while the filter or sort column changed.
Dashborad: Fixes some issues in the active panel.
http://dl.nssurge.com/mac/Surge-2.0.8-260.zip
Version 2.0.5
Bug fixes.
http://dl.nssurge.com/mac/Surge-2.0.5-255.zip
Version 2.0.3
New feature: Show connectivity quality in menu.
Surge will send a DNS question to all DNS servers concurrently to test physical network connectivity while opening the menu.
Fixes a problem that Surge may freeze while opening the menu.
Fixes a problem that if a policy group contains duplicate policies, Surge may crash.
http://dl.nssurge.com/mac/Surge-2.0.3-250.zip
Version 2.0.2
Dashboard will no longer display process icon in remote mode.
Fixes a bug: "Set as System Proxy" option does not work properly if only SOCKS service is enabled.
Fixes a bug: Dashboard can't add a rule with no-resolve option on and comment not empty.
Minor bug fixes.
Version 2.0.1
Bug fixes
Last updated