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

Add command line parameters to allow/block interfaces/ip addresses #23

Closed
BenKluwe opened this issue Oct 7, 2019 · 2 comments
Closed

Comments

@BenKluwe
Copy link

BenKluwe commented Oct 7, 2019

Set org.ice4j.ice.harvest.ALLOWED_INTERFACES, org.ice4j.ice.harvest.BLOCKED_INTERFACES, org.ice4j.ice.harvest.ALLOWED_ADDRESSES and org.ice4j.ice.harvest.BLOCKED_ADDRESSES via command line options so the gathering does not time out indefinitely on windows when multiple adapters are active but only one is connected to the internet.

@BenKluwe
Copy link
Author

BenKluwe commented Oct 7, 2019

See also FAForever/downlords-faf-client#1461

BenKluwe pushed a commit to BenKluwe/java-ice-adapter that referenced this issue Oct 7, 2019
@BenKluwe
Copy link
Author

It turns out that this option may not be necessary, but still useful to have. Using this (with increased timeout, see here) to see whether or not the timeout would be reached showed that binding an interface did not have an effect on the time it takes to gather candidates. It seems as though the underlying ice4j implementation first gathers all potential candidates and then chooses which ones to use based on the above system properties.

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

1 participant