Skip to content

xray-rust v0.2.0

Choose a tag to compare

@aimalygin aimalygin released this 05 Aug 22:52
· 302 commits to main since this release

Highlights

  • Fixed file logging initialization inside the iOS Network Extension sandbox. xray_core_new failed with "Operation not permitted" because runtime log files were opened by walking every ancestor directory with read access, which the sandbox denies outside the app-group container. Apple platforms now resolve the log path with a single O_NOFOLLOW_ANY open, which keeps rejecting symlinks in any path component; other unix targets keep the hardened directory walk.

Compatibility

No API or configuration changes; existing integrations are unaffected. The Apple log-file path now uses O_NOFOLLOW_ANY, which requires iOS 14.5+ / macOS 11.3+ at runtime — within the package's iOS 15 deployment target, but note that macOS 11.0–11.2 is no longer supported for file logging.

This repository release contains source code only.