Agent mode with optional tunnel type (user or kernel)
Is your feature request related to a problem? Please describe. Experimental agent mode with ENABLE_GO_IOS_AGENT=yes strats a kernel mode tunnel. It is necessary to give an option to start the tunnel in userspace.
If there is no specific reason to stay in experimental mode, we can also refactor the code to make it a feature.
Describe the solution you'd like This is open to discussion. The easiest way may be renaming the environment variable something like ENABLE_GO_IOS_AGENT_WITH and the values might be "user" or "kernel". Then the code will handle to start appropriate tunnel type.
Describe alternatives you've considered It may be part of options but this may require a lot of refactoring work.
Additional context This experimental mode is a good feature for multiple device test automation.
I think better yet if just the environment variable itself contains the tunnel type like ENABLE_GO_IOS_AGENT=kernel and ENABLE_GO_IOS_AGENT=userspace, then it will probably be just a simple check in main.go
I agree with you @shamanec. Will implement it and copy the PR here. Thx.
Hi @shamanec , would you please review #544.