-
Notifications
You must be signed in to change notification settings - Fork 995
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
FreeBSD: failure binding on a NAT-ed loopback interface. #1709
Comments
Hey, thanks for the report. Most probably the failure is because ice4j refuses to bind on a loopback interface, and there are no other interfaces available. You can run the following to confirm (save as
Assuming that this is the case. Do you know if it is normal for FreeBSD and/or jails to run with only loopback interfaces? We can accept a patch to make this ice4j behavior configurable. |
Hey, thanks for the super quick reply. Yes, in the case of FreeBSD, it is pretty usual that jails (the same as docker for linux but more powerful) get such interfaces, with NAT-ed internal IP addresses. As you can see on the linked forum topic, many people struggle with it, just like me. I've got a As for a patch, unfortunately I'm not a Java coder so I can't help you out here. Hoping for a quick resolution. Cheers! |
Executing the test code, the output displayed the
it's got an IPv4 address though:
Edit: alright, my bad, I saw the code exited on the interface being loopback. Commenting that part out displayed its IP address. |
Thanks, this confirms that the reason the interface is not used by ice4j is because it's loopback. |
Hey @bgrozev, see the submitted patch. Disclaimer: I'm still not a java coder, although I already built a small application in Kotlin a couple years ago. This whole new configuration option I added has the caveat of making the other two configuration option for the allowed/blockes interfaces unclear. I'd rather just use the two options already in place (but properly evaluated), and skip loopback address checking in On second thought, I might just added an error there, in the case of IPv6 link local addresses, I think. It's your call. |
Hey guys,
yes I read the issue template, and this seems to be a genuine bug. For details, see https://community.jitsi.org/t/videobridge-problems/67691.
Because of this bug, I am unable to run Jitsi on FreeBSD now.
The text was updated successfully, but these errors were encountered: