1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197
|
<pre>Network Working Group S. Niccolini
Request for Comments: 5388 S. Tartarelli
Category: Standards Track J. Quittek
T. Dietz
NEC
M. Swany
UDel
December 2008
<span class="h1">Information Model and XML Data Model for Traceroute Measurements</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (c) 2008 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/</a>
<a href="http://trustee.ietf.org/license-info">license-info</a>) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document.
Abstract
This document describes a standard way to store the configuration and
the results of traceroute measurements. This document first
describes the terminology used in this document and the traceroute
tool itself; afterwards, the common information model is defined,
dividing the information elements into two semantically separated
groups (configuration elements and results elements). Moreover, an
additional element is defined to relate configuration elements and
results elements by means of a common unique identifier. On the
basis of the information model, a data model based on XML is defined
to store the results of traceroute measurements.
<span class="grey">Niccolini, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Terminology Used in This Document ...............................<a href="#page-3">3</a>
<a href="#section-3">3</a>. The Traceroute Tool and Its Operations ..........................<a href="#page-4">4</a>
<a href="#section-4">4</a>. Results of Traceroute Measurements ..............................<a href="#page-5">5</a>
<a href="#section-5">5</a>. Information Model for Traceroute Measurements ...................<a href="#page-5">5</a>
<a href="#section-5.1">5.1</a>. Data Types .................................................<a href="#page-6">6</a>
<a href="#section-5.2">5.2</a>. Information Elements .......................................<a href="#page-7">7</a>
<a href="#section-5.2.1">5.2.1</a>. Relationships between the Information Elements ......<a href="#page-7">7</a>
<a href="#section-5.2.2">5.2.2</a>. Configuration Information Elements .................<a href="#page-12">12</a>
<a href="#section-5.2.3">5.2.3</a>. Results Information Elements .......................<a href="#page-17">17</a>
5.2.4. Information Element Correlating
Configuration and Results ..........................<a href="#page-21">21</a>
5.2.5. Information Elements to Compare Traceroute
Measurement Results ................................<a href="#page-22">22</a>
<a href="#section-6">6</a>. Data Model for Storing Traceroute Measurements .................<a href="#page-23">23</a>
<a href="#section-7">7</a>. XML Schema for Traceroute Measurements .........................<a href="#page-24">24</a>
<a href="#section-8">8</a>. Security Considerations ........................................<a href="#page-38">38</a>
<a href="#section-8.1">8.1</a>. Conducting Traceroute Measurements ........................<a href="#page-39">39</a>
<a href="#section-8.2">8.2</a>. Securing Traceroute Measurement Information ...............<a href="#page-39">39</a>
<a href="#section-9">9</a>. IANA Considerations ............................................<a href="#page-40">40</a>
<a href="#section-10">10</a>. References ....................................................<a href="#page-40">40</a>
<a href="#section-10.1">10.1</a>. Normative References .....................................<a href="#page-40">40</a>
<a href="#section-10.2">10.2</a>. Informative References ...................................<a href="#page-41">41</a>
<a href="#appendix-A">Appendix A</a>. Traceroute Default Configuration Parameters ...........<a href="#page-43">43</a>
<a href="#appendix-A.1">A.1</a>. Alternative Traceroute Implementations ....................<a href="#page-46">46</a>
<a href="#appendix-B">Appendix B</a>. Known Problems with Traceroute ........................<a href="#page-47">47</a>
B.1. Compatibility between Traceroute Measurement Results
and IPPM Metrics ..........................................<a href="#page-47">47</a>
<a href="#appendix-C">Appendix C</a>. Differences to DISMAN-TRACEROUTE-MIB ..................<a href="#page-47">47</a>
<a href="#appendix-C.1">C.1</a>. Scope .....................................................<a href="#page-48">48</a>
<a href="#appendix-C.2">C.2</a>. Naming ....................................................<a href="#page-49">49</a>
<a href="#appendix-C.3">C.3</a>. Semantics .................................................<a href="#page-49">49</a>
<a href="#appendix-C.4">C.4</a>. Additional Information Elements ...........................<a href="#page-50">50</a>
<a href="#appendix-D">Appendix D</a>. Traceroute Examples with XML Representation ...........<a href="#page-50">50</a>
<span class="grey">Niccolini, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Traceroutes are used by lots of measurement efforts, either as
independent measurements or as a means of getting path information to
support other measurement efforts. That is why there is the need to
standardize the way the configuration and the results of traceroute
measurements are stored. The standard metrics defined by the IPPM
group in matters of delay, connectivity, and losses do not apply to
the metrics returned by the traceroute tool. Therefore, in order to
compare results of traceroute measurements, the only possibility is
to add to the stored results a specification of the operating system
as well as the name and version for the traceroute tool used. This
document, in order to store results of traceroute measurements and
allow comparison of them, defines a standard way to store them using
an XML schema.
The document is organized as follows: <a href="#section-2">Section 2</a> defines the
terminology used in this document; <a href="#section-3">Section 3</a> describes the traceroute
tool; <a href="#section-4">Section 4</a> describes the results of a traceroute measurement as
displayed to the screen from which the traceroute tool was launched;
<a href="#section-5">Section 5</a> and <a href="#section-6">Section 6</a>, respectively, describe the information model
and data model for storing configuration and results of the
traceroute measurements; <a href="#section-7">Section 7</a> contains the XML schema to be used
as a template for storing and/or exchanging traceroute measurement
information; the document ends with security considerations and IANA
considerations in <a href="#section-8">Section 8</a> and <a href="#section-9">Section 9</a> respectively.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology Used in This Document</span>
The terminology used in this document is defined as follows:
o traceroute tool: a software tool for network diagnostic that
behaves as described in <a href="#section-3">Section 3</a>;
o traceroute measurement: an instance of the traceroute tool
launched, with specific configuration parameters (traceroute
measurement configuration parameters), from a specific host
(initiator of the traceroute measurement) giving as output
specific traceroute measurement results;
o traceroute probe: one of many IP packets sent out by the
traceroute tool during a traceroute measurement;
<span class="grey">Niccolini, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o traceroute measurement configuration parameters: the configuration
parameters of a traceroute measurement;
o traceroute measurement results: the results of a traceroute
measurement;
o traceroute measurement information: both the results and the
configuration parameters of a traceroute measurement;
o traceroute measurement path: a sequence of hosts transited in
order by traceroute probes during a traceroute measurement.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. The Traceroute Tool and Its Operations</span>
Traceroute is a network diagnostic tool used to determine the hop-by-
hop path from a source to a destination and the Round Trip Time (RTT)
from the source to each hop. Traceroute can be therefore used to
discover some information (hop counts, delays, etc.) about the path
between the initiator of the traceroute measurement and other hosts.
Typically, the traceroute tool attempts to discover the path to a
destination by sending UDP probes with specific time-to-live (TTL)
values in the IP packet header and trying to elicit an ICMP
TIME_EXCEEDED response from each gateway along the path to some host.
In more detail, a first set of probes with TTL equal to 1 is sent by
the traceroute tool from the host initiating the traceroute
measurement (some tool implementations allow setting the initial TTL
to a value equal to "n" different from 1, so that the first "n-1"
hops are skipped and the first hop that will be traced is the "n-th"
in the path). Upon receiving a probe, the first hop host decreases
the TTL value (by one or more). By observing a TTL value equal to
zero, the host rejects the probe and typically returns an ICMP
message with a TIME_EXCEEDED value. The traceroute tool can
therefore derive the IP address of the first hop from the header of
the ICMP message and evaluate the RTT between the host initiating the
traceroute measurement and the first hop. The next hops are
discovered following the same procedure, taking care to increase at
each step the TTL value of the probes by one. The TTL value is
increased until either an ICMP PORT_UNREACHABLE message is received,
meaning that the destination host has been reached, or the maximum
configured number of hops has been hit.
Some implementations use ICMP Echoes, instead of UDP datagrams.
However, many routers do not return ICMP messages about ICMP
messages, i.e., no ICMP TIME_EXCEEDED is returned for an ICMP Echo.
<span class="grey">Niccolini, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
Therefore, this document recommends to base implementations on UDP
datagrams. Considerations on TCP-based implementations of the
traceroute tool are reported in <a href="#appendix-A.1">Appendix A.1</a>.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Results of Traceroute Measurements</span>
The following list reports the information fields provided as results
by all traceroute tool implementations considered. The order in
which they are reported here is not relevant and changes in different
implementations. For each hop, the following information is
reported:
o the hop index;
o the host symbolic address, provided that at least one of the
probes received a response, the symbolic address could be resolved
at the corresponding host, and the option to display only
numerical addresses was not set;
o the host IP address, provided that at least one of the probes
received a response;
o the RTT for each response to a probe.
Depending on the traceroute tool implementation, additional
information might be displayed in the output (for instance, MPLS-
related information).
It might happen that some probes do not receive a response within the
configured timeout (for instance, if the probe is filtered out by a
firewall). In this case, an "*" is displayed in place of the RTT.
The information model reflects this using a string with the value of
"RoundTripTimeNotAvailable", meaning either the probe was lost
because of a timeout or it was not possible to transmit a probe. It
may also happen that some implementations print the same line
multiple times when a router decreases the TTL by more than one, thus
looking like multiple hops. The information model is not impacted by
this since each line is handled separately; it is left to the
applications handling the XML file how to deal with it. Moreover,
for delays below 1 ms, some implementations report 0 ms (e.g., UNIX
and LINUX), while WINDOWS reports "< 1 ms".
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Information Model for Traceroute Measurements</span>
The information model is composed of information elements; for
defining these information elements, a template is used. Such
template is specified in the list below:
<span class="grey">Niccolini, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o name - A unique and meaningful name for the information element.
The preferred spelling for the name is to use mixed case if the
name is compound, with an initial lower-case letter, e.g.,
"sourceIpAddress".
o description - The semantics of this information element.
o dataType - One of the types listed in <a href="#section-5.1">Section 5.1</a> of this document
or in an extension of the information model. The type space for
attributes is constrained to facilitate implementation.
o units - If the element is a measure of some kind, the units
identify what the measure is.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Data Types</span>
This section describes the set of basic valid data types of the
information model.
o string - The type "string" represents a finite-length string of
valid characters from the Unicode character encoding set. Unicode
allows for ASCII and many other international character sets to be
used. It is expected that strings will be encoded in UTF-8
format, which is identical in encoding for US-ASCII characters but
which also accommodates other Unicode multi-byte characters.
o string255 - Same type as "string" but with the restriction of 255
characters.
o inetAddressType - The type "inetAddressType" represents a type of
Internet address. The allowed values are imported from [<a href="./rfc4001" title=""Textual Conventions for Internet Network Addresses"">RFC4001</a>]
(where the intent was to import only some of the values);
additional allowed values are "asnumber" and "noSpecification".
o inetAddress - The type "inetAddress" denotes a generic Internet
address. The allowed values are imported from [<a href="./rfc4001" title=""Textual Conventions for Internet Network Addresses"">RFC4001</a>] (the
values imported are unknown, ipv4, ipv6, and dns), while non-
global IPv4/IPv6 addresses (e.g., ipv4z and ipv6z) are excluded;
an additional allowed value is the AS number, indicated as the
actual number plus the indication of how the mapping from IP
address to AS number was performed. "Unknown" is used to indicate
an IP address that is not in one of the formats defined.
o ipASNumberMappingType - The type "ipASNumberMappingType"
represents a type of mapping from IP to AS number, it indicates
the method that was used to do get the mapping (allowed values are
"bgptables", "routingregistries", "nslookup", "others" or
"unknown").
<span class="grey">Niccolini, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o boolean - The type "boolean" represents a boolean value according
to XML standards [<a href="#ref-W3C.REC-xmlschema-2-20041028">W3C.REC-xmlschema-2-20041028</a>].
o unsignedInt - The type "unsignedInt" represents a value in the
range (0..4294967295).
o unsignedShort - The type "unsignedShort" represents a value in the
range (0..65535).
o unsignedByte - The type "unsignedByte" represents a value in the
range (0..255).
o u8nonzero - The type "u8nonzero" represents a value in the range
(1..255).
o probesType - The type "probesType" represents a way of indicating
the protocol used for the traceroute probes. Values defined in
this document are UDP, TCP, and ICMP.
o operationResponseStatus - The type "operationResponseStatus" is
used to report the result of an operation. The allowed values are
imported from [<a href="./rfc4560" title=""Definitions of Managed Objects for Remote Ping, Traceroute, and Lookup Operations"">RFC4560</a>].
o dateTime - The type "dateTime" represents a date-time
specification according to XML standards
[<a href="#ref-W3C.REC-xmlschema-2-20041028">W3C.REC-xmlschema-2-20041028</a>] but is restricted to the values
defined in [<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>].
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Information Elements</span>
This section describes the elements related to the storing of a
traceroute measurement. The elements are grouped in two groups
(configuration and results) according to their semantics. In order
to relate configuration and results elements by means of a common
unique identifier, an additional element is defined belonging to both
groups.
<span class="h4"><a class="selflink" id="section-5.2.1" href="#section-5.2.1">5.2.1</a>. Relationships between the Information Elements</span>
Every traceroute measurement is represented by an instance of the
"traceRoute" element. This class provides a standardized
representation for traceroute measurement data. The "traceroute"
element is an element that can be composed of (depending on the
nature of the traceroute measurement):
o 1 optional "RequestMetadata" element;
o 0..2147483647 "Measurement" elements.
<span class="grey">Niccolini, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
Each "Measurement" element contains:
o 1 optional "MeasurementMetadata" element;
o 0..2147483647 "MeasurementResult" elements.
The "RequestMetadata" element can be used for specifying parameters
of a traceroute measurement to be performed at one or more nodes by
one or more traceroute implementations. Depending on the
capabilities of a traceroute implementation, not all requested
parameters can be applied. Which parameters have actually been
applied for a specific traceroute measurement is specified in a
"MeasurementMetadata" element.
The "RequestMetadata" element is a sequence that contains:
o 1 "TestName" element;
o 1 optional "ToolVersion" element;
o 1 optional "ToolName" element;
o 1 "CtlTargetAddress" element;
o 1 optional "CtlBypassRouteTable" element;
o 1 optional "CtlProbeDataSize" element;
o 1 optional "CtlTimeOut" element;
o 1 optional "CtlProbesPerHop" element;
o 1 optional "CtlPort" element;
o 1 optional "CtlMaxTtl" element;
o 1 optional "CtlDSField" element;
o 1 optional "CtlSourceAddress" element;
o 1 optional "CtlIfIndex" element;
o 1 optional "CtlMiscOptions" element;
o 1 optional "CtlMaxFailures" element;
o 1 optional "CtlDontFragment" element;
<span class="grey">Niccolini, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o 1 optional "CtlInitialTtl" element;
o 1 optional "CtlDescr" element;
o 1 "CtlType" element.
If the "RequestMetadata" element is omitted from an XML file, it
means that the traceroute measurement configuration parameters
requested were all used and the "MeasurementMetadata" element lists
them in detail.
The "MeasurementMetadata" element is a sequence that contains:
o 1 "TestName" element;
o 1 "OSName" element;
o 1 "OSVersion" element;
o 1 "ToolVersion" element;
o 1 "ToolName" element;
o 1 "CtlTargetAddressType" element;
o 1 "CtlTargetAddress" element;
o 1 "CtlBypassRouteTable" element;
o 1 "CtlProbeDataSize" element;
o 1 "CtlTimeOut" element;
o 1 "CtlProbesPerHop" element;
o 1 "CtlPort" element;
o 1 "CtlMaxTtl" element;
o 1 "CtlDSField" element;
o 1 "CtlSourceAddressType" element;
o 1 "CtlSourceAddress" element;
o 1 "CtlIfIndex" element;
o 1 optional "CtlMiscOptions" element;
<span class="grey">Niccolini, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o 1 "CtlMaxFailures" element;
o 1 "CtlDontFragment" element;
o 1 "CtlInitialTtl" element;
o 1 optional "CtlDescr" element;
o 1 "CtlType" element.
Configuration information elements can describe not just traceroute
measurements that have already happened ("MeasurementMetadata"
elements), but also the configuration to be used when requesting a
measurement to be made ("RequestMetadata" element). This is quite
different semantically, even if the individual information elements
are similar. Due to this similarity, both "RequestMetadata" and
"MeasurementMetadata" are represented by the same type in the XML
schema. All elements that are missing from the "RequestMetadata" or
marked as optional in the "RequestMetadata" but mandatory in the
"MeasurementMetadata" must be specified as empty elements.
Specifying them as empty elements means use the default value. The
"CtlType" element could have been optional in the "RequestMetadata",
but since default values cannot be specified for complex types in an
XML schema, the element is mandatory in the "RequestMetadata".
The "MeasurementResult" element is a sequence that contains:
o 1 "TestName" element;
o 1 "ResultsStartDateAndTime" element;
o 1 "ResultsIpTgtAddrType" element;
o 1 "ResultsIpTgtAddr" element;
o 1 "ProbeResults" elements;
o 1 "ResultsEndDateAndTime" element.
Additionally, it is important to say that each "ProbeResults" element
is a sequence that contains:
o 1..255 "hop" elements.
Each "hop" element is a sequence that contains:
o 1..10 "probe" elements;
<span class="grey">Niccolini, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o 1 optional "HopRawOutputData" element.
Each "probe" element contains:
o 1 "HopAddrType" element;
o 1 "HopAddr" element;
o 1 optional "HopName" element;
o 0..255 optional "MPLSLabelStackEntry" elements;
o 1 "ProbedRoundTripTime" element;
o 1 "ResponseStatus" element;
o 1 "Time" element.
Different numbers of appearances of the three basic elements in the
XML file are meant for different scopes:
o a file with only 1 "RequestMetadata" element represents a file
containing the traceroute measurement configuration parameters of
a traceroute measurement; it can be used to distribute the
traceroute measurement configuration parameters over multiple
nodes asked to run the same traceroute measurement;
o a file with 1 "Measurement" element containing 1
"MeasurementMetadata" and 1 "MeasurementResult" element represents
a file containing the traceroute measurement information of a
traceroute measurement;
o a file with 1 "Measurement" element containing 1
"MeasurementMetadata" and n "MeasurementResult" elements
represents a file containing the traceroute measurement
information of a set of traceroute measurements run over different
times with always the same traceroute measurement configuration
parameters;
o a file with 1 "RequestMetadata" and 1 "Measurement" element
containing 1 "MeasurementMetadata" and 1 "Measurement" element
represents a file containing the traceroute measurement
information of a traceroute measurement (containing both the
requested traceroute measurement configuration parameters and the
ones actually used);
o other combinations are possible to store multiple traceroute
measurements all in one XML file.
<span class="grey">Niccolini, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h4"><a class="selflink" id="section-5.2.2" href="#section-5.2.2">5.2.2</a>. Configuration Information Elements</span>
This section describes the elements specific to the configuration of
the traceroute measurement (belonging to both the "RequestMetadata"
and "MeasurementMetadata" elements).
<span class="h5"><a class="selflink" id="section-5.2.2.1" href="#section-5.2.2.1">5.2.2.1</a>. CtlTargetAddressType</span>
o name - CtlTargetAddressType
o description - Specifies the type of address in the corresponding
"CtlTargetAddress" element. This element is not directly
reflected in the XML schema of <a href="#section-7">Section 7</a>. The host address type
can be determined by examining the inetAddress type name and the
corresponding element value.
o dataType - inetAddressType
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.2" href="#section-5.2.2.2">5.2.2.2</a>. CtlTargetAddress</span>
o name - CtlTargetAddress
o description - In the "RequestMetadata" element, it specifies the
host address requested to be used in the traceroute measurement.
In the "MeasurementMetadata" element, it specifies the host
address used in the traceroute measurement.
o dataType - inetAddress
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.3" href="#section-5.2.2.3">5.2.2.3</a>. CtlBypassRouteTable</span>
o name - CtlBypassRouteTable
o description - In the "RequestMetadata" element, specifies if the
optional bypassing of the route table was enabled or not. In the
"MeasurementMetadata" element, specifies if the optional bypassing
of the route table was enabled or not. If enabled, the normal
routing tables will be bypassed and the probes will be sent
directly to a host on an attached network. If the host is not on
a directly attached network, an error is returned. This option
can be used to perform the traceroute measurement to a local host
through an interface that has no route defined. This object can
be used when the setsockopt SOL_SOCKET SO_DONTROUTE option is
supported and set (see [<a href="#ref-IEEE.1003-1G.1997">IEEE.1003-1G.1997</a>]).
<span class="grey">Niccolini, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o dataType - boolean
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.4" href="#section-5.2.2.4">5.2.2.4</a>. CtlProbeDataSize</span>
o name - CtlProbeDataSize
o description - Specifies the size of the probes of a traceroute
measurement in octets (requested if in the "RequestMetadata"
element, actually used if in the "MeasurementMetadata" element).
If UDP datagrams are used as probes, then the value contained in
this object is exact. If another protocol is used to transmit
probes (i.e., TCP or ICMP), for which the specified size is not
appropriate, then the implementation can use whatever size
(appropriate to the method) is closest to the specified size. The
maximum value for this object is computed by subtracting the
smallest possible IP header size of 20 octets (IPv4 header with no
options) and the UDP header size of 8 octets from the maximum IP
packet size. An IP packet has a maximum size of 65535 octets
(excluding IPv6 jumbograms).
o dataType - unsignedShort
o units - octets
<span class="h5"><a class="selflink" id="section-5.2.2.5" href="#section-5.2.2.5">5.2.2.5</a>. CtlTimeOut</span>
o name - CtlTimeOut
o description - Specifies the timeout value, in seconds, for each
probe of a traceroute measurement (requested if in the
"RequestMetadata" element, actually used if in the
"MeasurementMetadata" element).
o dataType - unsignedByte
o units - seconds
<span class="h5"><a class="selflink" id="section-5.2.2.6" href="#section-5.2.2.6">5.2.2.6</a>. CtlProbesPerHop</span>
o name - CtlProbesPerHop
o description - Specifies the number of probes with the same time-
to-live (TTL) value that are sent for each host (requested if in
the "RequestMetadata" element, actually used if in the
"MeasurementMetadata" element).
<span class="grey">Niccolini, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o dataType - unsignedByte
o units - probes
<span class="h5"><a class="selflink" id="section-5.2.2.7" href="#section-5.2.2.7">5.2.2.7</a>. CtlPort</span>
o name - CtlPort
o description - Specifies the base port used by the traceroute
measurement (requested if in the "RequestMetadata" element,
actually used if in the "MeasurementMetadata" element).
o dataType - unsignedShort
o units - port number
<span class="h5"><a class="selflink" id="section-5.2.2.8" href="#section-5.2.2.8">5.2.2.8</a>. CtlMaxTtl</span>
o name - CtlMaxTtl
o description - Specifies the maximum TTL value for the traceroute
measurement (requested if in the "RequestMetadata" element,
actually used if in the "MeasurementMetadata" element).
o dataType - u8nonzero
o units - time-to-live value
<span class="h5"><a class="selflink" id="section-5.2.2.9" href="#section-5.2.2.9">5.2.2.9</a>. CtlDSField</span>
o name - CtlDSField
o description - Specifies the value that was requested to be stored
in the Differentiated Services (DS) field in the traceroute probe
(if in the "RequestMetadata" element). Specifies the value that
was stored in the Differentiated Services (DS) field in the
traceroute probe (if in the "MeasurementMetadata" element). The
DS field is defined as the Type of Service (TOS) octet in an IPv4
header or as the Traffic Class octet in an IPv6 header (see
<a href="./rfc2460#section-7">Section 7 of [RFC2460]</a>). The value of this object must be a
decimal integer in the range from 0 to 255. This option can be
used to determine what effect an explicit DS field setting has on
a traceroute measurement and its probes. Not all values are legal
or meaningful. Useful TOS octet values are probably 16 (low
delay) and 8 (high throughput). Further references can be found
in [<a href="./rfc2474" title=""Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers"">RFC2474</a>] for the definition of the Differentiated Services
(DS) field and in <a href="./rfc1812#section-5.3.2">[RFC1812] Section 5.3.2</a> for Type of Service
(TOS).
<span class="grey">Niccolini, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o dataType - unsignedByte
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.10" href="#section-5.2.2.10">5.2.2.10</a>. CtlSourceAddressType</span>
o name - CtlSourceAddressType
o description - Specifies the type of address in the corresponding
"CtlSourceAddress" element. This element is not directly
reflected in the XML schema of <a href="#section-7">Section 7</a>. The host address type
can be determined by examining the "inetAddress" type name and the
corresponding element value. DNS names are not allowed for the
"CtlSourceAddress".
o dataType - inetAddressType
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.11" href="#section-5.2.2.11">5.2.2.11</a>. CtlSourceAddress</span>
o name - CtlSourceAddress
o description - Specifies the IP address (which has to be given as
an IP number, not a hostname) as the source address in traceroute
probes (requested if in the "RequestMetadata" element, actually
used if in the "MeasurementMetadata" element). On hosts with more
than one IP address, this option can be used in the
"RequestMetadata" element to force the source address to be
something other than the primary IP address of the interface the
probe is sent on; the value "unknown" means the default address
will be used.
o dataType - inetAddress
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.12" href="#section-5.2.2.12">5.2.2.12</a>. CtlIfIndex</span>
o name - CtlIfIndex
o description - Specifies the interface index as defined in
[<a href="./rfc2863" title=""The Interfaces Group MIB"">RFC2863</a>] that is requested to be used in the traceroute
measurement for sending the traceroute probes (if in the
"RequestMetadata" element). A value of 0 indicates that no
specific interface is requested. Specifies the interface index
actually used (if in the "MeasurementMetadata" element).
<span class="grey">Niccolini, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
o dataType - unsignedInt
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.13" href="#section-5.2.2.13">5.2.2.13</a>. CtlMiscOptions</span>
o name - CtlMiscOptions
o description - Specifies implementation-dependent options
(requested if in the "RequestMetadata" element, actually used if
in the "MeasurementMetadata" element).
o dataType - string255
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.14" href="#section-5.2.2.14">5.2.2.14</a>. CtlMaxFailures</span>
o name - CtlMaxFailures
o description - Specifies the maximum number of consecutive timeouts
allowed before terminating a traceroute measurement (requested if
in the "RequestMetadata" element, actually used if in the
"MeasurementMetadata" element). A value of either 255 (maximum
hop count/possible TTL value) or 0 indicates that the function of
terminating a remote traceroute measurement when a specific number
of consecutive timeouts are detected was disabled. This element
is included to give full compatibility with [<a href="./rfc4560" title=""Definitions of Managed Objects for Remote Ping, Traceroute, and Lookup Operations"">RFC4560</a>]. No known
implementation of traceroute currently supports it.
o dataType - Unsigned8
o units - timeouts
<span class="h5"><a class="selflink" id="section-5.2.2.15" href="#section-5.2.2.15">5.2.2.15</a>. CtlDontFragment</span>
o name - CtlDontFragment
o description - Specifies if the don't fragment (DF) flag in the IP
header for a probe was enabled or not (if in the
"MeasurementMetadata" element). If in the "RequestMetadata", it
specifies if the flag was requested to be enabled or not. Setting
the DF flag can be used for performing a manual PATH MTU test.
o dataType - boolean
o units - N/A
<span class="grey">Niccolini, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h5"><a class="selflink" id="section-5.2.2.16" href="#section-5.2.2.16">5.2.2.16</a>. CtlInitialTtl</span>
o name - CtlInitialTtl
o description - Specifies the initial TTL value for a traceroute
measurement (requested if in the "RequestMetadata" element,
actually used if in the "MeasurementMetadata" element). Such TTL
setting is intended to bypass the initial (often well-known)
portion of a path.
o dataType - u8nonzero
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.17" href="#section-5.2.2.17">5.2.2.17</a>. CtlDescr</span>
o name - CtlDescr
o description - Provides a description of the traceroute
measurement.
o dataType - string255
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.2.18" href="#section-5.2.2.18">5.2.2.18</a>. CtlType</span>
o name - CtlType
o description - Specifies the implementation method used for the
traceroute measurement (requested if in the "RequestMetadata"
element, actually used if in the "MeasurementMetadata" element).
It specifies if the traceroute is using TCP, UDP, ICMP, or other
types of probes. It is possible to specify other types of probes
by using an element specified in another schema with a different
namespace.
o dataType - probesType
o units - N/A
<span class="h4"><a class="selflink" id="section-5.2.3" href="#section-5.2.3">5.2.3</a>. Results Information Elements</span>
This section describes the elements specific to the results of the
traceroute measurement.
<span class="grey">Niccolini, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h5"><a class="selflink" id="section-5.2.3.1" href="#section-5.2.3.1">5.2.3.1</a>. ResultsStartDateAndTime</span>
o name - ResultsStartDateAndTime
o description - Specifies the date and start time of the traceroute
measurement. This is the time when the first probe was seen at
the sending interface.
o dataType - DateTime
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.2" href="#section-5.2.3.2">5.2.3.2</a>. ResultsIpTgtAddrType</span>
o name - ResultsIpTgtAddrType
o description - Specifies the type of address in the corresponding
"ResultsIpTgtAddr" element. This element is not directly
reflected in the XML schema of <a href="#section-7">Section 7</a>. The host address type
can be determined by examining the "inetAddress" type name and the
corresponding element value.
o dataType - inetAddressType
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.3" href="#section-5.2.3.3">5.2.3.3</a>. ResultsIpTgtAddr</span>
o name - ResultsIpTgtAddr
o description - Specifies the IP address associated with a
"CtlTargetAddress" value when the destination address is specified
as a DNS name. The value of this object should be "unknown" if a
DNS name is not specified or if a specified DNS name fails to
resolve.
o dataType - inetAddress
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.4" href="#section-5.2.3.4">5.2.3.4</a>. HopAddrType</span>
o name - HopAddrType
o description - Specifies the type of address in the corresponding
"HopAddr" element. This element is not directly reflected in the
XML schema of <a href="#section-7">Section 7</a>. The host address type can be determined
<span class="grey">Niccolini, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
by examining the "inetAddress" type name and the corresponding
element value. DNS names are not allowed for "HopAddr".
o dataType - inetAddressType
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.5" href="#section-5.2.3.5">5.2.3.5</a>. HopAddr</span>
o name - HopAddr
o description - Specifies the address of a hop in the traceroute
measurement path. This object is not allowed to be a DNS name.
o dataType - inetAddress
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.6" href="#section-5.2.3.6">5.2.3.6</a>. HopName</span>
o name - HopName
o description - Specifies the DNS name of the "HopAddr" if it is
available. If it is not available, the element is omitted.
o dataType - inetAddress
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.7" href="#section-5.2.3.7">5.2.3.7</a>. MPLSLabelStackEntry</span>
o name - MPLSLabelStackEntry
o description - Specifies entries of the MPLS label stack of a probe
observed when the probe arrived at the hop that replied to the
probe. This object contains one MPLS label stack entry as a
32-bit value as it is observed on the MPLS label stack. Contained
in this single number are the MPLS label, the Exp field, the S
flag, and the MPLS TTL value as specified in [<a href="./rfc3032" title=""MPLS Label Stack Encoding"">RFC3032</a>]. If more
than one MPLS label stack entry is reported, then multiple
instances of elements of this type are used. They must be ordered
in the same order as on the label stack with the top label stack
entry being reported first.
o dataType - unsignedInt
o units - N/A
<span class="grey">Niccolini, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h5"><a class="selflink" id="section-5.2.3.8" href="#section-5.2.3.8">5.2.3.8</a>. ProbeRoundTripTime</span>
o name - ProbeRoundTripTime
o description - If this element contains the element
"roundTripTime", this specifies the amount of time measured in
milliseconds from when a probe was sent to when its response was
received or when it timed out. The value of this element is
reported as the truncation of the number reported by the
traceroute tool (the output "< 1 ms" is therefore encoded as 0
ms). If it contains the element "roundTripTimeNotAvailable", it
means either the probe was lost because of a timeout or it was not
possible to transmit a probe.
o dataType - unsignedShort or string
o units - milliseconds or N/A
<span class="h5"><a class="selflink" id="section-5.2.3.9" href="#section-5.2.3.9">5.2.3.9</a>. ResponseStatus</span>
o name - ResponseStatus
o description - Specifies the result of a traceroute measurement
made by the host for a particular probe.
o dataType - operationResponseStatus
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.10" href="#section-5.2.3.10">5.2.3.10</a>. Time</span>
o name - Time
o description - Specifies the timestamp for the time the response to
the probe was received at the interface.
o dataType - DateTime
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.11" href="#section-5.2.3.11">5.2.3.11</a>. ResultsEndDateAndTime</span>
o name - ResultsEndDateAndTime
o description - Specifies the date and end time of the traceroute
measurement. It is either the time when the response to the last
probe of the traceroute measurement was received or the time when
<span class="grey">Niccolini, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
the last probe of the traceroute measurement was sent plus the
relative timeout (in case of a missing response).
o dataType - DateTime
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.3.12" href="#section-5.2.3.12">5.2.3.12</a>. HopRawOutputData</span>
o name - HopRawOutputData
o description - Specifies the raw output data returned by the
traceroute measurement for a certain hop in a traceroute
measurement path. It is an implementation-dependent, printable
string, expected to be useful for a human interpreting the
traceroute results.
o dataType - string
o units - N/A
<span class="h4"><a class="selflink" id="section-5.2.4" href="#section-5.2.4">5.2.4</a>. Information Element Correlating Configuration and Results</span>
<span class="h4"> Elements</span>
This section defines an additional element belonging to both previous
groups (configuration elements and results elements) named
"TestName". This element is defined in order to relate configuration
and results elements by means of a common unique identifier (to be
chosen in accordance to the specification of [<a href="./rfc4560" title=""Definitions of Managed Objects for Remote Ping, Traceroute, and Lookup Operations"">RFC4560</a>]).
<span class="h5"><a class="selflink" id="section-5.2.4.1" href="#section-5.2.4.1">5.2.4.1</a>. TestName</span>
o name - TestName
o description - Specifies the name of a traceroute measurement.
This is not necessarily unique within any well-defined scope
(e.g., a specific host, initiator of the traceroute measurement).
o dataType - string255
o units - N/A
<span class="grey">Niccolini, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h4"><a class="selflink" id="section-5.2.5" href="#section-5.2.5">5.2.5</a>. Information Elements to Compare Traceroute Measurement Results</span>
<span class="h4"> with Each Other</span>
This section defines additional elements belonging to both previous
groups (configuration elements and results elements); these elements
were defined in order to allow traceroute measurement results
comparison among different traceroute measurements.
<span class="h5"><a class="selflink" id="section-5.2.5.1" href="#section-5.2.5.1">5.2.5.1</a>. OSName</span>
o name - OSName
o description - Specifies the name of the operating system on which
the traceroute measurement was launched. This element is ignored
if used in the "RequestMetadata".
o dataType - string255
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.5.2" href="#section-5.2.5.2">5.2.5.2</a>. OSVersion</span>
o name - OSVersion
o description - Specifies the OS version on which the traceroute
measurement was launched. This element is ignored if used in the
"RequestMetadata".
o dataType - string255
o units - N/A
<span class="h5"><a class="selflink" id="section-5.2.5.3" href="#section-5.2.5.3">5.2.5.3</a>. ToolVersion</span>
o name - ToolVersion
o description - Specifies the version of the traceroute tool
(requested to be used if in the "RequestMetadata" element,
actually used if in the "MeasurementMetadata" element).
o dataType - string255
o units - N/A
<span class="grey">Niccolini, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h5"><a class="selflink" id="section-5.2.5.4" href="#section-5.2.5.4">5.2.5.4</a>. ToolName</span>
o name - ToolName
o description - Specifies the name of the traceroute tool (requested
to be used if in the "RequestMetadata" element, actually used if
in the "MeasurementMetadata" element).
o dataType - string255
o units - N/A
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Data Model for Storing Traceroute Measurements</span>
For storing and transmitting information according to the information
model defined in the previous section, a data model is required that
specifies how to encode the elements of the information model.
There are several design choices for a data model. It can use a
binary or textual representation and it can be defined from scratch
or use already existing frameworks and data models. In general, the
use of already existing frameworks and models should be preferred.
Binary and textual representations both have advantages and
disadvantages. Textual representations are (with some limitations)
human-readable, while a binary representation consumes less resources
for storing, transmitting, and parsing data.
An already existing and closely related data model is the DISMAN-
TRACEROUTE-MIB module [<a href="./rfc4560" title=""Definitions of Managed Objects for Remote Ping, Traceroute, and Lookup Operations"">RFC4560</a>], which specifies a Structure of
Management Information version 2 (SMIv2) encoding [<a href="./rfc2578" title=""Structure of Management Information Version 2 (SMIv2)"">RFC2578</a>],
[<a href="./rfc2579" title=""Textual Conventions for SMIv2"">RFC2579</a>], and [<a href="./rfc2580" title=""Conformance Statements for SMIv2"">RFC2580</a>] for transmitting traceroute measurement
information (configuration and results). This data model is well
suited and supported within network management systems, but as a
general format for storing and transmitting traceroute results, it is
not easily applicable.
Another binary representation would be an extension of traffic-flow
information encodings as specified for the IP Flow Information Export
(IPFIX) protocol [<a href="./rfc5101" title=""Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of IP Traffic Flow Information"">RFC5101</a>], [<a href="./rfc5102" title=""Information Model for IP Flow Information Export"">RFC5102</a>]. The IPFIX protocol is
extensible. However, the architecture behind this protocol [<a href="#ref-IPFIX" title=""Architecture for IP Flow Information Export"">IPFIX</a>]
is targeted at exporting passively measured flow information.
Therefore, some obstacles are expected when trying to use it for
transmitting traceroute measurement information.
For textual representations, using the eXtensible Markup Language
(XML) [<a href="#ref-W3C.REC-xml-20060816">W3C.REC-xml-20060816</a>] is an obvious choice. XML supports
clean structuring of data and syntax checking of records. With some
<span class="grey">Niccolini, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
limitations, it is human-readable. It is supported well by a huge
pool of tools and standards for generating, transmitting, parsing,
and converting it to other data formats. Its disadvantages are the
resource consumption for processing, storing, and transmitting
information. Since the expected data volumes related to traceroute
measurement in network operation and maintenance are not expected to
be extremely high, the inefficient usage of resources is not a
significant disadvantage. Therefore, XML was chosen as a basis for
the traceroute measurement information model that is specified in
this memo.
<a href="#section-7">Section 7</a> contains the XML schema to be used as a template for
storing and/or exchanging traceroute measurement information. The
schema was designed in order to use an extensible approach based on
templates (pretty similar to how the IPFIX protocol is designed)
where the traceroute configuration elements (both the requested
parameters, "RequestMetadata", and the actual parameters used,
"MeasurementMetadata") are metadata to be referenced by results
information elements (data) by means of the "TestName" element (used
as a unique identifier, chosen in accordance to the specification of
[<a href="./rfc4560" title=""Definitions of Managed Objects for Remote Ping, Traceroute, and Lookup Operations"">RFC4560</a>]). Currently Open Grid Forum (OGF) is also using this
approach and cross-requirements have been analyzed. As a result of
this analysis, the XML schema contained in <a href="#section-7">Section 7</a> is compatible
with the OGF schema since both were designed in a way that limits the
unnecessary redundancy and a simple one-to-one transformation between
the two exists.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. XML Schema for Traceroute Measurements</span>
This section presents the XML schema to be used as a template for
storing and/or exchanging traceroute measurement information. The
schema uses UTF-8 encoding as defined in [<a href="./rfc3629" title=""UTF-8, a transformation format of ISO 10646"">RFC3629</a>]. In documents
conforming to the format presented here, an XML declaration SHOULD be
present specifying the version and the character encoding of the XML
document. The document should be encoded using UTF-8. Since some of
the strings can span multiple lines, [<a href="./rfc5198" title=""Unicode Format for Network Interchange"">RFC5198</a>] applies. XML
processing instructions and comments MUST be ignored. Mind that
whitespace is significant in XML when writing documents conforming to
this schema. Documents using the presented format must be valid
according to the XML schema shown in this section. Since elements of
type "_CtlType" may contain elements from unknown namespaces, those
elements MUST be ignored if their namespace is unknown to the
processor. Values for elements using the XML schema type "dateTime"
MUST be restricted to values defined in [<a href="./rfc3339" title=""Date and Time on the Internet: Timestamps"">RFC3339</a>]. Future versions
of this format MAY extend this schema by creating a new schema that
redefines all or some of the data types and elements defined in this
version or by establishing a complete new schema.
<span class="grey">Niccolini, et al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
Due to the limited line length some lines appear wrapped.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="qualified"
targetNamespace="urn:ietf:params:xml:ns:traceroute-1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tr="urn:ietf:params:xml:ns:traceroute-1.0">
<xs:simpleType name="string255">
<xs:annotation>
<xs:documentation>String restricted to 255
characters.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="u8nonzero">
<xs:annotation>
<xs:documentation>unsignedByte with non zero
value.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:unsignedByte">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="_roundTripTime">
<xs:choice>
<xs:element name="roundTripTime">
<xs:simpleType>
<xs:restriction base="xs:unsignedInt"/>
</xs:simpleType>
</xs:element>
<xs:element name="roundTripTimeNotAvailable">
<xs:complexType/>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="_inetAddressUnknown"/>
<xs:simpleType name="_inetAddressIpv4">
<xs:restriction base="xs:string">
<xs:pattern value="(([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5
<span class="grey">Niccolini, et al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
]).){3}([1-9]?[0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="_inetAddressIpv6">
<xs:restriction base="xs:string">
<xs:pattern value="(([\dA-Fa-f]{1,4}:){7}[\dA-Fa-f]{1,4})(:([\d
]{1,3}.){3}[\d]{1,3})?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="_inetAddressDns">
<xs:restriction base="xs:string">
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="_inetAddressASNumber">
<xs:annotation>
<xs:documentation>Specifies the AS number of a hop in the
traceroute path as a 32-bit number and indicates how the
mapping from IP address to AS number was
performed.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="asNumber" type="xs:unsignedInt"/>
<xs:element name="ipASNumberMappingType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="bgptables"/>
<xs:enumeration value="routingregistries"/>
<xs:enumeration value="nslookup"/>
<xs:enumeration value="others"/>
<xs:enumeration value="unknown"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="inetAddress">
<xs:choice>
<span class="grey">Niccolini, et al. Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<xs:element name="inetAddressUnknown"
type="tr:_inetAddressUnknown"/>
<xs:element name="inetAddressIpv4" type="tr:_inetAddressIpv4"/>
<xs:element name="inetAddressIpv6" type="tr:_inetAddressIpv6"/>
<xs:element name="inetAddressASNumber"
type="tr:_inetAddressASNumber"/>
<xs:element minOccurs="0" name="inetAddressDns"
type="tr:_inetAddressDns"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="inetAddressWithoutDns">
<xs:sequence>
<xs:choice>
<xs:element name="inetAddressUnknown"
type="tr:_inetAddressUnknown"/>
<xs:element name="inetAddressIpv4"
type="tr:_inetAddressIpv4"/>
<xs:element name="inetAddressIpv6"
type="tr:_inetAddressIpv6"/>
<xs:element name="inetAddressASNumber"
type="tr:_inetAddressASNumber"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="operationResponseStatus">
<xs:restriction base="xs:string">
<xs:enumeration value="responseReceived"/>
<xs:enumeration value="unknown"/>
<xs:enumeration value="internalError"/>
<xs:enumeration value="requestTimedOut"/>
<xs:enumeration value="unknownDestinationAddress"/>
<xs:enumeration value="noRouteToTarget"/>
<xs:enumeration value="interfaceInactiveToTarget"/>
<span class="grey">Niccolini, et al. Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<xs:enumeration value="arpFailure"/>
<xs:enumeration value="maxConcurrentLimitReached"/>
<xs:enumeration value="unableToResolveDnsName"/>
<xs:enumeration value="invalidHostAddress"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="_CtlType">
<xs:choice>
<xs:element name="TCP">
<xs:complexType/>
</xs:element>
<xs:element name="UDP">
<xs:complexType/>
</xs:element>
<xs:element name="ICMP">
<xs:complexType/>
</xs:element>
<xs:any namespace="##other"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="_ProbeResults">
<xs:sequence>
<xs:element maxOccurs="255" name="hop">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="10" name="probe">
<xs:complexType>
<xs:sequence>
<xs:element name="HopAddr"
type="tr:inetAddressWithoutDns">
<xs:annotation>
<xs:documentation>Specifies the address of a
hop in the traceroute measurement path. This
object is not allowed to be a DNS name. The
address type can be determined by examining the
"inetAddress" type name and the corresponding
element value.</xs:documentation>
</xs:annotation>
</xs:element>
<span class="grey">Niccolini, et al. Standards Track [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<xs:element minOccurs="0" name="HopName"
type="tr:_inetAddressDns">
<xs:annotation>
<xs:documentation>Specifies the DNS name of
the "HopAddr" if it is available. If it is
not available, the element is
omitted.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="255" minOccurs="0"
name="MPLSLabelStackEntry">
<xs:annotation>
<xs:documentation>Specifies entries of the
MPLS label stack of a probe observed when the
probe arrived at the hop that replied to the
probe. This object contains one MPLS label stack
entry as a 32-bit value as it is observed on the
MPLS label stack. Contained in this single
number are the MPLS label, the Exp field, the S
flag, and the MPLS TTL value as specified in
[<a href="./rfc3032" title=""MPLS Label Stack Encoding"">RFC3032</a>]. If more than one MPLS label stack
entry is reported, then multiple instances of
elements of this type are used. They must be
ordered in the same order as on the label stack
with the top label stack entry being reported
first.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:unsignedInt">
<xs:maxInclusive value="4294967295"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ProbeRoundTripTime"
type="tr:_roundTripTime">
<xs:annotation>
<xs:documentation>If this element contains the
element "roundTripTime", this specifies the
amount of time measured in milliseconds from
when a probe was sent to when its response was
received or when it timed out. The value of
this element is reported as the truncation of
the number reported by the traceroute tool (the
output "&lt; 1 ms" is therefore encoded as 0 ms).
If it contains the element
<span class="grey">Niccolini, et al. Standards Track [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
"roundTripTimeNotAvailable", it means either
the probe was lost because of a timeout or it
was not possible to transmit a probe.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResponseStatus"
type="tr:operationResponseStatus">
<xs:annotation>
<xs:documentation>Specifies the result of a
traceroute measurement made by the host for a
particular probe.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Time" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Specifies the timestamp for
the time the response to the probe was
received at the interface.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="HopRawOutputData"
type="tr:string255">
<xs:annotation>
<xs:documentation>Specifies the raw output data
returned by the traceroute measurement for a
certain hop in a traceroute measurement path. It is
an implementation-dependent, printable string,
expected to be useful for a human interpreting the
traceroute results.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="_Metadata">
<xs:annotation>
<xs:documentation>Specifies the metadata for a traceroute
operation -- the parameters requested if used in
<span class="grey">Niccolini, et al. Standards Track [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
"RequestMetadata" or the actual parameters used if used in
"MeasurementMetadata".</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TestName" type="tr:string255">
<xs:annotation>
<xs:documentation>Specifies the name of a traceroute
measurement. This is not necessarily unique within any
well-defined scope (e.g., a specific host, initiator of
the traceroute measurement).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="" name="OSName" type="tr:string255">
<xs:annotation>
<xs:documentation>Specifies the name of the operating
system on which the traceroute measurement was launched.
This element is ignored if used in the
"RequestMetadata".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="" name="OSVersion" type="tr:string255">
<xs:annotation>
<xs:documentation>Specifies the OS version on which the
traceroute measurement was launched. This element is
ignored if used in the
"RequestMetadata".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="" name="ToolVersion" type="tr:string255">
<xs:annotation>
<xs:documentation>Specifies the version of the traceroute
tool (requested to be used if in the "RequestMetadata"
element, actually used if in the "MeasurementMetadata"
element).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="" name="ToolName" type="tr:string255">
<xs:annotation>
<xs:documentation>Specifies the name of the traceroute
tool (requested to be used if in the "RequestMetadata"
element, actually used if in the "MeasurementMetadata"
element).</xs:documentation>
</xs:annotation>
<span class="grey">Niccolini, et al. Standards Track [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
</xs:element>
<xs:element name="CtlTargetAddress" type="tr:inetAddress">
<xs:annotation>
<xs:documentation>In the "RequestMetadata" element, it
specifies the host address requested to be used in the
traceroute measurement. In the "MeasurementMetadata"
element, it specifies the host address used in the
traceroute measurement. The host address type can be
determined by examining the "inetAddress" type name and
the corresponding element value.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="false" name="CtlBypassRouteTable"
type="xs:boolean">
<xs:annotation>
<xs:documentation>In the "RequestMetadata" element
specifies if the optional bypassing of the route
table was enabled or not. In the "MeasurementMetadata"
element, specifies if the optional bypassing of the route
table was enabled or not. If enabled, the normal routing
tables will be bypassed and the probes will be sent
directly to a host on an attached network. If the host is
not on a directly attached network, an error is returned.
This option can be used to perform the traceroute
measurement to a local host through an interface that has
no route defined. This object can be used when the
setsockopt SOL_SOCKET SO_DONTROUTE option is supported and
set (see the POSIX standard IEEE.1003-1G.1997).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="0" name="CtlProbeDataSize">
<xs:annotation>
<xs:documentation>Specifies the size of the probes of a
traceroute measurement in octets (requested if in the
"RequestMetadata" element, actually used if in the
"MeasurementMetadata" element). If UDP datagrams are used
as probes, then the value contained in this object is
exact. If another protocol is used to transmit probes
(i.e., TCP or ICMP) for which the specified size is not
appropriate, then the implementation can use whatever
size (appropriate to the method) is closest to the
specified size. The maximum value for this object is
computed by subtracting the smallest possible IP header
size of 20 octets (IPv4 header with no options) and the
<span class="grey">Niccolini, et al. Standards Track [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
UDP header size of 8 octets from the maximum IP packet
size. An IP packet has a maximum size of 65535 octets
(excluding IPv6 jumbograms).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:maxInclusive value="65507"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="3" name="CtlTimeOut">
<xs:annotation>
<xs:documentation>Specifies the timeout value, in
seconds, for each probe of a traceroute measurement
(requested if in the "RequestMetadata" element, actually
used if in the "MeasurementMetadata"
element).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="3" name="CtlProbesPerHop">
<xs:annotation>
<xs:documentation>Specifies the number of probes with the
same time-to-live (TTL) value that are sent for each host
(requested if in the "RequestMetadata" element, actually
used if in the "MeasurementMetadata"
element).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<span class="grey">Niccolini, et al. Standards Track [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<xs:element default="33434" name="CtlPort">
<xs:annotation>
<xs:documentation>Specifies the base port used by the
traceroute measurement (requested if in the
"RequestMetadata" element, actually used if in the
"MeasurementMetadata" element).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="30" name="CtlMaxTtl" type="tr:u8nonzero">
<xs:annotation>
<xs:documentation>Specifies the maximum TTL value for the
traceroute measurement (requested if in the
"RequestMetadata" element, actually used if in the
"MeasurementMetadata" element).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="0" name="CtlDSField"
type="xs:unsignedByte">
<xs:annotation>
<xs:documentation>Specifies the value that was requested
to be stored in the Differentiated Services (DS) field in
the traceroute probe (if in the "RequestMetadata"
element). Specifies the value that was stored in the
Differentiated Services (DS) field in the traceroute
probe (if in the "MeasurementMetadata" element). The DS
field is defined as the Type of Service (TOS) octet in an
IPv4 header or as the Traffic Class octet in an IPv6
header (see <a href="./rfc2460#section-7">Section 7 of [RFC2460]</a>). The value of this
object must be a decimal integer in the range from 0 to
255. This option can be used to determine what effect an
explicit DS field setting has on a traceroute measurement
and its probes. Not all values are legal or meaningful.
Useful TOS octet values are probably 16 (low delay) and
8 (high throughput). Further references can be found in
[<a href="./rfc2474" title=""Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers"">RFC2474</a>] for the definition of the Differentiated
Services (DS) field and in <a href="./rfc1812#section-5.3.2">[RFC1812] Section 5.3.2</a> for
Type of Service (TOS).</xs:documentation>
</xs:annotation>
</xs:element>
<span class="grey">Niccolini, et al. Standards Track [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<xs:element name="CtlSourceAddress"
type="tr:inetAddressWithoutDns">
<xs:annotation>
<xs:documentation>Specifies the IP address (which has to
be given as an IP number, not a hostname) as the source
address in traceroute probes (requested if in the
"RequestMetadata" element, actually used if in the
"MeasurementMetadata" element). On hosts with more than
one IP address, this option can be used in the
"RequestMetadata" element to force the source address to
be something other than the primary IP address of the
interface the probe is sent on; the value "unknown" means
the default address will be used. The address type can be
determined by examining the "inetAddress" type name and the
corresponding element value.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="0" name="CtlIfIndex"
type="xs:unsignedInt">
<xs:annotation>
<xs:documentation>Specifies the interface index as
defined in [<a href="./rfc2863" title=""The Interfaces Group MIB"">RFC2863</a>] that is requested to be used in the
traceroute measurement for sending the traceroute probes
(if in the "RequestMetadata" element). A value of 0
indicates that no specific interface is requested.
Specifies the interface index actually used (if in the
"MeasurementMetadata" element).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="CtlMiscOptions"
type="tr:string255">
<xs:annotation>
<xs:documentation>Specifies implementation-dependent
options (requested if in the "RequestMetadata" element,
actually used if in the "MeasurementMetadata"
element).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="5" name="CtlMaxFailures"
type="xs:unsignedByte">
<xs:annotation>
<xs:documentation>Specifies the maximum number of
consecutive timeouts allowed before terminating a
traceroute measurement (requested if in the
"RequestMetadata" element, actually used if in the
<span class="grey">Niccolini, et al. Standards Track [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
"MeasurementMetadata" element). A value of either 255
(maximum hop count/possible TTL value) or 0 indicates
that the function of terminating a remote traceroute
measurement when a specific number of consecutive
timeouts are detected was disabled. This element is
included to give full compatibility with [<a href="./rfc4560" title=""Definitions of Managed Objects for Remote Ping, Traceroute, and Lookup Operations"">RFC4560</a>]. No
known implementation of traceroute currently supports
it.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="false" name="CtlDontFragment"
type="xs:boolean">
<xs:annotation>
<xs:documentation>Specifies if the don't fragment (DF)
flag in the IP header for a probe was enabled or not (if
in the "MeasurementMetadata" element). If in the
"RequestMetadata", it specifies if the flag was requested
to be enabled or not. Setting the DF flag can be used for
performing a manual PATH MTU test.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element default="1" name="CtlInitialTtl"
type="tr:u8nonzero">
<xs:annotation>
<xs:documentation>Specifies the initial TTL value for a
traceroute measurement (requested if in the
"RequestMetadata" element, actually used if in the
"MeasurementMetadata" element). Such TTL setting is
intended to bypass the initial (often well-known) portion
of a path.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="CtlDescr"
type="tr:string255">
<xs:annotation>
<xs:documentation>Provides a description of the traceroute
measurement.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CtlType" type="tr:_CtlType">
<xs:annotation>
<xs:documentation>Specifies the implementation method
used for the traceroute measurement (requested if in the
"RequestMetadata" element, actually used if in the
<span class="grey">Niccolini, et al. Standards Track [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
"MeasurementMetadata" element). It specifies if the
traceroute is using TCP, UDP, ICMP, or other types of
probes. It is possible to specify other types of probes
by using an element specified in another schema with a
different namespace.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="_Measurement">
<xs:annotation>
<xs:documentation>Contains the actual traceroute measurement
results.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TestName" type="tr:string255">
<xs:annotation>
<xs:documentation>Specifies the name of a traceroute
measurement. This is not necessarily unique within any
well-defined scope (e.g., a specific host, initiator of
the traceroute measurement).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResultsStartDateAndTime" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Specifies the date and start time of
the traceroute measurement. This is the time when the
first probe was seen at the sending
interface.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResultsIpTgtAddr"
type="tr:inetAddressWithoutDns">
<xs:annotation>
<xs:documentation>Specifies the IP address associated
with a "CtlTargetAddress" value when the destination
address is specified as a DNS name. The value of this
object should be "unknown" if a DNS name is not specified
or if a specified DNS name fails to resolve. The
address type can be determined by examining the "inetAddress"
type name and the corresponding element
value.</xs:documentation>
</xs:annotation>
</xs:element>
<span class="grey">Niccolini, et al. Standards Track [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<xs:element name="ProbeResults" type="tr:_ProbeResults"/>
<xs:element name="ResultsEndDateAndTime" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Specifies the date and end time of the
traceroute measurement. It is either the time when the
response to the last probe of the traceroute measurement
was received or the time when the last probe of the
traceroute measurement was sent plus the relative timeout
(in case of a missing response).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="traceRoute">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="RequestMetadata"
type="tr:_Metadata"/>
<xs:element maxOccurs="2147483647" minOccurs="0"
name="Measurement">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="MeasurementMetadata"
type="tr:_Metadata"/>
<xs:element maxOccurs="2147483647" minOccurs="0"
name="MeasurementResult"
type="tr:_Measurement"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Security Considerations</span>
Security considerations discussed in this section are grouped into
considerations related to conducting traceroute measurements and
considerations related to storing and transmitting traceroute
measurement information.
<span class="grey">Niccolini, et al. Standards Track [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
This memo does not specify an implementation of a traceroute tool.
Neither does it specify a certain procedure for storing traceroute
measurement information. Still, it is considered desirable to
discuss related security issues below.
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Conducting Traceroute Measurements</span>
Conducting Internet measurements can raise both security and privacy
concerns. Traceroute measurements, in which traffic is injected into
the network, can be abused for denial-of-service attacks disguised as
legitimate measurement activity.
Measurement parameters MUST be carefully selected so that the
measurements inject trivial amounts of additional traffic into the
networks they measure. If they inject "too much" traffic, they can
skew the results of the measurement, and in extreme cases cause
congestion and denial of service.
The measurements themselves could be harmed by routers giving
measurement traffic a different priority than "normal" traffic, or by
an attacker injecting artificial measurement traffic. If routers can
recognize measurement traffic and treat it separately, the
measurements will not reflect actual user traffic. If an attacker
injects artificial traffic that is accepted as legitimate, the loss
rate will be artificially lowered. Therefore, the measurement
methodologies SHOULD include appropriate techniques to reduce the
probability that measurement traffic can be distinguished from
"normal" traffic.
Authentication techniques, such as digital signatures, may be used
where appropriate to guard against injected traffic attacks.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Securing Traceroute Measurement Information</span>
Traceroute measurement information is not considered highly
sensitive. Still, it may contain sensitive information on network
paths, routing states, used IP addresses, and roundtrip times that
operators of networks may want to protect for business or security
reasons.
It is thus important to control access to information acquired by
conducting traceroute measurements, particularly when transmitting it
over a networks but also when storing it. It is RECOMMENDED that a
transmission of traceroute measurement information over a network
uses appropriate protection mechanisms for preserving privacy,
integrity, and authenticity. It is further RECOMMENDED that secure
authentication and authorization are used for protecting stored
traceroute measurement information.
<span class="grey">Niccolini, et al. Standards Track [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. IANA Considerations</span>
This document uses URNs to describe an XML namespace and an XML
schema for traceroute measurement information storing and
transmission, conforming to a registry mechanism described in
[<a href="./rfc3688" title=""The IETF XML Registry"">RFC3688</a>]. Two URI assignments have been made.
1. Registration for the IPPM traceroute measurements namespace
* URI: urn:ietf:params:xml:ns:traceroute-1.0
* Registrant Contact: IESG
* XML: None. Namespace URIs do not represent an XML.
2. Registration for the IPPM traceroute measurements schema
* URI: urn:ietf:params:xml:schema:traceroute-1.0
* Registrant Contact: IESG
* XML: See <a href="#section-7">Section 7</a> of this document.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. References</span>
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC2460">RFC2460</a>] Deering, S. and R. Hinden, "Internet Protocol, Version 6
(IPv6) Specification", <a href="./rfc2460">RFC 2460</a>, December 1998.
[<a id="ref-RFC2863">RFC2863</a>] McCloghrie, K. and F. Kastenholz, "The Interfaces Group
MIB", <a href="./rfc2863">RFC 2863</a>, June 2000.
[<a id="ref-RFC3032">RFC3032</a>] Rosen, E., Tappan, D., Fedorkow, G., Rekhter, Y.,
Farinacci, D., Li, T., and A. Conta, "MPLS Label Stack
Encoding", <a href="./rfc3032">RFC 3032</a>, January 2001.
[<a id="ref-RFC3339">RFC3339</a>] Klyne, G., Ed. and C. Newman, "Date and Time on the
Internet: Timestamps", <a href="./rfc3339">RFC 3339</a>, July 2002.
[<a id="ref-RFC3629">RFC3629</a>] Yergeau, F., "UTF-8, a transformation format of ISO
10646", STD 63, <a href="./rfc3629">RFC 3629</a>, November 2003.
<span class="grey">Niccolini, et al. Standards Track [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
[<a id="ref-RFC4001">RFC4001</a>] Daniele, M., Haberman, B., Routhier, S., and J.
Schoenwaelder, "Textual Conventions for Internet Network
Addresses", <a href="./rfc4001">RFC 4001</a>, February 2005.
[<a id="ref-RFC4560">RFC4560</a>] Quittek, J. and K. White, "Definitions of Managed Objects
for Remote Ping, Traceroute, and Lookup Operations",
<a href="./rfc4560">RFC 4560</a>, June 2006.
[<a id="ref-RFC5198">RFC5198</a>] Klensin, J. and M. Padlipsky, "Unicode Format for Network
Interchange", <a href="./rfc5198">RFC 5198</a>, March 2008.
<span class="h3"><a class="selflink" id="section-10.2" href="#section-10.2">10.2</a>. Informative References</span>
[<a id="ref-IEEE.1003-1G.1997">IEEE.1003-1G.1997</a>]
Institute of Electrical and Electronics Engineers,
"Protocol Independent Interfaces", IEEE Standard 1003.1G,
March 1997.
[<a id="ref-IPFIX">IPFIX</a>] Sadasivan, G., "Architecture for IP Flow Information
Export", Work in Progress, September 2006.
[<a id="ref-RFC1812">RFC1812</a>] Baker, F., "Requirements for IP Version 4 Routers",
<a href="./rfc1812">RFC 1812</a>, June 1995.
[<a id="ref-RFC2474">RFC2474</a>] Nichols, K., Blake, S., Baker, F., and D. Black,
"Definition of the Differentiated Services Field (DS
Field) in the IPv4 and IPv6 Headers", <a href="./rfc2474">RFC 2474</a>,
December 1998.
[<a id="ref-RFC2578">RFC2578</a>] McCloghrie, K., Ed., Perkins, D., Ed., and J.
Schoenwaelder, Ed., "Structure of Management Information
Version 2 (SMIv2)", STD 58, <a href="./rfc2578">RFC 2578</a>, April 1999.
[<a id="ref-RFC2579">RFC2579</a>] McCloghrie, K., Ed., Perkins, D., Ed., and J.
Schoenwaelder, Ed., "Textual Conventions for SMIv2",
STD 58, <a href="./rfc2579">RFC 2579</a>, April 1999.
[<a id="ref-RFC2580">RFC2580</a>] McCloghrie, K., Perkins, D., and J. Schoenwaelder,
"Conformance Statements for SMIv2", STD 58, <a href="./rfc2580">RFC 2580</a>,
April 1999.
[<a id="ref-RFC3688">RFC3688</a>] Mealling, M., "The IETF XML Registry", <a href="https://www.rfc-editor.org/bcp/bcp81">BCP 81</a>, <a href="./rfc3688">RFC 3688</a>,
January 2004.
[<a id="ref-RFC5101">RFC5101</a>] Claise, B., "Specification of the IP Flow Information
Export (IPFIX) Protocol for the Exchange of IP Traffic
Flow Information", <a href="./rfc5101">RFC 5101</a>, January 2008.
<span class="grey">Niccolini, et al. Standards Track [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
[<a id="ref-RFC5102">RFC5102</a>] Quittek, J., Bryant, S., Claise, B., Aitken, P., and J.
Meyer, "Information Model for IP Flow Information Export",
<a href="./rfc5102">RFC 5102</a>, January 2008.
[<a id="ref-W3C.REC-xml-20060816">W3C.REC-xml-20060816</a>]
Bray, T., Paoli, J., Maler, E., Sperberg-McQueen, C., and
F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fourth
Edition)", World Wide Web Consortium FirstEdition REC-xml-
20060816, August 2006,
<<a href="http://www.w3.org/TR/2006/REC-xml-20060816">http://www.w3.org/TR/2006/REC-xml-20060816</a>>.
[<a id="ref-W3C.REC-xmlschema-2-20041028">W3C.REC-xmlschema-2-20041028</a>]
Biron, P. and A. Malhotra, "XML Schema Part 2: Datatypes
Second Edition", World Wide Web Consortium
Recommendation REC-xmlschema-2-20041028, October 2004,
<<a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028">http://www.w3.org/TR/2004/REC-xmlschema-2-20041028</a>>.
<span class="grey">Niccolini, et al. Standards Track [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Traceroute Default Configuration Parameters</span>
This section lists traceroute measurement configuration parameters as
well as their defaults on various platforms and illustrates how
widely they may vary. This document considers four major traceroute
tool implementations and compares them based on configurable
parameters and default values. The LINUX (SUSE 9.1), BSD (FreeBSD
7.0), and UNIX (SunOS 5.9) implementations are based on UDP
datagrams, while the WINDOWS (XP SP2) one uses ICMP Echoes. The
comparison is summarized in the following table, where an N/A in the
option column means that such parameter is not configurable for the
specific implementation. A comprehensive comparison of available
implementations is outside the scope of this document; however, by
sampling a few different implementations, it can be observed that
they can differ quite significantly in terms of configurable
parameters and also default values. Note that in the following table
only those options that are available in at least two of the
considered implementations are reported.
+---------------------------------------------------------+
| OS |Option| Description | Default |
+--------+------+-------------------------------+---------+
| LINUX | -m |Specify the maximum TTL used | 30 |
|--------+------|in traceroute probes. |---------|
| FreeBSD| -m | | OS var |
|--------+------| |---------|
| UNIX | -m | | 30 |
|--------+------| |---------|
| WINDOWS| -h | | 30 |
+--------+------+-------------------------------+---------+
| LINUX | -n |Display hop addresses | - |
|--------+------|numerically rather than |---------|
| FreeBSD| -n |symbolically. | - |
|--------+------| |---------|
| UNIX | -n | | - |
|--------+------| |---------|
| WINDOWS| -d | | - |
+--------+------+-------------------------------+---------+
| LINUX | -w |Set the time to wait for a | 3 sec |
|--------+------|response to a probe. |---------|
| FreeBSD| -w | | 5 sec |
|--------+------| |---------|
| UNIX | -w | | 5 sec |
|--------+------| |---------|
| WINDOWS| -w | | 4 sec |
<span class="grey">Niccolini, et al. Standards Track [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
+--------+------+-------------------------------+---------+
| LINUX | N/A |Specify a loose source route | - |
|--------+------|gateway (to direct the |---------|
| FreeBSD| -g |traceroute probes through | - |
|--------+------|routers not necessarily in |---------|
| UNIX | -g | the path). | - |
|--------+------| |---------|
| WINDOWS| -g | | - |
+--------+------+-------------------------------+---------+
| LINUX | -p |Set the base UDP port number | 33434 |
|------- +------|used in traceroute probes |---------|
| FreeBSD| -p |(UDP port = base + nhops - 1). | 33434 |
|--------+------| |---------|
| UNIX | -p | | 33434 |
|--------+------| |---------|
| WINDOWS| N/A | | - |
+--------+------+-------------------------------+---------+
| LINUX | -q |Set the number of probes per | 3 |
|--------+------|TTL. |---------|
| FreeBSD| -q | | 3 |
|--------+------| |---------|
| UNIX | -q | | 3 |
|--------+------| |---------|
| WINDOWS| N/A | | 3 |
+--------+------+-------------------------------+---------+
| LINUX | -S |Set the IP source address in |IP |
|--------+------|outgoing probes to the |address |
| FreeBSD| -s |specified value. |of the |
|--------+------| |out |
| UNIX | -s | |interface|
|--------+------| | |
| WINDOWS| N/A | | |
+--------+------+-------------------------------+---------+
| LINUX | -t |Set the Type of Service (TOS) | 0 |
|--------+------|in the probes to the specified |---------|
| FreeBSD| -t |value. | 0 |
|--------+------| |---------|
| UNIX | -t | | 0 |
|--------+------| |---------|
| WINDOWS| N/A | | 0 |
+--------+------+-------------------------------+---------+
| LINUX | -v |Verbose output: received ICMP | - |
|--------+------|packets other than |---------|
| FreeBSD| -v |TIME_EXCEEDED and | - |
|--------+------|UNREACHABLE are listed. |---------|
| UNIX | -v | | - |
|--------+------| |---------|
| WINDOWS| N/A | | - |
<span class="grey">Niccolini, et al. Standards Track [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
+--------+------+-------------------------------+---------+
| LINUX | N/A |Set the time (in msec) to | - |
|--------+------|pause between probes. |---------|
| FreeBSD| -z | | 0 |
|--------+------| |---------|
| UNIX | -P | | 0 |
|--------+------| |---------|
| WINDOWS| N/A | | - |
+--------+------+-------------------------------+---------+
| LINUX | -r |Bypass the normal routing | - |
|--------+------|tables and send directly to a |---------|
| FreeBSD| -r |host on attached network. | - |
|--------+------| |---------|
| UNIX | -r | | - |
|--------+------| |---------|
| WINDOWS| N/A | | - |
+--------+------+-------------------------------+---------+
| LINUX | -f |Set the initial TTL for the | 1 |
|--------+------|first probe. |---------|
| FreeBSD| -f | | 1 |
|--------+------| |---------|
| UNIX | -f | | 1 |
|--------+------| |---------|
| WINDOWS| N/A | | 1 |
+--------+------+-------------------------------+---------+
| LINUX | -F |Set the "don't fragment" bit. | - |
|--------+------| |---------|
| FreeBSD| -F | | - |
|--------+------| |---------|
| UNIX | -F | | - |
|--------+------| |---------|
| WINDOWS| N/A | | - |
+--------+------+-------------------------------+---------+
| LINUX | N/A |Enable socket level debugging. | - |
|--------+------| |---------|
| FreeBSD| -d | | - |
|--------+------| |---------|
| UNIX | -d | | - |
|--------+------| |---------|
| WINDOWS| N/A | | - |
+--------+------+-------------------------------+---------+
| LINUX | N/A |Use ICMP Echoes instead of UDP | - |
|--------+------|datagrams. |---------|
| FreeBSD| -I | | - |
|--------+------| |---------|
| UNIX | -I | | - |
|--------+------| |---------|
| WINDOWS| N/A | | - |
<span class="grey">Niccolini, et al. Standards Track [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
+--------+------+-------------------------------+---------+
| LINUX | -I |Specify a network interface to | - |
|--------+------|obtain the IP address for |---------|
| FreeBSD| -i |outgoing IP packets | - |
|--------+------|(alternative to option -s). |---------|
| UNIX | -i | | - |
|--------+------| |---------|
| WINDOWS| N/A | | - |
+--------+------+-------------------------------+---------+
| LINUX | N/A |Toggle checksum. | - |
|--------+------| |---------|
| FreeBSD| -x | | - |
|--------+------| |---------|
| UNIX | -x | | - |
|--------+------| |---------|
| WINDOWS| N/A | | - |
+--------+------+-------------------------------+---------+
| LINUX | - |As optional last parameter, |Depends |
|--------+------|LINUX, FreeBSD, and UNIX |on |
| FreeBSD| - |implementations allow |implement|
|--------+------|specifying the probe datagram |ation. |
| UNIX | - |length for outgoing probes. | |
|--------+------| | |
| WINDOWS| N/A | | |
+--------+------+-------------------------------+---------+
<span class="h3"><a class="selflink" id="appendix-A.1" href="#appendix-A.1">A.1</a>. Alternative Traceroute Implementations</span>
As stated above, the widespread use of firewalls might prevent UDP-
or ICMP-based traceroutes to completely trace the path to a
destination since traceroute probes might end up being filtered. In
some cases, such limitation might be overcome by sending instead TCP
packets to specific ports that hosts located behind the firewall are
listening for connections on. TCP-based implementations use TCP,
SYN, or FIN probes and listen for TIME_EXCEEDED messages, TCP RESET,
and other messages from firewalls and gateways on the path. On the
other hand, some firewalls filter out TCP SYN packets to prevent
denial-of-service attacks; therefore, the actual advantage of using
TCP instead of UDP traceroute depends mainly on firewall
configurations, which are not known in advance. A detailed analysis
of TCP-based traceroute tools and measurements is outside the scope
of this document; regardless, for completeness reasons, the
information model also supports the storing of TCP-based traceroute
measurements.
<span class="grey">Niccolini, et al. Standards Track [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Known Problems with Traceroute</span>
<span class="h3"><a class="selflink" id="appendix-B.1" href="#appendix-B.1">B.1</a>. Compatibility between Traceroute Measurement Results and IPPM</span>
Metrics
Because of implementation choices, a known inconsistency exists
between the round-trip delay metric defined by the IPPM working group
in <a href="./rfc2681">RFC 2681</a> and the results returned by the current traceroute tool
implementations. Unfortunately, it is unlikely that the traceroute
tool implementations will implement the standard definition in the
near future. The only possibility is therefore to compare results of
different traceroute measurements with each other; in order to do
this, specifications both of the operating system (name and version)
and of the traceroute tool version used were added to the metadata
elements in order to help in comparing metrics between two different
traceroute measurement results (if run using the same operating
system and the same version of the tool). Moreover, the traceroute
tool has built-in configurable mechanisms like timeouts and can
experience problems related to the crossing of firewalls; therefore,
some of the packets that traceroute sends out end up being timeout or
filtered. As a consequence, it might not be possible to trace the
path to a node or there might not be a complete enough set of probes
describing the RTT to reach it.
<span class="h2"><a class="selflink" id="appendix-C" href="#appendix-C">Appendix C</a>. Differences to DISMAN-TRACEROUTE-MIB</span>
For performing remote traceroute operations at managed node, the IETF
has standardized the DISMAN-TRACEROUTE-MIB module in [<a href="./rfc4560" title=""Definitions of Managed Objects for Remote Ping, Traceroute, and Lookup Operations"">RFC4560</a>]. This
module allows:
o retrieving capability information of the traceroute tool
implementation at the managed node;
o configuring traceroute measurements to be performed;
o retrieving information about ongoing and completed traceroute
measurements;
o retrieving traceroute measurement statistics.
The traceroute storage format described in this document has
significant overlaps with this MIB module. Particularly, the models
for the traceroute measurement configuration and for the results from
completed measurements are almost identical. But for other parts of
the DISMAN-TRACEROUTE MIB module there is no need to model them in a
traceroute measurement storage format. Particularly, the capability
information, information about ongoing measurements, and measurement
statistics are not covered by the DISMAN traceroute storage model.
<span class="grey">Niccolini, et al. Standards Track [Page 47]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-48" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
Concerning traceroute measurements and their results, there are
structural differences between the two models caused by the different
choices for the encoding of the specification. For DISMAN-
TRACEROUTE-MIB, the Structure of Management Information (SMIv2, STD
58, <a href="./rfc2578">RFC 2578</a> [<a href="./rfc2578" title=""Structure of Management Information Version 2 (SMIv2)"">RFC2578</a>]) was used, while the IPPM traceroute
measurement data model is encoded using XML.
This difference in structure implies that the DISMAN-TRACEROUTE-MIB
module contains SMI-specific information elements (managed objects)
that concern tables of managed objects (specification, entry creation
and deletion, status retrieval) that are not required for the XML-
encoded traceroute measurement data model.
But for most of the remaining information elements that concern
configuration of traceroute measurements and results of completed
measurements, the semantics are identical between the DISMAN-
TRACEROUTE-MIB module and the traceroute measurement data model.
There are very few exceptions to this; these are listed below. Also,
naming of information elements is identical between both models with
a few exceptions. For the traceroute measurement data model, a few
information elements have been added, some because of the different
structure and some to provide additional information on completed
measurements.
<span class="h3"><a class="selflink" id="appendix-C.1" href="#appendix-C.1">C.1</a>. Scope</span>
There are some basic differences in nature and application between
MIB modules and XML documents. This results in two major differences
of scope between the DISMAN-TRACEROUTE-MIB module and the traceroute
measurement data model.
The first difference is the "traceRouteResultsTable" contained in the
DISMAN-TRACEROUTE-MIB module. This table allows online observation
of status and progress of an ongoing traceroute measurement. This
highly dynamic information is not included in the traceroute
measurement data model because it has not been envisioned to use the
model for dynamically reporting progress of individual traceroute
measurements. The traceroute measurement data model is rather
intended to be used for reporting completed traceroute measurements.
The second difference is due to the fact that information in a MIB is
typically tied to a local node hosting the MIB instance. The
"RequestMetadata" element specified in the traceroute measurement
data model can be used for specifying a measurement request that may
be applied to several probes in a network. This concept does not
exist in the DISMAN-TRACEROUTE-MIB module.
<span class="grey">Niccolini, et al. Standards Track [Page 48]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-49" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
For the remaining elements in the DISMAN-TRACEROUTE-MIB module and in
the traceroute measurement data model, there is a very good match
between the two worlds. The "traceRouteCtlTable" corresponds to the
"MeasurementMetadata" element, and the combination of the
"traceRouteProbeHistoryTable" and the "traceRouteHopsTable"
corresponds to a collection of "MeasurementResult" elements.
<span class="h3"><a class="selflink" id="appendix-C.2" href="#appendix-C.2">C.2</a>. Naming</span>
Basically, names in both models are chosen using the same naming
conventions.
For the traceroute measurement configuration information, all names,
such as "CtlProbesPerHop", are identical in both models except for
the traceRoute prefix that was removed to avoid unnecessary
redundancy in the XML file and for "CtlDataSize", which was renamed
to "CtlProbeDataSize" for clarification in the traceroute measurement
data model.
Results of measurements in the DISMAN-TRACEROUTE-MIB modules are
distributed over two tables, the "traceRouteResultsTable" contains
mainly information about ongoing measurements and the
"traceRouteProbeHistoryTable" contains only information about
completed measurements. According to the SMIv2 naming conventions,
names of information elements in these tables have different prefixes
("traceRouteResults" and "traceRouteProbeHistory"). Since the
traceroute measurement data model only reports on completed
measurements, this separation is not needed anymore and the prefix
"Results" is used for all related information elements.
Beyond that, there are only a few changes in element names. The
renaming actions include:
o "traceRouteProbeHistoryResponse" to "ProbeRoundTripTime";
o "traceRouteProbeHistoryHAddr" to "HopAddr";
o "traceRouteProbeHistoryTime" to "ResultsEndDateAndTime";
o "traceRouteProbeHistoryLastRC" to "ResultsHopRawOutputData".
<span class="h3"><a class="selflink" id="appendix-C.3" href="#appendix-C.3">C.3</a>. Semantics</span>
The semantics were changed for two information elements only.
For "traceRouteProbeHistoryResponse" in the DISMAN-TRACEROUTE-MIB, a
value of 0 indicates that it is not possible to transmit a probe.
For the traceroute measurement data model, a value of 0 for element
<span class="grey">Niccolini, et al. Standards Track [Page 49]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-50" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
"RoundTripTime" indicates that the measured time was less than one
millisecond. For the case that it was not possible to transmit a
probe, a string is used that indicates the problem.
For "traceRouteCtlIfIndex" in the DISMAN-TRACEROUTE-MIB, a value of 0
indicates that the option to set the index is not available. This
was translated to the traceroute measurement data model, such that a
value of 0 for this element indicates that the used interface is
unknown.
The element "traceRouteProbeHistoryLastRC" in the DISMAN-TRACEROUTE-
MIB was replaced by element "ResultsHopRawOutputData". While
"traceRouteProbeHistoryLastRC" just reports a reply code,
"ResultsHopRawOutputData" reports the full raw output data (per hop)
produced by the traceroute measurement that was used.
<span class="h3"><a class="selflink" id="appendix-C.4" href="#appendix-C.4">C.4</a>. Additional Information Elements</span>
Only a few information elements have been added to the model of the
DISMAN-TRACEROUTE-MIB module.
o For providing information on the MPLS label stack entries of a
probe in the traceroute measurement path, "MPLSLabelStackEntry"
was added.
o For providing additional timestamp beyond "ResultsEndDateAndTime",
"ResultsStartDateAndTime" and "Time" were added.
o For providing DNS names at the time of the execution of the
traceroute for each "HopAddr" (which may change over time),
"HopName" was added.
<span class="h2"><a class="selflink" id="appendix-D" href="#appendix-D">Appendix D</a>. Traceroute Examples with XML Representation</span>
This section shows some examples of traceroute applications. In
addition, the encoding of requests and results is shown for some of
those examples. Also, note that in these XML examples some lines
appear wrapped due to the limited length of line.
A typical traceroute on a LINUX system looks like the following:
# traceroute -f 4 www.example 1500
traceroute to ww.example (192.0.2.42), 30 hops max, 1500-byte packets
5 out.host1.example (192.0.2.254) 6.066 ms 5.625 ms 6.095 ms
6 rtr4.host6.example (192.0.2.142) 6.979 ms 6.221 ms 7.368 ms
7 hop7.rtr9.example (192.0.2.11) 16.165 ms 15.347 ms 15.514 ms
8 192.0.2.222 (192.0.2.222) 32.796 ms 28.723 ms 26.988 ms
9 in.example (192.0.2.123) 15.861 ms 16.262 ms 17.610 ms
10 in.example (192.0.2.123)(N!) 17.391 ms * *
<span class="grey">Niccolini, et al. Standards Track [Page 50]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-51" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
This traceroute ignores the first 4 hops and uses 1500-byte packets
including the header. It does not reach its goal since the last
listed hop says that the network is not reachable (N!). The XML
representation for this trace follows:
<?xml version="1.0" encoding="UTF-8"?>
<traceRoute xmlns="urn:ietf:params:xml:ns:traceroute-1.0">
<RequestMetadata>
<TestName>Example 1</TestName>
<OSName/>
<OSVersion/>
<ToolVersion/>
<ToolName/>
<CtlTargetAddress>
<inetAddressDns>www.example</inetAddressDns>
</CtlTargetAddress>
<CtlBypassRouteTable/>
<CtlProbeDataSize>1472</CtlProbeDataSize>
<CtlTimeOut/>
<CtlProbesPerHop/>
<CtlPort/>
<CtlMaxTtl/>
<CtlDSField/>
<CtlSourceAddress>
<inetAddressUnknown/>
</CtlSourceAddress>
<CtlIfIndex/>
<CtlMiscOptions/>
<CtlMaxFailures/>
<CtlDontFragment/>
<CtlInitialTtl>4</CtlInitialTtl>
<CtlDescr>Show how it encodes in XML</CtlDescr>
<CtlType><UDP/></CtlType>
</RequestMetadata>
<Measurement>
<MeasurementMetadata>
<TestName>Example 1</TestName>
<OSName>Linux</OSName>
<OSVersion>2.6.16.54-0.2.5-smp i386</OSVersion>
<ToolVersion>1.0</ToolVersion>
<ToolName>traceroute</ToolName>
<CtlTargetAddress>
<inetAddressDns>www.example</inetAddressDns>
</CtlTargetAddress>
<CtlBypassRouteTable/>
<CtlProbeDataSize>1472</CtlProbeDataSize>
<CtlTimeOut/>
<CtlProbesPerHop/>
<CtlPort/>
<span class="grey">Niccolini, et al. Standards Track [Page 51]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-52" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<CtlMaxTtl/>
<CtlDSField/>
<CtlSourceAddress>
<inetAddressIpv4>192.0.2.1</inetAddressIpv4>
</CtlSourceAddress>
<CtlIfIndex>2</CtlIfIndex>
<CtlMiscOptions/>
<CtlMaxFailures/>
<CtlDontFragment/>
<CtlInitialTtl>4</CtlInitialTtl>
<CtlDescr>Show how it encodes in XML</CtlDescr>
<CtlType><UDP/></CtlType>
</MeasurementMetadata>
<MeasurementResult>
<TestName>Example 1</TestName>
<ResultsStartDateAndTime>2008-05-16T14:22:34+02:00</ResultsStar
tDateAndTime>
<ResultsIpTgtAddr>
<inetAddressIpv4>192.0.2.42</inetAddressIpv4>
</ResultsIpTgtAddr>
<ProbeResults>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.254</inetAddressIpv4>
</HopAddr>
<HopName>out.host1.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>6</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:35+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.254</inetAddressIpv4>
</HopAddr>
<HopName>out.host1.example</HopName>
<ProbeRoundTripTime><roundTripTime>5</roundTripTime></Pro
beRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:35+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.254</inetAddressIpv4>
</HopAddr>
<HopName>out.host1.example</HopName>
<span class="grey">Niccolini, et al. Standards Track [Page 52]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-53" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<ProbeRoundTripTime>
<roundTripTime>6</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:35+02:00</Time>
</probe>
<HopRawOutputData> 5 out.host1.example (192.0.2.254) 6.06
6 ms 5.625 ms 6.095 ms</HopRawOutputData>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.142</inetAddressIpv4>
</HopAddr>
<HopName>rtr4.host6.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>6</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:36+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.142</inetAddressIpv4>
</HopAddr>
<HopName>rtr4.host6.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>6</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:36+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.142</inetAddressIpv4>
</HopAddr>
<HopName>rtr4.host6.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>7</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:37+02:00</Time>
</probe>
<HopRawOutputData> 6 rtr4.host6.example (192.0.2.142) 6.9
79 ms 6.221 ms 7.368 ms</HopRawOutputData>
</hop>
<hop>
<probe>
<span class="grey">Niccolini, et al. Standards Track [Page 53]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-54" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<HopAddr>
<inetAddressIpv4>192.0.2.11</inetAddressIpv4>
</HopAddr>
<HopName>hop7.rtr9.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>16</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:37+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.11</inetAddressIpv4>
</HopAddr>
<HopName>hop7.rtr9.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>15</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:38+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.11</inetAddressIpv4>
</HopAddr>
<HopName>hop7.rtr9.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>15</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:38+02:00</Time>
</probe>
<HopRawOutputData> 7 hop7.rtr9.example (192.0.2.11) 16.16
5 ms 15.347 ms 15.514 ms</HopRawOutputData>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.222</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>32</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:39+02:00</Time>
</probe>
<probe>
<HopAddr>
<span class="grey">Niccolini, et al. Standards Track [Page 54]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-55" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<inetAddressIpv4>192.0.2.222</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>38</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:39+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.222</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>26</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:39+02:00</Time>
</probe>
<HopRawOutputData> 8 192.0.2.222 (192.0.2.222) 32.796 ms
28.723 ms 26.988 ms</HopRawOutputData>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<HopName>in.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>15</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:40+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<HopName>in.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>16</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:40+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<span class="grey">Niccolini, et al. Standards Track [Page 55]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-56" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<HopName>in.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>17</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-16T14:22:40+02:00</Time>
</probe>
<HopRawOutputData> 9 in.example (192.0.2.123) 15.861 ms
16.262 ms 17.610 ms</HopRawOutputData>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<HopName>in.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>17</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>noRouteToTarget</ResponseStatus>
<Time>2008-05-16T14:22:41+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<HopName>in.example</HopName>
<ProbeRoundTripTime>
<roundTripTimeNotAvailable/>
</ProbeRoundTripTime>
<ResponseStatus>requestTimedOut</ResponseStatus>
<Time>2008-05-16T14:22:44+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<HopName>in.example</HopName>
<ProbeRoundTripTime>
<roundTripTimeNotAvailable/>
</ProbeRoundTripTime>
<ResponseStatus>requestTimedOut</ResponseStatus>
<Time>2008-05-16T14:22:44+02:00</Time>
</probe>
<HopRawOutputData>10 in.example (192.0.2.123)(N!) 17.391
ms * *</HopRawOutputData>
</hop>
</ProbeResults>
<span class="grey">Niccolini, et al. Standards Track [Page 56]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-57" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<ResultsEndDateAndTime>2008-05-16T14:22:44+02:00</ResultsEndDat
eAndTime>
</MeasurementResult>
</Measurement>
</traceRoute>
The second example was generated on an OpenBSD system. On that
system, the traceroute looks like the following:
# traceroute -P tcp w2.example 128
traceroute to w2.example (192.0.2.254), 64 hops max, 160-byte packets
1 router1.example.org (192.0.2.22) 0.486 ms 0.486 ms 0.482 ms
2 router7.example.org (192.0.2.1) 3.27 ms 1.420 ms 1.873 ms
3 hop0.c.example (192.0.2.105) 3.177 ms 3.258 ms 3.859 ms
4 hop6.c.example (192.0.2.107) 5.994 ms 4.607 ms 5.678 ms
5 hop3.c.example (192.0.2.111) 20.341 ms 20.732 ms 19.505 ms
6 in.example.net (192.0.2.222) 20.333 ms 19.174 ms 19.856 ms
7 egress.example.net (192.0.2.227) 20.268 ms 21.79 ms 19.992 ms
8 routerin.example (192.0.2.253) 19.983 ms 19.931 ms 19.894 ms
9 routerdmz.example (192.0.2.249) 20.943 ms !X * 19.829 ms !X
It was executed with the TCP protocol and 128-byte packets (plus
header). The traceroute ended at hop 9 because the packets are
administratively filtered (!X). A corresponding XML representation
follows:
<?xml version="1.0" encoding="UTF-8"?>
<traceRoute xmlns="urn:ietf:params:xml:ns:traceroute-1.0">
<RequestMetadata>
<TestName>Example 2</TestName>
<OSName/>
<OSVersion/>
<ToolVersion/>
<ToolName/>
<CtlTargetAddress>
<inetAddressDns>w2.example</inetAddressDns>
</CtlTargetAddress>
<CtlBypassRouteTable/>
<CtlProbeDataSize>128</CtlProbeDataSize>
<CtlTimeOut/>
<CtlProbesPerHop/>
<CtlPort/>
<CtlMaxTtl/>
<CtlDSField/>
<CtlSourceAddress>
<inetAddressUnknown/>
</CtlSourceAddress>
<CtlIfIndex/>
<CtlMiscOptions/>
<span class="grey">Niccolini, et al. Standards Track [Page 57]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-58" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<CtlMaxFailures/>
<CtlDontFragment/>
<CtlInitialTtl/>
<CtlDescr>Show how it encodes in XML</CtlDescr>
<CtlType><TCP/></CtlType>
</RequestMetadata>
<Measurement>
<MeasurementMetadata>
<TestName>Example 2</TestName>
<OSName>OpenBSD</OSName>
<OSVersion>4.1 i386</OSVersion>
<ToolVersion></ToolVersion>
<ToolName>traceroute</ToolName>
<CtlTargetAddress>
<inetAddressDns>w2.example</inetAddressDns>
</CtlTargetAddress>
<CtlBypassRouteTable/>
<CtlProbeDataSize>128</CtlProbeDataSize>
<CtlTimeOut/>
<CtlProbesPerHop/>
<CtlPort/>
<CtlMaxTtl/>
<CtlDSField/>
<CtlSourceAddress>
<inetAddressIpv4>192.0.2.42</inetAddressIpv4>
</CtlSourceAddress>
<CtlIfIndex>1</CtlIfIndex>
<CtlMiscOptions/>
<CtlMaxFailures/>
<CtlDontFragment/>
<CtlInitialTtl/>
<CtlDescr>Show how it encodes in XML</CtlDescr>
<CtlType><TCP/></CtlType>
</MeasurementMetadata>
<MeasurementResult>
<TestName>Example 2</TestName>
<ResultsStartDateAndTime>2008-05-14T09:57:11+02:00</ResultsStar
tDateAndTime>
<ResultsIpTgtAddr>
<inetAddressIpv4>192.0.2.254</inetAddressIpv4>
</ResultsIpTgtAddr>
<ProbeResults>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.22</inetAddressIpv4>
</HopAddr>
<HopName>router1.example.org</HopName>
<span class="grey">Niccolini, et al. Standards Track [Page 58]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-59" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<ProbeRoundTripTime>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:13+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.22</inetAddressIpv4>
</HopAddr>
<HopName>router1.example.org</HopName>
<ProbeRoundTripTime>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:13+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.22</inetAddressIpv4>
</HopAddr>
<HopName>router1.example.org</HopName>
<ProbeRoundTripTime>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:13+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.1</inetAddressIpv4>
</HopAddr>
<HopName>router7.example.org</HopName>
<ProbeRoundTripTime>
<roundTripTime>3</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:13+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.1</inetAddressIpv4>
</HopAddr>
<HopName>router7.example.org</HopName>
<ProbeRoundTripTime>
<roundTripTime>1</roundTripTime>
<span class="grey">Niccolini, et al. Standards Track [Page 59]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-60" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:13+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.1</inetAddressIpv4>
</HopAddr>
<HopName>router7.example.org</HopName>
<ProbeRoundTripTime>
<roundTripTime>1</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:14+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.105</inetAddressIpv4>
</HopAddr>
<HopName>hop0.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>3</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:14+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.105</inetAddressIpv4>
</HopAddr>
<HopName>hop0.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>3</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:14+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.105</inetAddressIpv4>
</HopAddr>
<HopName>hop0.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>3</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<span class="grey">Niccolini, et al. Standards Track [Page 60]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-61" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<Time>2008-05-14T09:57:14+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.107</inetAddressIpv4>
</HopAddr>
<HopName>hop6.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>5</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:15+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.107</inetAddressIpv4>
</HopAddr>
<HopName>hop6.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>4</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:16+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.107</inetAddressIpv4>
</HopAddr>
<HopName>hop6.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>5</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:16+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.111</inetAddressIpv4>
</HopAddr>
<HopName>hop3.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>20</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<span class="grey">Niccolini, et al. Standards Track [Page 61]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-62" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<Time>2008-05-14T09:57:17+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.111</inetAddressIpv4>
</HopAddr>
<HopName>hop3.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>20</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:18+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.111</inetAddressIpv4>
</HopAddr>
<HopName>hop3.c.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>19</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:19+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.222</inetAddressIpv4>
</HopAddr>
<HopName>in.example.net</HopName>
<ProbeRoundTripTime>
<roundTripTime>20</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:20+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.222</inetAddressIpv4>
</HopAddr>
<HopName>in.example.net</HopName>
<ProbeRoundTripTime>
<roundTripTime>19</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:20+02:00</Time>
</probe>
<span class="grey">Niccolini, et al. Standards Track [Page 62]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-63" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.222</inetAddressIpv4>
</HopAddr>
<HopName>in.example.net</HopName>
<ProbeRoundTripTime>
<roundTripTime>19</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:21+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.227</inetAddressIpv4>
</HopAddr>
<HopName>egress.example.net</HopName>
<ProbeRoundTripTime>
<roundTripTime>20</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:22+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.227</inetAddressIpv4>
</HopAddr>
<HopName>egress.example.net</HopName>
<ProbeRoundTripTime>
<roundTripTime>21</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:22+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.227</inetAddressIpv4>
</HopAddr>
<HopName>egress.example.net</HopName>
<ProbeRoundTripTime>
<roundTripTime>19</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:23+02:00</Time>
</probe>
</hop>
<hop>
<span class="grey">Niccolini, et al. Standards Track [Page 63]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-64" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.253</inetAddressIpv4>
</HopAddr>
<HopName>routerin.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>19</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:24+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.253</inetAddressIpv4>
</HopAddr>
<HopName>routerin.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>19</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:24+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.253</inetAddressIpv4>
</HopAddr>
<HopName>routerin.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>19</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T09:57:25+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.249</inetAddressIpv4>
</HopAddr>
<HopName>routerdmz.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>20</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>unknown</ResponseStatus>
<Time>2008-05-14T09:57:26+02:00</Time>
</probe>
<probe>
<HopAddr>
<span class="grey">Niccolini, et al. Standards Track [Page 64]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-65" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<inetAddressIpv4>192.0.2.249</inetAddressIpv4>
</HopAddr>
<HopName>routerdmz.example</HopName>
<ProbeRoundTripTime>
<roundTripTimeNotAvailable/>
</ProbeRoundTripTime>
<ResponseStatus>requestTimedOut</ResponseStatus>
<Time>2008-05-14T09:57:26+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.249</inetAddressIpv4>
</HopAddr>
<HopName>routerdmz.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>19</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>unknown</ResponseStatus>
<Time>2008-05-14T09:57:30+02:00</Time>
</probe>
</hop>
</ProbeResults>
<ResultsEndDateAndTime>2008-05-14T09:57:30+02:00</ResultsEndDat
eAndTime>
</MeasurementResult>
</Measurement>
</traceRoute>
The third and last example is based on the Microsoft Windows pendant
of traceroute. On an MS Windows system, the command is called
"tracert" and typically looks as follows:
# tracert -h 10 www.example.org
Tracing route to www.example.org [192.0.2.11]
over a maximum of 10 hops:
1 1 ms 1 ms 8 ms 192.0.2.99
2 <1 ms <1 ms <1 ms r1.provider4.example [192.0.2.102]
3 <1 ms <1 ms <1 ms rtr8.provider8.example [192.0.2.254]
4 1 ms 1 ms 1 ms hop11.hoster7.example [192.0.2.4]
5 2 ms 3 ms 1 ms sw6.provider2.example [192.0.2.201]
6 3 ms 3 ms 3 ms out.provider2.example [192.0.2.111]
7 * 6 ms 5 ms 192.0.2.123
8 5 ms 5 ms 5 ms 192.0.2.42
9 94 ms 95 ms 95 ms ingress.example.org [192.0.2.199]
10 168 ms 169 ms 169 ms 192.0.2.44
<span class="grey">Niccolini, et al. Standards Track [Page 65]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-66" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
Trace complete.
In this example, the trace was limited to 10 hops, so the tenth and
last hop of this example was not the final destination. Applying the
XML schema defined in this document, the trace could look as follows:
<?xml version="1.0" encoding="UTF-8"?>
<traceRoute xmlns="urn:ietf:params:xml:ns:traceroute-1.0">
<RequestMetadata>
<TestName>Example 3</TestName>
<OSName/>
<OSVersion/>
<ToolVersion/>
<ToolName/>
<CtlTargetAddress>
<inetAddressDns>www.example.org</inetAddressDns>
</CtlTargetAddress>
<CtlBypassRouteTable/>
<CtlProbeDataSize/>
<CtlTimeOut/>
<CtlProbesPerHop/>
<CtlPort/>
<CtlMaxTtl>10</CtlMaxTtl>
<CtlDSField/>
<CtlSourceAddress>
<inetAddressUnknown/>
</CtlSourceAddress>
<CtlIfIndex/>
<CtlMiscOptions/>
<CtlMaxFailures/>
<CtlDontFragment/>
<CtlInitialTtl/>
<CtlDescr>Show how it encodes in XML</CtlDescr>
<CtlType><TCP/></CtlType>
</RequestMetadata>
<Measurement>
<MeasurementMetadata>
<TestName>Example 3</TestName>
<OSName>Windows</OSName>
<OSVersion>XP SP2 32-bit</OSVersion>
<ToolVersion></ToolVersion>
<ToolName>tracert</ToolName>
<CtlTargetAddress>
<inetAddressDns>www.example.org</inetAddressDns>
</CtlTargetAddress>
<CtlBypassRouteTable/>
<CtlProbeDataSize/>
<CtlTimeOut/>
<CtlProbesPerHop/>
<span class="grey">Niccolini, et al. Standards Track [Page 66]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-67" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<CtlPort/>
<CtlMaxTtl>10</CtlMaxTtl>
<CtlDSField/>
<CtlSourceAddress>
<inetAddressIpv4>192.0.2.142</inetAddressIpv4>
</CtlSourceAddress>
<CtlIfIndex>3</CtlIfIndex>
<CtlMiscOptions/>
<CtlMaxFailures/>
<CtlDontFragment/>
<CtlInitialTtl/>
<CtlDescr>Show how it encodes in XML</CtlDescr>
<CtlType><TCP/></CtlType>
</MeasurementMetadata>
<MeasurementResult>
<TestName>Example 3</TestName>
<ResultsStartDateAndTime>2008-05-14T11:03:09+02:00</ResultsStar
tDateAndTime>
<ResultsIpTgtAddr>
<inetAddressIpv4>192.0.2.11</inetAddressIpv4>
</ResultsIpTgtAddr>
<ProbeResults>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.99</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>1</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.99</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>1</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.99</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<span class="grey">Niccolini, et al. Standards Track [Page 67]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-68" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<roundTripTime>8</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.102</inetAddressIpv4>
</HopAddr>
<HopName>r1.provider4.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.102</inetAddressIpv4>
</HopAddr>
<HopName>r1.provider4.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.102</inetAddressIpv4>
</HopAddr>
<HopName>r1.provider4.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.254</inetAddressIpv4>
</HopAddr>
<HopName>rtr8.provider8.example</HopName>
<ProbeRoundTripTime>
<span class="grey">Niccolini, et al. Standards Track [Page 68]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-69" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.254</inetAddressIpv4>
</HopAddr>
<HopName>rtr8.provider8.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.254</inetAddressIpv4>
</HopAddr>
<HopName>rtr8.provider8.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>0</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.4</inetAddressIpv4>
</HopAddr>
<HopName>hop11.hoster7.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>1</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:09+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.4</inetAddressIpv4>
</HopAddr>
<HopName>hop11.hoster7.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>1</roundTripTime>
</ProbeRoundTripTime>
<span class="grey">Niccolini, et al. Standards Track [Page 69]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-70" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:10+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.4</inetAddressIpv4>
</HopAddr>
<HopName>hop11.hoster7.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>1</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:10+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.201</inetAddressIpv4>
</HopAddr>
<HopName>sw6.provider2.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>2</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:10+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.201</inetAddressIpv4>
</HopAddr>
<HopName>sw6.provider2.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>3</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:11+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.201</inetAddressIpv4>
</HopAddr>
<HopName>sw6.provider2.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>1</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:11+02:00</Time>
<span class="grey">Niccolini, et al. Standards Track [Page 70]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-71" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.111</inetAddressIpv4>
</HopAddr>
<HopName>out.provider2.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>3</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:11+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.111</inetAddressIpv4>
</HopAddr>
<HopName>out.provider2.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>3</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:11+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.111</inetAddressIpv4>
</HopAddr>
<HopName>out.provider2.example</HopName>
<ProbeRoundTripTime>
<roundTripTime>3</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:12+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTimeNotAvailable/>
</ProbeRoundTripTime>
<ResponseStatus>requestTimedOut</ResponseStatus>
<Time>2008-05-14T11:03:14+02:00</Time>
</probe>
<span class="grey">Niccolini, et al. Standards Track [Page 71]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-72" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>6</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:15+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.123</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>5</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:16+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.42</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>5</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:17+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.42</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>5</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:17+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.42</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>5</roundTripTime>
<span class="grey">Niccolini, et al. Standards Track [Page 72]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-73" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:17+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.199</inetAddressIpv4>
</HopAddr>
<HopName>ingress.example.org</HopName>
<ProbeRoundTripTime>
<roundTripTime>94</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:19+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.199</inetAddressIpv4>
</HopAddr>
<HopName>ingress.example.org</HopName>
<ProbeRoundTripTime>
<roundTripTime>95</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:19+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.199</inetAddressIpv4>
</HopAddr>
<HopName>ingress.example.org</HopName>
<ProbeRoundTripTime>
<roundTripTime>95</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:19+02:00</Time>
</probe>
</hop>
<hop>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.44</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>168</roundTripTime>
</ProbeRoundTripTime>
<span class="grey">Niccolini, et al. Standards Track [Page 73]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-74" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:20+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.44</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>169</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:21+02:00</Time>
</probe>
<probe>
<HopAddr>
<inetAddressIpv4>192.0.2.44</inetAddressIpv4>
</HopAddr>
<ProbeRoundTripTime>
<roundTripTime>169</roundTripTime>
</ProbeRoundTripTime>
<ResponseStatus>responseReceived</ResponseStatus>
<Time>2008-05-14T11:03:23+02:00</Time>
</probe>
</hop>
</ProbeResults>
<ResultsEndDateAndTime>2008-05-14T11:03:23+02:00</ResultsEndDat
eAndTime>
</MeasurementResult>
</Measurement>
</traceRoute>
The three examples given in this section are intended to give an
impression of how a trace could be represented in XML. The
representation generated by an implementation may differ from the
examples here depending on the system and the capabilities of the
traceroute implementation.
<span class="grey">Niccolini, et al. Standards Track [Page 74]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-75" ></span>
<span class="grey"><a href="./rfc5388">RFC 5388</a> Traceroute Storage Format December 2008</span>
Authors' Addresses
Saverio Niccolini
NEC Laboratories Europe, NEC Europe Ltd.
Kurfuersten-Anlage 36
Heidelberg 69115
Germany
Phone: +49 (0) 6221 4342 118
EMail: saverio.niccolini@nw.neclab.eu
URI: <a href="http://www.nw.neclab.eu">http://www.nw.neclab.eu</a>
Sandra Tartarelli
NEC Laboratories Europe, NEC Europe Ltd.
Kurfuersten-Anlage 36
Heidelberg 69115
Germany
Phone: +49 (0) 6221 4342 132
EMail: sandra.tartarelli@nw.neclab.eu
URI: <a href="http://www.nw.neclab.eu">http://www.nw.neclab.eu</a>
Juergen Quittek
NEC Laboratories Europe, NEC Europe Ltd.
Kurfuersten-Anlage 36
Heidelberg 69115
Germany
Phone: +49 (0) 6221 4342 115
EMail: quittek@nw.neclab.eu
URI: <a href="http://www.nw.neclab.eu">http://www.nw.neclab.eu</a>
Thomas Dietz
NEC Laboratories Europe, NEC Europe Ltd.
Kurfuersten-Anlage 36
Heidelberg 69115
Germany
Phone: +49 (0) 6221 4342 128
EMail: thomas.dietz@nw.neclab.eu
URI: <a href="http://www.nw.neclab.eu">http://www.nw.neclab.eu</a>
Martin Swany
Dept. of Computer and Information Sciences
University of Delaware
Newark DE 19716
U.S.A.
EMail: swany@UDel.Edu
Niccolini, et al. Standards Track [Page 75]
</pre>
|