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 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101
|
<pre>Network Working Group R. Stewart
Request for Comments: 4460 Cisco Systems, Inc.
Category: Informational I. Arias-Rodriguez
Nokia Research Center
K. Poon
Sun Microsystems, Inc.
A. Caro
BBN Technologies
M. Tuexen
Muenster Univ. of Applied Sciences
April 2006
<span class="h1">Stream Control Transmission Protocol (SCTP) Specification</span>
<span class="h1">Errata and Issues</span>
Status of This Memo
This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2006).
Abstract
This document is a compilation of issues found during six
interoperability events and 5 years of experience with implementing,
testing, and using Stream Control Transmission Protocol (SCTP) along
with the suggested fixes. This document provides deltas to <a href="./rfc2960">RFC 2960</a>
and is organized in a time-based way. The issues are listed in the
order they were brought up. Because some text is changed several
times, the last delta in the text is the one that should be applied.
In addition to the delta, a description of the problem and the
details of the solution are also provided.
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-6">6</a>
<a href="#section-1.1">1.1</a>. Conventions ................................................<a href="#page-7">7</a>
<a href="#section-2">2</a>. Corrections to <a href="./rfc2960">RFC 2960</a> .........................................<a href="#page-7">7</a>
<a href="#section-2.1">2.1</a>. Incorrect Error Type During Chunk Processing. ..............<a href="#page-7">7</a>
<a href="#section-2.1.1">2.1.1</a>. Description of the Problem ..........................<a href="#page-7">7</a>
<a href="#section-2.1.2">2.1.2</a>. Text changes to the document ........................<a href="#page-7">7</a>
<a href="#section-2.1.3">2.1.3</a>. Solution Description ................................<a href="#page-7">7</a>
<span class="grey">Stewart, et al. Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<a href="#section-2.2">2.2</a>. Parameter Processing Issue .................................<a href="#page-7">7</a>
<a href="#section-2.2.1">2.2.1</a>. Description of the Problem ..........................<a href="#page-7">7</a>
<a href="#section-2.2.2">2.2.2</a>. Text Changes to the Document ........................<a href="#page-8">8</a>
<a href="#section-2.2.3">2.2.3</a>. Solution Description ................................<a href="#page-8">8</a>
<a href="#section-2.3">2.3</a>. Padding Issues .............................................<a href="#page-8">8</a>
<a href="#section-2.3.1">2.3.1</a>. Description of the Problem ..........................<a href="#page-8">8</a>
<a href="#section-2.3.2">2.3.2</a>. Text Changes to the Document ........................<a href="#page-9">9</a>
<a href="#section-2.3.3">2.3.3</a>. Solution Description ...............................<a href="#page-10">10</a>
<a href="#section-2.4">2.4</a>. Parameter Types across All Chunk Types ....................<a href="#page-10">10</a>
<a href="#section-2.4.1">2.4.1</a>. Description of the Problem .........................<a href="#page-10">10</a>
<a href="#section-2.4.2">2.4.2</a>. Text Changes to the Document .......................<a href="#page-10">10</a>
<a href="#section-2.4.3">2.4.3</a>. Solution Description ...............................<a href="#page-12">12</a>
<a href="#section-2.5">2.5</a>. Stream Parameter Clarification ............................<a href="#page-12">12</a>
<a href="#section-2.5.1">2.5.1</a>. Description of the problem .........................<a href="#page-12">12</a>
<a href="#section-2.5.2">2.5.2</a>. Text Changes to the Document .......................<a href="#page-12">12</a>
<a href="#section-2.5.3">2.5.3</a>. Solution Description ...............................<a href="#page-13">13</a>
<a href="#section-2.6">2.6</a>. Restarting Association Security Issue .....................<a href="#page-13">13</a>
<a href="#section-2.6.1">2.6.1</a>. Description of the Problem .........................<a href="#page-13">13</a>
<a href="#section-2.6.2">2.6.2</a>. Text Changes to the Document .......................<a href="#page-14">14</a>
<a href="#section-2.6.3">2.6.3</a>. Solution Description ...............................<a href="#page-18">18</a>
<a href="#section-2.7">2.7</a>. Implicit Ability to Exceed cwnd by PMTU-1 Bytes ...........<a href="#page-19">19</a>
<a href="#section-2.7.1">2.7.1</a>. Description of the Problem .........................<a href="#page-19">19</a>
<a href="#section-2.7.2">2.7.2</a>. Text Changes to the Document .......................<a href="#page-19">19</a>
<a href="#section-2.7.3">2.7.3</a>. Solution Description ...............................<a href="#page-19">19</a>
<a href="#section-2.8">2.8</a>. Issues with Fast Retransmit ...............................<a href="#page-19">19</a>
<a href="#section-2.8.1">2.8.1</a>. Description of the Problem .........................<a href="#page-19">19</a>
<a href="#section-2.8.2">2.8.2</a>. Text Changes to the Document .......................<a href="#page-20">20</a>
<a href="#section-2.8.3">2.8.3</a>. Solution Description ...............................<a href="#page-23">23</a>
<a href="#section-2.9">2.9</a>. Missing Statement about partial_bytes_acked Update ........<a href="#page-24">24</a>
<a href="#section-2.9.1">2.9.1</a>. Description of the Problem .........................<a href="#page-24">24</a>
<a href="#section-2.9.2">2.9.2</a>. Text Changes to the Document .......................<a href="#page-24">24</a>
<a href="#section-2.9.3">2.9.3</a>. Solution Description ...............................<a href="#page-25">25</a>
<a href="#section-2.10">2.10</a>. Issues with Heartbeating and Failure Detection ...........<a href="#page-25">25</a>
<a href="#section-2.10.1">2.10.1</a>. Description of the Problem ........................<a href="#page-25">25</a>
<a href="#section-2.10.2">2.10.2</a>. Text Changes to the Document ......................<a href="#page-26">26</a>
<a href="#section-2.10.3">2.10.3</a>. Solution Description ..............................<a href="#page-28">28</a>
<a href="#section-2.11">2.11</a>. Security interactions with firewalls .....................<a href="#page-29">29</a>
<a href="#section-2.11.1">2.11.1</a>. Description of the Problem ........................<a href="#page-29">29</a>
<a href="#section-2.11.2">2.11.2</a>. Text Changes to the Document ......................<a href="#page-29">29</a>
<a href="#section-2.11.3">2.11.3</a>. Solution Description ..............................<a href="#page-31">31</a>
<a href="#section-2.12">2.12</a>. Shutdown Ambiguity .......................................<a href="#page-31">31</a>
<a href="#section-2.12.1">2.12.1</a>. Description of the Problem ........................<a href="#page-31">31</a>
<a href="#section-2.12.2">2.12.2</a>. Text Changes to the Document ......................<a href="#page-31">31</a>
<a href="#section-2.12.3">2.12.3</a>. Solution Description ..............................<a href="#page-32">32</a>
<a href="#section-2.13">2.13</a>. Inconsistency in ABORT Processing ........................<a href="#page-32">32</a>
<a href="#section-2.13.1">2.13.1</a>. Description of the Problem ........................<a href="#page-32">32</a>
<a href="#section-2.13.2">2.13.2</a>. Text changes to the document ......................<a href="#page-33">33</a>
<a href="#section-2.13.3">2.13.3</a>. Solution Description ..............................<a href="#page-33">33</a>
<span class="grey">Stewart, et al. Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<a href="#section-2.14">2.14</a>. Cwnd Gated by Its Full Use ...............................<a href="#page-34">34</a>
<a href="#section-2.14.1">2.14.1</a>. Description of the Problem ........................<a href="#page-34">34</a>
<a href="#section-2.14.2">2.14.2</a>. Text Changes to the Document ......................<a href="#page-34">34</a>
<a href="#section-2.14.3">2.14.3</a>. Solution Description ..............................<a href="#page-36">36</a>
<a href="#section-2.15">2.15</a>. Window Probes in SCTP ....................................<a href="#page-36">36</a>
<a href="#section-2.15.1">2.15.1</a>. Description of the Problem ........................<a href="#page-36">36</a>
<a href="#section-2.15.2">2.15.2</a>. Text Changes to the Document ......................<a href="#page-36">36</a>
<a href="#section-2.15.3">2.15.3</a>. Solution Description ..............................<a href="#page-38">38</a>
<a href="#section-2.16">2.16</a>. Fragmentation and Path MTU Issues ........................<a href="#page-39">39</a>
<a href="#section-2.16.1">2.16.1</a>. Description of the Problem ........................<a href="#page-39">39</a>
<a href="#section-2.16.2">2.16.2</a>. Text Changes to the Document ......................<a href="#page-39">39</a>
<a href="#section-2.16.3">2.16.3</a>. Solution Description ..............................<a href="#page-40">40</a>
<a href="#section-2.17">2.17</a>. Initial Value of the Cumulative TSN Ack ..................<a href="#page-40">40</a>
<a href="#section-2.17.1">2.17.1</a>. Description of the Problem ........................<a href="#page-40">40</a>
<a href="#section-2.17.2">2.17.2</a>. Text Changes to the Document ......................<a href="#page-40">40</a>
<a href="#section-2.17.3">2.17.3</a>. Solution Description ..............................<a href="#page-41">41</a>
2.18. Handling of Address Parameters within the INIT or
INIT-ACK .................................................<a href="#page-41">41</a>
<a href="#section-2.18.1">2.18.1</a>. Description of the Problem ........................<a href="#page-41">41</a>
<a href="#section-2.18.2">2.18.2</a>. Text Changes to the Document ......................<a href="#page-41">41</a>
<a href="#section-2.18.3">2.18.3</a>. Solution description ..............................<a href="#page-42">42</a>
<a href="#section-2.19">2.19</a>. Handling of Stream Shortages .............................<a href="#page-42">42</a>
<a href="#section-2.19.1">2.19.1</a>. Description of the Problem ........................<a href="#page-42">42</a>
<a href="#section-2.19.2">2.19.2</a>. Text Changes to the Document ......................<a href="#page-42">42</a>
<a href="#section-2.19.3">2.19.3</a>. Solution Description ..............................<a href="#page-43">43</a>
<a href="#section-2.20">2.20</a>. Indefinite Postponement ..................................<a href="#page-43">43</a>
<a href="#section-2.20.1">2.20.1</a>. Description of the Problem ........................<a href="#page-43">43</a>
<a href="#section-2.20.2">2.20.2</a>. Text Changes to the Document ......................<a href="#page-43">43</a>
<a href="#section-2.20.3">2.20.3</a>. Solution Description ..............................<a href="#page-44">44</a>
<a href="#section-2.21">2.21</a>. User-Initiated Abort of an Association ...................<a href="#page-44">44</a>
<a href="#section-2.21.1">2.21.1</a>. Description of the Problem ........................<a href="#page-44">44</a>
<a href="#section-2.21.2">2.21.2</a>. Text changes to the document ......................<a href="#page-44">44</a>
<a href="#section-2.21.3">2.21.3</a>. Solution Description ..............................<a href="#page-50">50</a>
<a href="#section-2.22">2.22</a>. Handling of Invalid Initiate Tag of INIT-ACK .............<a href="#page-50">50</a>
<a href="#section-2.22.1">2.22.1</a>. Description of the Problem ........................<a href="#page-50">50</a>
<a href="#section-2.22.2">2.22.2</a>. Text Changes to the Document ......................<a href="#page-50">50</a>
<a href="#section-2.22.3">2.22.3</a>. Solution Description ..............................<a href="#page-51">51</a>
<a href="#section-2.23">2.23</a>. Sending an ABORT in Response to an INIT ..................<a href="#page-51">51</a>
<a href="#section-2.23.1">2.23.1</a>. Description of the Problem ........................<a href="#page-51">51</a>
<a href="#section-2.23.2">2.23.2</a>. Text Changes to the Document ......................<a href="#page-51">51</a>
<a href="#section-2.23.3">2.23.3</a>. Solution Description ..............................<a href="#page-52">52</a>
<a href="#section-2.24">2.24</a>. Stream Sequence Number (SSN) Initialization ..............<a href="#page-52">52</a>
<a href="#section-2.24.1">2.24.1</a>. Description of the Problem ........................<a href="#page-52">52</a>
<a href="#section-2.24.2">2.24.2</a>. Text Changes to the Document ......................<a href="#page-52">52</a>
<a href="#section-2.24.3">2.24.3</a>. Solution Description ..............................<a href="#page-53">53</a>
<a href="#section-2.25">2.25</a>. SACK Packet Format .......................................<a href="#page-53">53</a>
<a href="#section-2.25.1">2.25.1</a>. Description of the Problem ........................<a href="#page-53">53</a>
<a href="#section-2.25.2">2.25.2</a>. Text Changes to the Document ......................<a href="#page-53">53</a>
<span class="grey">Stewart, et al. Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<a href="#section-2.25.3">2.25.3</a>. Solution Description ..............................<a href="#page-53">53</a>
<a href="#section-2.26">2.26</a>. Protocol Violation Error Cause ...........................<a href="#page-53">53</a>
<a href="#section-2.26.1">2.26.1</a>. Description of the Problem ........................<a href="#page-53">53</a>
<a href="#section-2.26.2">2.26.2</a>. Text Changes to the Document ......................<a href="#page-54">54</a>
<a href="#section-2.26.3">2.26.3</a>. Solution Description ..............................<a href="#page-56">56</a>
<a href="#section-2.27">2.27</a>. Reporting of Unrecognized Parameters .....................<a href="#page-56">56</a>
<a href="#section-2.27.1">2.27.1</a>. Description of the Problem ........................<a href="#page-56">56</a>
<a href="#section-2.27.2">2.27.2</a>. Text Changes to the Document ......................<a href="#page-56">56</a>
<a href="#section-2.27.3">2.27.3</a>. Solution Description ..............................<a href="#page-57">57</a>
<a href="#section-2.28">2.28</a>. Handling of IP Address Parameters ........................<a href="#page-58">58</a>
<a href="#section-2.28.1">2.28.1</a>. Description of the Problem ........................<a href="#page-58">58</a>
<a href="#section-2.28.2">2.28.2</a>. Text Changes to the Document ......................<a href="#page-58">58</a>
<a href="#section-2.28.3">2.28.3</a>. Solution Description ..............................<a href="#page-58">58</a>
<a href="#section-2.29">2.29</a>. Handling of COOKIE ECHO Chunks When a TCB Exists .........<a href="#page-59">59</a>
<a href="#section-2.29.1">2.29.1</a>. Description of the Problem ........................<a href="#page-59">59</a>
<a href="#section-2.29.2">2.29.2</a>. Text Changes to the Document ......................<a href="#page-59">59</a>
<a href="#section-2.29.3">2.29.3</a>. Solution Description ..............................<a href="#page-59">59</a>
<a href="#section-2.30">2.30</a>. The Initial Congestion Window Size .......................<a href="#page-59">59</a>
<a href="#section-2.30.1">2.30.1</a>. Description of the Problem ........................<a href="#page-59">59</a>
<a href="#section-2.30.2">2.30.2</a>. Text Changes to the Document ......................<a href="#page-60">60</a>
<a href="#section-2.30.3">2.30.3</a>. Solution Description ..............................<a href="#page-61">61</a>
<a href="#section-2.31">2.31</a>. Stream Sequence Numbers in Figures .......................<a href="#page-62">62</a>
<a href="#section-2.31.1">2.31.1</a>. Description of the Problem ........................<a href="#page-62">62</a>
<a href="#section-2.31.2">2.31.2</a>. Text Changes to the Document ......................<a href="#page-63">63</a>
<a href="#section-2.31.3">2.31.3</a>. Solution description ..............................<a href="#page-67">67</a>
<a href="#section-2.32">2.32</a>. Unrecognized Parameters ..................................<a href="#page-67">67</a>
<a href="#section-2.32.1">2.32.1</a>. Description of the Problem ........................<a href="#page-67">67</a>
<a href="#section-2.32.2">2.32.2</a>. Text Changes to the Document ......................<a href="#page-67">67</a>
<a href="#section-2.32.3">2.32.3</a>. Solution Description ..............................<a href="#page-68">68</a>
<a href="#section-2.33">2.33</a>. Handling of Unrecognized Parameters ......................<a href="#page-68">68</a>
<a href="#section-2.33.1">2.33.1</a>. Description of the Problem ........................<a href="#page-68">68</a>
<a href="#section-2.33.2">2.33.2</a>. Text Changes to the Document ......................<a href="#page-68">68</a>
<a href="#section-2.33.3">2.33.3</a>. Solution Description ..............................<a href="#page-70">70</a>
<a href="#section-2.34">2.34</a>. Tie Tags .................................................<a href="#page-70">70</a>
<a href="#section-2.34.1">2.34.1</a>. Description of the Problem ........................<a href="#page-70">70</a>
<a href="#section-2.34.2">2.34.2</a>. Text Changes to the Document ......................<a href="#page-70">70</a>
<a href="#section-2.34.3">2.34.3</a>. Solution Description ..............................<a href="#page-72">72</a>
<a href="#section-2.35">2.35</a>. Port Number Verification in the COOKIE-ECHO ..............<a href="#page-72">72</a>
<a href="#section-2.35.1">2.35.1</a>. Description of the Problem ........................<a href="#page-72">72</a>
<a href="#section-2.35.2">2.35.2</a>. Text Changes to the Document ......................<a href="#page-72">72</a>
<a href="#section-2.35.3">2.35.3</a>. Solution Description ..............................<a href="#page-73">73</a>
<a href="#section-2.36">2.36</a>. Path Initialization ......................................<a href="#page-74">74</a>
<a href="#section-2.36.1">2.36.1</a>. Description of the Problem ........................<a href="#page-74">74</a>
<a href="#section-2.36.2">2.36.2</a>. Text Changes to the Document ......................<a href="#page-74">74</a>
<a href="#section-2.36.3">2.36.3</a>. Solution Description ..............................<a href="#page-76">76</a>
<a href="#section-2.37">2.37</a>. ICMP Handling Procedures .................................<a href="#page-76">76</a>
<a href="#section-2.37.1">2.37.1</a>. Description of the Problem ........................<a href="#page-76">76</a>
<a href="#section-2.37.2">2.37.2</a>. Text Changes to the Document ......................<a href="#page-77">77</a>
<span class="grey">Stewart, et al. Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<a href="#section-2.37.3">2.37.3</a>. Solution Description ..............................<a href="#page-79">79</a>
<a href="#section-2.38">2.38</a>. Checksum .................................................<a href="#page-79">79</a>
<a href="#section-2.38.1">2.38.1</a>. Description of the problem ........................<a href="#page-79">79</a>
<a href="#section-2.38.2">2.38.2</a>. Text Changes to the Document ......................<a href="#page-79">79</a>
<a href="#section-2.38.3">2.38.3</a>. Solution Description ..............................<a href="#page-86">86</a>
<a href="#section-2.39">2.39</a>. Retransmission Policy ....................................<a href="#page-86">86</a>
<a href="#section-2.39.1">2.39.1</a>. Description of the Problem ........................<a href="#page-86">86</a>
<a href="#section-2.39.2">2.39.2</a>. Text Changes to the Document ......................<a href="#page-87">87</a>
<a href="#section-2.39.3">2.39.3</a>. Solution Description ..............................<a href="#page-87">87</a>
<a href="#section-2.40">2.40</a>. Port Number 0 ............................................<a href="#page-88">88</a>
<a href="#section-2.40.1">2.40.1</a>. Description of the Problem ........................<a href="#page-88">88</a>
<a href="#section-2.40.2">2.40.2</a>. Text Changes to the Document ......................<a href="#page-88">88</a>
<a href="#section-2.40.3">2.40.3</a>. Solution Description ..............................<a href="#page-89">89</a>
<a href="#section-2.41">2.41</a>. T Bit ....................................................<a href="#page-89">89</a>
<a href="#section-2.41.1">2.41.1</a>. Description of the Problem ........................<a href="#page-89">89</a>
<a href="#section-2.41.2">2.41.2</a>. Text Changes to the Document ......................<a href="#page-89">89</a>
<a href="#section-2.41.3">2.41.3</a>. Solution Description ..............................<a href="#page-93">93</a>
<a href="#section-2.42">2.42</a>. Unknown Parameter Handling ...............................<a href="#page-93">93</a>
<a href="#section-2.42.1">2.42.1</a>. Description of the Problem ........................<a href="#page-93">93</a>
<a href="#section-2.42.2">2.42.2</a>. Text Changes to the Document ......................<a href="#page-93">93</a>
<a href="#section-2.42.3">2.42.3</a>. Solution Description ..............................<a href="#page-95">95</a>
<a href="#section-2.43">2.43</a>. Cookie Echo Chunk ........................................<a href="#page-95">95</a>
<a href="#section-2.43.1">2.43.1</a>. Description of the Problem ........................<a href="#page-95">95</a>
<a href="#section-2.43.2">2.43.2</a>. Text Changes to the Document ......................<a href="#page-95">95</a>
<a href="#section-2.43.3">2.43.3</a>. Solution Description ..............................<a href="#page-96">96</a>
<a href="#section-2.44">2.44</a>. Partial Chunks ...........................................<a href="#page-96">96</a>
<a href="#section-2.44.1">2.44.1</a>. Description of the Problem ........................<a href="#page-96">96</a>
<a href="#section-2.44.2">2.44.2</a>. Text Changes to the Document ......................<a href="#page-96">96</a>
<a href="#section-2.44.3">2.44.3</a>. Solution Description ..............................<a href="#page-97">97</a>
<a href="#section-2.45">2.45</a>. Non-unicast Addresses ....................................<a href="#page-97">97</a>
<a href="#section-2.45.1">2.45.1</a>. Description of the Problem ........................<a href="#page-97">97</a>
<a href="#section-2.45.2">2.45.2</a>. Text Changes to the Document ......................<a href="#page-97">97</a>
<a href="#section-2.45.3">2.45.3</a>. Solution Description ..............................<a href="#page-98">98</a>
<a href="#section-2.46">2.46</a>. Processing of ABORT Chunks ...............................<a href="#page-98">98</a>
<a href="#section-2.46.1">2.46.1</a>. Description of the Problem ........................<a href="#page-98">98</a>
<a href="#section-2.46.2">2.46.2</a>. Text Changes to the Document ......................<a href="#page-98">98</a>
<a href="#section-2.46.3">2.46.3</a>. Solution Description ..............................<a href="#page-98">98</a>
<a href="#section-2.47">2.47</a>. Sending of ABORT Chunks ..................................<a href="#page-99">99</a>
<a href="#section-2.47.1">2.47.1</a>. Description of the Problem ........................<a href="#page-99">99</a>
<a href="#section-2.47.2">2.47.2</a>. Text Changes to the Document ......................<a href="#page-99">99</a>
<a href="#section-2.47.3">2.47.3</a>. Solution Description ..............................<a href="#page-99">99</a>
<a href="#section-2.48">2.48</a>. Handling of Supported Address Types Parameter ............<a href="#page-99">99</a>
<a href="#section-2.48.1">2.48.1</a>. Description of the Problem ........................<a href="#page-99">99</a>
<a href="#section-2.48.2">2.48.2</a>. Text Changes to the Document .....................<a href="#page-100">100</a>
<a href="#section-2.48.3">2.48.3</a>. Solution Description .............................<a href="#page-100">100</a>
<a href="#section-2.49">2.49</a>. Handling of Unexpected Parameters .......................<a href="#page-101">101</a>
<a href="#section-2.49.1">2.49.1</a>. Description of the Problem .......................<a href="#page-101">101</a>
<a href="#section-2.49.2">2.49.2</a>. Text Changes to the Document .....................<a href="#page-101">101</a>
<span class="grey">Stewart, et al. Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<a href="#section-2.49.3">2.49.3</a>. Solution Description .............................<a href="#page-102">102</a>
<a href="#section-2.50">2.50</a>. Payload Protocol Identifier .............................<a href="#page-102">102</a>
<a href="#section-2.50.1">2.50.1</a>. Description of the Problem .......................<a href="#page-102">102</a>
<a href="#section-2.50.2">2.50.2</a>. Text Changes to the Document .....................<a href="#page-103">103</a>
<a href="#section-2.50.3">2.50.3</a>. Solution Description .............................<a href="#page-103">103</a>
<a href="#section-2.51">2.51</a>. Karn's Algorithm ........................................<a href="#page-104">104</a>
<a href="#section-2.51.1">2.51.1</a>. Description of the Problem .......................<a href="#page-104">104</a>
<a href="#section-2.51.2">2.51.2</a>. Text Changes to the Document .....................<a href="#page-104">104</a>
<a href="#section-2.51.3">2.51.3</a>. Solution Description .............................<a href="#page-104">104</a>
<a href="#section-2.52">2.52</a>. Fast Retransmit Algorithm ...............................<a href="#page-104">104</a>
<a href="#section-2.52.1">2.52.1</a>. Description of the Problem .......................<a href="#page-104">104</a>
<a href="#section-2.52.2">2.52.2</a>. Text Changes to the Document .....................<a href="#page-105">105</a>
<a href="#section-2.52.3">2.52.3</a>. Solution Description .............................<a href="#page-105">105</a>
<a href="#section-3">3</a>. Security Considerations .......................................<a href="#page-105">105</a>
<a href="#section-4">4</a>. Acknowledgements ..............................................<a href="#page-106">106</a>
<a href="#section-5">5</a>. IANA Considerations ...........................................<a href="#page-106">106</a>
<a href="#section-6">6</a>. Normative References ..........................................<a href="#page-106">106</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document contains a compilation of all defects found up until
the publishing of this document for the Stream Control Transmission
Protocol (SCTP), <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>]. These defects may be of an editorial
or technical nature. This document may be thought of as a companion
document to be used in the implementation of SCTP to clarify errors
in the original SCTP document.
This document provides a history of the changes that will be compiled
into <a href="./rfc2960">RFC 2960</a>'s [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] BIS document. Each error will be detailed within
this document in the form of
o the problem description,
o the text quoted from <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>],
o the replacement text that should be placed into the BIS document,
and
o a description of the solution.
This document is a historical record of sequential changes what have
been found necessary at various interop events and through discussion
on this list.
Note that because some text is changed several times, the last delta
for a text in the document is the erratum for that text in <a href="./rfc2960">RFC 2960</a>.
<span class="grey">Stewart, et al. Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Conventions</span>
The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD,
SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY, and OPTIONAL, when
they appear in this document, are to be interpreted as described in
<a href="./rfc2119">RFC 2119</a> [<a href="#ref-2" title=""Key words for use in RFCs to Indicate Requirement Levels"">2</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Corrections to <a href="./rfc2960">RFC 2960</a></span>
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Incorrect Error Type During Chunk Processing.</span>
<span class="h4"><a class="selflink" id="section-2.1.1" href="#section-2.1.1">2.1.1</a>. Description of the Problem</span>
A typo was discovered in <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] that incorrectly specifies an
action to be taken when processing chunks of unknown identity.
<span class="h4"><a class="selflink" id="section-2.1.2" href="#section-2.1.2">2.1.2</a>. Text changes to the document</span>
---------
Old text: (<a href="#section-3.2">Section 3.2</a>)
---------
01 - Stop processing this SCTP packet and discard it, do not process
any further chunks within it, and report the unrecognized
parameter in an 'Unrecognized Parameter Type' (in either an
ERROR or in the INIT ACK).
---------
New text: (<a href="#section-3.2">Section 3.2</a>)
---------
01 - Stop processing this SCTP packet and discard it, do not process
any further chunks within it, and report the unrecognized
chunk in an 'Unrecognized Chunk Type'.
<span class="h4"><a class="selflink" id="section-2.1.3" href="#section-2.1.3">2.1.3</a>. Solution Description</span>
The receiver of an unrecognized chunk should not send a 'parameter'
error but instead should send the appropriate chunk error as
described above.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Parameter Processing Issue</span>
<span class="h4"><a class="selflink" id="section-2.2.1" href="#section-2.2.1">2.2.1</a>. Description of the Problem</span>
A typographical error was introduced through an improper cut and
paste in the use of the upper two bits to describe proper handling of
unknown parameters.
<span class="grey">Stewart, et al. Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.2.2" href="#section-2.2.2">2.2.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
00 - Stop processing this SCTP packet and discard it; do not process
any further chunks within it.
01 - Stop processing this SCTP packet and discard it, do not process
any further chunks within it, and report the unrecognized
parameter in an 'Unrecognized Parameter Type' (in either an
ERROR or in the INIT ACK).
---------
New text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
00 - Stop processing this SCTP chunk and discard it, do not process
any further parameters within this chunk.
01 - Stop processing this SCTP chunk and discard it, do not process
any further parameters within this chunk, and report the
unrecognized parameter in an 'Unrecognized Parameter Type' (in
either an ERROR or in the INIT ACK).
<span class="h4"><a class="selflink" id="section-2.2.3" href="#section-2.2.3">2.2.3</a>. Solution Description</span>
It was always the intent to stop processing at the level one was at
in an unknown chunk or parameter with the upper bit set to 0. Thus,
if you are processing a chunk, you should drop the packet. If you
are processing a parameter, you should drop the chunk.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Padding Issues</span>
<span class="h4"><a class="selflink" id="section-2.3.1" href="#section-2.3.1">2.3.1</a>. Description of the Problem</span>
A problem was found when a Chunk terminated in a TLV parameter. If
this last TLV was not on a 32-bit boundary (as required), there was
confusion as to whether the last padding was included in the chunk
length.
<span class="grey">Stewart, et al. Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.3.2" href="#section-2.3.2">2.3.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.2">Section 3.2</a>)
---------
Chunk Length: 16 bits (unsigned integer)
This value represents the size of the chunk in bytes including the
Chunk Type, Chunk Flags, Chunk Length, and Chunk Value fields.
Therefore, if the Chunk Value field is zero-length, the Length
field will be set to 4. The Chunk Length field does not count any
padding.
Chunk Value: variable length
The Chunk Value field contains the actual information to be
transferred in the chunk. The usage and format of this field is
dependent on the Chunk Type.
The total length of a chunk (including Type, Length and Value fields)
MUST be a multiple of 4 bytes. If the length of the chunk is not a
multiple of 4 bytes, the sender MUST pad the chunk with all zero
bytes and this padding is not included in the chunk length field.
The sender should never pad with more than 3 bytes. The receiver
MUST ignore the padding bytes.
---------
New text: (<a href="#section-3.2">Section 3.2</a>)
---------
Chunk Length: 16 bits (unsigned integer)
This value represents the size of the chunk in bytes, including
the Chunk Type, Chunk Flags, Chunk Length, and Chunk Value fields.
Therefore, if the Chunk Value field is zero-length, the Length
field will be set to 4. The Chunk Length field does not count any
chunk padding.
Chunks (including Type, Length, and Value fields) are padded out
by the sender with all zero bytes to be a multiple of 4 bytes
long. This padding MUST NOT be more than 3 bytes in total. The
Chunk Length value does not include terminating padding of the
chunk. However, it does include padding of any variable-length
parameter except the last parameter in the chunk. The receiver
MUST ignore the padding.
<span class="grey">Stewart, et al. Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
Note: A robust implementation should accept the Chunk whether or
not the final padding has been included in the Chunk Length.
Chunk Value: variable length
The Chunk Value field contains the actual information to be
transferred in the chunk. The usage and format of this field is
dependent on the Chunk Type.
The total length of a chunk (including Type, Length, and Value
fields) MUST be a multiple of 4 bytes. If the length of the chunk is
not a multiple of 4 bytes, the sender MUST pad the chunk with all
zero bytes, and this padding is not included in the chunk length
field. The sender should never pad with more than 3 bytes. The
receiver MUST ignore the padding bytes.
<span class="h4"><a class="selflink" id="section-2.3.3" href="#section-2.3.3">2.3.3</a>. Solution Description</span>
The above text makes clear that the padding of the last parameter is
not included in the Chunk Length field. It also clarifies that the
padding of parameters that are not the last one must be counted in
the Chunk Length field.
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. Parameter Types across All Chunk Types</span>
<span class="h4"><a class="selflink" id="section-2.4.1" href="#section-2.4.1">2.4.1</a>. Description of the Problem</span>
A problem was noted when multiple errors are needed to be sent
regarding unknown or unrecognized parameters. Since often the error
type does not hold the chunk type field, it may become difficult to
tell which error was associated with which chunk.
<span class="h4"><a class="selflink" id="section-2.4.2" href="#section-2.4.2">2.4.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
The actual SCTP parameters are defined in the specific SCTP chunk
sections. The rules for IETF-defined parameter extensions are
defined in <a href="#section-13.2">Section 13.2</a>.
---------
New text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
The actual SCTP parameters are defined in the specific SCTP chunk
sections. The rules for IETF-defined parameter extensions are
<span class="grey">Stewart, et al. Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
defined in <a href="#section-13.2">Section 13.2</a>. Note that a parameter type MUST be unique
across all chunks. For example, the parameter type '5' is used to
represent an IPv4 address (see <a href="#section-3.3.2">Section 3.3.2</a>). The value '5' then is
reserved across all chunks to represent an IPv4 address and MUST NOT
be reused with a different meaning in any other chunk.
---------
Old text: (<a href="#section-13.2">Section 13.2</a>)
---------
13.2 IETF-defined Chunk Parameter Extension
The assignment of new chunk parameter type codes is done through an
IETF Consensus action as defined in [<a href="./rfc2434">RFC2434</a>]. Documentation of the
chunk parameter MUST contain the following information:
a) Name of the parameter type.
b) Detailed description of the structure of the parameter field.
This structure MUST conform to the general type-length-value
format described in <a href="#section-3.2.1">Section 3.2.1</a>.
c) Detailed definition of each component of the parameter type.
d) Detailed description of the intended use of this parameter type,
and an indication of whether and under what circumstances multiple
instances of this parameter type may be found within the same
chunk.
---------
New text: (<a href="#section-13.2">Section 13.2</a>)
---------
13.2. IETF-defined Chunk Parameter Extension
The assignment of new chunk parameter type codes is done through an
IETF Consensus action, as defined in [<a href="./rfc2434">RFC2434</a>]. Documentation of the
chunk parameter MUST contain the following information:
a) Name of the parameter type.
b) Detailed description of the structure of the parameter field.
This structure MUST conform to the general type-length-value
format described in <a href="#section-3.2.1">Section 3.2.1</a>.
c) Detailed definition of each component of the parameter type.
<span class="grey">Stewart, et al. Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
d) Detailed description of the intended use of this parameter type,
and an indication of whether and under what circumstances multiple
instances of this parameter type may be found within the same
chunk.
e) Each parameter type MUST be unique across all chunks.
<span class="h4"><a class="selflink" id="section-2.4.3" href="#section-2.4.3">2.4.3</a>. Solution Description</span>
By having all parameters unique across all chunk assignments (the
current assignment policy), no ambiguity exists as to what a
parameter means in different contexts. The trade-off for this is a
smaller parameter space, i.e., 65,536 parameters versus 65,536 *
Number-of- chunks.
<span class="h3"><a class="selflink" id="section-2.5" href="#section-2.5">2.5</a>. Stream Parameter Clarification</span>
<span class="h4"><a class="selflink" id="section-2.5.1" href="#section-2.5.1">2.5.1</a>. Description of the problem</span>
A problem was found where the specification is unclear on the
legality of an endpoint asking for more stream resources than were
allowed in the MIS value of the INIT. In particular, the value in
the INIT ACK requested in its OS value was larger than the MIS value
received in the INIT chunk. This behavior is illegal, yet it was
unspecified in <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>]
<span class="h4"><a class="selflink" id="section-2.5.2" href="#section-2.5.2">2.5.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.3">Section 3.3.3</a>)
---------
Number of Outbound Streams (OS): 16 bits (unsigned integer)
Defines the number of outbound streams the sender of this INIT ACK
chunk wishes to create in this association. The value of 0 MUST
NOT be used.
Note: A receiver of an INIT ACK with the OS value set to 0 SHOULD
destroy the association discarding its TCB.
<span class="grey">Stewart, et al. Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-3.3.3">Section 3.3.3</a>)
---------
Number of Outbound Streams (OS): 16 bits (unsigned integer)
Defines the number of outbound streams the sender of this INIT ACK
chunk wishes to create in this association. The value of 0 MUST
NOT be used, and the value MUST NOT be greater than the MIS value
sent in the INIT chunk.
Note: A receiver of an INIT ACK with the OS value set to 0 SHOULD
destroy the association, discarding its TCB.
<span class="h4"><a class="selflink" id="section-2.5.3" href="#section-2.5.3">2.5.3</a>. Solution Description</span>
The change in wording, above, changes it so that a responder to an
INIT chunk does not specify more streams in its OS value than were
represented to it in the MIS value, i.e., its maximum.
<span class="h3"><a class="selflink" id="section-2.6" href="#section-2.6">2.6</a>. Restarting Association Security Issue</span>
<span class="h4"><a class="selflink" id="section-2.6.1" href="#section-2.6.1">2.6.1</a>. Description of the Problem</span>
A security problem was found when a restart occurs. It is possible
for an intruder to send an INIT to an endpoint of an existing
association. In the INIT the intruder would list one or more of the
current addresses of an association and its own. The normal restart
procedures would then occur, and the intruder would have hijacked an
association.
<span class="grey">Stewart, et al. Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.6.2" href="#section-2.6.2">2.6.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.10">Section 3.3.10</a>)
---------
Cause Code
Value Cause Code
--------- ----------------
1 Invalid Stream Identifier
2 Missing Mandatory Parameter
3 Stale Cookie Error
4 Out of Resource
5 Unresolvable Address
6 Unrecognized Chunk Type
7 Invalid Mandatory Parameter
8 Unrecognized Parameters
9 No User Data
10 Cookie Received While Shutting Down
Cause Length: 16 bits (unsigned integer)
Set to the size of the parameter in bytes, including the Cause
Code, Cause Length, and Cause-Specific Information fields
Cause-specific Information: variable length
This field carries the details of the error condition.
Sections <a href="#section-3.3.10.1">3.3.10.1</a> - <a href="#section-3.3.10.10">3.3.10.10</a> define error causes for SCTP.
Guidelines for the IETF to define new error cause values are
discussed in <a href="#section-13.3">Section 13.3</a>.
<span class="grey">Stewart, et al. Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-3.3.10">Section 3.3.10</a>)
---------
Cause Code
Value Cause Code
--------- ----------------
1 Invalid Stream Identifier
2 Missing Mandatory Parameter
3 Stale Cookie Error
4 Out of Resource
5 Unresolvable Address
6 Unrecognized Chunk Type
7 Invalid Mandatory Parameter
8 Unrecognized Parameters
9 No User Data
10 Cookie Received While Shutting Down
11 Restart of an Association with New Addresses
Cause Length: 16 bits (unsigned integer)
Set to the size of the parameter in bytes, including the Cause
Code, Cause Length, and Cause-Specific Information fields.
Cause-specific Information: variable length
This field carries the details of the error condition.
Sections <a href="#section-3.3.10.1">3.3.10.1</a> - <a href="#section-3.3.10.11">3.3.10.11</a> define error causes for SCTP.
Guidelines for the IETF to define new error cause values are
discussed in <a href="#section-13.3">Section 13.3</a>.
---------
New text: (Note no old text, new error cause added in <a href="#section-3.3.10">section 3.3.10</a>)
---------
3.3.10.11. Restart of an Association with New Addresses (11)
Cause of error
--------------
Restart of an association with new addresses: An INIT was received
on an existing association. But the INIT added addresses to the
association that were previously NOT part of the association. The
new addresses are listed in the error code. This ERROR is normally
sent as part of an ABORT refusing the INIT (see <a href="#section-5.2">Section 5.2</a>).
<span class="grey">Stewart, et al. Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cause Code=11 | Cause Length=Variable |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ New Address TLVs /
\ \
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Note: Each New Address TLV is an exact copy of the TLV
that was found in the INIT chunk that was new, including the
Parameter Type and the Parameter length.
---------
Old text: (<a href="#section-5.2.1">Section 5.2.1</a>)
---------
Upon receipt of an INIT in the COOKIE-WAIT or COOKIE-ECHOED state, an
endpoint MUST respond with an INIT ACK using the same parameters it
sent in its original INIT chunk (including its Initiation Tag,
unchanged). These original parameters are combined with those from
the newly received INIT chunk. The endpoint shall also generate a
State Cookie with the INIT ACK. The endpoint uses the parameters
sent in its INIT to calculate the State Cookie.
---------
New text: (<a href="#section-5.2.1">Section 5.2.1</a>)
---------
Upon receipt of an INIT in the COOKIE-WAIT state, an endpoint MUST
respond with an INIT ACK using the same parameters it sent in its
original INIT chunk (including its Initiation Tag, unchanged). When
responding, the endpoint MUST send the INIT ACK back to the same
address that the original INIT (sent by this endpoint) was sent to.
Upon receipt of an INIT in the COOKIE-ECHOED state, an endpoint MUST
respond with an INIT ACK using the same parameters it sent in its
original INIT chunk (including its Initiation Tag, unchanged),
provided that no NEW address has been added to the forming
association. If the INIT message indicates that a new address has
been added to the association, then the entire INIT MUST be
discarded, and NO changes should be made to the existing association.
An ABORT SHOULD be sent in response that MAY include the error
'Restart of an association with new addresses'. The error SHOULD
list the addresses that were added to the restarting association.
<span class="grey">Stewart, et al. Informational [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
When responding in either state (COOKIE-WAIT or COOKIE-ECHOED) with
an INIT ACK, the original parameters are combined with those from the
newly received INIT chunk. The endpoint shall also generate a State
Cookie with the INIT ACK. The endpoint uses the parameters sent in
its INIT to calculate the State Cookie.
---------
Old text: (<a href="#section-5.2.2">Section 5.2.2</a>)
---------
5.2.2 Unexpected INIT in States Other than CLOSED, COOKIE-ECHOED,
COOKIE-WAIT and SHUTDOWN-ACK-SENT
Unless otherwise stated, upon reception of an unexpected INIT for
this association, the endpoint shall generate an INIT ACK with a
State Cookie. In the outbound INIT ACK the endpoint MUST copy its
current Verification Tag and peer's Verification Tag into a reserved
place within the state cookie. We shall refer to these locations as
the Peer's-Tie-Tag and the Local-Tie-Tag. The outbound SCTP packet
containing this INIT ACK MUST carry a Verification Tag value equal to
the Initiation Tag found in the unexpected INIT. And the INIT ACK
MUST contain a new Initiation Tag (randomly generated see <a href="#section-5.3.1">Section</a>
<a href="#section-5.3.1">5.3.1</a>). Other parameters for the endpoint SHOULD be copied from the
existing parameters of the association (e.g., number of outbound
streams) into the INIT ACK and cookie.
After sending out the INIT ACK, the endpoint shall take no further
actions, i.e., the existing association, including its current state,
and the corresponding TCB MUST NOT be changed.
Note: Only when a TCB exists and the association is not in a COOKIE-
WAIT state are the Tie-Tags populated. For a normal association INIT
(i.e., the endpoint is in a COOKIE-WAIT state), the Tie-Tags MUST be
set to 0 (indicating that no previous TCB existed). The INIT ACK and
State Cookie are populated as specified in <a href="#section-5.2.1">section 5.2.1</a>.
---------
New text: (<a href="#section-5.2.2">Section 5.2.2</a>)
---------
5.2.2. Unexpected INIT in States Other Than CLOSED, COOKIE-ECHOED,
COOKIE-WAIT, and SHUTDOWN-ACK-SENT
Unless otherwise stated, upon receipt of an unexpected INIT for this
association, the endpoint shall generate an INIT ACK with a State
Cookie. Before responding, the endpoint MUST check to see if the
unexpected INIT adds new addresses to the association. If new
addresses are added to the association, the endpoint MUST respond
<span class="grey">Stewart, et al. Informational [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
with an ABORT, copying the 'Initiation Tag' of the unexpected INIT
into the 'Verification Tag' of the outbound packet carrying the
ABORT. In the ABORT response, the cause of error MAY be set to
'restart of an association with new addresses'. The error SHOULD
list the addresses that were added to the restarting association.
If no new addresses are added, when responding to the INIT in the
outbound INIT ACK, the endpoint MUST copy its current Verification
Tag and peer's Verification Tag into a reserved place within the
state cookie. We shall refer to these locations as the Peer's-Tie-
Tag and the Local-Tie-Tag. The outbound SCTP packet containing this
INIT ACK MUST carry a Verification Tag value equal to the Initiation
Tag found in the unexpected INIT. And the INIT ACK MUST contain a
new Initiation Tag (randomly generated; see <a href="#section-5.3.1">Section 5.3.1</a>). Other
parameters for the endpoint SHOULD be copied from the existing
parameters of the association (e.g., number of outbound streams) into
the INIT ACK and cookie.
After sending out the INIT ACK or ABORT, the endpoint shall take no
further actions; i.e., the existing association, including its
current state, and the corresponding TCB MUST NOT be changed.
Note: Only when a TCB exists and the association is not in a COOKIE-
WAIT or SHUTDOWN-ACK-SENT state are the Tie-Tags populated with a
value other than 0. For a normal association INIT (i.e., the
endpoint is in the CLOSED state), the Tie-Tags MUST be set to 0
(indicating that no previous TCB existed).
<span class="h4"><a class="selflink" id="section-2.6.3" href="#section-2.6.3">2.6.3</a>. Solution Description</span>
A new error code is being added, along with specific instructions to
send back an ABORT to a new association in a restart case or
collision case, where new addresses have been added. The error code
can be used by a legitimate restart to inform the endpoint that it
has made a software error in adding a new address. The endpoint then
can choose to wait until the OOTB ABORT tears down the old
association, or to restart without the new address.
Also, the note at the end of <a href="#section-5.2.2">Section 5.2.2</a> explaining the use of the
Tie-Tags was modified to properly explain the states in which the
Tie-Tags should be set to a value different than 0.
<span class="grey">Stewart, et al. Informational [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.7" href="#section-2.7">2.7</a>. Implicit Ability to Exceed cwnd by PMTU-1 Bytes</span>
<span class="h4"><a class="selflink" id="section-2.7.1" href="#section-2.7.1">2.7.1</a>. Description of the Problem</span>
Some implementations were having difficulty growing their cwnd. This
was due to an improper enforcement of the congestion control rules.
The rules, as written, provided for a slop over of the cwnd value.
Without this slop over, the sender would appear NOT to be using its
full cwnd value and thus would never increase it.
<span class="h4"><a class="selflink" id="section-2.7.2" href="#section-2.7.2">2.7.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.1">Section 6.1</a>)
---------
B) At any given time, the sender MUST NOT transmit new data to a
given transport address if it has cwnd or more bytes of data
outstanding to that transport address.
---------
New text: (<a href="#section-6.1">Section 6.1</a>)
---------
B) At any given time, the sender MUST NOT transmit new data to a
given transport address if it has cwnd or more bytes of data
outstanding to that transport address. The sender may exceed cwnd
by up to (PMTU-1) bytes on a new transmission if the cwnd is not
currently exceeded.
<span class="h4"><a class="selflink" id="section-2.7.3" href="#section-2.7.3">2.7.3</a>. Solution Description</span>
The text changes make clear the ability to go over the cwnd value by
no more than (PMTU-1) bytes.
<span class="h3"><a class="selflink" id="section-2.8" href="#section-2.8">2.8</a>. Issues with Fast Retransmit</span>
<span class="h4"><a class="selflink" id="section-2.8.1" href="#section-2.8.1">2.8.1</a>. Description of the Problem</span>
Several problems were found in the current specification of fast
retransmit. The current wording did not require GAP ACK blocks to be
sent, even though they are essential to the workings of SCTP's
congestion control. The specification left unclear how to handle the
fast retransmit cycle, having the implementation wait on the cwnd to
retransmit a TSN that was marked for fast retransmit. No limit was
placed on how many times a TSN could be fast retransmitted. Fast
Recovery was not specified, causing the congestion window to be
reduced drastically when there are multiple losses in a single RTT.
<span class="grey">Stewart, et al. Informational [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.8.2" href="#section-2.8.2">2.8.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.2">Section 6.2</a>)
---------
Acknowledgements MUST be sent in SACK chunks unless shutdown was
requested by the ULP in which case an endpoint MAY send an
acknowledgement in the SHUTDOWN chunk. A SACK chunk can acknowledge
the reception of multiple DATA chunks. See <a href="#section-3.3.4">Section 3.3.4</a> for SACK
chunk format. In particular, the SCTP endpoint MUST fill in the
Cumulative TSN Ack field to indicate the latest sequential TSN (of a
valid DATA chunk) it has received. Any received DATA chunks with TSN
greater than the value in the Cumulative TSN Ack field SHOULD also be
reported in the Gap Ack Block fields.
---------
New text: (<a href="#section-6.2">Section 6.2</a>)
---------
Acknowledegments MUST be sent in SACK chunks unless shutdown was
requested by the ULP, in which case an endpoint MAY send an
acknowledgement in the SHUTDOWN chunk. A SACK chunk can acknowledge
the reception of multiple DATA chunks. See <a href="#section-3.3.4">Section 3.3.4</a> for SACK
chunk format. In particular, the SCTP endpoint MUST fill in the
Cumulative TSN Ack field to indicate the latest sequential TSN (of a
valid DATA chunk) it has received. Any received DATA chunks with
TSN greater than the value in the Cumulative TSN Ack field are
reported in the Gap Ack Block fields. The SCTP endpoint MUST
report as many Gap Ack Blocks as can fit in a single SACK
chunk limited by the current path MTU.
---------
Old text: (<a href="#section-6.2.1">Section 6.2.1</a>)
---------
D) Any time a SACK arrives, the endpoint performs the following:
i) If Cumulative TSN Ack is less than the Cumulative TSN Ack
Point, then drop the SACK. Since Cumulative TSN Ack is
monotonically increasing, a SACK whose Cumulative TSN Ack is
less than the Cumulative TSN Ack Point indicates an out-of-
order SACK.
ii) Set rwnd equal to the newly received a_rwnd minus the
number of bytes still outstanding after processing the
Cumulative TSN Ack and the Gap Ack Blocks.
<span class="grey">Stewart, et al. Informational [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
iii) If the SACK is missing a TSN that was previously
acknowledged via a Gap Ack Block (e.g., the data receiver
reneged on the data), then mark the corresponding DATA chunk
as available for retransmit: Mark it as missing for fast
retransmit as described in <a href="#section-7.2.4">Section 7.2.4</a> and if no
retransmit timer is running for the destination address
to which the DATA chunk was originally transmitted, then
T3-rtx is started for that destination address.
---------
New text: (<a href="#section-6.2.1">Section 6.2.1</a>)
---------
D) Any time a SACK arrives, the endpoint performs the following:
i) If Cumulative TSN Ack is less than the Cumulative TSN Ack
Point, then drop the SACK. Since Cumulative TSN Ack is
monotonically increasing, a SACK whose Cumulative TSN Ack is
less than the Cumulative TSN Ack Point indicates an out-of-
order SACK.
ii) Set rwnd equal to the newly received a_rwnd minus the
number of bytes still outstanding after processing the
Cumulative TSN Ack and the Gap Ack Blocks.
iii) If the SACK is missing a TSN that was previously
acknowledged via a Gap Ack Block (e.g., the data receiver
reneged on the data), then consider the corresponding DATA
that might be possibly missing: Count one miss indication
towards fast retransmit as described in <a href="#section-7.2.4">Section 7.2.4</a>, and
if no retransmit timer is running for the destination
address to which the DATA chunk was originally transmitted,
then T3-rtx is started for that destination address.
iv) If the Cumulative TSN Ack matches or exceeds the Fast
Recovery exitpoint (<a href="#section-7.2.4">Section 7.2.4</a>), Fast Recovery is exited.
---------
Old text: (<a href="#section-7.2.4">Section 7.2.4</a>)
---------
Whenever an endpoint receives a SACK that indicates some TSN(s)
missing, it SHOULD wait for 3 further miss indications (via
subsequent SACK's) on the same TSN(s) before taking action with
regard to Fast Retransmit.
When the TSN(s) is reported as missing in the fourth consecutive
SACK, the data sender shall:
<span class="grey">Stewart, et al. Informational [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
1) Mark the missing DATA chunk(s) for retransmission,
2) Adjust the ssthresh and cwnd of the destination address(es) to
which the missing DATA chunks were last sent, according to the
formula described in <a href="#section-7.2.3">Section 7.2.3</a>.
3) Determine how many of the earliest (i.e., lowest TSN) DATA chunks
marked for retransmission will fit into a single packet, subject
to constraint of the path MTU of the destination transport address
to which the packet is being sent. Call this value K. Retransmit
those K DATA chunks in a single packet.
4) Restart T3-rtx timer only if the last SACK acknowledged the lowest
outstanding TSN number sent to that address, or the endpoint is
retransmitting the first outstanding DATA chunk sent to that
address.
Note: Before the above adjustments, if the received SACK also
acknowledges new DATA chunks and advances the Cumulative TSN Ack
Point, the cwnd adjustment rules defined in Sections <a href="#section-7.2.1">7.2.1</a> and <a href="#section-7.2.2">7.2.2</a>
must be applied first.
A straightforward implementation of the above keeps a counter for
each TSN hole reported by a SACK. The counter increments for each
consecutive SACK reporting the TSN hole. After reaching 4 and
starting the fast retransmit procedure, the counter resets to 0.
Because cwnd in SCTP indirectly bounds the number of outstanding
TSN's, the effect of TCP fast-recovery is achieved automatically with
no adjustment to the congestion control window size.
---------
New text: (<a href="#section-7.2.4">Section 7.2.4</a>)
---------
Whenever an endpoint receives a SACK that indicates that some TSNs
are missing, it SHOULD wait for 3 further miss indications (via
subsequent SACKs) on the same TSN(s) before taking action with
regard to Fast Retransmit.
Miss indications SHOULD follow the HTNA (Highest TSN Newly
Acknowledged) algorithm. For each incoming SACK, miss
indications are incremented only for missing TSNs prior to
the highest TSN newly acknowledged in the SACK. A newly
acknowledged DATA chunk is one not previously acknowledged
in a SACK. If an endpoint is in Fast Recovery and a SACK
arrives that advances the Cumulative TSN Ack Point, the
miss indications are incremented for all TSNs reported
missing in the SACK.
<span class="grey">Stewart, et al. Informational [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
When the fourth consecutive miss indication is received for a TSN(s),
the data sender shall do the following:
1) Mark the DATA chunk(s) with four miss indications for
retransmission.
2) If not in Fast Recovery, adjust the ssthresh and cwnd of the
destination address(es) to which the missing DATA chunks were
last sent, according to the formula described in <a href="#section-7.2.3">Section 7.2.3</a>.
3) Determine how many of the earliest (i.e., lowest TSN) DATA chunks
marked for retransmission will fit into a single packet, subject
to constraint of the path MTU of the destination transport address
to which the packet is being sent. Call this value K. Retransmit
those K DATA chunks in a single packet. When a Fast Retransmit is
being performed, the sender SHOULD ignore the value of cwnd and
SHOULD NOT delay retransmission for this single packet.
4) Restart T3-rtx timer only if the last SACK acknowledged the lowest
outstanding TSN number sent to that address, or the endpoint is
retransmitting the first outstanding DATA chunk sent to that
address.
5) Mark the DATA chunk(s) as being fast retransmitted and thus
ineligible for a subsequent fast retransmit. Those TSNs marked
for retransmission due to the Fast Retransmit algorithm that
did not fit in the sent datagram carrying K other TSNs are also
marked as ineligible for a subsequent fast retransmit. However,
as they are marked for retransmission they will be retransmitted
later on as soon as cwnd allows.
6) If not in Fast Recovery, enter Fast Recovery and mark the highest
outstanding TSN as the Fast Recovery exit point. When a SACK
acknowledges all TSNs up to and including this exit point, Fast
Recovery is exited. While in Fast Recovery, the ssthresh and cwnd
SHOULD NOT change for any destinations due to a subsequent Fast
Recovery event (i.e., one SHOULD NOT reduce the cwnd further due
to a subsequent fast retransmit).
Note: Before the above adjustments, if the received SACK also
acknowledges new DATA chunks and advances the Cumulative TSN Ack
Point, the cwnd adjustment rules defined in Sections <a href="#section-7.2.1">7.2.1</a> and <a href="#section-7.2.2">7.2.2</a>
must be applied first.
<span class="h4"><a class="selflink" id="section-2.8.3" href="#section-2.8.3">2.8.3</a>. Solution Description</span>
The effect of the above wording changes are as follows:
<span class="grey">Stewart, et al. Informational [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
o It requires with a MUST the sending of GAP Ack blocks instead of
the current <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] SHOULD.
o It allows a TSN being Fast Retransmitted (FR) to be sent only once
via FR.
o It ends the delay in waiting for the flight size to drop when a
TSN is identified as being ready to FR.
o It changes the way chunks are marked during fast retransmit, so
that only new reports are counted.
o It introduces a Fast Recovery period to avoid multiple congestion
window reductions when there are multiple losses in a single RTT
(as shown by Caro et al. [<a href="#ref-3" title=""SCTP and TCP Variants: Congestion Control Under Multiple Losses"">3</a>]).
These changes will effectively allow SCTP to follow a similar model
as TCP+SACK in the handling of Fast Retransmit.
<span class="h3"><a class="selflink" id="section-2.9" href="#section-2.9">2.9</a>. Missing Statement about partial_bytes_acked Update</span>
<span class="h4"><a class="selflink" id="section-2.9.1" href="#section-2.9.1">2.9.1</a>. Description of the Problem</span>
SCTP uses four control variables to regulate its transmission rate:
rwnd, cwnd, ssthresh, and partial_bytes_acked. Upon detection of
packet losses from SACK, or when the T3-rtx timer expires on an
address, cwnd and ssthresh should be updated as stated in <a href="#section-7.2.3">Section</a>
<a href="#section-7.2.3">7.2.3</a>. However, that section should also clarify that
partial_bytes_acked must be updated as well; it has to be reset to 0.
<span class="h4"><a class="selflink" id="section-2.9.2" href="#section-2.9.2">2.9.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-7.2.3">Section 7.2.3</a>)
---------
7.2.3 Congestion Control
Upon detection of packet losses from SACK (see <a href="#section-7.2.4">Section 7.2.4</a>), An
endpoint should do the following:
ssthresh = max(cwnd/2, 2*MTU)
cwnd = ssthresh
Basically, a packet loss causes cwnd to be cut in half.
When the T3-rtx timer expires on an address, SCTP should perform slow
start by:
<span class="grey">Stewart, et al. Informational [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
ssthresh = max(cwnd/2, 2*MTU)
cwnd = 1*MTU
---------
New text: (<a href="#section-7.2.3">Section 7.2.3</a>)
---------
7.2.3. Congestion Control
Upon detection of packet losses from SACK (see <a href="#section-7.2.4">Section 7.2.4</a>), an
endpoint should do the following if not in Fast Recovery:
ssthresh = max(cwnd/2, 2*MTU)
cwnd = ssthresh
partial_bytes_acked = 0
Basically, a packet loss causes cwnd to be cut in half.
When the T3-rtx timer expires on an address, SCTP should perform slow
start by
ssthresh = max(cwnd/2, 2*MTU)
cwnd = 1*MTU
partial_bytes_acked = 0
<span class="h4"><a class="selflink" id="section-2.9.3" href="#section-2.9.3">2.9.3</a>. Solution Description</span>
The missing text added solves the doubts about what to do with
partial_bytes_acked in the situations stated in <a href="#section-7.2.3">Section 7.2.3</a>, making
clear that, along with ssthresh and cwnd, partial_bytes_acked should
also be updated by being reset to 0.
<span class="h3"><a class="selflink" id="section-2.10" href="#section-2.10">2.10</a>. Issues with Heartbeating and Failure Detection</span>
<span class="h4"><a class="selflink" id="section-2.10.1" href="#section-2.10.1">2.10.1</a>. Description of the Problem</span>
Five basic problems have been discovered with the current heartbeat
procedures:
o The current specification does not specify that you should count a
failed heartbeat as an error against the overall association.
o The current specification is not specific as to when you start
sending heartbeats and when you should stop.
o The current specification is not specific as to when you should
respond to heartbeats.
<span class="grey">Stewart, et al. Informational [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
o When responding to a Heartbeat, it is unclear what to do if more
than a single TLV is present.
o The jitter applied to a heartbeat was meant to be a small variance
of the RTO and is currently a wide variance, due to the default
delay time and incorrect wording within the RFC.
<span class="h4"><a class="selflink" id="section-2.10.2" href="#section-2.10.2">2.10.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-8.1">Section 8.1</a>)
---------
8.1 Endpoint Failure Detection
An endpoint shall keep a counter on the total number of consecutive
retransmissions to its peer (including retransmissions to all the
destination transport addresses of the peer if it is multi-homed).
If the value of this counter exceeds the limit indicated in the
protocol parameter 'Association.Max.Retrans', the endpoint shall
consider the peer endpoint unreachable and shall stop transmitting
any more data to it (and thus the association enters the CLOSED
state). In addition, the endpoint shall report the failure to the
upper layer, and optionally report back all outstanding user data
remaining in its outbound queue. The association is automatically
closed when the peer endpoint becomes unreachable.
The counter shall be reset each time a DATA chunk sent to that peer
endpoint is acknowledged (by the reception of a SACK), or a
HEARTBEAT-ACK is received from the peer endpoint.
<span class="grey">Stewart, et al. Informational [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-8.1">Section 8.1</a>)
---------
8.1. Endpoint Failure Detection
An endpoint shall keep a counter on the total number of consecutive
retransmissions to its peer (this includes retransmissions to all the
destination transport addresses of the peer if it is multi-homed),
including unacknowledged HEARTBEAT Chunks. If the value of this
counter exceeds the limit indicated in the protocol parameter
'Association.Max.Retrans', the endpoint shall consider the peer
endpoint unreachable and shall stop transmitting any more data to it
(and thus the association enters the CLOSED state). In addition, the
endpoint MAY report the failure to the upper layer and optionally
report back all outstanding user data remaining in its outbound
queue. The association is automatically closed when the peer
endpoint becomes unreachable.
The counter shall be reset each time a DATA chunk sent to that peer
endpoint is acknowledged (by the reception of a SACK), or a
HEARTBEAT-ACK is received from the peer endpoint.
---------
Old text: (<a href="#section-8.3">Section 8.3</a>)
---------
8.3 Path Heartbeat
By default, an SCTP endpoint shall monitor the reachability of the
idle destination transport address(es) of its peer by sending a
HEARTBEAT chunk periodically to the destination transport
address(es).
---------
New text: (<a href="#section-8.3">Section 8.3</a>)
---------
8.3 Path Heartbeat
By default, an SCTP endpoint SHOULD monitor the reachability of the
idle destination transport address(es) of its peer by sending a
HEARTBEAT chunk periodically to the destination transport
address(es). HEARTBEAT sending MAY begin upon reaching the
ESTABLISHED state and is discontinued after sending either SHUTDOWN
or SHUTDOWN-ACK. A receiver of a HEARTBEAT MUST respond to a
HEARTBEAT with a HEARTBEAT-ACK after entering the COOKIE-ECHOED state
<span class="grey">Stewart, et al. Informational [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
(INIT sender) or the ESTABLISHED state (INIT receiver), up until
reaching the SHUTDOWN-SENT state (SHUTDOWN sender) or the SHUTDOWN-
ACK-SENT state (SHUTDOWN receiver).
---------
Old text: (<a href="#section-8.3">Section 8.3</a>)
---------
The receiver of the HEARTBEAT should immediately respond with a
HEARTBEAT ACK that contains the Heartbeat Information field copied
from the received HEARTBEAT chunk.
---------
New text: (<a href="#section-8.3">Section 8.3</a>)
---------
The receiver of the HEARTBEAT should immediately respond with a
HEARTBEAT ACK that contains the Heartbeat Information TLV, together
with any other received TLVs, copied unchanged from the received
HEARTBEAT chunk.
---------
Old text: (<a href="#section-8.3">Section 8.3</a>)
---------
On an idle destination address that is allowed to heartbeat, a
HEARTBEAT chunk is RECOMMENDED to be sent once per RTO of that
destination address plus the protocol parameter 'HB.interval' , with
jittering of +/- 50%, and exponential back-off of the RTO if the
previous HEARTBEAT is unanswered.
---------
New text: (<a href="#section-8.3">Section 8.3</a>)
---------
On an idle destination address that is allowed to heartbeat, it is
recommended that a HEARTBEAT chunk is sent once per RTO of that
destination address plus the protocol parameter 'HB.interval', with
jittering of +/- 50% of the RTO value, and exponential back-off of
the RTO if the previous HEARTBEAT is unanswered.
<span class="h4"><a class="selflink" id="section-2.10.3" href="#section-2.10.3">2.10.3</a>. Solution Description</span>
The above text provides guidance as to how to respond to the five
issues mentioned in <a href="#section-2.10.1">Section 2.10.1</a>. In particular, the wording
changes provide guidance as to when to start and stop heartbeating,
<span class="grey">Stewart, et al. Informational [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
how to respond to a heartbeat with extra parameters, and it clarifies
the error counting procedures for the association.
<span class="h3"><a class="selflink" id="section-2.11" href="#section-2.11">2.11</a>. Security interactions with firewalls</span>
<span class="h4"><a class="selflink" id="section-2.11.1" href="#section-2.11.1">2.11.1</a>. Description of the Problem</span>
When dealing with firewalls, it is advantageous for the firewall to
be able to properly determine the initial startup sequence of a
reliable transport protocol. With this in mind, the following text
is to be added to SCTP's security section.
<span class="h4"><a class="selflink" id="section-2.11.2" href="#section-2.11.2">2.11.2</a>. Text Changes to the Document</span>
---------
New text: (no old text, new section added)
---------
11.4 SCTP Interactions with Firewalls
It is helpful for some firewalls if they can inspect
just the first fragment of a fragmented SCTP packet and unambiguously
determine whether it corresponds to an INIT chunk (for further
information, please refer to <a href="./rfc1858">RFC1858</a>). Accordingly, we
stress the requirements, stated in 3.1, that (1) an INIT chunk MUST
NOT be bundled with any other chunk in a packet, and (2) a packet
containing an INIT chunk MUST have a zero Verification Tag.
Furthermore, we require that the receiver of an INIT chunk MUST
enforce these rules by silently discarding an arriving packet with an
INIT chunk that is bundled with other chunks.
---------
Old text: (<a href="#section-18">Section 18</a>)
---------
18. Bibliography
[<a id="ref-ALLMAN99">ALLMAN99</a>] Allman, M. and Paxson, V., "On Estimating End-to-End
Network Path Properties", Proc. SIGCOMM'99, 1999.
[<a id="ref-FALL96">FALL96</a>] Fall, K. and Floyd, S., Simulation-based Comparisons of
Tahoe, Reno, and SACK TCP, Computer Communications Review,
V. 26 N. 3, July 1996, pp. 5-21.
[<a id="ref-RFC1750">RFC1750</a>] Eastlake, D. (ed.), "Randomness Recommendations for
Security", <a href="./rfc1750">RFC 1750</a>, December 1994.
<span class="grey">Stewart, et al. Informational [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
[<a id="ref-RFC1950">RFC1950</a>] Deutsch P. and J. Gailly, "ZLIB Compressed Data Format
Specification version 3.3", <a href="./rfc1950">RFC 1950</a>, May 1996.
[<a id="ref-RFC2104">RFC2104</a>] Krawczyk, H., Bellare, M. and R. Canetti, "HMAC: Keyed-
Hashing for Message Authentication", <a href="./rfc2104">RFC 2104</a>, March 1997.
[<a id="ref-RFC2196">RFC2196</a>] Fraser, B., "Site Security Handbook", FYI 8, <a href="./rfc2196">RFC 2196</a>,
September 1997.
[<a id="ref-RFC2522">RFC2522</a>] Karn, P. and W. Simpson, "Photuris: Session-Key Management
Protocol", <a href="./rfc2522">RFC 2522</a>, March 1999.
[<a id="ref-SAVAGE99">SAVAGE99</a>] Savage, S., Cardwell, N., Wetherall, D., and Anderson, T.,
"TCP Congestion Control with a Misbehaving Receiver", ACM
Computer Communication Review, 29(5), October 1999.
---------
New text: (<a href="#section-18">Section 18</a>)
---------
18. Bibliography
[<a id="ref-ALLMAN99">ALLMAN99</a>] Allman, M. and Paxson, V., "On Estimating End-to-End
Network Path Properties", Proc. SIGCOMM'99, 1999.
[<a id="ref-FALL96">FALL96</a>] Fall, K. and Floyd, S., Simulation-based Comparisons of
Tahoe, Reno, and SACK TCP, Computer Communications Review,
V. 26 N. 3, July 1996, pp. 5-21.
[<a id="ref-RFC1750">RFC1750</a>] Eastlake, D. (ed.), "Randomness Recommendations for
Security", <a href="./rfc1750">RFC 1750</a>, December 1994.
[<a id="ref-RFC1858">RFC1858</a>] Ziemba, G., Reed, D. and Traina P., "Security
Considerations for IP Fragment Filtering", <a href="./rfc1858">RFC 1858</a>,
October 1995.
[<a id="ref-RFC1950">RFC1950</a>] Deutsch P. and J. Gailly, "ZLIB Compressed Data Format
Specification version 3.3", <a href="./rfc1950">RFC 1950</a>, May 1996.
[<a id="ref-RFC2104">RFC2104</a>] Krawczyk, H., Bellare, M. and R. Canetti, "HMAC: Keyed-
Hashing for Message Authentication", <a href="./rfc2104">RFC 2104</a>, March 1997.
[<a id="ref-RFC2196">RFC2196</a>] Fraser, B., "Site Security Handbook", FYI 8, <a href="./rfc2196">RFC 2196</a>,
September 1997.
[<a id="ref-RFC2522">RFC2522</a>] Karn, P. and W. Simpson, "Photuris: Session-Key Management
Protocol", <a href="./rfc2522">RFC 2522</a>, March 1999.
<span class="grey">Stewart, et al. Informational [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
[<a id="ref-SAVAGE99">SAVAGE99</a>] Savage, S., Cardwell, N., Wetherall, D., and Anderson, T.,
"TCP Congestion Control with a Misbehaving Receiver", ACM
Computer Communication Review, 29(5), October 1999.
<span class="h4"><a class="selflink" id="section-2.11.3" href="#section-2.11.3">2.11.3</a>. Solution Description</span>
The above text, which adds a new subsection to the Security
Considerations section of <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] makes clear that, to make
easier the interaction with firewalls, an INIT chunk must not be
bundled in any case with any other chunk that will silently discard
the packets that do not follow this rule (this rule is enforced by
the packet receiver).
<span class="h3"><a class="selflink" id="section-2.12" href="#section-2.12">2.12</a>. Shutdown Ambiguity</span>
<span class="h4"><a class="selflink" id="section-2.12.1" href="#section-2.12.1">2.12.1</a>. Description of the Problem</span>
Currently, there is an ambiguity between the statements in Sections
6.2 and 9.2. <a href="#section-6.2">Section 6.2</a> allows the sending of a SHUTDOWN chunk in
place of a SACK when the sender is in the process of shutting down,
while <a href="#section-9.2">section 9.2</a> requires that both a SHUTDOWN chunk and a SACK
chunk be sent.
Along with this ambiguity there is a problem wherein an errant
SHUTDOWN receiver may fail to stop accepting user data.
<span class="h4"><a class="selflink" id="section-2.12.2" href="#section-2.12.2">2.12.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-9.2">Section 9.2</a>)
---------
If there are still outstanding DATA chunks left, the SHUTDOWN
receiver shall continue to follow normal data transmission procedures
defined in <a href="#section-6">Section 6</a> until all outstanding DATA chunks are
acknowledged; however, the SHUTDOWN receiver MUST NOT accept new data
from its SCTP user.
While in SHUTDOWN-SENT state, the SHUTDOWN sender MUST immediately
respond to each received packet containing one or more DATA chunk(s)
with a SACK, a SHUTDOWN chunk, and restart the T2-shutdown timer. If
it has no more outstanding DATA chunks, the SHUTDOWN receiver shall
send a SHUTDOWN ACK and start a T2-shutdown timer of its own,
entering the SHUTDOWN-ACK-SENT state. If the timer expires, the
endpoint must re-send the SHUTDOWN ACK.
<span class="grey">Stewart, et al. Informational [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-9.2">Section 9.2</a>)
---------
If there are still outstanding DATA chunks left, the SHUTDOWN
receiver MUST continue to follow normal data transmission procedures
defined in <a href="#section-6">Section 6</a>, until all outstanding DATA chunks are
acknowledged; however, the SHUTDOWN receiver MUST NOT accept new data
from its SCTP user.
While in SHUTDOWN-SENT state, the SHUTDOWN sender MUST immediately
respond to each received packet containing one or more DATA chunks
with a SHUTDOWN chunk and restart the T2-shutdown timer. If a
SHUTDOWN chunk by itself cannot acknowledge all of the received DATA
chunks (i.e., there are TSNs that can be acknowledged that are larger
than the cumulative TSN, and thus gaps exist in the TSN sequence), or
if duplicate TSNs have been received, then a SACK chunk MUST also be
sent.
The sender of the SHUTDOWN MAY also start an overall guard timer
'T5-shutdown-guard' to bound the overall time for shutdown sequence.
At the expiration of this timer, the sender SHOULD abort the
association by sending an ABORT chunk. If the 'T5-shutdown-guard'
timer is used, it SHOULD be set to the recommended value of 5 times
'RTO.Max'.
If the receiver of the SHUTDOWN has no more outstanding DATA chunks,
the SHUTDOWN receiver MUST send a SHUTDOWN ACK and start a
T2-shutdown timer of its own, entering the SHUTDOWN-ACK-SENT state.
If the timer expires, the endpoint must re-send the SHUTDOWN ACK.
<span class="h4"><a class="selflink" id="section-2.12.3" href="#section-2.12.3">2.12.3</a>. Solution Description</span>
The above text clarifies the use of a SACK in conjunction with a
SHUTDOWN chunk. It also adds a guard timer to the SCTP shutdown
sequence to protect against errant receivers of SHUTDOWN chunks.
<span class="h3"><a class="selflink" id="section-2.13" href="#section-2.13">2.13</a>. Inconsistency in ABORT Processing</span>
<span class="h4"><a class="selflink" id="section-2.13.1" href="#section-2.13.1">2.13.1</a>. Description of the Problem</span>
It was noted that the wording in <a href="#section-8.5.1">Section 8.5.1</a> did not give proper
directions in the use of the 'T bit' with the Verification Tags.
<span class="grey">Stewart, et al. Informational [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.13.2" href="#section-2.13.2">2.13.2</a>. Text changes to the document</span>
---------
Old text: (<a href="#section-8.5.1">Section 8.5.1</a>)
---------
B) Rules for packet carrying ABORT:
- The endpoint shall always fill in the Verification Tag field
of the outbound packet with the destination endpoint's tag
value if it is known.
- If the ABORT is sent in response to an OOTB packet, the
endpoint MUST follow the procedure described in <a href="#section-8.4">Section 8.4</a>.
- The receiver MUST accept the packet if the Verification Tag
matches either its own tag, OR the tag of its peer. Otherwise,
the receiver MUST silently discard the packet and take no
further action.
---------
New text: (<a href="#section-8.5.1">Section 8.5.1</a>)
---------
B) Rules for packet carrying ABORT:
- The endpoint MUST always fill in the Verification Tag field of
the outbound packet with the destination endpoint's tag value,
if it is known.
- If the ABORT is sent in response to an OOTB packet, the
endpoint MUST follow the procedure described in <a href="#section-8.4">Section 8.4</a>.
- The receiver of a ABORT MUST accept the packet if the
Verification Tag field of the packet matches its own tag OR if
it is set to its peer's tag and the T bit is set in the Chunk
Flags. Otherwise, the receiver MUST silently discard the
packet and take no further action.
<span class="h4"><a class="selflink" id="section-2.13.3" href="#section-2.13.3">2.13.3</a>. Solution Description</span>
The above text change clarifies that the T bit must be set before an
implementation looks for the peer's tag.
<span class="grey">Stewart, et al. Informational [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.14" href="#section-2.14">2.14</a>. Cwnd Gated by Its Full Use</span>
<span class="h4"><a class="selflink" id="section-2.14.1" href="#section-2.14.1">2.14.1</a>. Description of the Problem</span>
A problem was found with the current specification of the growth and
decay of cwnd. The cwnd should only be increased if it is being
fully utilized, and after periods of underutilization, the cwnd
should be decreased. In some sections, the current wording is weak
and is not clearly defined. Also, the current specification
unnecessarily introduces the need for special case code to ensure
cwnd degradation. Plus, the cwnd should not be increased during Fast
Recovery, since a full cwnd during Fast Recovery does not qualify the
cwnd as being fully utilized. Additionally, multiple loss scenarios
in a single window may cause the cwnd to grow more rapidly as the
number of losses in a window increases [<a href="#ref-3" title=""SCTP and TCP Variants: Congestion Control Under Multiple Losses"">3</a>].
<span class="h4"><a class="selflink" id="section-2.14.2" href="#section-2.14.2">2.14.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.1">Section 6.1</a>)
---------
D) Then, the sender can send out as many new DATA chunks as Rule A
and Rule B above allow.
---------
New text: (<a href="#section-6.1">Section 6.1</a>)
---------
D) When the time comes for the sender to transmit new DATA chunks,
the protocol parameter Max.Burst SHOULD be used to limit the
number of packets sent. The limit MAY be applied by adjusting
cwnd as follows:
if((flightsize + Max.Burst*MTU) < cwnd)
cwnd = flightsize + Max.Burst*MTU
Or it MAY be applied by strictly limiting the number of packets
emitted by the output routine.
E) Then, the sender can send out as many new DATA chunks as Rule A
and Rule B allow.
<span class="grey">Stewart, et al. Informational [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
Old text: (<a href="#section-7.2.1">Section 7.2.1</a>)
---------
o When cwnd is less than or equal to ssthresh an SCTP endpoint MUST
use the slow start algorithm to increase cwnd (assuming the
current congestion window is being fully utilized). If an
incoming SACK advances the Cumulative TSN Ack Point, cwnd MUST be
increased by at most the lesser of 1) the total size of the
previously outstanding DATA chunk(s) acknowledged, and 2) the
destination's path MTU. This protects against the ACK-Splitting
attack outlined in [<a href="#ref-SAVAGE99">SAVAGE99</a>].
---------
New text: (<a href="#section-7.2.1">Section 7.2.1</a>)
---------
o When cwnd is less than or equal to ssthresh, an SCTP endpoint MUST
use the slow start algorithm to increase cwnd only if the current
congestion window is being fully utilized, an incoming SACK
advances the Cumulative TSN Ack Point, and the data sender is not
in Fast Recovery. Only when these three conditions are met can
the cwnd be increased; otherwise, the cwnd MUST not be increased.
If these conditions are met, then cwnd MUST be increased by, at
most, the lesser of 1) the total size of the previously
outstanding DATA chunk(s) acknowledged, and 2) the destination's
path MTU. This upper bound protects against the ACK-Splitting
attack outlined in [<a href="#ref-SAVAGE99">SAVAGE99</a>].
---------
Old text: (<a href="#section-14">Section 14</a>)
---------
14. Suggested SCTP Protocol Parameter Values
The following protocol parameters are RECOMMENDED:
RTO.Initial - 3 seconds
RTO.Min - 1 second
RTO.Max - 60 seconds
RTO.Alpha - 1/8
RTO.Beta - 1/4
Valid.Cookie.Life - 60 seconds
Association.Max.Retrans - 10 attempts
Path.Max.Retrans - 5 attempts (per destination address)
Max.Init.Retransmits - 8 attempts
HB.interval - 30 seconds
<span class="grey">Stewart, et al. Informational [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-14">Section 14</a>)
---------
14. Suggested SCTP Protocol Parameter Values
The following protocol parameters are RECOMMENDED:
RTO.Initial - 3 seconds
RTO.Min - 1 second
RTO.Max - 60 seconds
Max.Burst - 4
RTO.Alpha - 1/8
RTO.Beta - 1/4
Valid.Cookie.Life - 60 seconds
Association.Max.Retrans - 10 attempts
Path.Max.Retrans - 5 attempts (per destination address)
Max.Init.Retransmits - 8 attempts
HB.Interval - 30 seconds
<span class="h4"><a class="selflink" id="section-2.14.3" href="#section-2.14.3">2.14.3</a>. Solution Description</span>
The above changes strengthen the rules and make it much more apparent
as to the need to block cwnd growth when the full cwnd is not being
utilized. The changes also apply cwnd degradation without
introducing the need for complex special case code.
<span class="h3"><a class="selflink" id="section-2.15" href="#section-2.15">2.15</a>. Window Probes in SCTP</span>
<span class="h4"><a class="selflink" id="section-2.15.1" href="#section-2.15.1">2.15.1</a>. Description of the Problem</span>
When a receiver clamps its rwnd to 0 to flow control the peer, the
specification implies that one must continue to accept data from the
remote peer. This is incorrect and needs clarification.
<span class="h4"><a class="selflink" id="section-2.15.2" href="#section-2.15.2">2.15.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.2">Section 6.2</a>)
---------
The SCTP endpoint MUST always acknowledge the receipt of each valid
DATA chunk.
<span class="grey">Stewart, et al. Informational [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-6.2">Section 6.2</a>)
---------
The SCTP endpoint MUST always acknowledge the reception of each valid
DATA chunk when the DATA chunk received is inside its receive window.
When the receiver's advertised window is 0, the receiver MUST drop
any new incoming DATA chunk with a TSN larger than the largest TSN
received so far. If the new incoming DATA chunk holds a TSN value
less than the largest TSN received so far, then the receiver SHOULD
drop the largest TSN held for reordering and accept the new incoming
DATA chunk. In either case, if such a DATA chunk is dropped, the
receiver MUST immediately send back a SACK with the current receive
window showing only DATA chunks received and accepted so far. The
dropped DATA chunk(s) MUST NOT be included in the SACK, as they were
not accepted. The receiver MUST also have an algorithm for
advertising its receive window to avoid receiver silly window
syndrome (SWS), as described in <a href="./rfc813">RFC 813</a>. The algorithm can be
similar to the one described in <a href="./rfc1122#section-4.2.3.3">Section 4.2.3.3 of RFC 1122</a>.
---------
Old text: (<a href="#section-6.1">Section 6.1</a>)
---------
A) At any given time, the data sender MUST NOT transmit new data to
any destination transport address if its peer's rwnd indicates
that the peer has no buffer space (i.e., rwnd is 0, see <a href="#section-6.2.1">Section</a>
<a href="#section-6.2.1">6.2.1</a>). However, regardless of the value of rwnd (including if it
is 0), the data sender can always have one DATA chunk in flight to
the receiver if allowed by cwnd (see rule B below). This rule
allows the sender to probe for a change in rwnd that the sender
missed due to the SACK having been lost in transit from the data
receiver to the data sender.
<span class="grey">Stewart, et al. Informational [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-6.1">Section 6.1</a>)
---------
A) At any given time, the data sender MUST NOT transmit new data to
any destination transport address if its peer's rwnd indicates
that the peer has no buffer space (i.e., rwnd is 0; see <a href="#section-6.2.1">Section</a>
<a href="#section-6.2.1">6.2.1</a>). However, regardless of the value of rwnd (including if it
is 0), the data sender can always have one DATA chunk in flight to
the receiver if allowed by cwnd (see rule B, below). This rule
allows the sender to probe for a change in rwnd that the sender
missed due to the SACK's having been lost in transit from the data
receiver to the data sender.
When the receiver's advertised window is zero, this probe is
called a zero window probe. Note that a zero window probe
SHOULD only be sent when all outstanding DATA chunks have
been cumulatively acknowledged and no DATA chunks are in
flight. Zero window probing MUST be supported.
If the sender continues to receive new packets from the receiver
while doing zero window probing, the unacknowledged window probes
should not increment the error counter for the association or any
destination transport address.This is because the receiver MAY
keep its window closed for an indefinite time. Refer to
<a href="#section-6.2">Section 6.2</a> on the receiver behavior when it advertises a zero
window. The sender SHOULD send the first zero window probe after
1 RTO when it detects that the receiver has closed its window
and SHOULD increase the probe interval exponentially afterwards.
Also note that the cwnd SHOULD be adjusted according to
<a href="#section-7.2.1">Section 7.2.1</a>. Zero window probing does not affect the
calculation of cwnd.
The sender MUST also have an algorithm for sending new DATA chunks
to avoid silly window syndrome (SWS) as described in <a href="./rfc813">RFC 813</a>. The
algorithm can be similar to the one described in <a href="./rfc1122#section-4.2.3.4">Section 4.2.3.4
of RFC 1122</a>.
<span class="h4"><a class="selflink" id="section-2.15.3" href="#section-2.15.3">2.15.3</a>. Solution Description</span>
The above allows a receiver to drop new data that arrives and yet
still requires the receiver to send a SACK showing the conditions
unchanged (with the possible exception of a new a_rwnd) and the
dropped chunk as missing. This will allow the association to
continue until the rwnd condition clears.
<span class="grey">Stewart, et al. Informational [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.16" href="#section-2.16">2.16</a>. Fragmentation and Path MTU Issues</span>
<span class="h4"><a class="selflink" id="section-2.16.1" href="#section-2.16.1">2.16.1</a>. Description of the Problem</span>
The current wording of the Fragmentation and Reassembly forces an
implementation that supports fragmentation to always fragment. This
prohibits an implementation from offering its users an option to
disable sends that exceed the SCTP fragmentation point.
The restriction in <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>], Section 6.9, was never meant to
restrict an implementations API from this behavior.
<span class="h4"><a class="selflink" id="section-2.16.2" href="#section-2.16.2">2.16.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.1">Section 6.1</a>)
---------
6.9 Fragmentation and Reassembly
An endpoint MAY support fragmentation when sending DATA chunks, but
MUST support reassembly when receiving DATA chunks. If an endpoint
supports fragmentation, it MUST fragment a user message if the size
of the user message to be sent causes the outbound SCTP packet size
to exceed the current MTU. If an implementation does not support
fragmentation of outbound user messages, the endpoint must return an
error to its upper layer and not attempt to send the user message.
IMPLEMENTATION NOTE: In this error case, the Send primitive
discussed in <a href="#section-10.1">Section 10.1</a> would need to return an error to the upper
layer.
---------
New text: (<a href="#section-6.1">Section 6.1</a>)
---------
6.9. Fragmentation and Reassembly
An endpoint MAY support fragmentation when sending DATA chunks, but
it MUST support reassembly when receiving DATA chunks. If an
endpoint supports fragmentation, it MUST fragment a user message if
the size of the user message to be sent causes the outbound SCTP
packet size to exceed the current MTU. If an implementation does not
support fragmentation of outbound user messages, the endpoint MUST
return an error to its upper layer and not attempt to send the user
message.
<span class="grey">Stewart, et al. Informational [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
Note: If an implementation that supports fragmentation makes
available to its upper layer a mechanism to turn off fragmentation it
may do so. However, in so doing, it MUST react just like an
implementation that does NOT support fragmentation, i.e., it MUST
reject sends that exceed the current P-MTU.
IMPLEMENTATION NOTE: In this error case, the Send primitive
discussed in <a href="#section-10.1">Section 10.1</a> would need to return an error to the upper
layer.
<span class="h4"><a class="selflink" id="section-2.16.3" href="#section-2.16.3">2.16.3</a>. Solution Description</span>
The above wording will allow an implementation to offer the option of
rejecting sends that exceed the P-MTU size even when the
implementation supports fragmentation.
<span class="h3"><a class="selflink" id="section-2.17" href="#section-2.17">2.17</a>. Initial Value of the Cumulative TSN Ack</span>
<span class="h4"><a class="selflink" id="section-2.17.1" href="#section-2.17.1">2.17.1</a>. Description of the Problem</span>
The current description of the SACK chunk within the RFC does not
clearly state the value that would be put within a SACK when no DATA
chunk has been received.
<span class="h4"><a class="selflink" id="section-2.17.2" href="#section-2.17.2">2.17.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.4">Section 3.3.4</a>)
---------
Cumulative TSN Ack: 32 bits (unsigned integer)
This parameter contains the TSN of the last DATA chunk received in
sequence before a gap.
---------
New text: (<a href="#section-3.3.4">Section 3.3.4</a>)
---------
Cumulative TSN Ack: 32 bits (unsigned integer)
This parameter contains the TSN of the last DATA chunk received in
sequence before a gap. In the case where no DATA chunk has
been received, this value is set to the peer's Initial TSN minus
one.
<span class="grey">Stewart, et al. Informational [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.17.3" href="#section-2.17.3">2.17.3</a>. Solution Description</span>
This change clearly states what the initial value will be for a SACK
sender.
<span class="h3"><a class="selflink" id="section-2.18" href="#section-2.18">2.18</a>. Handling of Address Parameters within the INIT or INIT-ACK</span>
<span class="h4"><a class="selflink" id="section-2.18.1" href="#section-2.18.1">2.18.1</a>. Description of the Problem</span>
The current description on handling address parameters contained
within the INIT and INIT-ACK does not fully describe a requirement
for their handling.
<span class="h4"><a class="selflink" id="section-2.18.2" href="#section-2.18.2">2.18.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-5.1.2">Section 5.1.2</a>)
---------
C) If there are only IPv4/IPv6 addresses present in the received INIT
or INIT ACK chunk, the receiver shall derive and record all the
transport address(es) from the received chunk AND the source IP
address that sent the INIT or INIT ACK. The transport address(es)
are derived by the combination of SCTP source port (from the
common header) and the IP address parameter(s) carried in the INIT
or INIT ACK chunk and the source IP address of the IP datagram.
The receiver should use only these transport addresses as
destination transport addresses when sending subsequent packets to
its peer.
---------
New text: (<a href="#section-5.1.2">Section 5.1.2</a>)
---------
C) If there are only IPv4/IPv6 addresses present in the received INIT
or INIT ACK chunk, the receiver MUST derive and record all the
transport addresses from the received chunk AND the source IP
address that sent the INIT or INIT ACK. The transport addresses
are derived by the combination of SCTP source port (from the
common header) and the IP address parameter(s) carried in the INIT
or INIT ACK chunk and the source IP address of the IP datagram.
The receiver should use only these transport addresses as
destination transport addresses when sending subsequent packets to
its peer.
<span class="grey">Stewart, et al. Informational [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
D) An INIT or INIT ACK chunk MUST be treated as belonging
to an already established association (or one in the
process of being established) if the use of any of the
valid address parameters contained within the chunk
would identify an existing TCB.
<span class="h4"><a class="selflink" id="section-2.18.3" href="#section-2.18.3">2.18.3</a>. Solution description</span>
This new text clearly specifies to an implementor the need to look
within the INIT or INIT ACK. Any implementation that does not do
this may (for example) not be able to recognize an INIT chunk coming
from an already established association that adds new addresses (see
<a href="#section-2.6">Section 2.6</a>) or an incoming INIT ACK chunk sent from a source address
different from the destination address used to send the INIT chunk.
<span class="h3"><a class="selflink" id="section-2.19" href="#section-2.19">2.19</a>. Handling of Stream Shortages</span>
<span class="h4"><a class="selflink" id="section-2.19.1" href="#section-2.19.1">2.19.1</a>. Description of the Problem</span>
The current wording in the RFC places the choice of sending an ABORT
upon the SCTP stack when a stream shortage occurs. This decision
should really be made by the upper layer, not the SCTP stack.
<span class="h4"><a class="selflink" id="section-2.19.2" href="#section-2.19.2">2.19.2</a>. Text Changes to the Document</span>
---------
Old text:
---------
5.1.1 Handle Stream Parameters
In the INIT and INIT ACK chunks, the sender of the chunk shall
indicate the number of outbound streams (OS) it wishes to have in
the association, as well as the maximum inbound streams (MIS) it
will accept from the other endpoint.
After receiving the stream configuration information from the other
side, each endpoint shall perform the following check: If the peer's
MIS is less than the endpoint's OS, meaning that the peer is
incapable of supporting all the outbound streams the endpoint wants
to configure, the endpoint MUST either use MIS outbound streams, or
abort the association and report to its upper layer the resources
shortage at its peer.
<span class="grey">Stewart, et al. Informational [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-5.1.2">Section 5.1.2</a>)
---------
5.1.1. Handle Stream Parameters
In the INIT and INIT ACK chunks, the sender of the chunk MUST
indicate the number of outbound streams (OS) it wishes to have in
the association, as well as the maximum inbound streams (MIS) it will
accept from the other endpoint.
After receiving the stream configuration information from the other
side, each endpoint MUST perform the following check: If the peer's
MIS is less than the endpoint's OS, meaning that the peer is
incapable of supporting all the outbound streams the endpoint wants
to configure, the endpoint MUST use MIS outbound streams and MAY
report any shortage to the upper layer. The upper layer can then
choose to abort the association if the resource shortage
is unacceptable.
<span class="h4"><a class="selflink" id="section-2.19.3" href="#section-2.19.3">2.19.3</a>. Solution Description</span>
The above changes take the decision to ABORT out of the realm of the
SCTP stack and place it into the user's hands.
<span class="h3"><a class="selflink" id="section-2.20" href="#section-2.20">2.20</a>. Indefinite Postponement</span>
<span class="h4"><a class="selflink" id="section-2.20.1" href="#section-2.20.1">2.20.1</a>. Description of the Problem</span>
The current RFC does not provide any guidance on the assignment of
TSN sequence numbers to outbound messages nor reception of these
messages. This could lead to a possible indefinite postponement.
<span class="h4"><a class="selflink" id="section-2.20.2" href="#section-2.20.2">2.20.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.1">Section 6.1</a>)
---------
Note: The data sender SHOULD NOT use a TSN that is more than 2**31 -
1 above the beginning TSN of the current send window.
6.2 Acknowledgement on Reception of DATA Chunks
<span class="grey">Stewart, et al. Informational [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-6.1">Section 6.1</a>)
---------
Note: The data sender SHOULD NOT use a TSN that is more than 2**31 -
1 above the beginning TSN of the current send window.
The algorithm by which an implementation assigns sequential TSNs to
messages on a particular association MUST ensure that no user
message that has been accepted by SCTP is indefinitely postponed
from being assigned a TSN. Acceptable algorithms for assigning TSNs
include
(a) assigning TSNs in round-robin order over all streams with
pending data; and
(b) preserving the linear order in which the user messages were
submitted to the SCTP association.
When an upper layer requests to read data on an SCTP association,
the SCTP receiver SHOULD choose the message with the lowest TSN from
among all deliverable messages. In SCTP implementations that allow a
user to request data on a specific stream, this operation SHOULD NOT
block if data is not available, since this can lead to a deadlock
under certain conditions.
6.2. Acknowledgement on Receipt of DATA Chunks
<span class="h4"><a class="selflink" id="section-2.20.3" href="#section-2.20.3">2.20.3</a>. Solution Description</span>
The above wording clarifies how TSNs SHOULD be assigned by the
sender.
<span class="h3"><a class="selflink" id="section-2.21" href="#section-2.21">2.21</a>. User-Initiated Abort of an Association</span>
<span class="h4"><a class="selflink" id="section-2.21.1" href="#section-2.21.1">2.21.1</a>. Description of the Problem</span>
It is not possible for an upper layer to abort the association and
provide the peer with an indication of why the association is
aborted.
<span class="h4"><a class="selflink" id="section-2.21.2" href="#section-2.21.2">2.21.2</a>. Text changes to the document</span>
Some of the changes given here already include changes suggested in
<a href="#section-2.6">Section 2.6</a> of this document.
<span class="grey">Stewart, et al. Informational [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
Old text: (<a href="#section-3.3.10">Section 3.3.10</a>)
---------
Cause Code
Value Cause Code
--------- ----------------
1 Invalid Stream Identifier
2 Missing Mandatory Parameter
3 Stale Cookie Error
4 Out of Resource
5 Unresolvable Address
6 Unrecognized Chunk Type
7 Invalid Mandatory Parameter
8 Unrecognized Parameters
9 No User Data
10 Cookie Received While Shutting Down
Cause Length: 16 bits (unsigned integer)
Set to the size of the parameter in bytes, including the Cause
Code, Cause Length, and Cause-Specific Information fields
Cause-specific Information: variable length
This field carries the details of the error condition.
Sections <a href="#section-3.3.10.1">3.3.10.1</a> - <a href="#section-3.3.10.10">3.3.10.10</a> define error causes for SCTP.
Guidelines for the IETF to define new error cause values are
discussed in <a href="#section-13.3">Section 13.3</a>.
<span class="grey">Stewart, et al. Informational [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-3.3.10">Section 3.3.10</a>)
---------
Cause Code
Value Cause Code
--------- ----------------
1 Invalid Stream Identifier
2 Missing Mandatory Parameter
3 Stale Cookie Error
4 Out of Resource
5 Unresolvable Address
6 Unrecognized Chunk Type
7 Invalid Mandatory Parameter
8 Unrecognized Parameters
9 No User Data
10 Cookie Received While Shutting Down
11 Restart of an Association with New Addresses
12 User-Initiated Abort
Cause Length: 16 bits (unsigned integer)
Set to the size of the parameter in bytes, including the Cause
Code, Cause Length, and Cause-Specific Information fields
Cause-specific Information: variable length
This field carries the details of the error condition.
Sections <a href="#section-3.3.10.1">3.3.10.1</a> - <a href="#section-3.3.10.12">3.3.10.12</a> define error causes for SCTP.
Guidelines for the IETF to define new error cause values are
discussed in <a href="#section-13.3">Section 13.3</a>.
---------
New text: (Note: no old text, new error added in <a href="#section-3.3.10">Section 3.3.10</a>)
---------
3.3.10.12. User-Initiated Abort (12)
Cause of error
--------------
This error cause MAY be included in ABORT chunks that are sent
because of an upper layer request. The upper layer can specify
an Upper Layer Abort Reason that is transported by SCTP
transparently and MAY be delivered to the upper layer protocol
at the peer.
<span class="grey">Stewart, et al. Informational [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cause Code=12 | Cause Length=Variable |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ Upper Layer Abort Reason /
\ \
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
---------
Old text: (<a href="#section-9.1">Section 9.1</a>)
---------
9.1 Abort of an Association
When an endpoint decides to abort an existing association, it
shall send an ABORT chunk to its peer endpoint. The sender MUST
fill in the peer's Verification Tag in the outbound packet and
MUST NOT bundle any DATA chunk with the ABORT.
An endpoint MUST NOT respond to any received packet that contains
an ABORT chunk (also see <a href="#section-8.4">Section 8.4</a>).
An endpoint receiving an ABORT shall apply the special
Verification Tag check rules described in <a href="#section-8.5.1">Section 8.5.1</a>.
After checking the Verification Tag, the receiving endpoint shall
remove the association from its record and shall report the
termination to its upper layer.
---------
New text: (<a href="#section-9.1">Section 9.1</a>)
---------
9.1. Abort of an Association
When an endpoint decides to abort an existing association, it MUST
send an ABORT chunk to its peer endpoint. The sender MUST fill in
the peer's Verification Tag in the outbound packet and MUST NOT
bundle any DATA chunk with the ABORT. If the association is
aborted on request of the upper layer, a User-Initiated Abort
error cause (see 3.3.10.12) SHOULD be present in the ABORT chunk.
An endpoint MUST NOT respond to any received packet that contains
an ABORT chunk (also see <a href="#section-8.4">Section 8.4</a>).
An endpoint receiving an ABORT MUST apply the special Verification
Tag check rules described in <a href="#section-8.5.1">Section 8.5.1</a>.
After checking the Verification Tag, the receiving endpoint MUST
<span class="grey">Stewart, et al. Informational [Page 47]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-48" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
remove the association from its record and SHOULD report the
termination to its upper layer. If a User-Initiated Abort error
cause is present in the ABORT chunk, the Upper Layer Abort Reason
SHOULD be made available to the upper layer.
---------
Old text: (<a href="#section-10.1">Section 10.1</a>)
---------
D) Abort
Format: ABORT(association id [, cause code])
-> result
Ungracefully closes an association. Any locally queued user
data will be discarded and an ABORT chunk is sent to the peer.
A success code will be returned on successful abortion of the
association. If attempting to abort the association results
in a failure, an error code shall be returned.
Mandatory attributes:
o association id - local handle to the SCTP association
Optional attributes:
o cause code - reason of the abort to be passed to the peer.
---------
New text: (<a href="#section-10.1">Section 10.1</a>)
---------
D) Abort
Format: ABORT(association id [, Upper Layer Abort Reason])
-> result
Ungracefully closes an association. Any locally queued user
data will be discarded, and an ABORT chunk is sent to the peer.
A success code will be returned on successful abortion of the
association. If attempting to abort the association results
in a failure, an error code shall be returned.
Mandatory attributes:
o association id - Local handle to the SCTP association.
<span class="grey">Stewart, et al. Informational [Page 48]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-49" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
Optional attributes:
o Upper Layer Abort Reason - Reason of the abort to be passed
to the peer.
None.
---------
Old text: (<a href="#section-10.2">Section 10.2</a>)
---------
E) COMMUNICATION LOST notification
When SCTP loses communication to an endpoint completely (e.g., via
Heartbeats) or detects that the endpoint has performed an abort
operation, it shall invoke this notification on the ULP.
The following shall be passed with the notification:
o association id - local handle to the SCTP association
o status - This indicates what type of event has occurred; The
status may indicate a failure OR a normal termination
event occurred in response to a shutdown or abort
request.
The following may be passed with the notification:
o data retrieval id - an identification used to retrieve
unsent and unacknowledged data.
o last-acked - the TSN last acked by that peer endpoint;
o last-sent - the TSN last sent to that peer endpoint;
---------
New text: (<a href="#section-10.2">Section 10.2</a>)
---------
E) COMMUNICATION LOST notification
When SCTP loses communication to an endpoint completely (e.g., via
Heartbeats) or detects that the endpoint has performed an abort
operation, it shall invoke this notification on the ULP.
The following shall be passed with the notification:
o association id - Local handle to the SCTP association.
<span class="grey">Stewart, et al. Informational [Page 49]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-50" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
o status - This indicates what type of event has occurred; The
status may indicate that a failure OR a normal
termination event occurred in response to a shutdown
or abort request.
The following may be passed with the notification:
o data retrieval id - An identification used to retrieve unsent
and unacknowledged data.
o last-acked - The TSN last acked by that peer endpoint.
o last-sent - The TSN last sent to that peer endpoint.
o Upper Layer Abort Reason - The abort reason specified in
case of a user-initiated abort.
<span class="h4"><a class="selflink" id="section-2.21.3" href="#section-2.21.3">2.21.3</a>. Solution Description</span>
The above allows an upper layer to provide its peer with an
indication of why the association was aborted. Therefore, an
addition error cause was introduced.
<span class="h3"><a class="selflink" id="section-2.22" href="#section-2.22">2.22</a>. Handling of Invalid Initiate Tag of INIT-ACK</span>
<span class="h4"><a class="selflink" id="section-2.22.1" href="#section-2.22.1">2.22.1</a>. Description of the Problem</span>
<a href="./rfc2960">RFC 2960</a> requires that the receiver of an INIT-ACK with the Initiate
Tag set to zero handles this as an error and sends back an ABORT.
But the sender of the INIT-ACK normally has no TCB, and thus the
ABORT is useless.
<span class="h4"><a class="selflink" id="section-2.22.2" href="#section-2.22.2">2.22.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.3">Section 3.3.3</a>)
---------
Initiate Tag: 32 bits (unsigned integer)
The receiver of the INIT ACK records the value of the
Initiate Tag parameter. This value MUST be placed into
the Verification Tag field of every SCTP packet that the
INIT ACK receiver transmits within this association.
The Initiate Tag MUST NOT take the value 0. See <a href="#section-5.3.1">Section 5.3.1</a>
for more on the selection of the Initiate Tag value.
<span class="grey">Stewart, et al. Informational [Page 50]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-51" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
If the value of the Initiate Tag in a received INIT ACK chunk
is found to be 0, the receiver MUST treat it as an error and
close the association by transmitting an ABORT.
---------
New text: (<a href="#section-3.3.3">Section 3.3.3</a>)
---------
Initiate Tag: 32 bits (unsigned integer)
The receiver of the INIT ACK records the value of the
Initiate Tag parameter. This value MUST be placed into
the Verification Tag field of every SCTP packet that the
INIT ACK receiver transmits within this association.
The Initiate Tag MUST NOT take the value 0. See <a href="#section-5.3.1">Section 5.3.1</a>
for more on the selection of the Initiate Tag value.
If the value of the Initiate Tag in a received INIT ACK
chunk is found to be 0, the receiver MUST destroy the
association discarding its TCB. The receiver MAY send an
ABORT for debugging purpose.
<span class="h4"><a class="selflink" id="section-2.22.3" href="#section-2.22.3">2.22.3</a>. Solution Description</span>
The new text does not require that the receiver of the invalid INIT-
ACK send the ABORT. This behavior is in tune with the error case of
invalid stream numbers in the INIT-ACK. However, sending an ABORT
for debugging purposes is allowed.
<span class="h3"><a class="selflink" id="section-2.23" href="#section-2.23">2.23</a>. Sending an ABORT in Response to an INIT</span>
<span class="h4"><a class="selflink" id="section-2.23.1" href="#section-2.23.1">2.23.1</a>. Description of the Problem</span>
Whenever the receiver of an INIT chunk has to send an ABORT chunk in
response, for whatever reason, it is not stated clearly which
Verification Tag and value of the T-bit should be used.
<span class="h4"><a class="selflink" id="section-2.23.2" href="#section-2.23.2">2.23.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-8.4">Section 8.4</a>)
---------
3) If the packet contains an INIT chunk with a Verification Tag
set to '0', process it as described in <a href="#section-5.1">Section 5.1</a>.
Otherwise,
<span class="grey">Stewart, et al. Informational [Page 51]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-52" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-8.4">Section 8.4</a>)
---------
3) If the packet contains an INIT chunk with a Verification Tag
set to '0', process it as described in <a href="#section-5.1">Section 5.1</a>. If, for
whatever reason, the INIT cannot be processed normally and
an ABORT has to be sent in response, the Verification Tag
of the packet containing the ABORT chunk MUST be the
Initiate tag of the received INIT chunk, and the T-Bit of
the ABORT chunk has to be set to 0, indicating that
a TCB was destroyed. Otherwise,
<span class="h4"><a class="selflink" id="section-2.23.3" href="#section-2.23.3">2.23.3</a>. Solution Description</span>
The new text stated clearly which value of the Verification Tag and
T-bit have to be used.
<span class="h3"><a class="selflink" id="section-2.24" href="#section-2.24">2.24</a>. Stream Sequence Number (SSN) Initialization</span>
<span class="h4"><a class="selflink" id="section-2.24.1" href="#section-2.24.1">2.24.1</a>. Description of the Problem</span>
<a href="./rfc2960">RFC 2960</a> does not describe the fact that the SSN has to be
initialized to 0, as required by <a href="./rfc2119">RFC 2119</a>.
<span class="h4"><a class="selflink" id="section-2.24.2" href="#section-2.24.2">2.24.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.5">Section 6.5</a>)
---------
The stream sequence number in all the streams shall start from 0
when the association is established. Also, when the stream
sequence number reaches the value 65535 the next stream sequence
number shall be set to 0.
---------
New text: (<a href="#section-6.5">Section 6.5</a>)
---------
The stream sequence number in all the streams MUST start from 0
when the association is established. Also, when the stream
sequence number reaches the value 65535 the next stream sequence
number MUST be set to 0.
<span class="grey">Stewart, et al. Informational [Page 52]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-53" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.24.3" href="#section-2.24.3">2.24.3</a>. Solution Description</span>
The 'shall' in the text is replaced by a 'MUST' to clearly state the
required behavior.
<span class="h3"><a class="selflink" id="section-2.25" href="#section-2.25">2.25</a>. SACK Packet Format</span>
<span class="h4"><a class="selflink" id="section-2.25.1" href="#section-2.25.1">2.25.1</a>. Description of the Problem</span>
It is not clear in <a href="./rfc2960">RFC 2960</a> whether a SACK must contain the fields
Number of Gap Ack Blocks and Number of Duplicate TSNs.
<span class="h4"><a class="selflink" id="section-2.25.2" href="#section-2.25.2">2.25.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.4">Section 3.3.4</a>)
---------
The SACK MUST contain the Cumulative TSN Ack and
Advertised Receiver Window Credit (a_rwnd) parameters.
---------
New text: (<a href="#section-3.3.4">Section 3.3.4</a>)
---------
The SACK MUST contain the Cumulative TSN Ack,
Advertised Receiver Window Credit (a_rwnd), Number
of Gap Ack Blocks, and Number of Duplicate TSNs fields.
<span class="h4"><a class="selflink" id="section-2.25.3" href="#section-2.25.3">2.25.3</a>. Solution Description</span>
The text has been modified. It is now clear that a SACK always
contains the fields Number of Gap Ack Blocks and Number of Duplicate
TSNs.
<span class="h3"><a class="selflink" id="section-2.26" href="#section-2.26">2.26</a>. Protocol Violation Error Cause</span>
<span class="h4"><a class="selflink" id="section-2.26.1" href="#section-2.26.1">2.26.1</a>. Description of the Problem</span>
There are many situations where an SCTP endpoint may detect that its
peer violates the protocol. The result of such detection often
results in the association being destroyed by the sending of an
ABORT. Currently, there are only some error causes that could be
used to indicate the reason for the abort, but these do not cover all
cases.
<span class="grey">Stewart, et al. Informational [Page 53]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-54" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.26.2" href="#section-2.26.2">2.26.2</a>. Text Changes to the Document</span>
Some of the changes given here already include changes suggested in
<a href="#section-2.6">Section 2.6</a> and 2.21 of this document.
---------
Old text: (<a href="#section-3.3.10">Section 3.3.10</a>)
---------
Cause Code
Value Cause Code
--------- ----------------
1 Invalid Stream Identifier
2 Missing Mandatory Parameter
3 Stale Cookie Error
4 Out of Resource
5 Unresolvable Address
6 Unrecognized Chunk Type
7 Invalid Mandatory Parameter
8 Unrecognized Parameters
9 No User Data
10 Cookie Received While Shutting Down
Cause Length: 16 bits (unsigned integer)
Set to the size of the parameter in bytes, including the Cause
Code, Cause Length, and Cause-Specific Information fields
Cause-specific Information: variable length
This field carries the details of the error condition.
Sections <a href="#section-3.3.10.1">3.3.10.1</a> - <a href="#section-3.3.10.10">3.3.10.10</a> define error causes for SCTP.
Guidelines for the IETF to define new error cause values are
discussed in <a href="#section-13.3">Section 13.3</a>.
<span class="grey">Stewart, et al. Informational [Page 54]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-55" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-3.3.10">Section 3.3.10</a>)
---------
Cause Code
Value Cause Code
--------- ----------------
1 Invalid Stream Identifier
2 Missing Mandatory Parameter
3 Stale Cookie Error
4 Out of Resource
5 Unresolvable Address
6 Unrecognized Chunk Type
7 Invalid Mandatory Parameter
8 Unrecognized Parameters
9 No User Data
10 Cookie Received While Shutting Down
11 Restart of an Association with New Addresses
12 User Initiated Abort
13 Protocol Violation
Cause Length: 16 bits (unsigned integer)
Set to the size of the parameter in bytes, including the Cause
Code, Cause Length, and Cause-Specific Information fields
Cause-specific Information: variable length
This field carries the details of the error condition.
Sections <a href="#section-3.3.10.1">3.3.10.1</a> - <a href="#section-3.3.10.13">3.3.10.13</a> define error causes for SCTP.
Guidelines for the IETF to define new error cause values are
discussed in <a href="#section-13.3">Section 13.3</a>.
---------
New text: (Note: no old text; new error added in <a href="#section-3.3.10">section 3.3.10</a>)
---------
3.3.10.13. Protocol Violation (13)
Cause of error
--------------
This error cause MAY be included in ABORT chunks that are sent
because an SCTP endpoint detects a protocol violation of the peer
that is not covered by the error causes described in 3.3.10.1 to
3.3.10.12. An implementation MAY provide additional information
specifying what kind of protocol violation has been detected.
<span class="grey">Stewart, et al. Informational [Page 55]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-56" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cause Code=13 | Cause Length=Variable |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ Additional Information /
\ \
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<span class="h4"><a class="selflink" id="section-2.26.3" href="#section-2.26.3">2.26.3</a>. Solution Description</span>
An additional error cause has been defined that can be used by an
endpoint to indicate a protocol violation of the peer.
<span class="h3"><a class="selflink" id="section-2.27" href="#section-2.27">2.27</a>. Reporting of Unrecognized Parameters</span>
<span class="h4"><a class="selflink" id="section-2.27.1" href="#section-2.27.1">2.27.1</a>. Description of the Problem</span>
It is not stated clearly in <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] how unrecognized parameters
should be reported. Unrecognized parameters in an INIT chunk could
be reported in the INIT-ACK chunk or in a separate ERROR chunk, which
can get lost. Unrecognized parameters in an INIT-ACK chunk have to
be reported in an ERROR-chunk. This can be bundled with the COOKIE-
ERROR chunk or sent separately. If it is sent separately and
received before the COOKIE-ECHO, it will be handled as an OOTB
packet, resulting in sending out an ABORT chunk. Therefore, the
association would not be established.
<span class="h4"><a class="selflink" id="section-2.27.2" href="#section-2.27.2">2.27.2</a>. Text Changes to the Document</span>
Some of the changes given here already include changes suggested in
<a href="#section-2.2">Section 2.2</a> of this document.
---------
Old text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
00 - Stop processing this SCTP packet and discard it, do not process
any further chunks within it.
01 - Stop processing this SCTP packet and discard it, do not process
any further chunks within it, and report the unrecognized
parameter in an 'Unrecognized Parameter Type' (in either an
ERROR or in the INIT ACK).
10 - Skip this parameter and continue processing.
11 - Skip this parameter and continue processing but report the
unrecognized parameter in an 'Unrecognized Parameter Type' (in
either an ERROR or in the INIT ACK).
<span class="grey">Stewart, et al. Informational [Page 56]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-57" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
00 - Stop processing this SCTP chunk and discard it; do not process
any further parameters within this chunk.
01 - Stop processing this SCTP chunk and discard it, do not process
any further parameters within this chunk, and report the
unrecognized parameter in an 'Unrecognized Parameter Type', as
described in 3.2.2.
10 - Skip this parameter and continue processing.
11 - Skip this parameter and continue processing but report the
unrecognized parameter in an 'Unrecognized Parameter Type', as
described in 3.2.2.
---------
New text: (Note: no old text; clarification added in <a href="#section-3.2">Section 3.2</a>)
---------
3.2.2. Reporting of Unrecognized Parameters
If the receiver of an INIT chunk detects unrecognized parameters
and has to report them according to <a href="#section-3.2.1">Section 3.2.1</a>, it MUST put
the 'Unrecognized Parameter' parameter(s) in the INIT-ACK chunk
sent in response to the INIT-chunk. Note that if the receiver
of the INIT chunk is NOT going to establish an association (e.g.,
due to lack of resources), then no report would be sent back.
If the receiver of an INIT-ACK chunk detects unrecognized
parameters and has to report them according to <a href="#section-3.2.1">Section 3.2.1</a>,
it SHOULD bundle the ERROR chunk containing the
'Unrecognized Parameter' error cause with the COOKIE-ECHO
chunk sent in response to the INIT-ACK chunk. If the
receiver of the INIT-ACK cannot bundle the COOKIE-ECHO chunk
with the ERROR chunk, the ERROR chunk MAY be sent separately
but not before the COOKIE-ACK has been received.
Note: Any time a COOKIE-ECHO is sent in a packet, it MUST be the
first chunk.
<span class="h4"><a class="selflink" id="section-2.27.3" href="#section-2.27.3">2.27.3</a>. Solution Description</span>
The procedure of reporting unrecognized parameters has been described
clearly.
<span class="grey">Stewart, et al. Informational [Page 57]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-58" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.28" href="#section-2.28">2.28</a>. Handling of IP Address Parameters</span>
<span class="h4"><a class="selflink" id="section-2.28.1" href="#section-2.28.1">2.28.1</a>. Description of the Problem</span>
It is not stated clearly in <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] how an SCTP endpoint that
supports either IPv4 addresses or IPv6 addresses should respond if
IPv4 and IPv6 addresses are presented by the peer in the INIT or
INIT-ACK chunk.
<span class="h4"><a class="selflink" id="section-2.28.2" href="#section-2.28.2">2.28.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-5.1.2">Section 5.1.2</a>)
---------
IMPLEMENTATION NOTE: In the case that the receiver of an INIT ACK
fails to resolve the address parameter due to an unsupported type,
it can abort the initiation process and then attempt a
re-initiation by using a 'Supported Address Types' parameter in
the new INIT to indicate what types of address it prefers.
---------
New text: (<a href="#section-5.1.2">Section 5.1.2</a>)
---------
IMPLEMENTATION NOTE: In the case that the receiver of an INIT ACK
fails to resolve the address parameter due to an unsupported type,
it can abort the initiation process and then attempt a re-
initiation by using a 'Supported Address Types' parameter in the
new INIT to indicate what types of address it prefers.
IMPLEMENTATION NOTE: If an SCTP endpoint that only supports either
IPv4 or IPv6 receives IPv4 and IPv6 addresses in an INIT or INIT-
ACK chunk from its peer, it MUST use all the addresses belonging
to the supported address family. The other addresses MAY be
ignored. The endpoint SHOULD NOT respond with any kind of error
indication.
<span class="h4"><a class="selflink" id="section-2.28.3" href="#section-2.28.3">2.28.3</a>. Solution Description</span>
The procedure of handling IP address parameters has been described
clearly.
<span class="grey">Stewart, et al. Informational [Page 58]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-59" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.29" href="#section-2.29">2.29</a>. Handling of COOKIE ECHO Chunks When a TCB Exists</span>
<span class="h4"><a class="selflink" id="section-2.29.1" href="#section-2.29.1">2.29.1</a>. Description of the Problem</span>
The description of the behavior in <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] when a COOKIE ECHO
chunk and a TCB exist could be misunderstood. When a COOKIE ECHO is
received, a TCB exists and the local tag and peer's tag match, it is
stated that the endpoint should enter the ESTABLISHED state if it has
not already done so and send a COOKIE ACK. It was not clear that, in
the case the endpoint has already left the ESTABLISHED state again,
then it should not go back to established. In case D, the endpoint
can only enter state ESTABLISHED from COOKIE-ECHOED because in state
CLOSED it has no TCB and in state COOKIE-WAIT it has a TCB but knows
nothing about the peer's tag, which is requested to match in this
case.
<span class="h4"><a class="selflink" id="section-2.29.2" href="#section-2.29.2">2.29.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-5.2.4">Section 5.2.4</a>)
---------
D) When both local and remote tags match the endpoint should
always enter the ESTABLISHED state, if it has not already
done so. It should stop any init or cookie timers that may
be running and send a COOKIE ACK.
---------
New text: (<a href="#section-5.2.4">Section 5.2.4</a>)
---------
D) When both local and remote tags match, the endpoint should
enter the ESTABLISHED state, if it is in the COOKIE-ECHOED
state. It should stop any cookie timer that may
be running and send a COOKIE ACK.
<span class="h4"><a class="selflink" id="section-2.29.3" href="#section-2.29.3">2.29.3</a>. Solution Description</span>
The procedure of handling of COOKIE-ECHO chunks when a TCB exists has
been described clearly.
<span class="h3"><a class="selflink" id="section-2.30" href="#section-2.30">2.30</a>. The Initial Congestion Window Size</span>
<span class="h4"><a class="selflink" id="section-2.30.1" href="#section-2.30.1">2.30.1</a>. Description of the Problem</span>
<a href="./rfc2960">RFC 2960</a> was published with the intention of having the same
congestion control properties as TCP. Since the publication of <a href="./rfc2960">RFC</a>
<a href="./rfc2960">2960</a>, TCP's initial congestion window size has been increased via <a href="./rfc3390">RFC</a>
<a href="./rfc3390">3390</a>. This same update will be needed for SCTP to keep SCTP's
congestion control properties equivalent to that of TCP.
<span class="grey">Stewart, et al. Informational [Page 59]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-60" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.30.2" href="#section-2.30.2">2.30.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-7.2.1">Section 7.2.1</a>)
---------
o The initial cwnd before DATA transmission or after a
sufficiently long idle period MUST be <= 2*MTU.
---------
New text: (<a href="#section-7.2.1">Section 7.2.1</a>)
---------
o The initial cwnd before DATA transmission or after a
sufficiently long idle period MUST be set to
min(4*MTU, max (2*MTU, 4380 bytes)).
---------
Old text: (<a href="#section-7.2.1">Section 7.2.1</a>)
---------
o When the endpoint does not transmit data on a given transport
address, the cwnd of the transport address should be adjusted
to max(cwnd/2, 2*MTU) per RTO.
---------
New text: (<a href="#section-7.2.1">Section 7.2.1</a>)
---------
o When the endpoint does not transmit data on a given transport
address, the cwnd of the transport address should be adjusted
to max(cwnd/2, 4*MTU) per RTO.
---------
Old text: (<a href="#section-7.2.2">Section 7.2.2</a>)
---------
o Same as in the slow start, when the sender does not transmit
DATA on a given transport address, the cwnd of the transport
address should be adjusted to max(cwnd / 2, 2*MTU) per RTO.
---------
New text: (<a href="#section-7.2.2">Section 7.2.2</a>)
---------
o Same as in the slow start, when the sender does not transmit
DATA on a given transport address, the cwnd of the transport
address should be adjusted to max(cwnd / 2, 4*MTU) per RTO.
<span class="grey">Stewart, et al. Informational [Page 60]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-61" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
Old text: (<a href="#section-7.2.3">Section 7.2.3</a>)
---------
7.2.3. Congestion Control
Upon detection of packet losses from SACK (see <a href="#section-7.2.4">Section 7.2.4</a>), an
endpoint should do the following:
ssthresh = max(cwnd/2, 2*MTU)
cwnd = ssthresh
Basically, a packet loss causes cwnd to be cut in half.
When the T3-rtx timer expires on an address, SCTP should perform
slow start by
ssthresh = max(cwnd/2, 2*MTU)
cwnd = 1*MTU
---------
New text: (<a href="#section-7.2.3">Section 7.2.3</a>)
---------
7.2.3 Congestion Control
Upon detection of packet losses from SACK (see <a href="#section-7.2.4">Section 7.2.4</a>), An
endpoint should do the following:
ssthresh = max(cwnd/2, 4*MTU)
cwnd = ssthresh
Basically, a packet loss causes cwnd to be cut in half.
When the T3-rtx timer expires on an address, SCTP should perform
slow start by:
ssthresh = max(cwnd/2, 4*MTU)
cwnd = 1*MTU
<span class="h4"><a class="selflink" id="section-2.30.3" href="#section-2.30.3">2.30.3</a>. Solution Description</span>
The change to SCTP's initial congestion window will allow it to
continue to maintain the same congestion control properties as TCP.
<span class="grey">Stewart, et al. Informational [Page 61]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-62" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.31" href="#section-2.31">2.31</a>. Stream Sequence Numbers in Figures</span>
<span class="h4"><a class="selflink" id="section-2.31.1" href="#section-2.31.1">2.31.1</a>. Description of the Problem</span>
In <a href="#section-2.24">Section 2.24</a> of this document, it is clarified that the SSN are
initialized with 0. Two figures in <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] illustrate that they
start with 1.
<span class="grey">Stewart, et al. Informational [Page 62]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-63" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.31.2" href="#section-2.31.2">2.31.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-7.2.1">Section 7.2.1</a>)
---------
Endpoint A Endpoint Z
{app sets association with Z}
(build TCB)
INIT [I-Tag=Tag_A
& other info] ------\
(Start T1-init timer) \
(Enter COOKIE-WAIT state) \---> (compose temp TCB and Cookie_Z)
/-- INIT ACK [Veri Tag=Tag_A,
/ I-Tag=Tag_Z,
(Cancel T1-init timer) <-----/ Cookie_Z, & other info]
(destroy temp TCB)
COOKIE ECHO [Cookie_Z] ------\
(Start T1-init timer) \
(Enter COOKIE-ECHOED state) \---> (build TCB enter ESTABLISHED
state)
/---- COOKIE-ACK
/
(Cancel T1-init timer, <-----/
Enter ESTABLISHED state)
{app sends 1st user data; strm 0}
DATA [TSN=initial TSN_A
Strm=0,Seq=1 & user data]--\
(Start T3-rtx timer) \
\->
/----- SACK [TSN Ack=init
/ TSN_A,Block=0]
(Cancel T3-rtx timer) <------/
...
{app sends 2 messages;strm 0}
/---- DATA
/ [TSN=init TSN_Z
<--/ Strm=0,Seq=1 & user data 1]
SACK [TSN Ack=init TSN_Z, / ---- DATA
Block=0] --------\ / [TSN=init TSN_Z +1,
\/ Strm=0,Seq=2 & user data 2]
<------/\
\
\------>
Figure 4: INITiation Example
<span class="grey">Stewart, et al. Informational [Page 63]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-64" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-7.2.1">Section 7.2.1</a>)
---------
Endpoint A Endpoint Z
{app sets association with Z}
(build TCB)
INIT [I-Tag=Tag_A
& other info] ------\
(Start T1-init timer) \
(Enter COOKIE-WAIT state) \---> (compose temp TCB and Cookie_Z)
/-- INIT ACK [Veri Tag=Tag_A,
/ I-Tag=Tag_Z,
(Cancel T1-init timer) <------/ Cookie_Z, & other info]
(destroy temp TCB)
COOKIE ECHO [Cookie_Z] ------\
(Start T1-init timer) \
(Enter COOKIE-ECHOED state) \---> (build TCB enter ESTABLISHED
state)
/---- COOKIE-ACK
/
(Cancel T1-init timer, <-----/
Enter ESTABLISHED state)
{app sends 1st user data; strm 0}
DATA [TSN=initial TSN_A
Strm=0,Seq=0 & user data]--\
(Start T3-rtx timer) \
\->
/----- SACK [TSN Ack=init
/ TSN_A,Block=0]
(Cancel T3-rtx timer) <------/
...
{app sends 2 messages;strm 0}
/---- DATA
/ [TSN=init TSN_Z
<--/ Strm=0,Seq=0 & user data 1]
SACK [TSN Ack=init TSN_Z, /---- DATA
Block=0] --------\ / [TSN=init TSN_Z +1,
\/ Strm=0,Seq=1 & user data 2]
<------/\
\
\------>
Figure 4: INITiation Example
<span class="grey">Stewart, et al. Informational [Page 64]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-65" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
Old text: (<a href="#section-5.2.4.1">Section 5.2.4.1</a>)
---------
Endpoint A Endpoint Z
<------------ Association is established---------------------->
Tag=Tag_A Tag=Tag_Z
<------------------------------------------------------------->
{A crashes and restarts}
{app sets up a association with Z}
(build TCB)
INIT [I-Tag=Tag_A'
& other info] --------\
(Start T1-init timer) \
(Enter COOKIE-WAIT state) \---> (find a existing TCB
compose temp TCB and Cookie_Z
with Tie-Tags to previous
association)
/--- INIT ACK [Veri Tag=Tag_A',
/ I-Tag=Tag_Z',
(Cancel T1-init timer) <------/ Cookie_Z[TieTags=
Tag_A,Tag_Z
& other info]
(destroy temp TCB,leave original
in place)
COOKIE ECHO [Veri=Tag_Z',
Cookie_Z
Tie=Tag_A,
Tag_Z]----------\
(Start T1-init timer) \
(Enter COOKIE-ECHOED state) \---> (Find existing association,
Tie-Tags match old tags,
Tags do not match i.e.,
case X X M M above,
Announce Restart to ULP
and reset association).
/---- COOKIE-ACK
(Cancel T1-init timer, <------/
Enter ESTABLISHED state)
{app sends 1st user data; strm 0}
DATA [TSN=initial TSN_A
Strm=0,Seq=1 & user data]--\
(Start T3-rtx timer) \
\->
/--- SACK [TSN Ack=init TSN_A,Block=0]
(Cancel T3-rtx timer) <------/
Figure 5: A Restart Example
<span class="grey">Stewart, et al. Informational [Page 65]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-66" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-5.2.4.1">Section 5.2.4.1</a>)
---------
Endpoint A Endpoint Z
<-------------- Association is established---------------------->
Tag=Tag_A Tag=Tag_Z
<--------------------------------------------------------------->
{A crashes and restarts}
{app sets up a association with Z}
(build TCB)
INIT [I-Tag=Tag_A'
& other info] --------\
(Start T1-init timer) \
(Enter COOKIE-WAIT state) \---> (find a existing TCB
compose temp TCB and Cookie_Z
with Tie-Tags to previous
association)
/--- INIT ACK [Veri Tag=Tag_A',
/ I-Tag=Tag_Z',
(Cancel T1-init timer) <------/ Cookie_Z[TieTags=
Tag_A,Tag_Z
& other info]
(destroy temp TCB,leave original
in place)
COOKIE ECHO [Veri=Tag_Z',
Cookie_Z
Tie=Tag_A,
Tag_Z]----------\
(Start T1-init timer) \
(Enter COOKIE-ECHOED state) \---> (Find existing association,
Tie-Tags match old tags,
Tags do not match i.e.,
case X X M M above,
Announce Restart to ULP
and reset association).
/---- COOKIE-ACK
(Cancel T1-init timer, <------/
Enter ESTABLISHED state)
{app sends 1st user data; strm 0}
DATA [TSN=initial TSN_A
Strm=0,Seq=0 & user data]--\
(Start T3-rtx timer) \
\->
/--- SACK [TSN Ack=init TSN_A,Block=0]
(Cancel T3-rtx timer) <------/
Figure 5: A Restart Example
<span class="grey">Stewart, et al. Informational [Page 66]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-67" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.31.3" href="#section-2.31.3">2.31.3</a>. Solution description</span>
Figure 4 and 5 were changed so that the SSN starts with 0 instead of
1.
<span class="h3"><a class="selflink" id="section-2.32" href="#section-2.32">2.32</a>. Unrecognized Parameters</span>
<span class="h4"><a class="selflink" id="section-2.32.1" href="#section-2.32.1">2.32.1</a>. Description of the Problem</span>
The RFC does not state clearly in <a href="#section-3.3.3.1">Section 3.3.3.1</a> whether one or
multiple unrecognized parameters are included in the 'Unrecognized
Parameter' parameter.
<span class="h4"><a class="selflink" id="section-2.32.2" href="#section-2.32.2">2.32.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.3">Section 3.3.3</a>)
---------
Variable Parameters Status Type Value
-------------------------------------------------------------
State Cookie Mandatory 7
IPv4 Address (Note 1) Optional 5
IPv6 Address (Note 1) Optional 6
Unrecognized Parameters Optional 8
Reserved for ECN Capable (Note 2) Optional 32768 (0x8000)
Host Name Address (Note 3) Optional 11
---------
New text: (<a href="#section-3.3.3">Section 3.3.3</a>)
---------
Variable Parameters Status Type Value
-------------------------------------------------------------
State Cookie Mandatory 7
IPv4 Address (Note 1) Optional 5
IPv6 Address (Note 1) Optional 6
Unrecognized Parameter Optional 8
Reserved for ECN Capable (Note 2) Optional 32768 (0x8000)
Host Name Address (Note 3) Optional 11
---------
Old text: (<a href="#section-3.3.3.1">Section 3.3.3.1</a>)
---------
Unrecognized Parameters:
Parameter Type Value: 8
Parameter Length: Variable Size.
<span class="grey">Stewart, et al. Informational [Page 67]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-68" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
Parameter Value:
This parameter is returned to the originator of the INIT
chunk when the INIT contains an unrecognized parameter
which has a value that indicates that it should be reported
to the sender. This parameter value field will contain
unrecognized parameters copied from the INIT chunk complete
with Parameter Type, Length and Value fields.
---------
New text: (<a href="#section-3.3.3.1">Section 3.3.3.1</a>)
---------
Unrecognized Parameter:
Parameter Type Value: 8
Parameter Length: Variable Size.
Parameter Value:
This parameter is returned to the originator of the INIT
chunk when the INIT contains an unrecognized parameter
that has a value that indicates that it should be reported
to the sender. This parameter value field will contain the
unrecognized parameter copied from the INIT chunk complete
with Parameter Type, Length, and Value fields.
<span class="h4"><a class="selflink" id="section-2.32.3" href="#section-2.32.3">2.32.3</a>. Solution Description</span>
The new text states clearly that only one unrecognized parameter is
reported per parameter.
<span class="h3"><a class="selflink" id="section-2.33" href="#section-2.33">2.33</a>. Handling of Unrecognized Parameters</span>
<span class="h4"><a class="selflink" id="section-2.33.1" href="#section-2.33.1">2.33.1</a>. Description of the Problem</span>
It is not stated clearly in <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] how unrecognized parameters
should be handled. The problem comes up when an INIT contains an
unrecognized parameter with highest bits 00. It was not clear
whether an INIT-ACK should be sent.
<span class="h4"><a class="selflink" id="section-2.33.2" href="#section-2.33.2">2.33.2</a>. Text Changes to the Document</span>
Some of the changes given here already include changes suggested in
<a href="#section-2.27">Section 2.27</a> of this document.
<span class="grey">Stewart, et al. Informational [Page 68]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-69" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
Old text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
00 - Stop processing this SCTP packet and discard it, do not process
any further chunks within it.
01 - Stop processing this SCTP packet and discard it, do not process
any further chunks within it, and report the unrecognized
parameter in an 'Unrecognized Parameter Type' (in either an
ERROR or in the INIT ACK).
10 - Skip this parameter and continue processing.
11 - Skip this parameter and continue processing but report the
unrecognized parameter in an 'Unrecognized Parameter Type' (in
either an ERROR or in the INIT ACK).
---------
New text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
00 - Stop processing this parameter; do not process
any further parameters within this chunk.
01 - Stop processing this parameter, do not process
any further parameters within this chunk, and report the
unrecognized parameter in an 'Unrecognized Parameter Type', as
described in 3.2.2.
10 - Skip this parameter and continue processing.
11 - Skip this parameter and continue processing but report the
unrecognized parameter in an 'Unrecognized Parameter Type', as
described in 3.2.2.
---------
New text: (Note: no old text; clarification added in <a href="#section-3.2">section 3.2</a>)
---------
3.2.2. Reporting of Unrecognized Parameters
If the receiver of an INIT chunk detects unrecognized parameters and
has to report them according to <a href="#section-3.2.1">Section 3.2.1</a>, it MUST put the
'Unrecognized Parameter' parameter(s) in the INIT-ACK chunk sent in
response to the INIT-chunk. Note that if the receiver of the INIT
chunk is NOT going to establish an association (e.g., due to lack of
<span class="grey">Stewart, et al. Informational [Page 69]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-70" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
resources), an 'Unrecognized Parameter' would NOT be included with
any ABORT being sent to the sender of the INIT.
If the receiver of an INIT-ACK chunk detects unrecognized parameters
and has to report them according to <a href="#section-3.2.1">Section 3.2.1</a>, it SHOULD bundle
the ERROR chunk containing the 'Unrecognized Parameter' error cause
with the COOKIE-ECHO chunk sent in response to the INIT-ACK chunk.
If the receiver of the INIT-ACK cannot bundle the COOKIE-ECHO chunk
with the ERROR chunk, the ERROR chunk MAY be sent separately but not
before the COOKIE-ACK has been received.
Note: Any time a COOKIE-ECHO is sent in a packet, it MUST be the
first chunk.
<span class="h4"><a class="selflink" id="section-2.33.3" href="#section-2.33.3">2.33.3</a>. Solution Description</span>
The procedure of handling unrecognized parameters has been described
clearly.
<span class="h3"><a class="selflink" id="section-2.34" href="#section-2.34">2.34</a>. Tie Tags</span>
<span class="h4"><a class="selflink" id="section-2.34.1" href="#section-2.34.1">2.34.1</a>. Description of the Problem</span>
<a href="./rfc2960">RFC 2960</a> requires that Tie-Tags be included in the COOKIE. The
cookie may not be encrypted. An attacker could discover the value of
the Verification Tags by analyzing cookies received after sending an
INIT.
<span class="h4"><a class="selflink" id="section-2.34.2" href="#section-2.34.2">2.34.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-1.4">Section 1.4</a>)
---------
o Tie-Tags: Verification Tags from a previous association. These
Tags are used within a State Cookie so that the newly
restarting association can be linked to the original
association within the endpoint that did not restart.
---------
New text: (<a href="#section-1.4">Section 1.4</a>)
---------
o Tie-Tags: Two 32-bit random numbers that together make a 64-
bit nonce. These Tags are used within a State Cookie and TCB
so that a newly restarting association can be linked to the
original association within the endpoint that did not restart
and yet not reveal the true Verification Tags of an existing
association.
<span class="grey">Stewart, et al. Informational [Page 70]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-71" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
Old text: (<a href="#section-5.2.1">Section 5.2.1</a>)
---------
For an endpoint that is in the COOKIE-ECHOED state it MUST
populate its Tie-Tags with the Tag information of itself and
its peer (see <a href="#section-5.2.2">Section 5.2.2</a> for a description of the Tie-Tags).
---------
New text: (<a href="#section-5.2.1">Section 5.2.1</a>)
---------
For an endpoint that is in the COOKIE-ECHOED state it MUST
populate its Tie-Tags within both the association TCB and
inside the State Cookie (see <a href="#section-5.2.2">section 5.2.2</a> for a description
of the Tie-Tags).
---------
Old text: (<a href="#section-5.2.2">Section 5.2.2</a>)
---------
Unless otherwise stated, upon reception of an unexpected INIT for
this association, the endpoint shall generate an INIT ACK with a
State Cookie. In the outbound INIT ACK the endpoint MUST copy its
current Verification Tag and peer's Verification Tag into a
reserved place within the state cookie. We shall refer to these
locations as the Peer's-Tie-Tag and the Local-Tie-Tag. The
outbound SCTP packet containing this INIT ACK MUST carry a
Verification Tag value equal to the Initiation Tag found in the
unexpected INIT. And the INIT ACK MUST contain a new Initiation
Tag (randomly generated see <a href="#section-5.3.1">Section 5.3.1</a>). Other parameters
for the endpoint SHOULD be copied from the existing parameters
of the association (e.g., number of outbound streams) into the
INIT ACK and cookie.
---------
New text: (<a href="#section-5.2.2">Section 5.2.2</a>)
---------
Unless otherwise stated, upon receipt of an unexpected INIT for
this association, the endpoint MUST generate an INIT ACK with a
State Cookie. In the outbound INIT ACK, the endpoint MUST copy
its current Tie-Tags to a reserved place within the State Cookie
and the association's TCB. We shall refer to these locations
inside the cookie as the Peer's-Tie-Tag and the Local-Tie-Tag. We
will refer to the copy within an association's TCB as the Local
Tag and Peer's Tag. The outbound SCTP packet containing this INIT
ACK MUST carry a Verification Tag value equal to the Initiation
Tag found in the unexpected INIT. And the INIT ACK MUST contain a
<span class="grey">Stewart, et al. Informational [Page 71]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-72" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
new Initiation Tag (randomly generated; see <a href="#section-5.3.1">Section 5.3.1</a>). Other
parameters for the endpoint SHOULD be copied from the existing
parameters of the association (e.g., number of outbound streams)
into the INIT ACK and cookie.
<span class="h4"><a class="selflink" id="section-2.34.3" href="#section-2.34.3">2.34.3</a>. Solution Description</span>
The solution to this problem is not to use the real Verification Tags
within the State Cookie as tie-tags. Instead, two 32-bit random
numbers are created to form one 64-bit nonce and stored both in the
State Cookie and the existing association TCB. This prevents
exposing the Verification Tags inadvertently.
<span class="h3"><a class="selflink" id="section-2.35" href="#section-2.35">2.35</a>. Port Number Verification in the COOKIE-ECHO</span>
<span class="h4"><a class="selflink" id="section-2.35.1" href="#section-2.35.1">2.35.1</a>. Description of the Problem</span>
The State Cookie sent by a listening SCTP endpoint may not contain
the original port numbers or the local Verification Tag. It is then
possible that the endpoint, on receipt of the COOKIE-ECHO, will not
be able to verify that these values match the original values found
in the INIT and INIT-ACK that began the association setup.
<span class="h4"><a class="selflink" id="section-2.35.2" href="#section-2.35.2">2.35.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-5.1.5">Section 5.1.5</a>)
---------
3) Compare the creation timestamp in the State Cookie to the
current local time. If the elapsed time is longer than the
lifespan carried in the State Cookie, then the packet,
including the COOKIE ECHO and any attached DATA chunks,
SHOULD be discarded and the endpoint MUST transmit an ERROR
chunk with a "Stale Cookie" error cause to the peer endpoint,
4) If the State Cookie is valid, create an association to the
sender of the COOKIE ECHO chunk with the information in the
TCB data carried in the COOKIE ECHO, and enter the
ESTABLISHED state,
5) Send a COOKIE ACK chunk to the peer acknowledging reception
of the COOKIE ECHO. The COOKIE ACK MAY be bundled with an
outbound DATA chunk or SACK chunk; however, the COOKIE ACK
MUST be the first chunk in the SCTP packet.
6) Immediately acknowledge any DATA chunk bundled with the COOKIE
ECHO with a SACK (subsequent DATA chunk acknowledgement should
follow the rules defined in <a href="#section-6.2">Section 6.2</a>). As mentioned in step
<span class="grey">Stewart, et al. Informational [Page 72]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-73" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
5), if the SACK is bundled with the COOKIE ACK, the COOKIE ACK
MUST appear first in the SCTP packet.
---------
New text: (<a href="#section-5.1.5">Section 5.1.5</a>)
---------
3) Compare the port numbers and the Verification Tag contained
within the COOKIE ECHO chunk to the actual port numbers and the
Verification Tag within the SCTP common header of the received
packet. If these values do not match, the packet MUST be
silently discarded.
4) Compare the creation timestamp in the State Cookie to the
current local time. If the elapsed time is longer than the
lifespan carried in the State Cookie, then the packet,
including the COOKIE ECHO and any attached DATA chunks,
SHOULD be discarded, and the endpoint MUST transmit an
ERROR chunk with a "Stale Cookie" error cause to the peer
endpoint.
5) If the State Cookie is valid, create an association to the
sender of the COOKIE ECHO chunk with the information in the
TCB data carried in the COOKIE ECHO and enter the
ESTABLISHED state.
6) Send a COOKIE ACK chunk to the peer acknowledging receipt of
the COOKIE ECHO. The COOKIE ACK MAY be bundled with an
outbound DATA chunk or SACK chunk; however, the COOKIE ACK
MUST be the first chunk in the SCTP packet.
7) Immediately acknowledge any DATA chunk bundled with the COOKIE
ECHO with a SACK (subsequent DATA chunk acknowledgement should
follow the rules defined in <a href="#section-6.2">Section 6.2</a>). As mentioned in step
5, if the SACK is bundled with the COOKIE ACK, the COOKIE ACK
MUST appear first in the SCTP packet.
<span class="h4"><a class="selflink" id="section-2.35.3" href="#section-2.35.3">2.35.3</a>. Solution Description</span>
By including both port numbers and the local Verification Tag within
the State Cookie and verifying these during COOKIE-ECHO processing,
this issue is resolved.
<span class="grey">Stewart, et al. Informational [Page 73]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-74" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.36" href="#section-2.36">2.36</a>. Path Initialization</span>
<span class="h4"><a class="selflink" id="section-2.36.1" href="#section-2.36.1">2.36.1</a>. Description of the Problem</span>
When an association enters the ESTABLISHED state, the endpoint has no
verification that all of the addresses presented by the peer do in
fact belong to the peer. This could cause various forms of denial of
service attacks.
<span class="h4"><a class="selflink" id="section-2.36.2" href="#section-2.36.2">2.36.2</a>. Text Changes to the Document</span>
---------
Old text: None
---------
---------
New text: (<a href="#section-5.4">Section 5.4</a>)
---------
5.4. Path Verification
During association establishment, the two peers exchange a list of
addresses. In the predominant case, these lists accurately represent
the addresses owned by each peer. However, it is possible that a
misbehaving peer may supply addresses that it does not own. To
prevent this, the following rules are applied to all addresses of the
new association:
1) Any address passed to the sender of the INIT by its upper layer is
automatically considered to be CONFIRMED.
2) For the receiver of the COOKIE-ECHO the only CONFIRMED address is
the one that the INIT-ACK was sent to.
3) All other addresses not covered by rules 1 and 2 are considered
UNCONFIRMED and are subject to probing for verification.
To probe an address for verification, an endpoint will send
HEARTBEATs including a 64-bit random nonce and a path indicator (to
identify the address that the HEARTBEAT is sent to) within the
HEARTBEAT parameter.
Upon receipt of the HEARTBEAT-ACK, a verification is made that the
nonce included in the HEARTBEAT parameter is the one sent to the
address indicated inside the HEARTBEAT parameter. When this match
occurs, the address that the original HEARTBEAT was sent to is now
considered CONFIRMED and available for normal data transfer.
<span class="grey">Stewart, et al. Informational [Page 74]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-75" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
These probing procedures are started when an association moves to the
ESTABLISHED state and are ended when all paths are confirmed.
Each RTO a probe may be sent on an active UNCONFIRMED path in an
attempt to move it to the CONFIRMED state. If during this probing
the path becomes inactive, this rate is lowered to the normal
HEARTBEAT rate. At the expiration of the RTO timer, the error
counter of any path that was probed but not CONFIRMED is incremented
by one and subjected to path failure detection, as defined in <a href="#section-8.2">section</a>
<a href="#section-8.2">8.2</a>. When probing UNCONFIRMED addresses, however, the association
overall error count is NOT incremented.
The number of HEARTBEATS sent at each RTO SHOULD be limited by the
HB.Max.Burst parameter. It is an implementation decision as to how
to distribute HEARTBEATS to the peer's addresses for path
verification.
Whenever a path is confirmed, an indication MAY be given to the upper
layer.
An endpoint MUST NOT send any chunks to an UNCONFIRMED address, with
the following exceptions:
- A HEARTBEAT including a nonce MAY be sent to an UNCONFIRMED
address.
- A HEARTBEAT-ACK MAY be sent to an UNCONFIRMED address.
- A COOKIE-ACK MAY be sent to an UNCONFIRMED address, but it MUST be
bundled with a HEARTBEAT including a nonce. An implementation that
does NOT support bundling MUST NOT send a COOKIE-ACK to an
UNCONFIRMED address.
- A COOKE-ECHO MAY be sent to an UNCONFIRMED address, but it MUST be
bundled with a HEARTBEAT including a nonce, and the packet MUST NOT
exceed the path MTU. If the implementation does NOT support
bundling or if the bundled COOKIE-ECHO plus HEARTBEAT (including
nonce) would exceed the path MTU, then the implementation MUST NOT
send a COOKIE-ECHO to an UNCONFIRMED address.
---------
Old text: (<a href="#section-14">Section 14</a>)
---------
14. Suggested SCTP Protocol Parameter Values
The following protocol parameters are RECOMMENDED:
<span class="grey">Stewart, et al. Informational [Page 75]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-76" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
RTO.Initial - 3 seconds
RTO.Min - 1 second
RTO.Max - 60 seconds
RTO.Alpha - 1/8
RTO.Beta - 1/4
Valid.Cookie.Life - 60 seconds
Association.Max.Retrans - 10 attempts
Path.Max.Retrans - 5 attempts (per destination address)
Max.Init.Retransmits - 8 attempts
HB.interval - 30 seconds
---------
New text: (<a href="#section-14">Section 14</a>)
---------
14. Suggested SCTP Protocol Parameter Values
The following protocol parameters are RECOMMENDED:
RTO.Initial - 3 seconds
RTO.Min - 1 second
RTO.Max - 60 seconds
Max.Burst - 4
RTO.Alpha - 1/8
RTO.Beta - 1/4
Valid.Cookie.Life - 60 seconds
Association.Max.Retrans - 10 attempts
Path.Max.Retrans - 5 attempts (per destination address)
Max.Init.Retransmits - 8 attempts
HB.Interval - 30 seconds
HB.Max.Burst - 1
<span class="h4"><a class="selflink" id="section-2.36.3" href="#section-2.36.3">2.36.3</a>. Solution Description</span>
By properly setting up initial path state and accelerated probing via
HEARTBEAT's, a new association can verify that all addresses
presented by a peer belong to that peer.
<span class="h3"><a class="selflink" id="section-2.37" href="#section-2.37">2.37</a>. ICMP Handling Procedures</span>
<span class="h4"><a class="selflink" id="section-2.37.1" href="#section-2.37.1">2.37.1</a>. Description of the Problem</span>
<a href="./rfc2960">RFC 2960</a> does not describe how ICMP messages should be processed by
an SCTP endpoint.
<span class="grey">Stewart, et al. Informational [Page 76]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-77" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.37.2" href="#section-2.37.2">2.37.2</a>. Text Changes to the Document</span>
--------
Old text: None
--------
---------
New text
---------
11.5. Protection of Non-SCTP Capable Hosts.
To provide a non-SCTP capable host with the same level of protection
against attacks as for SCTP-capable ones, all SCTP stacks MUST
implement the ICMP handling described in <a href="#appendix-C">Appendix C</a>.
When an SCTP stack receives a packet containing multiple control or
DATA chunks and the processing of the packet requires the sending of
multiple chunks in response, the sender of the response chunk(s) MUST
NOT send more than one packet. If bundling is supported, multiple
response chunks that fit into a single packet MAY be bundled together
into one single response packet. If bundling is not supported, then
the sender MUST NOT send more than one response chunk and MUST
discard all other responses. Note that this rule does NOT apply to a
SACK chunk, since a SACK chunk is, in itself, a response to DATA and
a SACK does not require a response of more DATA.
An SCTP implementation SHOULD abort the association if it receives a
SACK acknowledging a TSN that has not been sent.
An SCTP implementation that receives an INIT that would require a
large packet in response, due to the inclusion of multiple ERROR
parameters, MAY (at its discretion) elect to omit some or all of the
ERROR parameters to reduce the size of the INIT-ACK. Due to a
combination of the size of the COOKIE parameter and the number of
addresses a receiver of an INIT may be indicating to a peer, it is
always possible that the INIT-ACK will be larger than the original
INIT. An SCTP implementation SHOULD attempt to make the INIT-ACK as
small as possible to reduce the possibility of byte amplification
attacks.
---------
Old text: None
---------
<span class="grey">Stewart, et al. Informational [Page 77]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-78" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (Appendix C)
---------
<a href="#appendix-C">Appendix C</a> ICMP Handling
Whenever an ICMP message is received by an SCTP endpoint the
following procedures MUST be followed to ensure proper utilization of
the information being provided by layer 3.
ICMP1) An implementation MAY ignore all ICMPv4 messages where the
type field is not set to "Destination Unreachable".
ICMP2) An implementation MAY ignore all ICMPv6 messages where the
type field is not "Destination Unreachable, "Parameter
Problem" or "Packet Too Big".
ICMP3) An implementation MAY ignore any ICMPv4 messages where the
code does not indicate "Protocol Unreachable" or
"Fragmentation Needed".
ICMP4) An implementation MAY ignore all ICMPv6 messages of type
"Parameter Problem" if the code is not "Unrecognized next
header type encountered".
ICMP5) An implementation MUST use the payload of the ICMP message (V4
or V6) to locate the association that sent the message that
ICMP is responding to. If the association cannot be found, an
implementation SHOULD ignore the ICMP message.
ICMP6) An implementation MUST validate that the Verification Tag
contained in the ICMP message matches the verification tag of
the peer. If the Verification Tag is not 0 and does NOT
match, discard the ICMP message. If it is 0 and the ICMP
message contains enough bytes to verify that the chunk type is
an INIT chunk and that the initiate tag matches the tag of the
peer, continue with ICMP7. If the ICMP message is too short
or the chunk type or the initiate tag does not match, silently
discard the packet.
ICMP7) If the ICMP message is either a V6 "Packet Too Big" or a V4
"Fragmentation Needed", an implementation MAY process this
information as defined for PATH MTU discovery.
ICMP8) If the ICMP code is a "Unrecognized next header type
encountered" or a "Protocol Unreachable", an implementation
MUST treat this message as an abort with the T bit set if it
does not contain an INIT chunk. If it does contain an INIT
<span class="grey">Stewart, et al. Informational [Page 78]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-79" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
chunk and the association is in COOKIE-WAIT state, handle the
ICMP message like an ABORT.
ICMP9) If the ICMPv6 code is "Destination Unreachable", the
implementation MAY mark the destination into the unreachable
state or alternatively increment the path error counter.
Note that these procedures differ from <a href="./rfc1122">RFC 1122</a> [<a href="#ref-1" title=""Requirements for Internet Hosts - Communication Layers"">1</a>] and from its
requirements for processing of port-unreachable messages and the
requirements that an implementation MUST abort associations in
response to a "protocol unreachable" message. Port unreachable
messages are not processed, since an implementation will send an
ABORT, not a port unreachable. The stricter handling of the
"protocol unreachable" message is due to security concerns for hosts
that do NOT support SCTP.
<span class="h4"><a class="selflink" id="section-2.37.3" href="#section-2.37.3">2.37.3</a>. Solution Description</span>
The new appendix now describes proper handling of ICMP messages in
conjunction with SCTP.
<span class="h3"><a class="selflink" id="section-2.38" href="#section-2.38">2.38</a>. Checksum</span>
<span class="h4"><a class="selflink" id="section-2.38.1" href="#section-2.38.1">2.38.1</a>. Description of the problem</span>
<a href="./rfc3309">RFC 3309</a> [<a href="#ref-6" title=""Stream Control Transmission Protocol (SCTP) Checksum Change"">6</a>] changes the SCTP checksum due to weaknesses in the
original Adler 32 checksum for small messages. This document, being
used as a guide for a cut and paste replacement to update <a href="./rfc2960">RFC 2960</a>,
thus also needs to incorporate the checksum changes. The idea is
that one could apply all changes found in this guide to a copy of <a href="./rfc2960">RFC</a>
<a href="./rfc2960">2960</a> and have a "new" document that has ALL changes (including <a href="./rfc3309">RFC</a>
<a href="./rfc3309">3309</a>).
<span class="h4"><a class="selflink" id="section-2.38.2" href="#section-2.38.2">2.38.2</a>. Text Changes to the Document</span>
---------
Old text:
---------
6.8 Adler-32 Checksum Calculation
When sending an SCTP packet, the endpoint MUST strengthen the data
integrity of the transmission by including the Adler-32 checksum
value calculated on the packet, as described below.
After the packet is constructed (containing the SCTP common header
and one or more control or DATA chunks), the transmitter shall:
<span class="grey">Stewart, et al. Informational [Page 79]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-80" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
1) Fill in the proper Verification Tag in the SCTP common header
and initialize the checksum field to 0's.
2) Calculate the Adler-32 checksum of the whole packet, including
the SCTP common header and all the chunks. Refer to
<a href="#appendix-B">appendix B</a> for details of the Adler-32 algorithm. And,
3) Put the resultant value into the checksum field in the common
header, and leave the rest of the bits unchanged.
When an SCTP packet is received, the receiver MUST first check the
Adler-32 checksum:
1) Store the received Adler-32 checksum value aside,
2) Replace the 32 bits of the checksum field in the received SCTP
packet with all '0's and calculate an Adler-32 checksum value
of the whole received packet. And,
3) Verify that the calculated Adler-32 checksum is the same as the
received Adler-32 checksum. If not, the receiver MUST treat
the packet as an invalid SCTP packet.
The default procedure for handling invalid SCTP packets is to
silently discard them.
---------
New text:
---------
6.8 CRC-32c Checksum Calculation
When sending an SCTP packet, the endpoint MUST strengthen the data
integrity of the transmission by including the CRC32c checksum
value calculated on the packet, as described below.
After the packet is constructed (containing the SCTP common header
and one or more control or DATA chunks), the transmitter MUST
1) fill in the proper Verification Tag in the SCTP common header
and initialize the checksum field to '0's,
2) calculate the CRC32c checksum of the whole packet, including
the SCTP common header and all the chunks (refer to
<a href="#appendix-B">appendix B</a> for details of the CRC32c algorithm); and
3) put the resultant value into the checksum field in the common
header, and leave the rest of the bits unchanged.
<span class="grey">Stewart, et al. Informational [Page 80]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-81" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
When an SCTP packet is received, the receiver MUST first check the
CRC32c checksum as follows:
1) Store the received CRC32c checksum value aside.
2) Replace the 32 bits of the checksum field in the received SCTP
packet with all '0's and calculate a CRC32c checksum value of
the whole received packet.
3) Verify that the calculated CRC32c checksum is the same as the
received CRC32c checksum. If it is not, the receiver MUST
treat the packet as an invalid SCTP packet.
The default procedure for handling invalid SCTP packets is to
silently discard them.
Any hardware implementation SHOULD be done in a way that is
verifiable by the software.
---------
Old text:
---------
<a href="#appendix-B">Appendix B</a> Alder 32 bit checksum calculation
The Adler-32 checksum calculation given in this appendix is
copied from [<a href="./rfc1950">RFC1950</a>].
Adler-32 is composed of two sums accumulated per byte: s1 is the
sum of all bytes, s2 is the sum of all s1 values. Both sums are
done modulo 65521. s1 is initialized to 1, s2 to zero. The
Adler-32 checksum is stored as s2*65536 + s1 in network byte
order.
The following C code computes the Adler-32 checksum of a data
buffer. It is written for clarity, not for speed. The sample
code is in the ANSI C programming language. Non C users may
find it easier to read with these hints:
& Bitwise AND operator.
>> Bitwise right shift operator. When applied to an
unsigned quantity, as here, right shift inserts zero bit(s)
at the left.
<< Bitwise left shift operator. Left shift inserts zero
bit(s) at the right.
++ "n++" increments the variable n.
% modulo operator: a % b is the remainder of a divided by b.
<span class="grey">Stewart, et al. Informational [Page 81]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-82" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
#define BASE 65521 /* largest prime smaller than 65536 */
/*
Update a running Adler-32 checksum with the bytes buf[0..len-1]
and return the updated checksum. The Adler-32 checksum should
be initialized to 1.
Usage example:
unsigned long adler = 1L;
while (read_buffer(buffer, length) != EOF) {
adler = update_adler32(adler, buffer, length);
}
if (adler != original_adler) error();
*/
unsigned long update_adler32(unsigned long adler,
unsigned char *buf, int len)
{
unsigned long s1 = adler & 0xffff;
unsigned long s2 = (adler >> 16) & 0xffff;
int n;
for (n = 0; n < len; n++) {
s1 = (s1 + buf[n]) % BASE;
s2 = (s2 + s1) % BASE;
}
return (s2 << 16) + s1;
}
/* Return the adler32 of the bytes buf[0..len-1] */
unsigned long adler32(unsigned char *buf, int len)
{
return update_adler32(1L, buf, len);
}
---------
New text:
---------
<a href="#appendix-B">Appendix B</a> CRC32c Checksum Calculation
We define a 'reflected value' as one that is the opposite of the
normal bit order of the machine. The 32-bit CRC is calculated as
described for CRC-32c and uses the polynomial code 0x11EDC6F41
(Castagnoli93) or x^32+x^28+x^27+x^26+x^25
+x^23+x^22+x^20+x^19+x^18+x^14+x^13+x^11+x^10+x^9+x^8+x^6+x^0.
The CRC is computed using a procedure similar to ETHERNET CRC
[<a href="#ref-ITU32">ITU32</a>], modified to reflect transport level usage.
<span class="grey">Stewart, et al. Informational [Page 82]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-83" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
CRC computation uses polynomial division. A message
bit-string M is transformed to a polynomial, M(X), and the CRC
is calculated from M(X) using polynomial arithmetic [PETERSON 72].
When CRCs are used at the link layer, the polynomial is derived
from on-the-wire bit ordering: the first bit 'on the wire' is the
high-order coefficient. Since SCTP is a transport-level protocol,
it cannot know the actual serial-media bit ordering. Moreover,
different links in the path between SCTP endpoints may use
different link-level bit orders.
A convention must therefore be established for mapping SCTP
transport messages to polynomials for purposes of CRC computation.
The bit-ordering for mapping SCTP messages to polynomials is that
bytes are taken most-significant first; but within each byte, bits
are taken least-significant first. The first byte of the message
provides the eight highest coefficients. Within each byte,
the least-significant SCTP bit gives the most significant
polynomial coefficient within that byte, and the most-significant
SCTP bit is the least significant polynomial coefficient in that
byte. (This bit ordering is sometimes called 'mirrored' or
'reflected' [<a href="#ref-WILLIAMS93">WILLIAMS93</a>].) CRC polynomials are to be transformed
back into SCTP transport-level byte values, using a consistent
mapping.
The SCTP transport-level CRC value should be calculated as
follows:
- CRC input data are assigned to a byte stream, numbered from
0 to N-1.
- The transport-level byte-stream is mapped to a polynomial
value. An N-byte PDU with j bytes numbered 0 to N-1 is
considered as coefficients of a polynomial M(x) of order
8N-1, with bit 0 of byte j being coefficient x^(8(N-j)-8),
and bit 7 of byte j being coefficient x^(8(N-j)-1).
- The CRC remainder register is initialized with all 1s and
the CRC is computed with an algorithm that simultaneously
multiplies by x^32 and divides by the CRC polynomial.
- The polynomial is multiplied by x^32 and divided by G(x),
the generator polynomial, producing a remainder R(x) of
degree less than or equal to 31.
- The coefficients of R(x) are considered a 32-bit sequence.
<span class="grey">Stewart, et al. Informational [Page 83]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-84" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
- The bit sequence is complemented. The result is the CRC
polynomial.
- The CRC polynomial is mapped back into SCTP transport-level
bytes. The coefficient of x^31 gives the value of bit 7 of
SCTP byte 0, and the coefficient of x^24 gives the value of
bit 0 of byte 0. The coefficient of x^7 gives bit 7 of
byte 3, and the coefficient of x^0 gives bit 0 of byte 3.
The resulting four-byte transport-level sequence is the
32-bit SCTP checksum value.
IMPLEMENTATION NOTE: Standards documents, textbooks, and vendor
literature on CRCs often follow an alternative formulation, in
which the register used to hold the remainder of the
long-division algorithm is initialized to zero rather than
all-1s, and instead the first 32 bits of the message are
complemented. The long-division algorithm used in our
formulation is specified such that the initial
multiplication by 2^32 and the long-division are combined into
one simultaneous operation. For such algorithms, and for
messages longer than 64 bits, the two specifications are
precisely equivalent. That equivalence is the intent of
this document.
Implementors of SCTP are warned that both specifications are to be
found in the literature, sometimes with no restriction on the
long-division algorithm. The choice of formulation in this
document is to permit non-SCTP usage, where the same CRC
algorithm may be used to protect messages shorter than 64 bits.
There may be a computational advantage in validating the
Association against the Verification Tag, prior to performing a
checksum, as invalid tags will result in the same action as a bad
checksum in most cases. The exceptions for this technique would
be INIT and some SHUTDOWN-COMPLETE exchanges, as well as a stale
COOKIE-ECHO. These special case exchanges must represent small
packets and will minimize the effect of the checksum calculation.
---------
Old text: (<a href="#section-18">Section 18</a>)
---------
18. Bibliography
[<a id="ref-ALLMAN99">ALLMAN99</a>] Allman, M. and Paxson, V., "On Estimating End-to-End
Network Path Properties", Proc. SIGCOMM'99, 1999.
<span class="grey">Stewart, et al. Informational [Page 84]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-85" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
[<a id="ref-FALL96">FALL96</a>] Fall, K. and Floyd, S., Simulation-based Comparisons of
Tahoe, Reno, and SACK TCP, Computer Communications Review,
V. 26 N. 3, July 1996, pp. 5-21.
[<a id="ref-RFC1750">RFC1750</a>] Eastlake, D. (ed.), "Randomness Recommendations for
Security", <a href="./rfc1750">RFC 1750</a>, December 1994.
[<a id="ref-RFC1950">RFC1950</a>] Deutsch P. and J. Gailly, "ZLIB Compressed Data Format
Specification version 3.3", <a href="./rfc1950">RFC 1950</a>, May 1996.
[<a id="ref-RFC2104">RFC2104</a>] Krawczyk, H., Bellare, M. and R. Canetti, "HMAC: Keyed-
Hashing for Message Authentication", <a href="./rfc2104">RFC 2104</a>, March 1997.
[<a id="ref-RFC2196">RFC2196</a>] Fraser, B., "Site Security Handbook", FYI 8, <a href="./rfc2196">RFC 2196</a>,
September 1997.
[<a id="ref-RFC2522">RFC2522</a>] Karn, P. and W. Simpson, "Photuris: Session-Key Management
Protocol", <a href="./rfc2522">RFC 2522</a>, March 1999.
[<a id="ref-SAVAGE99">SAVAGE99</a>] Savage, S., Cardwell, N., Wetherall, D., and Anderson, T.,
"TCP Congestion Control with a Misbehaving Receiver", ACM
Computer Communication Review, 29(5), October 1999.
---------
New text: (<a href="#section-18">Section 18</a>, including changes from 2.11)
---------
18. Bibliography
[<a id="ref-ALLMAN99">ALLMAN99</a>] Allman, M. and Paxson, V., "On Estimating End-to-End
Network Path Properties", Proc. SIGCOMM'99, 1999.
[<a id="ref-FALL96">FALL96</a>] Fall, K. and Floyd, S., Simulation-based Comparisons of
Tahoe, Reno, and SACK TCP, Computer Communications Review,
V. 26 N. 3, July 1996, pp. 5-21.
[<a id="ref-ITU32">ITU32</a>] ITU-T Recommendation V.42, "Error-correcting
procedures for DCEs using asynchronous-to-synchronous
conversion", <a href="#section-8.1.1.6.2">Section 8.1.1.6.2</a>, October 1996.
[PETERSON 1972] W. W. Peterson and E.J Weldon, Error Correcting
Codes, 2nd Edition, MIT Press, Cambridge,
Massachusetts.
[<a id="ref-RFC1750">RFC1750</a>] Eastlake, D., Ed., "Randomness Recommendations for
Security", <a href="./rfc1750">RFC 1750</a>, December 1994.
<span class="grey">Stewart, et al. Informational [Page 85]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-86" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
[<a id="ref-RFC1858">RFC1858</a>] Ziemba, G., Reed, D. and Traina P., "Security
Considerations for IP Fragment Filtering", <a href="./rfc1858">RFC 1858</a>,
October 1995.
[<a id="ref-RFC1950">RFC1950</a>] Deutsch P. and J. Gailly, "ZLIB Compressed Data Format
Specification version 3.3", <a href="./rfc1950">RFC 1950</a>, May 1996.
[<a id="ref-RFC2104">RFC2104</a>] Krawczyk, H., Bellare, M. and R. Canetti, "HMAC: Keyed-
Hashing for Message Authentication", <a href="./rfc2104">RFC 2104</a>, March 1997.
[<a id="ref-RFC2196">RFC2196</a>] Fraser, B., "Site Security Handbook", FYI 8, <a href="./rfc2196">RFC 2196</a>,
September 1997.
[<a id="ref-RFC2522">RFC2522</a>] Karn, P. and W. Simpson, "Photuris: Session-Key Management
Protocol", <a href="./rfc2522">RFC 2522</a>, March 1999.
[<a id="ref-SAVAGE99">SAVAGE99</a>] Savage, S., Cardwell, N., Wetherall, D., and Anderson, T.,
"TCP Congestion Control with a Misbehaving Receiver", ACM
Computer Communication Review, 29(5), October 1999.
[<a id="ref-WILLIAMS93">WILLIAMS93</a>] Williams, R., "A PAINLESS GUIDE TO CRC ERROR
DETECTION ALGORITHMS" - Internet publication, August
1993,
<a href="http://www.geocities.com/SiliconValley/Pines/8659/crc.htm">http://www.geocities.com/SiliconValley/Pines/</a>
<a href="http://www.geocities.com/SiliconValley/Pines/8659/crc.htm">8659/crc.htm</a>.
<span class="h4"><a class="selflink" id="section-2.38.3" href="#section-2.38.3">2.38.3</a>. Solution Description</span>
This change adds to the implementor's guide the complete set of
changes that, when combined with <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>], encompasses the
changes from <a href="./rfc3309">RFC 3309</a> [<a href="#ref-6" title=""Stream Control Transmission Protocol (SCTP) Checksum Change"">6</a>].
<span class="h3"><a class="selflink" id="section-2.39" href="#section-2.39">2.39</a>. Retransmission Policy</span>
<span class="h4"><a class="selflink" id="section-2.39.1" href="#section-2.39.1">2.39.1</a>. Description of the Problem</span>
The current retransmission policy (send all retransmissions an
alternate destination) in the specification has performance issues
under certain loss conditions with multihomed endpoints. Instead,
fast retransmissions should be sent to the same destination, and only
timeout retransmissions should be sent to an alternate destination
[<a href="#ref-4" title=""Retransmission Schemes for End-to-end Failover with Transport Layer Multihoming"">4</a>].
<span class="grey">Stewart, et al. Informational [Page 86]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-87" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.39.2" href="#section-2.39.2">2.39.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.4">Section 6.4</a>)
---------
Furthermore, when its peer is multi-homed, an endpoint SHOULD try to
retransmit a chunk to an active destination transport address that is
different from the last destination address to which the DATA chunk
was sent.
---------
New text: (<a href="#section-6.4">Section 6.4</a>)
---------
Furthermore, when its peer is multi-homed, an endpoint SHOULD try to
retransmit a chunk that timed out to an active destination transport
address that is different from the last destination address to which
the DATA chunk was sent.
---------
Old text: (<a href="#section-6.4.1">Section 6.4.1</a>)
---------
When retransmitting data, if the endpoint is multi-homed, it should
consider each source-destination address pair in its retransmission
selection policy. When retransmitting the endpoint should attempt to
pick the most divergent source-destination pair from the original
source-destination pair to which the packet was transmitted.
---------
New text: (<a href="#section-6.4.1">Section 6.4.1</a>)
---------
When retransmitting data that timed out, if the endpoint is
multi-homed, it should consider each source-destination address
pair in its retransmission selection policy. When retransmitting
timed out data, the endpoint should attempt to pick the most
divergent source-destination pair from the original
source-destination pair to which the packet was transmitted.
<span class="h4"><a class="selflink" id="section-2.39.3" href="#section-2.39.3">2.39.3</a>. Solution Description</span>
The above wording changes clarify that only timeout retransmissions
should be sent to an alternate active destination.
<span class="grey">Stewart, et al. Informational [Page 87]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-88" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.40" href="#section-2.40">2.40</a>. Port Number 0</span>
<span class="h4"><a class="selflink" id="section-2.40.1" href="#section-2.40.1">2.40.1</a>. Description of the Problem</span>
The port number 0 has a special semantic in various APIs. For
example, in the socket API, if the user specifies 0, the SCTP
implementation chooses an appropriate port number for the user.
Therefore, the port number 0 should not be used on the wire.
<span class="h4"><a class="selflink" id="section-2.40.2" href="#section-2.40.2">2.40.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.1">Section 3.1</a>)
---------
Source Port Number: 16 bits (unsigned integer)
This is the SCTP sender's port number. It can be used by the
receiver in combination with the source IP address, the SCTP
destination port, and possibly the destination IP address to
identify the association to which this packet belongs.
Destination Port Number: 16 bits (unsigned integer)
This is the SCTP port number to which this packet is destined.
The receiving host will use this port number to de-multiplex
the SCTP packet to the correct receiving endpoint/application.
---------
New text: (<a href="#section-3.1">Section 3.1</a>)
---------
Source Port Number: 16 bits (unsigned integer)
This is the SCTP sender's port number. It can be used by the
receiver in combination with the source IP address, the SCTP
destination port and possibly the destination IP address to
identify the association to which this packet belongs.
The port number 0 MUST NOT be used.
Destination Port Number: 16 bits (unsigned integer)
This is the SCTP port number to which this packet is destined.
The receiving host will use this port number to de-multiplex
the SCTP packet to the correct receiving endpoint/application.
The port number 0 MUST NOT be used.
<span class="grey">Stewart, et al. Informational [Page 88]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-89" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.40.3" href="#section-2.40.3">2.40.3</a>. Solution Description</span>
It is clearly stated that the port number 0 is an invalid value on
the wire.
<span class="h3"><a class="selflink" id="section-2.41" href="#section-2.41">2.41</a>. T Bit</span>
<span class="h4"><a class="selflink" id="section-2.41.1" href="#section-2.41.1">2.41.1</a>. Description of the Problem</span>
The description of the T bit as the bit describing whether a TCB has
been destroyed is misleading. In addition, the procedure described
in <a href="#section-2.13">Section 2.13</a> is not as precise as needed.
<span class="h4"><a class="selflink" id="section-2.41.2" href="#section-2.41.2">2.41.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.7">Section 3.3.7</a>)
---------
T bit: 1 bit
The T bit is set to 0 if the sender had a TCB that it
destroyed. If the sender did not have a TCB it should set
this bit to 1.
---------
New text: (<a href="#section-3.3.7">Section 3.3.7</a>)
---------
T bit: 1 bit
The T bit is set to 0 if the sender filled in the
Verification Tag expected by the peer. If the Verification
Tag is reflected, the T bit MUST be set to 1. Reflecting means
that the sent Verification Tag is the same as the received
one.
---------
Old text: (<a href="#section-3.3.13">Section 3.3.13</a>)
---------
T bit: 1 bit
The T bit is set to 0 if the sender had a TCB that it
destroyed. If the sender did not have a TCB it should set
this bit to 1.
<span class="grey">Stewart, et al. Informational [Page 89]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-90" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-3.3.13">Section 3.3.13</a>)
---------
T bit: 1 bit
The T bit is set to 0 if the sender filled in the
Verification Tag expected by the peer. If the Verification
Tag is reflected, the T bit MUST be set to 1. Reflecting means
that the sent Verification Tag is the same as the received
one.
---------
Old text: (<a href="#section-8.4">Section 8.4</a>)
---------
3) If the packet contains an INIT chunk with a Verification Tag
set to '0', process it as described in <a href="#section-5.1">Section 5.1</a>.
Otherwise,
---------
New text: (<a href="#section-8.4">Section 8.4</a>)
---------
3) If the packet contains an INIT chunk with a Verification Tag
set to '0', process it as described in <a href="#section-5.1">Section 5.1</a>. If, for
whatever reason, the INIT cannot be processed normally and
an ABORT has to be sent in response, the Verification Tag of
the packet containing the ABORT chunk MUST be the Initiate
tag of the received INIT chunk, and the T-Bit of the ABORT
chunk has to be set to 0, indicating that the Verification
Tag is NOT reflected.
---------
Old text: (<a href="#section-8.4">Section 8.4</a>)
---------
5) If the packet contains a SHUTDOWN ACK chunk, the receiver
should respond to the sender of the OOTB packet with a
SHUTDOWN COMPLETE. When sending the SHUTDOWN COMPLETE, the
receiver of the OOTB packet must fill in the Verification
Tag field of the outbound packet with the Verification Tag
received in the SHUTDOWN ACK and set the T-bit in the Chunk
Flags to indicate that no TCB was found. Otherwise,
<span class="grey">Stewart, et al. Informational [Page 90]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-91" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (<a href="#section-8.4">Section 8.4</a>)
---------
5) If the packet contains a SHUTDOWN ACK chunk, the receiver
should respond to the sender of the OOTB packet with a
SHUTDOWN COMPLETE. When sending the SHUTDOWN COMPLETE, the
receiver of the OOTB packet must fill in the Verification
Tag field of the outbound packet with the Verification Tag
received in the SHUTDOWN ACK and set the T-bit in the
Chunk Flags to indicate that the Verification Tag is
reflected. Otherwise,
---------
Old text: (<a href="#section-8.4">Section 8.4</a>)
---------
8) The receiver should respond to the sender of the OOTB packet
with an ABORT. When sending the ABORT, the receiver of the
OOTB packet MUST fill in the Verification Tag field of the
outbound packet with the value found in the Verification
Tag field of the OOTB packet and set the T-bit in the Chunk
Flags to indicate that no TCB was found. After sending this
ABORT, the receiver of the OOTB packet shall discard the
OOTB packet and take no further action.
---------
New text: (<a href="#section-8.4">Section 8.4</a>)
---------
8) The receiver should respond to the sender of the OOTB packet
with an ABORT. When sending the ABORT, the receiver of the
OOTB packet MUST fill in the Verification Tag field of the
outbound packet with the value found in the Verification Tag
field of the OOTB packet and set the T-bit in the Chunk Flags
to indicate that the Verification Tag is reflected. After
sending this ABORT, the receiver of the OOTB packet shall
discard the OOTB packet and take no further action.
---------
Old text: (<a href="#section-8.5.1">Section 8.5.1</a>)
---------
B) Rules for packet carrying ABORT:
<span class="grey">Stewart, et al. Informational [Page 91]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-92" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
- The endpoint shall always fill in the Verification Tag
field of the outbound packet with the destination
endpoint's tag value if it is known.
- If the ABORT is sent in response to an OOTB packet, the
endpoint MUST follow the procedure described in
<a href="#section-8.4">Section 8.4</a>.
- The receiver MUST accept the packet if the Verification
Tag matches either its own tag, OR the tag of its peer.
Otherwise, the receiver MUST silently discard the packet
and take no further action.
---------
New text: (<a href="#section-8.5.1">Section 8.5.1</a>)
---------
B) Rules for packet carrying ABORT:
- The endpoint MUST always fill in the Verification Tag
field of the outbound packet with the destination
endpoint's tag value, if it is known.
- If the ABORT is sent in response to an OOTB packet, the
endpoint MUST follow the procedure described in
<a href="#section-8.4">Section 8.4</a>.
- The receiver of an ABORT MUST accept the packet
if the Verification Tag field of the packet matches its
own tag and the T bit is not set
OR
if it is set to its peer's tag and the T bit is set in
the Chunk Flags.
Otherwise, the receiver MUST silently discard the packet
and take no further action.
---------
Old text: (<a href="#section-8.5.1">Section 8.5.1</a>)
---------
C) Rules for packet carrying SHUTDOWN COMPLETE:
- When sending a SHUTDOWN COMPLETE, if the receiver of the
SHUTDOWN ACK has a TCB then the destination endpoint's
tag MUST be used. Only where no TCB exists should the
sender use the Verification Tag from the SHUTDOWN ACK.
<span class="grey">Stewart, et al. Informational [Page 92]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-93" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
- The receiver of a SHUTDOWN COMPLETE shall accept the
packet if the Verification Tag field of the packet matches
its own tag OR it is set to its peer's tag and the T bit
is set in the Chunk Flags. Otherwise, the receiver MUST
silently discard the packet and take no further action.
An endpoint MUST ignore the SHUTDOWN COMPLETE if it is
not in the SHUTDOWN-ACK-SENT state.
---------
New text: (<a href="#section-8.5.1">Section 8.5.1</a>)
---------
C) Rules for packet carrying SHUTDOWN COMPLETE:
- When sending a SHUTDOWN COMPLETE, if the receiver of the
SHUTDOWN ACK has a TCB, then the destination endpoint's tag
MUST be used, and the T-bit MUST NOT be set. Only where no
TCB exists should the sender use the Verification Tag from
the SHUTDOWN ACK, and MUST set the T-bit.
- The receiver of a SHUTDOWN COMPLETE shall accept the packet
if the Verification Tag field of the packet matches its own
tag and the T bit is not set
OR
if it is set to its peer's tag and the T bit is set in the
Chunk Flags.
Otherwise, the receiver MUST silently discard the packet
and take no further action. An endpoint MUST ignore the
SHUTDOWN COMPLETE if it is not in the SHUTDOWN-ACK-SENT
state.
<span class="h4"><a class="selflink" id="section-2.41.3" href="#section-2.41.3">2.41.3</a>. Solution Description</span>
The description of the T bit now clearly describes the semantic of
the bit. The procedures for receiving the T bit have been clarified.
<span class="h3"><a class="selflink" id="section-2.42" href="#section-2.42">2.42</a>. Unknown Parameter Handling</span>
<span class="h4"><a class="selflink" id="section-2.42.1" href="#section-2.42.1">2.42.1</a>. Description of the Problem</span>
The description given in <a href="#section-2.33">Section 2.33</a> does not state clearly whether
an INIT-ACK or COOKIE-ECHO is sent.
<span class="h4"><a class="selflink" id="section-2.42.2" href="#section-2.42.2">2.42.2</a>. Text Changes to the Document</span>
The changes given here already include changes suggested in <a href="#section-2.2">Section</a>
<a href="#section-2.2">2.2</a>, 2.27, and 2.33 of this document.
<span class="grey">Stewart, et al. Informational [Page 93]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-94" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
Old text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
00 - Stop processing this SCTP packet and discard it do not process
any further chunks within it.
01 - Stop processing this SCTP packet and discard it, do not process
any further chunks within it, and report the unrecognized
parameter in an 'Unrecognized Parameter Type' (in either an
ERROR or in the INIT ACK).
10 - Skip this parameter and continue processing.
11 - Skip this parameter and continue processing but report the
unrecognized parameter in an 'Unrecognized Parameter Type' (in
either an ERROR or in the INIT ACK).
---------
New text: (<a href="#section-3.2.1">Section 3.2.1</a>)
---------
00 - Stop processing this parameter; do not process
any further parameters within this chunk.
01 - Stop processing this parameter, do not process
any further parameters within this chunk, and report the
unrecognized parameter in an 'Unrecognized Parameter', as
described in 3.2.2.
10 - Skip this parameter and continue processing.
11 - Skip this parameter and continue processing but report the
unrecognized parameter in an 'Unrecognized Parameter', as
described in 3.2.2.
Please note that in all four cases an INIT-ACK or COOKIE-ECHO
chunk is sent. In the 00 or 01 case the processing of the
parameters after the unknown parameter is canceled, but no
processing already done is rolled back.
<span class="grey">Stewart, et al. Informational [Page 94]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-95" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
New text: (Note: no old text; clarification added in <a href="#section-3.2">Section 3.2</a>)
---------
3.2.2. Reporting of Unrecognized Parameters
If the receiver of an INIT chunk detects unrecognized parameters
and has to report them according to <a href="#section-3.2.1">Section 3.2.1</a>, it MUST put
the 'Unrecognized Parameter' parameter(s) in the INIT-ACK chunk
sent in response to the INIT-chunk. Note that if the receiver
of the INIT chunk is NOT going to establish an association (e.g.,
due to lack of resources), an 'Unrecognized Parameter' would NOT
be included with any ABORT being sent to the sender of the INIT.
If the receiver of an INIT-ACK chunk detects unrecognized
parameters and has to report them according to <a href="#section-3.2.1">Section 3.2.1</a>, it
SHOULD bundle the ERROR chunk containing the 'Unrecognized
Parameters' error cause with the COOKIE-ECHO chunk sent in
response to the INIT-ACK chunk. If the receiver of the INIT-ACK
cannot bundle the COOKIE-ECHO chunk with the ERROR chunk, the
ERROR chunk MAY be sent separately but not before the COOKIE-ACK
has been received.
Note: Any time a COOKIE-ECHO is sent in a packet, it MUST be the
first chunk.
<span class="h4"><a class="selflink" id="section-2.42.3" href="#section-2.42.3">2.42.3</a>. Solution Description</span>
The new text clearly states that an INIT-ACK or COOKIE-ECHO has to be
sent.
<span class="h3"><a class="selflink" id="section-2.43" href="#section-2.43">2.43</a>. Cookie Echo Chunk</span>
<span class="h4"><a class="selflink" id="section-2.43.1" href="#section-2.43.1">2.43.1</a>. Description of the Problem</span>
The description given in <a href="./rfc2960#section-3.3.11">Section 3.3.11 of RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] is unclear as
to how the COOKIE-ECHO is composed.
<span class="h4"><a class="selflink" id="section-2.43.2" href="#section-2.43.2">2.43.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.11">Section 3.3.11</a>)
---------
Cookie: variable size
This field must contain the exact cookie received in the State
Cookie parameter from the previous INIT ACK.
<span class="grey">Stewart, et al. Informational [Page 95]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-96" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
An implementation SHOULD make the cookie as small as possible
to insure interoperability.
---------
New text: (<a href="#section-3.3.11">Section 3.3.11</a>)
---------
Cookie: variable size
This field must contain the exact cookie received in the State
Cookie parameter from the previous INIT ACK.
An implementation SHOULD make the cookie as small as possible
to ensure interoperability.
Note: A Cookie Echo does NOT contain a State Cookie
Parameter; instead, the data within the State Cookie's
Parameter Value becomes the data within the Cookie Echo's
Chunk Value. This allows an implementation to change only
the first two bytes of the State Cookie parameter to become
a Cookie Echo Chunk.
<span class="h4"><a class="selflink" id="section-2.43.3" href="#section-2.43.3">2.43.3</a>. Solution Description</span>
The new text adds a note that helps clarify that a Cookie Echo chunk
is nothing more than the State Cookie parameter with only two bytes
modified.
<span class="h3"><a class="selflink" id="section-2.44" href="#section-2.44">2.44</a>. Partial Chunks</span>
<span class="h4"><a class="selflink" id="section-2.44.1" href="#section-2.44.1">2.44.1</a>. Description of the Problem</span>
<a href="./rfc2960#section-6.10">Section 6.10 of RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] uses the notion of 'partial chunks'
without defining it.
<span class="h4"><a class="selflink" id="section-2.44.2" href="#section-2.44.2">2.44.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.10">Section 6.10</a>)
---------
Partial chunks MUST NOT be placed in an SCTP packet.
---------
New text: (<a href="#section-6.10">Section 6.10</a>)
---------
Partial chunks MUST NOT be placed in an SCTP packet. A partial
chunk is a chunk that is not completely contained in the SCTP
packet; i.e., the SCTP packet is too short to contain all the bytes
of the chunk as indicated by the chunk length.
<span class="grey">Stewart, et al. Informational [Page 96]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-97" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.44.3" href="#section-2.44.3">2.44.3</a>. Solution Description</span>
The new text adds a definition of 'partial chunks'.
<span class="h3"><a class="selflink" id="section-2.45" href="#section-2.45">2.45</a>. Non-unicast Addresses</span>
<span class="h4"><a class="selflink" id="section-2.45.1" href="#section-2.45.1">2.45.1</a>. Description of the Problem</span>
<a href="./rfc2960#section-8.4">Section 8.4 of RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] forces the OOTB handling to discard all
non-unicast addresses. This leaves future use of anycast addresses
in question. With the addition of the add-ip feature, SCTP should be
able to easily handle anycast INIT s that can be followed, after
association setup, with a delete of the anycast address from the
association.
<span class="h4"><a class="selflink" id="section-2.45.2" href="#section-2.45.2">2.45.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-8.4">Section 8.4</a>)
---------
8.4 Handle "Out of the blue" Packets
An SCTP packet is called an "out of the blue" (OOTB) packet if
it is correctly formed, i.e., passed the receiver's Adler-32
check (see <a href="#section-6.8">Section 6.8</a>), but the receiver is not able to
identify the association to which this packet belongs.
The receiver of an OOTB packet MUST do the following:
1) If the OOTB packet is to or from a non-unicast address,
silently discard the packet. Otherwise,
---------
New text: (<a href="#section-8.4">Section 8.4</a>)
---------
8.4. Handle "Out of the Blue" Packets
An SCTP packet is called an "out of the blue" (OOTB) packet if
it is correctly formed (i.e., passed the receiver's CRC32c
check; see <a href="#section-6.8">Section 6.8</a>), but the receiver is not able to identify
the association to which this packet belongs.
The receiver of an OOTB packet MUST do the following:
1) If the OOTB packet is to or from a non-unicast address, a
receiver SHOULD silently discard the packet. Otherwise,
<span class="grey">Stewart, et al. Informational [Page 97]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-98" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.45.3" href="#section-2.45.3">2.45.3</a>. Solution Description</span>
The loosening of the wording to a SHOULD will now allow future use of
anycast addresses. Note that no changes are made to <a href="#section-11.2.4.1">Section</a>
<a href="#section-11.2.4.1">11.2.4.1</a>, since responding to broadcast addresses could lead to
flooding attacks and implementors should pay careful attention to
these words.
<span class="h3"><a class="selflink" id="section-2.46" href="#section-2.46">2.46</a>. Processing of ABORT Chunks</span>
<span class="h4"><a class="selflink" id="section-2.46.1" href="#section-2.46.1">2.46.1</a>. Description of the Problem</span>
<a href="./rfc2960#section-3.3.7">Section 3.3.7 of RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] requires an SCTP endpoint to silently
discard ABORT chunks received for associations that do not exist. It
is not clear what this means in the COOKIE-WAIT state, for example.
Therefore, it was not clear whether an ABORT sent in response to an
INIT should be processed or silently discarded.
<span class="h4"><a class="selflink" id="section-2.46.2" href="#section-2.46.2">2.46.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.7">Section 3.3.7</a>)
---------
If an endpoint receives an ABORT with a format error or for an
association that doesn't exist, it MUST silently discard it.
---------
New text: (<a href="#section-3.3.7">Section 3.3.7</a>)
---------
If an endpoint receives an ABORT with a format error or no
TCB is found, it MUST silently discard it.
<span class="h4"><a class="selflink" id="section-2.46.3" href="#section-2.46.3">2.46.3</a>. Solution Description</span>
It is now clearly stated that an ABORT chunk should be processed
whenever a TCB is found.
<span class="grey">Stewart, et al. Informational [Page 98]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-99" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.47" href="#section-2.47">2.47</a>. Sending of ABORT Chunks</span>
<span class="h4"><a class="selflink" id="section-2.47.1" href="#section-2.47.1">2.47.1</a>. Description of the Problem</span>
<a href="./rfc2960#section-5.1">Section 5.1 of RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] requires that an ABORT chunk be sent in
response to an INIT chunk when there is no listening end point. To
make port scanning harder, someone might not want these ABORTs to be
received by the sender of the INIT chunks. Currently, the only way
to enforce this is by using a firewall that discards the packets
containing the INIT chunks or the packets containing the ABORT
chunks. It is desirable that the same can be done without a middle
box.
<span class="h4"><a class="selflink" id="section-2.47.2" href="#section-2.47.2">2.47.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-5.1">Section 5.1</a>)
---------
If an endpoint receives an INIT, INIT ACK, or COOKIE ECHO chunk
but decides not to establish the new association due to missing
mandatory parameters in the received INIT or INIT ACK, invalid
parameter values, or lack of local resources, it MUST respond with
an ABORT chunk.
---------
New text: (<a href="#section-5.1">Section 5.1</a>)
---------
If an endpoint receives an INIT, INIT ACK, or COOKIE ECHO chunk
but decides not to establish the new association due to missing
mandatory parameters in the received INIT or INIT ACK, invalid
parameter values, or lack of local resources, it SHOULD respond
with an ABORT chunk.
<span class="h4"><a class="selflink" id="section-2.47.3" href="#section-2.47.3">2.47.3</a>. Solution Description</span>
The requirement of sending ABORT chunks is relaxed such that an
implementation can decide not to send ABORT chunks.
<span class="h3"><a class="selflink" id="section-2.48" href="#section-2.48">2.48</a>. Handling of Supported Address Types Parameter</span>
<span class="h4"><a class="selflink" id="section-2.48.1" href="#section-2.48.1">2.48.1</a>. Description of the Problem</span>
The sender of the INIT chunk can include a 'Supported Address Types'
parameter to indicate which address families are supported. It is
unclear how an INIT chunk should be processed where the source
address of the packet containing the INIT chunk or listed addresses
<span class="grey">Stewart, et al. Informational [Page 99]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-100" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
within the INIT chunk indicate that more address types are supported
than those listed in the 'Supported Address Types' parameter.
<span class="h4"><a class="selflink" id="section-2.48.2" href="#section-2.48.2">2.48.2</a>. Text Changes to the Document</span>
The changes given here already include changes suggested in <a href="#section-2.28">Section</a>
<a href="#section-2.28">2.28</a> of this document.
---------
Old text: (<a href="#section-5.1.2">Section 5.1.2</a>)
---------
IMPLEMENTATION NOTE: In the case that the receiver of an INIT ACK
fails to resolve the address parameter due to an unsupported type,
it can abort the initiation process and then attempt a
re-initiation by using a 'Supported Address Types' parameter in
the new INIT to indicate what types of address it prefers.
---------
New text: (<a href="#section-5.1.2">Section 5.1.2</a>)
---------
IMPLEMENTATION NOTE: In the case that the receiver of an INIT ACK
fails to resolve the address parameter due to an unsupported type,
it can abort the initiation process and then attempt a re-
initiation by using a 'Supported Address Types' parameter in the
new INIT to indicate what types of address it prefers.
IMPLEMENTATION NOTE: If an SCTP endpoint that only supports either
IPv4 or IPv6 receives IPv4 and IPv6 addresses in an INIT or INIT-
ACK chunk from its peer, it MUST use all the addresses belonging
to the supported address family. The other addresses MAY be
ignored. The endpoint SHOULD NOT respond with any kind of error
indication.
IMPLEMENTATION NOTE: If an SCTP endpoint lists in the 'Supported
Address Types' parameter either IPv4 or IPv6, but uses the other
family for sending the packet containing the INIT chunk, or if it
also lists addresses of the other family in the INIT chunk, then
the address family that is not listed in the 'Supported Address
Types' parameter SHOULD also be considered as supported by the
receiver of the INIT chunk. The receiver of the INIT chunk SHOULD
NOT respond with any kind of error indication.
<span class="h4"><a class="selflink" id="section-2.48.3" href="#section-2.48.3">2.48.3</a>. Solution Description</span>
It is now clearly described how these Supported Address Types
parameters with incorrect data should be handled.
<span class="grey">Stewart, et al. Informational [Page 100]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-101" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.49" href="#section-2.49">2.49</a>. Handling of Unexpected Parameters</span>
<span class="h4"><a class="selflink" id="section-2.49.1" href="#section-2.49.1">2.49.1</a>. Description of the Problem</span>
<a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] clearly describes how unknown parameters in the INIT and
INIT-ACK chunk should be processed. But it is not described how
unexpected parameters should be processed. A parameter is unexpected
if it is known and is an optional parameter in either the INIT or
INIT-ACK chunk but is received in the chunk for which it is not an
optional parameter. For example, the 'Supported Address Types'
parameter would be an unexpected parameter if contained in an INIT-
ACK chunk.
<span class="h4"><a class="selflink" id="section-2.49.2" href="#section-2.49.2">2.49.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.2">Section 3.3.2</a>)
---------
Note 4: This parameter, when present, specifies all the address
types the sending endpoint can support. The absence of this
parameter indicates that the sending endpoint can support any
address type.
---------
New text: (<a href="#section-3.3.2">Section 3.3.2</a>)
---------
Note 4: This parameter, when present, specifies all the address
types the sending endpoint can support. The absence of this
parameter indicates that the sending endpoint can support any
address type.
IMPLEMENTATION NOTE: If an INIT chunk is received with known
parameters that are not optional parameters of the INIT chunk
then the receiver SHOULD process the INIT chunk and send back
an INIT-ACK. The receiver of the INIT chunk MAY bundle an ERROR
chunk with the COOKIE-ACK chunk later. However, restrictive
implementations MAY send back an ABORT chunk in response to
the INIT chunk.
<span class="grey">Stewart, et al. Informational [Page 101]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-102" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
---------
Old text: (<a href="#section-3.3.3">Section 3.3.3</a>)
---------
IMPLEMENTATION NOTE: An implementation MUST be prepared to receive
a INIT ACK that is quite large (more than 1500 bytes) due to the
variable size of the state cookie AND the variable address list.
For example if a responder to the INIT has 1000 IPv4 addresses
it wishes to send, it would need at least 8,000 bytes to encode
this in the INIT ACK.
---------
New text: (<a href="#section-3.3.3">Section 3.3.3</a>)
---------
IMPLEMENTATION NOTE: An implementation MUST be prepared to receive
a INIT ACK that is quite large (more than 1500 bytes) due to the
variable size of the state cookie AND the variable address list.
For example, if a responder to the INIT has 1000 IPv4 addresses
it wishes to send, it would need at least 8,000 bytes to encode
this in the INIT ACK.
IMPLEMENTATION NOTE: If an INIT-ACK chunk is received with known
parameters that are not optional parameters of the INIT-ACK
chunk, then the receiver SHOULD process the INIT-ACK chunk and
send back a COOKIE-ECHO. The receiver of the INIT-ACK chunk
MAY bundle an ERROR chunk with the COOKIE-ECHO chunk. However,
restrictive implementations MAY send back an ABORT chunk in
response to the INIT-ACK chunk.
<span class="h4"><a class="selflink" id="section-2.49.3" href="#section-2.49.3">2.49.3</a>. Solution Description</span>
It is now stated how unexpected parameters should be processed.
<span class="h3"><a class="selflink" id="section-2.50" href="#section-2.50">2.50</a>. Payload Protocol Identifier</span>
<span class="h4"><a class="selflink" id="section-2.50.1" href="#section-2.50.1">2.50.1</a>. Description of the Problem</span>
The current description of the payload protocol identifier does NOT
highlight the fact that the field is NOT necessarily in network byte
order.
<span class="grey">Stewart, et al. Informational [Page 102]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-103" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.50.2" href="#section-2.50.2">2.50.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-3.3.1">Section 3.3.1</a>)
---------
Payload Protocol Identifier: 32 bits (unsigned integer)
This value represents an application (or upper layer) specified
protocol identifier. This value is passed to SCTP by its upper
layer and sent to its peer. This identifier is not used by
SCTP but can be used by certain network entities as well as
the peer application to identify the type of information being
carried in this DATA chunk. This field must be sent even in
fragmented DATA chunks (to make sure it is available for agents
in the middle of the network).
The value 0 indicates no application identifier is specified by
the upper layer for this payload data.
---------
New text: (<a href="#section-3.3.1">Section 3.3.1</a>)
---------
Payload Protocol Identifier: 32 bits (unsigned integer)
This value represents an application (or upper layer) specified
protocol identifier. This value is passed to SCTP by its upper
layer and sent to its peer. This identifier is not used by
SCTP but can be used by certain network entities, as well as by
the peer application, to identify the type of information being
carried in this DATA chunk. This field must be sent even in
fragmented DATA chunks (to make sure it is available for agents
in the middle of the network). Note that this field is NOT
touched by an SCTP implementation, therefore its byte order is
NOT necessarily Big Endian. The upper layer is responsible
for any byte order conversions to this field.
The value 0 indicates that no application identifier is
specified by the upper layer for this payload data.
<span class="h4"><a class="selflink" id="section-2.50.3" href="#section-2.50.3">2.50.3</a>. Solution Description</span>
It is now explicitly stated that the upper layer is responsible for
the byte order of this field.
<span class="grey">Stewart, et al. Informational [Page 103]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-104" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h3"><a class="selflink" id="section-2.51" href="#section-2.51">2.51</a>. Karn's Algorithm</span>
<span class="h4"><a class="selflink" id="section-2.51.1" href="#section-2.51.1">2.51.1</a>. Description of the Problem</span>
The current wording of the use of Karn's algorithm is not descriptive
enough to ensure that an implementation in a multi-homed association
does not incorrectly mismeasure the RTT.
<span class="h4"><a class="selflink" id="section-2.51.2" href="#section-2.51.2">2.51.2</a>. Text Changes to the Document</span>
---------
Old text: (<a href="#section-6.3.1">Section 6.3.1</a>)
---------
C5) Karn's algorithm: RTT measurements MUST NOT be made using
packets that were retransmitted (and thus for which it is
ambiguous whether the reply was for the first instance of the
packet or a later instance)
---------
New text: (<a href="#section-6.3.1">Section 6.3.1</a>)
---------
C5) Karn's algorithm: RTT measurements MUST NOT be made using
chunks that were retransmitted (and thus for which it is
ambiguous whether the reply was for the first instance of
the chunk or for a later instance)
IMPLEMENTATION NOTE: RTT measurements should only be
made using a chunk with TSN r if no chunk
with TSN less than or equal to r is retransmitted
since r is first sent.
<span class="h4"><a class="selflink" id="section-2.51.3" href="#section-2.51.3">2.51.3</a>. Solution Description</span>
The above clarification adds an implementation note that will provide
additional guidance in the application of Karn's algorithm.
<span class="h3"><a class="selflink" id="section-2.52" href="#section-2.52">2.52</a>. Fast Retransmit Algorithm</span>
<span class="h4"><a class="selflink" id="section-2.52.1" href="#section-2.52.1">2.52.1</a>. Description of the Problem</span>
The original SCTP specification is overly conservative in requiring 4
missing reports before fast retransmitting a segment. TCP uses 3
missing reports or 4 acknowledgements indicating that the same
segment was received.
<span class="grey">Stewart, et al. Informational [Page 104]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-105" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h4"><a class="selflink" id="section-2.52.2" href="#section-2.52.2">2.52.2</a>. Text Changes to the Document</span>
---------
Old text:
---------
7.2.4 Fast Retransmit on Gap Reports
In the absence of data loss, an endpoint performs delayed
acknowledgement. However, whenever an endpoint notices a hole in
the arriving TSN sequence, it SHOULD start sending a SACK back
every time a packet arrives carrying data until the
hole is filled.
Whenever an endpoint receives a SACK that indicates some TSN(s)
missing, it SHOULD wait for 3 further miss indications (via
subsequent SACK's) on the same TSN(s) before taking action with
regard to Fast Retransmit.
---------
New text:
---------
7.2.4. Fast Retransmit on Gap Reports
In the absence of data loss, an endpoint performs delayed
acknowledgement. However, whenever an endpoint notices a hole in
the arriving TSN sequence, it SHOULD start sending a SACK back
every time a packet arrives carrying data until the
hole is filled.
Whenever an endpoint receives a SACK that indicates that some
TSNs are missing, it SHOULD wait for 2 further miss indications
(via subsequent SACKs for a total of 3 missing reports) on the
same TSNs before taking action with regard to Fast Retransmit.
<span class="h4"><a class="selflink" id="section-2.52.3" href="#section-2.52.3">2.52.3</a>. Solution Description</span>
The above changes will make SCTP and TCP behave similarly in terms of
how fast they engage the Fast Retransmission algorithm upon receiving
missing reports.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Security Considerations</span>
This document should add no additional security risks to SCTP and in
fact SHOULD correct some original security flaws within the original
document once it is incorporated into a <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] BIS document.
<span class="grey">Stewart, et al. Informational [Page 105]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-106" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Acknowledgements</span>
The authors would like to thank the following people who have
provided comments and input for this document:
Barry Zuckerman, La Monte Yarroll, Qiaobing Xie, Wang Xiaopeng,
Jonathan Wood, Jeff Waskow, Mike Turner, John Townsend, Sabina
Torrente, Cliff Thomas, Yuji Suzuki, Manoj Solanki, Sverre Slotte,
Keyur Shah, Jan Rovins, Ben Robinson, Renee Revis, Ian Periam, RC
Monee, Sanjay Rao, Sujith Radhakrishnan, Heinz Prantner, Biren Patel,
Nathalie Mouellic, Mitch Miers, Bernward Meyknecht, Stan McClellan,
Oliver Mayor, Tomas Orti Martin, Sandeep Mahajan, David Lehmann,
Jonathan Lee, Philippe Langlois, Karl Knutson, Joe Keller, Gareth
Keily, Andreas Jungmaier, Janardhan Iyengar, Mutsuya Irie, John
Hebert, Kausar Hassan, Fred Hasle, Dan Harrison, Jon Grim, Laurent
Glaude, Steven Furniss, Atsushi Fukumoto, Ken Fujita, Steve Dimig,
Thomas Curran, Serkan Cil, Melissa Campbell, Peter Butler, Rob
Brennan, Harsh Bhondwe, Brian Bidulock, Caitlin Bestler, Jon Berger,
Robby Benedyk, Stephen Baucke, Sandeep Balani, and Ronnie Sellar.
A special thanks to Mark Allman, who should actually be a co-author
for his work on the max-burst, but managed to wiggle out due to a
technicality. Also, we would like to acknowledge Lyndon Ong and Phil
Conrad for their valuable input and many contributions.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. IANA Considerations</span>
This document recommends changes for the <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] BIS document.
As such, even though it lists new error cause code, this document in
itself does NOT define those new codes. Instead, the BIS document
will make the needed changes to <a href="./rfc2960">RFC 2960</a> [<a href="#ref-5" title=""Stream Control Transmission Protocol"">5</a>] and thus its IANA
section will require changes to be made.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Normative References</span>
[<a id="ref-1">1</a>] Braden, R., "Requirements for Internet Hosts - Communication
Layers", STD 3, <a href="./rfc1122">RFC 1122</a>, October 1989.
[<a id="ref-2">2</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-3">3</a>] Caro, A., Shah, K., Iyengar, J., Amer, P., and R. Stewart, "SCTP
and TCP Variants: Congestion Control Under Multiple Losses",
Technical Report TR2003-04, Computer and Information Sciences
Department, University of Delaware, February 2003,
<<a href="http://www.armandocaro.net/papers">http://www.armandocaro.net/papers</a>>.
<span class="grey">Stewart, et al. Informational [Page 106]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-107" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
[<a id="ref-4">4</a>] Caro, A., Amer, P., and R. Stewart, "Retransmission Schemes for
End-to-end Failover with Transport Layer Multihoming", GLOBECOM,
November 2004., <<a href="http://www.armandocaro.net/papers">http://www.armandocaro.net/papers</a>>.
[<a id="ref-5">5</a>] Stewart, R., Xie, Q., Morneault, K., Sharp, C., Schwarzbauer,
H., Taylor, T., Rytina, I., Kalla, M., Zhang, L., and V.
Paxson, "Stream Control Transmission Protocol", <a href="./rfc2960">RFC 2960</a>,
October 2000.
[<a id="ref-6">6</a>] Stone, J., Stewart, R., and D. Otis, "Stream Control
Transmission Protocol (SCTP) Checksum Change", <a href="./rfc3309">RFC 3309</a>,
September 2002.
<span class="grey">Stewart, et al. Informational [Page 107]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-108" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
Authors' Addresses
Randall R. Stewart
Cisco Systems, Inc.
4875 Forest Drive
Suite 200
Columbia, SC 29206
USA
EMail: rrs@cisco.com
Ivan Arias-Rodriguez
Nokia Research Center
PO Box 407
FIN-00045 Nokia Group
Finland
EMail: ivan.arias-rodriguez@nokia.com
Kacheong Poon
Sun Microsystems, Inc.
3571 N. First St.
San Jose, CA 95134
USA
EMail: kacheong.poon@sun.com
Armando L. Caro Jr.
BBN Technologies
10 Moulton St.
Cambridge, MA 02138
EMail: acaro@bbn.com
URI: <a href="http://www.armandocaro.net">http://www.armandocaro.net</a>
Michael Tuexen
Muenster Univ. of Applied Sciences
Stegerwaldstr. 39
48565 Steinfurt
Germany
EMail: tuexen@fh-muenster.de
<span class="grey">Stewart, et al. Informational [Page 108]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-109" ></span>
<span class="grey"><a href="./rfc4460">RFC 4460</a> SCTP Errata April 2006</span>
Full Copyright Statement
Copyright (C) The Internet Society (2006).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is provided by the IETF
Administrative Support Activity (IASA).
Stewart, et al. Informational [Page 109]
</pre>
|