Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2474
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- Bug fixes.
Version 5.4.1-2474
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- Bug fixes.
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2475
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- Bug fixes.
Version 5.4.1-2475
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- Bug fixes.
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2476
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Bug fixes.
Version 5.4.1-2476
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (2947) is ready to test on iOS.
What to Test:
新增规则数量过多的警告(5000条以上)
行首与行末注释,现在可以随意使用 # // ; 等三种常见写法
Surge 5 5.21.0 (2947) is ready to test on iOS.
What to Test:
新增规则数量过多的警告(5000条以上)
行首与行末注释,现在可以随意使用 # // ; 等三种常见写法
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2477
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Version 5.4.1-2477
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2478
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Version 5.4.1-2478
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (2949) is ready to test on iOS.
What to Test:
- 修正 DNS 页面无法显示结果的问题
- 将规则过多的警告级别降低至诊断时提示
- 配置错误信息提示优化,现在能更准确的给出出错的行号。
- 其他细节优化
Surge 5 5.21.0 (2949) is ready to test on iOS.
What to Test:
- 修正 DNS 页面无法显示结果的问题
- 将规则过多的警告级别降低至诊断时提示
- 配置错误信息提示优化,现在能更准确的给出出错的行号。
- 其他细节优化
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2480
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Version 5.4.1-2480
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (2950) is ready to test on iOS.
What to Test:
关于规则数过多的问题
由于 Surge 的规则系统严格按照自上而下的方式匹配,且提供了多种类的规则类型,这使得 Surge 没有办法以提前建立索引的方式加速规则匹配。(RULE-SET 和主配置内的规则性能没有区别)
一般情况下,绝大多数用户的需求都可以在 1000 条规则内满足(或者更少),此时每次进行规则匹配的开销应该在 1ms 以内,完全不必在意。
但是部分巨量的规则集(主要是去广告的规则),可能内含上万条规则。这将产生严重的性能影响,我们测试在 iPhone 15 Pro 上,七万条规则的 RULE-SET 匹配耗时约 100ms,造成严重的性能下降。
所以如果需要使用巨量的规则,请使用 DOMAIN-SET 类型规则集,该类型专为巨量规则所设计,不仅内存占用极小,匹配速度也极快,七万条规则也只需要个位数 ms 即可完成匹配。
由于规则的维护者和部分用户并不了解 RULE-SET 和 DOMAIN-SET 的区别,因此 Surge 在该版本中加入了一项新功能,如果发现某 RULE-SET 中仅包含 DOMAIN 和 DOMAIN-SUFFIX 规则,那么 Surge 将在内部自动转换该 RULE-SET 为 DOMAIN-SET 实现,以此大幅优化性能。
但请注意,只要 RULE-SET 中含有一条其他类型的规则,那就无法进行自动转换。所以依然建议主动使用 DOMAIN-SET。
Surge 5 5.21.0 (2950) is ready to test on iOS.
What to Test:
关于规则数过多的问题
由于 Surge 的规则系统严格按照自上而下的方式匹配,且提供了多种类的规则类型,这使得 Surge 没有办法以提前建立索引的方式加速规则匹配。(RULE-SET 和主配置内的规则性能没有区别)
一般情况下,绝大多数用户的需求都可以在 1000 条规则内满足(或者更少),此时每次进行规则匹配的开销应该在 1ms 以内,完全不必在意。
但是部分巨量的规则集(主要是去广告的规则),可能内含上万条规则。这将产生严重的性能影响,我们测试在 iPhone 15 Pro 上,七万条规则的 RULE-SET 匹配耗时约 100ms,造成严重的性能下降。
所以如果需要使用巨量的规则,请使用 DOMAIN-SET 类型规则集,该类型专为巨量规则所设计,不仅内存占用极小,匹配速度也极快,七万条规则也只需要个位数 ms 即可完成匹配。
由于规则的维护者和部分用户并不了解 RULE-SET 和 DOMAIN-SET 的区别,因此 Surge 在该版本中加入了一项新功能,如果发现某 RULE-SET 中仅包含 DOMAIN 和 DOMAIN-SUFFIX 规则,那么 Surge 将在内部自动转换该 RULE-SET 为 DOMAIN-SET 实现,以此大幅优化性能。
但请注意,只要 RULE-SET 中含有一条其他类型的规则,那就无法进行自动转换。所以依然建议主动使用 DOMAIN-SET。
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2481
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Version 5.4.1-2481
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (2952) is ready to test on iOS.
What to Test:
RULE-SET 与 DOMAIN-SET 的实现完全重写,现在 Surge 会在资源更新时自动对规则集进行预处理,建立索引数据结构,大幅提高匹配速度。
1. RULE-SET 和 DOMAIN-SET 两种类型规则集不再有性能和内存占用区别,可以随意使用。
2. DOMAIN-SET 规则集不再存在不可以使用 eTLD 的限制。
3. RULE-SET 中的 DOMAIN, DOMAIN-SUFFIX, IP-CIDR, IP-CIDR6 规则匹配速度得到大幅提升。
· 十万条左右的 DOMAIN/DOMAIN-SUFFIX 规则集,在旧版中单次匹配需要 100ms,现在只需要个位数 ms。
· 一万条左右的 IP-CIDR 规则集,在旧版中单次匹配需要约 0.1ms。新版只需要0.0002ms,提升了约 500 倍。IP-CIDR6 规则的性能提升幅度更高。
4. 在新版本中,自行通过 IP-CIDR 规则集构建出地区的 IP 地址集合,与直接使用内部的 GEOIP 规则的性能已经完全一致。
5. RULE-SET 的索引优化不再受上个版本的规则类型限制,可以随意混用任意规则。(但只有上面 4 种规则类型会得到性能优化)
6. 先前版本加入的 Inline Ruleset 无法享受该优化,但是在百条数量级下几乎无差异。
7. 先前版本中,Ruleset 中的规则也是按照从上至下的方式逐条匹配,如果规则集中同时包含了需要 DNS 解析的规则,也只有当开始匹配该子规则时才会触发 DNS。新版本中,只要规则集中包含任意一条需要 DNS 解析的规则,在测试该规则集前就会先进行 DNS 解析。(绝大多数情况下没有任何区别)
另外,我们最近做的许多新功能都未加入 iOS 的功能订阅中,因为我们不想为此增加额外的选项和开关导致使用不便。可以将 Surge 的功能订阅看作是一种赞助,希望订阅用户理解。
Surge 5 5.21.0 (2952) is ready to test on iOS.
What to Test:
RULE-SET 与 DOMAIN-SET 的实现完全重写,现在 Surge 会在资源更新时自动对规则集进行预处理,建立索引数据结构,大幅提高匹配速度。
1. RULE-SET 和 DOMAIN-SET 两种类型规则集不再有性能和内存占用区别,可以随意使用。
2. DOMAIN-SET 规则集不再存在不可以使用 eTLD 的限制。
3. RULE-SET 中的 DOMAIN, DOMAIN-SUFFIX, IP-CIDR, IP-CIDR6 规则匹配速度得到大幅提升。
· 十万条左右的 DOMAIN/DOMAIN-SUFFIX 规则集,在旧版中单次匹配需要 100ms,现在只需要个位数 ms。
· 一万条左右的 IP-CIDR 规则集,在旧版中单次匹配需要约 0.1ms。新版只需要0.0002ms,提升了约 500 倍。IP-CIDR6 规则的性能提升幅度更高。
4. 在新版本中,自行通过 IP-CIDR 规则集构建出地区的 IP 地址集合,与直接使用内部的 GEOIP 规则的性能已经完全一致。
5. RULE-SET 的索引优化不再受上个版本的规则类型限制,可以随意混用任意规则。(但只有上面 4 种规则类型会得到性能优化)
6. 先前版本加入的 Inline Ruleset 无法享受该优化,但是在百条数量级下几乎无差异。
7. 先前版本中,Ruleset 中的规则也是按照从上至下的方式逐条匹配,如果规则集中同时包含了需要 DNS 解析的规则,也只有当开始匹配该子规则时才会触发 DNS。新版本中,只要规则集中包含任意一条需要 DNS 解析的规则,在测试该规则集前就会先进行 DNS 解析。(绝大多数情况下没有任何区别)
另外,我们最近做的许多新功能都未加入 iOS 的功能订阅中,因为我们不想为此增加额外的选项和开关导致使用不便。可以将 Surge 的功能订阅看作是一种赞助,希望订阅用户理解。
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2484
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Version 5.4.1-2484
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (2955) is ready to test on iOS.
What to Test:
- 修正了 DOMAIN-SET 规则集无法被加载的问题
- 修正了 RULE-SET 中规则的 extended-matching 标记无法生效的问题,但是在新版本中,RULE-SET 中任意子规则的 extended-matching 标记将对整个规则集都生效
- DOMAIN-SET 规则集也支持配置 extended-matching 了
Surge 5 5.21.0 (2955) is ready to test on iOS.
What to Test:
- 修正了 DOMAIN-SET 规则集无法被加载的问题
- 修正了 RULE-SET 中规则的 extended-matching 标记无法生效的问题,但是在新版本中,RULE-SET 中任意子规则的 extended-matching 标记将对整个规则集都生效
- DOMAIN-SET 规则集也支持配置 extended-matching 了
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2485
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Version 5.4.1-2485
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (2956) is ready to test on iOS.
What to Test:
修正当使用的 RULE-SET 不存在或不包含任何有效规则时产生的崩溃。
Surge 5 5.21.0 (2956) is ready to test on iOS.
What to Test:
修正当使用的 RULE-SET 不存在或不包含任何有效规则时产生的崩溃。
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2486
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Version 5.4.1-2486
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Forwarded from Surge's Changelog
#iOS #TestFlight
Surge 5 5.21.0 (2957) is ready to test on iOS.
What to Test:
- 修正 DOMAIN-SET 在某些情况下依然无法被载入的问题
- 修正规则集中的 IP-CIDR6 规则未能正确被建立索引的问题
Surge 5 5.21.0 (2957) is ready to test on iOS.
What to Test:
- 修正 DOMAIN-SET 在某些情况下依然无法被载入的问题
- 修正规则集中的 IP-CIDR6 规则未能正确被建立索引的问题
Forwarded from Surge's Changelog
#Mac #Beta
Version 5.4.1-2488
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Version 5.4.1-2488
- Now, when performing MITM, the certificate used for signing will be sent to the client together, to support using intermediate certificates for MITM.
- All comments (at the beginning and end of lines) can now use
#, //, ; three common comment symbols.- Profile error message prompt optimization, now it can give the exact line number where the error occurred more accurately.
- Bug fixes.
Forwarded from Surge's Changelog