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
|
<pre>Internet Engineering Task Force (IETF) L. Yong, Ed.
Request for Comments: 8086 Huawei Technologies
Category: Standards Track E. Crabbe
ISSN: 2070-1721 Oracle
X. Xu
Huawei Technologies
T. Herbert
Facebook
March 2017
<span class="h1">GRE-in-UDP Encapsulation</span>
Abstract
This document specifies a method of encapsulating network protocol
packets within GRE and UDP headers. This GRE-in-UDP encapsulation
allows the UDP source port field to be used as an entropy field.
This may be used for load-balancing of GRE traffic in transit
networks using existing Equal-Cost Multipath (ECMP) mechanisms.
There are two applicability scenarios for GRE-in-UDP with different
requirements: (1) general Internet and (2) a traffic-managed
controlled environment. The controlled environment has less
restrictive requirements than the general Internet.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc7841#section-2">Section 2 of RFC 7841</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/rfc8086">http://www.rfc-editor.org/info/rfc8086</a>.
<span class="grey">Yong, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
Copyright Notice
Copyright (c) 2017 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. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Yong, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</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>. Terminology ................................................<a href="#page-5">5</a>
<a href="#section-1.2">1.2</a>. Requirements Language ......................................<a href="#page-5">5</a>
<a href="#section-2">2</a>. Applicability Statement .........................................<a href="#page-6">6</a>
<a href="#section-2.1">2.1</a>. GRE-in-UDP Tunnel Requirements .............................<a href="#page-6">6</a>
<a href="#section-2.1.1">2.1.1</a>. Requirements for Default GRE-in-UDP Tunnel ..........<a href="#page-7">7</a>
<a href="#section-2.1.2">2.1.2</a>. Requirements for TMCE GRE-in-UDP Tunnel .............<a href="#page-8">8</a>
<a href="#section-3">3</a>. GRE-in-UDP Encapsulation ........................................<a href="#page-9">9</a>
<a href="#section-3.1">3.1</a>. IP Header .................................................<a href="#page-11">11</a>
<a href="#section-3.2">3.2</a>. UDP Header ................................................<a href="#page-11">11</a>
<a href="#section-3.2.1">3.2.1</a>. Source Port ........................................<a href="#page-11">11</a>
<a href="#section-3.2.2">3.2.2</a>. Destination Port ...................................<a href="#page-11">11</a>
<a href="#section-3.2.3">3.2.3</a>. Checksum ...........................................<a href="#page-12">12</a>
<a href="#section-3.2.4">3.2.4</a>. Length .............................................<a href="#page-12">12</a>
<a href="#section-3.3">3.3</a>. GRE Header ................................................<a href="#page-12">12</a>
<a href="#section-4">4</a>. Encapsulation Procedures .......................................<a href="#page-13">13</a>
<a href="#section-4.1">4.1</a>. MTU and Fragmentation .....................................<a href="#page-13">13</a>
<a href="#section-4.2">4.2</a>. Differentiated Services and ECN Marking ...................<a href="#page-14">14</a>
<a href="#section-5">5</a>. Use of DTLS ....................................................<a href="#page-14">14</a>
<a href="#section-6">6</a>. UDP Checksum Handling ..........................................<a href="#page-15">15</a>
<a href="#section-6.1">6.1</a>. UDP Checksum with IPv4 ....................................<a href="#page-15">15</a>
<a href="#section-6.2">6.2</a>. UDP Checksum with IPv6 ....................................<a href="#page-15">15</a>
<a href="#section-7">7</a>. Middlebox Considerations .......................................<a href="#page-18">18</a>
<a href="#section-7.1">7.1</a>. Middlebox Considerations for Zero Checksums ...............<a href="#page-19">19</a>
<a href="#section-8">8</a>. Congestion Considerations ......................................<a href="#page-19">19</a>
<a href="#section-9">9</a>. Backward Compatibility .........................................<a href="#page-20">20</a>
<a href="#section-10">10</a>. IANA Considerations ...........................................<a href="#page-21">21</a>
<a href="#section-11">11</a>. Security Considerations .......................................<a href="#page-21">21</a>
<a href="#section-12">12</a>. References ....................................................<a href="#page-22">22</a>
<a href="#section-12.1">12.1</a>. Normative References .....................................<a href="#page-22">22</a>
<a href="#section-12.2">12.2</a>. Informative References ...................................<a href="#page-23">23</a>
Acknowledgements ..................................................<a href="#page-25">25</a>
Contributors ......................................................<a href="#page-25">25</a>
Authors' Addresses ................................................<a href="#page-27">27</a>
<span class="grey">Yong, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document specifies a generic GRE-in-UDP encapsulation for
tunneling network protocol packets across an IP network based on
Generic Routing Encapsulation (GRE) [<a href="./rfc2784" title=""Generic Routing Encapsulation (GRE)"">RFC2784</a>] [<a href="./rfc7676" title=""IPv6 Support for Generic Routing Encapsulation (GRE)"">RFC7676</a>] and User
Datagram Protocol (UDP) [<a href="./rfc768" title=""User Datagram Protocol"">RFC768</a>] headers. The GRE header indicates
the payload protocol type via an EtherType [<a href="./rfc7042" title=""IANA Considerations and IETF Protocol and Documentation Usage for IEEE 802 Parameters"">RFC7042</a>] in the protocol
type field, and the source port field in the UDP header may be used
to provide additional entropy.
A GRE-in-UDP tunnel offers the possibility of better performance for
load-balancing GRE traffic in transit networks using existing Equal-
Cost Multipath (ECMP) mechanisms that use a hash of the five-tuple of
source IP address, destination IP address, UDP/TCP source port,
UDP/TCP destination port, and protocol number. While such hashing
distributes UDP and TCP [<a href="./rfc793" title=""Transmission Control Protocol"">RFC793</a>] traffic between a common pair of IP
addresses across paths, it uses a single path for corresponding GRE
traffic because only the two IP addresses and the Protocol or Next
Header field participate in the ECMP hash. Encapsulating GRE in UDP
enables use of the UDP source port to provide entropy to ECMP
hashing.
In addition, GRE-in-UDP enables extending use of GRE across networks
that otherwise disallow it; for example, GRE-in-UDP may be used to
bridge two islands where GRE is not supported natively across the
middleboxes.
GRE-in-UDP encapsulation may be used to encapsulate already tunneled
traffic, i.e., tunnel-in-tunnel traffic. In this case, GRE-in-UDP
tunnels treat the endpoints of the outer tunnel as the end hosts; the
presence of an inner tunnel does not change the outer tunnel's
handling of network traffic.
A GRE-in-UDP tunnel is capable of carrying arbitrary traffic and
behaves as a UDP application on an IP network. However, a GRE-in-UDP
tunnel carrying certain types of traffic does not satisfy the
requirements for UDP applications on the Internet [<a href="./rfc8085" title=""UDP Usage Guidelines"">RFC8085</a>].
GRE-in-UDP tunnels that do not satisfy these requirements MUST NOT be
deployed to carry such traffic over the Internet. For this reason,
this document specifies two deployment scenarios for GRE-in-UDP
tunnels with GRE-in-UDP tunnel requirements for each of them: (1)
general Internet and (2) a traffic-managed controlled environment
(TMCE). Compared to the general Internet scenario, the TMCE scenario
has less restrictive technical requirements for the protocol but more
restrictive management and operation requirements for the network.
<span class="grey">Yong, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
To provide security for traffic carried by a GRE-in-UDP tunnel, this
document also specifies Datagram Transport Layer Security (DTLS) for
GRE-in-UDP tunnels, which SHOULD be used when security is a concern.
GRE-in-UDP encapsulation usage requires no changes to the transit IP
network. ECMP hash functions in most existing IP routers may utilize
and benefit from the additional entropy enabled by GRE-in-UDP tunnels
without any change or upgrade to their ECMP implementation. The
encapsulation mechanism is applicable to a variety of IP networks
including Data Center Networks and Wide Area Networks, as well as
both IPv4 and IPv6 networks.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Terminology</span>
The terms defined in [<a href="./rfc768" title=""User Datagram Protocol"">RFC768</a>] and [<a href="./rfc2784" title=""Generic Routing Encapsulation (GRE)"">RFC2784</a>] are used in this
document. Below are additional terms used in this document.
Decapsulator: a component performing packet decapsulation at tunnel
egress.
ECMP: Equal-Cost Multipath.
Encapsulator: a component performing packet encapsulation at tunnel
egress.
Flow Entropy: The information to be derived from traffic or
applications and to be used by network devices in the ECMP process
[<a href="./rfc6438" title=""Using the IPv6 Flow Label for Equal Cost Multipath Routing and Link Aggregation in Tunnels"">RFC6438</a>].
Default GRE-in-UDP Tunnel: A GRE-in-UDP tunnel that can apply to the
general Internet.
TMCE: A traffic-managed controlled environment, i.e., an IP network
that is traffic-engineered and/or otherwise managed (e.g., via use of
traffic rate limiters) to avoid congestion, as defined in <a href="#section-2">Section 2</a>.
TMCE GRE-in-UDP Tunnel: A GRE-in-UDP tunnel that can only apply to a
traffic-managed controlled environment that is defined in <a href="#section-2">Section 2</a>.
Tunnel Egress: A tunnel endpoint that performs packet decapsulation.
Tunnel Ingress: A tunnel endpoint that performs packet encapsulation.
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Requirements Language</span>
The key words "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 href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Yong, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Applicability Statement</span>
GRE-in-UDP encapsulation applies to IPv4 and IPv6 networks; in both
cases, encapsulated packets are treated as UDP datagrams. Therefore,
a GRE-in-UDP tunnel needs to meet the UDP usage requirements
specified in [<a href="./rfc8085" title=""UDP Usage Guidelines"">RFC8085</a>]. These requirements depend on both the
delivery network and the nature of the encapsulated traffic. For
example, the GRE-in-UDP tunnel protocol does not provide any
congestion control functionality beyond that of the encapsulated
traffic. Therefore, a GRE-in-UDP tunnel MUST be used only with
congestion-controlled traffic (e.g., IP unicast traffic) and/or
within a network that is traffic managed to avoid congestion.
[<a id="ref-RFC8085">RFC8085</a>] describes two applicability scenarios for UDP applications:
(1) general internet and (2) a controlled environment. The
controlled environment means a single administrative domain or
bilaterally agreed connection between domains. A network forming a
controlled environment can be managed/operated to meet certain
conditions, while the general Internet cannot be; thus, the
requirements for a tunnel protocol operating under a controlled
environment can be less restrictive than the requirements in the
general Internet.
For the purpose of this document, a traffic-managed controlled
environment (TMCE) is defined as an IP network that is traffic-
engineered and/or otherwise managed (e.g., via use of traffic rate
limiters) to avoid congestion.
This document specifies GRE-in-UDP tunnel usage in the general
Internet and GRE-in-UDP tunnel usage in a traffic-managed controlled
environment and uses "default GRE-in-UDP tunnel" and "TMCE GRE-in-UDP
tunnel" terms to refer to each usage.
NOTE: Although this document specifies two different sets of GRE-in-
UDP tunnel requirements based on tunnel usage, the tunnel
implementation itself has no ability to detect how and where it is
deployed. Therefore, it is the responsibility of the user or
operator who deploys a GRE-in-UDP tunnel to ensure that it meets the
appropriate requirements.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. GRE-in-UDP Tunnel Requirements</span>
This section states the requirements for a GRE-in-UDP tunnel.
<a href="#section-2.1.1">Section 2.1.1</a> describes the requirements for a default GRE-in-UDP
tunnel that is suitable for the general Internet; <a href="#section-2.1.2">Section 2.1.2</a>
describes a set of relaxed requirements for a TMCE GRE-in-UDP tunnel
used in a traffic-managed controlled environment. Both Sections
2.1.1 and 2.1.2 are applicable to an IPv4 or IPv6 delivery network.
<span class="grey">Yong, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
<span class="h4"><a class="selflink" id="section-2.1.1" href="#section-2.1.1">2.1.1</a>. Requirements for Default GRE-in-UDP Tunnel</span>
The following is a summary of the default GRE-in-UDP tunnel
requirements:
1. A UDP checksum SHOULD be used when encapsulating in IPv4.
2. A UDP checksum MUST be used when encapsulating in IPv6.
3. GRE-in-UDP tunnel MUST NOT be deployed or configured to carry
traffic that is not congestion controlled. As stated in
[<a href="./rfc8085" title=""UDP Usage Guidelines"">RFC8085</a>], IP-based unicast traffic is generally assumed to be
congestion controlled, i.e., it is assumed that the transport
protocols generating IP-based traffic at the sender already
employ mechanisms that are sufficient to address congestion on
the path. A default GRE-in-UDP tunnel is not appropriate for
traffic that is not known to be congestion controlled (e.g., most
IP multicast traffic).
4. UDP source port values that are used as a source of flow entropy
SHOULD be chosen from the ephemeral port range (49152-65535)
[<a href="./rfc8085" title=""UDP Usage Guidelines"">RFC8085</a>].
5. The use of the UDP source port MUST be configurable so that a
single value can be set for all traffic within the tunnel (this
disables use of the UDP source port to provide flow entropy).
When a single value is set, a random port taken from the
ephemeral port range SHOULD be selected in order to minimize the
vulnerability to off-path attacks [<a href="./rfc6056" title=""Recommendations for Transport- Protocol Port Randomization"">RFC6056</a>].
6. For IPv6 delivery networks, the flow entropy SHOULD also be
placed in the flow label field for ECMP per [<a href="./rfc6438" title=""Using the IPv6 Flow Label for Equal Cost Multipath Routing and Link Aggregation in Tunnels"">RFC6438</a>].
7. At the tunnel ingress, any fragmentation of the incoming packet
(e.g., because the tunnel has a Maximum Transmission Unit (MTU)
that is smaller than the packet) SHOULD be performed before
encapsulation. In addition, the tunnel ingress MUST apply the
UDP checksum to all encapsulated fragments so that the tunnel
egress can validate reassembly of the fragments; it MUST set the
same Differentiated Services Code Point (DSCP) value as in the
Differentiated Services (DS) field of the payload packet in all
fragments [<a href="./rfc2474" title=""Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers"">RFC2474</a>]. To avoid unwanted forwarding over multiple
paths, the same source UDP port value SHOULD be set in all packet
fragments.
<span class="grey">Yong, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
<span class="h4"><a class="selflink" id="section-2.1.2" href="#section-2.1.2">2.1.2</a>. Requirements for TMCE GRE-in-UDP Tunnel</span>
The section contains the TMCE GRE-in-UDP tunnel requirements. It
lists the changed requirements, compared with a Default GRE-in-UDP
tunnel, for a TMCE GRE-in-UDP tunnel, which corresponds to
requirements 1-3 listed in <a href="#section-2.1.1">Section 2.1.1</a>.
1. A UDP checksum SHOULD be used when encapsulating in IPv4. A
tunnel endpoint sending GRE-in-UDP MAY disable the UDP checksum,
since GRE has been designed to work without a UDP checksum
[<a href="./rfc2784" title=""Generic Routing Encapsulation (GRE)"">RFC2784</a>]. However, a checksum also offers protection from
misdelivery to another port.
2. Use of the UDP checksum MUST be the default when encapsulating in
IPv6. This default MAY be overridden via configuration of UDP
zero-checksum mode. All usage of UDP zero-checksum mode with
IPv6 is subject to the additional requirements specified in
<a href="#section-6.2">Section 6.2</a>.
3. A GRE-in-UDP tunnel MAY encapsulate traffic that is not
congestion controlled.
Requirements 4-7 listed in <a href="#section-2.1.1">Section 2.1.1</a> also apply to a TMCE GRE-in-
UDP tunnel.
<span class="grey">Yong, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. GRE-in-UDP Encapsulation</span>
The GRE-in-UDP encapsulation format contains a UDP header [<a href="./rfc768" title=""User Datagram Protocol"">RFC768</a>]
and a GRE header [<a href="./rfc2890" title=""Key and Sequence Number Extensions to GRE"">RFC2890</a>]. The format is shown as follows
(presented in bit order):
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
IPv4 Header:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Version| IHL |Type of Service| Total Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identification |Flags| Fragment Offset |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Time to Live | Prot.=17(UDP) | Header Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source IPv4 Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination IPv4 Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
UDP Header:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source Port = Entropy Value | Dest. Port = 4754/4755 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| UDP Length | UDP Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
GRE Header:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|C| |K|S| Reserved0 | Ver | Protocol Type |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Checksum (optional) | Reserved1 (Optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Key (optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number (optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: UDP + GRE Headers in IPv4
<span class="grey">Yong, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
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
IPv6 Header:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Version| Traffic Class | Flow Label |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Payload Length | NxtHdr=17(UDP)| Hop Limit |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ +
| |
+ Outer Source IPv6 Address +
| |
+ +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ +
| |
+ Outer Destination IPv6 Address +
| |
+ +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
UDP Header:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source Port = entropy value | Dest. Port = 4754/4755 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| UDP Length | UDP Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
GRE Header:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|C| |K|S| Reserved0 | Ver | Protocol Type |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Checksum (optional) | Reserved1 (Optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Key (optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number (optional) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 2: UDP + GRE Headers in IPv6
The contents of the IP, UDP, and GRE headers that are relevant in
this encapsulation are described below.
<span class="grey">Yong, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. IP Header</span>
An encapsulator MUST encode its own IP address as the source IP
address and the decapsulator's IP address as the destination IP
address. A sufficiently large value is needed in the IPv4 TTL field
or IPv6 Hop Count field to allow delivery of the encapsulated packet
to the peer of the encapsulation.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. UDP Header</span>
<span class="h4"><a class="selflink" id="section-3.2.1" href="#section-3.2.1">3.2.1</a>. Source Port</span>
GRE-in-UDP permits the UDP source port value to be used to encode an
entropy value. The UDP source port contains a 16-bit entropy value
that is generated by the encapsulator to identify a flow for the
encapsulated packet. The port value SHOULD be within the ephemeral
port range, i.e., 49152 to 65535, where the high-order two bits of
the port are set to one. This provides fourteen bits of entropy for
the inner flow identifier. In the case that an encapsulator is
unable to derive flow entropy from the payload header or the entropy
usage has to be disabled to meet operational requirements (see
<a href="#section-7">Section 7</a>), to avoid reordering with a packet flow, the encapsulator
SHOULD use the same UDP source port value for all packets assigned to
a flow, e.g., the result of an algorithm that performs a hash of the
tunnel ingress and egress IP address.
The source port value for a flow set by an encapsulator MAY change
over the lifetime of the encapsulated flow. For instance, an
encapsulator may change the assignment for Denial-of-Service (DoS)
mitigation or as a means to effect routing through the ECMP network.
An encapsulator SHOULD NOT change the source port selected for a flow
more than once every thirty seconds.
An IPv6 GRE-in-UDP tunnel endpoint SHOULD copy a flow entropy value
in the IPv6 flow label field (requirement 6). This permits network
equipment to inspect this value and utilize it during forwarding,
e.g., to perform ECMP [<a href="./rfc6438" title=""Using the IPv6 Flow Label for Equal Cost Multipath Routing and Link Aggregation in Tunnels"">RFC6438</a>].
This document places requirements on the generation of the flow
entropy value [<a href="./rfc8085" title=""UDP Usage Guidelines"">RFC8085</a>] but does not specify the algorithm that an
implementation should use to derive this value.
<span class="h4"><a class="selflink" id="section-3.2.2" href="#section-3.2.2">3.2.2</a>. Destination Port</span>
The destination port of the UDP header is set to either GRE-in-UDP
(4754) or GRE-UDP-DTLS (4755); see <a href="#section-5">Section 5</a>.
<span class="grey">Yong, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
<span class="h4"><a class="selflink" id="section-3.2.3" href="#section-3.2.3">3.2.3</a>. Checksum</span>
The UDP checksum is set and processed per [<a href="./rfc768" title=""User Datagram Protocol"">RFC768</a>] and [<a href="./rfc1122" title=""Requirements for Internet Hosts - Communication Layers"">RFC1122</a>] for
IPv4 and per [<a href="./rfc2460" title=""Internet Protocol, Version 6 (IPv6) Specification"">RFC2460</a>] for IPv6. Requirements for checksum handling
and use of zero UDP checksums are detailed in <a href="#section-6">Section 6</a>.
<span class="h4"><a class="selflink" id="section-3.2.4" href="#section-3.2.4">3.2.4</a>. Length</span>
The usage of this field is in accordance with the current UDP
specification in [<a href="./rfc768" title=""User Datagram Protocol"">RFC768</a>]. This length will include the UDP header
(eight bytes), GRE header, and the GRE payload (encapsulated packet).
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. GRE Header</span>
An encapsulator sets the protocol type (EtherType) of the packet
being encapsulated in the GRE Protocol Type field.
An encapsulator MAY set the GRE Key Present, Sequence Number Present,
and Checksum Present bits and associated fields in the GRE header as
defined by [<a href="./rfc2784" title=""Generic Routing Encapsulation (GRE)"">RFC2784</a>] and [<a href="./rfc2890" title=""Key and Sequence Number Extensions to GRE"">RFC2890</a>]. Usage of the reserved bits,
i.e., Reserved0, is specified in [<a href="./rfc2784" title=""Generic Routing Encapsulation (GRE)"">RFC2784</a>].
The GRE checksum MAY be enabled to protect the GRE header and
payload. When the UDP checksum is enabled, it protects the GRE
payload, resulting in the GRE checksum being mostly redundant.
Enabling both checksums may result in unnecessary processing. Since
the UDP checksum covers the pseudo-header and the packet payload,
including the GRE header and its payload, the UDP checksum SHOULD be
used in preference to the GRE checksum.
An implementation MAY use the GRE Key field to authenticate the
encapsulator. (See the Security Considerations section.) In this
model, a shared value is either configured or negotiated between an
encapsulator and decapsulator. When a decapsulator determines that a
presented key is not valid for the source, the packet MUST be
dropped.
Although the GRE-in-UDP encapsulation protocol uses both the UDP
header and GRE header, it is one tunnel encapsulation protocol. The
GRE and UDP headers MUST be applied and removed as a pair at the
encapsulation and decapsulation points. This specification does not
support UDP encapsulation of a GRE header where that GRE header is
applied or removed at a network node other than the UDP tunnel
ingress or egress.
<span class="grey">Yong, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Encapsulation Procedures</span>
The procedures specified in this section apply to both a default GRE-
in-UDP tunnel and a TMCE GRE-in-UDP tunnel.
The GRE-in-UDP encapsulation allows encapsulated packets to be
forwarded through "GRE-in-UDP tunnels". The encapsulator MUST set
the UDP and GRE headers according to <a href="#section-3">Section 3</a>.
Intermediate routers, upon receiving these UDP encapsulated packets,
could load-balance these packets based on the hash of the five-tuple
of UDP packets.
Upon receiving these UDP encapsulated packets, the decapsulator
decapsulates them by removing the UDP and GRE headers and then
processes them accordingly.
GRE-in-UDP can encapsulate traffic with unicast, IPv4 broadcast, or
multicast (see requirement 3 in <a href="#section-2.1.1">Section 2.1.1</a>). However, a default
GRE-in-UDP tunnel MUST NOT be deployed or configured to carry traffic
that is not congestion-controlled (see requirement 3 in <a href="#section-2.1.1">Section</a>
<a href="#section-2.1.1">2.1.1</a>). Entropy may be generated from the header of encapsulated
packets at an encapsulator. The mapping mechanism between the
encapsulated multicast traffic and the multicast capability in the IP
network is transparent and independent of the encapsulation and is
otherwise outside the scope of this document.
To provide entropy for ECMP, GRE-in-UDP does not rely on GRE keep-
alive. It is RECOMMENDED not to use GRE keep-alive in the GRE-in-UDP
tunnel. This aligns with middlebox traversal guidelines in
<a href="./rfc8085#section-3.5">Section 3.5 of [RFC8085]</a>.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. MTU and Fragmentation</span>
Regarding packet fragmentation, an encapsulator/decapsulator SHOULD
perform fragmentation before the encapsulation. The size of
fragments SHOULD be less than or equal to the Path MTU (PMTU)
associated with the path between the GRE ingress and the GRE egress
tunnel endpoints minus the GRE and UDP overhead, assuming the egress
MTU for reassembled packets is larger than the PMTU. When applying
payload fragmentation, the UDP checksum MUST be used so that the
receiving endpoint can validate reassembly of the fragments; the same
source UDP port SHOULD be used for all packet fragments to ensure the
transit routers will forward the fragments on the same path.
<span class="grey">Yong, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
If the operator of the transit network supporting the tunnel is able
to control the payload MTU size, the MTU SHOULD be configured to
avoid fragmentation, i.e., sufficient for the largest supported size
of packet, including all additional bytes introduced by the tunnel
overhead [<a href="./rfc8085" title=""UDP Usage Guidelines"">RFC8085</a>].
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Differentiated Services and ECN Marking</span>
To ensure that tunneled traffic receives the same treatment over the
IP network as traffic that is not tunneled, prior to the
encapsulation process, an encapsulator processes the tunneled IP
packet headers to retrieve appropriate parameters for the
encapsulating IP packet header such as Diffserv [<a href="./rfc2983" title=""Differentiated Services and Tunnels"">RFC2983</a>].
Encapsulation endpoints that support Explicit Congestion Notification
(ECN) must use the method described in [<a href="./rfc6040" title=""Tunnelling of Explicit Congestion Notification"">RFC6040</a>] for ECN marking
propagation. The congestion control process is outside of the scope
of this document.
Additional information on IP header processing is provided in
<a href="#section-3.1">Section 3.1</a>.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Use of DTLS</span>
Datagram Transport Layer Security (DTLS) [<a href="./rfc6347" title=""Datagram Transport Layer Security Version 1.2"">RFC6347</a>] can be used for
application security and can preserve network- and transport-layer
protocol information. Specifically, if DTLS is used to secure the
GRE-in-UDP tunnel, the destination port of the UDP header MUST be set
to the IANA-assigned value (4755) indicating GRE-in-UDP with DTLS,
and that UDP port MUST NOT be used for other traffic. The UDP source
port field can still be used to add entropy, e.g., for load-sharing
purposes. DTLS applies to a default GRE-in-UDP tunnel and a TMCE
GRE-in-UDP tunnel.
Use of DTLS is limited to a single DTLS session for any specific
tunnel encapsulator/decapsulator pair (identified by source and
destination IP addresses). Both IP addresses MUST be unicast
addresses -- multicast traffic is not supported when DTLS is used. A
GRE-in-UDP tunnel decapsulator that supports DTLS is expected to be
able to establish DTLS sessions with multiple tunnel encapsulators,
and likewise a GRE-in-UDP tunnel encapsulator is expected to be able
to establish DTLS sessions with multiple decapsulators. Different
source and/or destination IP addresses will be involved; see
<a href="#section-6.2">Section 6.2</a> for discussion of one situation where use of different
source IP addresses is important.
<span class="grey">Yong, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
When DTLS is used for a GRE-in-UDP tunnel, if a packet is received
from the tunnel and that packet is not protected by the DTLS session
or part of DTLS negotiation (e.g., a DTLS handshake message
[<a href="./rfc6347" title=""Datagram Transport Layer Security Version 1.2"">RFC6347</a>]), the tunnel receiver MUST discard that packet and SHOULD
log that discard event and information about the discarded packet.
DTLS SHOULD be used for a GRE-in-UDP tunnel to meet security
requirements of the original traffic that is delivered by a GRE-in-
UDP tunnel. There are cases where no additional security is
required, e.g., the traffic to be encapsulated is already encrypted
or the tunnel is deployed within an operationally secured network.
Use of DTLS for a GRE-in-UDP tunnel requires both tunnel endpoints to
configure use of DTLS.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. UDP Checksum Handling</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. UDP Checksum with IPv4</span>
For UDP in IPv4, when a non-zero UDP checksum is used, the UDP
checksum MUST be processed as specified in [<a href="./rfc768" title=""User Datagram Protocol"">RFC768</a>] and [<a href="./rfc1122" title=""Requirements for Internet Hosts - Communication Layers"">RFC1122</a>] for
both transmit and receive. The IPv4 header includes a checksum that
protects against misdelivery of the packet due to corruption of IP
addresses. The UDP checksum potentially provides protection against
corruption of the UDP header, GRE header, and GRE payload. Disabling
the use of checksums is a deployment consideration that should take
into account the risk and effects of packet corruption.
When a decapsulator receives a packet, the UDP checksum field MUST be
processed. If the UDP checksum is non-zero, the decapsulator MUST
verify the checksum before accepting the packet. By default, a
decapsulator SHOULD accept UDP packets with a zero checksum. A node
MAY be configured to disallow zero checksums per [<a href="./rfc1122" title=""Requirements for Internet Hosts - Communication Layers"">RFC1122</a>]; this may
be done selectively, for instance, disallowing zero checksums from
certain hosts that are known to be sending over paths subject to
packet corruption. If verification of a non-zero checksum fails, a
decapsulator lacks the capability to verify a non-zero checksum, or a
packet with a zero checksum was received and the decapsulator is
configured to disallow, the packet MUST be dropped and an event MAY
be logged.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. UDP Checksum with IPv6</span>
For UDP in IPv6, the UDP checksum MUST be processed as specified in
[<a href="./rfc768" title=""User Datagram Protocol"">RFC768</a>] and [<a href="./rfc2460" title=""Internet Protocol, Version 6 (IPv6) Specification"">RFC2460</a>] for both transmit and receive.
When UDP is used over IPv6, the UDP checksum is relied upon to
protect both the IPv6 and UDP headers from corruption. As such, a
default GRE-in-UDP tunnel MUST perform UDP checksum; a TMCE GRE-in-
<span class="grey">Yong, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
UDP tunnel MAY be configured with UDP zero-checksum mode if the
traffic-managed controlled environment or a set of closely
cooperating traffic-managed controlled environments (such as by
network operators who have agreed to work together in order to
jointly provide specific services) meet at least one of the following
conditions:
a. It is known (perhaps through knowledge of equipment types and
lower-layer checks) that packet corruption is exceptionally
unlikely and where the operator is willing to take the risk of
undetected packet corruption.
b. It is judged through observational measurements (perhaps of
historic or current traffic flows that use a non-zero checksum)
that the level of packet corruption is tolerably low and where
the operator is willing to take the risk of undetected packet
corruption.
c. Carrying applications that are tolerant of misdelivered or
corrupted packets (perhaps through higher-layer checksum,
validation, and retransmission or transmission redundancy) where
the operator is willing to rely on the applications using the
tunnel to survive any corrupt packets.
The following requirements apply to a TMCE GRE-in-UDP tunnel that
uses UDP zero-checksum mode:
a. Use of the UDP checksum with IPv6 MUST be the default
configuration of all GRE-in-UDP tunnels.
b. The GRE-in-UDP tunnel implementation MUST comply with all
requirements specified in <a href="./rfc6936#section-4">Section 4 of [RFC6936]</a> and with
requirement 1 specified in <a href="./rfc6936#section-5">Section 5 of [RFC6936]</a>.
c. The tunnel decapsulator SHOULD only allow the use of UDP zero-
checksum mode for IPv6 on a single received UDP Destination Port,
regardless of the encapsulator. The motivation for this
requirement is possible corruption of the UDP Destination Port,
which may cause packet delivery to the wrong UDP port. If that
other UDP port requires the UDP checksum, the misdelivered packet
will be discarded.
d. It is RECOMMENDED that the UDP zero-checksum mode for IPv6 is
only enabled for certain selected source addresses. The tunnel
decapsulator MUST check that the source and destination IPv6
addresses are valid for the GRE-in-UDP tunnel on which the packet
was received if that tunnel uses UDP zero-checksum mode and
discard any packet for which this check fails.
<span class="grey">Yong, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
e. The tunnel encapsulator SHOULD use different IPv6 addresses for
each GRE-in-UDP tunnel that uses UDP zero-checksum mode,
regardless of the decapsulator, in order to strengthen the
decapsulator's check of the IPv6 source address (i.e., the same
IPv6 source address SHOULD NOT be used with more than one IPv6
destination address, independent of whether that destination
address is a unicast or multicast address). When this is not
possible, it is RECOMMENDED to use each source IPv6 address for
as few GRE-in-UDP tunnels that use UDP zero-checksum mode as is
feasible.
f. When any middlebox exists on the path of a GRE-in-UDP tunnel, it
is RECOMMENDED to use the default mode, i.e., use UDP checksum,
to reduce the chance that the encapsulated packets will be
dropped.
g. Any middlebox that allows the UDP zero-checksum mode for IPv6
MUST comply with requirements 1 and 8-10 in <a href="./rfc6936#section-5">Section 5 of
[RFC6936]</a>.
h. Measures SHOULD be taken to prevent IPv6 traffic with zero UDP
checksums from "escaping" to the general Internet; see <a href="#section-8">Section 8</a>
for examples of such measures.
i. IPv6 traffic with zero UDP checksums MUST be actively monitored
for errors by the network operator. For example, the operator
may monitor Ethernet-layer packet error rates.
j. If a packet with a non-zero checksum is received, the checksum
MUST be verified before accepting the packet. This is regardless
of whether the tunnel encapsulator and decapsulator have been
configured with UDP zero-checksum mode.
The above requirements do not change either the requirements
specified in [<a href="./rfc2460" title=""Internet Protocol, Version 6 (IPv6) Specification"">RFC2460</a>] as modified by [<a href="./rfc6935" title=""IPv6 and UDP Checksums for Tunneled Packets"">RFC6935</a>] or the requirements
specified in [<a href="./rfc6936" title=""Applicability Statement for the Use of IPv6 UDP Datagrams with Zero Checksums"">RFC6936</a>].
The requirement to check the source IPv6 address in addition to the
destination IPv6 address and the strong recommendation against reuse
of source IPv6 addresses among GRE-in-UDP tunnels collectively
provide some mitigation for the absence of UDP checksum coverage of
the IPv6 header. A traffic-managed controlled environment that
satisfies at least one of three conditions listed at the beginning of
this section provides additional assurance.
A GRE-in-UDP tunnel is suitable for transmission over lower layers in
the traffic-managed controlled environments that are allowed by the
exceptions stated above, and the rate of corruption of the inner IP
<span class="grey">Yong, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
packet on such networks is not expected to increase by comparison to
GRE traffic that is not encapsulated in UDP. For these reasons, GRE-
in-UDP does not provide an additional integrity check except when GRE
checksum is used when UDP zero-checksum mode is used with IPv6, and
this design is in accordance with requirements 2, 3, and 5 specified
in <a href="./rfc6936#section-5">Section 5 of [RFC6936]</a>.
Generic Router Encapsulation (GRE) does not accumulate incorrect
transport-layer state as a consequence of GRE header corruption. A
corrupt GRE packet may result in either packet discard or packet
forwarding without accumulation of GRE state. Active monitoring of
GRE-in-UDP traffic for errors is REQUIRED, as the occurrence of
errors will result in some accumulation of error information outside
the protocol for operational and management purposes. This design is
in accordance with requirement 4 specified in <a href="./rfc6936#section-5">Section 5 of [RFC6936]</a>.
The remaining requirements specified in <a href="./rfc6936#section-5">Section 5 of [RFC6936]</a> are
not applicable to GRE-in-UDP. Requirements 6 and 7 do not apply
because GRE does not include a control feedback mechanism.
Requirements 8-10 are middlebox requirements that do not apply to
GRE-in-UDP tunnel endpoints. (See <a href="#section-7.1">Section 7.1</a> for further middlebox
discussion.)
It is worth mentioning that the use of a zero UDP checksum should
present the equivalent risk of undetected packet corruption when
sending a similar packet using GRE-in-IPv6 without UDP [<a href="./rfc7676" title=""IPv6 Support for Generic Routing Encapsulation (GRE)"">RFC7676</a>] and
without GRE checksums.
In summary, a TMCE GRE-in-UDP tunnel is allowed to use UDP zero-
checksum mode for IPv6 when the conditions and requirements stated
above are met. Otherwise, the UDP checksum needs to be used for IPv6
as specified in [<a href="./rfc768" title=""User Datagram Protocol"">RFC768</a>] and [<a href="./rfc2460" title=""Internet Protocol, Version 6 (IPv6) Specification"">RFC2460</a>]. Use of GRE checksum is
RECOMMENDED when the UDP checksum is not used.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Middlebox Considerations</span>
Many middleboxes read or update UDP port information of the packets
that they forward. Network Address Port Translator (NAPT) is the
most commonly deployed Network Address Translation (NAT) device
[<a href="./rfc4787" title=""Network Address Translation (NAT) Behavioral Requirements for Unicast UDP"">RFC4787</a>]. A NAPT device establishes a NAT session to translate the
{private IP address, private source port number} tuple to a {public
IP address, public source port number} tuple, and vice versa, for the
duration of the UDP session. This provides a UDP application with
the "NAT pass-through" function. NAPT allows multiple internal hosts
to share a single public IP address. The port number, i.e., the UDP
Source Port number, is used as the demultiplexer of the multiple
<span class="grey">Yong, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
internal hosts. However, the above NAPT behaviors conflict with the
behavior of a GRE-in-UDP tunnel that is configured to use the UDP
source port value to provide entropy.
A GRE-in-UDP tunnel is unidirectional; the tunnel traffic is not
expected to be returned back to the UDP source port values used to
generate entropy. However, some middleboxes (e.g., firewalls) assume
that bidirectional traffic uses a common pair of UDP ports. This
assumption also conflicts with the use of the UDP source port field
as entropy.
Hence, use of the UDP source port for entropy may impact middleboxes'
behavior. If a GRE-in-UDP tunnel is expected to be used on a path
with a middlebox, the tunnel can be configured either to disable use
of the UDP source port for entropy or to enable middleboxes to pass
packets with UDP source port entropy.
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Middlebox Considerations for Zero Checksums</span>
IPv6 datagrams with a zero UDP checksum will not be passed by any
middlebox that updates the UDP checksum field or simply validates the
checksum based on [<a href="./rfc2460" title=""Internet Protocol, Version 6 (IPv6) Specification"">RFC2460</a>], such as firewalls. Changing this
behavior would require such middleboxes to be updated to correctly
handle datagrams with zero UDP checksums. The GRE-in-UDP
encapsulation does not provide a mechanism to safely fall back to
using a checksum when a path change occurs that redirects a tunnel
over a path that includes a middlebox that discards IPv6 datagrams
with a zero UDP checksum. In this case, the GRE-in-UDP tunnel will
be black-holed by that middlebox.
As such, when any middlebox exists on the path of a GRE-in-UDP
tunnel, use of the UDP checksum is RECOMMENDED to increase the
probability of successful transmission of GRE-in-UDP packets.
Recommended changes to allow firewalls and other middleboxes to
support use of an IPv6 zero UDP checksum are described in <a href="./rfc6936#section-5">Section 5
of [RFC6936]</a>.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Congestion Considerations</span>
<a href="./rfc8085#section-3.1.9">Section 3.1.9 of [RFC8085]</a> discusses the congestion considerations
for design and use of UDP tunnels; this is important because other
flows could share the path with one or more UDP tunnels,
necessitating congestion control [<a href="./rfc2914" title=""Congestion Control Principles"">RFC2914</a>] to avoid destructive
interference.
Congestion has potential impacts both on the rest of the network
containing a UDP tunnel and on the traffic flows using the UDP
tunnels. These impacts depend upon what sort of traffic is carried
<span class="grey">Yong, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
over the tunnel, as well as the path of the tunnel. The GRE-in-UDP
tunnel protocol does not provide any congestion control and GRE-in-
UDP packets are regular UDP packets. Therefore, a GRE-in-UDP tunnel
MUST NOT be deployed to carry non-congestion-controlled traffic over
the Internet [<a href="./rfc8085" title=""UDP Usage Guidelines"">RFC8085</a>].
Within a TMCE network, GRE-in-UDP tunnels are appropriate for
carrying traffic that is not known to be congestion controlled. For
example, a GRE-in-UDP tunnel may be used to carry Multiprotocol Label
Switching (MPLS) traffic such as pseudowires or VPNs where specific
bandwidth guarantees are provided to each pseudowire or VPN. In such
cases, operators of TMCE networks avoid congestion by careful
provisioning of their networks, rate-limiting of user data traffic,
and traffic engineering according to path capacity.
When a GRE-in-UDP tunnel carries traffic that is not known to be
congestion controlled in a TMCE network, the tunnel MUST be deployed
entirely within that network, and measures SHOULD be taken to prevent
the GRE-in-UDP traffic from "escaping" the network to the general
Internet. Examples of such measures are:
o physical or logical isolation of the links carrying GRE-in-UDP
from the general Internet,
o deployment of packet filters that block the UDP ports assigned for
GRE-in-UDP, and
o imposition of restrictions on GRE-in-UDP traffic by software tools
used to set up GRE-in-UDP tunnels between specific end systems (as
might be used within a single data center) or by tunnel ingress
nodes for tunnels that don't terminate at end systems.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Backward Compatibility</span>
In general, tunnel ingress routers have to be upgraded in order to
support the encapsulations described in this document.
No change is required at transit routers to support forwarding of the
encapsulation described in this document.
If a tunnel endpoint (a host or router) that is intended for use as a
decapsulator does not support or enable the GRE-in-UDP encapsulation
described in this document, that endpoint will not listen on the
destination port assigned to the GRE-encapsulation (4754 and 4755).
In these cases, the endpoint will perform normal UDP processing and
respond to an encapsulator with an ICMP message indicating "port
<span class="grey">Yong, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
unreachable" according to [<a href="./rfc792" title=""Internet Control Message Protocol"">RFC792</a>]. Upon receiving this ICMP
message, the node MUST NOT continue to use GRE-in-UDP encapsulation
toward this peer without management intervention.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. IANA Considerations</span>
IANA has allocated the following UDP destination port number for the
indication of GRE:
Service Name: GRE-in-UDP
Transport Protocol(s): UDP
Assignee: IESG <iesg@ietf.org>
Contact: IETF Chair <chair@ietf.org>
Description: GRE-in-UDP Encapsulation
Reference: <a href="./rfc8086">RFC 8086</a>
Port Number: 4754
Service Code: N/A
Known Unauthorized Uses: N/A
Assignment Notes: N/A
IANA has allocated the following UDP destination port number for the
indication of GRE with DTLS:
Service Name: GRE-UDP-DTLS
Transport Protocol(s): UDP
Assignee: IESG <iesg@ietf.org>
Contact: IETF Chair <chair@ietf.org>
Description: GRE-in-UDP Encapsulation with DTLS
Reference: <a href="./rfc8086">RFC 8086</a>
Port Number: 4755
Service Code: N/A
Known Unauthorized Uses: N/A
Assignment Notes: N/A
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Security Considerations</span>
GRE-in-UDP encapsulation does not affect security for the payload
protocol. The security considerations for GRE apply to GRE-in-UDP;
see [<a href="./rfc2784" title=""Generic Routing Encapsulation (GRE)"">RFC2784</a>].
To secure traffic carried by a GRE-in-UDP tunnel, DTLS SHOULD be used
as specified in <a href="#section-5">Section 5</a>.
In the case that UDP source port for entropy usage is disabled, a
random port taken from the ephemeral port range SHOULD be selected in
order to minimize the vulnerability to off-path attacks [<a href="./rfc6056" title=""Recommendations for Transport- Protocol Port Randomization"">RFC6056</a>].
The random port may also be periodically changed to mitigate certain
DoS attacks as mentioned in <a href="#section-3.2.1">Section 3.2.1</a>.
<span class="grey">Yong, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
Using one standardized value as the UDP destination port to indicate
an encapsulation may increase the vulnerability to off-path attacks.
To overcome this, an alternate port may be agreed upon to use between
an encapsulator and decapsulator [<a href="./rfc6056" title=""Recommendations for Transport- Protocol Port Randomization"">RFC6056</a>]. How the encapsulator
endpoints communicate the value is outside the scope of this
document.
This document does not require that a decapsulator validate the IP
source address of the tunneled packets (with the exception that the
IPv6 source address MUST be validated when UDP zero-checksum mode is
used with IPv6), but it should be understood that failure to do so
presupposes that there is effective destination-based filtering (or a
combination of source-based and destination-based filtering) at the
boundaries.
Corruption of GRE headers can cause security concerns for
applications that rely on the GRE Key field for traffic separation or
segregation. When the GRE Key field is used for this purpose, such
as an application of a Network Virtualization Using Generic Routing
Encapsulation (NVGRE) [<a href="./rfc7637" title=""NVGRE: Network Virtualization Using Generic Routing Encapsulation"">RFC7637</a>], GRE header corruption is a concern.
In such situations, at least one of the UDP and GRE checksums MUST be
used for both IPv4 and IPv6 GRE-in-UDP tunnels.
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. References</span>
<span class="h3"><a class="selflink" id="section-12.1" href="#section-12.1">12.1</a>. Normative References</span>
[<a id="ref-RFC768">RFC768</a>] Postel, J., "User Datagram Protocol", STD 6, <a href="./rfc768">RFC 768</a>,
DOI 10.17487/RFC0768, August 1980,
<<a href="http://www.rfc-editor.org/info/rfc768">http://www.rfc-editor.org/info/rfc768</a>>.
[<a id="ref-RFC1122">RFC1122</a>] Braden, R., Ed., "Requirements for Internet Hosts -
Communication Layers", STD 3, <a href="./rfc1122">RFC 1122</a>,
DOI 10.17487/RFC1122, October 1989,
<<a href="http://www.rfc-editor.org/info/rfc1122">http://www.rfc-editor.org/info/rfc1122</a>>.
[<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>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC2474">RFC2474</a>] Nichols, K., Blake, S., Baker, F., and D. Black,
"Definition of the Differentiated Services Field (DS
Field) in the IPv4 and IPv6 Headers", <a href="./rfc2474">RFC 2474</a>,
DOI 10.17487/RFC2474, December 1998,
<<a href="http://www.rfc-editor.org/info/rfc2474">http://www.rfc-editor.org/info/rfc2474</a>>.
<span class="grey">Yong, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
[<a id="ref-RFC2784">RFC2784</a>] Farinacci, D., Li, T., Hanks, S., Meyer, D., and P.
Traina, "Generic Routing Encapsulation (GRE)", <a href="./rfc2784">RFC 2784</a>,
DOI 10.17487/RFC2784, March 2000,
<<a href="http://www.rfc-editor.org/info/rfc2784">http://www.rfc-editor.org/info/rfc2784</a>>.
[<a id="ref-RFC2890">RFC2890</a>] Dommety, G., "Key and Sequence Number Extensions to GRE",
<a href="./rfc2890">RFC 2890</a>, DOI 10.17487/RFC2890, September 2000,
<<a href="http://www.rfc-editor.org/info/rfc2890">http://www.rfc-editor.org/info/rfc2890</a>>.
[<a id="ref-RFC6040">RFC6040</a>] Briscoe, B., "Tunnelling of Explicit Congestion
Notification", <a href="./rfc6040">RFC 6040</a>, DOI 10.17487/RFC6040, November
2010, <<a href="http://www.rfc-editor.org/info/rfc6040">http://www.rfc-editor.org/info/rfc6040</a>>.
[<a id="ref-RFC6347">RFC6347</a>] Rescorla, E. and N. Modadugu, "Datagram Transport Layer
Security Version 1.2", <a href="./rfc6347">RFC 6347</a>, DOI 10.17487/RFC6347,
January 2012, <<a href="http://www.rfc-editor.org/info/rfc6347">http://www.rfc-editor.org/info/rfc6347</a>>.
[<a id="ref-RFC6438">RFC6438</a>] Carpenter, B. and S. Amante, "Using the IPv6 Flow Label
for Equal Cost Multipath Routing and Link Aggregation in
Tunnels", <a href="./rfc6438">RFC 6438</a>, DOI 10.17487/RFC6438, November 2011,
<<a href="http://www.rfc-editor.org/info/rfc6438">http://www.rfc-editor.org/info/rfc6438</a>>.
[<a id="ref-RFC6935">RFC6935</a>] Eubanks, M., Chimento, P., and M. Westerlund, "IPv6 and
UDP Checksums for Tunneled Packets", <a href="./rfc6935">RFC 6935</a>,
DOI 10.17487/RFC6935, April 2013,
<<a href="http://www.rfc-editor.org/info/rfc6935">http://www.rfc-editor.org/info/rfc6935</a>>.
[<a id="ref-RFC6936">RFC6936</a>] Fairhurst, G. and M. Westerlund, "Applicability Statement
for the Use of IPv6 UDP Datagrams with Zero Checksums",
<a href="./rfc6936">RFC 6936</a>, DOI 10.17487/RFC6936, April 2013,
<<a href="http://www.rfc-editor.org/info/rfc6936">http://www.rfc-editor.org/info/rfc6936</a>>.
[<a id="ref-RFC8085">RFC8085</a>] Eggert, L., Fairhurst, G., and G. Shepherd, "UDP Usage
Guidelines", <a href="https://www.rfc-editor.org/bcp/bcp145">BCP 145</a>, <a href="./rfc8085">RFC 8085</a>, DOI 10.17487/RFC8085,
March 2017, <<a href="http://www.rfc-editor.org/info/rfc8085">http://www.rfc-editor.org/info/rfc8085</a>>.
<span class="h3"><a class="selflink" id="section-12.2" href="#section-12.2">12.2</a>. Informative References</span>
[<a id="ref-RFC792">RFC792</a>] Postel, J., "Internet Control Message Protocol", STD 5,
<a href="./rfc792">RFC 792</a>, DOI 10.17487/RFC0792, September 1981,
<<a href="http://www.rfc-editor.org/info/rfc792">http://www.rfc-editor.org/info/rfc792</a>>.
[<a id="ref-RFC793">RFC793</a>] Postel, J., "Transmission Control Protocol", STD 7,
<a href="./rfc793">RFC 793</a>, DOI 10.17487/RFC0793, September 1981,
<<a href="http://www.rfc-editor.org/info/rfc793">http://www.rfc-editor.org/info/rfc793</a>>.
<span class="grey">Yong, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
[<a id="ref-RFC2460">RFC2460</a>] Deering, S. and R. Hinden, "Internet Protocol, Version 6
(IPv6) Specification", <a href="./rfc2460">RFC 2460</a>, DOI 10.17487/RFC2460,
December 1998, <<a href="http://www.rfc-editor.org/info/rfc2460">http://www.rfc-editor.org/info/rfc2460</a>>.
[<a id="ref-RFC2914">RFC2914</a>] Floyd, S., "Congestion Control Principles", <a href="https://www.rfc-editor.org/bcp/bcp41">BCP 41</a>,
<a href="./rfc2914">RFC 2914</a>, DOI 10.17487/RFC2914, September 2000,
<<a href="http://www.rfc-editor.org/info/rfc2914">http://www.rfc-editor.org/info/rfc2914</a>>.
[<a id="ref-RFC2983">RFC2983</a>] Black, D., "Differentiated Services and Tunnels",
<a href="./rfc2983">RFC 2983</a>, DOI 10.17487/RFC2983, October 2000,
<<a href="http://www.rfc-editor.org/info/rfc2983">http://www.rfc-editor.org/info/rfc2983</a>>.
[<a id="ref-RFC4787">RFC4787</a>] Audet, F., Ed., and C. Jennings, "Network Address
Translation (NAT) Behavioral Requirements for Unicast
UDP", <a href="https://www.rfc-editor.org/bcp/bcp127">BCP 127</a>, <a href="./rfc4787">RFC 4787</a>, DOI 10.17487/RFC4787, January
2007, <<a href="http://www.rfc-editor.org/info/rfc4787">http://www.rfc-editor.org/info/rfc4787</a>>.
[<a id="ref-RFC6056">RFC6056</a>] Larsen, M. and F. Gont, "Recommendations for Transport-
Protocol Port Randomization", <a href="https://www.rfc-editor.org/bcp/bcp156">BCP 156</a>, <a href="./rfc6056">RFC 6056</a>,
DOI 10.17487/RFC6056, January 2011,
<<a href="http://www.rfc-editor.org/info/rfc6056">http://www.rfc-editor.org/info/rfc6056</a>>.
[<a id="ref-RFC7042">RFC7042</a>] Eastlake 3rd, D. and J. Abley, "IANA Considerations and
IETF Protocol and Documentation Usage for IEEE 802
Parameters", <a href="https://www.rfc-editor.org/bcp/bcp141">BCP 141</a>, <a href="./rfc7042">RFC 7042</a>, DOI 10.17487/RFC7042,
October 2013, <<a href="http://www.rfc-editor.org/info/rfc7042">http://www.rfc-editor.org/info/rfc7042</a>>.
[<a id="ref-RFC7637">RFC7637</a>] Garg, P., Ed., and Y. Wang, Ed., "NVGRE: Network
Virtualization Using Generic Routing Encapsulation",
<a href="./rfc7637">RFC 7637</a>, DOI 10.17487/RFC7637, September 2015,
<<a href="http://www.rfc-editor.org/info/rfc7637">http://www.rfc-editor.org/info/rfc7637</a>>.
[<a id="ref-RFC7676">RFC7676</a>] Pignataro, C., Bonica, R., and S. Krishnan, "IPv6 Support
for Generic Routing Encapsulation (GRE)", <a href="./rfc7676">RFC 7676</a>,
DOI 10.17487/RFC7676, October 2015,
<<a href="http://www.rfc-editor.org/info/rfc7676">http://www.rfc-editor.org/info/rfc7676</a>>.
<span class="grey">Yong, et al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
Acknowledgements
The authors would like to thank Vivek Kumar, Ron Bonica, Joe Touch,
Ruediger Geib, Lars Eggert, Lloyd Wood, Bob Briscoe, Rick Casarez,
Jouni Korhonen, Kathleen Moriarty, Ben Campbell, and many others for
their reviews and valuable input on this document.
Thanks to Donald Eastlake, Eliot Lear, Martin Stiemerling, and
Spencer Dawkins for their detailed reviews and valuable suggestions
during WG Last Call and the IESG process.
Thanks to the design team led by David Black (members: Ross Callon,
Gorry Fairhurst, Xiaohu Xu, and Lucy Yong) for efficiently working
out the descriptions for the congestion considerations and IPv6 UDP
zero checksum.
Thanks to David Black and Gorry Fairhurst for their great help in
document content and editing.
Contributors
The following people all contributed significantly to this document
and are listed in alphabetical order:
David Black
EMC Corporation
176 South Street
Hopkinton, MA 01748
United States of America
Email: david.black@emc.com
Ross Callon
Juniper Networks
10 Technology Park Drive
Westford, MA 01886
United States of America
Email: rcallon@juniper.net
John E. Drake
Juniper Networks
Email: jdrake@juniper.net
<span class="grey">Yong, et al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
Gorry Fairhurst
University of Aberdeen
Email: gorry@erg.abdn.ac.uk
Yongbing Fan
China Telecom
Guangzhou
China
Email: fanyb@gsta.com
Phone: +86 20 38639121
Adrian Farrel
Juniper Networks
Email: adrian@olddog.co.uk
Vishwas Manral
Email: vishwas@ionosnetworks.com
Carlos Pignataro
Cisco Systems
7200-12 Kit Creek Road
Research Triangle Park, NC 27709
United States of America
Email: cpignata@cisco.com
<span class="grey">Yong, et al. Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc8086">RFC 8086</a> GRE-in-UDP Encapsulation March 2017</span>
Authors' Addresses
Lucy Yong
Huawei Technologies, USA
Email: lucy.yong@huawei.com
Edward Crabbe
Oracle
Email: edward.crabbe@gmail.com
Xiaohu Xu
Huawei Technologies
Beijing, China
Email: xuxiaohu@huawei.com
Tom Herbert
Facebook
1 Hacker Way
Menlo Park, CA
Email: tom@herbertland.com
Yong, et al. Standards Track [Page 27]
</pre>
|