Fixes are available
APAR status
Closed as program error.
Error description
When WebSphere Portal is used in combination with a gateway (authentication, load balancing, etc.), the method ServletRequest.getRemoteAddr() return the IP address of the gateway rather than the client IP address. The latter is often transmitted as alternative HTTP request header field.
Local fix
This fix allows an alternative HTTP request header field to be configured, so that the correct IP address is returned as client IP.
Problem summary
When WebSphere Portal is used in combination with a gateway (authentication, load balancing, etc.), the method ServletRequest.getRemoteAddr() return the IP address of the gateway rather than the client IP address. The latter is often transmitted as alternative HTTP request header field.
Problem conclusion
This fix allows an alternative HTTP request header field to be configured, so that the correct IP address is returned as client IP. In the WAS Admin Console, add the following property to "WP ConfigService": http.request.header.xff = <name_of_alternative_header_field> After restart of WebSphere Portal, all access to ServletRequest.getRemoteAddr() will retrieve the client IP address via the alternative HTTP request header field. Manual Steps: None Failing Module(s): Engine: URL Generation Affected Users: Administrator Version Information: Portal Version(s): 6.0.1.5 Pre-Requisite(s): PK76204 Co-Requisite(s): --- Portal Version(s): 6.0.1.6 Pre-Requisite(s): Co-Requisite(s): --- Portal Version(s): 6.1.0.0 Pre-Requisite(s): PK86122 Co-Requisite(s): --- Portal Version(s): 6.1.0.1 Pre-Requisite(s): PK86122 Co-Requisite(s): --- Portal Version(s): 6.1.0.2 Pre-Requisite(s): PK86122 Co-Requisite(s): --- Platform Specific: This fix applies to all platforms. A fix is available from Fix Central: http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde r?apar=PK91193&productid=WebSphere%20Portal&brandid=5 You may need to type or paste the complete address into your Web browser.
Temporary fix
Comments
APAR Information
APAR number
PK91193
Reported component name
WEBSPHERE PORTA
Reported component ID
5724E7600
Reported release
601
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-07-13
Closed date
2009-07-31
Last modified date
2009-07-31
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE PORTA
Fixed component ID
5724E7600
Applicable component levels
R60J PSY
UP
R60K PSY
UP
R610 PSY
UP
R61A PSY
UP
R61B PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
31 July 2009