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

Running in a non rooted environment #504

Open
akiirax opened this issue Jan 7, 2024 · 5 comments
Open

Running in a non rooted environment #504

akiirax opened this issue Jan 7, 2024 · 5 comments

Comments

@akiirax
Copy link

akiirax commented Jan 7, 2024

Hello,

Is there a way to if building udp2raw as a library/so to use it without need for root? Or the need to do any kernel/os level modifications? Ex. Running within an app on Android/iOS?

@akiirax
Copy link
Author

akiirax commented Jan 10, 2024

Just to clarify, I meant running completely in the non-privileged user space.

@akiirax
Copy link
Author

akiirax commented Jan 12, 2024

@wangyu- if you can give me possible development markers to proceed with? if possible.

@wangyu-
Copy link
Owner

wangyu- commented Jan 12, 2024

There is no way at the moment.

If you are a developer want to develop it by yourself, the best chance is to make use of ios/android's VPN api for faking packets. However I don't guarantee it works, nor can I provide more details.

@akiirax
Copy link
Author

akiirax commented Jan 20, 2024

I can move forward implementing this however wanna make sure I won't need any kernel-level change or root permission. 🙄

@wangyu-
Copy link
Owner

wangyu- commented Jan 20, 2024

If you are a developer want to develop it by yourself, the best chance is to make use of ios/android's VPN api for faking packets.

All I can tell you is: with this method, there is a chance to implement without any kernel-level change or root permission.

I can not give you a guarantee.

I can move forward implementing this however wanna make sure I won't need any kernel-level change or root permission.

If you can move forward implementing, then you should also be able to investigate and make conclusions by yourself.

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