Allow 0.0.0.0 as bind address
-----------------------------
Key: JGRP-1268
URL:
https://issues.jboss.org/browse/JGRP-1268
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.12
Currently, bind_addr has to be a valid interface and the wildcard (0.0.0.0) address is not
permitted. The reason is that bind_addr determines the physical address of a node, e.g.
192.168.1.5:46537, and using 0.0.0.0:46537 wouldn't allow us to identify the node in
order to send it a message.
To allow for TCP and UDP sockets to bind to the wildcard address, we could either use a
bind_addr of 0.0.0.0 and introduce an additional property to pick the physical address
(e.g. physical_addr="192.168.1.5" / physical_addr="GLOBAL"), or
continue using bind_addr to determine the physical address and add a property
(bind_to_wild_card_addr="true") to make the UDP and TCP sockets bind to the
wildcard address (if true).
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira