-
Notifications
You must be signed in to change notification settings - Fork 85
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
added a flag to use v2 detection; works better on my mac; need more testing #66
base: master
Are you sure you want to change the base?
Conversation
I'm not comfortable about having multiple implementations of the same feature., and extra switch would be my last resort. I would rather test if this algo could replace the current one. |
the intention is you can use the flag for testing (without breaking backwards compatibility); and if its proven to work we can replace the main method |
Humm, I agree. Maybe we can create an alt build and offer to some mac users
who are unable to use sw proxy now.
|
@kakaroto @lstern so I've been testing with this algorithmn as much as I can. From what I can tell, it will ALWAYS include the proper IP address in the list of IP address returned, BUT it isn't always the first one. I think a dropdown in the GUI or a simple prompt headless would solve this? What do you guys think |
So we now have 3 pull requests trying to solve the same problem.
|
The old code was only broken in @azrethos 's case where he has two valid external IP addresses but wants to use the non-default one. As he just commented, even with netifaces, his IP is in the list but it may not be the first one in the list, so it doesn't solve his problem. In that very specific use case, setting it manually through GUI or command line option is the only solution. |
as @kakaroto said, i also have this problem. i want to use the non-default ip for some reason. if only you can make user to input manual the ip address, it would be the best. if only i know some python code and how to compile, i can change it manual. |
added ability to pass --ipdetect2 to use the new ip detection method, still a WIP, we need to test on more architectures