Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3042

IPv6: Invalid redirect to Admin console (wrong IP address)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.2.Final (EAP)
    • 7.1.0.Beta1b
    • Console, Web
    • None

      This issue is some derivation from AS7-3040. Lets imagine starting server like this:

      ./standalone.sh -Djava.net.preferIPv4Stack=false -Djboss.bind.address=::1

      So by default the admin/management is bound to ::ffff:127.0.0.1:9990 and ::ffff:127.0.0.1:9999, but it isn't accessible from Web WelcomePage at ::1:8080 because the URL is specified as:

      <a href="/console">

      and so the next request is http://[::1]:8080/console which redirect requester 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 components (X trying to connect to Y on ::1; Y listening on ::ffff:127.0.0.1).

            darran.lofthouse@redhat.com Darran Lofthouse
            pjanouse@redhat.com Pavel Janousek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: