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

Xray 在 OpenBSD 7.5 上出現問題,該系統取消了 psyscall #3297

Closed
2 tasks done
LearZhou opened this issue Apr 22, 2024 · 3 comments
Closed
2 tasks done

Xray 在 OpenBSD 7.5 上出現問題,該系統取消了 psyscall #3297

LearZhou opened this issue Apr 22, 2024 · 3 comments

Comments

@LearZhou
Copy link

Integrity requirements

  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I searched issues and did not find any similar issues.

Version

所有版本

Description

在 OpenBSD 7.5 上跑的服務器不好用了,在下面的 reddit 帖子有討論。

https://www.reddit.com/r/openbsd/comments/1c6f72n/proxy_service_not_working_errno_35_resource/

Reproduction

Always fail to connect.

log

No response

@LearZhou
Copy link
Author

_sthen

2d ago
OpenBSD Developer
Looking at upstream source they're explicitly using syscall(), that will need to be changed to call via libc wrappers (as was already done for various things in newer versions of x/sys etc).

@yuhan6665
Copy link
Member

golang/go#36435
Closing as known limitation

@yuhan6665
Copy link
Member

It may work if you turn off readv (via env var xray.buf.readv) and sockopt.

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

2 participants