Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PVE ARM64下运行时经过passwall/passwall2/ssr+代理的网络流量发生错误 #201

Open
happyme531 opened this issue May 30, 2023 · 0 comments

Comments

@happyme531
Copy link

主机为Hinlink H88K, 运行armbian bullseye,内核为5.10.110-rockchip-rk3588, PVE 7.3-6

虚拟机镜像内核版本;

Linux OpenWrt 6.1.18-flippy-82+ #50 SMP Sat Mar 11 22:59:20 CST 2023 aarch64 GNU/Linux

Bug具体表现为:

  • 通过HTTPS下载文件时,如果url是被代理的,那么有概率下载失败。curl报错为:
curl: (18) OpenSSL SSL_read: OpenSSL/3.0.8: error:0A000119:SSL routines::decryption failed or bad record mac, errno 0
  • 出错是随机的。以5MB/s的速度下载时,目测平均每70MB数据就会出现一次错误。

  • 这个出错频率是在虚拟机在两个A76大核上运行时测得的。如果虚拟机在四个A55小核上运行,那么出错频率会大幅度增加。

  • 设置虚拟机仅在一个A76大核上运行时出错频率不会有明显变化。

  • 如果是通过HTTP下载且url是被代理的,下载不会失败,但得到的文件可能是错误的。

  • 如果url不经过代理,则不会发生任何错误。

  • 错误发生时系统内没有什么特殊的日志记录。

  • passwall/passwall2/ssr+都存在相同问题,openclash未测试

  • passwall2使用的xray内核版本为1.7.5, 1.8.0, 1.8.1时都存在相同问题。因此也许可以排除是Xray的问题。

  • 我测试过几个不同的flippy源码打包的镜像,全部存在相同问题。内核为5.15和6.1都存在问题。

  • 目前只有flippy提供了ARM64虚拟机镜像,因此我无法测试其他openwrt镜像是否存在问题。

  • 由于透明代理涉及到iptables规则,这个问题或许和 PVE ARM64下运行时偶尔出现bpfilter报错, ipv4无法上网 #182 有联系,即可能都是由于iptables存在问题导致的。

  • 之前使用过flippy的Hinlink H88K Openwrt镜像,(即直接在物理机上运行),不存在这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant