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
|
<pre>Network Working Group C. Rigney
Request for Comments: 2869 Livingston
Category: Informational W. Willats
Cyno Technologies
P. Calhoun
Sun Microsystems
June 2000
<span class="h1">RADIUS Extensions</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 (2000). All Rights Reserved.
Abstract
This document describes additional attributes for carrying
authentication, authorization and accounting information between a
Network Access Server (NAS) and a shared Accounting Server using the
Remote Authentication Dial In User Service (RADIUS) protocol
described in <a href="./rfc2865">RFC 2865</a> [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>] and <a href="./rfc2866">RFC 2866</a> [<a href="#ref-2" title=""RADIUS Accounting"">2</a>].
Table of Contents
<a href="#section-1">1</a>. Introduction .......................................... <a href="#page-2">2</a>
<a href="#section-1.1">1.1</a> Specification of Requirements ................... <a href="#page-3">3</a>
<a href="#section-1.2">1.2</a> Terminology ..................................... <a href="#page-3">3</a>
<a href="#section-2">2</a>. Operation ............................................. <a href="#page-4">4</a>
<a href="#section-2.1">2.1</a> RADIUS support for Interim Accounting Updates.... <a href="#page-4">4</a>
2.2 RADIUS support for Apple Remote Access
Protocol ........................................ <a href="#page-5">5</a>
2.3 RADIUS Support for Extensible Authentication
Protocol (EAP) .................................. <a href="#page-11">11</a>
<a href="#section-2.3.1">2.3.1</a> Protocol Overview ............................... <a href="#page-11">11</a>
<a href="#section-2.3.2">2.3.2</a> Retransmission .................................. <a href="#page-13">13</a>
<a href="#section-2.3.3">2.3.3</a> Fragmentation ................................... <a href="#page-14">14</a>
<a href="#section-2.3.4">2.3.4</a> Examples ........................................ <a href="#page-14">14</a>
<a href="#section-2.3.5">2.3.5</a> Alternative uses ................................ <a href="#page-19">19</a>
<a href="#section-3">3</a>. Packet Format ......................................... <a href="#page-19">19</a>
<a href="#section-4">4</a>. Packet Types .......................................... <a href="#page-19">19</a>
<a href="#section-5">5</a>. Attributes ............................................ <a href="#page-20">20</a>
<span class="grey">Rigney, et al. Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<a href="#section-5.1">5.1</a> Acct-Input-Gigawords ............................ <a href="#page-22">22</a>
<a href="#section-5.2">5.2</a> Acct-Output-Gigawords ........................... <a href="#page-23">23</a>
<a href="#section-5.3">5.3</a> Event-Timestamp ................................. <a href="#page-23">23</a>
<a href="#section-5.4">5.4</a> ARAP-Password ................................... <a href="#page-24">24</a>
<a href="#section-5.5">5.5</a> ARAP-Features ................................... <a href="#page-25">25</a>
<a href="#section-5.6">5.6</a> ARAP-Zone-Access ................................ <a href="#page-26">26</a>
<a href="#section-5.7">5.7</a> ARAP-Security ................................... <a href="#page-27">27</a>
<a href="#section-5.8">5.8</a> ARAP-Security-Data .............................. <a href="#page-28">28</a>
<a href="#section-5.9">5.9</a> Password-Retry .................................. <a href="#page-28">28</a>
<a href="#section-5.10">5.10</a> Prompt .......................................... <a href="#page-29">29</a>
<a href="#section-5.11">5.11</a> Connect-Info .................................... <a href="#page-30">30</a>
<a href="#section-5.12">5.12</a> Configuration-Token ............................. <a href="#page-31">31</a>
<a href="#section-5.13">5.13</a> EAP-Message ..................................... <a href="#page-32">32</a>
<a href="#section-5.14">5.14</a> Message-Authenticator ........................... <a href="#page-33">33</a>
<a href="#section-5.15">5.15</a> ARAP-Challenge-Response ......................... <a href="#page-35">35</a>
<a href="#section-5.16">5.16</a> Acct-Interim-Interval ........................... <a href="#page-36">36</a>
<a href="#section-5.17">5.17</a> NAS-Port-Id ..................................... <a href="#page-37">37</a>
<a href="#section-5.18">5.18</a> Framed-Pool ..................................... <a href="#page-37">37</a>
<a href="#section-5.19">5.19</a> Table of Attributes ............................. <a href="#page-38">38</a>
<a href="#section-6">6</a>. IANA Considerations ................................... <a href="#page-39">39</a>
<a href="#section-7">7</a>. Security Considerations ............................... <a href="#page-39">39</a>
<a href="#section-7.1">7.1</a> Message-Authenticator Security .................. <a href="#page-39">39</a>
<a href="#section-7.2">7.2</a> EAP Security .................................... <a href="#page-39">39</a>
<a href="#section-7.2.1">7.2.1</a> Separation of EAP server and PPP authenticator .. <a href="#page-40">40</a>
<a href="#section-7.2.2">7.2.2</a> Connection hijacking ............................ <a href="#page-41">41</a>
<a href="#section-7.2.3">7.2.3</a> Man in the middle attacks ....................... <a href="#page-41">41</a>
<a href="#section-7.2.4">7.2.4</a> Multiple databases .............................. <a href="#page-41">41</a>
<a href="#section-7.2.5">7.2.5</a> Negotiation attacks ............................. <a href="#page-42">42</a>
<a href="#section-8">8</a>. References ............................................ <a href="#page-43">43</a>
<a href="#section-9">9</a>. Acknowledgements ...................................... <a href="#page-44">44</a>
<a href="#section-10">10</a>. Chair's Address ....................................... <a href="#page-44">44</a>
<a href="#section-11">11</a>. Authors' Addresses .................................... <a href="#page-45">45</a>
<a href="#section-12">12</a>. Full Copyright Statement .............................. <a href="#page-47">47</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
<a href="./rfc2865">RFC 2865</a> [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>] describes the RADIUS Protocol as it is implemented and
deployed today, and <a href="./rfc2866">RFC 2866</a> [<a href="#ref-2" title=""RADIUS Accounting"">2</a>] describes how Accounting can be
performed with RADIUS.
<span class="grey">Rigney, et al. Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
This memo suggests several additional Attributes that can be added to
RADIUS to perform various useful functions. These Attributes do not
have extensive field experience yet and should therefore be
considered experimental.
The Extensible Authentication Protocol (EAP) [<a href="#ref-3" title=""PPP Extensible Authentication Protocol (EAP)"">3</a>] is a PPP extension
that provides support for additional authentication methods within
PPP. This memo describes how the EAP-Message and Message-
Authenticator attributes may be used for providing EAP support within
RADIUS.
All attributes are comprised of variable length Type-Length-Value 3-
tuples. New attribute values can be added without disturbing
existing implementations of the protocol.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Specification of Requirements</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="#ref-4" title=""Key words for use in RFCs to Indicate Requirement Levels"">4</a>].
An implementation is not compliant if it fails to satisfy one or more
of the must or must not requirements for the protocols it implements.
An implementation that satisfies all the must, must not, should and
should not requirements for its protocols is said to be
"unconditionally compliant"; one that satisfies all the must and must
not requirements but not all the should or should not requirements
for its protocols is said to be "conditionally compliant."
A NAS that does not implement a given service MUST NOT implement the
RADIUS attributes for that service. For example, a NAS that is
unable to offer ARAP service MUST NOT implement the RADIUS attributes
for ARAP. A NAS MUST treat a RADIUS access-request requesting an
unavailable service as an access-reject instead.
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Terminology</span>
This document uses the following terms:
service The NAS provides a service to the dial-in user, such as PPP
or Telnet.
session Each service provided by the NAS to a dial-in user
constitutes a session, with the beginning of the session
defined as the point where service is first provided and
the end of the session defined as the point where service
<span class="grey">Rigney, et al. Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
is ended. A user may have multiple sessions in parallel or
series if the NAS supports that, with each session
generating a separate start and stop accounting record.
silently discard
This means the implementation discards the packet without
further processing. The implementation SHOULD provide the
capability of logging the error, including the contents of
the silently discarded packet, and SHOULD record the event
in a statistics counter.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Operation</span>
Operation is identical to that defined in <a href="./rfc2865">RFC 2865</a> [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>] and <a href="./rfc2866">RFC 2866</a>
[<a href="#ref-2" title=""RADIUS Accounting"">2</a>].
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. RADIUS support for Interim Accounting Updates</span>
When a user is authenticated, a RADIUS server issues an Access-Accept
in response to a successful Access-Request. If the server wishes to
receive interim accounting messages for the given user it must
include the Acct-Interim-Interval RADIUS attribute in the message,
which indicates the interval in seconds between interim messages.
It is also possible to statically configure an interim value on the
NAS itself. Note that a locally configured value on the NAS MUST
override the value found in an Access-Accept.
This scheme does not break backward interoperability since a RADIUS
server not supporting this extension will simply not add the new
Attribute. NASes not supporting this extension will ignore the
Attribute.
Note that all information in an interim message is cumulative (i.e.
number of packets sent is the total since the beginning of the
session, not since the last interim message).
It is envisioned that an Interim Accounting record (with Acct-
Status-Type = Interim-Update (3)) would contain all of the attributes
normally found in an Accounting Stop message with the exception of
the Acct-Term-Cause attribute.
Since all the information is cumulative, a NAS MUST ensure that only
a single generation of an interim Accounting message for a given
session is present in the retransmission queue at any given time.
<span class="grey">Rigney, et al. Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
A NAS MAY use a fudge factor to add a random delay between Interim
Accounting messages for separate sessions. This will ensure that a
cycle where all messages are sent at once is prevented, such as might
otherwise occur if a primary link was recently restored and many
dial-up users were directed to the same NAS at once.
The Network and NAS CPU load of using Interim Updates should be
carefully considered, and appropriate values of Acct-Interim-Interval
chosen.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. RADIUS support for Apple Remote Access Protocol</span>
The RADIUS (Remote Authentication Dial-In User Service) protocol
provides a method that allows multiple dial-in Network Access Server
(NAS) devices to share a common authentication database.
The Apple Remote Access Protocol (ARAP) provides a method for sending
AppleTalk network traffic over point-to-point links, typically, but
not exclusively, asynchronous and ISDN switched-circuit connections.
Though Apple is moving toward ATCP on PPP for future remote access
services, ARAP is still a common way for the installed base of
Macintosh users to make remote network connections, and is likely to
remain so for some time.
ARAP is supported by several NAS vendors who also support PPP, IPX
and other protocols in the same NAS. ARAP connections in these
multi-protocol devices are often not authenticated with RADIUS, or if
they are, each vendor creates an individual solution to the problem.
This section describes the use of additional RADIUS attributes to
support ARAP. RADIUS client and server implementations that implement
this specification should be able to authenticate ARAP connections in
an interoperable manner.
This section assumes prior knowledge of RADIUS, and will go into some
detail on the operation of ARAP before entering a detailed discussion
of the proposed ARAP RADIUS attributes.
There are two features of ARAP this document does not address:
1. User initiated password changing. This is not part of RADIUS,
but can be implemented through a software process other than
RADIUS.
2. Out-of-Band messages. At any time, the NAS can send messages to
an ARA client which appear in a dialog box on the dial-in
user's screen. These are not part of authentication and do not
belong here. However, we note that a Reply-Message attribute in
<span class="grey">Rigney, et al. Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
an Access-Accept may be sent down to the user as a sign-on
message of the day string using the out-of-band channel.
We have tried to respect the spirit of the existing RADIUS protocol
as much as possible, making design decisions compatible with prior
art. Further, we have tried to strike a balance between flooding the
RADIUS world with new attributes, and hiding all of ARAP operation
within a single multiplexed ARAP attribute string or within Extended
Authentication Protocol (EAP) [<a href="#ref-3" title=""PPP Extensible Authentication Protocol (EAP)"">3</a>] machinery.
However, we feel ARAP is enough of a departure from PPP to warrant a
small set of similarly named attributes of its own.
We have assumed that an ARAP-aware RADIUS server will be able to do
DES encryption and generate security module challenges. This is in
keeping with the general RADIUS goal of smart server / simple NAS.
ARAP authenticates a connection in two phases. The first is a "Two-
Way DES" random number exchange, using the user's password as a key.
We say "Two-Way" because the ARAP NAS challenges the dial-in client
to authenticate itself, and the dial-in client challenges the ARAP
NAS to authenticate itself.
Specifically, ARAP does the following:
1. The NAS sends two 32-bit random numbers to the dial-in client
in an ARAP msg_auth_challenge packet.
2. The dial-in client uses the user's password to DES encrypt the
two random numbers sent to it by the NAS. The dial-in client
then sends this result, the user's name and two 32-bit random
numbers of its own back to the NAS in an ARAP msg_auth_request
packet.
3. The NAS verifies the encrypted random numbers sent by the
dial-in client are what it expected. If so, it encrypts the
dial-in client's challenge using the password and sends it back
to the dial-in client in an ARAP msg_auth_response packet.
Note that if the dial-in client's response was wrong, meaning the
user has the wrong password, the server can initiate a retry sequence
up to the maximum amount of retries allowed by the NAS. In this case,
when the dial-in client receives the ARAP msg_auth_response packet it
will acknowledge it with an ARAP msg_auth_again packet.
After this first "DES Phase" the ARAP NAS MAY initiate a secondary
authentication phase using what Apple calls "Add-In Security
Modules." Security Modules are small pieces of code which run on
<span class="grey">Rigney, et al. Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
both the client and server and are allowed to read and write
arbitrary data across the communications link to perform additional
authentication functions. Various security token vendors use this
mechanism to authenticate ARA callers.
Although ARAP allows security modules to read and write anything they
like, all existing security modules use simple challenge and response
cycles, with perhaps some overall control information. This document
assumes all existing security modules can be supported with one or
more challenge/response cycles.
To complicate RADIUS and ARAP integration, ARAP sends down some
profile information after the DES Phase and before the Security
Module phase. This means that besides the responses to challenges,
this profile information must also be present, at somewhat unusual
times. Fortunately the information is only a few pieces of numeric
data related to passwords, which this document packs into a single
new attribute.
Presenting an Access-Request to RADIUS on behalf of an ARAP
connection is straightforward. The ARAP NAS generates the random
number challenge, and then receives the dial-in client's response,
the dial-in client's challenge, and the user's name. Assuming the
user is not a guest, the following information is forwarded in an
Access-Request packet: User-Name (up to 31 characters long),
Framed-Protocol (set to 3, ARAP), ARAP-Password, and any additional
attributes desired, such as Service-Type, NAS-IP-Address, NAS-Id,
NAS-Port-Type, NAS-Port, NAS-Port-Id, Connect-Info, etc.
The Request Authenticator is a NAS-generated 16 octet random number.
The low-order 8 octets of this number are sent to the dial-in user as
the two 4 octet random numbers required in the ARAP
msg_auth_challenge packet. Octets 0-3 are the first random number and
Octets 4-7 are the second random number.
The ARAP-Password in the Access-Request contains a 16 octet random
number field, and is used to carry the dial-in user's response to the
NAS challenge and the client's own challenge to the NAS. The high-
order octets contain the dial-in user's challenge to the NAS (2 32-
bit numbers, 8 octets) and the low-order octets contain the dial-in
user's response to the NAS challenge (2 32-bit numbers, 8 octets).
Only one of User-Password, CHAP-Password, or ARAP-Password needs to
be present in an Access-Request, or one or more EAP-Messages.
If the RADIUS server does not support ARAP it SHOULD return an
Access-Reject to the NAS.
<span class="grey">Rigney, et al. Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
If the RADIUS server does support ARAP, it should verify the user's
response using the Challenge (from the lower order 8 octets of the
Request Authenticator) and the user's response (from the low order 8
octets of the ARAP-Password).
If that authentication fails, the RADIUS server should return an
Access-Reject packet to the NAS, with optional Password-Retry and
Reply-Messages attributes. The presence of Password-Retry indicates
the ARAP NAS MAY choose to initiate another challenge-response cycle,
up to a total number of times equal to the integer value of the
Password-Retry attribute.
If the user is authenticated, the RADIUS server should return an
Access-Accept packet (Code 2) to the NAS, with ID and Response
Authenticator as usual, and attributes as follows:
Service-Type of Framed-Protocol.
Framed-Protocol of ARAP (3).
Session-Timeout with the maximum connect time for the user in
seconds. If the user is to be given unlimited time,
Session-Timeout should not be included in the Access-Accept
packet, and ARAP will treat that as an unlimited timeout (-1).
ARAP-Challenge-Response, containing 8 octets with the response to
the dial-in client's challenge. The RADIUS server calculates this
value by taking the dial-in client's challenge from the high order
8 octets of the ARAP-Password attribute and performing DES
encryption on this value with the authenticating user's password
as the key. If the user's password is less than 8 octets in
length, the password is padded at the end with NULL octets to a
length of 8 before using it as a key. If the user's password is
greater than 8 octets in length, an Access-Reject MUST be sent
instead.
ARAP-Features, containing information that the NAS should send to
the user in an ARAP "feature flags" packet.
Octet 0: If zero, user cannot change their password. If non-
zero user can. (RADIUS does not handle the password changing,
just the attribute which indicates whether ARAP indicates they
can.)
Octet 1: Minimum acceptable password length (0-8).
<span class="grey">Rigney, et al. Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Octet 2-5: Password creation date in Macintosh format, defined
as 32 bits unsigned representing seconds since Midnight GMT
January 1, 1904.
Octet 6-9 Password Expiration Delta from create date in
seconds.
Octet 10-13: Current RADIUS time in Macintosh format
Optionally, a single Reply-Message with a text string up to 253
characters long which MAY be sent down to the user to be displayed
in a sign-on/message of the day dialog.
Framed-AppleTalk-Network may be included.
Framed-AppleTalk-Zone, up to 32 characters in length, may be
included.
ARAP defines the notion of a list of zones for a user. Along with
a list of zone names, a Zone Access Flag is defined (and used by
the NAS) which says how to use the list of zone names. That is,
the dial-in user may only be allowed to see the Default Zone, or
only the zones in the zone list (inclusive) or any zone except
those in the zone list (exclusive).
The ARAP NAS handles this by having a named filter which contains
(at least) zone names. This solves the problem where a single
RADIUS server is managing disparate NAS clients who may not be
able to "see" all of the zone names in a user zone list. Zone
names only have meaning "at the NAS." The disadvantage of this
approach is that zone filters must be set up on the NAS somehow,
then referenced by the RADIUS Filter-Id.
ARAP-Zone-Access contains an integer which specifies how the "zone
list" for this user should be used. If this attribute is present
and the value is 2 or 4 then a Filter-Id must also be present to
name a zone list filter to apply the access flag to.
The inclusion of a Callback-Number or Callback-Id attribute in the
Access-Accept MAY cause the ARAP NAS to disconnect after sending
the Feature Flags to begin callback processing in an ARAP specific
way.
<span class="grey">Rigney, et al. Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Other attributes may be present in the Access-Accept packet as well.
An ARAP NAS will need other information to finish bringing up the
connection to the dial in client, but this information can be
provided by the ARAP NAS without any help from RADIUS, either through
configuration by SNMP, a NAS administration program, or deduced by
the AppleTalk stack in the NAS. Specifically:
1. AppearAsNet and AppearAsNode values, sent to the client to tell
it what network and node numbers it should use in its datagram
packets. AppearAsNet can be taken from the Framed-AppleTalk-
Network attribute or from the configuration or AppleTalk stack
onthe NAS.
2. The "default" zone - that is the name of the AppleTalk zone in
which the dial-in client will appear. (Or can be specified
with the Framed-AppleTalk-Zone attribute.)
3. Other very NAS specific stuff such as the name of the NAS, and
smartbuffering information. (Smartbuffering is an ARAP
mechanism for replacing common AppleTalk datagrams with small
tokens, to improve slow link performance in a few common
traffic situations.)
4. "Zone List" information for this user. The ARAP specification
defines a "zone count" field which is actually unused.
RADIUS supports ARAP Security Modules in the following manner.
After DES authentication has been completed, the RADIUS server may
instruct the ARAP NAS to run one or more security modules for the
dial-in user. Although the underlying protocol supports executing
multiple security modules in series, in practice all current
implementations only allow executing one. Through the use of
multiple Access-Challenge requests, multiple modules can be
supported, but this facility will probably never be used.
We also assume that, even though ARAP allows a free-form dialog
between security modules on each end of the point-to-point link, in
actual practice all security modules can be reduced to a simple
challenge/response cycle.
If the RADIUS server wishes to instruct the ARAP NAS to run a
security module, it should send an Access-Challenge packet to the NAS
with (optionally) the State attribute, plus the ARAP-Challenge-
Response, ARAP-Features, and two more attributes:
<span class="grey">Rigney, et al. Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
ARAP-Security: a four octet security module signature, containing a
Macintosh OSType.
ARAP-Security-Data, a string to carry the actual security module
challenge and response.
When the security module finishes executing, the security module
response is passed in an ARAP-Security-Data attribute from the NAS
to the RADIUS server in a second Access-Request, also including the
State from the Access-Challenge. The authenticator field contains no
special information in this case, and this can be discerned by the
presence of the State attribute.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. RADIUS Support for Extensible Authentication Protocol (EAP)</span>
The Extensible Authentication Protocol (EAP), described in [<a href="#ref-3" title=""PPP Extensible Authentication Protocol (EAP)"">3</a>],
provides a standard mechanism for support of additional
authentication methods within PPP. Through the use of EAP, support
for a number of authentication schemes may be added, including smart
cards, Kerberos, Public Key, One Time Passwords, and others. In
order to provide for support of EAP within RADIUS, two new
attributes, EAP-Message and Message-Authenticator, are introduced in
this document. This section describes how these new attributes may be
used for providing EAP support within RADIUS.
In the proposed scheme, the RADIUS server is used to shuttle RADIUS-
encapsulated EAP Packets between the NAS and a backend security
server. While the conversation between the RADIUS server and the
backend security server will typically occur using a proprietary
protocol developed by the backend security server vendor, it is also
possible to use RADIUS-encapsulated EAP via the EAP-Message
attribute. This has the advantage of allowing the RADIUS server to
support EAP without the need for authentication-specific code, which
can instead reside on the backend security server.
<span class="h4"><a class="selflink" id="section-2.3.1" href="#section-2.3.1">2.3.1</a>. Protocol Overview</span>
The EAP conversation between the authenticating peer (dial-in user)
and the NAS begins with the negotiation of EAP within LCP. Once EAP
has been negotiated, the NAS MUST send an EAP-Request/Identity
message to the authenticating peer, unless identity is determined via
some other means such as Called-Station-Id or Calling-Station-Id.
The peer will then respond with an EAP-Response/Identity which the
the NAS will then forward to the RADIUS server in the EAP-Message
attribute of a RADIUS Access-Request packet. The RADIUS Server will
typically use the EAP-Response/Identity to determine which EAP type
is to be applied to the user.
<span class="grey">Rigney, et al. Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
In order to permit non-EAP aware RADIUS proxies to forward the
Access-Request packet, if the NAS sends the EAP-Request/Identity, the
NAS MUST copy the contents of the EAP-Response/Identity into the
User-Name attribute and MUST include the EAP-Response/Identity in the
User-Name attribute in every subsequent Access-Request. NAS-Port or
NAS-Port-Id SHOULD be included in the attributes issued by the NAS in
the Access-Request packet, and either NAS-Identifier or NAS-IP-
Address MUST be included. In order to permit forwarding of the
Access-Reply by EAP-unaware proxies, if a User-Name attribute was
included in an Access-Request, the RADIUS Server MUST include the
User-Name attribute in subsequent Access-Accept packets. Without the
User-Name attribute, accounting and billing becomes very difficult to
manage.
If identity is determined via another means such as Called-Station-Id
or Calling-Station-Id, the NAS MUST include these identifying
attributes in every Access-Request.
While this approach will save a round-trip, it cannot be universally
employed. There are circumstances in which the user's identity may
not be needed (such as when authentication and accounting is handled
based on Called-Station-Id or Calling-Station-Id), and therefore an
EAP-Request/Identity packet may not necessarily be issued by the NAS
to the authenticating peer. In cases where an EAP-Request/Identity
packet will not be sent, the NAS will send to the RADIUS server a
RADIUS Access-Request packet containing an EAP-Message attribute
signifying EAP-Start. EAP-Start is indicated by sending an EAP-
Message attribute with a length of 2 (no data). However, it should be
noted that since no User-Name attribute is included in the Access-
Request, this approach is not compatible with RADIUS as specified in
[<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>], nor can it easily be applied in situations where proxies are
deployed, such as roaming or shared use networks.
If the RADIUS server supports EAP, it MUST respond with an Access-
Challenge packet containing an EAP-Message attribute. If the RADIUS
server does not support EAP, it MUST respond with an Access-Reject.
The EAP-Message attribute includes an encapsulated EAP packet which
is then passed on to the authenticating peer. In the case where the
NAS does not initially send an EAP-Request/Identity message to the
peer, the Access-Challenge typically will contain an EAP-Message
attribute encapsulating an EAP-Request/Identity message, requesting
the dial-in user to identify themself. The NAS will then respond with
a RADIUS Access-Request packet containing an EAP-Message attribute
encapsulating an EAP-Response. The conversation continues until
either a RADIUS Access-Reject or Access-Accept packet is received.
<span class="grey">Rigney, et al. Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Reception of a RADIUS Access-Reject packet, with or without an EAP-
Message attribute encapsulating EAP-Failure, MUST result in the NAS
issuing an LCP Terminate Request to the authenticating peer. A
RADIUS Access-Accept packet with an EAP-Message attribute
encapsulating EAP-Success successfully ends the authentication phase.
The RADIUS Access-Accept/EAP-Message/EAP-Success packet MUST contain
all of the expected attributes which are currently returned in an
Access-Accept packet.
The above scenario creates a situation in which the NAS never needs
to manipulate an EAP packet. An alternative may be used in
situations where an EAP-Request/Identity message will always be sent
by the NAS to the authenticating peer.
For proxied RADIUS requests there are two methods of processing. If
the domain is determined based on the Called-Station-Id, the RADIUS
Server may proxy the initial RADIUS Access-Request/EAP-Start. If the
domain is determined based on the user's identity, the local RADIUS
Server MUST respond with a RADIUS Access-Challenge/EAP-Identity
packet. The response from the authenticating peer MUST be proxied to
the final authentication server.
For proxied RADIUS requests, the NAS may receive an Access-Reject
packet in response to its Access-Request/EAP-Identity packet. This
would occur if the message was proxied to a RADIUS Server which does
not support the EAP-Message extension. On receiving an Access-Reject,
the NAS MUST send an LCP Terminate Request to the authenticating
peer, and disconnect.
<span class="h4"><a class="selflink" id="section-2.3.2" href="#section-2.3.2">2.3.2</a>. Retransmission</span>
As noted in [<a href="#ref-3" title=""PPP Extensible Authentication Protocol (EAP)"">3</a>], the EAP authenticator (NAS) is responsible for
retransmission of packets between the authenticating peer and the
NAS. Thus if an EAP packet is lost in transit between the
authenticating peer and the NAS (or vice versa), the NAS will
retransmit. As in RADIUS [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>], the RADIUS client is responsible for
retransmission of packets between the RADIUS client and the RADIUS
server.
Note that it may be necessary to adjust retransmission strategies and
authentication timeouts in certain cases. For example, when a token
card is used additional time may be required to allow the user to
find the card and enter the token. Since the NAS will typically not
have knowledge of the required parameters, these need to be provided
by the RADIUS server. This can be accomplished by inclusion of
Session-Timeout and Password-Retry attributes within the Access-
Challenge packet.
<span class="grey">Rigney, et al. Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
If Session-Timeout is present in an Access-Challenge packet that also
contains an EAP-Message, the value of the Session-Timeout provides
the NAS with the maximum number of seconds the NAS should wait for an
EAP-Response before retransmitting the EAP-Message to the dial-in
user.
<span class="h4"><a class="selflink" id="section-2.3.3" href="#section-2.3.3">2.3.3</a>. Fragmentation</span>
Using the EAP-Message attribute, it is possible for the RADIUS server
to encapsulate an EAP packet that is larger than the MTU on the link
between the NAS and the peer. Since it is not possible for the RADIUS
server to use MTU discovery to ascertain the link MTU, the Framed-MTU
attribute may be included in an Access-Request packet containing an
EAP-Message attribute so as to provide the RADIUS server with this
information.
<span class="h4"><a class="selflink" id="section-2.3.4" href="#section-2.3.4">2.3.4</a>. Examples</span>
The example below shows the conversation between the authenticating
peer, NAS, and RADIUS server, for the case of a One Time Password
(OTP) authentication. OTP is used only for illustrative purposes;
other authentication protocols could also have been used, although
they might show somewhat different behavior.
Authenticating Peer NAS RADIUS Server
------------------- --- -------------
<- PPP LCP Request-EAP
auth
PPP LCP ACK-EAP
auth ->
<- PPP EAP-Request/
Identity
PPP EAP-Response/
Identity (MyID) ->
RADIUS
Access-Request/
EAP-Message/
EAP-Response/
(MyID) ->
<- RADIUS
Access-Challenge/
EAP-Message/EAP-Request
OTP/OTP Challenge
<- PPP EAP-Request/
OTP/OTP Challenge
PPP EAP-Response/
OTP, OTPpw ->
<span class="grey">Rigney, et al. Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
RADIUS
Access-Request/
EAP-Message/
EAP-Response/
OTP, OTPpw ->
<- RADIUS
Access-Accept/
EAP-Message/EAP-Success
(other attributes)
<- PPP EAP-Success
PPP Authentication
Phase complete,
NCP Phase starts
In the case where the NAS first sends an EAP-Start packet to the
RADIUS server, the conversation would appear as follows:
Authenticating Peer NAS RADIUS Server
------------------- --- -------------
<- PPP LCP Request-EAP
auth
PPP LCP ACK-EAP
auth ->
RADIUS
Access-Request/
EAP-Message/Start ->
<- RADIUS
Access-Challenge/
EAP-Message/Identity
<- PPP EA-Request/
Identity
PPP EAP-Response/
Identity (MyID) ->
RADIUS
Access-Request/
EAP-Message/
EAP-Response/
(MyID) ->
<- RADIUS
Access-Challenge/
EAP-Message/EAP-Request
OTP/OTP Challenge
<- PPP EAP-Request/
OTP/OTP Challenge
PPP EAP-Response/
OTP, OTPpw ->
<span class="grey">Rigney, et al. Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
RADIUS
Access-Request/
EAP-Message/
EAP-Response/
OTP, OTPpw ->
<- RADIUS
Access-Accept/
EAP-Message/EAP-Success
(other attributes)
<- PPP EAP-Success
PPP Authentication
Phase complete,
NCP Phase starts
In the case where the client fails EAP authentication, the
conversation would appear as follows:
Authenticating Peer NAS RADIUS Server
------------------- --- -------------
<- PPP LCP Request-EAP
auth
PPP LCP ACK-EAP
auth ->
Access-Request/
EAP-Message/Start ->
<- RADIUS
Access-Challenge/
EAP-Message/Identity
<- PPP EAP-Request/
Identity
PPP EAP-Response/
Identity (MyID) ->
RADIUS
Access-Request/
EAP-Message/
EAP-Response/
(MyID) ->
<- RADIUS
Access-Challenge/
EAP-Message/EAP-Request
OTP/OTP Challenge
<- PPP EAP-Request/
OTP/OTP Challenge
PPP EAP-Response/
OTP, OTPpw ->
RADIUS
Access-Request/
<span class="grey">Rigney, et al. Informational [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
EAP-Message/
EAP-Response/
OTP, OTPpw ->
<- RADIUS
Access-Reject/
EAP-Message/EAP-Failure
<- PPP EAP-Failure
(client disconnected)
In the case that the RADIUS server or proxy does not support
EAP-Message, the conversation would appear as follows:
Authenticating Peer NAS RADIUS Server
------------------- --- -------------
<- PPP LCP Request-EAP
auth
PPP LCP ACK-EAP
auth ->
RADIUS
Access-Request/
EAP-Message/Start ->
<- RADIUS
Access-Reject
<- PPP LCP Terminate
(User Disconnected)
In the case where the local RADIUS Server does support EAP-Message,
but the remote RADIUS Server does not, the conversation would appear
as follows:
Authenticating Peer NAS RADIUS Server
------------------- --- -------------
<- PPP LCP Request-EAP
auth
PPP LCP ACK-EAP
auth ->
RADIUS
Access-Request/
EAP-Message/Start ->
<- RADIUS
Access-Challenge/
EAP-Message/Identity
<- PPP EAP-Request/
Identity
<span class="grey">Rigney, et al. Informational [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
PPP EAP-Response/
Identity
(MyID) ->
RADIUS
Access-Request/
EAP-Message/EAP-Response/
(MyID) ->
<- RADIUS
Access-Reject
(proxied from remote
RADIUS Server)
<- PPP LCP Terminate
(User Disconnected)
In the case where the authenticating peer does not support EAP, but
where EAP is required for that user, the conversation would appear as
follows:
Authenticating Peer NAS RADIUS Server
------------------- --- -------------
<- PPP LCP Request-EAP
auth
PPP LCP NAK-EAP
auth ->
<- PPP LCP Request-CHAP
auth
PPP LCP ACK-CHAP
auth ->
<- PPP CHAP Challenge
PPP CHAP Response ->
RADIUS
Access-Request/
User-Name,
CHAP-Password ->
<- RADIUS
Access-Reject
<- PPP LCP Terminate
(User Disconnected)
In the case where the NAS does not support EAP, but where EAP is
required for that user, the conversation would appear as follows:
Authenticating Peer NAS RADIUS Server
------------------- --- -------------
<- PPP LCP Request-CHAP
auth
<span class="grey">Rigney, et al. Informational [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
PP LCP ACK-CHAP
auth ->
<- PPP CHAP Challenge
PPP CHAP Response ->
RADIUS
Access-Request/
User-Name,
CHAP-Password ->
<- RADIUS
Access-Reject
<- PPP LCP Terminate
(User Disconnected)
<span class="h4"><a class="selflink" id="section-2.3.5" href="#section-2.3.5">2.3.5</a>. Alternative uses</span>
Currently the conversation between the backend security server and
the RADIUS server is proprietary because of lack of standardization.
In order to increase standardization and provide interoperability
between Radius vendors and backend security vendors, it is
recommended that RADIUS-encapsulated EAP be used for this
conversation.
This has the advantage of allowing the RADIUS server to support EAP
without the need for authentication-specific code within the RADIUS
server. Authentication-specific code can then reside on a backend
security server instead.
In the case where RADIUS-encapsulated EAP is used in a conversation
between a RADIUS server and a backend security server, the security
server will typically return an Access-Accept/EAP-Success message
without inclusion of the expected attributes currently returned in an
Access-Accept. This means that the RADIUS server MUST add these
attributes prior to sending an Access-Accept/EAP-Success message to
the NAS.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Packet Format</span>
Packet Format is identical to that defined in <a href="./rfc2865">RFC 2865</a> [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>] and 2866
[<a href="#ref-2" title=""RADIUS Accounting"">2</a>].
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Packet Types</span>
Packet types are identical to those defined in <a href="./rfc2865">RFC 2865</a> [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>] and 2866
[<a href="#ref-2" title=""RADIUS Accounting"">2</a>].
See "Table of Attributes" below to determine which types of packets
can contain which attributes defined here.
<span class="grey">Rigney, et al. Informational [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Attributes</span>
RADIUS Attributes carry the specific authentication, authorization
and accounting details for the request and response.
Some attributes MAY be included more than once. The effect of this
is attribute specific, and is specified in each attribute
description. The order of attributes of the same type SHOULD be
preserved. The order of attributes of different types is not
required to be preserved.
The end of the list of attributes is indicated by the Length of the
RADIUS packet.
A summary of the attribute format is the same as in <a href="./rfc2865">RFC 2865</a> [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>] but
is included here for ease of reference. The fields are transmitted
from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
The Type field is one octet. Up-to-date values of the RADIUS Type
field are specified in the most recent "Assigned Numbers" RFC [<a href="#ref-5" title=""Assigned Numbers"">5</a>].
Values 192-223 are reserved for experimental use, values 224-240
are reserved for implementation-specific use, and values 241-255
are reserved and should not be used. This specification concerns
the following values:
1-39 (refer to <a href="./rfc2865">RFC 2865</a> [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>], "RADIUS")
40-51 (refer to <a href="./rfc2866">RFC 2866</a> [<a href="#ref-2" title=""RADIUS Accounting"">2</a>], "RADIUS Accounting")
52 Acct-Input-Gigawords
53 Acct-Output-Gigawords
54 Unused
55 Event-Timestamp
56-59 Unused
60-63 (refer to <a href="./rfc2865">RFC 2865</a> [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>], "RADIUS")
64-67 (refer to [<a href="#ref-6" title=""RADIUS Attributes for Tunnel Protocol Support"">6</a>])
68 (refer to [<a href="#ref-7" title=""RADIUS Accounting Modifications for Tunnel Protocol Support"">7</a>])
69 (refer to [<a href="#ref-6" title=""RADIUS Attributes for Tunnel Protocol Support"">6</a>])
70 ARAP-Password
71 ARAP-Features
72 ARAP-Zone-Access
<span class="grey">Rigney, et al. Informational [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
73 ARAP-Security
74 ARAP-Security-Data
75 Password-Retry
76 Prompt
77 Connect-Info
78 Configuration-Token
79 EAP-Message
80 Message-Authenticator
81-83 (refer to [<a href="#ref-6" title=""RADIUS Attributes for Tunnel Protocol Support"">6</a>])
84 ARAP-Challenge-Response
85 Acct-Interim-Interval
86 (refer to [<a href="#ref-7" title=""RADIUS Accounting Modifications for Tunnel Protocol Support"">7</a>])
87 NAS-Port-Id
88 Framed-Pool
89 Unused
90-91 (refer to [<a href="#ref-6" title=""RADIUS Attributes for Tunnel Protocol Support"">6</a>])
92-191 Unused
Length
The Length field is one octet, and indicates the length of this
attribute including the Type, Length and Value fields. If an
attribute is received in a packet with an invalid Length, the
entire request should be silently discarded.
Value
The Value field is zero or more octets and contains information
specific to the attribute. The format and length of the Value
field is determined by the Type and Length fields.
Note that none of the types in RADIUS terminate with a NUL (hex
00). In particular, types "text" and "string" in RADIUS do not
terminate with a NUL (hex 00). The Attribute has a length field
and does not use a terminator. Text contains UTF-8 encoded 10646
[<a href="#ref-8" title=""UTF-8, a transformation format of ISO 10646"">8</a>] characters and String contains 8-bit binary data. Servers and
servers and clients MUST be able to deal with embedded nulls.
RADIUS implementers using C are cautioned not to use strcpy() when
handling strings.
The format of the value field is one of five data types. Note
that type "text" is a subset of type "string."
text 1-253 octets containing UTF-8 encoded 10646 [<a href="#ref-8" title=""UTF-8, a transformation format of ISO 10646"">8</a>]
characters. Text of length zero (0) MUST NOT be sent;
omit the entire attribute instead.
<span class="grey">Rigney, et al. Informational [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
string 1-253 octets containing binary data (values 0 through
255 decimal, inclusive). Strings of length zero (0) MUST
NOT be sent; omit the entire attribute instead.
address 32 bit unsigned value, most significant octet first.
integer 32 bit unsigned value, most significant octet first.
time 32 bit unsigned value, most significant octet first --
seconds since 00:00:00 UTC, January 1, 1970.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Acct-Input-Gigawords</span>
Description
This attribute indicates how many times the Acct-Input-Octets
counter has wrapped around 2^32 over the course of this service
being provided, and can only be present in Accounting-Request
records where the Acct-Status-Type is set to Stop or Interim-
Update.
A summary of the Acct-Input-Gigawords attribute format is shown
below. The fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
52 for Acct-Input-Gigawords.
Length
6
Value
The Value field is four octets.
<span class="grey">Rigney, et al. Informational [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Acct-Output-Gigawords</span>
Description
This attribute indicates how many times the Acct-Output-Octets
counter has wrapped around 2^32 in the course of delivering this
service, and can only be present in Accounting-Request records
where the Acct-Status-Type is set to Stop or Interim-Update.
A summary of the Acct-Output-Gigawords attribute format is shown
below. The fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
53 for Acct-Output-Gigawords.
Length
6
Value
The Value field is four octets.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Event-Timestamp</span>
Description
This attribute is included in an Accounting-Request packet to
record the time that this event occurred on the NAS, in seconds
since January 1, 1970 00:00 UTC.
A summary of the Event-Timestamp attribute format is shown below.
The fields are transmitted from left to right.
<span class="grey">Rigney, et al. Informational [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
55 for Event-Timestamp
Length
6
Value
The Value field is four octets encoding an unsigned integer with
the number of seconds since January 1, 1970 00:00 UTC.
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. ARAP-Password</span>
Description
This attribute is only present in an Access-Request packet
containing a Framed-Protocol of ARAP.
Only one of User-Password, CHAP-Password, or ARAP-Password needs
to be present in an Access-Request, or one or more EAP-Messages.
A summary of the ARAP-Password attribute format is shown below. The
fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value2
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value4
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<span class="grey">Rigney, et al. Informational [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Type
70 for ARAP-Password.
Length
18
Value
This attribute contains a 16 octet string, used to carry the
dial-in user's response to the NAS challenge and the client's own
challenge to the NAS. The high-order octets (Value1 and Value2)
contain the dial-in user's challenge to the NAS (2 32-bit numbers,
8 octets) and the low-order octets (Value3 and Value4) contain the
dial-in user's response to the NAS challenge (2 32-bit numbers, 8
octets).
<span class="h3"><a class="selflink" id="section-5.5" href="#section-5.5">5.5</a>. ARAP-Features</span>
Description
This attribute is sent in an Access-Accept packet with Framed-
Protocol of ARAP, and includes password information that the NAS
should sent to the user in an ARAP "feature flags" packet.
A summary of the ARAP-Features attribute format is shown below. The
fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value1 | Value2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value5 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
71 for ARAP-Features.
Length
16
<span class="grey">Rigney, et al. Informational [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Value
The Value field is a compound string containing information the
NAS should send to the user in the ARAP "feature flags" packet.
Value1: If zero, user cannot change their password. If non-zero
user can. (RADIUS does not handle the password changing, just
the attribute which indicates whether ARAP indicates they can.)
Value2: Minimum acceptable password length, from 0 to 8.
Value3: Password creation date in Macintosh format, defined as
32 unsigned bits representing seconds since Midnight GMT
January 1, 1904.
Value4: Password Expiration Delta from create date in seconds.
Value5: Current RADIUS time in Macintosh format.
<span class="h3"><a class="selflink" id="section-5.6" href="#section-5.6">5.6</a>. ARAP-Zone-Access</span>
Description
This attribute is included in an Access-Accept packet with
Framed-Protocol of ARAP to indicate how the ARAP zone list for the
user should be used.
A summary of the ARAP-Zone-Access attribute format is shown below.
The fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
72 for ARAP-Zone-Access.
Length
6
<span class="grey">Rigney, et al. Informational [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Value
The Value field is four octets encoding an integer with one of the
following values:
1 Only allow access to default zone
2 Use zone filter inclusively
4 Use zone filter exclusively
The value 3 is skipped, not because these are bit flags, but
because 3 in some ARAP implementations means "all zones" which is
the same as not specifying a list at all under RADIUS.
If this attribute is present and the value is 2 or 4 then a
Filter-Id must also be present to name a zone list filter to apply
the access flag to.
<span class="h3"><a class="selflink" id="section-5.7" href="#section-5.7">5.7</a>. ARAP-Security</span>
Description
This attribute identifies the ARAP Security Module to be used in
an Access-Challenge packet.
A summary of the ARAP-Security attribute format is shown below. The
fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
73 for ARAP-Security.
Length
6
<span class="grey">Rigney, et al. Informational [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Value
The Value field is four octets, containing an integer specifying
the security module signature, which is a Macintosh OSType.
(Macintosh OSTypes are 4 ascii characters cast as a 32-bit
integer)
<span class="h3"><a class="selflink" id="section-5.8" href="#section-5.8">5.8</a>. ARAP-Security-Data</span>
Description
This attribute contains the actual security module challenge or
response, and can be found in Access-Challenge and Access-Request
packets.
A summary of the ARAP-Security-Data attribute format is shown below.
The fields are transmitted from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | String...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
74 for ARAP-Security-Data.
Length
>=3
String
The String field contains the security module challenge or
response associated with the ARAP Security Module specified in
ARAP-Security.
<span class="h3"><a class="selflink" id="section-5.9" href="#section-5.9">5.9</a>. Password-Retry</span>
Description
This attribute MAY be included in an Access-Reject to indicate how
many authentication attempts a user may be allowed to attempt
before being disconnected.
It is primarily intended for use with ARAP authentication.
<span class="grey">Rigney, et al. Informational [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
A summary of the Password-Retry attribute format is shown below. The
fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
75 for Password-Retry.
Length
6
Value
The Value field is four octets, containing an integer specifying
the number of password retry attempts to permit the user.
<span class="h3"><a class="selflink" id="section-5.10" href="#section-5.10">5.10</a>. Prompt</span>
Description
This attribute is used only in Access-Challenge packets, and
indicates to the NAS whether it should echo the user's response as
it is entered, or not echo it.
A summary of the Prompt attribute format is shown below. The fields
are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
76 for Prompt.
<span class="grey">Rigney, et al. Informational [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Length
6
Value
The Value field is four octets.
0 No Echo
1 Echo
<span class="h3"><a class="selflink" id="section-5.11" href="#section-5.11">5.11</a>. Connect-Info</span>
Description
This attribute is sent from the NAS to indicate the nature of the
user's connection.
The NAS MAY send this attribute in an Access-Request or
Accounting-Request to indicate the nature of the user's
connection.
A summary of the Connect-Info attribute format is shown below. The
fields are transmitted from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Text...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
77 for Connect-Info.
Length
>= 3
Text
The Text field consists of UTF-8 encoded 10646 [<a href="#ref-8" title=""UTF-8, a transformation format of ISO 10646"">8</a>] characters.
The connection speed SHOULD be included at the beginning of the
first Connect-Info attribute in the packet. If the transmit and
receive connection speeds differ, they may both be included in the
first attribute with the transmit speed first (the speed the NAS
modem transmits at), a slash (/), the receive speed, then
optionally other information.
<span class="grey">Rigney, et al. Informational [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
For example, "28800 V42BIS/LAPM" or "52000/31200 V90"
More than one Connect-Info attribute may be present in an
Accounting-Request packet to accommodate expected efforts by ITU
to have modems report more connection information in a standard
format that might exceed 252 octets.
<span class="h3"><a class="selflink" id="section-5.12" href="#section-5.12">5.12</a>. Configuration-Token</span>
Description
This attribute is for use in large distributed authentication
networks based on proxy. It is sent from a RADIUS Proxy Server to
a RADIUS Proxy Client in an Access-Accept to indicate a type of
user profile to be used. It should not be sent to a NAS.
A summary of the Configuration-Token attribute format is shown below.
The fields are transmitted from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | String ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
78 for Configuration-Token.
Length
>= 3
String
The String field is one or more octets. The actual format of the
information is site or application specific, and a robust
implementation SHOULD support the field as undistinguished octets.
The codification of the range of allowed usage of this field is
outside the scope of this specification.
<span class="grey">Rigney, et al. Informational [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<span class="h3"><a class="selflink" id="section-5.13" href="#section-5.13">5.13</a>. EAP-Message</span>
Description
This attribute encapsulates Extended Access Protocol [<a href="#ref-3" title=""PPP Extensible Authentication Protocol (EAP)"">3</a>] packets
so as to allow the NAS to authenticate dial-in users via EAP
without having to understand the EAP protocol.
The NAS places any EAP messages received from the user into one or
more EAP attributes and forwards them to the RADIUS Server as part
of the Access-Request, which can return EAP messages in Access-
Challenge, Access-Accept and Access-Reject packets.
A RADIUS Server receiving EAP messages that it does not understand
SHOULD return an Access-Reject.
The NAS places EAP messages received from the authenticating peer
into one or more EAP-Message attributes and forwards them to the
RADIUS Server within an Access-Request message. If multiple EAP-
Messages are contained within an Access-Request or Access-
Challenge packet, they MUST be in order and they MUST be
consecutive attributes in the Access-Request or Access-Challenge
packet. Access-Accept and Access-Reject packets SHOULD only have
ONE EAP-Message attribute in them, containing EAP-Success or EAP-
Failure.
It is expected that EAP will be used to implement a variety of
authentication methods, including methods involving strong
cryptography. In order to prevent attackers from subverting EAP by
attacking RADIUS/EAP, (for example, by modifying the EAP-Success
or EAP-Failure packets) it is necessary that RADIUS/EAP provide
integrity protection at least as strong as those used in the EAP
methods themselves.
Therefore the Message-Authenticator attribute MUST be used to
protect all Access-Request, Access-Challenge, Access-Accept, and
Access-Reject packets containing an EAP-Message attribute.
Access-Request packets including an EAP-Message attribute without
a Message-Authenticator attribute SHOULD be silently discarded by
the RADIUS server. A RADIUS Server supporting EAP-Message MUST
calculate the correct value of the Message-Authenticator and
silently discard the packet if it does not match the value sent.
A RADIUS Server not supporting EAP-Message MUST return an Access-
Reject if it receives an Access-Request containing an EAP-Message
attribute. A RADIUS Server receiving an EAP-Message attribute that
it does not understand MUST return an Access-Reject.
<span class="grey">Rigney, et al. Informational [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Access-Challenge, Access-Accept, or Access-Reject packets
including an EAP-Message attribute without a Message-Authenticator
attribute SHOULD be silently discarded by the NAS. A NAS
supporting EAP-Message MUST calculate the correct value of the
Message-Authenticator and silently discard the packet if it does
not match the value sent.
A summary of the EAP-Message attribute format is shown below. The
fields are transmitted from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | String...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
79 for EAP-Message.
Length
>= 3
String
The String field contains EAP packets, as defined in [<a href="#ref-3" title=""PPP Extensible Authentication Protocol (EAP)"">3</a>]. If
multiple EAP-Message attributes are present in a packet their
values should be concatenated; this allows EAP packets longer than
253 octets to be passed by RADIUS.
<span class="h3"><a class="selflink" id="section-5.14" href="#section-5.14">5.14</a>. Message-Authenticator</span>
Description
This attribute MAY be used to sign Access-Requests to prevent
spoofing Access-Requests using CHAP, ARAP or EAP authentication
methods. It MAY be used in any Access-Request. It MUST be used
in any Access-Request, Access-Accept, Access-Reject or Access-
Challenge that includes an EAP-Message attribute.
A RADIUS Server receiving an Access-Request with a Message-
Authenticator Attribute present MUST calculate the correct value
of the Message-Authenticator and silently discard the packet if it
does not match the value sent.
<span class="grey">Rigney, et al. Informational [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
A RADIUS Client receiving an Access-Accept, Access-Reject or
Access-Challenge with a Message-Authenticator Attribute present
MUST calculate the correct value of the Message-Authenticator and
silently discard the packet if it does not match the value sent.
Earlier drafts of this memo used "Signature" as the name of this
attribute, but Message-Authenticator is more precise. Its
operation has not changed, just the name.
A summary of the Message-Authenticator attribute format is shown
below. The fields are transmitted from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | String...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
80 for Message-Authenticator
Length
18
String
When present in an Access-Request packet, Message-Authenticator is
an HMAC-MD5 [<a href="#ref-9" title=""HMAC: Keyed-Hashing for Message Authentication"">9</a>] checksum of the entire Access-Request packet,
including Type, ID, Length and authenticator, using the shared
secret as the key, as follows.
Message-Authenticator = HMAC-MD5 (Type, Identifier, Length,
Request Authenticator, Attributes)
When the checksum is calculated the signature string should be
considered to be sixteen octets of zero.
For Access-Challenge, Access-Accept, and Access-Reject packets,
the Message-Authenticator is calculated as follows, using the
Request-Authenticator from the Access-Request this packet is in
reply to:
Message-Authenticator = HMAC-MD5 (Type, Identifier, Length,
Request Authenticator, Attributes)
<span class="grey">Rigney, et al. Informational [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
When the checksum is calculated the signature string should be
considered to be sixteen octets of zero. The shared secret is
used as the key for the HMAC-MD5 hash. The is calculated and
inserted in the packet before the Response Authenticator is
calculated.
This attribute is not needed if the User-Password attribute is
present, but is useful for preventing attacks on other types of
authentication. This attribute is intended to thwart attempts by
an attacker to setup a "rogue" NAS, and perform online dictionary
attacks against the RADIUS server. It does not afford protection
against "offline" attacks where the attacker intercepts packets
containing (for example) CHAP challenge and response, and performs
a dictionary attack against those packets offline.
IP Security will eventually make this attribute unnecessary, so it
should be considered an interim measure.
<span class="h3"><a class="selflink" id="section-5.15" href="#section-5.15">5.15</a>. ARAP-Challenge-Response</span>
Description
This attribute is sent in an Access-Accept packet with Framed-
Protocol of ARAP, and contains the response to the dial-in
client's challenge.
A summary of the ARAP-Challenge-Response attribute format is shown
below. The fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
84 for ARAP-Challenge-Response.
Length
10
<span class="grey">Rigney, et al. Informational [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Value
The Value field contains an 8 octet response to the dial-in
client's challenge. The RADIUS server calculates this value by
taking the dial-in client's challenge from the high order 8 octets
of the ARAP-Password attribute and performing DES encryption on
this value with the authenticating user's password as the key. If
the user's password is less than 8 octets in length, the password
is padded at the end with NULL octets to a length of 8 before
using it as a key.
<span class="h3"><a class="selflink" id="section-5.16" href="#section-5.16">5.16</a>. Acct-Interim-Interval</span>
Description
This attribute indicates the number of seconds between each
interim update in seconds for this specific session. This value
can only appear in the Access-Accept message.
A summary of the Acct-Interim-Interval attribute format is shown
below. The fields are transmitted from left to right.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
85 for Acct-Interim-Interval.
Length
6
Value
The Value field contains the number of seconds between each
interim update to be sent from the NAS for this session. The value
MUST NOT be smaller than 60. The value SHOULD NOT be smaller than
600, and careful consideration should be given to its impact on
network traffic.
<span class="grey">Rigney, et al. Informational [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<span class="h3"><a class="selflink" id="section-5.17" href="#section-5.17">5.17</a>. NAS-Port-Id</span>
Description
This Attribute contains a text string which identifies the port of
the NAS which is authenticating the user. It is only used in
Access-Request and Accounting-Request packets. Note that this is
using "port" in its sense of a physical connection on the NAS, not
in the sense of a TCP or UDP port number.
Either NAS-Port or NAS-Port-Id SHOULD be present in an Access-
Request packet, if the NAS differentiates among its ports. NAS-
Port-Id is intended for use by NASes which cannot conveniently
number their ports.
A summary of the NAS-Port-Id Attribute format is shown below. The
fields are transmitted from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Text...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
87 for NAS-Port-Id.
Length
>= 3
Text
The Text field contains the name of the port using UTF-8 encoded
10646 [<a href="#ref-8" title=""UTF-8, a transformation format of ISO 10646"">8</a>] characters.
<span class="h3"><a class="selflink" id="section-5.18" href="#section-5.18">5.18</a>. Framed-Pool</span>
Description
This Attribute contains the name of an assigned address pool that
SHOULD be used to assign an address for the user. If a NAS does
not support multiple address pools, the NAS should ignore this
Attribute. Address pools are usually used for IP addresses, but
can be used for other protocols if the NAS supports pools for
those protocols.
<span class="grey">Rigney, et al. Informational [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
A summary of the Framed-Pool Attribute format is shown below. The
fields are transmitted from left to right.
0 1 2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | String...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
88 for Framed-Pool
Length
>= 3
String
The string field contains the name of an assigned address pool
configured on the NAS.
<span class="h3"><a class="selflink" id="section-5.19" href="#section-5.19">5.19</a>. Table of Attributes</span>
The following table provides a guide to which attributes may be found
in which kind of packets. Acct-Input-Gigawords, Acct-Output-
Gigawords, Event-Timestamp, and NAS-Port-Id may have 0-1 instances in
an Accounting-Request packet. Connect-Info may have 0+ instances in
an Accounting-Request packet. The other attributes added in this
document must not be present in an Accounting-Request.
Request Accept Reject Challenge # Attribute
0-1 0 0 0 70 ARAP-Password [Note 1]
<span class="h2"><a class="selflink" id="section-0" href="#section-0">0</a> 0-1 </span> 0 0-1 71 ARAP-Features
<span class="h2"><a class="selflink" id="section-0" href="#section-0">0</a> 0-1 </span> 0 0 72 ARAP-Zone-Access
0-1 0 0 0-1 73 ARAP-Security
0+ 0 0 0+ 74 ARAP-Security-Data
<span class="h2"><a class="selflink" id="section-0" href="#section-0">0</a> 0 </span> 0-1 0 75 Password-Retry
<span class="h2"><a class="selflink" id="section-0" href="#section-0">0</a> 0 </span> 0 0-1 76 Prompt
0-1 0 0 0 77 Connect-Info
<span class="h2"><a class="selflink" id="section-0" href="#section-0">0</a> 0+ </span> 0 0 78 Configuration-Token
0+ 0+ 0+ 0+ 79 EAP-Message [Note 1]
0-1 0-1 0-1 0-1 80 Message-Authenticator [Note 1]
<span class="h2"><a class="selflink" id="section-0" href="#section-0">0</a> 0-1 </span> 0 0-1 84 ARAP-Challenge-Response
<span class="h2"><a class="selflink" id="section-0" href="#section-0">0</a> 0-1 </span> 0 0 85 Acct-Interim-Interval
0-1 0 0 0 87 NAS-Port-Id
<span class="h2"><a class="selflink" id="section-0" href="#section-0">0</a> 0-1 </span> 0 0 88 Framed-Pool
Request Accept Reject Challenge # Attribute
<span class="grey">Rigney, et al. Informational [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
[Note 1] An Access-Request that contains either a User-Password or
CHAP-Password or ARAP-Password or one or more EAP-Message attributes
MUST NOT contain more than one type of those four attributes. If it
does not contain any of those four attributes, it SHOULD contain a
Message-Authenticator. If any packet type contains an EAP-Message
attribute it MUST also contain a Message-Authenticator.
The following table defines the above table entries.
0 This attribute MUST NOT be present
0+ Zero or more instances of this attribute MAY be present.
0-1 Zero or one instance of this attribute MAY be present.
1 Exactly one instance of this attribute MUST be present.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
The Packet Type Codes, Attribute Types, and Attribute Values defined
in this document are registered by the Internet Assigned Numbers
Authority (IANA) from the RADIUS name spaces as described in the
"IANA Considerations" section of [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>], in accordance with <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a> [<a href="#ref-10" title="">10</a>].
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
The attributes other than Message-Authenticator and EAP-Message in
this document have no additional security considerations beyond those
already identified in [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>].
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Message-Authenticator Security</span>
Access-Request packets with a User-Password establish the identity of
both the user and the NAS sending the Access-Request, because of the
way the shared secret between NAS and RADIUS server is used.
Access-Request packets with CHAP-Password or EAP-Message do not have
a User-Password attribute, so the Message-Authenticator attribute
should be used in access-request packets that do not have a User-
Password, in order to establish the identity of the NAS sending the
request.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. EAP Security</span>
Since the purpose of EAP is to provide enhanced security for PPP
authentication, it is critical that RADIUS support for EAP be secure.
In particular, the following issues must be addressed:
Separation of EAP server and PPP authenticator
Connection hijacking
Man in the middle attacks
Multiple databases
<span class="grey">Rigney, et al. Informational [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Negotiation attacks
<span class="h4"><a class="selflink" id="section-7.2.1" href="#section-7.2.1">7.2.1</a>. Separation of EAP server and PPP authenticator</span>
It is possible for the EAP endpoints to mutually authenticate,
negotiate a ciphersuite, and derive a session key for subsequent use
in PPP encryption.
This does not present an issue on the peer, since the peer and EAP
client reside on the same machine; all that is required is for the
EAP client module to pass the session key to the PPP encryption
module.
The situation is more complex when EAP is used with RADIUS, since the
PPP authenticator will typically not reside on the same machine as
the EAP server. For example, the EAP server may be a backend security
server, or a module residing on the RADIUS server.
In the case where the EAP server and PPP authenticator reside on
different machines, there are several implications for security.
Firstly, mutual authentication will occur between the peer and the
EAP server, not between the peer and the authenticator. This means
that it is not possible for the peer to validate the identity of the
NAS or tunnel server that it is speaking to.
As described earlier, when EAP/RADIUS is used to encapsulate EAP
packets, the Message-Authenticator attribute is required in
EAP/RADIUS Access-Requests sent from the NAS or tunnel server to the
RADIUS server. Since the Message-Authenticator attribute involves a
HMAC-MD5 hash, it is possible for the RADIUS server to verify the
integrity of the Access-Request as well as the NAS or tunnel server's
identity. Similarly, Access-Challenge packets sent from the RADIUS
server to the NAS are also authenticated and integrity protected
using an HMAC-MD5 hash, enabling the NAS or tunnel server to
determine the integrity of the packet and verify the identity of the
RADIUS server. Moreover, EAP packets sent via methods that contain
their own integrity protection cannot be successfully modified by a
rogue NAS or tunnel server.
The second issue that arises in the case of an EAP server and PPP
authenticator residing on different machines is that the session key
negotiated between the peer and EAP server will need to be
transmitted to the authenticator. Therefore a mechanism needs to be
provided to transmit the session key from the EAP server to the
authenticator or tunnel server that needs to use the key. The
specification of this transit mechanism is outside the scope of this
document.
<span class="grey">Rigney, et al. Informational [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<span class="h4"><a class="selflink" id="section-7.2.2" href="#section-7.2.2">7.2.2</a>. Connection hijacking</span>
In this form of attack, the attacker attempts to inject packets into
the conversation between the NAS and the RADIUS server, or between
the RADIUS server and the backend security server. RADIUS does not
support encryption, and as described in [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>], only Access-Reply and
Access-Challenge packets are integrity protected. Moreover, the
integrity protection mechanism described in [<a href="#ref-1" title=""Remote Authentication Dial In User Service (RADIUS)"">1</a>] is weaker than that
likely to be used by some EAP methods, making it possible to subvert
those methods by attacking EAP/RADIUS.
In order to provide for authentication of all packets in the EAP
exchange, all EAP/RADIUS packets MUST be authenticated using the
Message-Authenticator attribute, as described previously.
<span class="h4"><a class="selflink" id="section-7.2.3" href="#section-7.2.3">7.2.3</a>. Man in the middle attacks</span>
Since RADIUS security is based on shared secrets, end-to-end security
is not provided in the case where authentication or accounting
packets are forwarded along a proxy chain. As a result, attackers
gaining control of a RADIUS proxy will be able to modify EAP packets
in transit.
<span class="h4"><a class="selflink" id="section-7.2.4" href="#section-7.2.4">7.2.4</a>. Multiple databases</span>
In many cases a backend security server will be deployed along with a
RADIUS server in order to provide EAP services. Unless the backend
security server also functions as a RADIUS server, two separate user
databases will exist, each containing information about the security
requirements for the user. This represents a weakness, since security
may be compromised by a successful attack on either of the servers,
or their backend databases. With multiple user databases, adding a
new user may require multiple operations, increasing the chances for
error. The problems are further magnified in the case where user
information is also being kept in an LDAP server. In this case, three
stores of user information may exist.
In order to address these threats, consolidation of databases is
recommended. This can be achieved by having both the RADIUS server
and backend security server store information in the same backend
database; by having the backend security server provide a full RADIUS
implementation; or by consolidating both the backend security server
and the RADIUS server onto the same machine.
<span class="grey">Rigney, et al. Informational [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<span class="h4"><a class="selflink" id="section-7.2.5" href="#section-7.2.5">7.2.5</a>. Negotiation attacks</span>
In a negotiation attack, a rogue NAS, tunnel server, RADIUS proxy or
RADIUS server causes the authenticating peer to choose a less secure
authentication method so as to make it easier to obtain the user's
password. For example, a session that would normally be authenticated
with EAP would instead authenticated via CHAP or PAP; alternatively,
a connection that would normally be authenticated via one EAP type
occurs via a less secure EAP type, such as MD5. The threat posed by
rogue devices, once thought to be remote, has gained currency given
compromises of telephone company switching systems, such as those
described in [<a href="#ref-11" title=""Masters of Deception."">11</a>].
Protection against negotiation attacks requires the elimination of
downward negotiations. This can be achieved via implementation of
per-connection policy on the part of the authenticating peer, and
per-user policy on the part of the RADIUS server.
For the authenticating peer, authentication policy should be set on a
per-connection basis. Per-connection policy allows an authenticating
peer to negotiate EAP when calling one service, while negotiating
CHAP for another service, even if both services are accessible via
the same phone number.
With per-connection policy, an authenticating peer will only attempt
to negotiate EAP for a session in which EAP support is expected. As a
result, there is a presumption that an authenticating peer selecting
EAP requires that level of security. If it cannot be provided, it is
likely that there is some kind of misconfiguration, or even that the
authenticating peer is contacting the wrong server. Should the NAS
not be able to negotiate EAP, or should the EAP-Request sent by the
NAS be of a different EAP type than what is expected, the
authenticating peer MUST disconnect. An authenticating peer expecting
EAP to be negotiated for a session MUST NOT negotiate CHAP or PAP.
For a NAS, it may not be possible to determine whether a user is
required to authenticate with EAP until the user's identity is known.
For example, for shared-uses NASes it is possible for one reseller to
implement EAP while another does not. In such cases, if any users of
the NAS MUST do EAP, then the NAS MUST attempt to negotiate EAP for
every call. This avoids forcing an EAP-capable client to do more than
one authentication, which weakens security.
If CHAP is negotiated, the NAS will pass the User-Name and CHAP-
Password attributes to the RADIUS Server in an Access-Request packet.
If the user is not required to use EAP, then the RADIUS Server will
respond with an Access-Accept or Access-Reject packet as appropriate.
However, if CHAP has been negotiated but EAP is required, the RADIUS
<span class="grey">Rigney, et al. Informational [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
server MUST respond with an Access-Reject, rather than an Access-
Challenge/EAP-Message/EAP-Request packet. The authenticating peer
MUST refuse to renegotiate authentication, even if the renegotiation
is from CHAP to EAP.
If EAP is negotiated but is not supported by the RADIUS proxy or
server, then the server or proxy MUST respond with an Access-Reject.
In these cases, the NAS MUST send an LCP-Terminate and disconnect the
user. This is the correct behavior since the authenticating peer is
expecting EAP to be negotiated, and that expectation cannot be
fulfilled. An EAP-capable authenticating peer MUST refuse to
renegotiate the authentication protocol if EAP had initially been
negotiated. Note that problems with a non-EAP capable RADIUS proxy
could prove difficult to diagnose, since a user dialing in from one
location (with an EAP-capable proxy) might be able to successfully
authenticate via EAP, while the same user dialing into another
location (and encountering an EAP-incapable proxy) might be
consistently disconnected.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
[<a id="ref-1">1</a>] Rigney, C., Willens, S., Rubens, A. and W. Simpson, "Remote
Authentication Dial In User Service (RADIUS)", <a href="./rfc2865">RFC 2865</a>, June
2000.
[<a id="ref-2">2</a>] Rigney, C., "RADIUS Accounting", <a href="./rfc2866">RFC 2866</a>, June 2000.
[<a id="ref-3">3</a>] Blunk, L. and J. Vollbrecht, "PPP Extensible Authentication
Protocol (EAP)", <a href="./rfc2284">RFC 2284</a>, March 1998.
[<a id="ref-4">4</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-5">5</a>] Reynolds, J. and J. Postel, "Assigned Numbers", STD 2, <a href="./rfc1700">RFC 1700</a>,
October 1994.
[<a id="ref-6">6</a>] Zorn, G., Leifer, D., Rubens, A., Shriver, J., Holdrege, M. and
I. Goyret, "RADIUS Attributes for Tunnel Protocol Support", <a href="./rfc2868">RFC</a>
<a href="./rfc2868">2868</a>, June 2000.
[<a id="ref-7">7</a>] Zorn, G., Aboba, B. and D. Mitton, "RADIUS Accounting
Modifications for Tunnel Protocol Support", <a href="./rfc2867">RFC 2867</a>, June 2000.
[<a id="ref-8">8</a>] Yergeau, F., "UTF-8, a transformation format of ISO 10646", <a href="./rfc2279">RFC</a>
<a href="./rfc2279">2279</a>, January 1998.
<span class="grey">Rigney, et al. Informational [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
[<a id="ref-9">9</a>] Krawczyk, H., Bellare, M. and R. Canetti, "HMAC: Keyed-Hashing
for Message Authentication", <a href="./rfc2104">RFC 2104</a>, February 1997.
[<a id="ref-10">10</a>] Alvestrand, H. and T. Narten, "Guidelines for Writing an IANA
Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc2434">RFC 2434</a>, October 1998.
[<a id="ref-11">11</a>] Slatalla, M., and Quittner, J., "Masters of Deception."
HarperCollins, New York, 1995.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Acknowledgements</span>
RADIUS and RADIUS Accounting were originally developed by Livingston
Enterprises (now part of Lucent Technologies) for their PortMaster
series of Network Access Servers.
The section on ARAP is adopted with permission from "Using RADIUS to
Authenticate Apple Remote Access Connections" by Ward Willats of Cyno
Technologies (ward@cyno.com).
The section on Acct-Interim-Interval is adopted with permission from
an earlier work in progress by Pat Calhoun of Sun Microsystems, Mark
Beadles of Compuserve, and Alex Ratcliffe of UUNET Technologies.
The section on EAP is adopted with permission from an earlier work in
progress by Pat Calhoun of Sun Microsystems, Allan Rubens of Merit
Network, and Bernard Aboba of Microsoft. Thanks also to Dave Dawson
and Karl Fox of Ascend, and Glen Zorn and Narendra Gidwani of
Microsoft for useful discussions of this problem space.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Chair's Address</span>
The RADIUS working group can be contacted via the current chair:
Carl Rigney
Livingston Enterprises
4464 Willow Road
Pleasanton, California 94588
Phone: +1 925 737 2100
EMail: cdr@telemancy.com
<span class="grey">Rigney, et al. Informational [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Authors' Addresses</span>
Questions about this memo can also be directed to:
Carl Rigney
Livingston Enterprises
4464 Willow Road
Pleasanton, California 94588
EMail: cdr@telemancy.com
Questions on ARAP and RADIUS may be directed to:
Ward Willats
Cyno Technologies
1082 Glen Echo Ave
San Jose, CA 95125
Phone: +1 408 297 7766
EMail: ward@cyno.com
<span class="grey">Rigney, et al. Informational [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
Questions on EAP and RADIUS may be directed to any of the following:
Pat R. Calhoun
Network and Security Research Center
Sun Microsystems, Inc.
15 Network Circle
Menlo Park, CA 94025
Phone: +1 650 786 7733
EMail: pcalhoun@eng.sun.com
Allan C. Rubens
Tut Systems, Inc.
220 E. Huron, Suite 260
Ann Arbor, MI 48104
Phone: +1 734 995 1697
EMail: arubens@tutsys.com
Bernard Aboba
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052
Phone: +1 425 936 6605
EMail: bernarda@microsoft.com
<span class="grey">Rigney, et al. Informational [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc2869">RFC 2869</a> RADIUS Extensions June 2000</span>
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. Full Copyright Statement</span>
Copyright (C) The Internet Society (2000). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS 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.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Rigney, et al. Informational [Page 47]
</pre>
|