From jira-events at lists.jboss.org Mon Jan 16 06:09:18 2012 Content-Type: multipart/mixed; boundary="===============5144478354247117259==" MIME-Version: 1.0 From: Darran Lofthouse (JIRA) To: jboss-jira at lists.jboss.org Subject: [jboss-jira] [JBoss JIRA] (AS7-3042) IPv6: Invalid redirect to Admin console (wrong IP address) Date: Mon, 16 Jan 2012 06:09:18 -0500 Message-ID: <1173767002.954.1326712158494.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> --===============5144478354247117259== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/AS7-3042?page=3Dcom.atlassian.jira.p= lugin.system.issuetabpanels:all-tabpanel ] Darran Lofthouse updated AS7-3042: ---------------------------------- Fix Version/s: 7.1.0.Final Priority: Major (was: Blocker) I have re-opened to double check what is happening here. However do please not that the redirection is intended as a convenience for= a new out of the box installation, it is not intended for redirecting requ= ests received from the public interface so in this scenario it currently so= unds more likely that a displayed error is going to be the correct outcome = rather than a successful redirect. = > IPv6: Invalid redirect to Admin console (wrong IP address) > ---------------------------------------------------------- > > Key: AS7-3042 > URL: https://issues.jboss.org/browse/AS7-3042 > Project: Application Server 7 > Issue Type: Bug > Components: Console, Web > Affects Versions: 7.1.0.Beta1b > Reporter: Pavel Janousek > Assignee: Darran Lofthouse > Fix For: 7.1.0.Final > > > This issue is some derivation from AS7-3040. Lets imagine starting server= like this: > {code}./standalone.sh -Djava.net.preferIPv4Stack=3Dfalse -Djboss.bind.add= ress=3D::1{code} > So by default the admin/management is bound to _::ffff:127.0.0.1:9990_ an= d _::ffff:127.0.0.1:9999_, but it isn't accessible from Web WelcomePage at = _::1:8080_ because the URL is specified as: {code}{cod= e} and so the next request is http://[::1]:8080/console which redirect requ= ester to http://[::1]:9990, but there isn't any console because it is here = - http://[::ffff:127.0.0.1]:9990. > This is not good as it could lead to integration issues between component= s (X trying to connect to Y on ::1; Y listening on ::ffff:127.0.0.1). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============5144478354247117259==--