mikechack / coturn

Automatically exported from code.google.com/p/coturn
Other
0 stars 0 forks source link

(patch provided) Add support for hostnames in listening-ip and relay-ip fields #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

The attached patch allows the listening-ip and relay-ip configuration fields to 
contain a hostname, which is then resolved with getaddrinfo(). Tested under 
Linux and OSX.

Rationale:

In some environments (for example, Google Cloud Servers) the host gets a 
dynamic private IPv4 upon restart which may change at any time. Fortunately an 
alias for the private IP is automatically added into /etc/hosts. For some 
reasons one may need to make Coturn to just listen into the private address and 
avoid IP autodiscovery. The patch makes this scenario easier to live with.

Original issue reported on code.google.com by i...@aliax.net on 8 Sep 2014 at 10:50

Attachments:

GoogleCodeExporter commented 9 years ago
will be fixed in the next version

Original comment by mom040...@gmail.com on 8 Sep 2014 at 8:53

GoogleCodeExporter commented 9 years ago
Thanks a lot!

Original comment by i...@aliax.net on 8 Sep 2014 at 8:55

GoogleCodeExporter commented 9 years ago

Original comment by mom040...@gmail.com on 9 Sep 2014 at 1:36

GoogleCodeExporter commented 9 years ago
Fixed in 4.2.1.2

Original comment by mom040...@gmail.com on 13 Oct 2014 at 9:30