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.

AH in transport mode<br />

In this mode, the authentication header is inserted immediately after the <strong>IP</strong><br />

header, as shown in Figure 22-25. If the datagram already has <strong>IP</strong>Sec headers,<br />

the AH is inserted before them.<br />

<strong>IP</strong> Hdr Payload<br />

<strong>IP</strong> Hdr AH Payload<br />

Figure 22-25 Authentication Header in transport mode<br />

Transport mode is used by hosts, not by gateways. Gateways are not required to<br />

support transport mode.<br />

The advantage of transport mode is fewer processing costs. The disadvantage is<br />

that mutable fields are not authenticated.<br />

AH in tunnel mode<br />

With this mode, the tunneling concept is applied, a new <strong>IP</strong> datagram is<br />

constructed <strong>and</strong> the original <strong>IP</strong> datagram is made the payload of it. AH in<br />

transport mode is applied to the resulting datagram. See Figure 22-26 for an<br />

illustration.<br />

Ext. Hdr(s)<br />

<strong>IP</strong> Hdr hop, dest*,<br />

routing, frag<br />

Figure 22-26 Authentication Header in tunnel mode<br />

Tunnel mode is used whenever either end of a Security Association is a<br />

gateway. Therefore, between two firewalls, tunnel mode is always used.<br />

816 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong><br />

Authenticated<br />

(except mutable fields)<br />

AH<br />

Original <strong>IP</strong> datagram<br />

Dest<br />

options*<br />

Authenticated<br />

(except mutable fields)<br />

Datagram with AH<br />

in transport mode<br />

Payload

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

Saved successfully!

Ooh no, something went wrong!