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">April
27,
2007</td></tr>
147 <tr><td class=
"header">Expires: October
29,
2007</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-
00</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 October
29,
2007.
</p>
177 <h3>Copyright Notice
</h3>
179 Copyright
© The IETF Trust (
2007).
</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 (e.g. ethernet, ip, arp ...). SATP directly includes cryptography and message authentication based on the methodes used by SRTP. It is intended to deliver a generic, scaleable and secure solution for tunneling and relaying of packets of any protocol.
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>
216 <a href=
"#anchor15">4.3.
</a>
217 sequence number
<br />
218 <a href=
"#anchor16">4.4.
</a>
220 <a href=
"#anchor17">4.5.
</a>
221 padding (OPTIONAL)
<br />
222 <a href=
"#anchor18">4.6.
</a>
224 <a href=
"#anchor19">4.7.
</a>
225 payload type field
<br />
226 <a href=
"#anchor20">4.7.1.
</a>
228 <a href=
"#anchor21">4.7.2.
</a>
229 authentication tag
<br />
230 <a href=
"#anchor22">4.8.
</a>
232 <a href=
"#anchor23">5.
</a>
233 Security Considerations
<br />
234 <a href=
"#anchor24">5.1.
</a>
235 Replay protection
<br />
236 <a href=
"#anchor25">6.
</a>
237 IANA Considerations
<br />
238 <a href=
"#rfc.references1">7.
</a>
240 <a href=
"#rfc.references1">7.1.
</a>
241 Normative References
<br />
242 <a href=
"#rfc.references2">7.2.
</a>
243 Informational References
<br />
244 <a href=
"#rfc.authors">§</a>
245 Author's Address
<br />
246 <a href=
"#rfc.copyright">§</a>
247 Intellectual Property and Copyright Statements
<br />
251 <a name=
"anchor1"></a><br /><hr />
252 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
253 <a name=
"rfc.section.1"></a><h3>1.
256 <p>SATP is somehow 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. To save some header overhead it uses the encryption technices 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]. 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]
258 <a name=
"anchor2"></a><br /><hr />
259 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
260 <a name=
"rfc.section.1.1"></a><h3>1.1.
261 Notational Conventions
</h3>
263 <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].
265 <a name=
"anchor3"></a><br /><hr />
266 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
267 <a name=
"rfc.section.2"></a><h3>2.
268 Motivation and usage scenarios
</h3>
270 <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.
272 <a name=
"anchor4"></a><br /><hr />
273 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
274 <a name=
"rfc.section.2.1"></a><h3>2.1.
275 Usage scenarions
</h3>
277 <a name=
"anchor5"></a><br /><hr />
278 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
279 <a name=
"rfc.section.2.1.1"></a><h3>2.1.1.
280 Tunneling from unicast hosts over anycast routers to other unicast hosts
</h3>
281 <br /><hr class=
"insert" />
282 <a name=
"tunnel_mode"></a>
284 <p>An example of SATP used to tunnel in a unicast client - anycast server model
285 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
286 --------- router -----------
288 unicast ------+---------- router ------------+------ unicast
290 --------- router -----------
292 unicast | encrypted | anycast | encrypted | unicast
293 tunnel | communication | tunnel | communication | tunnel
294 endpoint | using SATP | endpoint | using SATP | endpoint
295 </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" />
297 <p>In this scenario the payload gets encapsuleted into a SATP packet by a unicast host and gets transmitted to one of the anycast routers. It than 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 the routing descition.
299 <a name=
"anchor6"></a><br /><hr />
300 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
301 <a name=
"rfc.section.2.1.2"></a><h3>2.1.2.
302 Tunneling from unicast hosts to anycast networks
</h3>
303 <br /><hr class=
"insert" />
304 <a name=
"open_tunnel_mode"></a>
306 <p>An example of SATP used to encrypt data between a unicast host and anycast networks
307 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
308 -------Router -+---- DNS Server
312 unicast -------+----------Router --+--- DNS Server
316 -------Router -+---- DNS Server
320 unicast | encrypted | anycast | plaintext
321 tunnel | communication | tunnel | anycast
322 endpoint | using SATP | endpoint | services
324 </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" />
326 <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 routed to the DNS server. This method can be used to tunnel between a clients and networks providing anycast services. It can also be used the other way to virtually locate a unicast service within anycasted networks.
328 <a name=
"anchor7"></a><br /><hr />
329 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
330 <a name=
"rfc.section.2.1.3"></a><h3>2.1.3.
331 Redundant tunnel connection of
2 networks
</h3>
332 <br /><hr class=
"insert" />
333 <a name=
"connect_networks"></a>
335 <p>An example of SATP used to connect
2 networks
336 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
337 Router ----------- ---------------Router
339 Network - Router ------------x Network
341 Router ----------- ---------------Router
343 | packets | packets | packets |
344 plaintext | get | take a | get | plaintext
345 packets | de/encrypted | random | de/encrypted | packets
346 |de/encapsulated| path |de/encapsulated|
348 </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" />
350 <p>Network A has multiple routers, that act as gateway/tunnel endpoints to another network B. This is done to build a redundant encrypted tunnel connection between the two networks. 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 gets 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 the network B routers. The SATP packet arrives at one of network B's routers and gets decapsulated and routed to it's destination within network B.
352 <a name=
"anchor8"></a><br /><hr />
353 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
354 <a name=
"rfc.section.2.2"></a><h3>2.2.
357 <p>SATP does not depend on which lower layer protocols is used, but this section gives an example of how packets could look like.
359 </p><br /><hr class=
"insert" />
360 <a name=
"transport_udp"></a>
362 <p>Examples of SATP used with different lower layer and payload protocols
363 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
364 +------+-----+-------------------------------+
365 | | | + ---------------+------ |
366 | IPv6 | UDP | SATP | Ethernet
802.3 | ... | |
367 | | | +----------------+-----+ |
368 +------+-----+-------------------------------+
370 Tunneling of Ethernet over UDP/IPv6
372 +------+-----+---------------------------+
373 | | | +------+-----+-----+ |
374 | IPv4 | UDP | SATP | IPv6 | UDP | RTP | |
375 | | | +------+-----+-----+ |
376 +------+-----+---------------------------+
378 Tunneling of IPv6 over UDP/IPv4 with RTP payload
380 +------+-------------------------------+
381 | | + ---------------+------ |
382 | IPv6 | SATP | Ethernet
802.3 | ... | |
383 | | +----------------+-----+ |
384 +------+-------------------------------+
386 Tunneling of Ethernet over IPv6
388 +------+---------------------------+
389 | | +------+-----+-----+ |
390 | IPv4 | SATP | IPv6 | UDP | RTP | |
391 | | +------+-----+-----+ |
392 +------+---------------------------+
394 Tunneling of IPv6 over IPv4 with RTP payload
395 </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" />
397 <a name=
"anchor9"></a><br /><hr />
398 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
399 <a name=
"rfc.section.3"></a><h3>3.
400 Using SATP on top of IP
</h3>
402 <a name=
"anchor10"></a><br /><hr />
403 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
404 <a name=
"rfc.section.3.1"></a><h3>3.1.
408 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 occure very frequently, the encapsulated protocol can do a retransmission and all fragments will arrive at the new server.
411 <p>If the payload ip headers's Don't Fragment (DF) bit is set, than the DF bit of the outer ip header HAS TO be set as well.
413 <a name=
"anchor11"></a><br /><hr />
414 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
415 <a name=
"rfc.section.3.2"></a><h3>3.2.
418 <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.
420 <a name=
"anchor12"></a><br /><hr />
421 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
422 <a name=
"rfc.section.4"></a><h3>4.
423 Protocol specification
</h3>
425 <a name=
"anchor13"></a><br /><hr />
426 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
427 <a name=
"rfc.section.4.1"></a><h3>4.1.
429 <br /><hr class=
"insert" />
430 <a name=
"prot_header_table"></a>
433 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
435 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
436 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
437 | sequence number | |
438 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ |
440 +#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+ + |
441 | | .... payload ... | |
442 | |-------------------------------+-------------------------------+ |
443 | | padding (OPT) | pad count(OPT)| payload type | |
444 +#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+-+
445 | ~ MKI (OPTIONAL) ~ |
446 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
447 | : authentication tag (RECOMMENDED) : |
448 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
450 +- Encrypted Portion Authenticated Portion ---+
451 </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" />
455 <a name=
"anchor14"></a><br /><hr />
456 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
457 <a name=
"rfc.section.4.2"></a><h3>4.2.
460 <p>The sender ID is a
16 bit unsigned integer. It HAS TO be unique for every sender sharing the same anycast address
462 <a name=
"anchor15"></a><br /><hr />
463 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
464 <a name=
"rfc.section.4.3"></a><h3>4.3.
467 <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.
469 <a name=
"anchor16"></a><br /><hr />
470 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
471 <a name=
"rfc.section.4.4"></a><h3>4.4.
474 <p>A packet of the type payload type (e.g. an IP packet).
476 <a name=
"anchor17"></a><br /><hr />
477 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
478 <a name=
"rfc.section.4.5"></a><h3>4.5.
479 padding (OPTIONAL)
</h3>
481 <p>Padding of max
255 octets.
482 None of the pre-defined encryption transforms uses any padding; for
483 these, the plaintext and encrypted payload sizes match exactly. Transforms are based on transforms of the SRTP protocol and these transforms might use the RTP padding format, so a RTP like padding is supported. If padding field is present, than the padding count field MUST be set to the padding lenght.
485 <a name=
"anchor18"></a><br /><hr />
486 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
487 <a name=
"rfc.section.4.6"></a><h3>4.6.
490 <p>The number of octets of the padding field. This field is optional. It's 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.
492 <a name=
"anchor19"></a><br /><hr />
493 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
494 <a name=
"rfc.section.4.7"></a><h3>4.7.
495 payload type field
</h3>
497 <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.
498 <br /><hr class=
"insert" />
499 <a name=
"prot_type_table"></a>
501 <p>Some examples for protocol types
502 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
507 0800 Internet IP (IPv4)
508 6558 transparent ethernet bridging
510 </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" />
513 <a name=
"anchor20"></a><br /><hr />
514 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
515 <a name=
"rfc.section.4.7.1"></a><h3>4.7.1.
518 <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
521 <a name=
"anchor21"></a><br /><hr />
522 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
523 <a name=
"rfc.section.4.7.2"></a><h3>4.7.2.
524 authentication tag
</h3>
526 <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 sender side encryption HAS TO be done before calculating the authentication tag. A receiver HAS TO calculate the authentication tag before decrypting the encrypted portion.
530 <a name=
"anchor22"></a><br /><hr />
531 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
532 <a name=
"rfc.section.4.8"></a><h3>4.8.
535 <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.
537 <p>The least significant bits of SSRC are replaced by the sender ID and the rest is filled with zeros. 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.
538 </p><br /><hr class=
"insert" />
539 <a name=
"srtp_vs_satp"></a>
541 <p>Difference between SRTP and SATP
542 </p><div style='display: table; width:
0; margin-left:
3em; margin-right: auto'
><pre>
544 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
545 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
546 | SATP sequence number |
547 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
549 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
550 | SRTP ROC least significant | SRTP SEQ |
551 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
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 |
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0| SATP sender ID |
558 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
560 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
562 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
563 </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" />
565 <a name=
"anchor23"></a><br /><hr />
566 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
567 <a name=
"rfc.section.5"></a><h3>5.
568 Security Considerations
</h3>
570 <p>As SATP uses the same encrytion technics 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.
572 <a name=
"anchor24"></a><br /><hr />
573 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
574 <a name=
"rfc.section.5.1"></a><h3>5.1.
575 Replay protection
</h3>
577 <p>Replay protection is done by a replay list. Every anycast receiver has it's own replay list, which SHOULDN'T be syncronised, because of massive overhead. This leads to an additional possible attack. A attacker is able to replay a captured packet once to every anycast reciever. This attack is considered of be very unlikely, because multiple attack hosts in different loactions are needed to reach the seperate anycast receivers and the number of replays is limited to the 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 multible anycast receivers to limit this attack.
579 <a name=
"anchor25"></a><br /><hr />
580 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
581 <a name=
"rfc.section.6"></a><h3>6.
582 IANA Considerations
</h3>
584 <p>To use the protocol on top of UDP and IP protocol numberes have to be assiged by IANA.
586 <a name=
"rfc.references"></a><br /><hr />
587 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
588 <a name=
"rfc.section.7"></a><h3>7.
591 <a name=
"rfc.references1"></a><br /><hr />
592 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
593 <h3>7.1.
Normative References
</h3>
594 <table width=
"99%" border=
"0">
595 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC3711">[
1]
</a></td>
596 <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>
597 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC2119">[
2]
</a></td>
598 <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>
599 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC2003">[
3]
</a></td>
600 <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>
603 <a name=
"rfc.references2"></a><br /><hr />
604 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
605 <h3>7.2.
Informational References
</h3>
606 <table width=
"99%" border=
"0">
607 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC2784">[
4]
</a></td>
608 <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>
609 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC2401">[
5]
</a></td>
610 <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>
611 <tr><td class=
"author-text" valign=
"top"><a name=
"RFC1546">[
6]
</a></td>
612 <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>
615 <a name=
"rfc.authors"></a><br /><hr />
616 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
617 <h3>Author's Address
</h3>
618 <table width=
"99%" border=
"0" cellpadding=
"0" cellspacing=
"0">
619 <tr><td class=
"author-text"> </td>
620 <td class=
"author-text">Othmar Gsenger
</td></tr>
621 <tr><td class=
"author-text"> </td>
622 <td class=
"author-text">Puerstingerstr
32</td></tr>
623 <tr><td class=
"author-text"> </td>
624 <td class=
"author-text">Saalfelden
5760</td></tr>
625 <tr><td class=
"author-text"> </td>
626 <td class=
"author-text">AT
</td></tr>
627 <tr><td class=
"author" align=
"right">Phone:
</td>
628 <td class=
"author-text"></td></tr>
629 <tr><td class=
"author" align=
"right">Email:
</td>
630 <td class=
"author-text"><a href=
"mailto:satp@gsenger.com">satp@gsenger.com
</a></td></tr>
631 <tr><td class=
"author" align=
"right">URI:
</td>
632 <td class=
"author-text"><a href=
"http://www.gsenger.com/satp/">http://www.gsenger.com/satp/
</a></td></tr>
634 <a name=
"rfc.copyright"></a><br /><hr />
635 <table summary=
"layout" cellpadding=
"0" cellspacing=
"2" class=
"TOCbug" align=
"right"><tr><td class=
"TOCbug"><a href=
"#toc"> TOC
</a></td></tr></table>
636 <h3>Full Copyright Statement
</h3>
637 <p class='copyright'
>
638 Copyright
© The IETF Trust (
2007).
</p>
639 <p class='copyright'
>
640 This document is subject to the rights,
641 licenses and restrictions contained in BCP
78,
642 and except as set forth therein,
643 the authors retain all their rights.
</p>
644 <p class='copyright'
>
645 This document and the information contained herein are provided
646 on an
“AS IS
” basis and THE CONTRIBUTOR,
647 THE ORGANIZATION HE/SHE REPRESENTS
648 OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST
649 AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES,
650 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT
651 THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY
652 IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
654 <h3>Intellectual Property
</h3>
655 <p class='copyright'
>
656 The IETF takes no position regarding the validity or scope of any
657 Intellectual Property Rights or other rights that might be claimed
658 to pertain to the implementation or use of the technology
659 described in this document or the extent to which any license
660 under such rights might or might not be available; nor does it
661 represent that it has made any independent effort to identify any
663 Information on the procedures with respect to
664 rights in RFC documents can be found in BCP
78 and BCP
79.
</p>
665 <p class='copyright'
>
666 Copies of IPR disclosures made to the IETF Secretariat and any
667 assurances of licenses to be made available,
668 or the result of an attempt made to obtain a general license or
669 permission for the use of such proprietary rights by implementers or
670 users of this specification can be obtained from the IETF on-line IPR
671 repository at
<a href='http://www.ietf.org/ipr'
>http://www.ietf.org/ipr
</a>.
</p>
672 <p class='copyright'
>
673 The IETF invites any interested party to bring to its attention
675 patents or patent applications,
677 proprietary rights that may cover technology that may be required
678 to implement this standard.
679 Please address the information to the IETF at
<a href='mailto:ietf-ipr@ietf.org'
>ietf-ipr@ietf.org
</a>.
</p>
680 <h3>Acknowledgment
</h3>
681 <p class='copyright'
>
682 Funding for the RFC Editor function is provided by
683 the IETF Administrative Support Activity (IASA).
</p>