1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621
|
<pre>Independent Submission F. Templin, Ed.
Request for Comments: 5320 Boeing Research & Technology
Category: Experimental February 2010
ISSN: 2070-1721
<span class="h1">The Subnetwork Encapsulation and Adaptation Layer (SEAL)</span>
Abstract
For the purpose of this document, subnetworks are defined as virtual
topologies that span connected network regions bounded by
encapsulating border nodes. These virtual topologies may span
multiple IP and/or sub-IP layer forwarding hops, and can introduce
failure modes due to packet duplication and/or links with diverse
Maximum Transmission Units (MTUs). This document specifies a
Subnetwork Encapsulation and Adaptation Layer (SEAL) that
accommodates such virtual topologies over diverse underlying link
technologies.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for examination, experimental implementation, and
evaluation.
This document defines an Experimental Protocol for the Internet
community. This is a contribution to the RFC Series, independently
of any other RFC stream. The RFC Editor has chosen to publish this
document at its discretion and makes no statement about its value for
implementation or deployment. Documents approved for publication by
the RFC Editor are not a candidate for any level of Internet
Standard; see <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc5320">http://www.rfc-editor.org/info/rfc5320</a>.
IESG Note
This RFC is not a candidate for any level of Internet Standard. The
IETF disclaims any knowledge of the fitness of this RFC for any
purpose and in particular notes that the decision to publish is not
based on IETF review for such things as security, congestion control,
or inappropriate interaction with deployed protocols. The RFC Editor
has chosen to publish this document at its discretion. Readers of
this document should exercise caution in evaluating its value for
implementation and deployment. See <a href="./rfc3932">RFC 3932</a> for more information.
<span class="grey">Templin Experimental [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
Copyright Notice
Copyright (c) 2010 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document.
<span class="grey">Templin Experimental [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-1.1">1.1</a>. Motivation .................................................<a href="#page-4">4</a>
<a href="#section-1.2">1.2</a>. Approach ...................................................<a href="#page-6">6</a>
<a href="#section-2">2</a>. Terminology and Requirements ....................................<a href="#page-6">6</a>
<a href="#section-3">3</a>. Applicability Statement .........................................<a href="#page-7">7</a>
<a href="#section-4">4</a>. SEAL Protocol Specification - Tunnel Mode .......................<a href="#page-8">8</a>
<a href="#section-4.1">4.1</a>. Model of Operation .........................................<a href="#page-8">8</a>
<a href="#section-4.2">4.2</a>. ITE Specification .........................................<a href="#page-10">10</a>
<a href="#section-4.2.1">4.2.1</a>. Tunnel Interface MTU ...............................<a href="#page-10">10</a>
<a href="#section-4.2.2">4.2.2</a>. Accounting for Headers .............................<a href="#page-11">11</a>
<a href="#section-4.2.3">4.2.3</a>. Segmentation and Encapsulation .....................<a href="#page-12">12</a>
<a href="#section-4.2.4">4.2.4</a>. Sending Probes .....................................<a href="#page-14">14</a>
<a href="#section-4.2.5">4.2.5</a>. Packet Identification ..............................<a href="#page-15">15</a>
<a href="#section-4.2.6">4.2.6</a>. Sending SEAL Protocol Packets ......................<a href="#page-15">15</a>
<a href="#section-4.2.7">4.2.7</a>. Processing Raw ICMPv4 Messages .....................<a href="#page-15">15</a>
<a href="#section-4.2.8">4.2.8</a>. Processing SEAL-Encapsulated ICMPv4 Messages .......<a href="#page-16">16</a>
<a href="#section-4.3">4.3</a>. ETE Specification .........................................<a href="#page-17">17</a>
<a href="#section-4.3.1">4.3.1</a>. Reassembly Buffer Requirements .....................<a href="#page-17">17</a>
<a href="#section-4.3.2">4.3.2</a>. IPv4-Layer Reassembly ..............................<a href="#page-17">17</a>
4.3.3. Generating SEAL-Encapsulated ICMPv4
Fragmentation Needed Messages ......................<a href="#page-18">18</a>
<a href="#section-4.3.4">4.3.4</a>. SEAL-Layer Reassembly ..............................<a href="#page-19">19</a>
<a href="#section-4.3.5">4.3.5</a>. Delivering Packets to Upper Layers .................<a href="#page-20">20</a>
<a href="#section-5">5</a>. SEAL Protocol Specification - Transport Mode ...................<a href="#page-20">20</a>
<a href="#section-6">6</a>. Link Requirements ..............................................<a href="#page-21">21</a>
<a href="#section-7">7</a>. End System Requirements ........................................<a href="#page-21">21</a>
<a href="#section-8">8</a>. Router Requirements ............................................<a href="#page-21">21</a>
<a href="#section-9">9</a>. IANA Considerations ............................................<a href="#page-21">21</a>
<a href="#section-10">10</a>. Security Considerations .......................................<a href="#page-21">21</a>
<a href="#section-11">11</a>. Related Work ..................................................<a href="#page-22">22</a>
<a href="#section-12">12</a>. SEAL Advantages over Classical Methods ........................<a href="#page-22">22</a>
<a href="#section-13">13</a>. Acknowledgments ...............................................<a href="#page-24">24</a>
<a href="#section-14">14</a>. References ....................................................<a href="#page-24">24</a>
<a href="#section-14.1">14.1</a>. Normative References .....................................<a href="#page-24">24</a>
<a href="#section-14.2">14.2</a>. Informative References ...................................<a href="#page-24">24</a>
<a href="#appendix-A">Appendix A</a>. Historic Evolution of PMTUD ...........................<a href="#page-27">27</a>
<a href="#appendix-B">Appendix B</a>. Reliability Extensions ................................<a href="#page-29">29</a>
<span class="grey">Templin Experimental [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
As Internet technology and communication has grown and matured, many
techniques have developed that use virtual topologies (including
tunnels of one form or another) over an actual network that supports
the Internet Protocol (IP) [<a href="./rfc0791" title=""Internet Protocol"">RFC0791</a>][RFC2460]. Those virtual
topologies have elements that appear as one hop in the virtual
topology, but are actually multiple IP or sub-IP layer hops. These
multiple hops often have quite diverse properties that are often not
even visible to the endpoints of the virtual hop. This introduces
failure modes that are not dealt with well in current approaches.
The use of IP encapsulation has long been considered as the means for
creating such virtual topologies. However, the insertion of an outer
IP header reduces the effective path MTU as-seen by the IP layer.
When IPv4 is used, this reduced MTU can be accommodated through the
use of IPv4 fragmentation, but unmitigated in-the-network
fragmentation has been found to be harmful through operational
experience and studies conducted over the course of many years
[<a href="#ref-FRAG" title=""Fragmentation Considered Harmful"">FRAG</a>][FOLK][<a href="./rfc4963" title=""IPv4 Reassembly Errors at High Data Rates"">RFC4963</a>]. Additionally, classical path MTU discovery
[<a href="./rfc1191" title=""Path MTU discovery"">RFC1191</a>] has known operational issues that are exacerbated by in-
the-network tunnels [<a href="./rfc2923" title=""TCP Problems with Path MTU Discovery"">RFC2923</a>][RFC4459]. In the following
subsections, we present further details on the motivation and
approach for addressing these issues.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Motivation</span>
Before discussing the approach, it is necessary to first understand
the problems. In both the Internet and private-use networks today,
IPv4 is ubiquitously deployed as the Layer 3 protocol. The two
primary functions of IPv4 are to provide for 1) addressing, and 2) a
fragmentation and reassembly capability used to accommodate links
with diverse MTUs. While it is well known that the addressing
properties of IPv4 are limited (hence, the larger address space
provided by IPv6), there is a lesser-known but growing consensus that
other limitations may be unable to sustain continued growth.
First, the IPv4 header Identification field is only 16 bits in
length, meaning that at most 2^16 packets pertaining to the same
(source, destination, protocol, Identification)-tuple may be active
in the Internet at a given time. Due to the escalating deployment of
high-speed links (e.g., 1Gbps Ethernet), however, this number may
soon become too small by several orders of magnitude. Furthermore,
there are many well-known limitations pertaining to IPv4
fragmentation and reassembly -- even to the point that it has been
deemed "harmful" in both classic and modern-day studies (cited
above). In particular, IPv4 fragmentation raises issues ranging from
<span class="grey">Templin Experimental [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
minor annoyances (e.g., slow-path processing in routers) to the
potential for major integrity issues (e.g., mis-association of the
fragments of multiple IP packets during reassembly).
As a result of these perceived limitations, a fragmentation-avoiding
technique for discovering the MTU of the forward path from a source
to a destination node was devised through the deliberations of the
Path MTU Discovery Working Group (PMTUDWG) during the late 1980's
through early 1990's (see <a href="#appendix-A">Appendix A</a>). In this method, the source
node provides explicit instructions to routers in the path to discard
the packet and return an ICMP error message if an MTU restriction is
encountered. However, this approach has several serious shortcomings
that lead to an overall "brittleness".
In particular, site border routers in the Internet are being
configured more and more to discard ICMP error messages coming from
the outside world. This is due in large part to the fact that
malicious spoofing of error messages in the Internet is made simple
since there is no way to authenticate the source of the messages.
Furthermore, when a source node that requires ICMP error message
feedback when a packet is dropped due to an MTU restriction does not
receive the messages, a path MTU-related black hole occurs. This
means that the source will continue to send packets that are too
large and never receive an indication from the network that they are
being discarded.
The issues with both IPv4 fragmentation and this "classical" method
of path MTU discovery are exacerbated further when IP-in-IP tunneling
is used. For example, site border routers that are configured as
ingress tunnel endpoints may be required to forward packets into the
subnetwork on behalf of hundreds, thousands, or even more original
sources located within the site. If IPv4 fragmentation were used,
this would quickly wrap the 16-bit Identification field and could
lead to undetected data corruption. If classical IPv4 path MTU
discovery were used instead, the site border router may be bombarded
by ICMP error messages coming from the subnetwork that may be either
untrustworthy or insufficiently provisioned to allow translation into
error message to be returned to the original sources.
The situation is exacerbated further still by IPsec tunnels, since
only the first IPv4 fragment of a fragmented packet contains the
transport protocol selectors (e.g., the source and destination ports)
required for identifying the correct security association rendering
fragmentation useless under certain circumstances. Even worse, there
may be no way for a site border router that configures an IPsec
tunnel to transcribe the encrypted packet fragment contained in an
<span class="grey">Templin Experimental [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
ICMP error message into a suitable ICMP error message to return to
the original source. Due to these many limitations, a new approach
to accommodate links with diverse MTUs is necessary.
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Approach</span>
For the purpose of this document, subnetworks are defined as virtual
topologies that span connected network regions bounded by
encapsulating border nodes. Examples include the global Internet
interdomain routing core, Mobile Ad hoc Networks (MANETs) and
enterprise networks. Subnetwork border nodes forward unicast and
multicast IP packets over the virtual topology across multiple IP
and/or sub-IP layer forwarding hops that may introduce packet
duplication and/or traverse links with diverse Maximum Transmission
Units (MTUs).
This document introduces a Subnetwork Encapsulation and Adaptation
Layer (SEAL) for tunnel-mode operation of IP over subnetworks that
connect Ingress and Egress Tunnel Endpoints (ITEs/ETEs) of border
nodes. Operation in transport mode is also supported when subnetwork
border node upper-layer protocols negotiate the use of SEAL during
connection establishment. SEAL accommodates links with diverse MTUs
and supports efficient duplicate packet detection by introducing a
minimal mid-layer encapsulation.
The SEAL encapsulation introduces an extended Identification field
for packet identification and a mid-layer segmentation and reassembly
capability that allows simplified cutting and pasting of packets.
Moreover, SEAL senses in-the-network IPv4 fragmentation as a "noise"
indication that packet sizing parameters are "out of tune" with
respect to the network path. As a result, SEAL can naturally tune
its packet sizing parameters to eliminate the in-the-network
fragmentation.
The SEAL encapsulation layer and protocol are specified in the
following sections.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology and Requirements</span>
The terms "inner", "mid-layer", and "outer", respectively, refer to
the innermost IP (layer, protocol, header, packet, etc.) before any
encapsulation, the mid-layer IP (protocol, header, packet, etc.)
after any mid-layer '*' encapsulation, and the outermost IP (layer,
protocol, header, packet etc.) after SEAL/*/IPv4 encapsulation.
The term "IP" used throughout the document refers to either Internet
Protocol version (IPv4 or IPv6). Additionally, the notation
IPvX/*/SEAL/*/IPvY refers to an inner IPvX packet encapsulated in any
<span class="grey">Templin Experimental [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
mid-layer '*' encapsulations, followed by the SEAL header, followed
by any outer '*' encapsulations, followed by an outer IPvY header,
where the notation "IPvX" means either IP protocol version (IPv4 or
IPv6).
The following abbreviations correspond to terms used within this
document and elsewhere in common Internetworking nomenclature:
ITE - Ingress Tunnel Endpoint
ETE - Egress Tunnel Endpoint
PTB - an ICMPv6 "Packet Too Big" or an ICMPv4 "Fragmentation
Needed" message
DF - the IPv4 header "Don't Fragment" flag
MHLEN - the length of any mid-layer '*' headers and trailers
OHLEN - the length of the outer encapsulating SEAL/*/IPv4 headers
HLEN - the sum of MHLEN and OHLEN
S_MRU - the per-ETE SEAL Maximum Reassembly Unit
S_MSS - the SEAL Maximum Segment Size
SEAL_ID - a 32-bit Identification value, randomly initialized and
monotonically incremented for each SEAL protocol packet
SEAL_PROTO - an IPv4 protocol number used for SEAL
SEAL_PORT - a TCP/UDP service port number used for SEAL
SEAL_OPTION - a TCP option number used for (transport-mode) SEAL
The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD,
SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, when they appear in this
document, are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Applicability Statement</span>
SEAL was motivated by the specific case of subnetwork abstraction for
Mobile Ad hoc Networks (MANETs); however, the domain of applicability
also extends to subnetwork abstractions of enterprise networks, the
interdomain routing core, etc. The domain of application therefore
<span class="grey">Templin Experimental [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
also includes the map-and-encaps architecture proposals in the IRTF
Routing Research Group (RRG) (see <a href="http://www3.tools.ietf.org/group/irtf/trac/wiki/RoutingResearchGroup">http://www3.tools.ietf.org/group/</a>
<a href="http://www3.tools.ietf.org/group/irtf/trac/wiki/RoutingResearchGroup">irtf/trac/wiki/RoutingResearchGroup</a>).
SEAL introduces a minimal new sublayer for IPvX in IPvY encapsulation
(e.g., as IPv6/SEAL/IPv4), and appears as a subnetwork encapsulation
as seen by the inner IP layer. SEAL can also be used as a sublayer
for encapsulating inner IP packets within outer UDP/IPv4 headers
(e.g., as IPv6/SEAL/UDP/IPv4) such as for the Teredo domain of
applicability [<a href="./rfc4380" title=""Teredo: Tunneling IPv6 over UDP through Network Address Translations (NATs)"">RFC4380</a>]. When it appears immediately after the outer
IPv4 header, the SEAL header is processed exactly as for IPv6
extension headers.
SEAL can also be used in "transport-mode", e.g., when the inner layer
includes upper-layer protocol data rather than an encapsulated IP
packet. For instance, TCP peers can negotiate the use of SEAL for
the carriage of protocol data encapsulated as TCP/SEAL/IPv4. In this
sense, the "subnetwork" becomes the entire end-to-end path between
the TCP peers and may potentially span the entire Internet.
The current document version is specific to the use of IPv4 as the
outer encapsulation layer; however, the same principles apply when
IPv6 is used as the outer layer.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. SEAL Protocol Specification - Tunnel Mode</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Model of Operation</span>
SEAL supports the encapsulation of inner IP packets in mid-layer and
outer encapsulating headers/trailers. For example, an inner IPv6
packet would appear as IPv6/*/SEAL/*/IPv4 after mid-layer and outer
encapsulations, where '*' denotes zero or more additional
encapsulation sublayers. Ingres Tunnel Endpoints (ITEs) add mid-
layer inject into a subnetwork, where the outermost IPv4 header
contains the source and destination addresses of the subnetwork
entry/exit points (i.e., the ITE/ETE), respectively. SEAL uses a new
Internet Protocol type and a new encapsulation sublayer for both
unicast and multicast. The ITE encapsulates an inner IP packet in
mid-layer and outer encapsulations as shown in Figure 1:
<span class="grey">Templin Experimental [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
+-------------------------+
| |
~ Outer */IPv4 headers ~
| |
I +-------------------------+
n | SEAL Header |
n +-------------------------+ +-------------------------+
e ~ Any mid-layer * headers ~ ~ Any mid-layer * headers ~
r +-------------------------+ +-------------------------+
| | | |
I --> ~ Inner IP ~ --> ~ Inner IP ~
P --> ~ Packet ~ --> ~ Packet ~
| | | |
P +-------------------------+ +-------------------------+
a ~ Any mid-layer trailers ~ ~ Any mid-layer trailers ~
c +-------------------------+ +-------------------------+
k ~ Any outer trailers ~
e +-------------------------+
t
(After mid-layer encaps.) (After SEAL/*/IPv4 encaps.)
Figure 1: SEAL Encapsulation
where the SEAL header is inserted as follows:
o For simple IPvX/IPv4 encapsulations (e.g.,
[<a href="./rfc2003" title=""IP Encapsulation within IP"">RFC2003</a>][RFC2004][<a href="./rfc4213" title=""Basic Transition Mechanisms for IPv6 Hosts and Routers"">RFC4213</a>]), the SEAL header is inserted between
the inner IP and outer IPv4 headers as: IPvX/SEAL/IPv4.
o For tunnel-mode IPsec encapsulations over IPv4, [<a href="./rfc4301" title=""Security Architecture for the Internet Protocol"">RFC4301</a>], the
SEAL header is inserted between the {AH,ESP} header and outer IPv4
headers as: IPvX/*/{AH,ESP}/SEAL/IPv4.
o For IP encapsulations over transports such as UDP, the SEAL header
is inserted immediately after the outer transport layer header,
e.g., as IPvX/*/SEAL/UDP/IPv4.
SEAL-encapsulated packets include a 32-bit SEAL_ID formed from the
concatenation of the 16-bit ID Extension field in the SEAL header as
the most-significant bits, and with the 16-bit Identification value
in the outer IPv4 header as the least-significant bits. (For tunnels
that traverse IPv4 Network Address Translators, the SEAL_ID is
instead maintained only within the 16-bit ID Extension field in the
SEAL header.) Routers within the subnetwork use the SEAL_ID for
duplicate packet detection, and ITEs/ETEs use the SEAL_ID for SEAL
segmentation and reassembly.
SEAL enables a multi-level segmentation and reassembly capability.
<span class="grey">Templin Experimental [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
First, the ITE can use IPv4 fragmentation to fragment inner IPv4
packets with DF=0 before SEAL encapsulation to avoid lower-layer
segmentation and reassembly. Secondly, the SEAL layer itself
provides a simple cutting-and-pasting capability for mid-layer
packets to avoid IPv4 fragmentation on the outer packet. Finally,
ordinary IPv4 fragmentation is permitted on the outer packet after
SEAL encapsulation and used to detect and dampen any in-the-network
fragmentation as quickly as possible.
The following sections specify the SEAL-related operations of the ITE
and ETE, respectively:
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. ITE Specification</span>
<span class="h4"><a class="selflink" id="section-4.2.1" href="#section-4.2.1">4.2.1</a>. Tunnel Interface MTU</span>
The ITE configures a tunnel virtual interface over one or more
underlying links that connect the border node to the subnetwork. The
tunnel interface must present a fixed MTU to the inner IP layer
(i.e., Layer 3) as the size for admission of inner IP packets into
the tunnel. Since the tunnel interface may support a potentially
large set of ETEs, however, care must be taken in setting a greatest-
common-denominator MTU for all ETEs while still upholding end system
expectations.
Due to the ubiquitous deployment of standard Ethernet and similar
networking gear, the nominal Internet cell size has become 1500
bytes; this is the de facto size that end systems have come to expect
will either be delivered by the network without loss due to an MTU
restriction on the path or a suitable PTB message returned. However,
the network may not always deliver the necessary PTBs, leading to
MTU-related black holes [<a href="./rfc2923" title=""TCP Problems with Path MTU Discovery"">RFC2923</a>]. The ITE therefore requires a
means for conveying 1500 byte (or smaller) packets to the ETE without
loss due to MTU restrictions and without dependence on PTB messages
from within the subnetwork.
In common deployments, there may be many forwarding hops between the
original source and the ITE. Within those hops, there may be
additional encapsulations (IPSec, L2TP, etc.) such that a 1500 byte
packet sent by the original source might grow to a larger size by the
time it reaches the ITE for encapsulation as an inner IP packet.
Similarly, additional encapsulations on the path from the ITE to the
ETE could cause the encapsulated packet to become larger still and
trigger in-the-network fragmentation. In order to preserve the end
system expectations, the ITE therefore requires a means for conveying
these larger packets to the ETE even though there may be links within
the subnetwork that configure a smaller MTU.
<span class="grey">Templin Experimental [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
The ITE should therefore set a tunnel virtual interface MTU of 1500
bytes plus extra room to accommodate any additional encapsulations
that may occur on the path from the original source (i.e., even if
the path to the ETE does not support an MTU of this size). The ITE
can set larger MTU values still, but should select a value that is
not so large as to cause excessive PTBs coming from within the tunnel
interface (see Sections <a href="#section-4.2.2">4.2.2</a> and <a href="#section-4.2.6">4.2.6</a>). The ITE can also set
smaller MTU values; however, care must be taken not to set so small a
value that original sources would experience an MTU underflow. In
particular, IPv6 sources must see a minimum path MTU of 1280 bytes,
and IPv4 sources should see a minimum path MTU of 576 bytes.
The inner IP layer consults the tunnel interface MTU when admitting a
packet into the interface. For inner IPv4 packets larger than the
tunnel interface MTU and with the IPv4 Don't Fragment (DF) bit set to
0, the inner IPv4 layer uses IPv4 fragmentation to break the packet
into fragments no larger than the tunnel interface MTU (but, see also
<a href="#section-4.2.3">Section 4.2.3</a>), then admits each fragment into the tunnel as an
independent packet. For all other inner packets (IPv4 or IPv6), the
ITE admits the packet if it is no larger than the tunnel interface
MTU; otherwise, it drops the packet and sends an ICMP PTB message
with an MTU value of the tunnel interface MTU to the source.
<span class="h4"><a class="selflink" id="section-4.2.2" href="#section-4.2.2">4.2.2</a>. Accounting for Headers</span>
As for any transport layer protocol, ITEs use the MTU of the
underlying IPv4 interface, the length of any mid-layer '*' headers
and trailers, and the length of the outer SEAL/*/IPv4 headers to
determine the maximum size for a SEAL segment (see <a href="#section-4.2.3">Section 4.2.3</a>).
For example, when the underlying IPv4 interface advertises an MTU of
1500 bytes and the ITE inserts a minimum-length (i.e., 20-byte) IPv4
header, the ITE sees a maximum segment size of 1480 bytes. When the
ITE inserts IPv4 header options, the size is further reduced by as
many as 40 additional bytes (the maximum length for IPv4 options)
such that as few as 1440 bytes may be available for the upper-layer
payload. When the ITE inserts additional '*' encapsulations, the
maximum segment size is reduced further still.
The ITE must additionally account for the length of the SEAL header
itself as an extra encapsulation that further reduces the maximum
segment size. The length of the SEAL header is not incorporated in
the IPv4 header length; therefore, the network does not observe the
SEAL header as an IPv4 option. In this way, the SEAL header is
inserted after the IPv4 options but before the upper-layer payload in
exactly the same manner as for IPv6 extension headers.
<span class="grey">Templin Experimental [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
<span class="h4"><a class="selflink" id="section-4.2.3" href="#section-4.2.3">4.2.3</a>. Segmentation and Encapsulation</span>
For each ETE, the ITE maintains the length of any mid-layer '*'
encapsulation headers and trailers (e.g., for '*' = AH, ESP, NULL,
etc.) in a variable 'MHLEN' and maintains the length of the outer
SEAL/*/IPv4 encapsulation headers in a variable 'OHLEN'. The ITE
further maintains a variable 'HLEN' set to MHLEN plus OHLEN. The ITE
maintains a SEAL Maximum Reassembly Unit (S_MRU) value for each ETE
as soft state within the tunnel interface (e.g., in the IPv4
destination cache). The ITE initializes S_MRU to a value no larger
than 2KB and uses this value to determine the maximum-sized packet it
will require the ETE to reassemble. The ITE additionally maintains a
SEAL Maximum Segment Size (S_MSS) value for each ETE. The ITE
initializes S_MSS to the maximum of (the underlying IPv4 interface
MTU minus OHLEN) and S_MRU/8 bytes, and decreases or increases S_MSS
based on any ICMPv4 Fragmentation Needed messages received (see
<a href="#section-4.2.6">Section 4.2.6</a>).
The ITE performs segmentation and encapsulation on inner packets that
have been admitted into the tunnel interface. For inner IPv4 packets
with the DF bit set to 0, if the length of the inner packet is larger
than (S_MRU - HLEN), the ITE uses IPv4 fragmentation to break the
packet into IPv4 fragments no larger than (S_MRU - HLEN). For
unfragmentable inner packets (e.g., IPv6 packets, IPv4 packets with
DF=1, etc.), if the length of the inner packet is larger than
(MAX(S_MRU, S_MSS) - HLEN), the ITE drops the packet and sends an
ICMP PTB message with an MTU value of (MAX(S_MRU, S_MSS) - HLEN) back
to the original source.
The ITE then encapsulates each inner packet/fragment in the MHLEN
bytes of mid-layer '*' headers and trailers. For each such resulting
mid-layer packet of length 'M', if (S_MRU >= (M + OHLEN) > S_MSS),
the ITE must perform SEAL segmentation. To do so, it breaks the mid-
layer packet into N segments (N <= 8) that are no larger than
(MIN(1KB, S_MSS) - OHLEN) bytes each. Each segment, except the final
one, MUST be of equal length, while the final segment MUST be no
larger than the initial segment. The first byte of each segment MUST
begin immediately after the final byte of the previous segment, i.e.,
the segments MUST NOT overlap. The ITE should generate the smallest
number of segments possible, e.g., it should not generate 6 smaller
segments when the packet could be accommodated with 4 larger
segments.
Note that this SEAL segmentation ignores the fact that the mid-layer
packet may be unfragmentable. This segmentation process is a mid-
layer (not an IP layer) operation employed by the ITE to adapt the
mid-layer packet to the subnetwork path characteristics, and the ETE
will restore the packet to its original form during reassembly.
<span class="grey">Templin Experimental [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
Therefore, the fact that the packet may have been segmented within
the subnetwork is not observable outside of the subnetwork.
The ITE next encapsulates each segment in a SEAL header formatted as
follows:
0 1 2 3
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ID Extension |A|R|M|RSV| SEG | Next Header |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 2: SEAL Header Format
where the header fields are defined as follows:
ID Extension (16)
a 16-bit extension of the Identification field in the outer IPv4
header; encodes the most-significant 16 bits of a 32 bit SEAL_ID
value.
A (1)
the "Acknowledgement Requested" bit. Set to 1 if the ITE wishes
to receive an explicit acknowledgement from the ETE.
R (1)
the "Report Fragmentation" bit. Set to 1 if the ITE wishes to
receive a report from the ETE if any IPv4 fragmentation occurs.
M (1)
the "More Segments" bit. Set to 1 if this SEAL protocol packet
contains a non-final segment of a multi-segment mid-layer packet.
RSV (2)
a 2-bit field reserved for future use. Must be set to 0 for the
purpose of this specification.
SEG (3)
a 3-bit segment number. Encodes a segment number between 0 - 7.
Next Header (8)
an 8-bit field that encodes an Internet Protocol number the same
as for the IPv4 protocol and IPv6 next header fields.
<span class="grey">Templin Experimental [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
For single-segment mid-layer packets, the ITE encapsulates the
segment in a SEAL header with (M=0; SEG=0). For N-segment mid-layer
packets (N <= 8), the ITE encapsulates each segment in a SEAL header
with (M=1; SEG=0) for the first segment, (M=1; SEG=1) for the second
segment, etc., with the final segment setting (M=0; SEG=N-1).
The ITE next sets RSV='00' and sets the A and R bits in the SEAL
header of the first segment according to whether the packet is to be
used as an explicit/implicit probe as specified in <a href="#section-4.2.4">Section 4.2.4</a>.
The ITE then writes the Internet Protocol number corresponding to the
mid-layer packet in the SEAL 'Next Header' field and encapsulates
each segment in the requisite */IPv4 outer headers according to the
specific encapsulation format (e.g., [<a href="./rfc2003" title=""IP Encapsulation within IP"">RFC2003</a>], [<a href="./rfc4213" title=""Basic Transition Mechanisms for IPv6 Hosts and Routers"">RFC4213</a>], [<a href="./rfc4380" title=""Teredo: Tunneling IPv6 over UDP through Network Address Translations (NATs)"">RFC4380</a>],
etc.), except that it writes 'SEAL_PROTO' in the protocol field of
the outer IPv4 header (when simple IPv4 encapsulation is used) or
writes 'SEAL_PORT' in the outer destination service port field (e.g.,
when UDP/IPv4 encapsulation is used). The ITE finally sets packet
identification values as specified in <a href="#section-4.2.5">Section 4.2.5</a> and sends the
packets as specified in <a href="#section-4.2.6">Section 4.2.6</a>.
<span class="h4"><a class="selflink" id="section-4.2.4" href="#section-4.2.4">4.2.4</a>. Sending Probes</span>
When S_MSS is larger than S_MRU/8 bytes, the ITE sends ordinary
encapsulated data packets as implicit probes to detect in-the-network
IPv4 fragmentation and to determine new values for S_MSS. The ITE
sets R=1 in the SEAL header of a packet with SEG=0 to be used as an
implicit probe, and will receive ICMPv4 Fragmentation Needed messages
from the ETE if any IPv4 fragmentation occurs. When the ITE has
already reduced S_MSS to the minimum value, it instead sets R=0 in
the SEAL header to avoid generating fragmentation reports for
unavoidable in-the-network fragmentation.
The ITE should send explicit probes periodically to manage a window
of SEAL_IDs of outstanding probes as a means to validate any ICMPv4
messages it receives. The ITE sets A=1 in the SEAL header of a
packet with SEG=0 to be used as an explicit probe, where the probe
can be either an ordinary data packet or a NULL packet created by
setting the 'Next Header' field in the SEAL header to a value of "No
Next Header" (see <a href="./rfc2460#section-4.7">Section 4.7 of [RFC2460]</a>).
The ITE should further send explicit probes, periodically, to detect
increases in S_MSS by resetting S_MSS to the maximum of (the
underlying IPv4 interface MTU minus OHLEN) and S_MRU/8 bytes, and/or
by sending explicit probes that are larger than the current S_MSS.
Finally, the ITE MAY send "expendable" probe packets with DF=1 (see
<a href="#section-4.2.6">Section 4.2.6</a>) in order to generate ICMPv4 Fragmentation Needed
messages from routers on the path to the ETE.
<span class="grey">Templin Experimental [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
<span class="h4"><a class="selflink" id="section-4.2.5" href="#section-4.2.5">4.2.5</a>. Packet Identification</span>
For the purpose of packet identification, the ITE maintains a 32-bit
SEAL_ID value as per-ETE soft state, e.g., in the IPv4 destination
cache. The ITE randomly initializes SEAL_ID when the soft state is
created and monotonically increments it (modulo 2^32) for each
successive SEAL protocol packet it sends to the ETE. For each
packet, the ITE writes the least-significant 16 bits of the SEAL_ID
value in the Identification field in the outer IPv4 header, and
writes the most-significant 16 bits in the ID Extension field in the
SEAL header.
For SEAL encapsulations specifically designed for the traversal of
IPv4 Network Address Translators (NATs), e.g., for encapsulations
that insert a UDP header between the SEAL header and outer IPv4
header such as IPv6/SEAL/UDP/IPv4, the ITE instead maintains SEAL_ID
as a 16-bit value that it randomly initializes when the soft state is
created and monotonically increments (modulo 2^16) for each
successive packet. For each packet, the ITE writes SEAL_ID in the ID
extension field of the SEAL header and writes a random 16-bit value
in the Identification field in the outer IPv4 header. This is due to
the fact that the ITE has no way to control IPv4 NATs in the path
that could rewrite the Identification value in the outer IPv4 header.
<span class="h4"><a class="selflink" id="section-4.2.6" href="#section-4.2.6">4.2.6</a>. Sending SEAL Protocol Packets</span>
Following SEAL segmentation and encapsulation, the ITE sets DF=0 in
the outer IPv4 header of every outer packet it sends. For
"expendable" packets (e.g., for NULL packets used as probes -- see
<a href="#section-4.2.4">Section 4.2.4</a>), the ITE may instead set DF=1.
The ITE then sends each outer packet that encapsulates a segment of
the same mid-layer packet into the tunnel in canonical order, i.e.,
segment 0 first, followed by segment 1, etc. and finally segment N-1.
<span class="h4"><a class="selflink" id="section-4.2.7" href="#section-4.2.7">4.2.7</a>. Processing Raw ICMPv4 Messages</span>
The ITE may receive "raw" ICMPv4 error messages from either the ETE
or routers within the subnetwork that comprise an outer IPv4 header,
followed by an ICMPv4 header, followed by a portion of the SEAL
packet that generated the error (also known as the "packet-in-
error"). For such messages, the ITE can use the 32-bit SEAL ID
encoded in the packet-in-error as a nonce to confirm that the ICMP
message came from either the ETE or an on-path router. The ITE MAY
process raw ICMPv4 messages as soft errors indicating that the path
to the ETE may be failing.
<span class="grey">Templin Experimental [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
The ITE should specifically process raw ICMPv4 Protocol Unreachable
messages as a hint that the ETE does not implement the SEAL protocol.
<span class="h4"><a class="selflink" id="section-4.2.8" href="#section-4.2.8">4.2.8</a>. Processing SEAL-Encapsulated ICMPv4 Messages</span>
In addition to any raw ICMPv4 messages, the ITE may receive SEAL-
encapsulated ICMPv4 messages from the ETE that comprise outer ICMPv4/
*/SEAL/*/IPv4 headers followed by a portion of the SEAL-encapsulated
packet-in-error. The ITE can use the 32-bit SEAL ID encoded in the
packet-in-error as well as information in the outer IPv4 and SEAL
headers as nonces to confirm that the ICMP message came from a
legitimate ETE. The ITE then verifies that the SEAL_ID encoded in
the packet-in-error is within the current window of transmitted
SEAL_IDs for this ETE. If the SEAL_ID is outside of the window, the
ITE discards the message; otherwise, it advances the window and
processes the message.
The ITE processes SEAL-encapsulated ICMPv4 messages other than ICMPv4
Fragmentation Needed exactly as specified in [<a href="./rfc0792" title=""Internet Control Message Protocol"">RFC0792</a>].
For SEAL-encapsulated ICMPv4 Fragmentation Needed messages, the ITE
sets a variable 'L' to the IPv4 length of the packet-in-error minus
OHLEN. If (L > S_MSS), or if the packet-in-error is an IPv4 first
fragment (i.e., with MF=1; Offset=0) and (L >= (576 - OHLEN)), the
ITE sets (S_MSS = L).
Note that 576 in the above corresponds to the nominal minimum MTU for
IPv4 links. When an ITE instead receives an IPv4 first fragment
packet-in-error with (L < (576 - OHLEN)), it discovers that IPv4
fragmentation is occurring in the network but it cannot determine the
true MTU of the restricting link due to a router on the path
generating runt first fragments. The ITE should therefore search for
a reduced S_MSS value (to a minimum of S_MRU/8) through an iterative
searching strategy that parallels (<a href="./rfc1191#section-5">Section 5 of [RFC1191]</a>).
This searching strategy may require multiple iterations of sending
SEAL packets with DF=0 using a reduced S_MSS and receiving additional
Fragmentation Needed messages, but it will soon converge to a stable
value. During this process, it is essential that the ITE reduce
S_MSS based on the first Fragmentation Needed message received, and
refrain from further reducing S_MSS until ICMPv4 Fragmentation Needed
messages pertaining to packets sent under the new S_MSS are received.
As an optimization only, the ITE MAY transcribe SEAL-encapsulated
Fragmentation Needed messages that contain sufficient information
into corresponding PTB messages to return to the original source.
<span class="grey">Templin Experimental [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. ETE Specification</span>
<span class="h4"><a class="selflink" id="section-4.3.1" href="#section-4.3.1">4.3.1</a>. Reassembly Buffer Requirements</span>
ETEs MUST be capable of using IPv4-layer reassembly to reassemble
SEAL protocol outer IPv4 packets up to 2KB in length, and MUST also
be capable of using SEAL-layer reassembly to reassemble mid-layer
packets up to (2KB - OHLEN). Note that the ITE must retain the
SEAL/*/IPv4 header during both IPv4-layer and SEAL-layer reassembly
for the purpose of associating the fragments/segments of the same
packet.
<span class="h4"><a class="selflink" id="section-4.3.2" href="#section-4.3.2">4.3.2</a>. IPv4-Layer Reassembly</span>
The ETE performs IPv4 reassembly as normal, and should maintain a
conservative high- and low-water mark for the number of outstanding
reassemblies pending for each ITE. When the size of the reassembly
buffer exceeds this high-water mark, the ETE actively discards
incomplete reassemblies (e.g., using an Active Queue Management (AQM)
strategy) until the size falls below the low-water mark. The ETE
should also use a reduced IPv4 maximum segment lifetime value (e.g.,
15 seconds), i.e., the time after which it will discard an incomplete
IPv4 reassembly for a SEAL protocol packet. Finally, the ETE should
also actively discard any pending reassemblies that clearly have no
opportunity for completion, e.g., when a considerable number of new
IPv4 fragments have been received before a fragment that completes a
pending reassembly has arrived.
After reassembly, the ETE either accepts or discards the reassembled
packet based on the current status of the IPv4 reassembly cache
(congested versus uncongested). The SEAL_ID included in the IPv4
first fragment provides an additional level of reassembly assurance,
since it can record a distinct arrival timestamp useful for
associating the first fragment with its corresponding non-initial
fragments. The choice of accepting/discarding a reassembly may also
depend on the strength of the upper-layer integrity check if known
(e.g., IPSec/ESP provides a strong upper-layer integrity check)
and/or the corruption tolerance of the data (e.g., multicast
streaming audio/video may be more corruption-tolerant than file
transfer, etc.). In the limiting case, the ETE may choose to discard
all IPv4 reassemblies and process only the IPv4 first fragment for
SEAL-encapsulated error generation purposes (see the following
sections).
<span class="grey">Templin Experimental [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
<span class="h4"><a class="selflink" id="section-4.3.3" href="#section-4.3.3">4.3.3</a>. Generating SEAL-Encapsulated ICMPv4 Fragmentation Needed</span>
<span class="h4"> Messages</span>
During IPv4-layer reassembly, the ETE determines whether the packet
belongs to the SEAL protocol by checking for SEAL_PROTO in the outer
IPv4 header (i.e., for simple IPv4 encapsulation) or for SEAL_PORT in
the outer */IPv4 header (e.g., for '*'=UDP). When the ETE processes
the IPv4 first fragment (i.e, one with DF=1 and Offset=0 in the IPv4
header) of a SEAL protocol IPv4 packet with (R=1; SEG=0) in the SEAL
header, it sends a SEAL-encapsulated ICMPv4 Fragmentation Needed
message back to the ITE with the MTU field set to 0. (Note that
setting a non-zero value in the MTU field of the ICMPv4 Fragmentation
Needed message would be redundant with the length value in the IPv4
header of the first fragment, since this value is set to the correct
path MTU through in-the-network fragmentation. Setting the MTU field
to 0 therefore avoids the ambiguous case in which the MTU field and
the IPv4 length field of the first fragment would record different
non-zero values.)
When the ETE processes a SEAL protocol IPv4 packet with (A=1; SEG=0)
for which no IPv4 reassembly was required, or for which IPv4
reassembly was successful and the R bit was not set, it sends a SEAL-
encapsulated ICMPv4 Fragmentation Needed message back to the ITE with
the MTU value set to 0. Note therefore that when both the A and R
bits are set and fragmentation occurs, the ETE only sends a single
ICMPv4 Fragmentation Needed message, i.e., it does not send two
separate messages (one for the first fragment and a second for the
reassembled whole SEAL packet).
The ETE prepares the ICMPv4 Fragmentation Needed message by
encapsulating as much of the first fragment (or the non-fragmented
packet) as possible in outer */SEAL/*/IPv4 headers without the length
of the message exceeding 576 bytes, as shown in Figure 3:
<span class="grey">Templin Experimental [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
+-------------------------+ -
| | ~ Outer */SEAL/*/IPv4 hdrs~ |
| | |
+-------------------------+ |
| ICMPv4 Header | |
|(Dest Unreach; Frag Need)| |
+-------------------------+ |
| | > Up to 576 bytes
~ IP/*/SEAL/*/IPv4 ~ |
~ hdrs of packet/fragment ~ |
| | |
+-------------------------+ |
| | |
~ Data of packet/fragment ~ |
| | /
+-------------------------+ -
Figure 3: SEAL-Encapsulated ICMPv4 Fragmentation Needed Message
The ETE next sets A=0, R=0, and SEG=0 in the outer SEAL header, sets
the SEAL_ID the same as for any SEAL packet, then sets the SEAL Next
Header field and the fields of the outer */IPv4 headers the same as
for ordinary SEAL encapsulation. The ETE then sets the outer IPv4
destination and source addresses to the source and destination
addresses (respectively) of the packet/fragment. If the destination
address in the packet/fragment was multicast, the ETE instead sets
the outer IPv4 source address to an address assigned to the
underlying IPv4 interface. The ETE finally sends the SEAL-
encapsulated ICMPv4 message to the ITE the same as specified in
<a href="#section-4.2.5">Section 4.2.5</a>, except that when the A bit in the packet/fragment is
not set, the ETE sends the messages subject to rate limiting since it
is not entirely critical that all fragmentation be reported to the
ITE.
<span class="h4"><a class="selflink" id="section-4.3.4" href="#section-4.3.4">4.3.4</a>. SEAL-Layer Reassembly</span>
Following IPv4 reassembly of a SEAL packet with (RSV!=0; SEG=0), if
the packet is not a SEAL-encapsulated ICMPv4 message, the ETE
generates a SEAL-encapsulated ICMPv4 Parameter Problem message with
pointer set to the flags field in the SEAL header, sends the message
back to the ITE in the same manner specified in <a href="#section-4.3.3">Section 4.3.3</a>, then
drops the packet. For all other SEAL packets, the ETE adds the
packet to a SEAL-Layer pending-reassembly queue if either the M bit
or the SEG field in the SEAL header is non-zero.
The ETE performs SEAL-layer reassembly through simple in-order
concatenation of the encapsulated segments from N consecutive SEAL
protocol packets from the same mid-layer packet. SEAL-layer
<span class="grey">Templin Experimental [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
reassembly requires the ETE to maintain a cache of recently received
segments for a hold time that would allow for reasonable inter-
segment delays. The ETE uses a SEAL maximum segment lifetime of 15
seconds for this purpose, i.e., the time after which it will discard
an incomplete reassembly. However, the ETE should also actively
discard any pending reassemblies that clearly have no opportunity for
completion, e.g., when a considerable number of new SEAL packets have
been received before a packet that completes a pending reassembly has
arrived.
The ETE reassembles the mid-layer packet segments in SEAL protocol
packets that contain segment numbers 0 through N-1, with M=1/0 in
non-final/final segments, respectively, and with consecutive SEAL_ID
values. That is, for an N-segment mid-layer packet, reassembly
entails the concatenation of the SEAL-encapsulated segments with
(segment 0, SEAL_ID i), followed by (segment 1, SEAL_ID ((i + 1) mod
2^32)), etc. up to (segment N-1, SEAL_ID ((i + N-1) mod 2^32)). (For
SEAL encapsulations specifically designed for traversal of IPv4 NATs,
the ETE instead uses only a 16-bit SEAL_ID value, and uses mod 2^16
arithmetic to associate the segments of the same packet.)
<span class="h4"><a class="selflink" id="section-4.3.5" href="#section-4.3.5">4.3.5</a>. Delivering Packets to Upper Layers</span>
Following SEAL-layer reassembly, the ETE silently discards the
reassembled packet if it was a NULL packet (see <a href="#section-4.2.4">Section 4.2.4</a>). In
the same manner, the ETE silently discards any reassembled mid-layer
packet larger than (2KB - OHLEN) that either experienced IPv4
fragmentation or did not arrive as a single SEAL segment.
Next, if the ETE determines that the inner packet would cause an
ICMPv4 error message to be generated, it generates a SEAL-
encapsulated ICMPv4 error message, sends the message back to the ITE
in the same manner specified in <a href="#section-4.3.3">Section 4.3.3</a>, then either accepts or
drops the packet according to the type of error. Otherwise, the ETE
delivers the inner packet to the upper-layer protocol indicated in
the Next Header field.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. SEAL Protocol Specification - Transport Mode</span>
<a href="#section-4">Section 4</a> specifies the operation of SEAL in "tunnel mode", i.e.,
when there are both an inner and outer IP layer with a SEAL
encapsulation layer between. However, the SEAL protocol can also be
used in a "transport mode" of operation within a subnetwork region in
which the inner-layer corresponds to a transport layer protocol
(e.g., UDP, TCP, etc.) instead of an inner IP layer.
<span class="grey">Templin Experimental [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
For example, two TCP endpoints connected to the same subnetwork
region can negotiate the use of transport-mode SEAL for a connection
by inserting a 'SEAL_OPTION' TCP option during the connection
establishment phase. If both TCPs agree on the use of SEAL, their
protocol messages will be carried as TCP/SEAL/IPv4 and the connection
will be serviced by the SEAL protocol using TCP (instead of an
encapsulating tunnel endpoint) as the transport layer protocol. The
SEAL protocol for transport mode otherwise observes the same
specifications as for <a href="#section-4">Section 4</a>.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Link Requirements</span>
Subnetwork designers are expected to follow the recommendations in
<a href="./rfc3819#section-2">Section 2 of [RFC3819]</a> when configuring link MTUs.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. End System Requirements</span>
SEAL provides robust mechanisms for returning PTB messages; however,
end systems that send unfragmentable IP packets larger than 1500
bytes are strongly encouraged to use Packetization Layer Path MTU
Discovery per [<a href="./rfc4821" title=""Packetization Layer Path MTU Discovery"">RFC4821</a>].
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Router Requirements</span>
IPv4 routers within the subnetwork are strongly encouraged to
implement IPv4 fragmentation such that the first fragment is the
largest and approximately the size of the underlying link MTU, i.e.,
they should avoid generating runt first fragments.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. IANA Considerations</span>
SEAL_PROTO, SEAL_PORT, and SEAL_OPTION are taken from their
respective range of experimental values documented in [<a href="./rfc3692" title=""Assigning Experimental and Testing Numbers Considered Useful"">RFC3692</a>] and
[<a href="./rfc4727" title=""Experimental Values In IPv4, IPv6, ICMPv4, ICMPv6, UDP, and TCP Headers"">RFC4727</a>]. These values are for experimentation purposes only, and
not to be used for any kind of deployments (i.e., they are not to be
shipped in any products).
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Security Considerations</span>
Unlike IPv4 fragmentation, overlapping fragment attacks are not
possible due to the requirement that SEAL segments be non-
overlapping.
An amplification/reflection attack is possible when an attacker sends
IPv4 first fragments with spoofed source addresses to an ETE,
resulting in a stream of ICMPv4 Fragmentation Needed messages
<span class="grey">Templin Experimental [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
returned to a victim ITE. The encapsulated segment of the spoofed
IPv4 first fragment provides mitigation for the ITE to detect and
discard spurious ICMPv4 Fragmentation Needed messages.
The SEAL header is sent in-the-clear (outside of any IPsec/ESP
encapsulations) the same as for the outer */IPv4 headers. As for
IPv6 extension headers, the SEAL header is protected only by L2
integrity checks and is not covered under any L3 integrity checks.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Related Work</span>
<a href="./rfc2764#section-3.1.7">Section 3.1.7 of [RFC2764]</a> provides a high-level sketch for
supporting large tunnel MTUs via a tunnel-level segmentation and
reassembly capability to avoid IP level fragmentation, which is in
part the same approach used by tunnel-mode SEAL. SEAL could
therefore be considered as a fully functioned manifestation of the
method postulated by that informational reference; however, SEAL also
supports other modes of operation including transport-mode and
duplicate packet detection.
<a href="./rfc4459#section-3">Section 3 of [RFC4459]</a> describes inner and outer fragmentation at the
tunnel endpoints as alternatives for accommodating the tunnel MTU;
however, the SEAL protocol specifies a mid-layer segmentation and
reassembly capability that is distinct from both inner and outer
fragmentation.
<a href="./rfc2460#section-4">Section 4 of [RFC2460]</a> specifies a method for inserting and
processing extension headers between the base IPv6 header and
transport layer protocol data. The SEAL header is inserted and
processed in exactly the same manner.
The concepts of path MTU determination through the report of
fragmentation and extending the IP Identification field were first
proposed in deliberations of the TCP-IP mailing list and the Path MTU
Discovery Working Group (MTUDWG) during the late 1980's and early
1990's. SEAL supports a report fragmentation capability using bits
in an extension header (the original proposal used a spare bit in the
IP header) and supports ID extension through a 16-bit field in an
extension header (the original proposal used a new IP option). A
historical analysis of the evolution of these concepts, as well as
the development of the eventual path MTU discovery mechanism for IP,
appears in <a href="#appendix-A">Appendix A</a> of this document.
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. SEAL Advantages over Classical Methods</span>
The SEAL approach offers a number of distinct advantages over the
classical path MTU discovery methods [<a href="./rfc1191" title=""Path MTU discovery"">RFC1191</a>] [<a href="./rfc1981" title=""Path MTU Discovery for IP version 6"">RFC1981</a>]:
<span class="grey">Templin Experimental [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
1. Classical path MTU discovery *always* results in packet loss when
an MTU restriction is encountered. Using SEAL, IPv4
fragmentation provides a short-term interim mechanism for
ensuring that packets are delivered while SEAL adjusts its packet
sizing parameters.
2. Classical path MTU discovery requires that routers generate an
ICMP PTB message for *all* packets lost due to an MTU
restriction; this situation is exacerbated at high data rates and
becomes severe for in-the-network tunnels that service many
communicating end systems. Since SEAL ensures that packets no
larger than S_MRU are delivered, however, it is sufficient for
the ETE to return ICMPv4 Fragmentation Needed messages subject to
rate limiting and not for every packet-in-error.
3. Classical path MTU may require several iterations of dropping
packets and returning ICMP PTB messages until an acceptable path
MTU value is determined. Under normal circumstances, SEAL
determines the correct packet sizing parameters in a single
iteration.
4. Using SEAL, ordinary packets serve as implicit probes without
exposing data to unnecessary loss. SEAL also provides an
explicit probing mode not available in the classic methods.
5. Using SEAL, ETEs encapsulate ICMP error messages in an outer SEAL
header such that packet-filtering network middleboxes can
distinguish them from "raw" ICMP messages that may be generated
by an attacker.
6. Most importantly, all SEAL packets have a 32-bit Identification
value that can be used for duplicate packet detection purposes
and to match ICMP error messages with actual packets sent without
requiring per-packet state. Moreover, the SEAL ITE can be
configured to accept ICMP feedback only from the legitimate ETE;
hence, the packet spoofing-related denial-of-service attack
vectors open to the classical methods are eliminated.
In summary, the SEAL approach represents an architecturally superior
method for ensuring that packets of various sizes are either
delivered or deterministically dropped. When end systems use their
own end-to-end MTU determination mechanisms [<a href="./rfc4821" title=""Packetization Layer Path MTU Discovery"">RFC4821</a>], the SEAL
advantages are further enhanced.
<span class="grey">Templin Experimental [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a>. Acknowledgments</span>
The following individuals are acknowledged for helpful comments and
suggestions: Jari Arkko, Fred Baker, Iljitsch van Beijnum, Teco Boot,
Bob Braden, Brian Carpenter, Steve Casner, Ian Chakeres, Remi Denis-
Courmont, Aurnaud Ebalard, Gorry Fairhurst, Joel Halpern, John
Heffner, Thomas Henderson, Bob Hinden, Christian Huitema, Joe Macker,
Matt Mathis, Erik Nordmark, Dan Romascanu, Dave Thaler, Joe Touch,
Magnus Westerlund, Robin Whittle, James Woodyatt, and members of the
Boeing PhantomWorks DC&NT group.
Path MTU determination through the report of fragmentation was first
proposed by Charles Lynn on the TCP-IP mailing list in 1987.
Extending the IP identification field was first proposed by Steve
Deering on the MTUDWG mailing list in 1989.
<span class="h2"><a class="selflink" id="section-14" href="#section-14">14</a>. References</span>
<span class="h3"><a class="selflink" id="section-14.1" href="#section-14.1">14.1</a>. Normative References</span>
[<a id="ref-RFC0791">RFC0791</a>] Postel, J., "Internet Protocol", STD 5, <a href="./rfc791">RFC 791</a>, September
1981.
[<a id="ref-RFC0792">RFC0792</a>] Postel, J., "Internet Control Message Protocol", STD 5,
<a href="./rfc792">RFC 792</a>, September 1981.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC2460">RFC2460</a>] Deering, S. and R. Hinden, "Internet Protocol, Version 6
(IPv6) Specification", <a href="./rfc2460">RFC 2460</a>, December 1998.
<span class="h3"><a class="selflink" id="section-14.2" href="#section-14.2">14.2</a>. Informative References</span>
[<a id="ref-FOLK">FOLK</a>] C, C., D, D., and k. k, "Beyond Folklore: Observations on
Fragmented Traffic", December 2002.
[<a id="ref-FRAG">FRAG</a>] Kent, C. and J. Mogul, "Fragmentation Considered Harmful",
October 1987.
[<a id="ref-MTUDWG">MTUDWG</a>] "IETF MTU Discovery Working Group mailing list,
gatekeeper.dec.com/pub/DEC/WRL/mogul/mtudwg-log,
November 1989 - February 1995.".
[<a id="ref-RFC1063">RFC1063</a>] Mogul, J., Kent, C., Partridge, C., and K. McCloghrie, "IP
MTU discovery options", <a href="./rfc1063">RFC 1063</a>, July 1988.
<span class="grey">Templin Experimental [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
[<a id="ref-RFC1191">RFC1191</a>] Mogul, J. and S. Deering, "Path MTU discovery", <a href="./rfc1191">RFC 1191</a>,
November 1990.
[<a id="ref-RFC1981">RFC1981</a>] McCann, J., Deering, S., and J. Mogul, "Path MTU Discovery
for IP version 6", <a href="./rfc1981">RFC 1981</a>, August 1996.
[<a id="ref-RFC2003">RFC2003</a>] Perkins, C., "IP Encapsulation within IP", <a href="./rfc2003">RFC 2003</a>,
October 1996.
[<a id="ref-RFC2004">RFC2004</a>] Perkins, C., "Minimal Encapsulation within IP", <a href="./rfc2004">RFC 2004</a>,
October 1996.
[<a id="ref-RFC2764">RFC2764</a>] Gleeson, B., Lin, A., Heinanen, J., Armitage, G., and A.
Malis, "A Framework for IP Based Virtual Private
Networks", <a href="./rfc2764">RFC 2764</a>, February 2000.
[<a id="ref-RFC2923">RFC2923</a>] Lahey, K., "TCP Problems with Path MTU Discovery", <a href="./rfc2923">RFC</a>
<a href="./rfc2923">2923</a>, September 2000.
[<a id="ref-RFC3692">RFC3692</a>] Narten, T., "Assigning Experimental and Testing Numbers
Considered Useful", <a href="https://www.rfc-editor.org/bcp/bcp82">BCP 82</a>, <a href="./rfc3692">RFC 3692</a>, January 2004.
[<a id="ref-RFC3819">RFC3819</a>] Karn, P., Ed., Bormann, C., Fairhurst, G., Grossman, D.,
Ludwig, R., Mahdavi, J., Montenegro, G., Touch, J., and L.
Wood, "Advice for Internet Subnetwork Designers", <a href="https://www.rfc-editor.org/bcp/bcp89">BCP 89</a>,
<a href="./rfc3819">RFC 3819</a>, July 2004.
[<a id="ref-RFC4213">RFC4213</a>] Nordmark, E. and R. Gilligan, "Basic Transition Mechanisms
for IPv6 Hosts and Routers", <a href="./rfc4213">RFC 4213</a>, October 2005.
[<a id="ref-RFC4301">RFC4301</a>] Kent, S. and K. Seo, "Security Architecture for the
Internet Protocol", <a href="./rfc4301">RFC 4301</a>, December 2005.
[<a id="ref-RFC4380">RFC4380</a>] Huitema, C., "Teredo: Tunneling IPv6 over UDP through
Network Address Translations (NATs)", <a href="./rfc4380">RFC 4380</a>, February
2006.
[<a id="ref-RFC4459">RFC4459</a>] Savola, P., "MTU and Fragmentation Issues with In-the-
Network Tunneling", <a href="./rfc4459">RFC 4459</a>, April 2006.
[<a id="ref-RFC4727">RFC4727</a>] Fenner, B., "Experimental Values In IPv4, IPv6, ICMPv4,
ICMPv6, UDP, and TCP Headers", <a href="./rfc4727">RFC 4727</a>, November 2006.
[<a id="ref-RFC4821">RFC4821</a>] Mathis, M. and J. Heffner, "Packetization Layer Path MTU
Discovery", <a href="./rfc4821">RFC 4821</a>, March 2007.
[<a id="ref-RFC4963">RFC4963</a>] Heffner, J., Mathis, M., and B. Chandler, "IPv4 Reassembly
Errors at High Data Rates", <a href="./rfc4963">RFC 4963</a>, July 2007.
<span class="grey">Templin Experimental [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
[<a id="ref-TCP-IP">TCP-IP</a>] "Archive/Hypermail of Early TCp-IP Mail List",
<a href="http://www-mice.cs.ucl.ac.uk/multimedia/misc/tcp_ip/">http://www-mice.cs.ucl.ac.uk/multimedia/misc/tcp_ip/</a>,
May 1987 - May 1990.
<span class="grey">Templin Experimental [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Historic Evolution of PMTUD</span>
(Taken from "Neighbor Affiliation Protocol for IPv6-over-(foo)-over-
IPv4"; written 10/30/2002):
The topic of Path MTU discovery (PMTUD) saw a flurry of discussion
and numerous proposals in the late 1980's through early 1990. The
initial problem was posed by Art Berggreen on May 22, 1987 in a
message to the TCP-IP discussion group [<a href="#ref-TCP-IP" title=""Archive/Hypermail of Early TCp-IP Mail List"">TCP-IP</a>]. The discussion that
followed provided significant reference material for [<a href="#ref-FRAG" title=""Fragmentation Considered Harmful"">FRAG</a>]. An IETF
Path MTU Discovery Working Group [<a href="#ref-MTUDWG" title=""IETF MTU Discovery Working Group mailing list, gatekeeper.dec.com/pub/DEC/WRL/mogul/mtudwg-log, November 1989 - February 1995."">MTUDWG</a>] was formed in late 1989
with charter to produce an RFC. Several variations on a very few
basic proposals were entertained, including:
1. Routers record the PMTUD estimate in ICMP-like path probe
messages (proposed in [<a href="#ref-FRAG" title=""Fragmentation Considered Harmful"">FRAG</a>] and later [<a href="./rfc1063" title=""IP MTU discovery options"">RFC1063</a>])
2. The destination reports any fragmentation that occurs for packets
received with the "RF" (Report Fragmentation) bit set (Steve
Deering's 1989 adaptation of Charles Lynn's Nov. 1987 proposal)
3. A hybrid combination of 1) and Charles Lynn's Nov. 1987 (straw
RFC draft by McCloughrie, Fox and Mogul on Jan 12, 1990)
4. Combination of the Lynn proposal with TCP (Fred Bohle, Jan 30,
1990)
5. Fragmentation avoidance by setting "IP_DF" flag on all packets
and retransmitting if ICMPv4 "fragmentation needed" messages
occur (Geof Cooper's 1987 proposal; later adapted into [<a href="./rfc1191" title=""Path MTU discovery"">RFC1191</a>]
by Mogul and Deering).
Option 1) seemed attractive to the group at the time, since it was
believed that routers would migrate more quickly than hosts. Option
2) was a strong contender, but repeated attempts to secure an "RF"
bit in the IPv4 header from the IESG failed and the proponents became
discouraged. 3) was abandoned because it was perceived as too
complicated, and 4) never received any apparent serious
consideration. Proposal 5) was a late entry into the discussion from
Steve Deering on Feb. 24th, 1990. The discussion group soon
thereafter seemingly lost track of all other proposals and adopted
5), which eventually evolved into [<a href="./rfc1191" title=""Path MTU discovery"">RFC1191</a>] and later [<a href="./rfc1981" title=""Path MTU Discovery for IP version 6"">RFC1981</a>].
In retrospect, the "RF" bit postulated in 2) is not needed if a
"contract" is first established between the peers, as in proposal 4)
and a message to the MTUDWG mailing list from jrd@PTT.LCS.MIT.EDU on
Feb 19. 1990. These proposals saw little discussion or rebuttal, and
were dismissed based on the following the assertions:
<span class="grey">Templin Experimental [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
o routers upgrade their software faster than hosts
o PCs could not reassemble fragmented packets
o Proteon and Wellfleet routers did not reproduce the "RF" bit
properly in fragmented packets
o Ethernet-FDDI bridges would need to perform fragmentation
(i.e., "translucent" not "transparent" bridging)
o the 16-bit IP_ID field could wrap around and disrupt reassembly
at high packet arrival rates
The first four assertions, although perhaps valid at the time, have
been overcome by historical events leaving only the final to
consider. But, [<a href="#ref-FOLK" title=""Beyond Folklore: Observations on Fragmented Traffic"">FOLK</a>] has shown that IP_ID wraparound simply does
not occur within several orders of magnitude the reassembly timeout
window on high-bandwidth networks.
(Author's 2/11/08 note: this final point was based on a loose
interpretation of [<a href="#ref-FOLK" title=""Beyond Folklore: Observations on Fragmented Traffic"">FOLK</a>], and is more accurately addressed in
[<a href="./rfc4963" title=""IPv4 Reassembly Errors at High Data Rates"">RFC4963</a>].)
<span class="grey">Templin Experimental [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc5320">RFC 5320</a> SEAL February 2010</span>
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Reliability Extensions</span>
The SEAL header includes a Reserved (RSV) field that is set to zero
for the purpose of this specification. This field may be used by
future updates to this specification for the purpose of improved
reliability in the face of loss due to congestion, signal
intermittence, etc. Automatic Repeat-ReQuest (ARQ) mechanisms are
used to ensure reliable delivery between the endpoints of physical
links (e.g., on-link neighbors in an IEEE 802.11 network) as well as
between the endpoints of an end-to-end transport (e.g., the endpoints
of a TCP connection). However, ARQ mechanisms may be poorly suited
to in-the-network elements such as the SEAL ITE and ETE, since
retransmission of lost segments would require unacceptable state
maintenance at the ITE and would result in packet reordering within
the subnetwork.
Instead, alternate reliability mechanisms such as Forward Error
Correction (FEC) may be specified in future updates to this
specification for the purpose of improved reliability. Such
mechanisms may entail the ITE performing proactive transmissions of
redundant data, e.g., by sending multiple copies of the same data.
Signaling from the ETE (e.g., by sending SEAL-encapsulated ICMPv4
Source Quench messages) may be specified in a future document as a
means for the ETE to dynamically inform the ITE of changing FEC
conditions.
Author's Address
Fred L. Templin, Editor
Boeing Research & Technology
P.O. Box 3707
Seattle, WA 98124
USA
EMail: fltemplin@acm.org
Templin Experimental [Page 29]
</pre>
|