-
Notifications
You must be signed in to change notification settings - Fork 2.1k
empty listening-ip= does _NOT_ let the system listen on IPv4 and IPv6 #1294
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
Comments
@computersalat feel free to submit a PR |
sorry I was mistaken.
then you get:
|
with
I get:
hence only listening on IPv4 |
with
I get:
hence only listening on IPv6 |
Hi @computersalat But why not fix it properly?
And the result in all 3 is that turnserver is listening on all available interfaces What happens today is that options 1,2 IMHO work incorrectly - when value is not provided the string is '\0' which is interpreted as 0.0.0.0 which results in listening on IPv4 only. I think coturn/src/client/ns_turn_ioaddr.c Line 216 in 294f897
|
I fully agree to fix the main cause. |
Uh oh!
There was an error while loading. Please reload this page.
Hi
in config there is the following comment:
hence I tried
with the result, that coturn is only listening on IPv4 addresses
if you want to make it listen on IPv4 as well as on IPv6 you need:
You should either update your documentation/comment to point this out or fix your code that empty IP
will result in listening on any IPv4 and IPv6 address
The text was updated successfully, but these errors were encountered: