Update mitm config

main
风扇滑翔翼 2025-02-07 22:43:48 +08:00 committed by GitHub
parent 1bfdd6d85e
commit c9a5520fff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -81,9 +81,13 @@
// 你要发送的假 SNI, 根据你的网站接受的 SNI 而定
// 当然你也可以留空或者我这样乱填个ip, 这样就不会有任何 SNI 扩展被发送,前提是你的网站接受无 SNI 请求
"serverName": "11.45.1.4",
// 你期望服务端返回证书里的包含的域名,这是新版本选项
// 你期望服务端返回证书里的包含的域名,需要 v25.2+
// 如果是旧版本只能考虑开允许不安全,然后可以考虑文档中其他校验证书的方法进行验证
"verifyPeerCertInNames": "e-hentai.org"
"verifyPeerCertInNames": [
"e-hentai.org",
// 特殊选项,尝试按从 Freedom 入站进来的 SNI 对远端证书进行验证
"fromMitm"
]
}
}
},