You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Andy Gumbrecht (JIRA)" <ji...@apache.org> on 2012/06/28 13:22:44 UTC

[jira] [Created] (OPENEJB-1854) Multicast discovery collides with a configured localhost service

Andy Gumbrecht created OPENEJB-1854:
---------------------------------------

             Summary: Multicast discovery collides with a configured localhost service
                 Key: OPENEJB-1854
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1854
             Project: OpenEJB
          Issue Type: Improvement
    Affects Versions: (trunk/openejb)
         Environment: All
            Reporter: Andy Gumbrecht
            Assignee: Andy Gumbrecht
            Priority: Minor
             Fix For: (trunk/openejb)


If the discovery URI for a remote service group is 'localhost' then remote clients should not be able to see it.
A server may want to only be visible to local clients, yet still advertise on multicast.

Currently one of two things may happen on a remote client call:

1. A connection to the remote service group fails, as clients actually try to connect the themselves (localhost)..

2. More serious - If the remote client 'also' has a locally configured service on the same port then a connection is made to the service irrelevant of the group when in fact the connection should fail. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OPENEJB-1854) Multicast discovery collides with a configured localhost service

Posted by "Andy Gumbrecht (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Gumbrecht resolved OPENEJB-1854.
-------------------------------------

    Resolution: Fixed

Remote multicast clients now check that an advertised service localhost URI is actually allowed to be called.
                
> Multicast discovery collides with a configured localhost service
> ----------------------------------------------------------------
>
>                 Key: OPENEJB-1854
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1854
>             Project: OpenEJB
>          Issue Type: Improvement
>    Affects Versions: (trunk/openejb)
>         Environment: All
>            Reporter: Andy Gumbrecht
>            Assignee: Andy Gumbrecht
>            Priority: Minor
>              Labels: multicast
>             Fix For: (trunk/openejb)
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If the discovery URI for a remote service group is 'localhost' then remote clients should not be able to see it.
> A server may want to only be visible to local clients, yet still advertise on multicast.
> Currently one of two things may happen on a remote client call:
> 1. A connection to the remote service group fails, as clients actually try to connect the themselves (localhost)..
> 2. More serious - If the remote client 'also' has a locally configured service on the same port then a connection is made to the service irrelevant of the group when in fact the connection should fail. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira