Integrate NDISAPI, An Alternative for Tun (Windows) #4228
amir-devman
started this conversation in
Ideas
Replies: 2 comments
-
I want to try it |
Beta Was this translation helpful? Give feedback.
0 replies
-
PR is welcomed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to propose the integration of NDISAPI into Xray-core as an alternative to the TUN driver for Windows users.
Why NDISAPI?
NDISAPI is a high-performance packet filtering framework for Windows. Benchmarks on WireSock.net demonstrate that NDISAPI outperforms traditional TUN implementations, including WireGuard TUN, in terms of throughput and CPU efficiency. Integrating NDISAPI into Xray-core could provide users with a significant performance boost, especially for high-speed or resource-constrained scenarios.
Benefits of NDISAPI Integration:
Superior Performance: Lower CPU utilization and higher throughput compared to TUN.
Advanced Features: Direct control of packet routing, filtering, and modification at the driver level, enabling more efficient traffic management.
Optimized for Windows: NDISAPI is specifically designed for Windows, making it a natural choice for enhancing the performance and flexibility of Xray-core on this platform.
Proposal Details
I have already developed a Go implementation of NDISAPI, which is ready to integrate into projects like Xray-core. I am also willing to personally implement and maintain this feature through a PR.
Community Feedback
Before proceeding, I would like to gather feedback from the maintainers and the community:
Would this feature align with Xray-core’s goals and priorities?
Are there any specific concerns or prerequisites to consider for implementing this feature?
I believe this integration could greatly benefit Windows users of Xray-core by providing a powerful and efficient alternative to TUN. I look forward to hearing your thoughts and engaging in a constructive discussion!
Thank you for your time and consideration.
Beta Was this translation helpful? Give feedback.
All reactions