You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org> on 2005/08/27 18:22:04 UTC

[jira] Created: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
--------------------------------------------------------------------------------------------------

         Key: GERONIMO-930
         URL: http://issues.apache.org/jira/browse/GERONIMO-930
     Project: Geronimo
        Type: Bug
  Components: connector  
    Versions: 1.0-M5    
 Environment: All
 Reporter: Matt Hogstrom


These are the current ports Geronimo is listening on by default:

  Listening on Ports:
    1099 0.0.0.0   RMI Naming
    1527 127.0.0.1 Derby Connector
    4201 127.0.0.1 OpenEJB Connector EJB
    8080 127.0.0.1  Jetty Connector HTTP
    8443 127.0.0.1 Jetty Connector HTTPS
   61616 0.0.0.0   ActiveMQ Message Broker Connector

Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-930?page=comments#action_12320272 ] 

Aaron Mulder commented on GERONIMO-930:
---------------------------------------

I'd prefer not to change this on a product-by-product basis but instead alter the default value of ${PlanServerHostname} in modules/assembly/maven.xml

That said, it would be fine with me to change this value from localhost to 0.0.0.0, except insofar as it would no longer be obvious which network listeners are broken and ignoring any listen host property (ActiveMQ and RMI Naming from the list above).  :)

> Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
> --------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-930
>          URL: http://issues.apache.org/jira/browse/GERONIMO-930
>      Project: Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M5
>  Environment: All
>     Reporter: Matt Hogstrom

>
> These are the current ports Geronimo is listening on by default:
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 127.0.0.1  Jetty Connector HTTP
>     8443 127.0.0.1 Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
> Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-930?page=all ]
     
Aaron Mulder closed GERONIMO-930:
---------------------------------

    Resolution: Fixed
     Assign To:     (was: Aaron Mulder)

Someone else fixed this

> Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
> --------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-930
>          URL: http://issues.apache.org/jira/browse/GERONIMO-930
>      Project: Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M5
>  Environment: All
>     Reporter: Matt Hogstrom
>     Priority: Critical
>      Fix For: 1.0-M5

>
> These are the current ports Geronimo is listening on by default:
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 127.0.0.1  Jetty Connector HTTP
>     8443 127.0.0.1 Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
> Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-930?page=all ]

Aaron Mulder updated GERONIMO-930:
----------------------------------

    Fix Version: 1.0-M5

> Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
> --------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-930
>          URL: http://issues.apache.org/jira/browse/GERONIMO-930
>      Project: Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M5
>  Environment: All
>     Reporter: Matt Hogstrom
>     Assignee: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.0-M5

>
> These are the current ports Geronimo is listening on by default:
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 127.0.0.1  Jetty Connector HTTP
>     8443 127.0.0.1 Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
> Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-930?page=comments#action_12320331 ] 

Matt Hogstrom commented on GERONIMO-930:
----------------------------------------

Aaron, I agree that it would be simpler to use a single host name but I don't think that configuration meets the needs of all users.  IIUC what you are proposing would be a single endpoint for all services except OpenEJB or Active MQ.  I expect the users could still change the individual listeners if they want.  I've worked with customers that wanted to bind the ORB listeners on one interface which was different than where their web traffic was coming in.  I expect that these customers are in the minority but are also the most demanding.  Is my understanding correct?

> Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
> --------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-930
>          URL: http://issues.apache.org/jira/browse/GERONIMO-930
>      Project: Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M5
>  Environment: All
>     Reporter: Matt Hogstrom

>
> These are the current ports Geronimo is listening on by default:
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 127.0.0.1  Jetty Connector HTTP
>     8443 127.0.0.1 Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
> Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Posted by "Jeff Genender (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-930?page=all ]

Jeff Genender updated GERONIMO-930:
-----------------------------------

    Priority: Critical  (was: Major)

I have declared 0.0.0.0 in the Tomcat connectors and they are now coming back as 127.0.0.1.  This means the web server will not answer from other machines trying to get to it.  I am escalating this to critical.

> Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
> --------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-930
>          URL: http://issues.apache.org/jira/browse/GERONIMO-930
>      Project: Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M5
>  Environment: All
>     Reporter: Matt Hogstrom
>     Priority: Critical

>
> These are the current ports Geronimo is listening on by default:
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 127.0.0.1  Jetty Connector HTTP
>     8443 127.0.0.1 Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
> Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Posted by "Jeff Genender (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-930?page=all ]

Jeff Genender reassigned GERONIMO-930:
--------------------------------------

    Assign To: Aaron Mulder

> Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
> --------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-930
>          URL: http://issues.apache.org/jira/browse/GERONIMO-930
>      Project: Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M5
>  Environment: All
>     Reporter: Matt Hogstrom
>     Assignee: Aaron Mulder
>     Priority: Critical

>
> These are the current ports Geronimo is listening on by default:
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 127.0.0.1  Jetty Connector HTTP
>     8443 127.0.0.1 Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
> Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Posted by "Jeff Genender (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-930?page=comments#action_12320369 ] 

Jeff Genender commented on GERONIMO-930:
----------------------------------------

0.0.0.0 needs to be the default for all listeners.  Its not a server, its an address, or the generic listener for all IP addresses.

localhost is not what should be listened on, it is truly the server host name.  This can be used for the true meaning of a host. 

We have to be careful which is applied to what.  I recommend we have a 0.0.0.0 that is used for listeners, and call it PlanListenerAddress, and leave PlanServerHostname as is.  There are really 2 seperate components.  A perfect example is Tomcat, where the Host object requires the  PlanServerHostname (localhost) and the Connector objects require PlanListenerAddress (0.0.0.0).

However, I have noticed a bug, and I am not sure if it belongs in this JIRA issue, where I have 0.0.0.0 set in the GBeans, and upon server restart (second run), it changes itself over to 127.0.0.1.  This is a problem.



> Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
> --------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-930
>          URL: http://issues.apache.org/jira/browse/GERONIMO-930
>      Project: Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M5
>  Environment: All
>     Reporter: Matt Hogstrom

>
> These are the current ports Geronimo is listening on by default:
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 127.0.0.1  Jetty Connector HTTP
>     8443 127.0.0.1 Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
> Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-930) Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-930?page=comments#action_12320333 ] 

Aaron Mulder commented on GERONIMO-930:
---------------------------------------

I'm arguing that the default distribution (whether ZIP or installer) should use the same listen host name for all services, whether that's 0.0.0.0 or localhost.  However, as soon as the product is installed, every service can be configured individually by editing the appropriate fields in var/config/config.xml.

So this setting really only affects the defaults (and installer customization options), and I don't think it makes sense for either varying defaults by service, or for the installer to have like 10 separate listen host settings.


> Default host for open sockets (at least web ones) should be default host 0.0.0.0 and not localhost
> --------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-930
>          URL: http://issues.apache.org/jira/browse/GERONIMO-930
>      Project: Geronimo
>         Type: Bug
>   Components: connector
>     Versions: 1.0-M5
>  Environment: All
>     Reporter: Matt Hogstrom

>
> These are the current ports Geronimo is listening on by default:
>   Listening on Ports:
>     1099 0.0.0.0   RMI Naming
>     1527 127.0.0.1 Derby Connector
>     4201 127.0.0.1 OpenEJB Connector EJB
>     8080 127.0.0.1  Jetty Connector HTTP
>     8443 127.0.0.1 Jetty Connector HTTPS
>    61616 0.0.0.0   ActiveMQ Message Broker Connector
> Unfortunately, to do handle any external traffic Jetty has to be reconfigured to listen on 0.0.0.0 or be bound to a specific interface.  I propse that the default for Jetty be changed to 0.0.0.0 for both HTTP and HTTPS.  I also think Derby should be open as well so it could be administrered remotely but I'm less passionate about that one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira