ptproxy icon indicating copy to clipboard operation
ptproxy copied to clipboard

在OpenVZ中无法使用

Open didila opened this issue 10 years ago • 5 comments

我尝试在4组KVM以及2组OpenVZ安装设置ptproxy 同样的设置方式 在KVM上应用没有问题,一切都很正常 但是在OpenVZ上却始终出现 obfs4([scrubbed]:1910) - handshake failed: handshake: MAC mismatch: Dervied: f878210ac21e569af7917cadb3d161f8 Received: 41e39b66da629abe36078e3661fe7e27. 原本以为会不会是obfs4proxy不支持OpenVZ的venet0 我又尝试在OpenVZ Debian 运行Tor Browser obfs4proxy却可以正常使用 所以猜测应该是ptproxy的问题

环境: 服务器:Debian wheezy-64, obfs4proxy_0.0.0.4 客户端:Windows7-32, obfs4proxy.exe_0.0.0.5

didila avatar Oct 02 '15 12:10 didila

可能是配置问题。删除 obfs4_state.json 重新运行试试。每个服务器要用不同的证书(自动生成,不要复制 obfs4_state.json )。

gumblex avatar Oct 04 '15 02:10 gumblex

因為每次都必須修改obfs4_state.json默認的iat-mode=0值,我有注意到這點,其實不只服務器有不同證書,甚至在不同文件夾啟動程序時,證書都不一樣。儘管有注意到,結果在OpenVZ下仍是出現handshake: MAC mismatch。這兩天我又額外租用2組不同公司的kvm和OpenVZ,結果仍是相同! 話說,使用ptproxy時,網絡仍會不定時中斷,但比起直接shadowshocks直接裸奔,中斷的次數變少變短了!

didila avatar Oct 04 '15 02:10 didila

你可以将 obfs4_state.json 复制到同一文件夹,或修改 "state" 来解决证书变化的问题。MAC mismatch 的问题我再研究一下(不过我觉得和 ptproxy 没多大关系)。

gumblex avatar Oct 04 '15 06:10 gumblex

我测试了一台 OpenVZ 服务器,没遇到任何问题。(Debian 8.2, obfs4proxy-0.0.4)

gumblex avatar Oct 04 '15 16:10 gumblex

如果是两个debian对接是没问题的,就是debian对win7才会出现这样...当然也有可能是obfs4proxy for win的问题

didila avatar Oct 14 '15 17:10 didila