看网上很多推荐配置都有类似的配置:
[Replica]
# 抓取流量 => 过滤器 1为开启,0为关闭
# 隐藏 Apple 请求, 隐藏所有发往 *.Apple.com 和 *.icloud.com 的请求 (该选项只是在抓取结果中隐藏了请求)
hide-apple-request = 1
# 隐藏 Crashlytics 请求
hide-crash-reporter-request = 1
# 隐藏 UDP 会话
hide-udp = 1
# 关键词过滤器
# none(关闭关键词过滤器) / whitelist(仅记录包含关键词的请求) / blacklist(仅记录不包含关键词的请求) / pattern(记录匹配通配符的请求)
keyword-filter-type = none
# 关键词过滤
# keyword-filter = icloud, ocsp, logs, analytic, imap, adthor, applovin, appnext, talk, dropbox, github, spys, nexdns, 149.154, 91.108
# keyword-filter = *
keyword-filter = (null)
看https://kb.nssurge.com/surge-knowledge-base/v/zh/release-notes/surge-mac#you-hua 更新文档已经说明不再存储在配置文件中了