[jboss-jira] [JBoss JIRA] Commented: (JGRP-1268) Allow 0.0.0.0 as bind address
Bela Ban (JIRA)
jira-events at lists.jboss.org
Tue Jan 25 03:23:49 EST 2011
[ https://issues.jboss.org/browse/JGRP-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577676#comment-12577676 ]
Bela Ban commented on JGRP-1268:
--------------------------------
Hmm, not so sure this makes sense...
Even if a user can set the bind address to be 0.0.0.0, at the end of the day they still have to pick an address (e.g. external_addr) that's going to be advertized as the node's address. So we're just pushing the issue of picking an address from bind_addr to external_addr. If we have to pick an address, might as well pick it for bind_addr (as is currently the case).
Comments ?
> 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
More information about the jboss-jira
mailing list