[infinispan-issues] [JBoss JIRA] (ISPN-10730) Support INADDR_ANY in Hot Rod

Tristan Tarrant (Jira) issues at jboss.org
Mon Oct 7 10:20:00 EDT 2019


    [ https://issues.jboss.org/browse/ISPN-10730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795612#comment-13795612 ] 

Tristan Tarrant commented on ISPN-10730:
----------------------------------------

Specifically, Hot Rod needs to build a list of externally-accessible addresses so it can send them to the clients to enable L2 and L3 intelligence. It does so by associating the public-facing address with the node's clustering address:

Map<cluster-address, hotrod-address>
When it is being fed an INADDR_ANY it cannot determine what address it should advertise.
A possible solution is to enumerate all interfaces and for each cluster address store a list of possible public addresses using the netmask as a key:

Map<cluster-address, Map<netmask, hotrod-address>>

> Support INADDR_ANY in Hot Rod
> -----------------------------
>
>                 Key: ISPN-10730
>                 URL: https://issues.jboss.org/browse/ISPN-10730
>             Project: Infinispan
>          Issue Type: Enhancement
>    Affects Versions: 10.0.0.CR3
>            Reporter: Diego Lovison
>            Assignee: Tristan Tarrant
>            Priority: Major
>
> When working with WF ( Default ISPN Server when running the version 9.4), we can expose the server ports with the current machine's IP address using {{-b 0.0.0.0}}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list