-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add option to bind to interface/ip address on ICE adapter #1461
Comments
See also FAForever/java-ice-adapter#23 |
This is not client related. If @Geosearchef merges PR I am happy to update version. |
oh this would need client to tell it which ones to ignore |
yes, which ones to blacklist and/or which ones to whitelist. This should not be done automatically and left to the user because it might otherwise screw things up badly. |
Obviously if none are given then just allow all, which is the default for ice4j and the faf-ice-adapter |
If it is known how to create such a virtual inteface that makes ICE run forever one might as well investigate that 🤔 tho ICE4J does seem a little left behind |
The idea behind this is not to let ICE run forever but instead tell faf-ice-adapter every time it runs which interfaces to use and the faf-ice-adapter can then pass that message on to ice4j :) |
Tho this is a work arround for an ice4j bug right |
Yes, I guess you could call it a workaround. It might not even be a bug, it's just that the timeout of 5 seconds in the faf-ice-adapter is probably not enough for ice4j to finish what they call harvesting. Then again, if you have to wait a minute or so for all interfaces to timeout so a connection can be found then one might call that a bug! |
So why not increase timeout then and try again? |
The timeout is hard-coded |
Well lets try change that before before we start building workarounds right? |
If u want to u can join us on Zulip discord etc. and discuss with @Geosearchef that does the Ice Adapter (mostly) |
Well... it's not really a workaround though because it is part of the configuration of ice4j, see here and thus unlikely to change. Binding to an interface will provide a much better UX i.e. faster loading time. I'm on discord as FF764. |
Not sure having users select them seems wrong |
I tried out a higher timeout in the faf-ice-adapter yesterday (60s) to no avail. Instead of the faf-ice-adapter timing out the underlying ice4j implementation timed out. There is the possibility of using the address that has the default route to automatically detect the binding interface, but this should be done only once at setup-time. The drawback is the user then has to set the binding interface if it ever changes (consider for example VPNs) yet from the users perspective there will be no knowledge of this because the user never set it in the first place. |
ok no idea what u mean now @Geosearchef needs to discuss with u there |
As far as I can tell this isn't needed anymore. I recently installed the FAF client again and networking worked out of the box even with multiple adapters active, some of which not connected to the internet. |
Is your feature request related to a problem? Please describe.
On Windows, the ICE adapter sometimes times out repeatedly and indefinitely because it attempts to get ICE candidates from adapters that are not connected to the internet. There is a workaround to fix this issue by disabling all other adapters, but this is quite annoying and a solution is at hand.
Describe the solution you'd like
This feature already exists in the ICE project (NOT faf ICE adapter project), specifically to allow/block specific interfaces and/or ip addresses from candidate gathering.
Describe alternatives you've considered
none, this is already quasi-implemented and not bubbled through to the FAF client.
Wanna have the bug fixed quickly?
![Issue hunt](https://github.com/BoostIO/issuehunt-materials/raw/master/v1/issuehunt-button-v1.svg?sanitize=true)
Visit Issue hunt...
The text was updated successfully, but these errors were encountered: