ACCEPT() RETURNS 0.0.0.0 FOR SSL CONNECTION
APAR Identifier ...... PI16680 Last Changed ........ 14/06/11 ACCEPT() RETURNS 0.0.0.0 FOR SSL CONNECTION Symptom ...... IN INCORROUT Status ........... CLOSED PER Severity ................... 3 Date Closed ......... 14/06/10 Component .......... 5735FAL00 Duplicate of ........ Reported Release ......... 630 Fixed Release ............ 999 Component Name TCP/IP V2 FOR V Special Notice Current Target Date .. Flags SCP ................... Platform ............ Status Detail: SHIPMENT - Packaged solution is available for shipment. PE PTF List: PTF List: Release 630 : UI18750 available 14/06/11 (1501 ) Parent APAR: Child APAR list: ERROR DESCRIPTION: When a server issues an accept() call, the stack returns a sock_addr structure containing the client's IP address upon successful completion. When an accept() is issued for an SSL connection, the stack is incorrectly returning 0.0.0.0 in the sin_addr field rather than the actual IP address of the client. LOCAL FIX: PROBLEM SUMMARY: **************************************************************** * USERS AFFECTED: All users of the z/VM TCP/IP SSL server * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: APPLY PTF * **************************************************************** When a server issues an accept() call, the stack returns a sock_addr structure containing the client's IP address upon successful completion. When an accept() is issued for a static ssl connection, the stack is incorrectly returning 0.0.0.0 in the sin_addr field rather than the actual IP address of the client. PROBLEM CONCLUSION: In part TCSOCKRE PASCAL, the SkNametoBsd routine (which converts the input address-port pair to BSD) has been updated in order to better handle this problem. The code will now detect whether the given address is an IPv4-mapped address. If so, the address will be converted to an IPv4 address. In part FPTCPREQ ASSEMBLE, the inline version of the SkNametoBsd routine has been updated with similar changes. In part F6TCPREQ ASSEMBLE, the inline version of the vSkNametoBsd routine has been updated to implement the same code logic as the main vSkNametoBsd routine in part T6SOCKRE PASCAL. TEMPORARY FIX: COMMENTS: MODULES/MACROS: FPTCPREQ F6TCPREQ TCSOCKRE SRLS: NONE RTN CODES: CIRCUMVENTION: MESSAGE TO SUBMITTER: