• Trond Myklebust's avatar
    [PATCH] XDR 'encode' phase move [2/6] · 6d52fdcb
    Trond Myklebust authored
    The RPCSEC_GSS user context defines a 'sequence number' in the AUTH header
    fields in order to provide protection against replay attacks. This
    number needs to lie within a given 'window', and is required to be updated
    even when retransmitting dropped requests.
    
    In order to allow this update to occur, move the XDR 'encode' phase
    so that it is done immediately before writing the data to the socket.
    6d52fdcb
clnt.c 21.9 KB