Details

    • Target Release:
    • Story Points:
      1
    • Release Notes Text:
      Hide
      Cause: RemoteIpValve not included in server.xml
      Consequence: X-Forwarded-* headers not available to AccessLogValve
      Fix: Added RemoteIpValve to server.xml
      Result: X-Forwarded-* headers available to AccessLogValve
      Show
      Cause: RemoteIpValve not included in server.xml Consequence: X-Forwarded-* headers not available to AccessLogValve Fix: Added RemoteIpValve to server.xml Result: X-Forwarded-* headers available to AccessLogValve
    • Sprint:
      CLOUD Maintenance Sprint 11

      Description

      registry.access.redhat.com/jboss-webserver-3/webserver30-tomcat7-openshift:1.2-31

      Currently this is not configured and HttpServletRequest.getRemoteHost() returns router address instead of client IP address. It would be great if it's configured by default and reflect X_Forwarded_For value to this API. Also it would be nice if we have a switch to disable RemoteIPValve installation for migrated apps that already proxy aware and read X_Forwarded_For header directly.

      In OpenShift 2 RemoteIPValve was configured by default:

              <Valve
                className="org.apache.catalina.valves.RemoteIpValve"
                protocolHeader="x-forwarded-proto"
              />
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bdecoste William Decoste
                  Reporter:
                  tkimura Takayoshi Kimura
                  Tester:
                  Libor Fuka
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: