25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

This is a variable-length field that contains the Integrity<br />

Check Value (ICV) for this packet. The field must be an<br />

integral multiple of 32 bits (<strong>IP</strong>v4 or <strong>IP</strong>v6) in length. All<br />

implementations must support such padding <strong>and</strong> must<br />

insert only enough padding to satisfy the <strong>IP</strong>v4/<strong>IP</strong>v6<br />

alignment requirements.<br />

Encapsulating Security Payload<br />

The Encapsulated Security Payload (ESP) is defined in RFC 4303. All data<br />

following the ESP header is encrypted. Figure 9-12 illustrates the ESP structure<br />

with the additional field explained after the figure.<br />

The packet begins with the Security Parameters Index (SPI) <strong>and</strong> Sequence<br />

Number (SN). Following these fields is the Payload Data, which has a<br />

substructure that depends on the choice of encryption algorithm <strong>and</strong> mode <strong>and</strong><br />

on the use of TFC padding. Following the Payload Data are Padding <strong>and</strong> Pad<br />

Length fields <strong>and</strong> the Next Header field. The optional Integrity Check Value (ICV)<br />

field completes the packet.<br />

Figure 9-12 <strong>IP</strong>v6 ESP<br />

Where:<br />

Security Parameters Index (SPI)<br />

Sequence Number Field<br />

Payload<br />

Padding<br />

Integrity Check Value-ICV<br />

Next Header Length<br />

Payload Data Payload Data is a variable-length field containing data<br />

(from the original <strong>IP</strong> packet). It is a m<strong>and</strong>atory field <strong>and</strong> is<br />

an integral number of bytes in length.<br />

Chapter 9. <strong>IP</strong> version 6 349

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!