1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html lang=
"en"><head><title>secure anycast tunneling protocol (SATP)
</title>
3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
4 <meta name=
"description" content=
"secure anycast tunneling protocol (SATP)">
5 <meta name=
"keywords" content=
"satp, Internet-Draft, secure anycast tunneling protocol, anycast, tunnel, secure, protocol">
6 <meta name=
"generator" content=
"xml2rfc v1.32 (http://xml.resource.org/)">
7 <style type='text/css'
><!--
9 font-family: verdana
, charcoal
, helvetica
, arial
, sans-serif
;
10 font-size: small
; color: #000; background-color: #FFF;
13 h1
, h2
, h3
, h4
, h5
, h6
{
14 font-family: helvetica
, monaco
, "MS Sans Serif", arial
, sans-serif
;
15 font-weight: bold
; font-style: normal
;
17 h1
{ color: #900; background-color: transparent
; text-align: right
; }
18 h3
{ color: #333; background-color: transparent
; }
21 font-size: x-small
; text-decoration: none
;
22 width: 30px; height: 30px; padding-top: 2px;
23 text-align: justify
; vertical-align: middle
;
24 background-color: #000;
27 font-family: monaco
, charcoal
, geneva
, "MS Sans Serif", helvetica
, verdana
, sans-serif
;
28 font-weight: bold
; color: #666;
30 td
.RFCbug span
.hotText
{
31 font-family: charcoal
, monaco
, geneva
, "MS Sans Serif", helvetica
, verdana
, sans-serif
;
32 font-weight: normal
; text-align: center
; color: #FFF;
35 table
.TOCbug
{ width: 30px; height: 15px; }
37 text-align: center
; width: 30px; height: 15px;
38 color: #FFF; background-color: #900;
41 font-family: monaco
, charcoal
, geneva
, "MS Sans Serif", helvetica
, sans-serif
;
42 font-weight: bold
; font-size: x-small
; text-decoration: none
;
43 color: #FFF; background-color: transparent
;
47 font-family: arial
, helvetica
, sans-serif
; font-size: x-small
;
48 vertical-align: top
; width: 33%;
49 color: #FFF; background-color: #666;
51 td
.author
{ font-weight: bold
; font-size: x-small
; margin-left: 4em; }
52 td
.author-text
{ font-size: x-small
; }
54 /* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */
56 /* This is the key. */
59 text-decoration: none
;
63 color: #FFF; background-color: #900;
65 a
.info span
{ display: none
; }
66 a
.info:hover span
.info
{
67 /* The span will display just on :hover state. */
71 top: 2em; left: -5em; width: 15em;
72 padding: 2px; border: 1px solid
#333;
73 color: #900; background-color: #EEE;
77 a
{ font-weight: bold
; }
78 a:link
{ color: #900; background-color: transparent
; }
79 a:visited
{ color: #633; background-color: transparent
; }
80 a:active
{ color: #633; background-color: transparent
; }
82 p
{ margin-left: 2em; margin-right: 2em; }
83 p
.copyright
{ font-size: x-small
; }
84 p
.toc
{ font-size: small
; font-weight: bold
; margin-left: 3em; }
85 table
.toc
{ margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top
; }
86 td
.toc
{ font-size: small
; font-weight: bold
; vertical-align: text-top
; }
88 ol
.text
{ margin-left: 2em; margin-right: 2em; }
89 ul
.text
{ margin-left: 2em; margin-right: 2em; }
90 li
{ margin-left: 3em; }
92 /* RFC-2629 <spanx>s and <artwork>s. */
93 em
{ font-style: italic
; }
94 strong
{ font-weight: bold
; }
95 dfn
{ font-weight: bold
; font-style: normal
; }
96 cite
{ font-weight: normal
; font-style: normal
; }
98 tt
, pre
, pre dfn
, pre em
, pre cite
, pre span
{
99 font-family: "Courier New", Courier
, monospace
; font-size: small
;
102 text-align: left
; padding: 4px;
103 color: #000; background-color: #CCC;
105 pre dfn
{ color: #900; }
106 pre em
{ color: #66F; background-color: #FFC; font-weight: normal
; }
107 pre
.key
{ color: #33C; font-weight: bold
; }
108 pre
.id
{ color: #900; }
109 pre
.str
{ color: #000; background-color: #CFF; }
110 pre
.val
{ color: #066; }
111 pre
.rep
{ color: #909; }
112 pre
.oth
{ color: #000; background-color: #FCF; }
113 pre
.err
{ background-color: #FCC; }
115 /* RFC-2629 <texttable>s. */
116 table
.all
, table
.full
, table
.headers
, table
.none
{
117 font-size: small
; text-align: center
; border-width: 2px;
118 vertical-align: top
; border-collapse: collapse
;
120 table
.all
, table
.full
{ border-style: solid
; border-color: black
; }
121 table
.headers
, table
.none
{ border-style: none
; }
123 font-weight: bold
; border-color: black
;
124 border-width: 2px 2px 3px 2px;
126 table
.all th
, table
.full th
{ border-style: solid
; }
127 table
.headers th
{ border-style: none none solid none
; }
128 table
.none th
{ border-style: none
; }
130 border-style: solid
; border-color: #333;
131 border-width: 1px 2px;
133 table
.full td
, table
.headers td
, table
.none td
{ border-style: none
; }
137 width: 80%; border-style: none
; border-width: 0;
138 color: #CCC; background-color: #CCC;
143 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
144 <table summary=
"layout" width=
"66%" border=
"0" cellpadding=
"0" cellspacing=
"0"><tr><td><table summary=
"layout" width=
"100%" border=
"0" cellpadding=
"2" cellspacing=
"1">
145 <tr><td class=
"header">Network Working Group
</td><td class=
"header">O. Gsenger
</td></tr>
146 <tr><td class=
"header">Internet-Draft
</td><td class=
"header">May
6,
2008</td></tr>
147 <tr><td class=
"header">Expires: November
7,
2008</td><td class=
"header"> </td></tr>
148 </table></td></tr></table>
149 <h1><br />secure anycast tunneling protocol (SATP)
<br />draft-gsenger-secure-anycast-tunneling-protocol-
02</h1>
151 <h3>Status of this Memo
</h3>
153 By submitting this Internet-Draft,
154 each author represents that any applicable patent or other IPR claims of which
155 he or she is aware have been or will be disclosed,
156 and any of which he or she becomes aware will be disclosed,
157 in accordance with Section
6 of BCP
79.
</p>
159 Internet-Drafts are working documents of the Internet Engineering
160 Task Force (IETF), its areas, and its working groups.
161 Note that other groups may also distribute working documents as
164 Internet-Drafts are draft documents valid for a maximum of six months
165 and may be updated, replaced, or obsoleted by other documents at any time.
166 It is inappropriate to use Internet-Drafts as reference material or to cite
167 them other than as
“work in progress.
”</p>
169 The list of current Internet-Drafts can be accessed at
170 <a href='http://www.ietf.org/ietf/
1id-abstracts.txt'
>http://www.ietf.org/ietf/
1id-abstracts.txt
</a>.
</p>
172 The list of Internet-Draft Shadow Directories can be accessed at
173 <a href='http://www.ietf.org/shadow.html'
>http://www.ietf.org/shadow.html
</a>.
</p>
175 This Internet-Draft will expire on November
7,
2008.
</p>
177 <h3>Copyright Notice
</h3>
179 Copyright
© The IETF Trust (
2008).
</p>
183 <p>The secure anycast tunneling protocol (SATP) defines a protocol used for communication between any combination of unicast and anycast tunnel endpoints. It allows tunneling of every ETHER TYPE protocol (ethernet, ip ...). SATP directly includes cryptography and message authentication based on the methods used by the
<a class='info' href='#RFC3711'
>Secure Real-time Transport Protocol(SRTP)
<span> (
</span><span class='info'
>Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman,
“The Secure Real-time Transport Protocol (SRTP),
” March
2004.
</span><span>)
</span></a> [
1]. It can be used as an encrypted alternative to
<a class='info' href='#RFC2003'
>IP Encapsulation within IP
<span> (
</span><span class='info'
>Perkins, C.,
“IP Encapsulation within IP,
” October
1996.
</span><span>)
</span></a> [
3] and
<a class='info' href='#RFC2784'
>Generic Routing Encapsulation (GRE)
<span> (
</span><span class='info'
>Farinacci, D., Li, T., Hanks, S., Meyer, D., and P. Traina,
“Generic Routing Encapsulation (GRE),
” March
2000.
</span><span>)
</span></a> [
4]. Both anycast receivers and senders are supported.
185 </p><a name=
"toc"></a><br /><hr />
186 <h3>Table of Contents
</h3>
188 <a href=
"#anchor1">1.
</a>
190 <a href=
"#anchor2">1.1.
</a>
191 Notational Conventions
<br />
192 <a href=
"#anchor3">2.
</a>
193 Motivation and usage scenarios
<br />
194 <a href=
"#anchor4">2.1.
</a>
195 Usage scenarions
<br />
196 <a href=
"#anchor5">2.1.1.
</a>
197 Tunneling from unicast hosts over anycast routers to other unicast hosts
<br />
198 <a href=
"#anchor6">2.1.2.
</a>
199 Tunneling from unicast hosts to anycast networks
<br />
200 <a href=
"#anchor7">2.1.3.
</a>
201 Redundant tunnel connection of
2 networks
<br />
202 <a href=
"#anchor8">2.2.
</a>
204 <a href=
"#anchor9">3.
</a>
205 Using SATP on top of IP
<br />
206 <a href=
"#anchor10">3.1.
</a>
208 <a href=
"#anchor11">3.2.
</a>
210 <a href=
"#anchor12">4.
</a>
211 Protocol specification
<br />
212 <a href=
"#anchor13">4.1.
</a>
214 <a href=
"#anchor14">4.2.
</a>
215 sequence number
<br />
216 <a href=
"#anchor15">4.3.
</a>
218 <a href=
"#anchor16">4.4.
</a>
220 <a href=
"#anchor17">4.5.
</a>
222 <a href=
"#anchor18">4.6.
</a>
224 <a href=
"#anchor19">4.7.
</a>
225 padding (OPTIONAL)
<br />
226 <a href=
"#anchor20">4.8.
</a>
227 padding count (OPTIONAL)
<br />
228 <a href=
"#anchor21">4.9.
</a>
230 <a href=
"#anchor22">4.10.
</a>
231 authentication tag (RECOMMENDED)
<br />
232 <a href=
"#anchor23">4.11.
</a>
234 <a href=
"#anchor24">5.
</a>
235 Security Considerations
<br />
236 <a href=
"#anchor25">5.1.
</a>
237 Replay protection
<br />
238 <a href=
"#anchor26">6.
</a>
239 IANA Considerations
<br />
240 <a href=
"#rfc.references1">7.
</a>
242 <a href=
"#rfc.references1">7.1.
</a>
243 Normative References
<br />
244 <a href=
"#rfc.references2">7.2.
</a>
245 Informational References
<br />
246 <a href=
"#rfc.authors">§</a>
247 Author's Address
<br />
248 <a href=
"#rfc.copyright">§</a>
249 Intellectual Property and Copyright Statements
<br />
253 <a name=
"anchor1"></a><br /><hr />
254 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
255 <a name=
"rfc.section.1"></a><h3>1.
258 <p>SATP is a mixture of a generic encapsulation protocol like
<a class='info' href='#RFC2784'
>GRE
<span> (
</span><span class='info'
>Farinacci, D., Li, T., Hanks, S., Meyer, D., and P. Traina,
“Generic Routing Encapsulation (GRE),
” March
2000.
</span><span>)
</span></a> [
4] and a secure tunneling protocol as
<a class='info' href='#RFC2401'
>IPsec
<span> (
</span><span class='info'
>Kent, S. and R. Atkinson,
“Security Architecture for the Internet Protocol,
” November
1998.
</span><span>)
</span></a> [
5] in tunnel mode. It can be used to build redundant virtual private network (VPN) connections. It supports peer-to-peer tunnels, where tunnel endpoints can be any combination of unicast, multicast or anycast hosts, so it defines a
<a class='info' href='#RFC1546'
>Host Anycast Service
<span> (
</span><span class='info'
>Partridge, C., Mendez, T., and W. Milliken,
“Host Anycasting Service,
” November
1993.
</span><span>)
</span></a> [
6]. Encryption is done per packet, so the protocol is robust against packet loss and routing changes.
259 To reduce header overhead ncryption techniques of
<a class='info' href='#RFC3711'
>SRTP
<span> (
</span><span class='info'
>Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman,
“The Secure Real-time Transport Protocol (SRTP),
” March
2004.
</span><span>)
</span></a> [
1] are being used.
262 <a name=
"anchor2"></a><br /><hr />
263 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
264 <a name=
"rfc.section.1.1"></a><h3>1.1.
265 Notational Conventions
</h3>
267 <p>The keywords
"MUST",
"MUST NOT",
"REQUIRED",
"SHALL",
"SHALL NOT",
"SHOULD",
"SHOULD NOT",
"RECOMMENDED",
"MAY", and
"OPTIONAL" in this document are to be interpreted as described in
<a class='info' href='#RFC2119'
>RFC2119
<span> (
</span><span class='info'
>Bradner, S.,
“Key words for use in RFCs to Indicate Requirement Levels,
” March
1997.
</span><span>)
</span></a> [
2].
269 <a name=
"anchor3"></a><br /><hr />
270 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
271 <a name=
"rfc.section.2"></a><h3>2.
272 Motivation and usage scenarios
</h3>
274 <p>This section gives an overview of possible usage scenarios. Please note that the protocols used in the figures are only examples and that SATP itself does not care about either transport protocols or encapsulated protocols. Routing is not done by SATP and each implemetation MAY choose it's own way of doing this task (e.g. using functions provided by the operating system). SATP is used only to encapsulate and encrypt data.
276 <a name=
"anchor4"></a><br /><hr />
277 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
278 <a name=
"rfc.section.2.1"></a><h3>2.1.
279 Usage scenarions
</h3>
281 <a name=
"anchor5"></a><br /><hr />
282 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
283 <a name=
"rfc.section.2.1.1"></a><h3>2.1.1.
284 Tunneling from unicast hosts over anycast routers to other unicast hosts
</h3>
285 <br /><hr class=
"insert" />
286 <a name=
"tunnel_mode"></a>
288 <p>An example of SATP used to tunnel in a unicast client - anycast server model
289 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
290 --------- router -----------
292 unicast ------+---------- router ------------+------ unicast
294 --------- router -----------
296 unicast | encrypted | anycast | encrypted | unicast
297 tunnel | communication | tunnel | communication | tunnel
298 endpoint | using SATP | endpoint | using SATP | endpoint
299 </pre></div><table border=
"0" cellpadding=
"0" cellspacing=
"2" align=
"center"><tr><td align=
"center"><font face=
"monaco, MS Sans Serif" size=
"1"><b> Figure
1 </b></font><br /></td></tr></table><hr class=
"insert" />
301 <p>In this scenario the payload is encapsuleted into a SATP packet by a unicast host and gets transmitted to one of the anycast routers. After transmisson the packet gets decapsulated by the router. This router makes a routing descision based on the underlying protocol and transmits a new SATP package to one or more unicast hosts depending on this decision.
303 <a name=
"anchor6"></a><br /><hr />
304 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
305 <a name=
"rfc.section.2.1.2"></a><h3>2.1.2.
306 Tunneling from unicast hosts to anycast networks
</h3>
307 <br /><hr class=
"insert" />
308 <a name=
"open_tunnel_mode"></a>
310 <p>An example of SATP used to encrypt data between a unicast host and anycast networks
311 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
312 -------Router -+---- DNS Server
316 unicast -------+----------Router --+--- DNS Server
320 -------Router -+---- DNS Server
324 unicast | encrypted | anycast | plaintext
325 tunnel | communication | tunnel | anycast
326 endpoint | using SATP | endpoint | services
328 </pre></div><table border=
"0" cellpadding=
"0" cellspacing=
"2" align=
"center"><tr><td align=
"center"><font face=
"monaco, MS Sans Serif" size=
"1"><b> Figure
2 </b></font><br /></td></tr></table><hr class=
"insert" />
330 <p>When the unicast hosts wants to transmit data to one of the anycast DNS servers, it encapsulates the data and sends a SATP packet to the anycast address of the routers. The packet arrives at one of the routers, gets decapsulated and is then forwarded to the DNS server. This method can be used to tunnel between clients and networks providing anycast services. It can also be used the other way to virtually locate a unicast service within anycasted networks.
332 <a name=
"anchor7"></a><br /><hr />
333 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
334 <a name=
"rfc.section.2.1.3"></a><h3>2.1.3.
335 Redundant tunnel connection of
2 networks
</h3>
336 <br /><hr class=
"insert" />
337 <a name=
"connect_networks"></a>
339 <p>An example of SATP used to connect
2 networks
340 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
341 Router ----------- ---------------Router
343 Network - Router ------------x Network
345 Router ----------- ---------------Router
347 | packets | packets | packets |
348 plaintext | get | take a | get | plaintext
349 packets | de/encrypted | random | de/encrypted | packets
350 |de/encapsulated| path |de/encapsulated|
352 </pre></div><table border=
"0" cellpadding=
"0" cellspacing=
"2" align=
"center"><tr><td align=
"center"><font face=
"monaco, MS Sans Serif" size=
"1"><b> Figure
3 </b></font><br /></td></tr></table><hr class=
"insert" />
354 <p>Network A has multiple routers which act as gateway/tunnel endpoints to another network B. This way a redundant encrypted tunnel connection between the two networks is built up. All tunnel endpoints of network A share the same anycast address and all tunnel endpoints of network B share another anycast address. When a packet from network A is transmitted to network B, it first arrives on one of network A's border routers. Which router is used is determined by network A's internal routing. This router encapsulates the package and sends it to the anycast address of network B's routers. After arrival the SATP packet gets decapsulated and routed to its destination within network B.
356 <a name=
"anchor8"></a><br /><hr />
357 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
358 <a name=
"rfc.section.2.2"></a><h3>2.2.
361 <p>SATP does not depend on which lower layer protocol is used. This section only gives an example of how packets could look like.
363 </p><br /><hr class=
"insert" />
364 <a name=
"transport_udp"></a>
366 <p>Examples of SATP used with different lower layer and payload protocols
367 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
368 +------+-----+-------------------------------+
369 | | | +----------------+-----+ |
370 | IPv6 | UDP | SATP | Ethernet
802.3 | ... | |
371 | | | +----------------+-----+ |
372 +------+-----+-------------------------------+
374 Tunneling of Ethernet over UDP/IPv6
376 +------+-----+---------------------------+
377 | | | +------+-----+-----+ |
378 | IPv4 | UDP | SATP | IPv6 | UDP | RTP | |
379 | | | +------+-----+-----+ |
380 +------+-----+---------------------------+
382 Tunneling of IPv6 over UDP/IPv4 with RTP payload
384 +------+-------------------------------+
385 | | +----------------+-----+ |
386 | IPv6 | SATP | Ethernet
802.3 | ... | |
387 | | +----------------+-----+ |
388 +------+-------------------------------+
390 Tunneling of Ethernet over IPv6
392 +------+---------------------------+
393 | | +------+-----+-----+ |
394 | IPv4 | SATP | IPv6 | UDP | RTP | |
395 | | +------+-----+-----+ |
396 +------+---------------------------+
398 Tunneling of IPv6 over IPv4 with RTP payload
399 </pre></div><table border=
"0" cellpadding=
"0" cellspacing=
"2" align=
"center"><tr><td align=
"center"><font face=
"monaco, MS Sans Serif" size=
"1"><b> Figure
4 </b></font><br /></td></tr></table><hr class=
"insert" />
401 <a name=
"anchor9"></a><br /><hr />
402 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
403 <a name=
"rfc.section.3"></a><h3>3.
404 Using SATP on top of IP
</h3>
406 <a name=
"anchor10"></a><br /><hr />
407 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
408 <a name=
"rfc.section.3.1"></a><h3>3.1.
412 The only way of fully supporting fragmentation would be to synchronise fragments between all anycast servers. This is considered to be too much overhead, so there are two non-perfect solutions for these problems. Either fragmentation HAS TO be disabled or if not all fragments arrive at the same server the IP datagramm HAS TO be discarded. As routing changes are not expected to occur very frequently, the encapsulated protocol can do a retransmission and all fragments will arrive at the new server.
415 <p>If the payload type is IP and the IP headers' Don't Fragment (DF) bit is set, then the DF bit of the outer IP header HAS TO be set as well.
417 <a name=
"anchor11"></a><br /><hr />
418 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
419 <a name=
"rfc.section.3.2"></a><h3>3.2.
422 <p>ICMP messages MUST be relayed according to
<a class='info' href='#RFC2003'
>rfc2003 section
4<span> (
</span><span class='info'
>Perkins, C.,
“IP Encapsulation within IP,
” October
1996.
</span><span>)
</span></a> [
3]. This is needed for path MTU detection.
424 <a name=
"anchor12"></a><br /><hr />
425 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
426 <a name=
"rfc.section.4"></a><h3>4.
427 Protocol specification
</h3>
429 <a name=
"anchor13"></a><br /><hr />
430 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
431 <a name=
"rfc.section.4.1"></a><h3>4.1.
433 <br /><hr class=
"insert" />
434 <a name=
"prot_header_table"></a>
437 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
439 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
440 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
441 | sequence number | |
442 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
443 | sender ID | MUX | |
444 +#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ |
445 | | payload type | | |
446 | +-------------------------------+ | |
447 | | .... payload ... | |
448 | | +-------------------------------+ |
449 | | | padding (OPT) | pad count(OPT)| |
450 +#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+-+
451 | ~ MKI (OPTIONAL) ~ |
452 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
453 | : authentication tag (RECOMMENDED) : |
454 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
456 +- Encrypted Portion Authenticated Portion ---+
457 </pre></div><table border=
"0" cellpadding=
"0" cellspacing=
"2" align=
"center"><tr><td align=
"center"><font face=
"monaco, MS Sans Serif" size=
"1"><b> Figure
5 </b></font><br /></td></tr></table><hr class=
"insert" />
461 <a name=
"anchor14"></a><br /><hr />
462 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
463 <a name=
"rfc.section.4.2"></a><h3>4.2.
466 <p>The sequence number is a
32 bit unsigned integer in network byte order. It starts with a random value and is increased by
1 for every sent packet. After the maximum value it starts over from
0. This overrun causes the ROC to be increased.
468 <a name=
"anchor15"></a><br /><hr />
469 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
470 <a name=
"rfc.section.4.3"></a><h3>4.3.
473 <p>The sender ID is a
16 bit unsigned integer. It HAS TO be unique for every sender sharing the same anycast address.
475 <a name=
"anchor16"></a><br /><hr />
476 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
477 <a name=
"rfc.section.4.4"></a><h3>4.4.
480 <p>The MUX (multiplex) field is a
16 bit unsigned integer. It is used to distinguish multiple tunnel connections.
482 <a name=
"anchor17"></a><br /><hr />
483 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
484 <a name=
"rfc.section.4.5"></a><h3>4.5.
487 <p>The payload type field defines the payload protocol. ETHER TYPE protocol numbers are used.
<a href='http://www.iana.org/assignments/ethernet-numbers'
>See IANA assigned ethernet numbers
</a> . The values
0000-
05DC are reserverd and MUST NOT be used.
488 <br /><hr class=
"insert" />
489 <a name=
"prot_type_table"></a>
491 <p>Some examples for protocol numbers
492 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
497 0800 Internet IP (IPv4)
498 6558 transparent ethernet bridging
500 </pre></div><table border=
"0" cellpadding=
"0" cellspacing=
"2" align=
"center"><tr><td align=
"center"><font face=
"monaco, MS Sans Serif" size=
"1"><b> Figure
6 </b></font><br /></td></tr></table><hr class=
"insert" />
504 <a name=
"anchor18"></a><br /><hr />
505 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
506 <a name=
"rfc.section.4.6"></a><h3>4.6.
509 <p>A packet of type payload type (e.g. an IP packet).
511 <a name=
"anchor19"></a><br /><hr />
512 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
513 <a name=
"rfc.section.4.7"></a><h3>4.7.
514 padding (OPTIONAL)
</h3>
516 <p>Padding of max
255 octets.
517 None of the pre-defined encryption transforms uses any padding; for
518 these, the plaintext and encrypted payload sizes match exactly. Transforms are based on transforms of the SRTP protocol and therefore might use the RTP padding format, so a RTP-like padding is supported. If the padding count field is present, the padding count field MUST be set to the padding length.
520 <a name=
"anchor20"></a><br /><hr />
521 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
522 <a name=
"rfc.section.4.8"></a><h3>4.8.
523 padding count (OPTIONAL)
</h3>
525 <p>The number of octets of the padding field. This field is optional. Its presence is signaled by the key management and not by this protocol. If this field isn't present, the padding field MUST NOT be present as well.
527 <a name=
"anchor21"></a><br /><hr />
528 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
529 <a name=
"rfc.section.4.9"></a><h3>4.9.
532 <p>The MKI (Master Key Identifier) is OPTIONAL and of configurable length. See
<a class='info' href='#RFC3711'
>SRTP Section
3.1<span> (
</span><span class='info'
>Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman,
“The Secure Real-time Transport Protocol (SRTP),
” March
2004.
</span><span>)
</span></a> [
1] for details.
534 <a name=
"anchor22"></a><br /><hr />
535 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
536 <a name=
"rfc.section.4.10"></a><h3>4.10.
537 authentication tag (RECOMMENDED)
</h3>
539 <p>The authentication tag is RECOMMENDED and of configurable length. It contains a cryptographic checksum of the sender ID, sequence number and the encrypted portion, but not of the MKI. On transmitter side encryption HAS TO be done before calculating the authentication tag. A receiver HAS TO calculate the authentication tag before decrypting the encrypted portion.
541 <a name=
"anchor23"></a><br /><hr />
542 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
543 <a name=
"rfc.section.4.11"></a><h3>4.11.
546 <p>Encryption is done in the same way as for
<a class='info' href='#RFC3711'
>SRTP
<span> (
</span><span class='info'
>Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman,
“The Secure Real-time Transport Protocol (SRTP),
” March
2004.
</span><span>)
</span></a> [
1]. This section will only discuss some small changes that HAVE TO be made. Please read
<a class='info' href='#RFC3711'
>SRTP RFC3711 section
3-
9<span> (
</span><span class='info'
>Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman,
“The Secure Real-time Transport Protocol (SRTP),
” March
2004.
</span><span>)
</span></a> [
1] for details.
548 <p>The least significant bits of SSRC are replaced by the sender ID and the most significant bits are replaced by the MUX. For the SRTP SEQ the
16 least significant bits of the SATP sequence number are used and the
16 most significant bits of the sequence number replace the
16 least significant bits of the SRTP ROC.
549 </p><br /><hr class=
"insert" />
550 <a name=
"srtp_vs_satp"></a>
552 <p>Difference between SRTP and SATP
553 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
555 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
556 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
557 | SATP sequence number |
558 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
560 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
561 | SRTP ROC least significant | SRTP SEQ |
562 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
566 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
567 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
568 | SATP MUX | SATP sender ID |
569 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
571 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
573 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
574 </pre></div><table border=
"0" cellpadding=
"0" cellspacing=
"2" align=
"center"><tr><td align=
"center"><font face=
"monaco, MS Sans Serif" size=
"1"><b> Figure
7 </b></font><br /></td></tr></table><hr class=
"insert" />
576 <a name=
"anchor24"></a><br /><hr />
577 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
578 <a name=
"rfc.section.5"></a><h3>5.
579 Security Considerations
</h3>
581 <p>As SATP uses the same encryption techniques as
<a class='info' href='#RFC3711'
>SRTP
<span> (
</span><span class='info'
>Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman,
“The Secure Real-time Transport Protocol (SRTP),
” March
2004.
</span><span>)
</span></a> [
1], it shares the same security issues. This section will only discuss some small changes. Please read
<a class='info' href='#RFC3711'
>SRTP RFC3711 section
9<span> (
</span><span class='info'
>Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman,
“The Secure Real-time Transport Protocol (SRTP),
” March
2004.
</span><span>)
</span></a> [
1] for details.
583 <a name=
"anchor25"></a><br /><hr />
584 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
585 <a name=
"rfc.section.5.1"></a><h3>5.1.
586 Replay protection
</h3>
588 <p>Replay protection is done by a replay list. Every anycast receiver has its own replay list, which SHOULDN'T be syncronised because of massive overhead. This leads to an additional possible attack. An attacker is able to replay a captured packet once to every anycast receiver. This attack is considered be very unlikely because multiple attack hosts in different locations are needed to reach seperate anycast receivers and the number of replays is limited to count of receivers -
1. Such replays might also happen because of routing problems, so a payload protocol HAS TO be robust against a small number of duplicated packages. The window size and position HAS TO be syncronised between multiple anycast receivers to limit this attack.
590 <a name=
"anchor26"></a><br /><hr />
591 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
592 <a name=
"rfc.section.6"></a><h3>6.
593 IANA Considerations
</h3>
595 <p>The protocol is intended to be used on top of IP or on top of UDP (to be compatible with NAT routers), so UDP and IP protocol numbers have to be assiged by IANA.
597 <a name=
"rfc.references"></a><br /><hr />
598 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
599 <a name=
"rfc.section.7"></a><h3>7.
602 <a name=
"rfc.references1"></a><br /><hr />
603 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
604 <h3>7.1.
Normative References
</h3>
605 <table width=
"99%" border=
"0">
606 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC3711">[
1]
</a></td>
607 <td class=
"author-text">Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K. Norrman,
“<a href=
"ftp://ftp.isi.edu/in-notes/rfc3711.txt">The Secure Real-time Transport Protocol (SRTP)
</a>,
” RFC
3711, March
2004.
</td></tr>
608 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC2119">[
2]
</a></td>
609 <td class=
"author-text"><a href=
"mailto:sob@harvard.edu">Bradner, S.
</a>,
“<a href=
"ftp://ftp.isi.edu/in-notes/rfc2119.txt">Key words for use in RFCs to Indicate Requirement Levels
</a>,
” BCP
14, RFC
2119, March
1997 (
<a href=
"ftp://ftp.isi.edu/in-notes/rfc2119.txt">TXT
</a>,
<a href=
"http://xml.resource.org/public/rfc/html/rfc2119.html">HTML
</a>,
<a href=
"http://xml.resource.org/public/rfc/xml/rfc2119.xml">XML
</a>).
</td></tr>
610 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC2003">[
3]
</a></td>
611 <td class=
"author-text"><a href=
"mailto:perk@watson.ibm.com">Perkins, C.
</a>,
“<a href=
"ftp://ftp.isi.edu/in-notes/rfc2003.txt">IP Encapsulation within IP
</a>,
” RFC
2003, October
1996 (
<a href=
"ftp://ftp.isi.edu/in-notes/rfc2003.txt">TXT
</a>,
<a href=
"http://xml.resource.org/public/rfc/html/rfc2003.html">HTML
</a>,
<a href=
"http://xml.resource.org/public/rfc/xml/rfc2003.xml">XML
</a>).
</td></tr>
614 <a name=
"rfc.references2"></a><br /><hr />
615 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
616 <h3>7.2.
Informational References
</h3>
617 <table width=
"99%" border=
"0">
618 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC2784">[
4]
</a></td>
619 <td class=
"author-text"><a href=
"mailto:dino@procket.com">Farinacci, D.
</a>,
<a href=
"mailto:tony1@home.net">Li, T.
</a>,
<a href=
"mailto:stan_hanks@enron.net">Hanks, S.
</a>,
<a href=
"mailto:dmm@cisco.com">Meyer, D.
</a>, and
<a href=
"mailto:pst@juniper.net">P. Traina
</a>,
“<a href=
"ftp://ftp.isi.edu/in-notes/rfc2784.txt">Generic Routing Encapsulation (GRE)
</a>,
” RFC
2784, March
2000.
</td></tr>
620 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC2401">[
5]
</a></td>
621 <td class=
"author-text"><a href=
"mailto:kent@bbn.com">Kent, S.
</a> and
<a href=
"mailto:rja@corp.home.net">R. Atkinson
</a>,
“<a href=
"ftp://ftp.isi.edu/in-notes/rfc2401.txt">Security Architecture for the Internet Protocol
</a>,
” RFC
2401, November
1998 (
<a href=
"ftp://ftp.isi.edu/in-notes/rfc2401.txt">TXT
</a>,
<a href=
"http://xml.resource.org/public/rfc/html/rfc2401.html">HTML
</a>,
<a href=
"http://xml.resource.org/public/rfc/xml/rfc2401.xml">XML
</a>).
</td></tr>
622 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC1546">[
6]
</a></td>
623 <td class=
"author-text"><a href=
"mailto:craig@bbn.com">Partridge, C.
</a>,
<a href=
"mailto:tmendez@bbn.com">Mendez, T.
</a>, and
<a href=
"mailto:milliken@bbn.com">W. Milliken
</a>,
“<a href=
"ftp://ftp.isi.edu/in-notes/rfc1546.txt">Host Anycasting Service
</a>,
” RFC
1546, November
1993.
</td></tr>
626 <a name=
"rfc.authors"></a><br /><hr />
627 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
628 <h3>Author's Address
</h3>
629 <table width=
"99%" border=
"0" cellpadding=
"0" cellspacing=
"0">
630 <tr><td class=
"author-text"> </td>
631 <td class=
"author-text">Othmar Gsenger
</td></tr>
632 <tr><td class=
"author-text"> </td>
633 <td class=
"author-text">Puerstingerstr
32</td></tr>
634 <tr><td class=
"author-text"> </td>
635 <td class=
"author-text">Saalfelden
5760</td></tr>
636 <tr><td class=
"author-text"> </td>
637 <td class=
"author-text">AT
</td></tr>
638 <tr><td class=
"author" align=
"right">Phone:
</td>
639 <td class=
"author-text"></td></tr>
640 <tr><td class=
"author" align=
"right">Email:
</td>
641 <td class=
"author-text"><a href=
"mailto:satp@gsenger.com">satp@gsenger.com
</a></td></tr>
642 <tr><td class=
"author" align=
"right">URI:
</td>
643 <td class=
"author-text"><a href=
"http://www.gsenger.com/satp/">http://www.gsenger.com/satp/
</a></td></tr>
645 <a name=
"rfc.copyright"></a><br /><hr />
646 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
647 <h3>Full Copyright Statement
</h3>
648 <p class='copyright'
>
649 Copyright
© The IETF Trust (
2008).
</p>
650 <p class='copyright'
>
651 This document is subject to the rights,
652 licenses and restrictions contained in BCP
78,
653 and except as set forth therein,
654 the authors retain all their rights.
</p>
655 <p class='copyright'
>
656 This document and the information contained herein are provided
657 on an
“AS IS
” basis and THE CONTRIBUTOR,
658 THE ORGANIZATION HE/SHE REPRESENTS
659 OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST
660 AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES,
661 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT
662 THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY
663 IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
665 <h3>Intellectual Property
</h3>
666 <p class='copyright'
>
667 The IETF takes no position regarding the validity or scope of any
668 Intellectual Property Rights or other rights that might be claimed
669 to pertain to the implementation or use of the technology
670 described in this document or the extent to which any license
671 under such rights might or might not be available; nor does it
672 represent that it has made any independent effort to identify any
674 Information on the procedures with respect to
675 rights in RFC documents can be found in BCP
78 and BCP
79.
</p>
676 <p class='copyright'
>
677 Copies of IPR disclosures made to the IETF Secretariat and any
678 assurances of licenses to be made available,
679 or the result of an attempt made to obtain a general license or
680 permission for the use of such proprietary rights by implementers or
681 users of this specification can be obtained from the IETF on-line IPR
682 repository at
<a href='http://www.ietf.org/ipr'
>http://www.ietf.org/ipr
</a>.
</p>
683 <p class='copyright'
>
684 The IETF invites any interested party to bring to its attention
686 patents or patent applications,
688 proprietary rights that may cover technology that may be required
689 to implement this standard.
690 Please address the information to the IETF at
<a href='mailto:ietf-ipr@ietf.org'
>ietf-ipr@ietf.org
</a>.
</p>
691 <h3>Acknowledgment
</h3>
692 <p class='copyright'
>
693 Funding for the RFC Editor function is provided by
694 the IETF Administrative Support Activity (IASA).
</p>