-
Notifications
You must be signed in to change notification settings - Fork 1
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
What local IP address to use #8
Comments
How about option 3: Only support WireGuard in cyanoacrylate, which just works? I know we don't have iOS support for that yet in appstraction, but I'm not sure whether it's worth putting in all this effort for supporting an option that is clearly inferior anyway. |
Hm, I guess. In the emulator as well? I am also not sure what to do about the emulator proxy since that is easy and reliable… |
If it works, why not? If you do a traffic collection on an app, it should only record that app's traffic and WireGuard is the only way we have to do that, anyway. |
Well, because we cannot read from the |
Yes. But we do have to solve that anyway. |
When we set up the proxy in cyanoacrylate on a physical device, we need to know an IP address at which the device can reach the host. While it does seem easy enough to get the local IP addresses of the host (https://stackoverflow.com/questions/3653065/get-local-ip-address-in-node-js), it is not unlikely that there is more than one interface available, e.g. WiFi and ethernet.
I see two ways to go about this:
ping
ing them from the deviceI think I like the second option better. What do you think?
The text was updated successfully, but these errors were encountered: