[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ESP payload type



Gina,

>	In RFC 1829, the payload format in section 2 calls for a one
>octet payload type. Will this field have the same value regardless of
>whether the original packet has been compressed? If so, how can one
>determine if the encrypted packet has been compressed. If not, what are
>the values for the payload type for compressed and uncompressed packets?

First, the newly approved IPsec documents are the relevant ones, not 1829.
If compression has been negotiated and employed for an SA, then the
appropriate protocol ID for IPCOMP will appear as the NEXT field in ESP,
indicating that the next level of demuxing and processing is IPCOMP, vs.
TCP, IP, etc.

Steve

P.S.  The encrypted packet would not have been compressed; the plaintext
would have been compressed and the result encrypted.




References: