1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152
|
2001-08-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.1.0
2001-07-27 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c (oncore_start): Set pps_enable=1, just
like the atom driver does.
From: reg@dwf.com
* ntpd/refclock_nmea.c (nmea_ppsapi): Set pps_enable=1, just like
the atom driver does.
From: Scott Allendorf <sca@newton.physics.uiowa.edu>
* ntpd/ntp_config.c (getconfig): CONF_CLOCK_PANIC was using the
wrong config flag.
From: <justin_forrester@hp.com>
2001-07-10 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99m-rc3
2001-07-06 Harlan Stenn <stenn@whimsy.udel.edu>
* ntp_update: COPYRIGHT needs a touch.
From: Mike Stump <mrs@kithrup.com>
2001-07-04 Harlan Stenn <stenn@whimsy.udel.edu>
* html/config.htm: Major cleanup.
From: Martin Janzen <janzen@pixelmetrix.com>
* configure.in (rt library check): Don't look for -lrt under
Linux. Under glibc-2.1.2 and -2.2.2 (at least), the POSIX-
compatibility real-time library does strange things with threads
as other processes and we're getting lots of complaints about it.
Reported by: Juha Sarlin <juha@c3l.com>
2001-06-30 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver35.htm: Update email address.
2001-06-25 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c (oncore_msg_BaEaHa): Fix wrong offset for
rsm.bad_almanac
From: Reynir Siik <reynir@royal.net>
2001-06-12 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99m-rc2
2001-06-10 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c:
* include/ntp_config.h: includefile config keyword support
From: Dean Gibson <timekeeper@tcp-udp.net>
2001-06-08 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99m-rc1b
* ntpd/refclock_true.c (true_debug): Bump some buffer sizes to
reduce/eliminate chance of buffer overflow. Use snprintf()
instead of sprintf(). Do a better job of opening the debug file.
* ntpd/ntp_control.c (ctl_getitem): Count overflow packets as bad
and return a BADFMT.
* ntpd/ntp_config.c (save_resolve): call fdopen() with the correct
mode.
From: Bela Lubkin <belal@sco.com>
2001-06-03 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp.h (RES_ALLFLAGS): Add RES_DEMOBILIZE.
From: Dean Gibson <timekeeper@tcp-udp.net>
* configure.in: 4.0.99m-rc1a
2001-06-02 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_refclock.c (refclock_open): Add O_NOCTTY to the open()
flags when opening a serial port.
Reported by: joseph lang <tcnojl1@earthlink.net>
2001-05-31 Harlan Stenn <stenn@whimsy.udel.edu>
* html/notes.htm: Typo fix.
From: John Stone <johns@ks.uiuc.edu>
* configure.in: 4.0.99m-rc1
* html/monopt.htm: Typo fix.
* html/confopt.htm: Cruft removal.
From: John Stone <johns@ks.uiuc.edu>
2001-05-30 Harlan Stenn <stenn@whimsy.udel.edu>
* README.cvs: More updates and cleanup.
* ntpd/ntp_loopfilter.c (loop_config):
Check against STA_NANO instead of (NTP_API > 3) to catch kernels
that were rolled while the spec was evolving.
From: John.Hay@icomtek.csir.co.za
* README.cvs: Note that we want to check out NTP into a clean
subdir.
Reported by jrd@cc.usu.edu (Joe Doupnik)
2001-05-27 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k40
* include/ntp_refclock.h: Median Filter (SAMPLE - macro) - change
to use most recent MAXSTAGE entries when the filter overflows (ie
driver poking say once per second with poll > MAXSTAGE) rather
than blocking after MAXSTAGE entries (turf oldest rather than turf
most recent).
From: John Woolner <vk1et@tpg.com.au>
* ntpd/refclock_true.c:
a. Don't cream pp->a_lastcode when we get a <cr><lf> pair
b. Fix up pp->leap handling to work correctly
c. clear CEVNT_BADTIME etc warnings when we get good clock
CEVNT_NOMINAL.
From: John Woolner <vk1et@tpg.com.au>
* kernel/sys/pcl720.h:
Add support for the XL clock to refclock_true.c
From: Paul A Vixie <vixie@mfnx.net>
* ntpd/ntp_loopfilter.c (local_clock): One more attempt at
"improving" the panic message.
2001-05-26 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_func_ctty_for_f_setown): BSDI3 needs a ctty
for F_SETOWN, too.
From: Paul A Vixie <vixie@mfnx.net>
2001-05-24 Harlan Stenn <stenn@whimsy.udel.edu>
* html/ntpd.htm: Typo.
From: John Stone <johns@ks.uiuc.edu>
2001-05-23 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k39
* ntpd/ntp_loopfilter.c (local_clock): huffpuff cleanup/improvements.
(huffpuff): Cleanup/improvements.
(loop_config): huffpuff initialization cleanup/improvements.
From: Dave Mills, Terje, Mark, and John?
2001-05-22 Harlan Stenn <stenn@whimsy.udel.edu>
* html/release.htm:
* html/ntpd.htm:
* html/miscopt.htm:
From: Dave Mills: Updates.
2001-05-21 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k38
* ntpd/ntp_proto.c (clock_filter): Huff-n-Puff and Popcorn
improvements.
* ntpd/ntp_loopfilter.c (local_clock): Debug cleanup
From: Dave Mills.
* include/ntp_syscall.h (ntp_gettime): Updated patch from Ulrich.
My original attempt was not backwards compatible.
2001-05-17 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_syscall.h (ntp_gettime): Fill in the tai member.
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
* configure.in: 4.0.99k37
* ntpd/ntp_proto.c (clock_filter): Lose "off", xtemp and ytemp,
and some obsoleted calculations. Set the peer->offset and
peer->delay from the filter stages.
* ntpd/ntp_loopfilter.c: Comment/document improvements.
(local_clock): correct the offset by one-half the difference
between the sample delay and minimum delay. Lose "mu" from the
debug message.
From: Dave Mills.
2001-05-15 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k36
* ntpd/ntp_loopfilter.c: Huff-n-puff cleanup
From: Dave Mills.
2001-05-14 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k35
* ntpd/refclock_atom.c (atom_ppsapi): set pps_enable=1 if
enb_hardpps.
* ntpd/ntp_timer.c: huffpuff support.
(init_timer): huffpuff support.
(timer): huffpuff support.
* ntpd/ntp_proto.c (init_proto): Initialize pps_enable to 0, not 1.
* ntpd/ntp_loopfilter.c (CLOCK_HUFFPUFF): Added.
Add huff-n-puff filter variables.
(local_clock): Lose "pps sync enabled" log noise.
(huffpuff): Added.
(loop_config): LOOP_MINPOLL and LOOP_ALLAN were missing the
trailing break; add LOOP_HUFFPUFF.
* ntpd/ntp_config.c: tinker huffpuff added.
(getconfig): CONF_CLOCK_HUFFPUFF support.
* include/ntpd.h: huffpuff() declaration.
* include/ntp_config.h (CONF_CLOCK_HUFFPUFF): Added.
* include/ntp.h (HUFFPUFF): Added.
(LOOP_HUFFPUFF): Added.
From: Dave Mills.
2001-05-11 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver20.htm: Reality check.
* ntpd/refclock_nmea.c: Comment cleanup
From: John Woolner <vk1et@tpg.com.au>
* html/release.htm: Cleanup (at least).
* html/refclock.htm: Cleanup (at least).
* html/kern.htm: Cleanup (at least).
* html/index.htm: Cleanup (at least).
* html/extern.htm: Cleanup (at least).
* html/driver1.htm: Cleanup (at least).
* html/debug.htm: Cleanp (at least).
* html/accopt.htm: KoD documentation update.
From: Dave Mills.
* configure.in: 4.0.99k34
* ntpd/ntp_util.c (record_loop_stats): values are now passed in.
* ntpd/ntp_loopfilter.c (local_clock): pass the values to
record_loop_stats().
* include/ntpd.h: Pass the parameters in to record_loop_stats().
With the discipline loop opened (disable ntp) the local clock
updates were not being sent to loopstats. That now is.
From: Dave Mills.
2001-05-10 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k33
* ntpd/ntp_proto.c (receive): Validate the source port. Lose
NTPv1 support.
* ntpd/ntp_loopfilter.c (local_clock): Sanity check sys_poll
earlier instead of later.
From: Dave Mills.
* ntpd/refclock_oncore.c (oncore_msg_any): We don't always have
GETTIMEOFDAY().
2001-05-09 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_shm.c (shm_poll): Apply JAN_1970 correction after
calling TVTOTS(), just like everybody else does.
From: David Malone <dwmalone@maths.tcd.ie>
* ntpd/refclock_ulink.c: fixed 33x quality flag, added more
debugging stuff, updated 33x time code explanation.
From: s.l.smith (via j.c.lang).
2001-05-08 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k32
* ntpd/ntp_loopfilter.c: rstclock now takes a 3rd argument, the
last offset.
(init_loopfilter): Use it.
(local_clock): Use it. Clean up the code.
(loop_config): Use it.
(rstclock): Implement it. Clean up the code.
From Dave Mills.
2001-05-06 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k31
* ntpdc/ntpdc_ops.c (sysstats): That's 'bad packet format'
(instead of '... length'), and 'packets rejected' (instead of
'limitation rejects'.
* ntpd/ntp_proto.c (receive): PUBKEY fixes. Move KoD stuff to
process_packet().
(process_packet): Move KoD stuff here...
(peer_clear): Unspec the stratum, too.
(clock_filter): Don't update peer->epoch here. Fix the filter
test when checking the epoch.
(fast_xmit): Send back STRATUM_UNSPEC on a KoD packet.
(init_proto): Initialize sys_jitter.
* ntpd/ntp_loopfilter.c: rstclock() takes 2 parameters now.
(init_loopfilter): Use it...
(local_clock): Ditto, and change the "mu" calculation. Improve
the jitter test in S_SYNC. Use peer->epoch (not current_time) to
update the last_time. Update debug info.
(rstclock): 2nd arg - the epoch to use. Use it.
(loop_config): update call to rstclock.
From: Dave Mills.
2001-05-01 Harlan Stenn <stenn@whimsy.udel.edu>
* ports/winnt/ntpd/ntpd.dsp: Add cmd_args.c
From: Wink Saville <wink@saville.com>
2001-04-29 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpq/ntpq.c (tstflags): 11 now.
From: John Cochran <jdc@fiawol.org>
* ntpd/ntp_proto.c (receive): KoD updates. Improve the comments.
Lose the AM_PROCPKT restrictions test.
(peer_xmit): Check/report on no encryption key in packet.
(fast_xmit): Use peer_xmit's new packet length check code.
From Dave Mills.
2001-04-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k30
2001-04-27 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpdc/ntpdc_ops.c: Added "kod", lost "demobilize".
* ntpd/ntp_config.c: Added "kod" keyword. Lose "demobilize" keyword.
* html/release.htm: Updated.
* html/accopt.htm: Updated.
From: Dave Mills.
* ntpq/ntpq.c: Reorder and add some TEST flag bits.
* ntpd/ntp_proto.c (transmit): Also bail if access denied.
(receive): Lose RES_DEMOBILIZE and (some?) RES_DONTSERVE and
RES_LIMITIED stuff. Update Kiss-Of-Death (KoD) docs.
Call fast_xmit with new 3rd parameter (restrict_mask).
Before checking for an authentic packet, check the restrict_mask
for RES_{DONTSERVE,LIMITED,NOPEER}.
Check restrictions in AM_PROCPKT case.
(peer_clear): Don't lose the stratum if the peer->flags don't
indicate FLAG_REFCLOCK.
(fast_xmit): Take restrict mask as a new argument, and handle
KoD. Reorder some code.
From: Dave Mills.
2001-04-26 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpdc/ntpdc_ops.c: restrict/unrestrict support for version and
demobilize. Implement demobilze.
* ntpd/ntp_proto.c (receive): Improve version testing, including
RES_DEMOBILIZE support.
(fast_xmit): Patches to kiss-of-death packet.
* ntpd/ntp_loopfilter.c (local_clock): S_SYNC case now also checks
abs(clock_offset) against CLOCK_PGATE*sys_jitter.
* ntpd/ntp_config.c: CONF_RES_DEMOBILIZE/demobilize support.
* include/ntp_config.h (CONF_RES_DEMOBILIZE): Added.
* include/ntp.h (RES_DEMOBILIZE): Added.
From Dave Mills.
2001-04-25 Harlan Stenn <stenn@whimsy.udel.edu>
* html/accopt.htm: Document the "version" parameter
From Dave Mills.
* ntpd/ntp_proto.c (fast_xmit): Implement DENY mode.
From Dave Mills.
* ntpd/ntp_config.c: Add the "allan" tinker variable.
From: Juha Sarlin <juha@c3l.tyreso.se>
* ntpd/refclock_hopfpci.c (hopfpci_start): Lose the "correct_any"
stuff - it's both obsolete and wrong.
* ntpd/ntp_proto.c (receive): Keep track of packet versions.
Implement RES_LIMITED.
* include/ntp_config.h (CONF_RES_LIMITED):
* include/ntp.h (RES_LIMITED): Leave the bits in the original
order.
From Dave Mills.
* util/timetrim.c:
* util/Makefile.am:
* ntpdc/ntpdc_ops.c:
* ntpd/refclock_nmea.c:
* libntp/snprintf.c:
* configure.in:
* configure:
* config.h.in:
* aclocal.m4:
* acconfig.h:
Lint cleanup from: Marc Brett <mbrett@rgs0.london.waii.com>
* ntpd/ntp_config.c: Add "version" support.
(getconfig): version support.
* include/ntp_config.h (CONF_RES_VERSION): Added.
* include/ntp.h (RES_VERSION): Added.
From: Dave Mills.
* include/ntp_machine.h (ifreq): WinNT cleanup
2001-04-23 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k29
* html/miscopt.htm: Document the "allan" tinker variable.
* ntpd/ntp_proto.c (clock_filter): Update comments. Lose etemp;
we now use allan_xpt for this.
* ntpd/ntp_loopfilter.c: Added allan_xpt as a tinker variable.
Reorganize variables and improve comments.
(local_clock): Improve comments, use (new) allan_xpt instead of
CLOCK_ALLAN. Fix test in S_SYNC state. Update debug info.
(rstclock): No longer force allan_xpt to CVLOCK_ALLAN in S_FREQ,
S_SYNC, or default case.
(loop_config): Document dangerous tinker variables, and add
LOOP_ALLAN to the list.
* include/ntp_config.h (CONF_CLOCK_ALLAN): Added.
* include/ntp.h (LOOP_ALLAN): Added.
Allan intercept fixes from Dave Mills.
* scripts/mkver.in: Use the C locale so the dates come out in a
consistent format.
From: ASANO Naoyuki <n_asano@imjp.co.jp>
* build: Run "config.status" before the "make" because it probably
saves time and trouble. Probably...
* flock-build: Try building sequentially.
2001-04-22 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_make_tickadj): Fix it right...
* util/ntp-genkeys.c: extern config_netinfo, too.
* util/hist.c:
* ntptrace/ntptrace.c:
* ntpq/ntpq.c:
* ntpdc/ntpdc.c:
* ntpdate/ntptimeset.c:
* ntpdate/ntpdate.c:
* ntpd/refclock_parse.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_jupiter.c:
* ntpd/ntp_refclock.c:
* ntpd/ntp_io.c:
* libparse/clk_wharton.c:
* libparse/clk_varitext.c:
* libparse/clk_trimtaip.c:
* libparse/clk_schmid.c:
* libparse/clk_rcc8000.c:
* libparse/clk_rawdcf.c:
* libparse/clk_meinberg.c:
* libparse/clk_hopf6021.c:
* libparse/clk_dcf7000.c:
* libparse/clk_computime.c:
Lint. From: Simon Burge <simonb@wasabisystems.com>
2001-04-21 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_nmea.c (nmea_receive): Fixes.
From: John Woolner <vk1et@tpg.com.au>
* util/ntp-genkeys.c: Declare check_netinfo, don't define it.
From: Jack Bryans <jbryans@csulb.edu>
* configure.in (RSASRCS): rsaref2 needs digit.h (I thought I fixed
this already).
* configure.in (CFLAGS): Disable -Wconversion, enable
-Wmissing-prototypes, and allow for -Werror.
From: Simon Burge <simonb@wasabisystems.com>
* util/ntp-genkeys.c (main): Reset the standard mask so the
symlinks are created with the standard mask.
* configure.in: 4.0.99k28
* ntpd/ntpd.c (ntpdmain): Use mode_t for umask value.
* util/ntp-genkeys.c: Create files with the right umask.
* util/ntp-genkeys.c: config_file should be declared, not defined.
* ntpd/refclock_mx4200.c (mx4200_pps): debug cleanup.
* ntpd/refclock_hopfser.c: If we're not using it, provide the _bs.
* ntpd/refclock_heath.c (heath_receive): Add missing "break"
statements.
* ntpd/ntp_proto.c: Lose extra definition of mode_ntpdate.
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Put RSASRCS
on the same line as rsaref.h to improve portability.
* libntp/msyslog.c: Lint cleanup.
From: Marc.Brett@westerngeco.com
* util/ntp-genkeys.c:
* ntpdate/ntpdate.c:
* ntpd/ntp_config.c: Netinfo header reorder.
From: Jack Bryans <jbryans@csulb.edu>
* configure.in: timespec can be found by looking in goofy places
under SunOS.
2001-04-20 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_nmea.c: PPSAPI cleanup, default to RMC sentences,
handle milliseconds, multiple sentences, other good stuff.
From: John Woolner <vk1et@tpg.com.au>, Marc.Brett@westerngeco.com,
John.Hay@icomtek.csir.co.za
* ntpd/ntp_proto.c (receive): In the AM_NEWBCL case, return in all
cases at the end.
* ntpd/ntp_peer.c (newpeer): Check cast_flags against MDF_BCLNT,
not against MDF_BCAST.
* ntpd/ntp_loopfilter.c (local_clock): Lose debug info.
* ntpd/ntp_crypto.c (crypto_recv): Bugfix.
From: Dave Mills.
* configure.in: 4.0.99k27
* ntpd/ntp_loopfilter.c (local_clock): Check clock_panic > 0.
Check clock_max > 0.
* html/ntpd.htm: Cleanup.
* html/miscopt.htm: Cleanup.
* html/confopt.htm: Cleanup minpoll documentation.
From: Dave Mills.
2001-04-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/cmd_args.c (getstartup): check_netinfo needs an extern
declaration.
Reported by: Jack Bryans <jbryans@csulb.edu>
* configure.in (ac_cv_make_timetrim): Added.
* util/Makefile.am (bin_PROGRAMS): MAKE_TIMETRIM
Requested by: Jack Bryans <jbryans@csulb.edu>
* configure.in: 4.0.99k26
* util/ntp-genkeys.c:
* ntpd/refclock_oncore.c:
* ntpd/ntp_peer.c:
* libntp/msyslog.c:
* libntp/audio.c:
Lint cleanup.
From: Simon Burge <simonb@wasabisystems.com>
* ntpd/ntp_loopfilter.c (local_clock): debug message improvements
from Dave Mills.
* libntp/emalloc.c (emalloc): Tell people we are exiting if we log
an out-of-memory condition.
* util/ntp-genkeys.c (main): Don't allow '#' in a generated MD5
key. Reported by: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
2001-04-18 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (clock_update): minpoll cleanup.
(clock_select): minpoll cleanup.
(clock_filter): Bugfixes from Mark Martinec <Mark.Martinec@ijs.si>
* ntpd/ntp_loopfilter.c (rstclock): minpoll cleanup. Debug cleanup.
* ntpd/ntp_config.c (getconfig): Initialize/bounds check minpoll
using NTP_MINDPOLL insted of sys_minpoll.
From: Dave Mills.
2001-04-17 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/msyslog.c:
* ElectricFence/page.c (stringErrorReport): Follow Rainer's lead
and use strerror().
* ntpd/refclock_shm.c (shm_start): Always use strerror.
* libntp/msyslog.c (msyslog): Use strerror if present.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.
* ntpd/ntp_config.c (getconfig): Read stratum fudge value into
long variable.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* libparse/parsesolaris.c (rdchar): Cast ~0 to unsigned long.
* libntp/buftvtots.c (buftvtots): Allow for 8-byte tv_sec, tv_usec
in struct timeval.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2001-04-16 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (getconfig): move "tinker" so it's generally
available.
2001-04-15 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Look for getclock().
* ntpd/ntp_config.c (getconfig): Squawk if provided minpoll or
maxpoll values are out of range.
* ntpd/ntp_proto.c (poll_update): Some operations can only be done
if we're compiling with some REFCLOCKs.
From Dave Mills.
* configure.in (RSASRCS): Added.
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Use RSASRCS.
* configure.in: Limit the DECL_HSTRERROR_0 to aix4.3.*. RSN, we
could also limit it to xlc...
* configure.in: 4.0.99k25
* html/leap.htm: Added.
* html/index.htm: Update.
* html/driver7.htm: Update.
* html/driver6.htm: Update.
* html/driver36.htm: Update.
* html/audio.htm: Update.
* html/y2k.htm: Removed.
From Dave Mills.
2001-04-14 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h: Lose extra declarations of PACKAGE and VERSION.
* acconfig.h:
* configure.in:
* include/l_stdlib.h: DECL_HSTRERROR_0 needed for xlc under AIX 4.3.2.
Reported by: Harald Barth <haba@pdc.kth.se>
* ntpd/ntp_proto.c (proto_config): cal_enable (PROTO_CAL) is
invalid if no refclocks are present.
From: Frodo Looijaard <frodol@dds.nl>
* README.cvs: On some systems, the -C option fails.
* ntpd/refclock_nmea.c:
* ntpd/ntp_refclock.c:
* html/driver20.htm:
PPSAPI patches for NMEA driver.
From: John.Hay@icomtek.csir.co.za
* README.rsa: Describe RSAEuro support, provide alternate rsa.c
patch.
* configure.in: Check for rsaeuro1, RSAOBJS, RSADIR respectively.
* html/build.htm: Hint at rsaeuro1 directory.
* include/global.h (BYTE): Define.
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Removed rsaref2
specific sources.
(librsaref_a_LIBADD): Add appropriate objects.
(librsaref_a_DEPENDENCIES): Work around automake limitation.
(stamp-rsaref): Use RSADIR.
* scripts/README: Document ntp-close.
* scripts/Makefile.am (EXTRA_DIST): Distribute it.
* Makefile.am (DISTCLEANFILES): Remove .warning.
* librsaref/Makefile.am (DISTCLEANFILES): Remove copied/touched
librsaref sources, stamp-rsaref.
* ntpdate/Makefile.am (DISTCLEANFILES): Remove version.c.
* ntpq/Makefile.am (DISTCLEANFILES): Likewise.
* parseutil/Makefile.am (DISTCLEANFILES): Remove $(EXTRA_PROGRAMS).
Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/ntp_control.c: Header cleanup
2001-04-13 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Properly align --help output.
Explain ElectricFence.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/ntp_loopfilter.c (local_clock): Lose debugging statements.
* ntpd/ntp_proto.c (clock_filter): Rewrite.
From: Dave Mills
* ntpd/ntp_control.c (ctl_getitem): msyslog() possible buffer
overflow exploit.
* configure.in: 4.0.99k24
* html/pic/radio2.jpg:
* html/release.htm:
* html/refclock.htm:
* html/pps.htm:
* html/ntpd.htm:
* html/miscopt.htm:
* html/driver22.htm:
* html/confopt.htm:
Updated documentation from Dave Mills.
* util/ntp-genkeys.c: sys_minpoll.
* ntpd/refclock_atom.c: Comment additions.
* ntpd/ntp_proto.c: mode_ntpdate and peer_ntpdate added.
(transmit): We want 3, not 2, consecutive polls. hpoll logic
cleanup. mode_ntpdate changes.
(receive): When setting up a newpeer, use our sys_minpoll, not the
peer->ppoll.
(clock_update): sys_minpoll changes. Reorder some case 1 code.
Don't exit in case 2.
(poll_update): hpoll cleanup.
(peer_clear): u_rand. Use u_rand to randomize the initial poll.
* ntpd/ntp_peer.c (newpeer): Bump peer_ntpdate if we're in
mode_ntpdate.
* ntpd/ntp_loopfilter.c: Initialize sys_poll and sys_minpoll to
NTP_MINDPOLL.
(local_clock): Clean up some debug/info messages.
(rstclock): Use sys_minpoll.
(loop_config): KERNEL_PLL sanity checks. LOOP_MINPOLL support.
* ntpd/ntp_crypto.c (crypto_recv): Turn off FLAG_AUTOKEY when we
turn off TEST10.
* ntpd/ntp_control.c (ctl_getitem): Buffer overflow check. Clean
up some loop logic.
* ntpd/ntp_config.c: Added "tinker" and "minpoll". Use
sys_minpoll now, instead of old manifest constant.
(save_resolve): Print keyid using decimal, not hex. From Lars-Owe
Ivarsson <larsowe@paradisaea.its.uu.se>
* include/ntpd.h: Added peer_ntpdate and sys_minpoll.
* include/ntp_config.h (CONF_CLOCK_MINPOLL): Added.
* include/ntp.h: keyid cleanup. LOOP_* cleanup.
From Dave Mills.
2001-04-03 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (clock_filter): Swell stuff.
From: Mark Martinec <Mark.Martinec@ijs.si>
* ports/winnt/ntpd/ntpd.dsp:
* ports/winnt/ntpd/hopf_PCI_io.c:
* ports/winnt/include/hopf_PCI_io.h:
* ports/winnt/include/config.h:
* ntpd/refclock_hopfser.c:
* ntpd/refclock_hopfpci.c:
* ntpd/refclock_conf.c:
* ntpd/ntp_control.c:
* ntpd/Makefile.am:
* libntp/clocktypes.c:
* include/ntp.h:
* include/hopf6039.h:
* include/Makefile.in:
* include/Makefile.am:
* html/pic/fg6039.jpg:
* html/refclock.htm:
* html/driver39.htm:
* html/driver38.htm:
* html/copyright.htm:
Updated Oncore dudes.
* configure.in:
HOPF drivers and documentation.
From: Bernd Altmeier <altmeier@atlsoft.de> (with some light
hacking from Harlan to clean up indentation and lose the // comments)
* ntpd/refclock_oncore.c:
* ntpd/refclock_conf.c: Make it go.
From: Reg Clemens <reg@dwf.com>
* configure.in (openssl): Publish and default to RSAREF; hide
openssl, and only use it if explicitly requested (at least until
we work with it).
2001-04-02 Harlan Stenn <stenn@whimsy.udel.edu>
* html/y2k.htm:
* html/tickadj.htm:
* html/release.htm:
* html/refclock.htm:
* html/quick.htm:
* html/pps.htm:
* html/ntptrace.htm:
* html/ntptime.htm:
* html/ntpq.htm:
* html/ntpdc.htm:
* html/ntpdate.htm:
* html/ntpd.htm:
* html/miscopt.htm:
* html/index.htm:
* html/genkeys.htm:
* html/exec.htm:
* html/driver7.htm:
* html/driver22.htm:
* html/copyright.htm:
* html/confopt.htm:
* html/build.htm:
* html/authopt.htm:
* html/assoc.htm:
Updates from Dave Mills.
2001-04-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (OPENSSL): Just use -lcrypto.
Reported by Dave Mills.
2001-03-31 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k20
* ntpd/refclock_heath.c: Add support for GC-1000 II.
From Dave Mills.
* ntpd/ntp_proto.c (transmit): Check peer->unreach.
(peer_clear): peer->outdate is a f(BURST_INTERVAL1), not
NTP_MINPOLL.
* ntpd/ntp_loopfilter.c (local_clock): mode_ntpdate stuff.
* ntpd/ntp_crypto.c: OpenSSL/RSAREF support.
* ntpd/cmd_args.c: Use -q, not -z, for mode_ntpdate.
(getstartup): nofork on mode_ntpdate. Usage update.
* include/ntp_crypto.h: OpenSSL/RSAREF support.
From: Dave Mills.
* configure.in (rsaref): Buglet.
2001-03-30 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (clock_update): mode_ntpdate support.
* ntpd/ntp_loopfilter.c (local_clock): mode_ntpdate support.
* ntpd/cmd_args.c: Added -z (mode_ntpdate).
* include/ntpd.h: mode_ntpdate added.
* include/ntp_crypto.h: RSAREF/OPENSSL cleanup.
From: Dave Mills.
2001-03-29 Harlan Stenn <stenn@whimsy.udel.edu>
* config.h.in:
* aclocal.m4:
* configure.in: Prepare for OpenSSL support
2001-03-28 Harlan Stenn <stenn@whimsy.udel.edu>
* README.rsa: Note that RSAEURO will not work.
Reported by: pieter.delacourt@banksys.be
2001-03-25 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_if.h:
* include/ntp_machine.h:
* include/ntp_unixtime.h:
* libntp/humandate.c:
* libntp/iosignal.c:
* libntp/mktime.c:
* libntp/prettydate.c:
* libntp/systime.c:
* libntp/tvtoa.c:
* libntp/uglydate.c:
* libntp/utvtoa.c:
* libparse/clk_computime.c:
* libparse/clk_dcf7000.c:
* libparse/clk_hopf6021.c:
* libparse/clk_meinberg.c:
* libparse/clk_rawdcf.c:
* libparse/clk_rcc8000.c:
* libparse/clk_schmid.c:
* libparse/clk_trimtaip.c:
* libparse/clk_trimtsip.c:
* libparse/clk_varitext.c:
* libparse/parse.c:
* libparse/parse_conf.c:
* ntpd/check_y2k.c:
* ntpd/ntp_config.c:
* ntpd/ntp_control.c:
* ntpd/ntp_intres.c:
* ntpd/ntp_io.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntp_monitor.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_refclock.c:
* ntpd/ntp_request.c:
* ntpd/ntp_resolver.c:
* ntpd/ntp_timer.c:
* ntpd/ntp_util.c:
* ntpd/ntpd.c:
* ntpd/refclock_acts.c:
* ntpd/refclock_arbiter.c:
* ntpd/refclock_arc.c:
* ntpd/refclock_as2201.c:
* ntpd/refclock_atom.c:
* ntpd/refclock_bancomm.c:
* ntpd/refclock_chronolog.c:
* ntpd/refclock_chu.c:
* ntpd/refclock_datum.c:
* ntpd/refclock_dumbclock.c:
* ntpd/refclock_fg.c:
* ntpd/refclock_gpsvme.c:
* ntpd/refclock_heath.c:
* ntpd/refclock_hpgps.c:
* ntpd/refclock_irig.c:
* ntpd/refclock_jupiter.c:
* ntpd/refclock_leitch.c:
* ntpd/refclock_local.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_mx4200.c:
* ntpd/refclock_nmea.c:
* ntpd/refclock_oncore.c:
* ntpd/refclock_pcf.c:
* ntpd/refclock_pst.c:
* ntpd/refclock_shm.c:
* ntpd/refclock_tpro.c:
* ntpd/refclock_trak.c:
* ntpd/refclock_true.c:
* ntpd/refclock_ulink.c:
* ntpd/refclock_usno.c:
* ntpd/refclock_wwv.c:
* ntpd/refclock_wwvb.c:
* ntpdate/ntpdate.c:
* ntpdate/ntptime_config.c:
* ntpdate/ntptimeset.c:
* ntpdc/ntpdc.c:
* ntpdc/ntpdc_ops.c:
* ntpq/ntpq.c:
* ntpq/ntpq_ops.c:
* ntptrace/ntptrace.c:
* parseutil/testdcf.c:
* util/hist.c:
* util/ntp-genkeys.c:
* util/ntptime.c:
* util/precision.c:
* util/tickadj.c:
time.h and sys/time.h cleanup.
2001-03-24 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '99k19
* ntpd/refclock_atom.c (atom_ppsapi): PPS API RFC alignment patches.
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
* util/ntptime.c: MNT options
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
* ntpd/ntp_refclock.c (refclock_newpeer): Lose "extra" free().
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
* configure.in: 4.0.99k18 and auto* upgrade
2001-03-14 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpdc/ntpdc_ops.c (printpeer): No more "valid".
* ntpd/ntp_request.c (peer_info): No more "valid".
* ntpd/ntp_refclock.c (refclock_transmit): valid/hpoll cleanup.
* ntpd/ntp_proto.c (transmit): valid/hpoll and peer->ttl cleanup.
peer->valid/oreach cleanup.
(receive): Call newpeer() with the pkt->ppoll, not
NTP_MINDPOLL (in several places).
In AM_NEWPASS, if we have a NULL peer, return.
(poll_update): Added xpoll definition, fixed oldpoll definition.
Algorithmic improvements.
* ntpd/ntp_peer.c (newpeer): Better minpoll/maxpoll
initialization.
(resetmanycast): That's a poll_update() on an MDF_ACAST, not a
poll_clear().
* ntpd/ntp_crypto.c: include <fcntl.h>.
(crypto_recv): Leave the crypto_flags alone when wiggling the
peer-> stuff.
(crypto_cert): Make room for daddy. Do a real open() on the cert
file. Read the cert. Initial hack and slash. Better debug info.
* ntpd/ntp_control.c: CP_VALID now does "unreach".
(ctl_putpeer): Ditto.
* include/ntp_request.h: info_peer gets a placeholder for "valid".
* include/ntp_crypto.h (CRYPTO_FLAG_CERT): Comment update.
* include/ntp.h: Lose "valid" from struct peer.
From: Dave Mills.
2001-03-05 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (transmit): hpoll calc logic cleanup.
(receive): New cert stuff.
(poll_update): Improvements.
(peer_clear): New cert stuff.
(peer_xmit): New cert stuff.
* ntpd/ntp_crypto.c: New cert stuff, documentation cleanup. Lose
extraneous poll_uopdate()s.
* ntpd/ntp_control.c: Deal with new cert stuff.
* ntpd/ntp_config.c (getconfig): Handle CONF_CRYPTO_CERT.
* include/ntp_crypto.h (CRYPTO_FLAG_CERT): Added.
(CRYPTO_CERT): Added.
(CRYPTO_CONF_CERT): Added.
Add declaration for struct value certif.
* include/ntp_control.h (CS_CERTIF): Added.
(CP_CERTIF): Added.
* include/ntp_config.h (CONF_CRYPTO_CERT): Added.
* include/ntp.h (TEST10,TEST11): New meaning. Add certif to
struct peer.
(FLAG_PROVEN): Added.
(MAX_EXT_LEN): Removed.
exten grew from 672/4 to 5000/4 for PUBKEY.
From: Dave Mills.
2001-03-03 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (transmit): Documentation cleanup.
(receive): Watch for NULL peer->pubkey.ptr (TEST11).
(poll_update): peer->nextdate, not ->outdate. More cleanup around
the disabled PUBKEY chunk.
* ntpd/ntp_crypto.c (make_keylist): ltemp might be smaller than
sys_automax - check peer->kpoll, too. Other ltemp cleanup.
(crypto_recv): fstamp is a PUBKEY-only variable.
* include/ntp.h (NTP_AUTOMAX): 13, not 12.
From: Dave Mills.
2001-03-01 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (transmit): hpoll cleanup. Call clock_select()
after calling poll_update, not before.
(receive): Call poll_update after crypto_recv if FLAG_SKEY.
(process_packet): Set peer->ppoll Later.
(poll_update): peer->hpoll sanity checking. Set peer->outdate,
not ->nextate, when burst > 0. MDF_ACAST cleanup.
(clock_select): Fix hpoll typo in call to poll_update().
* ntpd/ntp_crypto.c (crypto_xmit): tstamp's value is a function of
PUBKEY.
* include/ntp.h (clear_to_zero): #define value is a function of
AUTOKEY.
From: Dave Mills.
2001-02-28 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (transmit): Documentation/code update.
(poll_update): Sanity check peer->hpoll. Improve debug info.
(peer_clear): Improve debug info. Turn off FLAG_ASSOC in addition
to FLAG_AUTOKEY.
(clock_select): peer->status is CTL_PST_SEL_DISTSYSPEER, and don't
call poll_update(). Make each entry in the peer_list a
CTL_PST_SEL_SELCAND sooner, too. Rework similar logic later on.
Change debug level on some info.
(peer_xmit): Check peer->flags using FLAG_ASSOC, not
CRYPTO_FLAG_AUTO in a couple places. Don't call poll_update() if
sendlen > LEN_PKT_NOMAC.
* ntpd/ntp_loopfilter.c (local_clock): Improve debug info.
Sanity-check sys_poll sooner.
* ntpd/ntp_crypto.c: New artwork.
(COOKIE_LEN,AUTOKEY_LEN,VALUE_LEN): New.
(make_keylist): More debug info. Use FLAG_ASSOC, not
CRYPTO_FLAG_ASSOC.
(crypto_recv): More debug info. Clean up/improve sanity checks on
CRYPTO_ASSOC and CRYPTO_RESP packets, and in other places.
(crypto_xmit): Clean up/improve sanity checks on CRYPTO_ASSOC and
CRYPTO_RESP packets. Use FLAG_ASSOC, not CRYPTO_FLAG_ASSOC. More
debug info.
* include/ntp.h (NTP_CANLOCK): Lose it.
(clear_to_zero): is now "assoc".
(FLAG_ASSOC): Added.
From: Dave Mills
2001-02-23 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpdate/ntpdate.h (NTP_MAXAGE): Added.
* ntpd/ntp_refclock.c (refclock_receive): Cleanup.
* ntpd/ntp_proto.c (transmit): Don't reset peer->ppoll in one case.
Update peer->hpoll based on CTL_PST_SEL_CORRECT, not FLAG_SYSPEER.
Don't update peer->ppoll based on MDF_[BM]CAST.
(peer_clear): ppoll is initialized to maxpoll.
(clock_select): call poll_update(peer->hpoll) earlier.
(peer_xmit): Call poll_update later.
* ntpd/ntp_peer.c (peer_config): Rework initial values of [hkp]poll.
* ntpd/ntp_loopfilter.c (CLOCK_PHI): Added. Deal with other
(allow_*) stuff. Treat Windows/NT the same as others regarding
panic steps. Deal with tinker stuff.
* ntpd/ntp_config.c: Tinker stuff.
* ntpd/cmd_args.c (getCmdOpts): -g now wiggles "allow_panic"
(renamed from "correct_any"). -x now wiggles "allow_step"
(renamed from "allow_step_backward").
* include/ntpd.h: Add tinker variables. Rename/rework variables
associated with "permission to step" and "permission to make a
panic correction"
* include/ntp_config.h (CONFIG_TINKER): Added.
(CONF_CLOCK_MAX): Tinker keyword
(CONF_CLOCK_PANIC): Tinker keyword
(CONF_CLOCK_PHI): Tinker keyword
(CONF_CLOCK_MINSTEP): Tinker keyword
* include/ntp.h (NTP_MINCLOCK): Tinker and other cleanup.
From: Dave Mills
2001-02-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (transmit): Don't peer_clear() and reset
minpoll unconditionally; make sure the peer is configured.
(poll_update): When updating peer->ppoll, check on BCAST and
MCAST, not ACAST
(peer_clear): PUBKEY cleanup. Zero out the peer structure
earlier. Initialization cleanup/fixes.
(peer_xmit): CRYPTO_FLAG_AUTO is in peer->flags now.
(key_expire): Debug output.
* ntpd/ntp_peer.c (unpeer): PUBKEY cleanup.
(newpeer): peer variable setup cleanup.
* ntpd/ntp_crypto.c (make_keylist): Keep CRYPTO_FLAG_AUTO in
peer->flags, not crypto_flags.
(crypto_xmit): Ditto.
(crypto_recv): Fix up RV_TSP logic (several places).
* include/ntp.h (clear_to_zero): Moved...
From: Dave Mills.
2001-02-14 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (peer_xmit): Crypto-related fixes
From Dave Mills.
* ntpd/ntp_crypto.c (crypto_recv): Allocate space for the trailing
NUL on the keystr.
2001-01-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k17
* ntpd/refclock_local.c (STRATUM): 3 -> 5
* ntpd/ntp_proto.c: sys_maxd -> sys_selerr, sys_epsil ->
sys_syserr. various cleanups and improvements.
From: Dave Mills.
2001-01-19 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k16
* config.h.in: Regenerated - became empty somehow.
Reported by John.Hay@icomtek.csir.co.za
* ntpd/ntp_proto.c (clock_select): Fix sdisp calculation.
From Dave Mills.
* util/ntp-genkeys.c:
* ntpd/refclock_chu.c:
* ntpd/refclock_atom.c:
* ntpd/ntpd.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntp_io.c:
* ntpd/cmd_args.c:
* libntp/audio.c:
* include/l_stdlib.h:
* html/copyright.htm:
Lint fixes (Thanks bunches!)
From: Marc.Brett@westerngeco.com
2001-01-18 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k15
* ntpd/ntp_proto.c (clock_select): Track error[] items sooner.
Typo grabbing the dtemp value and in the sdisp calculation.
From Dave Mills.
2001-01-17 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k14
* ntpd/ntp_proto.c: Change description of sys_rootdelay and
sys_rootdispersion.
(process_packet): Fix p_del test (bad distance).
(process_packet): Fix bad synch distance test.
(process_packet): Fix call to clock_filter (p_disp)
(clock_update): Fix sys_rootdelay calculation.
(clock_filter): Initialize jit to f(sys_precision)
(clock_filter): Update jit using distance[i] instead of
SQUARE(). peer->jitter uses dtemp instead of SQUARE().
(clock_filter): Updated CLOCK_SGATE checks. When printing debug
info, show jitter along with popcorn spike.
(clock_select): New sdisp calc.
(root_distance): New return value calc.
(peer_xmit): xpkt.rootdispersion value change.
* include/ntp.h (CLOCK_SGATE): Popcorn spike gate (Whoa, Molly!)
From Dave Mills.
2001-01-13 Harlan Stenn <stenn@whimsy.udel.edu>
* config.sub (Repository): Updated.
* config.guess (Repository): Updated.
* ntpd/ntp_loopfilter.c (local_clock): Just use sys_jitter in the
calculation for rootdispersion.
From Dave Mills.
2001-01-02 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (transmit): Fix documentation. Set
peer->outdate and call poll_update in a new place. Sanity checks
in the MODE_BROADCAST case.
(clock_select): Track the old peer. Use the old peer in
subsequent checks, where appropriate. Clean up unpeer() logic.
From Dave Mills.
2001-01-01 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_chu.c: Start using HAVE_AUDIO.
* ntpd/ntp_proto.c (clock_select): If about to discard an
ephemeral association, do it only if not the system peer.
From Dave Mills.
* html/pic/wingdorothy.gif:
* html/pic/bustardfly.gif:
* html/pic/boom3a.gif:
* html/pic/tonea.gif:
* html/pic/stack1a.jpg:
* html/pic/pogoa.gif:
* html/pic/pogo8.gif:
* html/pic/pogo6.gif:
* html/pic/pogo5.gif:
* html/pic/pogo4.gif:
* html/pic/pogo3.gif:
* html/pic/pogo1.gif:
* html/pic/oz2.gif:
* html/pic/flatheads.gif:
* html/pic/boom4.gif:
* html/pic/boom3.gif:
* html/pic/appletree.gif:
* html/pic/alice51.gif:
* html/pic/alice44.gif:
* html/pic/alice35.gif:
* html/pic/alice31.gif:
* html/pic/alice15b.gif:
* html/pic/alice13.gif:
* html/pic/alice11.gif:
* html/release.htm:
* html/rdebug.htm:
* html/prefer.htm:
* html/porting.htm:
* html/ntptrace.htm:
* html/ntpq.htm:
* html/ntpdate.htm:
* html/monopt.htm:
* html/kernpps.htm:
* html/index.htm:
* html/hints.htm:
* html/gadget.htm:
* html/driver7.htm:
* html/copyright.htm:
* html/config.htm:
* html/build.htm:
* html/authopt.htm:
* html/assoc.htm:
* html/accopt.htm:
Cleanup from Dave Mills.
2000-12-30 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k13
* ntpd/refclock_wwv.c (wwv_start): Call audio_init with DEVICE_AUDIO.
* ntpd/refclock_irig.c (irig_start): Call audio_init with DEVICE_AUDIO.
* ntpd/refclock_chu.c: Documentation cleanup.
(DEVICE_AUDIO): Added.
(fd_audio): Added.
(chu_start): Separate audio from serial device.
(chu_receive): Rewrite - get data from serial or audio device as
appropriate.
(chu_audio_receive): Renamed (from chu_receive) to allow both
audio and serial capability.
(chu_serial_receive): Ditto.
(chu_decode): Do the Right Thing based on audio/serial data.
* ntpd/ntp_refclock.c (refclock_open): Check for failure using <0
instead of ==-1.
* libntp/audio.c: Header cleanup, and remove
HAVE_STRUCT_AUDIO_INFO_* related fields.
(audio_init): Func arg is device to attempt to open.
* include/audio.h (audio_init): Now takes a char * argument.
From Dave Mills.
* configure.in (ntp_refclock): HAVE_AUDIO added. Remove
HAVE_STRUCT_AUDIO_INFO_* stuff; Dave rewrote the audio stuff.
2000-12-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k12
2000-12-27 Harlan Stenn <stenn@whimsy.udel.edu>
* html/release.htm:
* html/patches.htm:
* html/measure.htm:
* html/confopt.htm:
* html/clockopt.htm:
* html/biblio.htm:
* html/authopt.htm:
* html/assoc.htm:
Updates from Dave Mills.
* include/ntp_crypto.h: Make sure crypto_flags is visible.
From Dave Mills.
2000-12-14 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (process_packet): pleap/pstratum.
(peer_xmit): Use CRYPTO_FLAG_AUTO.
* ntpd/ntp_crypto.c (make_keylist): Use CRYPTO_FLAG_AUTO. Only
sign host name and timestamps if the clock is synched.
* include/ntp_crypto.h (CRYPTO_FLAG_AUTO): Added.
From: Dave Mills
2000-12-11 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (transmit): Call clock_select in a few new
places. BURST/IBURST cleanup. Don't turn off FLAG_BURST at the
EOburst.
(receive): Set peer->unreach = 0 before we call process_packet().
(process_packet): ditto, before calling poll_update(). Lose some
debugging, MODE_BCLIENT/CLIENT cleanup.
(poll_update): Bump nextupdate on FLAG_REFCLOCK, not _REFCLOCK or
_IBURST.
(peer_clear): Don't set IBURST on MDF_BCLNT.
From: Dave Mills.
* ntpdate/ntpdate.c (alarming): Appease ansi2knr.
2000-12-10 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_control.c (ctl_putpeer): CP_TTL and CP_TTLMAX
MDF_ACAST and MDF_MCAST cleanup.
* ntpd/refclock_wwv.c (wwv_start): ttlmax/ttl cleanup.
* ntpd/refclock_usno.c (usno_timeout): ttlmax/ttl cleanup.
* ntpd/refclock_parse.c (CLK_REALTYPE): ttlmax/ttl cleanup.
* ntpd/refclock_chu.c (chu_start): ttlmax/ttl cleanup.
* ntpd/refclock_acts.c (acts_timeout): ttlmax/ttl cleanup.
* ntpd/ntp_refclock.c (refclock_newpeer): Don't do the
any_interface -> loopback_interface trick.
* ntpd/ntp_proto.c (transmit): Broadcast/manycast cleanup.
* ntpd/ntp_peer.c: Cleanup.
* ntpd/ntp_io.c: Cleanup.
* ntpd/ntp_crypto.c (crypto_recv): AUTOKEY based on BCLNT, not MCAST2.
* include/ntpd.h: Declare findbcastinter().
* include/ntp.h: struct peer's ttlmax is now max ttl/refclock
mode. ttl is now ttl for manycast mode.
(FLAG_MCAST): Reworked several FLAG_ bits.
From Dave Mills.
2000-12-05 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpq/ntpq.c: CP_TTLMAX support.
* ntpd/ntp_proto.c (transmit): MDF_ACAST ttl fixes.
* ntpd/ntp_peer.c (resetmanycast): Reset ttl if MDF_ACAST.
(peer_config): Save max ttl in ttlmax.
* ntpd/ntp_control.c: ttlmax support.
* include/ntp_control.h (CP_TTLMAX): Added.
* include/ntp.h: Added ttlmax to struct peer.
Dave Mills.
2000-12-03 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (receive): That any_interface is now an
rbufp->dstadr.
Various other doc and code cleanup.
* ntpd/ntp_peer.c (findmanycastpeer): Fixes
From Dave Mills
2000-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_request.c (do_conf): call peer_config with
any_interface, not 0.
* ntpd/ntp_proto.c (transmit): Manycast cleanup
* ntpd/ntp_peer.c (findmanycastpeer): manycast cleanup
* ntpd/ntp_io.c (sendpkt): Only check ttl if we have a ttl
(findinterface): Cleanup
* ntpd/ntp_control.c: cleanup
* include/ntpd.h: Added resetmanycast.
* include/ntp_control.h (CP_TTL): disp -> ttl
* ntpq/ntpq.c: disp -> ttl
From Dave Mills
2000-11-26 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k11
* ntpd/ntp_proto.c (transmit):
* ntpd/ntp_peer.c:
* ntpd/ntp_io.c:
* ntpd/ntp_control.c (ctl_putpeer):
* ntpd/ntp_config.c (getconfig):
* include/ntpd.h: mcast/ucast interface cleanup.
From: Dave Mills
* include/ntp_request.h: Put data[] as MAXFILENAME+16. This will
fix the conf_peer requests again, but re-break compatibility with
old versions of the daemon. Sigh.
* util/ntp-genkeys.c (cleanlinks): Don't do it if nosymlinks.
2000-11-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_parse.c (rawdcf_init_1): make Linux happier with
some modem control stuff.
From: Wolfram Pienkoss <wp@bszh.de> (via Frank Kardel)
* ntpd/refclock_pcf.c (pcf_poll): isdst fix
From: Andreas Voegele <andreas.voegele@gmx.de>
2000-10-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k10
* ntpd/refclock_wwvb.c (wwvb_start): Cosmetic reorder.
* ntpd/refclock_atom.c (RANGEGATE): Cleanup. Add ASTAGE.
Add ppsparams to struct ppsunit.
(atom_start): Init peer->burst to ASTAGE.
(atom_shutdown): Multi-handle
(atom_pps): Multi-handle
(atom_pps): RANGEGATE cleanup
(atom_poll): Poll count cleanup. Error check cleanup. Burst cleanup.
* ntpd/ntp_refclock.c (refclock_transmit): Lose the pre-burst
check poll_update().
(refclock_sample): Fix the jitter calc.
(refclock_receive): Pass the jitter to the clock_filter().
* ntpd/ntp_proto.c (clock_update): If we lose sync, reset the poll
to NTP_MINDPOLL.
(poll_update): Poll wiggles. Make sure peer->nextdate is timely.
(clock_select): If we lose sync, reset the poll to NTP_MINDPOLL.
* ntpd/ntp_loopfilter.c (local_clock): Show the asocid in debug
output. popcorn debug message changes. Clamp the poll interval
if the system peer has changed. PPS wiggle changes.
From Dave Mills.
2000-10-16 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_pcf.c (pcf_start):
* html/driver35.htm:
The radio clock transmits 69 bits with a period of 2.5
milliseconds per bit. Thus the driver now sets the default
calibration offset to 0.1725 (69 * 2.5 = 172.5).
Its now possible to disable the check of the radio clock's
synchronisation status bit. Several users requested this option.
From: Andreas Voegele <andreas.voegele@gmx.de>
* html/refclock.htm:
* html/rdebug.htm:
* html/prefer.htm:
* html/pps.htm:
* html/ntpdc.htm:
* html/miscopt.htm:
* html/ldisc.htm:
* html/kern.htm:
* html/index.htm:
* html/exec.htm:
* html/driver22.htm:
* html/clockopt.htm:
Updates from Dave Mills
* ntpd/ntp_intres.c (request): Sanity check the size of the response
2000-10-15 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpq/ntpq_ops.c (dopeers): Dave didn't like the patch to show
the units on the times...
* ntpdc/ntpdc_ops.c (doset): SYS_FLAG_PPS cleanup
* ntpd/refclock_wwv.c (wwv_newchan): Update the peer refid if
we're talking to a stratum 0 source
* ntpd/refclock_trak.c: Needs PPS
* ntpd/refclock_oncore.c: Disable for now
* ntpd/refclock_mx4200.c: Needs PPSAPI, not PPS
Header cleanup. PPS interface cleanup.
Process sentences with a switch
Cleanup and sanity checks
* ntpd/refclock_datum.c: header cleanup, light body cleanup
* ntpd/refclock_conf.c: CLOCK_TRAK needs PPS
MX4200 needs PPSAPI, not PPS
Disable ONCORE for now
* ntpd/refclock_bancomm.c: Surgery
* ntpd/refclock_atom.c: Cleanup
(atom_control): added
(atom_ppsapi): added
* ntpd/ntp_request.c (setclr_flags): SYS_FLAG_PPS cleanup
* ntpd/ntp_refclock.c: stropts.h back in in TTYCLK and
HAVE_SYS_CLKDEFS_H
Get ntp_syscall if KERNEL_PLL
Define cal_enable
(refclock_receive): Cleanup
(refclock_control): sanity check procptr
* ntpd/ntp_proto.c (init_proto): pps_enable
(proto_config): Turn on/off PPS discipline
* ntpd/ntp_loopfilter.c: pps_enable
(local_clock): record_loop_stats() if !ntp_enable
(local_clock): Turn off PPS if it's not enabled
Other cleanup/fixes
* ntpd/ntp_config.c: pps and calibrate keywords. Initialize
pps_assert to 0, not 1 (swap assert/clear?)
* include/ntpd.h: We have pll_status if KERNEL_PLL
Added pps_enable and cal_enable
* include/ntp_request.h (SYS_FLAG_PPS): Renamed from
SYS_FLAG_AUTHENTICATE
* include/ntp.h (PROTO_PPS): Added
(PROTO_CAL): Added
From: Dave Mills
2000-09-23 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_refclock.h (stropts.h, sys/clkdefs.h): Harmful and
useless file include's turned off.
* libntp/iosignal.c (netinet/in.h, sys/sockio.h): Duplicate file
include's turned off.
* ntpd/ntp_refclock.c (ntp_tty.h): File included.
(refclock_open, refclock_ioctl): Use `TTY' from ntp_tty.h.
* ntpd/refclock_atom.c: Grab a few headers regardless; if we don't
CLOCK_ATOM we provide a stub pps_sample() routine so the WHARTON
can be compiled/used.
* ntpq/ntpq_ops.c (dopeers, doopeers): Print the units for
each column header.
Tue Sep 12 16:25:51 2000 Philippe De Muyter <phdm@macqel.be>
* ntpd/refclock_atom.c (atom_start): Lose "temp", because we now
initially either CAPTUREASSERT or CAPTURECLEAR.
(atom_pps): pps_info_t is our friend. Update comments to reflect
reality. DTRT with pps_info. Do some overflow checks.
From: Dave Mills.
2000-09-21 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Much improved Solaris patch-level check for the
FLL bug test.
From: Marc.Brett@westgeo.com
2000-09-19 Harlan Stenn <stenn@whimsy.udel.edu>
* include/Makefile.am (noinst_HEADERS): Added ntp_tty.h
Reported by Dave Mills
2000-09-16 Harlan Stenn <stenn@whimsy.udel.edu>
* ntptrace/ntptrace.c:
* ntpdate/ntptimeset.c (receive):
* ntpdate/ntpdate.c (receive):
STRATUM cleanup
* ntpd/refclock_atom.c (atom_poll): Autostratum. Lose the leap.
* ntpd/ntp_proto.c: sys_prefer
(process_packet): stratum cleanup
(clock_select): Autostratum the ATOM
* ntpd/ntp_loopfilter.c: pps_update/pps_stratum wiggle.
* include/ntpd.h: Lose pps_update, gain sys_prefer
* include/ntp.h: STRATUM variable cleanup
From Dave Mills
2000-09-13 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c (oncore_get_timestamp): Print debug
messages being aware of HAVE_STRUCT_TIMESPEC.
* ntpd/refclock_atom.c: Have pps_params tag along in the ppsunit
structure, where it really belongs.
(atom_pps): Use PPS_CAPTURE{ASSERT,CLEAR}
From: Dave Mills.
2000-09-12 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_var_atom_ok): Cleanup ATOM/PPSAPI stuff...
* scripts/ntp-close: Find "close" ntp servers.
From: Neal McBurnett <neal@bcn.boulder.co.us>
* ntpd/refclock_conf.c:
* ntpd/refclock_oncore.c: Re-enabled oncore driver for HAVE_PPSAPI
case only.
2000-09-12 Philippe De Muyter <phdm@macqel.be>
* ntpd/refclock_parse.c (we400a_pollinfo): Useless variable removed.
[WHARTON slot]: Set NO_POLL, NO_INIT and NO_DATA; fix `fixed format'
and `offset' fields.
* include/ntp_tty.h: New file
* libntp/icom.c: Use it.
* ntp_update (UPDATE_OPTIONS): Use -d, too. Fix Pass 1 comment.
2000-09-12 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c: shmem_fname added. oncore_init_shmem()
updated.
(oncore_start): Comment cleanup
(oncore_read_config): Move call to oncore_shmem_init()
(oncore_init_shmem): Prototype change
(oncore_init_shmem): Don't exit on errors
(oncore_msg_any): timespec/timeval cleanup
(oncore_msg_Cj_id): shmem_fname changes
(oncore_msg_BaEaHa): saw_At bugfix
(oncore_get_timestamp): Added current_mode/current_params. Commented.
Added time_pps_getcap() calls.
From: Reg Clemens <reg@dwf.com>
* ntpd/ntp_io.c (input_handler): Better recvfrom() error message
From: Dean Gibson <timekeeper@tcp-udp.net>
* ntpdc/ntpdc.c (passwd): Get them working again.
From: Benjamin Greenwald <beng@lcs.mit.edu>
2000-09-11 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_atom.c:
(atom_start):
* ntpd/ntp_refclock.c: Comment cleanup. PPS/PPSAPI cleanup
(refclock_open): PPS/PPSAPI cleanup
From: Dave Mills
* ntpd/refclock_oncore.c:
* ntpd/refclock_mx4200.c:
HAVE_TIMESPEC -> HAVE_STRUCT_TIMESPEC
* configure.in: ATOM requires struct timespec, not PPSAPI. Clean
up dependencies accordingly.
2000-09-09 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_var_atom_ok): Improve ATOM configure message
PARSE requires ATOM.
* ntpd/ntpd.c (set_process_priority): Clean up debug messages.
2000-09-07 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: ac_cv_atom_ok, depends on HAVE_PPSAPI.
I notice the PARSE clocks require ATOM. Could be interesting...
2000-09-06 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.in (distdir): Seems to be a bug in an automake library
somewhere...
2000-09-05 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_loopfilter.c (loop_config): V3 API needs MOD_BITS when
initializing ntv.modes. Initialize ntv.{maxerror,esterror,status}
earlier. Clean up KERNEL_PLL code.
2000-09-04 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpq/ntpq.c: report offset as "offset", not "phase". Lose
compliance.
* ntpd/refclock_local.c (local_poll): variance -> jitter
* ntpd/refclock_chu.c (chu_major): Lose variance.
* ntpd/ntp_util.c (hourly_stats): sys_error -> sys_jitter
(record_loop_stats): ditto
* ntpd/ntp_request.c (peer_info): variance -> jitter
* ntpd/ntp_refclock.c (refclock_sample): variance -> jitter
(refclock_receive): variance -> jitter
* ntpd/ntp_proto.c (process_packet): variance -> jitter
(clock_filter): variance -> jitter
(clock_select): variance -> jitter
(root_distance): variance -> jitter
* ntpd/ntp_peer.c (newpeer): variance -> jitter
* ntpd/ntp_loopfilter.c: Cleanup pll_nano selection bogon.
Centralize the kernel API data.
(local_clock): Lose sys_error.
(loop_config): Code cleanup.
* ntpd/ntp_control.c: Call offset "offset" and not "phase". Lose
CS_COMPLIANCE. Deal with variance/jitter rename.
* include/ntp_refclock.h: Rename variance to jitter in struct
refclockproc.
* include/ntp_control.h (CS_COMPLIANCE): Lose it.
* include/ntp.h: Rename variance to jitter in struct peer.
From: Dave Mills
2000-09-01 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_atom.c: Use the new ppsunit. Cleanup and improve
documentation.
* ntpd/ntp_refclock.c (refclock_sample): Don't accumulate
variance.
From Dave Mills
2000-08-31 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver22.htm: Update the docs.
* ntpd/refclock_atom.c (atom_start): Open the device if it hasn't
been opened already.
(pps_sample): Make it more visible.
From Dave Mills.
* configure.in: 4.0.99k8
Revert to the older automake.
* configure.in: The PPSAPI headers use "inline", so require a STDC
compiler.
* ntpd/refclock_atom.c (atom_shutdown): Typo
From Dave Mills
* configure.in: Convert to autoconf-2.49
* ntpd/refclock_atom.c: Header cleanup Comment cleanup. Lose the
TTYCLK stuff. Convert to PPSAPI.
* ntpd/ntp_refclock.c (refclock_newpeer): Move refclock_unpeer().
From: Dave Mills
2000-08-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure: Fix the autoconf problem...
2000-08-20 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 99k7
* util/ntptime.c (main): Report TAI stuff
* ntpq/ntpq.c: CS_COMPLIANCE/CS_JITTER cleanup
* ntpd/ntp_loopfilter.c (local_clock): sys_error/sys_jitter cleanup.
kernel PPL cleanup.
* ntpd/ntp_crypto.c: Check NTP_API if we're doing KERNEL_PLL so we
can get the TAI stuff.
* ntpd/ntp_control.c: CS_COMPLIANCE now reports "error" instead of
"jitter". CS_JITTER now reports jitter.
* include/ntpd.h: Added sys_jitter
* include/ntp_control.h (CS_JITTER): Added
From: Dave Mills
* ntpd/cmd_args.c (getCmdOpts): Crack -N at pre-scan, as we do the
priority wiggle before the final scan.
From: Tom Smith <smith@cag.lkg.dec.com>
We might do better to move the priority wiggle to after the final
scan. Especially if we want to permit command-line options to
have decent control over the priority. When we rewrite the config
file stuff we might go to a multi-scan to solve some of these
problems.
2000-08-19 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '99k6, and manually fix configure.
* include/ntp_request.h (NTP_MAXHOSTNAME): 144 -> 32
2000-08-18 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c (main): Don't call fclose if stream is NULL.
2000-08-17 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver35.htm:
* ntpd/refclock_pcf.c: Updates and improvements
From: Andreas Voegele <andreas.voegele@gmx.de>
* configure.in (ac_cv_struct_ntptimeval): Lose the TAI check - we
don't need it since we can check NTP_API. Re-hack the generated
configure script.
* configure: Manual hack to the ntptimeval.time.tv_nsec stuff
because we're running an old autoconf.
2000-08-16 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntptime.c: Use: HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC, it's
the standard name.
* configure.in: Look for struct ntptimeval.tai in sys/timex.h
Cleanup struct tptimeval member tests.
* util/ntp-genkeys.c: New command-line arguments
2000-08-14 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c (main): More small steps...
2000-08-13 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_crypto.c (crypto_rsa): Now that we're using
NTP_KEYSDIR, make sure there is a '/ between the dir and the file.
* util/ntp-genkeys.c (main): More small steps...
2000-08-12 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c (main): Another small step...
* configure.in: 99k5
* include/ntp_request.h: Make data[] member of req_pkt 32 again.
Bump the version number...
* ntpd/ntp_loopfilter.c (local_clock): Change 0. to 0 in a couple
of places.
From Dave Mills
2000-08-11 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c (main): Minimal progress...
2000-08-06 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/check_y2k.c: Make debug definition match ntpd.h's declaration
* ntpd/Makefile.am (check-local): Use test in favor of [
2000-08-05 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (NTP_KEYSDIR): Typo
2000-08-04 Harlan Stenn <stenn@whimsy.udel.edu>
* ElectricFence/Makefile.am (check-local): use test instead of [
* configure.in: AC_REPLACE_FUNCS(strdup)
* libntp/strdup.c (strdup): Added.
* libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Added strdup.c
* util/Makefile.am (ntp_genkeys_DEPENDENCIES): Use $U on .o files
(ntp_genkeys_LDADD): ditto.
* ntpd/ntp_crypto.c: Use NTP_KEYSDIR
* util/ntp-genkeys.c (snifflink): Ignore ENOENT, too.
* ntpd/ntp_proto.c (peer_xmit): Crypto cleanup
* ntpd/ntp_crypto.c: Cleanup
* ntpd/ntp_control.c: Join the club
* ntpd/ntp_config.c: Call crypto_config() instead; we got rid of
crypto_flags.
* include/ntp_crypto.h (CRYPTO_FLAG_ENAB): New crypto flags, rework
* include/ntp_control.h (CS_FLAGS): Wiggle in.
* include/ntp.h: Added crypto peer status to struct peer
From Dave Mills
2000-08-03 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c: Initialize path_keysdir to NTP_KEYSDIR.
* configure.in (NTP_KEYSDIR): Added
* acinclude.m4: Added AC_DEFINE_DIR macro
* util/ntp-genkeys.c (main): Sanity checks on the file paths.
2000-08-02 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c (crypto_config): Only #ifdef PUBKEY
(PATH_MAX): Try harder...
2000-08-01 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c (main): Use snifflink()
(snifflink): Implement...
* configure.in: Check for readlink()
2000-07-31 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c (main): Use strdup on the tokens returned
from ntp_config...
(crypto_config): Fix a typo...
(crypto_config): Even more...
(usage): Flesh it out.
* include/ntp_config.h:
* ntpd/ntp_config.c: Move a whack of #defines to ntp_config.h so
ntp-genkeys.c can see them, too.
* util/ntp-genkeys.c: Add stubs to work with ../ntpd/ntp_config.o,
start hooking things up.
(main): debugging
(crypto_config): better implementation
* ntpd/ntp_config.c (getconfig):
* ntpd/ntpd.c: Initialize "debug" here, not in ntp_config.c
* util/Makefile.am (ntp_genkeys_LDADD): Added ../ntpd/ntp_config.o
* util/Makefile.am (ntp_genkeys_DEPENDENCIES): Added.
2000-07-30 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k4
* util/ntp-genkeys.c: Start hacking for new functionality.
* include/Makefile.am (noinst_HEADERS): Added ntp_cmdargs.h and
ntp_config.h .
* ntpd/ntp_config.c: Grab ntp_cmdargs.h. Make some new globals
(ugh), move ntpd-specific variables and code to cmd_args.c .
* ntpd/cmd_args.c: Move command argument processing functions from
ntp_config.c to this file.
* ntpd/Makefile.am (ntpd_SOURCES): Added cmd_args.c
* include/ntpd.h: Move getstartup() to ntp_cmdargs.h
* include/ntp_cmdargs.h: New file
Begin the hacking fest to make it easier for ntp-genkeys to use
ntpd's config processing code. I really hope this is the lesser
of the evils...
2000-07-28 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp-genkeys.c (usage): Added.
* ntpd/ntp_crypto.c: Cleanup
* ntpd/ntp_proto.c (transmit): Add some parens.
(peer_xmit): Add ntohl when grabbing sndauto.seq for broadcast.
* ntpd/ntp_peer.c (findpeer): Cleanup
* ntpd/ntp_loopfilter.c (local_clock): Typo
From Dave Mills
* include/ntp_config.h: Created
* util/ntp-genkeys.c: Always build, but realize we may not have
RSAREF. Compile parts appropriately.
* util/Makefile.am (bin_PROGRAMS): Always make ntp-genkeys
(ntp-genkeys_LDADD): Use $LIBRSAREF instead of the "real path"
* configure.in: Lose MAKE_NTP_GENKEYS
* configure.in:
* util/ntp-genkeys.c:
* util/Makefile.am:
Renamed ntp_genkeys to ntp-genkeys.
2000-07-27 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpdate/ntpdate.c (ntpdatemain): Cleanup error message.
* ntpdate/ntpdate.c (ntpdatemain): Add missing authtrust() call
From: Jason Heiss <jheiss@cruzeiro.ugcs.caltech.edu>
* ntpd/refclock_ulink.c (ulink_receive):
* ntpd/ntp_crypto.c:
* libntp/authparity.c:
Lint/noise cleanup
From: Marc Brett <mbrett@rgs0.london.waii.com>
* ntpd/ntp_proto.c: Specifically track manycastserver and
survivors
From: Dave Mills
2000-07-26 Sven Dietrich <sven_dietrich@trimble.com>
* ntpd/ntpd.c: remove WINNT priority adjustment to the ports/winnt area
where it does not clutter up the main distribution.
2000-07-24 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (receive): dstadr_sin needs higher visibility
From: Dave Mills
* flock-build: Added baldwin
* ntpd/ntp_request.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_peer.c:
* ntpd/ntp_io.c:
* ntpd/ntp_intres.c:
* ntpd/ntp_crypto.c (make_keylist):
* ntpd/ntp_control.c:
* ntpd/ntp_config.c (CONF_MOD_IBURST, save_resolve):
* include/ntpd.h (findpeerbyassoc, newpeer, peer_config, *_interface):
* include/ntp_request.h (CONF_FLAG_IBURST):
* include/ntp_crypto.h (crypto_xmit, make_keylist):
* include/ntp.h (FLAG_IBURST):
* html/release.htm:
* html/confopt.htm:
* html/assoc.htm:
Add iburst option, fix broadcast/multicast and some types.
From: Dave Mills
2000-07-20 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/Makefile.am (bin_SCRIPTS): Install ntp-wait
* configure.in: 4.0.99k
2000-07-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (peer_xmit): PUBKEY cleanup
2000-07-18 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99j5
* html/ntpd.htm (HREF): Document other missing command-line options
* html/ntpd.htm (HREF): Document
* html/confopt.htm (href): Undocument
* ntpd/ntp_config.c (getconfig): -N high for high-priority.
Lose the ntp.conf way of setting priority.
* ntpd/ntp_crypto.c: PUBKEY/AUTOKEY cleanup
From Dave Mills
2000-07-17 Harlan Stenn <stenn@whimsy.udel.edu>
* html/confopt.htm (href): Document it.
* ntpd/ntp_config.c (getconfig): CONFIG_PRIORITY support
* ntpd/ntpd.c (set_process_priority): Use it.
* ntpd/ntp_crypto.c: Crypto key stuff
* ntpd/ntp_proto.c: pubkey -> pubkey.ptr
* ntpd/ntp_control.c (ctl_putpeer): fstamp -> pubkey.fstamp
* ntpd/ntp_peer.c:
* include/ntpd.h:
* include/ntp_types.h:
* include/ntp_request.h:
* include/ntp_crypto.h:
* include/ntp_control.h:
* include/ntp.h: Type cleanup
From: Dave Mills
2000-07-14 Harlan Stenn <stenn@whimsy.udel.edu>
* ElectricFence/Makefile.am (check-local): Don't run the tests if
we didn't build the programs...
(check-local): Same, but watch the return codes...
* ElectricFence/page.c: #include config.h if it's there.
Properly handle the sys_errlist declaration.
* html/ntpq.htm:
* html/index.htm:
* html/debug.htm:
* html/authopt.htm:
Reality check.
From Dave Mills
2000-07-13 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am (SUBDIRS): Added ElectricFence
* configure.in (AC_CONFIG_FILES): Added ElectricFence support
* ElectricFence: Imporpted.
2000-07-12 Harlan Stenn <stenn@whimsy.udel.edu>
* util/ntp_genkeys.c (main): Cleanup
* ntpd/refclock_wwv.c (wwv_qrz): sqrt -> SQRT
* ntpd/refclock_chu.c (chu_rf): sqrt -> SQRT
* ntpd/ntpd.c (set_process_priority): Disable high-priority for now.
PUBKEY cleanup.
* ntpd/ntp_timer.c: sys_revoketime cleanup.
* ntpd/ntp_proto.c (receive): PUBKEY cleanup. Comment and code
cleanup.
(process_packet): Comment and code (PUBKEY) cleanup.
(peer_xmit): Comment and code cleanup.
(fast_xmit): Comment and code cleanup.
* ntpd/ntp_peer.c (expire_all): revoketime cleanup. PUBKEY cleanup.
* ntpd/ntp_crypto.c: Comment reorg. DH parameters are now
file-static instead of local to subroutines.
(make_keylist): peer->pcookie.key cleanup/fix
(crypto_recv): Subroutine documentation cleanup, other cleanup
(crypto_xmit): Cleanup/document.
(crypto_setup): Cleanup/document.
(crypto_agree): Cleanup/document.
(crypto_rsa): now static
(crypto_dh): now static. Comment cleanup. Code cleanup.
(crypto_tai): now static. Code and comment cleanup.
(crypto_config): Deal with CRYPTO_CONF_LEAP.
* ntpd/ntp_control.c (CS_DHPARAMS): Rename corresponding token to
"params". Remove CS_TAI from def_sys_var[].
(ctl_putsys): CS_HOST, CS_DHPARAMSm CS_REVTIME, and CS_LEAPTIME
bugfix. CS_TAI cleanup.
* ntpd/ntp_config.c (CONF_CRYPTO_LEAP): Added
(getconfig): Added CONF_CRYPTO_LEAP support.
* include/ntp_syslog.h: Lose GIZMO stuff.
* include/ntp_crypto.h (CRYPTO_CONF_LEAP): Added
* include/ntp.h: struct autokey, cookie,value, and pkt changes for
signature field. Update the inline docs on pkt's exten field.
From: Dave Mills
2000-07-08 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_util.c (stats_config): If we read a bogus old_drift,
use 0 instead of failing.
2000-07-03 Harlan Stenn <stenn@whimsy.udel.edu>
* README.cvs: Cleanup.
* ntpd/refclock_datum.c (datum_pts_poll): index -> unit_index
* ntpd/ntp_resolver.c (findhostaddr): const cleanup
* libntp/recvbuff.c:
* libntp/msyslog.c:
* libntp/emalloc.c:
* libntp/authreadkeys.c:
Fix header order.
From: Simon Burge <simonb@netbsd.org>
* ntpd/ntp_util.c (stats_config): Use HAVE_FINITE and HAVE_ISFINITE
* configure.in (ac_cv_struct_ntptimeval_timespec): isfinite()
checks for HP-UX11.
From: Albert Chin-A-Young <china@thewrittenword.com>
2000-07-02 Harlan Stenn <stenn@whimsy.udel.edu>
* flock-build (LIST): Lose malarky, update some machine/OS descriptions
* configure.in: 4.0.99j4
* ntpq/ntpq.c: Lose PUBKEY stuff - older ntpq's will complain when
they see the info in a packet.
* ntpd/ntp_proto.c (peer_xmit): TAI changes.
* ntpd/ntp_crypto.c: Fix host/network byteorder stuff. Follow
global->struct changes. TAI changes. Bugfixes.
* ntpd/ntp_control.c: Follow field reorder/rename.
* include/ntp_crypto.h: Move crypto stuff from separate globals
into structs.
* include/ntp_control.h (CS_HOST): Reorder/rename some fields
From: Dave Mills
2000-06-30 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_peer.c (unpeer): Moved keystr cleanup inside ifdef PUBKEY
* configure.in: 4.0.99j3
* html/release.htm:
* html/ntpq.htm:
* html/authopt.htm:
Updates from Dave Mills
* ntpd/ntp_request.c (dns_a): Don't call crypto_public for now...
* ntpd/ntp_proto.c (receive): Follow the TEST wiggles
(peer_xmit): TAI support
* ntpd/ntp_crypto.c: TAI support
* ntpd/ntp_control.c: CS_VERSION and CS_TAI support
* include/ntp_crypto.h (CRYPTO_FLAG_TAI): Added.
* include/ntp_control.h (CS_VERSION): Added.
* include/ntp.h (TEST4,TEST5,TEST8,TEST9): Wiggle.
From: Dave Mills
* ntpd/Makefile.am (ntpd_SOURCES): Lose refclock_ulink331.c
because the new refclock_ulink.c handles it.
2000-06-28 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (getconfig): Sanity check the right variable
From: Dave Mills.
2000-06-25 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99j2
* ntpd/ntp_proto.c:
* ntpd/ntp_peer.c:
* ntpd/ntp_crypto.c:
* include/ntp_crypto.h:
* include/ntp.h:
AUTOKEY/PUBKEY/DH/crypto changes
From: Dave Mills
2000-06-23 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver34.htm:
* ntpd/refclock_ulink.c:
* ntpd/refclock_ulink331.c: (removed)
Updated for 320/330 series refclocks
From: joseph lang <tcnojl1@earthlink.net>
* ntpd/refclock_oncore.c: Patches/improvements
* html/driver30.htm: New release
From: Reg Clemens <reg@orion.dwf.com>
2000-06-17 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99j1
* ntpdc/ntpdc.c (getcmds):
* configure.in:
Readline support.
From: Aaron Sherman <ajs@narn.ajs.com>
* ntpd/refclock_ulink331.c: Added.
Sent in by Doug Grosso <dgrosso@mint.net>
* ntpd/Makefile.am (ntpd_SOURCES): Added refclock_ulink331.c
* libntp/snprintf.c: Added stdio.h
From: Marc Brett <mbrett@rgs0.london.waii.com>
* include/ntp.h: struct autokey's siglen is u_int32. So is the
siglen in struct cookie. So is siglen and value length in struct
value. Add fstamp to struct peer. Resize the exten AUTOKEY field
in struct pkt.
* include/ntp_crypto.h: crypto_enable -> crypto_flags and a
variety of other cleanups.
* ntpd/ntp_config.c: crypto_enable -> crypto_flags, and some
key/fudge cleanup.
* ntpd/ntp_control.c: Much cleanup.
* ntpd/ntp_crypto.c: Many changes that Harlan is too tired to
properly document.
* ntpd/ntp_peer.c: crypto_enable -> crypto_flags
(peer_config): Hold off on crypto_public() until some resolver
issue is fixed.
* ntpd/ntp_proto.c (receive): Disable the reverse DNS lookup for now.
(process_packet): Don't record_raw_stats() for now.
crypto_enable was renamed to crypto_flags.
(peer_xmit): In MODE_ACTIVE or MODE_PASSIVE, only call
crypto_xmit() if the peer->cmmd is not CRYPTO_AUTO. Reset
peer->cmmd to 0 when we're thru.
Don't reset peer->cmmd to 0 until the end of MODE_CLIENT.
* ntpd/ntpd.c: Lose the call to crypto_init(). Instead, call
crypto_setup() later on if we have crypto_flags.
* util/ntp_genkeys.c: Lose GENLEN; use PRIMELEN/2 .
From Dave Mills.
* ntpd/ntp_crypto.c (crypto_rsa):
(crypto_dh):
Do some debug logging if readlink() fails with something other
than EINVAL (file isn't a symlink).
2000-06-04 James R. Van Zandt <jrv@vanzandt.mv.com>
* html/miscopt.htm (trap): punctuation
* html/ntpd.htm (-g): typo
* html/miscopt.htm (logconfig): List the "clock" event class.
"allprefix" should be two words.
2000-05-31 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_timer.c: Protect <unistd.h>
2000-05-30 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/Makefile.am: Document what we expect from -lm
2000-05-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99j
2000-05-22 Harlan Stenn <stenn@whimsy.udel.edu>
* html/ntptime.htm: More fixes
From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-16 Harlan Stenn <stenn@whimsy.udel.edu>
* build (KEYSUF):
* flock-build:
* configure.in: Lose the "md5" options from the --with-crypto
check; Dave hates it.
* ntpd/ntp_util.c (stats_config):
* ntpd/ntp_loopfilter.c (loop_config):
* libntp/systime.c (adj_systime):
* include/ntp_proto.h (NTP_MAXFREQ):
Renamed MAX_FREQ to NTP_MAXFREQ
* ntpd/ntpd.c (ntpdmain):
* ntpd/ntp_proto.c (receive):
(poll_update):
* ntpd/ntp_intres.c (addentry):
* ntpd/ntp_config.c (getconfig):
Lint cleanup
From: Marc Brett <mbrett@rgs0.london.waii.com>
* include/ntp_stdlib.h:
* libntp/systime.c (adj_systime):
* ntpd/ntp_loopfilter.c (loop_config):
* ntpd/ntp_util.c (stats_config):
* ports/winnt/ntpd/nt_clockstuff.c (adj_systime):
MAXFREQ -> MAX_FREQ
* include/ntp_proto.h: Define MAX_FREQ
2000-05-15 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_stdlib.h:
* libntp/systime.c (adj_systime):
* ntpd/ntp_loopfilter.c (loop_config):
* ntpd/ntp_util.c (stats_config):
* ports/winnt/ntpd/nt_clockstuff.c (adj_systime):
sys_maxfreq -> MAXFREQ
Per Dave Mills.
2000-05-14 Harlan Stenn <stenn@whimsy.udel.edu>
* acinclude.m4: Typo...
2000-05-13 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/gpstolfp.c (GPSORIGIN): Try new ULONG_CONST macro
* ntpdate/ntptimeset.c:
* ntpdate/ntpdate.h:
* ntpd/refclock_oncore.c (oncore_msg_En):
* ntpd/ntp_util.c (stats_config):
* ntpd/ntp_request.c:
* ntpd/ntp_intres.c (findhostaddr):
* ntpd/ntp_config.c (getconfig):
* libntp/systime.c (adj_systime):
* libntp/lib_strbuf.c:
* libntp/authparity.c:
* libntp/audio.c:
Header/lint cleanup
From/reported by: Simon Burge <simonb@netbsd.org>
* ntpd/ntp_resolver.c (findhostaddr): Compiler noise cleanup
* ntpd/ntp_intres.c: Compiler noise cleanup
* html/ntptime.htm: Document reality check
From: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-12 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_intres.c (ntp_intres): Quiet some debug messages
Reported by: Brian Bergstrand <brianb@mac.com>
2000-05-11 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/mkver.in (ConfStr): Use -r if we're using RSAREF,
otherwise use -a if we're using autokey, otherwise use no extra
suffix.
2000-05-11 Sven Dietrich <sven_dietrich@trimble.com>
* ports/winnt/include/config.h: New defines to support AUTOKEY
* ports/winnt/include/unistd.h: Added another dummy placeholder.h
* ports/winnt/ntpd/ntpd.dsp: Added ntp_crypt.c to makefile
* ports/winnt/ntpd/ntpd.c: service_main needs a local hostname[]
* html/hints/winnt.htm: Add remark about 4.0.99i not compiling.
These changes got WINNT running again. No idea if the keys stuff
works however.
2000-05-10 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99i9
* ntpd/ntp_crypto.c: tstamp and autokey cleanup
From: Dave Mills
* ntpd/ntp_proto.c (clock_update): Only call expire_all() if
AUTOKEY
From many folks, including Reg Clemens <reg@dwf.com>
2000-05-07 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99i8
* flock-build: Use new --with-crypto choices
* build (KEYSUF): Deal with new --with-crypto
* configure.in: --with-crypto={md5,autokey,rsaref};
lose --enable-autokey
2000-05-06 Harlan Stenn <stenn@whimsy.udel.edu>
* build (KEYSUF): Catch --disable-autokey first.
2000-05-05 Harlan Stenn <stenn@whimsy.udel.edu>
* flock-build: If we don't use autokey, don't use rsaref either.
* configure.in: 4.0.99i7
* build (KEYSUF):
* flock-build:
It's --disable-autokey now
* configure.in: MD5 is not optional (but AUTOKEY is)
* include/ntp_stdlib.h:
* libntp/a_md5encrypt.c:
* libntp/authkeys.c:
(authhavekey):
(MD5auth_setkey):
(auth_delkeys):
(authencrypt):
(authdecrypt):
* libntp/authreadkeys.c:
(authreadkeys):
* ntpd/ntp_proto.c (init_proto):
* libntp/authusekey.c:
MD5 is required.
2000-05-04 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99i6
* ntpd/ntp_proto.c (transmit): Fix up the UNREACH code.
(receive): Lose some debug code.
(clock_update): expire_all() if LEAP_NOTINSYNC
crypto_xmit() a CRYPTO_AUTO if !FLAG_AUTOKEY instead of recauto.tstamp
crypto_xmit() a CRYPTO_PRIV (not CRYPTO_AUTO) based on pcookie.tstamp
crypto_xmit() a CRYPTO_AUTO (not CRYPTO_PRIV) based on FLAG_MCAST2
and !FLAG_AUTOKEY
* ntpd/ntp_crypto.c (crypto_recv): Clean up debug output.
Don't AUTOKEY if FLAG_MCAST2
From: Dave Mills
* flock-build: Also make obe withouyt md5 (no AUTOKEY)
* build (BDIR): Handle -noautokey build directory suffix
* configure.in: Prepare for AUTOKEY in mkver.in
* scripts/mkver.in (ConfStr): Indicate in the version string if
we're not using AUTOKEY.
2000-05-03 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/ntp-wait.in: Fun things with backspaces
* configure.in: 4.0.99i5
* ntptrace/ntptrace.c: Protect sys/ioctl.h; grab config.h
* ntpd/ntp_proto.c (transmit): AUTOKEY and tstamp fixes.
(clock_update): Check oleap against LEAP_NOTINSYNC
(peer_clear): Free pubkey when we're done
Check peer's keynumber against the seq in MODE_BROADCAST.
Reorder tstamp changes.
* ntpd/ntp_crypto.c (crypto_recv): Check the packet if we get a
CRYPTO_RESP and reorder the update of tstamp.
(crypto_recv): Don't expire the peer until we're thru with it.
* include/ntp.h: AUTOKEY and pkeyid changes
From Dave Mills
* ntpdate/ntpdate.c: Protect sys/ioctl.h
2000-05-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99i4
* include/ntp.h:
* include/ntp_crypto.h:
* include/ntpd.h:
* ntpd/ntp_crypto.c:
* ntpd/ntp_proto.c:
* ntpd/ntpd.c:
* util/ntp_genkeys.c:
Dave Mills closed some potential vulnerabilities in the key protocol.
2000-04-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99i3
* ntpd/ntp_proto.c: Just check tstamp, forget about sndauto.seq
* ntpd/ntp_crypto.c (crypto_recv): Lose inappropriate ntohl()
conversion on tstamp.
AUTOKEY if tstamp>0, not !=
Stash tstamp before we check pcookie.key (several places)
* ntpd/ntp_control.c (ctl_putpeer): In CP_INITSEQ, check
recauto.key, not keylist.
From: Dave Mills
2000-04-27 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99i2
* ntpq/ntpq.c: PUBKEY stuff
* ntpd/ntp_proto.c (clock_select): nreach, and better survivor pick.
* ntpd/ntp_peer.c (newpeer): Better nextdate choice.
* ntpd/ntp_control.c (ctl_putsys): Buglet in CS_HOSTNAM code.
From Dave Mills.
2000-04-24 Harlan Stenn <stenn@whimsy.udel.edu>
* build (IAM): Show hostname if we trip a buildkey check.
2000-04-23 Harlan Stenn <stenn@whimsy.udel.edu>
* build: deal with optional 1st argument (SIG), which must match
the contents of .buildkey
* flock-build: Generalize, implement SIG and .buildkey, and drive
list from LIST, which the user can override.
2000-04-21 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99i1
Dave updated some docs, implemented the kpoll variable, and
wiggled a host/network byte order thing in the crypto key code.
2000-04-16 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwvb.c (wwvb_receive): Grab any character (instead
of just a space) before the DSTchar.
From: Dave Mills
2000-04-11 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99i
Dave made some documentation updates.
2000-04-08 Harlan Stenn <stenn@whimsy.udel.edu>
* flock-build: Add malarky. By default, --enable-parse-clocks.
Start 2 builds, one with and the other without rsaref.
* configure.in: 4.0.99h6
Dave improved the crypto stuff some more.
2000-04-05 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_acts.c (acts_receive): Do a better job with year
conversions and leap-year checks. The PTB stuff caught this.
Reported by: Daniel.Aeby@eam.admin.ch
2000-04-02 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_atom.c (atom_pps): Bugfix
From: Philippe Charnier <charnier@xp11.frmug.org>
2000-03-30 Harlan Stenn <stenn@whimsy.udel.edu>
* libparse/clk_wharton.c (cvt_wharton_400a): Do not return
CVT_NONE when receiving the early warning bit set.
From: Philippe De Muyter <phdm@macqel.be>
* configure.in: 4.0.99h5
Dave made more changes to the auth key stuff.
2000-03-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99h4
Dave made a bunch of changes/fixes to the auth key stuff.
2000-03-22 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_resolver.c: Typos.
2000-03-21 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99h3
* ntpd/ntp_intres.c: Use LOG_INFO instead of LOG_DEBUG.
* ntpd/ntp_resolver.c: Ditto.
2000-03-20 Harlan Stenn <stenn@whimsy.udel.edu>
* util/Makefile.am (ntp_genkeys_LDADD): Might need snprintf (-lntp)
* librsaref/Makefile.am (stamp-rsaref): nodist_HEADERS are not
supoprted yet. Hack around it.
* ntpd/ntp_resolver.c (findhostaddr): hstrerror isn't always available.
* configure.in: Look for hstrerror.
* util/ntp_genkeys.c (main): Use snprintf, not sprintf.
* ntpd/ntp_crypto.c: Use gethostname, not uname
* util/ntp_genkeys.c: Ditto
From: Dave Mills
2000-03-19 Harlan Stenn <harlan@pfcs.com>
* ntpd/ntp_proto.c (receive): Rename ntp_res_send() to
ntp_res_name() and adjust the number of arguments.
* ntpd/ntp_resolver.c (ntp_res_name): Ditto
* include/ntpd.h: Ditto
* ntpd/ntp_resolver.c: Add de_done to the dns_entry structure.
2000-03-18 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99h2
* libparse/Makefile.am (info_trimble.c): Use $(srcdir)/foo.sed
instead of foo.sed .
* librsaref/Makefile.am (stamp-rsaref): Copy each file to the build
directory, not to the source directory. This sucks; it wastes
space (but it's more portable).
* configure.in (ac_busted_vpath_in_make): Add FreeBSD. I bet all
systems that use pmake will need this.
(ac_busted_vpath_in_make): Remove FreeBSD - I found a workaround.
* Makefile.am: General cleanup
* configure.in: 4.0.99h1
* ntpd/ntp_resolver.c: Lose unneeded header.
2000-03-17 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/snprintf.c: #include <config.h>
* libntp/Makefile.am (EXTRA_libntp_a_SOURCES): Use it correctly...
2000-03-16 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/Makefile.am (EXTRA_DIST): Added snprintf.c
* configure.in: Look for (and provide if it's missing) snprintf()
* ntpd/ntp_request.c (dns_a): Call crypto_public with the resolved
name and the peer pointer.
(dns_a): crypto_public() is only available if PUBKEY is #defined.
* ntpd/ntp_crypto.c (crypto_public): sprintf is Evil. Use snprintf.
(crypto_setup): Ditto
(crypto_read): Ditto
* ntpd/ntp_resolver.c (ntp_res_send): Lose some debugging noise.
* ntpd/ntp_config.c (getconfig): Lose testing code.
* ntpd/ntp_request.c (dns_a): Fix buglet in hostname length check.
2000-03-16 Harlan Stenn <harlan@pfcs.com>
* ntpd/ntp_request.c (dns_a): Start cracking the returned information.
2000-03-15 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_resolver.c (ntp_res): Authenticate the keyid.
* ntpd/ntp_crypto.c (crypto_line): Fix definition
(crypto_read): Ditto.
* ntpd/ntp_config.c (getconfig): Move req_keyid generation here.
* librsaref/Makefile.am (BUILT_SOURCES): Cleanup more nodist_ stuff.
2000-03-14 Harlan Stenn <stenn@whimsy.udel.edu>
* build (RSASUF): If we have rsaref2/ and are building
--without-rsaref, note it as a build-directory suffix.
* configure.in: 4.0.99h
Crypto merge
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Added nodist_
2000-02-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Lose the changequote calls and fix the quoting.
Reported by: Akim Demaille <akim@epita.fr>
* ntpd/ntp_request.c: Log various error conditions.
2000-02-27 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99g
* ntpd/ntpd.c: Only log EINTR if debug > 2.
2000-02-25 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/mkver.in (ConfStr): Use `-r' when configured with crypto.
* ntpd/refclock_wwvb.c (wwvb_receive): Undo the previous chagne.
2000-02-24 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwvb.c (wwvb_receive): LENWWVB0 can return 6 or 7
fields.
From: Michael Sinatra <msinatra@uclink4.berkeley.edu>
with a cleanup from Ulrich.
* scripts/mkver.in (ConfStr): Make RSAREF appear as part of the
version.
2000-02-21 Sven Dietrich <sven_dietrich@trimble.com>
* ports/winnt/include/config.h: Enable MD5 and RANDOM by default
* ports/winnt/libntp/SetSystemTime.c: Fix warning and const declaration
From: Carl Byington <carl@five-ten-sg.com>
2000-02-21 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am (SUBDIRS): Make librsaref right after includes so we
can copy any needed header files over.
* libntp/Makefile.am (INCLUDES): Also look in librsaref for des.h
* ntpd/Makefile.am (INCLUDES): Ditto
* util/Makefile.am (INCLUDES): Ditto
* librsaref/Makefile.am (librsaref_a_SOURCES): Use the des.h from
the rsaref2 distribution.
* include/Makefile.am (noinst_HEADERS): No, we don't want des.h
2000-02-20 Harlan Stenn <stenn@whimsy.udel.edu>
* include/Makefile.am (noinst_HEADERS): Add des.h
2000-02-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (do_resolve_internal): Try Real Hard to
generate a full random key.
From: Carl Byington <carl@five-ten-sg.com>
* include/ntp.h: Now we know we have either mrand48() or random().
* configure.in: If we have mrand48, use it. Otherwise, use (and
provide if necessary) random().
* libntp/Makefile.am (EXTRA_DIST): random.c
* libntp/random.c: Added.
2000-02-18 Harlan Stenn <stenn@whimsy.udel.edu>
* librsaref/Makefile.am (stamp-rsaref): Typo
* configure.in (ac_cv_func_ctty_for_f_setown): Yes for OpenBSD
(ac_cv_var_ntp_syscalls): Fix quoting of description
From: Jonathan Rozes <jrozes@vinton.com>
* librsaref/Makefile.am: Fix stamp-rsaref dependency order.
* configure.in: 4.0.99f
2000-02-17 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_mx4200.c: Remove the DOP-weighted position
averaging code and revert to a simple mean average. The weighted
average consistently produced a *worse* result. Go figure.
* html/mx4200data.htm: Cleanup, reflect current reality.
* html/driver9.htm: Cleanup, reflect current reality.
* html/copyright.htm: Cleanup, and credit where credit is due.
From: Marc.Brett@westgeo.com
* ntpd/refclock_oncore.c: Cleanup/fixes
* html/driver30.htm: Cleanup
* html/Oncore-SHMEM.htm: Cleanup
From: Reg Clemens <reg@dwf.com>
2000-02-16 Sven Dietrich <sven_dietrich@trimble.com>
* winnt/scripts/mkver.bat: Frederick Czajka [w2k@austin.rr.com]
winnt/ntpq/ntpq.dsp: modified mkver.bat to eliminate the
winnt/ntpd/ntpd.dsp: need to have Perl installed and the
winnt/ntpdc/ntpdc.dsp: PERL environment variable to be set.
winnt/ntpdate/ntpdate.dsp:
winnt/ntptrace/ntptrace.dsp: Thanks, Frederick!
* ntpd/refclock_nmea.c: Correctly interpret the quality indicator.
2000-02-15 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_nmea.c: Correctly interpret the quality indicator.
Deal with the time supplied in centiseconds. GPGCA/GPGGA cleanup.
From: Andrew Hood <ajhood@fl.net.au>
* libparse/Makefile.am (K_CFLAGS): Use instead. Add NEED_NTP_BOPS.
2000-02-10 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/ntp-wait.in: Intensify, including some suggestions from
Ulrich.
* configure.in: 4.0.99e
* scripts/ntp-wait.in: Lose cruft, sleep after each try.
* scripts/ntp-restart: It's ntpd now. Also, call ntp-wait.
* configure.in (AC_CONFIG_*): New scripts that use PATH_PERL
* scripts/Makefile.am (noinst_SCRIPTS): Added ntp-wait
(noinst_SCRIPTS): Added all of the scripts that now use PATH_PERL
* configure.in: Get the path to perl
(AC_CONFIG_*): Added scripts/ntp-wait
* ntptrace/ntptrace.c (DoTrace): If the server's srcadr is 0.0.0.0
then we haven't synced yet. Note and punt.
Reported by: Bdale Garbee <bdale@gag.com>,http://bugs.debian.org/56551
2000-02-09 Harlan Stenn <stenn@whimsy.udel.edu>
* ports/winnt/include/config.h: Typo (CLOCK_PALISADE comment)
From: Carl Byington <carl@five-ten-sg.com>
* configure.in: Disable kernel_fll_bug for Generic_105181-17 under
Solaris-2.6
From: Juergen Georgi <georgi@belwue.de>
2000-02-07 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99d
* html/Oncore-SHMEM.htm: New document
* html/driver30.htm: Cleanup and improvements
From: Reg Clemens <reg@dwf.com>
2000-01-30 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c: Patches/improvements
From: Reg Clemens <reg@dwf.com>
2000-01-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99c
2000-01-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Autoconf update...
* ntpdate/ntpdate.c (ntpdatemain): Typo
From: Jack Bryans <jbryans@csulb.edu>
* Makefile.am (EXTRA_DIST): Add flock-build. Probably UDel specific...
2000-01-23 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/check_y2k.c (main): Reformat for ansi2knr
* configure.in (AC_OUTPUT): Revert to obsolete form until automake
catches up.
2000-01-22 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Use AC_CHECK_TYPES((s_char)) instead of
AC_CHECK_TYPE.
(ac_cv_var_kernel_fll_bug): Generic_106541-08 is apparently OK, too.
* scripts/Makefile.am (EXTRA_DIST): Need to explicitly distribute
mkver.in and ntpver.in now, apparently.
* configure.in: Search for the various audio_info members so the
printing in audio_show is less of a circus. This required an
autoconf upgrade. Major sigh.
* libntp/audio.c (audio_show): Clean up (more) properly.
2000-01-21 Sven Dietrich <sven_dietrich@trimble.com>
* Add pointer to html/hints/winnt.htm to INSTALL file
* Fix NT makefiles to accomodate at least one weird
version of Visual C that can't handle the LFs without
the DOS CR also.
2000-01-20 Sven Dietrich <sven_dietrich@trimble.com>
* Update Copyright in Palisade driver to 2000
* Fix Palisade MIN & MAX POLL to optimal values
2000-01-19 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver7.htm: Patches from Dave Mills
* html/driver36.htm: Patches from Dave Mills
* html/copyright.htm: Added Kamal Mostafa
2000-01-19 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99b
2000-01-18 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_chu.c: NCHAN is used with generic ICOM.
* ntpd/refclock_wwv.c: Use new audio stuff
* ntpd/refclock_irig.c: Use new audio stuff
* ntpd/refclock_chu.c: Use new audio stuff
* ntpd/ntp_proto.c: Clean up
* ntpd/ntp_loopfilter.c (local_clock): Clean up error message
* include/icom.h: Number of arguments changed
* libntp/Makefile.am (libntp_a_SOURCES): Added audio.c
* libntp/audio.c: New file
* include/Makefile.am (noinst_HEADERS): audio.h added
* include/audio.h: New file
From: Dave Mills <mills@udel.edu>
* scripts/freq_adj: Added. FreeBSD frequency adjustment script.
* configure.in: Do a better job on my oncore_ok check for SCO.
2000-01-15 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99a
* scripts/ntpsweep: New version
* html/copyright.htm: Added Hans Lambermont
From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
2000-01-14 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c (oncore_start): Only dance with the
pps_device if it's there.
From: reg@dwf.com
* configure.in: ONCORE is OK if ac_cv_hdr_def_tiocdcdtimestamp=yes
* build: Just overwrite the log file each time; sometimes NFS goes
a little goofy.
* ntpd/refclock_fg.c: Syntax/punctuation cleanup
2000-01-13 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/ntpsweep: New version
From: Hans Lambermont <Hans.Lambermont@nl.origin-it.com>
* ntpd/refclock_fg.c: New version
* html/driver37.htm: New version
From: Dmitry Smirnov <das@online.nsk.su>
2000-01-12 Harlan Stenn <stenn@whimsy.udel.edu>
* README.des: Cleanup
2000-01-12 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99
* html/driver36.htm: Cleanup
* html/monopt.htm: Ditto
From: Dave Mills <mills@udel.edu>
* ntpd/ntp_intres.c (ntp_intres): Put "NTP_INTRES running" at a
higher debug level
2000-01-11 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: More improvements
From: Dave Mills <mills@udel.edu>
2000-01-10 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: Bugfixes/improvements
From: Dave Mills <mills@udel.edu>
* configure.in: Get the quoting right on the sys_errlist check.
From documentation by: Akim Demaille <akim@epita.fr>
2000-01-08 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: <netinet/ip.h> cannot be detected...
* ntpd/ntp_io.h: ...but every OS has it
* ntpd/refclock_oncore.c: Lint removal
* ntpq/ntpq_ops.c: Lint removal
* ntpq/refclock_chu.c: chu_major() is not an audio routine (?), lint
* libntp/icom.c: AIX doesn't have <sys/termios.h>
From: Marc.Brett@westgeo.com
* ntpd/refclock_chu.c: NetBSD needs sys/ioctl.h
(chu_debug): NetBSD-specific debug output.
From: Frederick Bruckman <fb@enteract.com>
2000-01-06 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98m
I skipped `l' - it looks like a `1'.
* html/driver7.htm: Doc update
* html/driver36.htm: Ditto
* html/audio.htm: Ditto
* ntpd/refclock_wwv.c: Dvae snuck another fix/change in on me.
* configure.in: 4.0.98k
* ntpd/refclock_chu.c (chu_start): Call icom_init with the speed
* ntpd/refclock_wwv.c (wwv_start): Ditto, plus other improvements.
* libntp/icom.c (icom_init): Add speed parameter
* include/icom.h: Update declaration
From: Dave Mills <mills@udel.edu>
* include/Makefile.am (noinst_HEADERS): Added icom.h
From: Frederick Bruckman <fb@enteract.com>
2000-01-05 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98j
* ntpd/refclock_wwv.c (timecode): Make definition == declaration
(wwv_newchan): Ditto
(wwv_corr4): Dave fixed the declaration.
* flock-build: Add rackety to the flock - it runs SunOS 4.1.3/cc
* ntpd/refclock_wwv.c: Undo that declaration cleanup for now...
* ntpd/ntp_io.c (open_socket): TOS support
From: Marc.Brett@westgeo.com
2000-01-04 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: Declaration cleanup
* ntpd/refclock_fg.c (fg_receive): Not all sprintf's are created
equal...
From: Marc.Brett@westgeo.com
* ntpd/refclock_wwv.c: Dave Cleaned and Improved things.
* ntpd/ntp_loopfilter.c (local_clock): Dave fixed something.
* ntpd/refclock_wwv.c: Rename max to p_max or s_max as appropriate
to avoid native SunOS compiler collision.
(wwv_epoch): Make declaration == definition
(wwv_rsec): Ditto
(wwv_newchan): Ditto
(wwv_qsy): Ditto
(timecode): Ditto
* ntpd/refclock_oncore.c (oncore_init_shmem): Use a cast to widen
mmap's NIL offset.
* ntpd/refclock_chu.c (chu_rf): Make declaration == definition.
Rename min/max to es_min/es_max to avoid native SunOS compiler
collision.
(chu_uart): Make declaration == definition.
* libntp/icom.c (sndpkt): Make declaration and definition equivalent.
(doublefreq): Ditto.
* ntpd/refclock_oncore.c (MAP_FAILED): Some systems do not #define
this.
* ntpd/refclock_wwv.c:
* ntpd/refclock_chu.c:
* libntp/icom.c:
* libntp/Makefile.am:
* include/icom.h:
* html/driver7.htm:
* html/driver36.htm:
Support for ICOM. The WWV/H driver, by the way, is getting truly
awesome. The CHU autotune function works okay as it is. I'd like
to find somebody else to test the audio drivers just to make sure
I haven't done something stupid. There is a new define ICOM
intended for the driver autotune function; however, I crafted the
thing in much the same way as the refclock_atom.c thing - it tries
to open /dev/icom and, if that fails, goes quietly to sleep.
From: Dave Mills <mills@udel.edu>
2000-01-03 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c (oncore_read_config): Patches and cleanup
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
more isascii() stuff from HMS.
* ntpd/refclock_fg.c (fg_receive): Cast.
From: Tom Smith <smith@cag.lkg.dec.com>
* ntpd/map_vme.c (map_vme): tx.access_result indicates failure on
< 0, not <= 0. A fix that apparently did not get brought over
from the ntp3 base.
From: Michael Barone <michael.barone@lmco.com>
* configure.in: Move the ONCORE_SHMEM_STATUS check and definition
here.
* ntpd/refclock_oncore.c (oncore_init_shmem): Some systems do not
have MAP_HASSEMAPHORE.
* ntpd/refclock_oncore.c: Drive ONCORE_SHMEM_STATUS based on
HAVE_SYS_MMAN_H . If this needs finer checks, do it in
configure.in .
(oncore_read_config): Add the isascii() checks; older versions of
Unix don't guarantee correct behavior of is*() without it.
* ntpd/refclock_oncore.c: Add proof-of-concept support for
delivering receiver data stream to other processes through
a memory-mapped file.
From: Poul-Henning Kamp <phk@FreeBSD.org>
2000-01-02 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_refclock_chu): Provide the CHU driver by
default, and by default prefer the AUDIO version. We used to
limit this to SunOS or Solaris; now we drive by the availability
of the audioio header file.
Select the IRIG and WWV audio drivers the same way.
* flock-build: build ignores the -l flag; lose it.
(BUILD_ARGS): added.
* build: Remove unused -l stuff (LOG variable).
* ntpd/ntp_refclock.c: HAVE_PPSAPI header cleanup
From: Reg Clemens <reg@dwf.com>
2000-01-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (CLOCK_WWV): Require <sys/audioio.h> or <sun/audioio.h>
1999-12-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98i
* ntpd/refclock_gpsvme.c: Fixes
From: Michael Barone <michael.barone@lmco.com>
Patch severely hacked by HMS to "make it conform". I hope I
didn't break anything.
* scripts/ntpsweep: Nifty utility
From: Hans.Lambermont@nl.origin-it.com
* ntpd/refclock_fg.c:
* ntpd/refclock_conf.c:
* ntpd/ntp_control.c:
* ntpd/Makefile.am:
* libntp/clocktypes.c:
* include/ntp.h:
* html/refclock.htm:
* html/driver37.htm:
* configure.in:
* acconfig.h:
Forum Graphic GPS clock support
From: Dmitry Smirnov <das@online.nsk.su>
* configure.in: Default to compile the IRIG, CHU and WWV/H
drivers and compile the CHU driver for audio, not modem.
Requested by Dave Mills.
* html/audio.htm:
* html/driver36.htm:
* html/qth.htm:
Dave wrote these to go along with the changes I checked in yesterday.
1999-12-28 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_chu.c:
* ntpd/ntp_refclock.c:
* ntpd/ntp_loopfilter.c:
* html/refclock.htm:
* html/pps.htm:
* html/index.htm:
* html/driver7.htm:
* html/driver6.htm:
* html/copyright.htm:
I indulged an old agenda to polish up some programs originally
written for a DSP evaluation board. The result is a really hot
audio driver for the NIST WWV/WWVH time/frequency station plus a
makeover for the CHU audio driver. Currently, they and their IRIG
audio driver buddy use the SunOS/Solaris audio interface, which is
clean and simple. I hook the line in jack to a shortwave radio and
these drivers (driver 7 for CHU and driver 36 for WWV) and the
drivers do the rest. The WWV/H driver is really hot - I am
currently watching the ionosphere move from the doppler that shows
up on the tick modulation tracked by the program. During midday
when the F2 layer settles down, the program closes in on a few
tens of microseconds of spare jitter and wander. This watch on
whichever 15/20 MHz signal sounds the best. At night on 5/10 MHz
and even 2.5 HMz where the multipath, interference and noise are
much worse, the driver bangs around somewhat more.
The CHU driver makeover discovered a few broken bones after all
these years, but its majority decoder is back in business. For
various reasons to icky to reveal here, its 103-modem demodulator
is not quite as good as the chip, but it comes close and hey,
2025/2125 FSK is just not a good idea for HF radio. This driver is
not nearly as sophisitcated as the WWV/H driver, but here a few
hundred miles south of Ottawa, it does a passably good job.
I tell you this in the hopes of getting somebody interested in
porting the audio interface to other machines, in particular
Linux, FreeBSD and anything else with a sound card. When the
ionosphere stays cool, the WWV/H driver is as good as anything
else around here and with much less jitter than a serial port. The
only downside is all the audio drivers chew up a modest fraction
of cycles for the DSP routines - a few percent on the newer
silicon, up to half the cycles on an old Sparc IPC. Whattheheck,
these old machines aren't doing anything else around here except
serving time, and even when sucking cycles for DSP they still mind
the PPS microseconds.
The audio driver documentation had a makeover, too.
From: Dave Mills <mills@udel.edu>
1999-12-20 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98h
1999-12-19 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/syssignal.c: Small cleanup to Marc's patch.
* ntpd/ntp_refclock.c:
* ntpd/refclock_atom.c: Header cleanup
* html/driver30.htm: Cleanup and improvements.
From: Reg Clemens <reg@dwf.com>
* ntpd/ntp_refclock.c:
* ntpd/refclock_jupiter.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_mx4200.c:
Portability (Solaris) patches
* ntpd/refclock_mx4200.c:
Self-survey improvements, cleanup for, PPS re-activation
* libntp/syssignal.c:
Fix for "interrupted system call" (EINTR) failure of the PPS
ioctl(TIOCGPPSEV) call in Solaris. Not sure why it was
interrupted, but this works around the failure. Not sure if
the (now silent) interrupt affects the timing accuracy.
THERE IS A CHANCE THIS PART OF THE PATCH MAY ADVERSELY
AFFECT OTHER SYSTEMS!
* scripts/ntp-status: Added.
From: Marc.Brett@westgeo.com
* ntpdate/ntpdate.c: Deal with multiple addresses.
From: Jeffrey C Honig <jch@bsdi.com>
* ntpd/refclock_conf.c: Replaced macro SHM with CLOCK_SHM.
* ntpd/refclock_shm.c (shm_poll): Take clock time in UTC.
pp->day starts at 1, t->tm_yday starts at 0.
From: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
1999-12-16 Harlan Stenn <stenn@whimsy.udel.edu>
* NEWS: Updated ONCORE instructions
From: Kamal A Mostafa <kamal@whence.com>
1999-12-13 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98g
* ntpd/refclock_oncore.c: Cleanup and fixes
From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
1999-12-11 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: Cleanup/checkin of the current state of affairs.
From: Dave Mills <mills@udel.edu>
* ntpd/refclock_oncore.c: #elif conversion. I can only hope I did
it right.
* ntpd/refclock_oncore.c: Various patches
From: Reg Clemens <reg@dwf.com> and Kamal A Mostafa <kamal@whence.com>
1999-12-09 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_proto.c (default_get_precision): Use the right arg type
to pass "sizeof freq" to sysctlbyname().
From: Ollivier Robert <roberto@eurocontrol.fr>
* ntpd/refclock_wwv.c: Cleanup and fixes.
From: Dave Mills <mills@udel.edu>
1999-12-08 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwv.c: Cleanup and fixes
* ntpd/refclock_conf.c: WWV declaration cleanup.
From: Dave Mills <mills@udel.edu>
1999-12-07 Harlan Stenn <stenn@whimsy.udel.edu>
* libparse/clk_rawdcf.c (cvt_rawdcf): Buglet.
From: Frank Kardel <kardel <AT> acm.org>
1999-12-06 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/Makefile.am (ntpd_SOURCES): Added refclock_wwv.c
* ntpd/refclock_wwvb.c:
* ntpd/refclock_wwv.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_chu.c:
* libntp/clocktypes.c:
* include/ntp.h: Dave cleaned some things up
Dave cleaned some things up (WWVB -> SPECTRACOM, CHU -> CHU_AUDIO,
WWV_AUDIO)
* acconfig.h: REFCLOCK_WWVB -> REFCLOCK_SPECTRACOM, added REFCLOCK_WWV
* configure.in: Deal with it.
1999-12-05 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_refclock.c (refclock_open): More PPS cleanup
From: Dave Mills <mills@udel.edu>
* ntpq/ntpq.c:
* ntpq/ntpq_ops.c:
Make `ntpq -pn' independent of DNS, ad advertised.
From: Kamal A Mostafa <kamal@whence.com>
* ntpd/refclock_mx4200.c (mx4200_start): make missing 3rd
parameter a 0.
1999-12-04 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_refclock.c (refclock_open): "flags" processing cleanup
(refclock_open): PPS device initialization cleanup
* include/ntp_refclock.h (LDISC_CHU):
(LDISC_PPS): Clean up comments
From: Dave Mills <mills@udel.edu>
1999-12-03 Sven Dietrich <sven_dietrich@trimble.com>
* libntp/mexit.c: Moved WINNT port specific file to ports/winnt/libntp
* ports/winnt/libntp/libntp.dsp: Fix WinNT makefile for new source loc.
1999-12-03 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/Makefile.am (libntp_a_SOURCES): Lose mexit.c - Sven will
move it to the winnt port area.
1999-12-03 Sven Dietrich <sven_dietrich@trimble.com>
* libntp/systime.c: Removed adjtime hack for WINNT
* ports/winnt/ntpd/nt_clockstuff.c: Winnt double precision adjtime
* ports/winnt/inlcude/clockstuff.h: Remove no longer needed externs
1999-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
* libparse/Makefile.in: Manually hacked to remove the
libparse_kernel.a.[co] cruft
* libparse/Makefile.am (k*.o): Generate these form the Makefile,
not from separate .c files
* html/tickadj.htm:
* html/notes.htm:
* html/hints/solaris.html:
Point to the new dosynctodr report.
* html/hints/solaris.xtra.S99ntpd:
Update. Should be rewritten to take advantage of the new -g
switch and perhaps a loop to wait until ntpd hits a reasonable
"state".
* html/hints/solaris-dosynctodr.html: New information
From: "John W. Sopko Jr." <sopko@cs.unc.edu>
1999-12-01 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/authkeys.c (auth_moremem): Clear memory allocated for sk.
From: Hugo Mildenberger <hugo.mildenberger@topmail.de>
1999-12-01 Sven Dietrich <sven_dietrich@trimble.com>
* libntp/recvbuff.c: Unused functions cleanup
* ntpd/ntpd.c: ProcessorAffinity, IO cleanup
* ports/winnt/instsrv/instsrv.c: Service name changed to NTP
NT port shouldn;t hop between CPUs. Set affinity to first processor.
Service name was NetworkTimeProtocol. Too long. Now NTP.
1999-12-01 Harlan Stenn <stenn@whimsy.udel.edu>
* scripts/plot_summary.pl: Improved option parsing. Fixed one
minor Perl compatibility error.
* scripts/summary.pl: Official revision for NTPv4: Parse new
statistic file formats correctly, provide error checking for bad
input files, and guard against negative arguments to sqrt()
because of numeric effects. Use one pattern to select valid
statistic files. Add selectable output directory
(``--output-directory'') and improved option parsing. Directory
with statistic files (now settable also with
``--input-directory'') defaults to ``/var/log/ntp''.
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
* html/driver8.htm:
* libparse/clk_computime.c:
* libparse/clk_dcf7000.c:
* libparse/clk_hopf6021.c:
* libparse/clk_meinberg.c:
* libparse/clk_rawdcf.c:
* libparse/clk_rcc8000.c:
* libparse/clk_schmid.c:
* libparse/clk_trimtaip.c:
* libparse/clk_trimtsip.c:
* libparse/data_mbg.c:
* libparse/kclk_computime.c:
* libparse/kclk_dcf7000.c:
* libparse/kclk_hopf6021.c:
* libparse/kclk_meinberg.c:
* libparse/kclk_rawdcf.c:
* libparse/kclk_rcc8000.c:
* libparse/kclk_schmid.c:
* libparse/kclk_trimtaip.c:
* libparse/kclk_trimtsip.c:
* libparse/kparse.c:
* libparse/kparse_conf.c:
* libparse/parse.c:
* libparse/parse_conf.c:
* libparse/parsesolaris.c:
* libparse/parsestreams.c:
* ntpd/refclock_parse.c:
Mods and updates
From: Frank Kardel <kardel <AT> acm.org>
* acconfig.h: PCF refclock
* configure.in:
* html/driver35.htm:
* html/refclock.htm:
* include/ntp.h:
* libntp/clocktypes.c:
* ntpd/Makefile.am:
* ntpd/ntp_control.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_pcf.c:
From: Andreas Voegele <andreas.voegele@gmx.de>
* acconfig.h: DECL_STIME_1
* configure.in (iCFLAGS): Use -std1 for alpha*-dec-osf* if we are
using "cc".
Reported by: Tom Smith <smith@cag.lkg.dec.com>
1999-11-30 Harlan Stenn <stenn@whimsy.udel.edu>
* include/l_stdlib.h: DECL_SYSTIME_1 --- a long *
* configure.in: Use it for DEC OSF[45]
Reported by: Tom Smith <smith@cag.lkg.dec.com>
* ntpd/refclock_parse.c: Add missing declarations
* ntptrace/ntptrace.c: Ditto
* ntpd/ntp_proto.c: Ditto
* ntpd/refclock_palisade.c: Ditto
From: Jonathan Stone <jonathan@dsg.stanford.edu>
1999-11-18 Sven Dietrich <sven_dietrich@trimble.com>
* Win NT port updates
* ntpd.dsp: makefile only builds supported refclocks
* config.h: cleanup, undefine unsupported clock_atom
* win32_io, clock_NMEA: foundation for future refclock support
* recvbuff, transmitbuff, IOcompletionport: streamline packet handler
* html/hints/winnt.htm: Added up-to-date html docs for WINNT
1999-11-17 Harlan Stenn <stenn@whimsy.udel.edu>
* html/copyright.htm: Credit Jack for his work.
* html/pic/*: Save a *ton* of space on the pictures.
From: Jack Sasportas <jack@innovativeinternet.com>
1999-11-16 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in : changequote for osf[45] test.
Reported by: Tom Smith <smith@cag.lkg.dec.com>
* ntp_update: Ignore stuff in any A.* directory.
1999-11-15 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Clean up header checks for sys/syssgi.h and
sys/select.h . Originally, we did not check for sys/select.h
under some versions of SCO (see xntp3-5). Somewhere in ntp4 we
dropped the SCO check and added the check for sys/syssgi.h,
exclusive of checking for sys/select.h. Marc Brett can't think of
a reason why we should not be checking for sys/select.h, so let's
look for it now.
1999-11-13 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpdate/ntpdate.c: Add the ability for ntpdate to query a
multicast address. We use the response to the multicast address
to learn new servers which we then add to the peer list and query.
In changing this I made the list of peers a linked list.
To be complete I should detect a broadcast address and make it
behave the same way. But that requires a scan of the interface
list which is more complicated that I want to deal with...
Fix a bug, allowing ntpdate to compile if SLEWALWAYS and STEP_SLEW
are both defined.
From: Jeffrey C Honig <jch@bsdi.com>
* ntpd/ntp_refclock.c: sys/sio.h and SCO5_CLOCK cleanup
From: Kamal A Mostafa <kamal@whence.com>
* ntpd/ntp_loopfilter.c: Let -g do a "correct any" for the first
time adjustment.
From: Dave Mills <mills@udel.edu>
* configure.in: sys/sio.h needs to be checked independently.
Reported by: Kamal A Mostafa <kamal@whence.com>
1999-11-11 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98f
* configure.in: DECL_PLOCK_0 and DECL_STIME_0 are for dec-osf5*, too
* ntpd/ntpd.c: DEC OSF cleanup (editorial comments by HMS)
From: Tom Smith <smith@cag.lkg.dec.com>
* ntpd/ntp_refclock.c: MAXUNIT bugfix
From: Marc.Brett@westgeo.com
* ntpd/ntp_refclock.c:
* ntpd/ntpd.c:
* ntpd/refclock_arc.c:
* ntpd/refclock_as2201.c:
* ntpd/refclock_atom.c:
* ntpdc/ntpdc.c:
* ntpq/ntpq.c:
Code cleanup.
From: Marc.Brett@westgeo.com
* include/ntp_stdlib.h:
* libntp/systime.c:
* ntpd/ntp_proto.c:
Replaced the 'sco5_oldclock' variable with 'systime_10ms_ticks'.
Cleared libntp/systime.c and include/ntp_stdlib.h of references
to SCO5_CLOCK and RELIANTUNIX_CLOCK (moved to ntpd/ntp_proto.c).
From: Kamal A Mostafa <kamal@whence.com>
* configure.in: alpha-dec-osf4* -> alpha*-dec-osf4*|alpha*-dec-osf5*
From: Tom Smith <smith@cag.lkg.dec.com>
* configure.in: Look for <sys/sio.h>. If TIOCDCDTIMESTAMP is
there, we have TTYCLK.
* acconfig.h: Lose old AIOCTIMESTAMP stuff
Reported by: Kamal A Mostafa <kamal@whence.com>
1999-11-10 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntpd.c (set_process_priority): Clean up nice() and setpriority()
1999-11-09 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am (EXTRA_DIST): Added README.cvs
Reported by: Kamal A Mostafa <kamal@whence.com>
1999-11-08 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98e
1999-11-07 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Lose AIOCTIMESTAMP tests
* ntpd/ntpd.c: lose select() EINTR debug warning
* ntpd/ntp_refclock.c: AIOCTIMESTAMP -> TIOCDCDTIMESTAMP. Watch
CLK_SETSTR.
* ntpd/refclock_atom.c: fdpps is only there for PPS or PPSAPI.
AIOCTIMESTAMP is gone now.
From: Kamal A Mostafa <kamal@whence.com>
* configure.in (HAVE_MLOCKALL): Deal with dec-osf5 realities
* ntpd/refclock_ulink.c (ulink_poll): Fix cast.
* libntp/machines.c (ntp_set_tod): Use a long* for the argument to
stime().
Reported by: Tom Smith <smith@cag.lkg.dec.com>
* ntpd/ntpd.c (set_process_priority): Use whatever we have until
something works.
* ntpd/ntp_loopfilter.c: Keep clock_frequency changes in a temp
variable so we can record it to loopstats (near as HMS can tell).
From: Dave Mills <mills@udel.edu>
1999-11-06 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h: RELIANTUNIX_CLOCK
* configure.in (ac_cv_var_tickadj): RELIANTUNIX_CLOCK
* libntp/systime.c (adj_systime): Reliant patches
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
1999-11-05 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_parse.c (parse_start): ASYNC_PPS_CD_NEG cleanup
* configure.in (ac_cv_make_ntptime): OK on Linux
From: <Ulrich.Windl@rz.uni-regensburg.de>
* configure.in: NetBSD has PPSAPI now
F_SETOWN is needed for NetBSD
From: Jonathan Stone <jonathan@dsg.stanford.edu>
1999-11-02 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98d
* ntpd/refclock_parse.c: Cleanup/fixes
From: John Hay <jhay@mikom.csir.co.za>
* ntpd/refclock_parse.c: Lose #include "ntp_select.h"
* ntpd/ntpd.c: Lose #include "ntp_select.h"
* ntpd/ntp_io.c: Lose #include "ntp_select.h"
* ntpd/ntp_intres.c: Lose #include "ntp_select.h"
* libntp/iosignal.c: Lose #include "ntp_select.h"
* include/ntpd.h: #include "ntp_select.h" for declaration of activefds
Reported by: Christian Krackowizer <kra1@technodat.co.at>
1999-11-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98c
* libntp/syssignal.c: Don't warn about SA_RESTART
* libntp/recvbuff.c: Fix free buffer count
From: Jeffrey C Honig <jch@bsdi.com>
* html/pps.htm:
* html/howto.htm:
* html/confopt.htm:
* html/clockopt.htm:
* html/uthopt.htm:
Updates.
From: Dave Mills <mills@udel.edu>
* ntpd/refclock_wwvb.c: burst fixes
* ntpd/refclock_ulink.c: burst fixes
* ntpd/refclock_tpro.c: burst and NSTAGE fixes
* ntpd/refclock_pst.c: burst fixes
* ntpd/refclock_irig.c: SAMPLE -> SAMPLES
* ntpd/refclock_heath.c: burst fixes
* ntpd/refclock_dumbclock.c: burst fixes
* ntpd/refclock_chronolog.c: burst fixes
* ntpd/refclock_bancomm.c: burst fixes
* ntpd/refclock_atom.c: burst fixes
* ntpd/refclock_as2201.c: burst fixes
* ntpd/ntp_refclock.c: PPSAPI, code, and comment cleanup/fixes
* ntpd/ntp_proto.c: Broadcast/restrict cleanup
* ntpd/ntp_loopfilter.c: Cleanup and fixes
* libntp/gpstolfp.c: Lose the UL qualifiers - old compilers hate them
From: Dave Mills <mills@udel.edu>
1999-10-31 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: TIOCSPPS cleanup
1999-10-20 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98b
* ntpd/refclock_atom.c: AIOCTIMESTAMP patch
* ntpd/ntpd.c: SCO clock patch
* ntpd/ntp_request.c: noselect patch
* ntpd/ntp_refclock.c: AIOCTIMESTAMP patch
* ntpd/ntp_proto.c: noselect patch
* ntpd/ntp_intres.c: noselect patch
* ntpd/ntp_config.c: noselect patch
* include/ntp_request.h: noselect patch
* include/ntp.h: noselect patch
From: Kamal A Mostafa <kamal@whence.com>
* configure.in:
* acconfig.h: TTYCLK_AIOCTIMESTAMP
Stuff for Kamal
* ntpd/refclock_atom.c (atom_pps): make "result" initialization
uglier, but more bulletproof.
* configure.in (sys/timepps.h): Fixed.
From: John Hay <jhay@mikom.csir.co.za>
1999-10-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c: Rename instance.state to instance.o_state
* refclock_oncore.c:
* refclock_mx4200.c:
* refclock_chu.c:
* refclock_atom.c:
* ntp_refclock.c:
* ntp_peer.c:
* ntp_loopfilter.c:
* include/ntp_refclock.h:
Various cleanup and fixes
From: Dave Mills <mills@udel.edu>
1999-10-17 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (CONFIG_FILE): NT changes
From: Sven Dietrich <Sven_Dietrich@trimble.com>
1999-10-16 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: sys/timepps.h verification changes
* ntpd/refclock_atom.c (atom_poll): PPS cleanup
From: Dave Mills <mills@udel.edu>
(atom_pps): Portability patch
From: John Hay <jhay@mikom.csir.co.za>
* libntp/msyslog.c:
* libntp/gpstolfp.c:
Lint cleanup
From: Jonathan Stone <jonathan@dsg.stanford.edu>
* parseutil/dcfd.c: abs() -> l_abs(), time.h (AIX 4.3.2 patches)
From: Dana Kaempen <decay@flash.net>
* ntpd/refclock_oncore.c:
* ntpd/refclock_atom.c:
* ntpd/ntp_refclock.c:
PPS cleanup
From: John.Hay@mikom.csir.co.za
* util/ntptime.c:
* ntpdate/ntptimeset.c:
* ntpdate/ntpdate.c:
* ntpd/refclock_trak.c:
* ntpd/refclock_oncore.c:
* ntpd/refclock_mx4200.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_atom.c:
* ntpd/ntp_control.c:
* ntpd/ntp_config.c:
* configure.in:
* configure:
PPS, Solaris 7, cleanup patches
From: Marc.Brett@westgeo.com
* ports/winnt/ntptrace/ntptrace.dsp:
* ports/winnt/ntpq/ntpq.dsp:
* ports/winnt/ntpdc/ntpdc.dsp:
* ports/winnt/ntpdate/ntpdate.dsp:
* ports/winnt/ntpd/refclock_trimbledc.c:
* ports/winnt/ntpd/ntpd.dsp:
* ports/winnt/ntpd/ntp_iocompletionport.c:
* ports/winnt/ntpd/nt_clockstuff.c:
* ports/winnt/libntp/util_clockstuff.c:
* ports/winnt/libntp/libntp.dsp:
* ports/winnt/libntp/SetSystemTime.c:
* ports/winnt/instsrv/instsrv.c:
* ports/winnt/include/sys/ioctl.h:
* ports/winnt/include/termios.h:
* ports/winnt/include/config.h:
* ports/winnt/include/clockstuff.h:
* ports/winnt/ntp.dsw:
* ntpd/refclock_shm.c:
* ntpd/refclock_palisade.c:
* ntpd/ntpd.c:
* ntpd/ntp_timer.c:
* ntpd/ntp_refclock.c:
* libntp/systime.c:
* libntp/machines.c:
NT patches
From: Sven Dietrich <Sven_Dietrich@trimble.com>
1999-10-15 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_wwvb.c:
* ntpd/refclock_usno.c:
* ntpd/refclock_ulink.c:
* ntpd/refclock_tpro.c:
* ntpd/refclock_pst.c:
* ntpd/refclock_parse.c:
* ntpd/refclock_palisade.c:
* ntpd/refclock_oncore.c:
* ntpd/refclock_mx4200.c:
* ntpd/refclock_msfees.c:
* ntpd/refclock_jupiter.c:
* ntpd/refclock_irig.c:
* ntpd/refclock_heath.c:
* ntpd/refclock_chu.c:
* ntpd/refclock_atom.c:
* ntpd/refclock_as2201.c:
* ntpd/refclock_arc.c:
* ntpd/refclock_arbiter.c:
* ntpd/refclock_acts.c:
* ntpd/ntp_refclock.c:
* include/ntp_refclock.h:
Bunches of fixes.
From: Dave Mills <mills@udel.edu>
1999-10-10 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver16.htm: New version
* ntpd/refclock_bancomm.c: New version
From: "Cliff, Gary" <gary.cliff@cdott.com>
"Ramasivan, Ganesh" <ganesh.ramasivan@cdott.com>
* ntpd/refclock_ulink.c (ulink_receive): Cleanup
(ulink_poll): Cleanup
* ntpd/refclock_atom.c (atom_pps): SunOS timespec/timeval cleanup
From: Marc.Brett@westgeo.com
* INSTALL: Point NT folks at ports/winnt
Reported by: Stephen Gildea <gildea@intouchsys.com>
* include/ntp_stdlib.h: Noise abatement
* include/ntpd.h: Noise abatement
Reported by: "W. David Higgins" <wdh@grouper.ccur.com>
* configure.in: DECL_STDIO_0 with gcc under solaris.
* include/l_stdlib.h: DECL_TOUPPER_0
DECL_STRERROR_0
* configure.in: Fix a bunch of implicit declarations for SunOS
* html/release.htm: cleanup - we still provide MD5.
Reported by: Winslowe Lacesso <lacesso@cs.ubc.ca>
1999-10-09 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c:
* ntpd/refclock_atom.c:
* ntpd/ntp_refclock.c:
PPS API code updated to the current spec
From: Dave Mills
* configure.in (ac_cv_make_tickadj): Don't make tickadj starting
with solaris2.5
Requested by: Dave Mills
1999-10-04 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: We might need -lsocket for the -lnsl check.
1999-09-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_ulink.c: Typos in C++ comment
Reported by: Thomas.Tornblom@Sun.SE
* configure.in: 4.0.98a
* ntpd/ntp_config.c (getconfig): Fix typo.
From: "David E. Myers" <dem@skyline.rtp.nc.us>
From: David Godfrey <dave@delta.demon.co.uk>
From: Geoffrey Sisson <geoff@nominet.org.uk>
1999-09-17 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.98
NetInfo support:
* config.guess
* config.sub
Add Mac OS (versions 10 and up).
* acconfig.h
* config.h.in
* configure.in
Check for NetInfo API; add HAVE_NETINFO macro and friends.
* include/ntp.h
* ntpd/ntp_config.c
* ntpdate/ntpdate.c
Add support for reading configuration from NetInfo.
* ntpd/ntp_config.c
Get rid of unnecessary eol variable in tokenizer.
* html/notes.htm
* html/ntpd.htm
* html/ntpdate.htm
Document NetInfo functionality.
* util/tickadj.c
Use HAVE_KVM_OPEN conditional around kvm.h include.
From: Wilfredo Sanchez <wsanchez@apple.com>
1999-09-15 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h:
* config.h.in:
* configure.in:
* html/driver34.htm:
* html/refclock.htm:
* include/ntp.h:
* libntp/clocktypes.c:
* ntpd/Makefile.am:
* ntpd/ntp_control.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_ulink.c:
Ultralink driver
From: Dave Strout <dstrout@linuxfoundary.com>
1999-09-14 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: ReliantUNIX patches
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
* ntpd/refclock_atom.c: PPS cleanup
* ntpd/ntp_refclock.c (refclock_ioctl): PPS cleanup
From: Dave Mills <mills@udel.edu>
* ntptrace/ntptrace.c (ReceiveBuf): addserver() can return NIL.
Reported by: "Alan J. Wylie" <alanw@cyrano.com>
* libntp/ieee754io.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_refclock.c:
Lint cleanup.
From: Marc.Brett@westgeo.com
1999-09-12 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_refclock.c (refclock_ioctl): Declaration cleanup.
* ntpd/ntp_proto.c (init_proto): msyslog kern_enable at LOG_DEBUG.
* ntpd/refclock_atom.c: Add missing declaration.
1999-09-11 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_make_ntptime): Just look for struct
ntptimeval, not timespec or nsec (Solaris 2.7 should get ntptime
and it uses msec).
(ac_cv_var_oncore_ok): Reorder so it's a "normal" clock
* configure.in: Solaris Kernel FLL bug fixed in 106541-07
1999-09-02 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97f
* ntptrace/ntptrace.c:
* ntpdate/ntptimeset.c:
* ntpdate/ntptime_config.c:
* ntpdate/ntpdate.c:
* util/ntptime.c:
* parseutil/dcfd.c:
* libparse/parsestreams.c:
* libparse/parse_conf.c:
* libparse/parse.c:
* libparse/clk_varitext.c:
* libparse/clk_trimtsip.c:
* libparse/clk_trimtaip.c:
* libparse/clk_schmid.c:
* libparse/clk_rcc8000.c:
* libparse/clk_rawdcf.c:
* libparse/clk_meinberg.c:
* libparse/clk_hopf6021.c:
* libparse/clk_dcf7000.c:
* libparse/clk_computime.c:
* libntp/msyslog.c:
* libntp/iosignal.c:
* libntp/syssignal.c:
* adjtimed/adjtimed.c:
* ntpd/refclock_shm.c:
* ntpd/refclock_parse.c:
* ntpd/refclock_palisade.c:
* ntpd/refclock_mx4200.c:
* ntpd/refclock_jupiter.c:
* ntpd/refclock_datum.c:
* ntpd/ntpd.c:
* ntpd/ntp_util.c:
* ntpd/ntp_timer.c:
* ntpd/ntp_request.c:
* ntpd/ntp_refclock.c:
* ntpd/ntp_monitor.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntp_io.c:
* ntpd/ntp_intres.c:
* ntpd/ntp_filegen.c:
* include/l_stdlib.h:
<errno.h> and errno declaration cleanup.
* ntpd/map_vme.c: cleanup some spacing.
1999-09-01 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97e
* configure.in (ac_cv_struct_sigaction_has_sa_sigaction):
* acconfig.h: Ditto
* parseutil/dcfd.c (main): Use it.
From: HOSAKA Eiichi <HOSAKA.Eiichi@dd.anritsu.co.jp>
1999-08-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97d
* include/ntp_stdlib.h: Clean up previous NeXT patch.
From: Jack Bryans <jbryans@csulb.edu>
* ntpd/refclock_parse.c: Permit RTS to power a DCF77.
From: Carsten Paeth <calle@calle.in-berlin.de>
* ntpd/refclock_oncore.c (oncore_start): This makes the Oncore run
on systems without hardpps().
From: Poul-Henning Kamp <phk@freebsd.org>
1999-08-28 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97c
* configure.in (ac_cv_make_ntptime): Typo.
From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
1999-08-26 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97b
* libntp/iosignal.c:
* ntpd/ntp_peer.c:
* ntpd/refclock_nmea.c:
* ntpdate/ntptime_config.c:
* ntpdate/ntptimeset.c:
AIX, Irix, and SunOS lint cleanup
From: Marc.Brett@westgeo.com
1999-08-24 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in 4.0.97a
* configure.in (AC_OUTPUT): added scripts/Makefile
* Makefile.am (SUBDIRS): Added scripts
* scripts/Makefile.am: Added
1999-08-23 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_nmea.c: Patches for:
Trimble OEM Ace-II receiver. Low cost PCB with single
voltage input, external active antenna and two serial
ports with either NMEA and ITAPs output. Programmable
to be tuned for 'time' accuracy in fixed station config.
From: Nick Hibma <nick.hibma@jrc.it>
1999-08-21 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c: Added listen_to_virtual_ips support (-L flag)
* ntpd/ntp_io.c: Ditto
1999-08-19 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_intres.c (request): Lint cleanup
* ntpd/ntp_control.c (ctl_putclock): Ditto
* libntp/recvbuff.c (getrecvbufs): Ditto
(get_free_recv_buffer): Ditto
* libntp/systime.c (adj_systime): Ditto
1999-08-18 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.97
* libntp/systime.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntpd.c:
* ports/winnt/libntp/nt_clockstuff.c:
From: Sven Dietrich <Sven_Dietrich@trimble.com>
* README.cvs: Updated.
* configure.in:
* include/ntp_machine.h:
* libntp/mexit.c:
* ntpd/ntp_config.c:
* ntpd/ntp_peer.c:
* ntpd/ntp_restrict.c:
* ntpd/refclock_arc.c:
* ntpdate/ntpdate.c:
Irix, SunOS, AIX, lint patches
From: Marc.Brett@westgeo.com
* util/ansi2knr.c: New release (fix for bug reported by Marc Brett)
From: "L. Peter Deutsch" <ghost@aladdin.com>
* include/ntp_stdlib.h: NeXT portability patch
From: Jack Bryans <jbryans@csulb.edu>
* configure.in:
* dot.emacs: (cleanup)
* ntpdate/Makefile.am:
* ntpdate/ntpdate.h:
* ntpdate/ntptime_config.c:
* ntpdate/ntptimeset.c:
ntptimeset patches.
From: Jeffrey Hutzelman <jhutz@cmu.edu>
* ntpd/refclock_parse.c (local_input): ts.l_ui -> ts.fp.l_ui
1999-08-11 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.96p1
* ntpd/ntpd.c (sys/resource.h): Include this file only #if
HAVE_SYS_RESOURCE_H.
(set_process_priority): Use TIOCNOTTY only if it is #define'd.
* ntpd/refclock_parse.c (STREAM): STREAM does not imply HAVE_TERMIOS.
(termios.h, termio.h, fcntl.h): Do not include those files here;
they are already included by ntp_refclock.h or ntp_io.h.
* ntpd/refclock_leitch.c (sgtty.h, termios.h, termio.h): Do not
include those files here; they are already included by ntp_refclock.h.
* ntpdate/ntpdate.c (sys/resource.h) : Include that file only #if
HAVE_RESOURCE_H.
From: Philippe De Muyter <phdm@macqel.be>
* ntptrace/ntptrace.c (input_handler): Make it a "normal" function
definition.
Reported by: GIANNI_CATANIA@hp-italy-om6.om.hp.com
* configure.in: pc-cygwin32 -> pc-cygwin* because of a change in
B20.
From: Stephen Gildea <gildea@intouchsys.com>
1999-08-09 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.96
* parseutil/dcfd.c (main): Replace SA_ONSTACK and SV_ONSTACK with
HAVE_SIGACTION and HAVE_SIGVEC, respectively. HP-UX provides both
of the former but only one of the latter...
1999-08-08 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Better tests for -lnsl and -lsocket
From: Albert Chin-A-Young <china@thewrittenword.com>
Works for me - handle openlog() and -lgen the same way.
* Makefile.am (EXTRA_DIST): Add in the y2k notes
* parseutil/dcfd.c: Renamed drift_comp to accum_drift
* configure.in: Added MAKE_CHECK_Y2K support; check_y2k needs libparse.
* ntpd/Makefile.am (check_PROGRAMS): Use MAKE_CHECK_Y2K
* ntpd/Makefile.am (check-local): Added.
* parseutil/Makefile.am (check-local): Added.
* include/ntp.h: Y2KFixes
* libparse/parse.c: Ditto
* ntpd/Makefile.am (check_PROGRAMS): Ditto
* ntpd/refclock_acts.c: Ditto
* ntpd/refclock_arc.c (arc_receive): Ditto
* ntpd/refclock_heath.c: Ditto
* ntpd/refclock_hpgps.c: Ditto
* parseutil/Makefile.am (check-local): Ditto
* parseutil/dcfd.c (check_y2k): Ditto
* NOTES.y2kfixes: Ditto
* readme.y2kfixes: Ditto
* results.y2kfixes: Ditto
* ntpd/check_y2k.c: Ditto
From: y2k@y2k.labs.att.com
1999-08-07 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Look for sys/ppstime.h.
1999-07-31 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_io.c (create_sockets): Typo.
From: Doug Wells <dmw@contek.com>
1999-07-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_struct_ntptimeval): Explicitly look for
struct ntptimeval.
(ac_cv_var_kernel_pll): Require struct ntptimeval.
Linux. Grrr.
Reported by: Ronald Kuetemeier <ronaldk@smginc.com>
1999-07-27 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.95
* ports/winnt: New release
From: Sven Dietrich <Sven_Dietrich@trimble.com>
1999-07-26 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/machines.c (ntp_set_tod): Bugfix
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
1999-07-25 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.94b
* acconfig.h:
* configure.in:
* libparse/Makefile.am:
* libparse/parse_conf.c:
* libparse/clk_varitext.c:
* libparse/kclk_varitext.c:
* ntpd/refclock_parse.c: VARITEXT parse clock
* ntpdate/ntpdate.c: bugfix
From: Tony McConnell <tonym@datel-technology.co.uk>
1999-07-24 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_syscall.h (ntp_gettime): Make it static
* configure.in: Added AC_C_INLINE
Reported by: "Charles C. Fu" <ccwf@klab.caltech.edu>
1999-07-23 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntpd.h:
* libntp/machines.c:
* libntp/systime.c:
* ntpd/ntp_config.c:
* ntpd/ntp_filegen.c:
* ntpd/ntp_io.c:
* ntpd/ntp_proto.c:
* ntpd/ntp_timer.c:
* ntpdate/ntpdate.c: Windows NT port cleanup
From: Sven Dietrich <Sven_Dietrich@trimble.com>
1999-07-22 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/authkeys.c:
* libntp/ieee754io.c:
* libntp/iosignal.c:
* libntp/machines.c:
* libntp/mexit.c:
* libntp/recvbuff.c:
* ntpd/ntp_filegen.c:
* ntpd/ntp_loopfilter.c:
* ntpd/ntp_request.c:
* ntpd/ntp_timer.c:
* ntpd/ntpd.c: Compile/lint cleanup
From: Allen Smith <easmith@beatrice.rutgers.edu>
1999-07-21 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.94a
* configure.in (ac_cv_make_ntptime): Add tv_nsec check.
* include/Makefile.am (noinst_HEADERS): Forgot ntp_syscall.h
From: John.Hay@mikom.csir.co.za
* configure.in: 4.0.94
* Makefile.am (SUBDIRS): librsaref
(dist-hook): Lose CVS subdirs in the distribution tarball
* include/Makefile.am (noinst_HEADERS): Added iosignal.h, recvbuff.h
* Makefile.am (dist-hook): Don't call dos2unix anymore
1999-07-20 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h:
* util/ntptime.c: FreeBSD nano patches
From: Per Hedeland <per@erix.ericsson.se> and
Allen Smith <easmith@beatrice.rutgers.edu>
* include/ntp.h:
include/ntp_fp.h:
include/ntp_io.h:
include/ntp_machine.h:
include/ntp_refclock.h:
include/ntp_stdlib.h:
include/ntpd.h:
libntp/Makefile.am:
libntp/emalloc.c:
libntp/machines.c:
libntp/mexit.c:
libntp/msyslog.c:
libntp/statestr.c:
libntp/syssignal.c:
libntp/systime.c:
libparse/parse.c:
libparse/parse_conf.c:
ntpd/ntp_control.c:
ntpd/ntp_intres.c:
ntpd/ntp_io.c:
ntpd/ntp_proto.c:
ntpd/ntp_refclock.c:
ntpd/ntp_request.c:
ntpd/ntp_timer.c:
ntpd/ntp_util.c:
ntpd/ntpd.c:
ntpd/refclock_nmea.c:
ntpd/refclock_palisade.c:
ntpd/refclock_palisade.h:
ntpd/refclock_shm.c:
ntpdate/ntpdate.c:
ntptrace/ntptrace.c: Cleanup
* libntp/recvbuff.c:
libntp/iosignal.c:
include/iosignal.h:
include/recvbuff.h: Added
From: Sven_Dietrich@Trimble.COM
* README: Add README.cvs
* configure.in (ac_cv_var_struct_ntptime_val_timespec): Typo.
From: John Hay <jhay@mikom.csir.co.za>
1999-07-19 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am (EXTRA_DIST): Lose ntpmak; "build" does a better job.
* ntpq/Makefile.am (version.o): Use mkver
* ntptrace/Makefile.am (version.o): Ditto
* ntpdate/Makefile.am (version.o): Ditto
* ntpd/Makefile.am (version.o): Ditto
* ntpdc/Makefile.am (version.o): Ditto
* configure.in (AC_OUTPUT): scripts/mkver
* scripts/mkver.in: Created. Note RSAREF in the version string
1999-07-18 Harlan Stenn <stenn@whimsy.udel.edu>
* README.des: Updated.
* ntpq/Makefile.am (LDADD): Add LIBRSAREF
* ntpdc/Makefile.am (LDADD): Add LIBRSAREF
* ntpdate/Makefile.am (LDADD): Add LIBRSAREF
* ntpd/Makefile.am (LDADD): Add LIBRSAREF
* configure.in (AC_OUTPUT): Added librsaref/Makefile
Added tests for making/using librsaref.a
Lose old DES stuff; AC_DEFINE(DES) if we find the rsaref stuff.
1999-07-11 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_trak.c (trak_receive): disambiguate expression.
At least now it is unambiguous. It may even still be correct.
Reported by: Tom Smith <smith@cag.lkg.dec.com>
* ntp_update (UPDATE_OPTIONS): Typo.
1999-07-07 Harlan Stenn <stenn@whimsy.udel.edu>
* ntp_update: Check out copyright.htm before COPYRIGHT
* ntpd/ntp_config.c: Support for PPS assert/clear/hardpps
* ntpd/ntp_refclock.c (refclock_ioctl): Ditto
(refclock_gtlin): Ditto
* html/clockopt.htm: Document.
From: John Hay <jhay@mikom.csir.co.za>
* html/monopt.htm: We have four types of files now
* ntpd/refclock_oncore.c: If debug is on, tell when
we are waiting for a valid almanac
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
* include/ntp_machine.h (HAVE_TERMIOS): STREAMS does not imply
HAVE_TERMIOS !!!
* include/parse.h (timercmp): Macro defined if needed.
* ntpd/ntp_config.c (SIGCHLD): Macro defined as SIGCLD if needed.
(sys/wait.h): File included only if HAVE_SYS_WAIT_H.
* configure.in (sys/wait.h): File added to AC_CHECK_HEADERS list.
From: Philippe De Muyter <phdm@macqel.be>
1999-06-23 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_irig.c (irig_debug): NetBSD patches
From: Frederick Bruckman <fb@enteract.com>
* util/ntptime.c (main): ntx.freq bugfix (-f option)
From: Frederick Bruckman <fb@enteract.com>
1999-06-22 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Fix typo with DECL_H_ERRNO test
* ntpd/ntp_loopfilter.c: Lose syscall decl, it's handled in
l_stdlib.h now.
* ntpd/ntp_request.c: Ditto
* util/ntptime.c: Ditto
Mon May 31 18:49:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/ntp_proto.c (proto_config): Don't set sys_bclient on
PROTO_MULTICAST_ADD, only caller can decide; remove wrong set on
PROTO_MULTICAST_DEL.
Mon May 31 18:49:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/refclock_parse.c (stream_receive): Cast size_t to int to
match format.
(local_receive): Likewise.
(trimbletaip_event): Likewise.
(stream_receive): Cast struct timeval members to long to match
format.
(local_receive): Likewise.
* ntpd/ntp_util.c (stats_config): Cast size_t to int to match
format.
* libparse/clk_rawdcf.c (cvt_rawdcf): Cast ptr difference to int
to match format.
* ntpd/refclock_parse.c (gps16x_poll): Likewise.
* ntpd/ntp_filegen.c (filegen_open): Use long format, cast arg to
match.
* ntpd/refclock_parse.c (list_err): Use long format to match arg.
(parse_statistics): Likewise.
(gps16x_message): Likewise.
(cvt_ts): Use long format, cast args to match.
(parse_start): Add missing arg.
(gps16x_message): Swap args to match format.
* ntpd/ntpd.c (ntpdmain): Cast uid to long, adapt format.
* ntpd/ntp_intres.c (readconf): Use long format to match arg.
* ntpd/ntp_io.c (getrecvbufs): Likewise.
* ntpd/ntp_proto.c (default_get_precision): Likewise.
* ntpd/ntp_loopfilter.c (local_clock): Cast clock_panic to int to
match format.
* ntpd/ntp_io.c (io_multicast_add): Print s_addr member, not
struct in_addr, to match format.
* include/ntp_stdlib.h: Declare msyslog() as printf-like for gcc
format checking.
Fri May 28 16:39:35 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpdc/ntpdc_ops.c (iostats): Align timereset line.
* ntpq/ntpq_ops.c (doopeers): Properly align header.
* ntpdc/ntpdc_ops.c (debug): Removed declaration, already in
ntp_stdlib.h.
* ntpq/ntpq_ops.c: Likewise.
* ntpdate/ntpdate.c (debug): Declare volatile to match
ntp_stdlib.h.
* ntpdc/ntpdc.c, ntpq/ntpq.c, ntptrace/ntptrace.c, util/tickadj.c,
util/ntptime.c: Likewise.
* include/parse.h (debug): Don't declare to avoid clash with
ntp_stdlib.h.
* include/Makefile.am (noinst_HEADERS): Add new ntp_syscall.h.
* configure.in: Also check for -lrt for POSIX.1c functions.
Wed May 26 21:03:30 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in: Removed -Wwrite-strings from CFLAGS.
* ntpdc/ntpdc.c (help): Remove superfluous cast.
* ntpq/ntpq.c (help): Likewise.
Tue May 25 18:00:49 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpq/ntpq_ops.c (struct varlist): name cannot be const char *
since it may be malloc'ed.
* ntpdc/ntpdc.c (sendrequest): Declare pass as const char *, don't
lose const in cast.
* ntpq/ntpq.c (sendrequest): Likewise.
* ntpd/ntp_control.c (ctl_getitem): Remove superfluous cast.
* include/ntpd.h (struct ctl_var): text cannot be const char *
since it's malloc'ed.
1999-06-22 Harlan Stenn <stenn@whimsy.udel.edu>
* include/l_stdlib.h: Don't include <netinet/in.h>, add forward
declaration of struct in_addr instead.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Patch:
* include/l_stdlib.h: Fixed syscall() declaration.
* configure.in: Updated test to match.
* configure.in: Check if we need to declare errno and h_errno.
Check for <resolv.h> which may provide a h_errno declaration and
<arpa/nameserv.h> which the latter needs.
* acconfig.h: Provide the necessary templates.
* include/ntp_syscall.h: New file, hides various implementations
of ntp_adjtime() and ntp_gettime() syscalls.
* ntpd/ntp_loopfilter.c: Use it.
* ntpd/ntp_request.c: Likewise.
* ntpd/refclock_local.c: Likewise.
* util/ntptime.c: Likewise.
* include/l_stdlib.h: Include <netinet/in.h>, declare inet_ntoa if
necessary.
Moved syscall() declaration here.
* kernel/sys/parsestreams.h: Include <sys/termios.h> for it's
definition of struct ppsclockev.
Include <sys/ppsclock.h> unconditionally for definition of
CIOGETEV via TIOCGPPSEV.
* kernel/sys/ppsclock.h: Protect struct ppsclockev from
redefinition.
* include/ntp_refclock.h: Protect it from multiple inclusion.
* include/ntp_fp.h: Likewise.
* include/ntp.h: Likewise.
* include/ntpd.h: Include ntp_refclock.h for MAXDIAL declaration.
* libntp/authkeys.c: Include ntpd.h for current_time declaration.
* include/ntpd.h (getauthkeys, auth_agekeys, rereadkeys): Moved
prototypes to ntp_stdlib.h
* include/ntp_stdlib.h: Declare variables exported by libntp.
* include/ntpd.h: Likewise for ntpd.
* libntp/authkeys.c (key_hash, authnokey, authfreekeys,
cache_flags): Made static.
* libntp/systime.c (tvu_maxslew, tsf_maxslew, sys_clock_offset,
sys_residual): Likewise.
* ntpd/ntp_intres.c (confentries): Likewise.
* ntpd/ntp_loopfilter.c (clock_offset, clock_panic): Likewise.
(pll_nano): Likewise. Removed duplicate definition.
* ntpd/ntp_peer.c (peer_free, current_association_ID,
assocpeer_calls, init_peer_starttime): Likewise.
* ntpd/ntp_proto.c (sys_offset, sys_authdly): Likewise.
* ntpd/ntp_request.c (numrequests, numresppkts, errorcounter):
Likewise.
* ntpd/ntp_restrict.c (res_calls, res_found, res_not_found,
res_timereset, res_limited_refcnt): Likewise.
* ntpd/ntpd.c (was_alarmed, worker_thread): Likewise.
* ntpq/ntpq_ops.c: Moved declaration of external variable from
ntpq.c to file scope.
* adjtimed/adjtimed.c: Moved declarations of external variables to
ntpd.h and ntp_stdlib.h.
* clockstuff/propdelay.c: Likewise.
* libntp/a_md5encrypt.c, libntp/authencrypt.c, libntp/authkeys.c,
libntp/mfp_mul.c, libntp/msyslog.c, libntp/systime.c: Likewise.
* ntpd/ntp_config.c, ntpd/ntp_control.c, ntpd/ntp_filegen.c,
ntpd/ntp_intres.c, ntpd/ntp_io.c, ntpd/ntp_loopfilter.c,
ntpd/ntp_monitor.c, ntpd/ntp_peer.c, ntpd/ntp_proto.c,
ntpd/ntp_refclock.c, ntpd/ntp_request.c, ntpd/ntp_restrict.c,
ntpd/ntp_timer.c, ntpd/ntp_util.c, ntpd/ntpd.c,
ntpd/refclock_acts.c, ntpd/refclock_arbiter.c, ntpd/refclock_arc.c,
ntpd/refclock_as2201.c, ntpd/refclock_atom.c,
ntpd/refclock_bancomm.c, ntpd/refclock_chronolog.c,
ntpd/refclock_chu.c, ntpd/refclock_datum.c,
ntpd/refclock_dumbclock.c, ntpd/refclock_gpsvme.c,
ntpd/refclock_heath.c, ntpd/refclock_hpgps.c, ntpd/refclock_irig.c,
ntpd/refclock_jupiter.c, ntpd/refclock_leitch.c,
ntpd/refclock_local.c, ntpd/refclock_msfees.c,
ntpd/refclock_mx4200.c, ntpd/refclock_nmea.c,
ntpd/refclock_oncore.c, ntpd/refclock_palisade.h,
ntpd/refclock_parse.c, ntpd/refclock_pst.c, ntpd/refclock_shm.c,
ntpd/refclock_tpro.c, ntpd/refclock_trak.c, ntpd/refclock_true.c,
ntpd/refclock_usno.c, ntpd/refclock_wwvb.c: Likewise.
* ntpdate/ntpdate.c: Likewise.
* ntpdc/ntpdc.c, ntpdc/ntpdc_ops.c: Likewise.
* ntpq/ntpq.c: Likewise.
* ntptrace/ntptrace.c: Likewise.
* util/ntptime.c, til/tickadj.c: Likewise.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* include/ntp_machine.h: Removed superfluous yy/mm/dd comments.
* include/ntpd.h: Likewise.
* libntp/authencrypt.c: Likewise.
* libntp/a_md5encrypt.c: Likewise.
* libntp/caljulian.c: Likewise.
* libntp/ymd2yd.c: Likewise.
* libntp/syssignal.c: Likewise.
* libntp/ymd2yd.c: Likewise.
* ntpd/ntp_control.c: Likewise.
* ntpd/ntp_io.c: Likewise.
* ntpd/ntp_timer.c: Likewise.
* ntpdate/ntpdate.c: Likewise.
* ntpq/ntpq_ops.c: Likewise.
* ntpd/ntp_peer.c (findpeer): Wrap debug output in DEBUG/debug.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* dot.emacs: Removed wrong indentation of substatements.
Wrap in c-style.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/refclock_palisade.c: Patches from Marc Brett
* ntpd/refclock_palisade.h: Ditto.
* util/hist.c: Ditto.
Tue Jun 1 00:40:04 1999 Harlan Stenn <stenn@pogo.udel.edu>
* build: mips-dec-ultrix4.4 hates "set -e"
* flock-build: Created
* build: added -l option
Mon May 31 20:28:40 1999 Harlan Stenn <stenn@pogo.udel.edu>
* README: Removed auto{make,conf}.patch files
Tue May 25 01:20:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am ($(srcdir)/COPYRIGHT): Added
(EXTRA_DIST): Remove auto*.patches
Thu May 20 01:03:00 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* Makefile.am (dist-hook): Call dos2unix on the .htm files
* ntpd/refclock_palisade.h: Clean up declarations.
* configure.in (ac_cv_struct_ntptimeval_timespec): Added.
(ac_cv_make_ntptime): Only if ntptimeval does not use timespec.
* util/tickadj.c: Linux Patches
From: Reg Clemens <reg@dwf.com>
Wed May 19 01:18:24 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.93a
* ntpd/refclock_palisade.h: Restore some lost patches
From: Kamal A Mostafa <kamal@whence.com>
Sun May 16 13:18:32 1999 Philippe De Muyter <phdm@macqel.be>
* libparse/clk_wharton.c (cvt_wharton_400a, inp_wharton_400a): Expect
serial output format number 1, not 5.
(clock_wharton_400a) : Likewise.
* ntpd/refclock_parse.c (parse_clockinfo): For Wharton 400a clock,
do not poll, but expect a message every second.
* html/parsedata.htm : Entry added for Wharton 400a clock.
* html/driver8.htm : Entry fixed for Wharton 400a clock.
Sun May 16 02:59:46 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.93
Sat May 15 18:53:47 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ntp_refclock): ONCORE requires PPSAPI, CIOGETEV,
or TIOCGPPSEV.
Reported by: Reg Clemens <reg@dwf.com>
Fri May 14 23:58:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92h2
* configure.in (ac_cv_make_ntptime): Not under Linux. Yes, it
works for some people. We're tired of the complaints from the
others.
Fri May 14 18:58:59 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* libntp/authreadkeys.c (authreadkeys): Reject autokey keys.
Include ntp.h for NTP_MAXKEY definition, ntp_fp.h for types used
in ntp.h.
Wed May 12 23:02:22 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* libntp/authkeys.c (auth_delkeys): Don't remove autokey keys,
leave info on KEY_TRUSTED flag alone.
Include ntp.h for NTP_MAXKEY definition.
Thu May 13 02:19:02 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92h1
* configure.in: patch for ReliantUNIX
From: Andrej Borsenkow <borsenkow.msk@sni.de>
* ntpd/refclock_oncore.c: Patches
From: Reg Clemens <reg@dwf.com>
Thu Apr 29 14:01:04 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* html/*.htm: Remove unnecessary . Cleanup <pre></pre>
sections.
* configure.in: Properly align configure --help output.
* html/config.htm: Include this version, removing Netscape
cruft.
Wed Apr 28 15:08:55 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* kernel/sys/parsestreams.h: Only include <sys/ppsclock.h> if
struct ppsclockev is missing from system headers.
* util/tickadj.c (getoffsets): Define kernels[] only if used.
(openfile): Rename fd to avoid shadowing global fd.
(writevar): Likewise.
(readvar): Likewise.
* parseutil/dcfd.c (read_drift): drift_file is const char *.
(update_drift): Likewise.
(adjust_clock): Likewise.
(main): Likewise.
* ntpd/refclock_parse.c (gps16x_poll): Adapt format to match
parse->localstate type.
* ntpd/ntp_refclock.c (refclock_gtlin): Only define gotit label
if used.
* include/l_stdlib.h (openlog, syslog): char * args are const.
* configure.in (*-*-osf4*): Enable declaration of stime().
* ntpd/refclock_oncore.c (oncore_msg_any): Cast args to long to
match prototype.
(oncore_msg_En): Likewise.
* include/ntp_refclock.h (struct refclockstat): Declare p_lastcode
as const char *.
* ntpq/ntpq_ops.c (struct varlist): Define name as const.
* ntpdc/ntpdc.c (tokenize): Define cp as const char *, remove
wrong cast instead.
* ntpd/ntp_util.c (record_clock_stats): Make text arg const.
* include/ntpd.h (record_clock_stats): Adapt declaration.
* ntpd/refclock_oncore.c (oncore_start): Removed superfluous casts.
(oncore_msg_Cf): Likewise.
(oncore_msg_Fa): Likewise.
(oncore_msg_Cj): Likewise.
(oncore_msg_Ea): Likewise.
(oncore_msg_Bj): Likewise.
* configure.in (*-*-solaris2.4): Enable declarations of
gettimeofday(), settimeofday(); they are `protected' by
__cplusplus in <sys/time.h>.
Tue Apr 27 21:14:47 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* scripts/summary.pl: Use . as default statsdir.
(do_loop): Accept new loopstats format with additional sys_error
and clock_stability fields.
(do_peer): Accept new peerstats format with additional skew field.
Mon Apr 26 01:50:38 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* Upgraded automake (1.4a) and autoconf (2.14.1)
* configure.in (ac_refclock_irig): We no longer need stropts.h.
* ntpd/refclock_irig.c: Ditto
Mon Apr 26 17:33:33 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (*-*-irix6*): Don't pass MIPSpro cc-only flag -n32
to gcc.
Thu Apr 22 15:06:40 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* ntpd/ntp_config.c (getconfig): IN_CLASSD() expects address in
host byte order, but struct sockaddr_in.s_addr is in network byte
order.
* ntpd/ntp_io.c (io_multicast_del): Likewise.
Sat Apr 24 01:00:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92h
* ntptrace/ntptrace.c: -m maxhost patch
From: "R. Gary Cutbill" <rgary@chrysalis.com>
* util/ntptime.c: Patches.
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
* html/accopt.htm, html/assoc.htm, html/authopt.htm,
html/biblio.htm, html/build.htm, html/clockopt.htm,
html/confopt.htm, html/copyright.htm, html/debug.htm,
html/exec.htm, html/extern.htm, html/hints.htm, html/index.htm,
html/kern.htm, html/miscopt.htm, html/monopt.htm, html/notes.htm,
html/ntpd.htm, html/ntpdate.htm, html/ntpdc.htm, html/ntpq.htm,
html/ntptime.htm, html/ntptrace.htm, html/patches.htm,
html/porting.htm, html/pps.htm, html/rdebug.htm,
html/refclock.htm, html/release.htm, html/tickadj.htm,
html/hints/solaris.html: Fixed many typos and problems.
* acconfig.h (DECL_CFSETISPEED_0, DECL_MRAND48_0, DECL_NLIST_0,
DECL_SRAND48_0, DECL_STIME_0): New templates.
* include/l_stdlib.h: Include termios.h to get definition of
speed_t.
(cfsetispeed, cfsetospeed, mrand48, nlist, srand48, stime): New
declarations.
(openlog): Declare 2- or 3-argument form.
* configure.in: Enable declarations of functions missing from
Ultrix V4.3 system headers.
* ntpd/refclock_oncore.c: Include <sys/types.h>, Ultrix V4.3
<sys/stat.h> needs it for dev_t.
From: Rainer Orth <ro@techfak.uni-bielefeld.de>
* ntpdc/ntpdc_ops.c: Reality checks.
* configure.in: netbsd has stubs for the timer_* stuff and doesn't
support PPSAPI. IRIG requires <stropts.h> .
From: Frederick Bruckman <fb@enteract.com>
* ntpdc/ntpdc_ops.c: (kerninfo) Report in seconds regardless of
kernel precision. Report kernel flags as text.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
Sun Apr 18 14:26:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92g
* ntpd/ntp_refclock.c (refclock_ioctl): We don't want
PPS_HARDPPSONASSERT by default.
* ntpd/refclock_oncore.c: Prefer timepps.h over sys/timepps.h
From: Poul-Henning Kamp <phk@freebsd.org>
Tue Apr 13 17:32:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92f
* ntpd/ntp_refclock.c (refclock_open): VMIN should be 1, not 0
From: Reg Clemens <reg@dwf.com>
Sun Apr 11 18:26:44 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_mx4200.c: Patches/improvements
* ntpd/ntpd.c (set_process_priority): Lint
From: Marc.Brett@westgeo.com
* util/ntptime.c: Lint, bit definition cleanup
From: Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
Wed Apr 7 03:02:23 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c: Use timepps.h or sys/timepps.h
* configure.in: Look for either timepps.h or sys/timepps.h
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
* ntpd/ntp_io.c (create_sockets): Don't warn about ENXIO.
(Several places)
From: Andrej Borsenkow <borsenkow.msk@sni.de>
* libntp/mfp_mul.c (mfp_mul): Lint.
Marc.Brett@westgeo.com
Sun Apr 4 03:23:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92e
Dave redesigned the clock state machine.
1999-02-28 Frank Kardel <kardel <AT> acm.org>
* parseutil/dcfd.c: added DCF77 module powersetup
* ntpd/refclock_parse.c (parse_control): using gmprettydate instead of prettydate()
(mk_utcinfo): new function for formatting GPS derived UTC information
(gps16x_message): changed to use mk_utcinfo()
(trimbletsip_message): changed to use mk_utcinfo()
ignoring position information in unsynchronized mode
(parse_start): augument linux support for optional ASYNC_LOW_LATENCY
* ntpd/ntp_control.c (ctl_putclock): cleanup of end of buffer handling
* libparse/parse.c (timepacket): removed unnecessary code
* libparse/clk_trimtsip.c (struct trimble): new member t_utcknown
(cvt_trimtsip): fixed status monitoring, bad receiver states are
now recognized
* libntp/prettydate.c (gmprettydate): new function for format date
and time with respect to UTC
* libntp/gpstolfp.c (GPSWRAP): update GPS rollover to 990 weeks
* include/trimble.h (CMD_RUTCPARAM): control variable name unification
* include/ntp_fp.h: added prototype for gmprettydate()
Sat Feb 27 00:03:16 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/systime.c: definition
* ntpd/ntp_proto.c: sco5_oldclock declaration
* configure.in: SCO5_CLOCK for *-*-sco3.2v5*
* util/tickadj.c (main): SCO5_OLDCLOCK -> SCO5_CLOCK
From: Kees Hendrikse <kees@echelon.nl>
* ntpd/ntp_config.c (getconfig): Indentation cleanup
Deal with 'P' case better
* ntpd/ntpd.c: Declare set_process_priority()
* ntpd/refclock_dumbclock.c: Lint cleanup
From: Marc.Brett@westgeo.com
Wed Feb 24 10:22:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92d
* configure.in: Dave says we can't enable PARSE clocks by default.
Also, Solaris 2.7 still has its kernel bug - disable kernel FLL
there.
Reported by: Dave Mills <dlm@udel.edu>
Tue Feb 23 23:37:44 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* libparse/Makefile.am (parsesolaris.o): Devious hack to deal
with bug in sys/systm.h .
Suggested by: Chaim Frenkel <chaimf@pobox.com>
Tue Feb 23 20:46:31 1999 Frank Kardel <kardel <AT> acm.org>
* ntpd/refclock_parse.c: fixed #endifs
(stream_receive): fixed formats
Mon Feb 22 00:35:06 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92c
* ntpd/refclock_chronolog.c: Lint
* ntpd/refclock_dumbclock.c: Ditto
* ntpd/refclock_oncore.c: Ditto
From: Marc.Brett@westgeo.com
* ntpd/refclock_oncore.c (oncore_msg_any): Call GETTIMEOFDAY, not
gettimeofday().
From: david.higgins@mail.ccur.com
* configure.in (MCAST): Not in i386-sequent-sysv4
Reported by: Joseph Geter <joe.geter@somills.com>
* util/ntptime.c: Linux cleanup.
From: Reg Clemens <reg@dwf.com>
* configure.in: Rename SCO5_OLDCLOCK to SCO5_CLOCK
* acconfig.h: Ditto
* ntpd/ntp_proto.c: SCO5_CLOCK stuff
(init_proto): Use the SCO5_CLOCK stuff
* libntp/systime.c: SCO5_CLOCK stuff
(get_systime): Use the SCO5_CLOCK stuff
(adj_systime): Use the SCO5_CLOCK stuff
From: Kees Hendrikse <kees@echelon.nl>
* ntpd/ntp_config.c: Added -P option and associated baggage.
(getstartup): Update help text
(getconfig): Process -P option
(getconfig): Update help text
* ntpd/ntpd.c (set_process_priority): Created.
(service_main): remove process priority stuff - we want to do at
after we start up the resolver, so call set_process_priority()
after getconfig().
From: Kamal A Mostafa <kamal@whence.com>
1999-02-21 Frank Kardel <kardel <AT> acm.org>
* ntpd/ntp_util.c (hourly_stats): removed unused variable
* libntp/ieee754io.c: renamed index to fieldindex to avoid index() name clash
* ntpd/refclock_parse.c (parse_start): add initialization for Linux PPSkit
Sun Feb 21 17:53:33 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_io.c (create_sockets): Skip interfaces that are really
just aliases.
From: "Erik R. Leo" <erikl@sover.net>
* configure.in: 4.0.92b
* ntpd/ntpd.c (service_main): Check for an error return from
sched_get_priority_max().
Wed Feb 17 03:48:47 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92a
* configure.in: configure.in requires autoconf 2.13 or later.
Reported by Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
Wed Feb 17 00:12:11 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* acconfig.h: TERMIOS_NEEDS__SVID3
* configure.in: Ditto
* ntpd/refclock_palisade.h: Ditto
* include/ntp_refclock.h: Ditto
* ntpd/ntpd.c (service_main): We want sched_get_priority_max().
From: Kamal A Mostafa <kamal@whence.com>
* ntpd/ntp_refclock.c (refclock_open): Zero the entire c_cc[] array.
From: Reg Clemens <reg@dwf.com>
Tue Feb 16 23:37:49 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* Updated ansi2knr
Reported by: Marc Brett
Mon Feb 15 02:55:28 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.92
* ntpd/ntp_refclock.c: Added refclock_chronolog and
refclock_dumbclock.
From: Robert McMillin <rlm@syseca-us.com>
Sun Feb 14 15:57:53 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* dropped SCO3 support #defines.
* changed SCO5_TICKADJ #define to SCO5_OLDCLOCK
* Added code in libntp/systime.c to accumulate changes until a whole
tick can be added or dropped. Adjusted gettimeofday() output
to include the contents of the accumulator.
* cleaned up util/tickadj.c; tickadj -As now does the right thing.
From: Kees Hendrikse <kees@echelon.nl>
* ntpq/ntpq.c: Rename delay() to auth_delay()
Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
* ntpd/refclock_palisade.h: Cleanup.
From: Marc.Brett@westgeo.com
* ntpd/ntp_refclock.c (refclock_ioctl): Typo.
From: Reg Clemens <reg@dwf.com>
* ntpd/ntp_io.c (create_sockets): Only bind a given network once.
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
Sat Jan 30 11:48:37 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91f
Thu Jan 28 22:58:40 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_parse.c (CLK_REALTYPE): We really want ttl, not hmode.
* ntpd/ntp_config.c (getconfig): "mode" really should update the
ttl member, not the hmode member.
* ntpd/refclock_local.c: More offset cleanup from Dave.
Thu Jan 28 00:15:20 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91e
* ntpd/refclock_local.c: Bugfix.
From: Dave Mills
* ntpd/refclock_palisade.c: Lint/IRIX portability cleanup
* ntpd/refclock_palisade.h: Re-enable the declaration of float()
* ntpd/ntp_io.c (create_sockets): Initialize size to 0
From: Marc.Brett@westgeo.com
* ntpd/refclock_parse.c (CLK_REALTYPE): Use hmode, not ttl.
* configure.in (ac_cv_var_no_parenb_ignpar): Not under Linux.
Reported by: Thomas Quinot <thomas@Cuivre.FR.EU.ORG>
* ntpdc/ntpdc.c (my_delay): Renamed, from delay.
Reported by: Andrej Borsenkow <borsenkow.msk@sni.de>
Tue Jan 26 00:56:10 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91d
* ntpq/ntpq.c: Y2K patches
From: Marc.Brett@westgeo.com
* html/driver29.htm: New version
* ntpd/refclock_palisade.c: Ditto
* ntpd/refclock_palisade.h: Ditto
From: Sven_Dietrich@Trimble.COM
* upgrade ansi2knr.c
* Some stuff that Dave did.
* configure.in: 4.0.91c
* ntpd/refclock_oncore.c: Prototype cleanup. Enum cleanup.
* ntpd/ntp_proto.c (clock_select): Fix memory leak.
* configure.in (ac_cv_struct_ppsclockev): Might need sys/time.h to
check for struct clockppsev. Return pce->serial, not 0;
From: Marc.Brett@westgeo.com
* ntpd/refclock_oncore.c (oncore_msg_En): Clean up.
From: John.Hay@mikom.csir.co.za
Mon Jan 25 11:50:29 1999 Philippe De Muyter <phdm@macqel.be>
* libparse/parse_conf.c (clockformats): Entry added for
clock_wharton_400a.
* libparse/clk_wharton.c: New file.
* libparse/Makefile.am (libparse_a_SOURCES): clk_wharton.c added;
(libparse_kernel_a_SOURCES): kclk_wharton.c added.
(kclk_wharton.o): New dependency rule.
* ntpd/refclock_parse.c (parse_clockinfo): Entry added for the
WHARTON clock (mode 15).
* acconfig.h (CLOCK_WHARTON_400A): New configuration macro.
* configure.in (CLOCK_WHARTON_400A): Macro defined like other
CLOCK_xxx macros.
Sun Jan 24 13:51:30 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (do_resolve_internal): Missing #ifdef DEBUG
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
* Makefile.am (SUBDIRS): Lose authstuff
* configure.in: Ditto
Sat Jan 23 15:28:03 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91b
Sat Jan 23 15:02:25 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_oncore.c: use HAVE_STRUCT_PPSCLOCKEV
* acconfig.h: HAVE_STRUCT_PPSCLOCKEV
* configure.in (ac_cv_struct_ppsclockev): Added test
Thu Jan 21 15:35:25 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91a
* ntpd/refclock_nmea.c (nmea_receive): Call refclock_process()
every second (or each time a nmea string is received).
From: John Hay <jhay@mikom.csir.co.za>
* ntpd/ntp_refclock.c (refclock_ioctl): Use TIOCPPS if we have it.
(refclock_ioctl): Use LDISC_CLKPPS, not LDISC_PPS when deciding
how to set str.
* ntpd/ntp_loopfilter.c: Lose unused ntp_gettime() stuff.
* ntpd/ntp_request.c: Ditto.
* ntpd/refclock_local.c: Ditto.
* ntpd/refclock_shm.c (shm_poll): Fix the refclock_process() call.
* ntpd/refclock_oncore.c: patches and cleanup
* configure.in: ioctl/PPS checks, ONCORE cleanup
* acconfig.h: ONCORE cleanup
From: Reg Clemens <reg@dwf.com>
* configure.in (CFLAGS): cc on Sequent wants -Wc,+abi-socket.
We also need to figure out why -lsocket isn't being detected;
-lsocket is needed.
From: Dana Kaempen <decay@flash.net>
* include/ntp_stdlib.h: AIX portability patches, header cleanup.
* ntptrace/ntptrace.c: Ditto.
* ntpdate/ntpdate.c: Ditto.
* ntpd/refclock_true.c: Ditto.
* ntpd/refclock_mx4200.c: Ditto.
* ntpd/refclock_jupiter.c: Ditto.
* libntp/msyslog.c: Ditto.
From: Marc.Brett@waii.com
Sun Jan 10 15:15:07 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.91
Sat Jan 9 00:11:34 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_stdlib.h: msyslog() is declared differently if we're
not __STDC__.
* include/ntp_types.h: It's HAVE_PROTOTYPES, not USE_PROTOTYPES.
* include/ntp_machine.h: Ditto.
Fri Jan 8 20:47:10 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Upgrade to autoconf-2.13
Do the prototypes check much earlier, as it might alter CFLAGS and
things which will affect other tests.
* ntpd/ntp_request.c (do_conf): The problem was with a template
for "version" on an IRIX C compiler...
From: Marc.Brett@waii.com
* libntp/authkeys.c: #include config.h first.
Reported by: brian.bumpass@funb.com
Thu Jan 7 00:24:35 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* util/tickadj.c (main): return() instead of exit().
* ntpd/ntp_request.c (do_conf): Disambiguate ||.
* ntpd/ntp_proto.c (clock_select): Initialize variables.
From: Marc.Brett@waii.com
* scripts/ntpver.in: Use PATH_SH
* configure.in (PATH_SH): Added.
Tue Jan 5 19:02:51 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90h
* html/driver30.htm: Updated.
* html/refclock.htm: Refer to driver30
* ntpd/refclock_oncore.c: Vastly improve and make less FreeBSD centric,
From: Poul-Henning Kamp <phk@critter.freebsd.dk> and
Reg.Clemens <reg@dwf.com>
* include/ntp.h: Portability/lint patches
* libntp/binio.c: Ditto.
* libntp/caljulian.c: Ditto.
* libntp/caltontp.c: Ditto.
* libntp/ieee754io.c: Ditto.
* libntp/md5c.c: Ditto.
* libntp/mfp_mul.c: Ditto.
* libntp/msyslog.c: Ditto.
* libntp/statestr.c: Ditto.
* libntp/systime.c: Ditto.
* libparse/clk_trimtsip.c: Ditto.
* libparse/data_mbg.c: Ditto.
* libparse/parse.c: Ditto.
* ntpd/ntp_control.c: Ditto.
* ntpd/ntp_filegen.c: Ditto.
* ntpd/ntp_intres.c: Ditto.
* ntpd/ntp_io.c: Ditto.
* ntpd/ntp_peer.c: Ditto.
* ntpd/ntp_proto.c: Ditto.
* ntpd/ntp_util.c: Ditto.
* ntpd/ntpd.c: Ditto.
* ntpd/refclock_arc.c: Ditto.
* ntpd/refclock_chu.c: Ditto.
* ntpd/refclock_datum.c: Ditto.
* ntpd/refclock_leitch.c: Ditto.
* ntpd/refclock_parse.c: Ditto.
* ntpd/refclock_usno.c: Ditto.
* ntpq/ntpq.c: Ditto.
* util/tickadj.c: Ditto.
From: Marc.Brett@waii.com
Mon Jan 4 00:56:55 1999 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90g
* ntpd/ntp_config.c (getconfig): MODE was setting ttl, not hmode.
Reported by: Carsten Emde <ce@ceag.ch>
Fri Dec 4 01:01:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90f
* ntpd/refclock_mx4200.c: New version
From: Marc.Brett@waii.com
1998-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_config.c (do_resolve_internal): If fork fails, say why.
Reported by: Jeff_Dennison@admin.tc.faa.gov
* ntpd/ntpd.c (ntpdmain): fork() can return a -1. Someday we'll
report this condition...
1998-12-02 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90e
* ntpd/refclock_palisade.c: Reformat code so ansi2knr will work
* ntpd/refclock_palisade.h: Ditto
From: Marc.Brett@waii.com
Sun Nov 29 21:00:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90d
* configure.in (CFLAGS): Use "-O2 -g3 -n32" by default for Irix6.2
and later.
Reported by: Jack Bryans <jbryans@csulb.edu>
1998-11-29 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90c
* ntpd/refclock_oncore.c (oncore_msg_En): Convert to nano
From: John Hay <jhay@mikom.csir.co.za>
* include/ntp_request.h (RM_VN_MODE): Add version parameter, so
xntpdc will work across v3 and v4.
* ntpd/ntp_request.c: Track requested version
(req_ack): Use requested version in RM_VN_MODE
(more_pkt): Ditto
(flush_pkt): Ditto
(process_private): Get requested version
* ntpd/ntp_intres.c (request): Use default version
* ntpdc/ntpdc.c (sendrequest): Ditto
From: John Hay <jhay@mikom.csir.co.za>
Fri Nov 27 14:27:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_palisade.c: Lint cleanup
* ntpd/refclock_palisade.h: Ditto.
From: Marc Brett <mbrett@rgs0.london.waii.com>
Mon Nov 23 04:45:03 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90b
* New code and cleanup for the NT stuff
From: Carl Byington <carl@five-ten-sg.com>
Sat Nov 21 21:21:45 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90a
* libntp/systime.c (step_systime): net_set_tod calls clock_settime.
* libntp/machines.c (ntp_set_tod): Take a 2nd arg for NT.
* include/ntp_machine.h: ntp_set_tod() has 2 args always.
* ports/winnt/bldrel.bat: Typo.
From: Carl Byington <carl@five-ten-sg.com>
* ntpd/ntp_intres.c (findhostaddr): h_errno is a #define under AIX.
* configure.in: clock_settime is a stub in AIX4.
From: Perry Ross <pross@platinum.com>
* libntp/Makefile.am (EXTRA_DIST): Lose libntp.mak
* ntpd/Makefile.am (EXTRA_DIST): Ditto.
* ntpdate/Makefile.am (EXTRA_DIST): Ditto.
* ntpdc/Makefile.am (EXTRA_DIST): Ditto.
* ntpq/Makefile.am (EXTRA_DIST): Ditto.
From: Greg Schueman <schueman@ix.netcom.com>
Sat Nov 21 12:33:16 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.90
Nano changes from Dave Mills.
Thu Nov 19 04:23:46 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_machine.h: STREAM also needs HAVE_SYS_STREAM_H
Reported by: Ronald Cole <ronald@forte-intl.com>
Mon Nov 16 19:17:34 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e14
* util/ntptime.c (main): Protect STA_NANO
* ntpd/refclock_oncore.c: General overhaul and simplifications.
The new manual clarifies a lot of fine points, and the driver has
been suitably simplified. Uses Site Survey if possible, otherwise
does it by hand. Should also work with non-UT models, as long as
they talk the Motorola Binary Protocol. The driver Doesn't (need
to) know where the author lives anymore.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
* ntpd/refclock_palisade.h: New version.
* ntpd/refclock_palisade.c: New version.
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
Sat Oct 24 01:19:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e13
* ntpdc/ntpdc_ops.c (clkbug): Patches
* ntpd/ntp_refclock.c (refclock_buginfo): Patches
From: Marc.Brett@waii.com
Sat Oct 10 20:13:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e12
* ntpd/ntp_util.c (hourly_stats): Added prio_set stuff.
* ntpd/ntpd.c (ntpdmain): HAVE_SETPGRP_0 typo.
* parseutil/dcfd.c (detach): Ditto.
* ntpd/ntp_control.c (ctl_putpeer): Sometimes, peer->dstadr is
NIL.
From: Perry Ross <pross@platinum.com>
* ntpd/ntpd.c:
Some systems use sys/sched.h, not sched.h (Irix)
* configure.in (CFLAGS): nextstep needs -posix.
Reported by: Jack Bryans <jbryans@csulb.edu>
Sat Oct 3 02:32:46 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e11
* configure.in (ac_refclock_palisade): Needs termios.
* libntp/mktime.c: Some systems need sys/types.h
* configure.in: Added AC_TYPE_SIZE_T and AC_CHECK_TYPE(time_t, long)
The time_t stuff should only be needed on Older machines, so the
fact that I'm using a long shouldn't be a problem (hollow laugh).
* include/l_stdlib.h: Sometimes we need to #include <sys/types.h>
* libntp/Makefile.am (../include/des.h): Typo.
Fri Oct 2 20:52:47 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_intres.c (request): Accept responses back thru V2.
Thu Oct 1 00:11:16 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e9
* ntpd/ntpd.c (catch_danger): Added.
(ntpdmain): AIX SIGDANGER stuff
From: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
* configure.in:
* include/ntp_machine.h:
* include/ntp_string.h:
* libntp/machines.c:
* libparse/clk_hopf6021.c:
* libparse/clk_trimtsip.c:
* ntpd/refclock_leitch.c:
* ntpd/refclock_palisade.c:
* ntpd/refclock_parse.c:
Here are some patches to suppress warnings from various compilers
(IRIX 5.3, MipsPro C 7.1 on IRIX 6.4, AIX 4.1) and loaders (IRIX
5.3, IRIX 6.4). Shouldn't affect functionality at all.
From: Marc Brett <mbrett@rgs0.london.waii.com>
(I got similar patches for AIX from Lars-Owe Ivarsson
<larsowe@paradisaea.its.uu.se>)
Thu Sep 24 21:33:50 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '73e8
* configure.in: AIX4 stubs the POSIX timer_ stuff,
sched_setscheduler, and mlockall.
Reported by: Lars-Owe Ivarsson <larsowe@paradisaea.its.uu.se>
* configure.in: OpenBSD stubs the POSIX timer_ stuff.
Reported by: sidney august cammeresi iv <cammeres@uiuc.edu>
(and several other folks whose names I can't find at the moment)
Mon Sep 21 15:35:23 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '73e7
* ntpd/refclock_parse.c: Missing declaration
From: Marc Brett <mbrett@rgs0.london.waii.com>
* include/README: Remove old MCAST descriptions
* include/Makefile.am (noinst_HEADERS): Lose sun-in.h .
Mon Sep 21 14:50:12 1998 Harlan Stenn <stenn@grundoon.udel.edu>
* ntpdate/ntpdate.c (timer): Properly format the definition.
Sun Sep 20 23:02:50 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '73e6
* include/Makefile.am (noinst_HEADERS): Renamed in.h to sun-in.h
Fri Sep 18 01:05:55 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: '73e5
* ntpd/refclock_palisade.c: SCO patch
From: Kamal A Mostafa <kamalm@sco.com>
* libparse/clk_trimtsip.c (cvt_trimtsip): Fix rollover bug.
From: "Michael J. Tubby B.Sc. G8TIC" <Mike.Tubby@thorcom.co.uk>
* libntp/authencrypt.c:
* libntp/systime.c:
* ntpd/refclock_acts.c:
* ntpd/refclock_arbiter.c:
* ntpd/refclock_arc.c:
* ntpd/refclock_as2201.c:
* ntpd/refclock_atom.c:
* ntpd/refclock_chu.c:
* ntpd/refclock_conf.c:
* ntpd/refclock_datum.c:
* ntpd/refclock_heath.c:
* ntpd/refclock_hpgps.c:
* ntpd/refclock_irig.c:
* ntpd/refclock_leitch.c:
* ntpd/refclock_nmea.c:
* ntpd/refclock_palisade.c:
* ntpd/refclock_parse.c:
* ntpd/refclock_pst.c:
* ntpd/refclock_trak.c:
* ntpd/refclock_true.c:
* ntpd/refclock_usno.c:
* ntpd/refclock_wwvb.c:
Typos, cleanup, and bugfixes
From: Marc Brett <mbrett@rgs0.london.waii.com>
* ntpd/ntp_timer.c (timer): Typo.
* include/ntp_refclock.h: in refclockstat, clockdesc should be const.
* ntpd/ntp_io.c (create_sockets): Typo.
* ntpd/ntp_control.c (free_varlist): Use the appropriate cast when
calling free().
(set_var): Use char *td for non-const char data.
(ctl_getitem): Use char * for non-const data.
(Many of these reported by Marc Brett)
Sun Sep 13 19:19:09 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntpd.c: Added nofork declaration.
(ntpdmain): Initialize it...
* ntpd/ntp_config.c: added nofork.
Updated ntp_options.
(getstartup): Updated "usage" string. Deal with -n flag.
(getconfig): Ditto.
From: Jeffrey Hutzelman <jhutz@cs.cmu.edu>
* ntpd/ntp_io.c (open_socket): Use ntoa() to print out the address
when bind() fails. (in 2 places)
Reported by: "Markus W. Fehr" <mfehr@ch.ibm.com>
Only soft-fail if an interface is unavailable.
(create_sockets): Don't SO_REUSEADDR if the interface is unavailable.
From: "Markus W. Fehr" <mfehr@ch.ibm.com>
* configure.in: If we --disable-all-clocks, then don't enable
parse clocks by default.
Reported by: Marion Hakanson <hakanson@cse.ogi.edu>
Sat Aug 22 23:58:14 1998 Frank Kardel <kardel <AT> acm.org>
* ntpd/refclock_parse.c (local_input): fixed IO handling for non-STREAM IO
Sun Aug 16 20:13:32 1998 Frank Kardel <kardel <AT> acm.org>
* libntp/ieee754io.c: debug information only compile for LIBDEBUG case
* ntpd/refclock_parse.c (gps16x_message): reduced UTC parameter information (dropped A0,A1)
made uval a local variable (killed one of the last globals)
(sendetx): added logging of messages when in debug mode
(trimble_check): added periodic checks to facilitate re-initialization
(trimbletsip_init): made use of EOL character if in non-kernel operation
(trimbletsip_message): extended message interpretation
(getdbl): fixed data conversion
* libparse/parse_conf.c (clockformats): Trimble TSIP driver now also
available for kernel operation
* libparse/info_trimble.c: re-generated
* libparse/clk_trimtsip.c (cvt_trimtsip): initial kernel capable version (no more floats)
(clock_trimtsip =): new format name
* libparse/clk_trimtaip.c (clock_trimtaip =): changed format name
* include/trimble.h (CMD_RSTATTRACK): renamed mode 6 variable name
* scripts/monitoring/ntploopwatch: moved emacs mode selector
Mon Aug 10 15:32:48 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_acts.c: Patch cleanup
* ntpd/ntp_refclock.c: Patch cleanup
* ntpd/ntp_timer.c: Patch cleanup
From: qli@huey.udel.edu
Wed Jul 29 15:23:21 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/machines.c: IRIX needs time.h
Reported by: Judith E Bush <jbush@fi.edu>
* ntpd/ntpd.c (service_main): Better AIX PROCLOCK fix.
From: Matt Ladendorf <matt.ladendorf@anheuser-busch.com> and
Grover Davidson <Grover.Davidson@anheuser-busch.com>
Wed Jul 29 01:36:48 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntpd.h (MAXINTERFACES): Moved here...
* ntpd/ntp_io.c: From here...
(create_sockets): Only deal with MAXINTERFACES.
(create_sockets): Only deal with specified interfaces.
* ntpd/ntp_config.c (CONFIG_LISTEN): Added
Added ifnum and listenaddrs[]
(getconfig): Added defn for "addr"
(getconfig): Initialize ifnum.
* ntpd/ntpd.c (service_main): call init_io after getconfig
From: Vebjorn Ljosa <ljosa@initio.no>
Wed Jul 29 00:42:28 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_palisade.c: Use NEED_HPUX9_TIOCM_STUFF
* acconfig.h (NEED_HPUX9_TIOCM_STUFF): Added.
* configure.in (REFCLOCK_PALISADE): Needs termio*.h
(NEED_HPUX9_TIOCM_STUFF): Added.
* ntpd/ntp_io.c (create_sockets): Use strchr instead of strstr.
* libntp/mktime.c: #include <sys/types.h>
* libntp/ieee754io.c: #include <sys/types.h>
Wed Jul 29 00:24:22 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_acts.c (ACTS_MAXPOLL): 14 -> 18.
Import current_nextdate
(acts_receive): Update peer->nextdate with current_nextdate
(acts_poll): Call acts_timeout() (debugging)
* ntpd/ntp_refclock.c: Export current_nextdate.
(refclock_transmit): Check peer->valid >= NTP_SHIFT - 2, not >.
(refclock_transmit): hpoll wiggles, update current_nextdate
* ntpd/ntp_timer.c: #include "ntp_refclock.h"
(MODE_MANUAL): Added.
(timer): MODE_MANUAL stuff
From: qli@huey.udel.edu
Tue Jul 28 23:23:15 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Check for inet_ntoa in -lbind .
* ntpd/ntpd.c: #undef PROCLOCK for AIX.
Mon Jul 20 01:06:24 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (AC_TYPE_SIZE_T): Added.
Sat Jul 11 09:38:30 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73e
* ports/winnt/: Replaced with new code (no SHM or PALISADE)
From: Greg Schueman <schueman@ix.netcom.com>
Fri Jul 10 12:12:59 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73d
* include/ntp_machine.h (HAVE_SRANDOM): VxWorks patches
(HAVE_RANDOM): Ditto.
(CALL): Ditto.
From: Casey Crellin <ccrellin@mweb.com>
* ntpd/refclock_parse.c (local_input): Typo.
Reported by: Tony Li <tony1@home.net>
Wed Jul 8 01:49:01 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73c
* PARSE patches from Frank Kardel
* libntp/machines.c (ntp_set_tod): Get it right.
Sun Jul 5 22:15:34 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73a
* kernel/sys/timex.h (MOD_CANSCALE): Add rest of patch to handle
scaling.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
Wed Jun 10 21:16:01 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.73
* ntpd/ntp_loopfilter.c (local_clock): MOD_CANSCALE patches, and
be careful with the integration if we're nearly perfect.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
* util/tickadj.c (main): Typo fix...
From: Marion Hakanson <hakanson@cse.ogi.edu>
* ntpd/ntp_io.c (create_sockets): Attempt to ignore alias
interfaces.
From: Kenneth Maupin <maupin@easystreet.com>
* ntpd/ntp_refclock.c: PPS fixes
* ntpd/refclock_msfees.c (msfees_start): Portability fixes and
PPS/STREAM enhancements
From: John Hay <jhay@mikom.csir.co.za>
* ntpd/ntp_refclock.c (refclock_gtlin): Patch...
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
Sun Jun 28 18:43:30 1998 Frank Kardel <kardel <AT> acm.org>
* libntp/buftvtots.c (buftvtots): using WORD_BIGENDIAN instead of XNTP_BIG_ENDIAN
* libparse/clk_trimtsip.c (getflt): fixed ENDIAN issue
(getdbl): fixed ENDIAN issue
(getint): use get_msb_short()
(cvt_trimtsip): use gpstolfp() for conversion
* libntp/Makefile.am (libntp_a_SOURCES): added gpstolfp.c source
* libntp/binio.c: added {get,put}_msb_{short,long}() functions
* include/ntp_fp.h: added gpstolfp() prototype
* include/binio.h: added binio MSB prototypes
Sat Jun 13 13:48:17 1998 Frank Kardel <kardel <AT> acm.org>
* parseutil/testdcf.c: signed/unsigned
SYSV clock name clash fixed
* parseutil/dcfd.c: signed/unsigned
SYSV clock name clash fixed
year wrapping at 1998
ctype macros take ints as args
* ntptrace/ntptrace.c (decodeipaddr): ctype macros take ints as args
* ntpq/ntpq_ops.c (doprintpeers): signed/unsigned
* ntpq/ntpq.c: ctype macros take ints as args
signed/unsigned
* ntpdc/ntpdc.c: signed/unsigned
* ntpd/refclock_usno.c: signed/unsigned
* ntpd/refclock_true.c (true_send): signed/unsigned, name clashes
* ntpd/refclock_parse.c: signed/unsigned, name clashes
* ntpd/refclock_nmea.c (nmea_receive): ctype macros take ints as args
* ntpd/refclock_heath.c (heath_receive): prototypes (signed/unsigned issues)
* ntpd/refclock_arc.c: prototypes (signed/unsigned issues)
* ntpd/refclock_acts.c: prototypes (signed/unsigned issues)
* ntpd/ntpd.c: prototypes (signed/unsigned issues)
* ntpd/ntp_util.c (getauthkeys): prototypes (signed/unsigned issues)
fix SYSV clock name clash
* ntpd/ntp_request.c: prototypes (signed/unsigned issues)
fix SYSV clock name clash
* ntpd/ntp_io.c (input_handler): variable naming, signed/unsigned
* ntpd/ntp_intres.c (readconf): signed/unsigned issues
* ntpd/ntp_control.c: prototypes (signed/unsigned issues)
fix SYSV clock name clash
* ntpd/ntp_config.c: fix SYSV clock name clash
ctype macros take ints as args
* libparse/parsestreams.c: dirt (debug) removed
* libparse/parsesolaris.c: more prototypes
fix name clashes
allow for ansi2knr
* libparse/parse.c: bcopy/memcpy cleanup
fix SYSV clock name clash
* libparse/clk_trimtsip.c (cvt_trimtsip): fix SYSV clock name clash
* libparse/clk_trimtaip.c (cvt_trimtaip): fix SYSV clock name clash
* libparse/clk_schmid.c (cvt_schmid): fix SYSV clock name clash
* libparse/clk_rcc8000.c (cvt_rcc8000): fix SYSV clock name clash
* libparse/clk_rawdcf.c (cvt_rawdcf): fix SYSV clock name clash
* libparse/clk_hopf6021.c (cvt_hopf6021): fix SYSV clock name clash
* libparse/clk_dcf7000.c (cvt_dcf7000): fix SYSV clock name clash
* libparse/clk_computime.c: fix SYSV clock name clash
* libntp/octtoint.c (octtoint): ctype macros take ints as args
* libntp/mstolfp.c (mstolfp): ctype macros take ints as args
* libntp/hextolfp.c (hextolfp): ctype macros take ints as args
* libntp/hextoint.c (hextoint): ctype macros take ints as args
* libntp/decodenetnum.c (decodenetnum): ctype macros take ints as args
* libntp/atouint.c (atouint): ctype macros take ints as args
* libntp/atolfp.c (atolfp): ctype macros take ints as args
* libntp/atoint.c (atoint): ctype macros take ints as args
* kernel/sys/parsestreams.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
* include/parse.h: STREAM macro gone in favor of HAVE_SYS_STREAM_H
Fri Jun 12 11:08:53 1998 Frank Kardel <kardel <AT> acm.org>
* ntpd/ntp_timer.c: prototype fixes (ansi2knr/knr compiler)
* ntpd/ntp_proto.c (make_keylist): type cast for e(!!!)malloc()
* libparse/Makefile.am: adjust for ansi2knr
* libntp/ieee754io.c: ansi2knr compatibility
* include/ntp_refclock.h: added pps_sample() extern declaration
added refclock_process_offset() extern declaration
* include/ntp.h: fixed function * prototypes
* ntpd/refclock_parse.c (bind): added input routine
(local_input): added input routine
* ntpd/ntp_io.c (input_handler): direct input processing for
refclocks to save input recv buffers
* include/ntp_refclock.h: added int io_input(struct recvbuf *)
pointer to allow direct processing of read refclock data in
order to save many bug recv buffers on single character input
(problem with "fast" machines)
* parse_conf.c: conditional compile macros fixed
* parse.c: conditional compile macros fixed
printf prototype
* clk_trimtaip.c: conditional compile macros fixed
printf prototype
* clk_schmid.c: conditional compile macros fixed
printf prototype
* clk_rcc8000.c: conditional compile macros fixed
printf prototype
* clk_hopf6021.c: conditional compile macros fixed
printf prototype
* clk_dcf7000.c: conditional compile macros fixed
printf prototype
* clk_computime.c: conditional compile macros fixed
printf prototype
Sat Jun 6 07:41:54 1998 Frank Kardel <kardel <AT> acm.org>
* ntpd/refclock_palisade.c: fixed termio.h / termios.h inclusion
* include/ntp_refclock.h: made refclockproc/clockdesc const
* ntpd/ntp_control.c (ctl_putpeer): avoided ambigous 'else' (gcc)
* ntpd/refclock_parse.c (parse_start): added BURST mode initialisation
* scripts/stats/summary.sh (CLOCK): allow for Y2K log files
* libparse/clk_rawdcf.c: simplified condidional compile expression
Wed May 27 08:10:43 1998 Frank Kardel <kardel <AT> acm.org>
* include/Makefile.am (noinst_HEADERS): added new header files
mbg_gps166.h binio.h ascii.h ieee754io.h
* ntpdc/ntpdc.c (sendrequest): fixed info_auth_keyid setting it
got accidentally trashed every other round
Mon May 25 22:55:07 1998 Frank Kardel <kardel <AT> acm.org>
* configure.in: PARSE clocks are enabled by default whenever
possible (termio.h or termios.h present)
removed RAWDCF_SETDTR feature
* acconfig.h: removed RAWDCF_SETDTR option (now implicit by
compilation and run time configuration)
* ntpd/refclock_parse.c (rawdcf_init): offer a RAWDCF clock (type 14)
that attempts to set the DTR modem line for receiver power
* libparse/clk_meinberg.c (cvt_meinberg): support current standard
Meinberg data formats
Sun May 24 09:43:19 1998 Frank Kardel <kardel <AT> acm.org>
* libparse/clk_rawdcf.c (pps_rawdcf): trigger pps on zero going
edge - that is simpler wiring (Rx->DCD).
* parseutil/testdcf.c (wday): const keyword
* parseutil/dcfd.c (cvt_rawdcf): sign issues and calling interfaces
* ntpq/ntpq.c (MAXVARLEN): adjusted internal buffer length for
variable values
* ntpd/refclock_parse.c: adjust to new io handling (fixed formats
only)
(mkreadable): don't include >"< in readable ASCII output (-> ntpq
parsing)
output debug messages to stdout instead of msyslog()
fixed version information string
* ntpd/refclock_atom.c (pps_sample): new auxiliary pps interface
* libparse/parsestreams.c (parserput): get event status consistent
with direct calls
(zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
events
* libparse/parsesolaris.c (parserput): get event status consistent
with direct calls
(zs_xsisr): simulate CARRIER status to avoid unnecessary M_xHANGUP
events
* libparse/parse.c: removed old input cruft
(parse_restart): new generic input help function
(parse_addchar): ditto
(parse_end): ditto
(pps_one): new generic pps help function
(pps_zero): ditto
* libparse/clk_trimtsip.c (clock_trimtsip =): new input handling
* libparse/clk_trimtaip.c (clock_trimtaip =): new input handling
(inp_trimtaip): new input handler
* libparse/clk_schmid.c (clock_schmid =): new input handling
(inp_schmid): new input handler
* libparse/clk_rcc8000.c (clock_rcc8000 =): new input handling
(inp_rcc8000): new input handler
* libparse/clk_rawdcf.c (clock_rawdcf =): new input handling
(snt_rawdcf): adjusted to new input handling
(inp_rawdcf): new input handler
* libparse/clk_meinberg.c (clock_meinberg): new input handling
(gps_input): new input handler
(mbg_input): new input handler
* libparse/clk_hopf6021.c (clock_hopf6021 =): new input handling
(inp_hopf6021): new input handler
* libparse/clk_dcf7000.c (clock_dcf7000 =): new input handling
(inp_dcf7000): new input handler
* libparse/clk_computime.c (clock_computime =): new input handling
(inp_computime): new input handler
* libparse/Makefile.am: link kernel module with libntp.a
* include/parse.h (struct parse): removed old data structure cruft
(new input model) new PARSE_INP* macros for input handling
removed old SYNC_* macros from old input model
(struct clockformat): removed old parse functions in favor of the
new input model
updated prototypes
* include/ntp_refclock.h: prototype for refclock_atom pps_sample()
interface
* acconfig.h: added PPS_SAMPLE define
* configure.in (LIBPARSE): added PPS_SAMPLE configuration
<refclock_atom aux interface>
* libntp/systime.c (adj_systime): debug output (> level 6) for
adjtime results
* libntp/mfp_mul.c (mfp_mul): controlled debug output
* libntp/ieee754io.c (get_byte): controlled debug output
(fetch_ieee754): ditto
(put_ieee754): ditto
Tue May 5 20:09:51 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: document DES is not usually present.
Wed Apr 29 22:00:22 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.72h
* authstuff/Makefile.am (check-local-rsn): check-local doesn't
work with RSAREF...
Reported by: "Auteria Wally Winzer Jr." <wally.winzer@champusa.com>
* libntp/machines.c: the settime() choices were ordered badly.
Reported by: Michael Joosten <joost@c-lab.de>
Sat Apr 25 00:35:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_var_no_parenb_ignpar): Undo the kernel PLL
block I just installed - Dave wants to control this via
KERNEL_FLL_BUG.
Fri Apr 24 20:35:57 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/Makefile.am (libntp_a_DEPENDENCIES): Set per libntp_a_LIBADD
* configure.in: Do a better job of blocking kernel PLL under
solaris2.6.
Fri Apr 24 00:41:12 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.72f
(ac_cv_struct_nlist_n_un): Don't look for ntp_adjtime or
ntp_gettime under solaris2.6.
* ntpd/ntp_proto.c (process_packet): Give verbose error messages
* include/global.h (PROTOTYPES): Drive via HAVE_PROTOTYPES.
Wed Apr 22 16:55:55 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_var_use_des): Added. 4.0.72e.
* libntp/Makefile.am (libntp_a_LIBADD): Added DESOBJS
Tue Apr 21 02:08:06 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_arc.c (arc_receive): Typo...
From: Sam Steingold <sds@usa.net>
Fri Apr 10 03:05:35 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_refclock_chu): AUDIO_CHU support. Disabled by
default, and currently only supported on SunOS and Solaris.
* acconfig.h: AUDIO_CHU
Wed Apr 8 19:53:53 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/Makefile.am (EXTRA_DIST): Added mktime.c
* configure.in: AC_REPLACE_FUNCS(mktime).
(--enable-dst-minutes=60): Added, for (missing) mktime().
* ntpd/refclock_heath.c (heath_receive): Use mktime() instead of
the old hack.
Tue Apr 7 21:15:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (LIBOBJS): Hack it before AC_OUTPUT to deal with
ANSI2KNR-filtering rules.
From: Jim Meyering <meyering@ascend.com>
Mon Apr 6 01:40:45 1998 Harlan Stenn <stenn@grundoon.udel.edu>
* libntp/strerror.c: ANSIfy strerror's definition.
Thu Mar 12 20:24:45 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* libntp/statestr.c: Only #include <config.h> if HAVE_CONFIG_H is
#define'd.
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
Wed Mar 11 00:27:32 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Cygwin needs to check for the advapi32 library.
NT doesn't support a root user, so don't bother with getuid().
Also, don't bother with umask().
* ntpd/ntp_io.c: cygwin32 patches
* ntpd/ntp_proto.c: Ditto.
* ntpd/ntpd.c: Ditto.
* ntpd/ntp_timer.c: Ditto.
* ntpdate/ntpdate.c: Ditto.
* libntp/machines.c: Ditto.
* libntp/systime.c: Ditto.
* include/ntp_machine.h: Ditto.
* include/ntp_unixtime.h: Ditto.
From: Sven Dietrich <Sven_Dietrich@Trimble.COM>
Tue Mar 10 22:26:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_make_tickadj): Added.
Now that tickadj is the only(?) utility that cares about tick and
tickadj, we don't need to have NOKMEM and no PRESET_* be fatal.
Sat Mar 7 02:57:17 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_loopfilter.c (local_clock): Patch STA_FLL check
From: Poul-Henning Kamp <phk@freebsd.org>
* various: Renamed ACTS to CLOCK_ACTS, ARBITER to CLOCK_ARBITER,
ARCRON_MSF to CLOCK_ARCRON_MSF, AS2201 to CLOCK_AS2201, BANC to
CLOCK_BANC, DATUM to CLOCK_DATUM, GPSVME to CLOCK_GPSVME, HEATH to
CLOCK_HEATH, HPGPS to CLOCK_HPGPS, IRIG to CLOCK_IRIG, JUPITER to
CLOCK_JUPITER, LEITCH to CLOCK_LEITCH, MSFEES to CLOCK_MSFEES,
MX4200 to CLOCK_MX4200, NMEA to CLOCK_NMEA, PALISADE to
CLOCK_PALISADE, PARSE to CLOCK_PARSE, PPS720 to CLOCK_PPS720, PST
to CLOCK_PST, PTBACTS to CLOCK_PTBACTS, SHM_CLOCK to CLOCK_SHM,
ONCORE to CLOCK_ONCORE, TPRO to CLOCK_TPRO, TRAK to CLOCK_TRAK,
TRUETIME to CLOCK_TRUETIME, USNO to CLOCK_USNO, WWVB to CLOCK_WWVB
* Makefile.am (ETAGS_ARGS): Added acconfig.h
* various: Renamed LOCAL_CLOCK to CLOCK_LOCAL.
* configure.in: First cut at *-pc-cygwin32 support
Requested by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
* configure.in: gdt-surveying code is gone. Sigh.
Reported by: Poul-Henning Kamp <phk@critter.freebsd.dk>
Wed Mar 4 21:41:06 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* many places: Renamed ATOM to CLOCK_ATOM
Tue Mar 3 03:18:13 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_timer.c (timer): Only call refclock_transmit if
REFCLOCK is #define'd.
Reported by a bunch of folks.
Mon Mar 2 03:46:07 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ntp_refclock): Use CLOCK_CHU, which no longer
needs any special headers.
* ntpd/refclock_chu.c: Call it CLOCK_CHU
(chu_receive): Define it correctly.
* include/winnt/sys/time.h (gettimeofday): Prototypes are OK.
(settimeofday): Prototypes are OK.
From: JJEVNISEK@qgraph.com
* ntpq/ntpq_ops.c: varlist name and value aren't const.
* ntpdc/ntpdc_ops.c (fudge): The flags are u_val, not val.
* ntpdc/ntpdc.c: const cleanup, exit cleanup.
* ntpd/refclock_wwvb.c (wwvb_receive): Move the definition of tz
somewhere more normal.
* ntpd/ntp_request.c (do_trustkey): kp gets u_long data, not
u_int32 (but Harlan thinks this patch may be wrong).
* ntpd/ntp_refclock.c (refclock_process): clocktime needs
offset.l_ui, not offset.l_i .
* ntpd/ntp_control.c (set_var): t isn't const.
* libntp/a_md5encrypt.c (session_key): Cast 2nd arg to MD5auth_setkey.
* include/ntpd.h: ctl_var's text field isn't const.
* include/ntp_refclock.h: clockdesc isn't const.
From: Marc Brett <Marc.Brett@waii.com>
* ntpd/ntp_loopfilter.c (local_clock): Limit ntv.constant to
MAXTC, and log error returns from ntp_adjtime.
From: Juha Sarlin <juha@c3l.tyreso.se>
Mon Mar 2 03:05:23 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (ac_cv_var_kernel_fll_bug): KERNEL_FLL_BUG
* acconfig.h: KERNEL_FLL_BUG: added.
* ntpd/ntp_loopfilter.c (local_clock): Only avoid STA_FLL if
KERNEL_FLL_BUG is #define'd (Solaris2.6)
Sat Feb 21 00:45:10 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* automake-1.2d.patches: Added ansi2knr.o rules.
* ntpd/refclock_tpro.c: P() stuff
Fri Feb 20 20:10:20 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: Improve the ${CC} -pipe test (cygwin-32's gcc -pipe
silently does nothing).
Reported by: Sven Dietrich <Sven_Dietrich@Trimble.COM>
Wed Feb 18 00:51:08 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.72 released.
* configure.in:AC_REPLACE_FUNCS(strerror), check for poll.h, and deal
with the --enable-JUPITER stuff.
* libntp/Makefile.am (libntp_a_LIBADD): Added (for strerror support).
* libntp/clocktypes.c: Added REFCLK_GPS_JUPITER.
* ntpdate/ntpdate.c: poll() support
* ntpd/Makefile.am: Add refclock_jupiter.c
* ntpd/refclock_conf.c: Added refclock_jupiter
* ntpd/refclock_mx4200.c (mx4200_pps): Bugfixes.
* include/ntp.h (REFCLK_GPS_JUPITER): Added, and bumped REFCLK_MAX.
From: Craig Leres <leres@ee.lbl.gov>
Mon Feb 16 21:02:42 1998 Harlan Stenn <stenn@grundoon.udel.edu>
* ntpd/ntp_proto.c: P()
Mon Feb 16 12:43:11 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp_types.h: Added P() prototyping hack back in.
* include/parse.h: Ditto.
* include/ntpd.h: Ditto.
* include/ntp_unixtime.h: Ditto.
* include/ntp_stdlib.h: Ditto.
* include/ntp_select.h: Ditto.
* include/ntp_refclock.h: Ditto.
* include/ntp_fp.h: Ditto.
* include/md5.h: Ditto.
* include/ntp_filegen.h: Ditto.
* include/ntp_calendar.h: Ditto.
* include/l_stdlib.h: Ditto.
* configure.in (ACTS): Sometimes, TIOCMBIS is in sys/ioctl.h
Reported by Kenneth Jaldehag <kenneth.jaldehag@sp.se>
* configure.in (HEATH): Ditto.
* configure.in (PTBACTS): Ditto.
* configure.in (USNO): Ditto.
Sat Feb 14 00:02:14 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_irig.c (irig_rf): Rename sincos[] to sin_cos[].
Fri Feb 13 22:22:08 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* include/ntp.h (RANDPOLL): Use random or mrand48.
* ntpd/ntp_config.c (do_resolve_internal): Ditto.
* ntpd/ntp_peer.c (unpeer): Ditto.
* ntpd/ntp_proto.c (make_keylist): Ditto.
* ntpd/ntpd.c (xntpdmain): Use srandom or srand48.
* configure.in: Look for {s,}random() and [ms]rand48().
Wed Feb 11 22:50:24 1998 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/ntp_restrict.c (hack_restrict): Renamed restrict()
* include/ntpd.h: Ditto
* ntpd/ntp_request.c (do_restrict): Ditto
* ntpd/ntp_config.c (getconfig):
* ntpd/ntp_io.c (create_sockets): Ditto.
1998-01-23 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_irig.c: Allow either <sun/audioio.h> or
<sys/audioio.h> . From Dave Mills.
* configure.in: Under SunOS, it's sun/audioio.h .
1998-01-22 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver6.html: Updated header file info
* html/irig.html: Ditto.
* configure.in: sys/bsd_audioirig.h replaced with sys/audioio.h
for new irig driver that Dave installed.
1998-01-08 Harlan Stenn <stenn@whimsy.udel.edu>
* Many places: Lose the P(()) prototype stuff
* util/tickadj.c (writevar): Make offset an off_t
(readvar): Ditto
(getoffsets): Make offsets off_t
* adjtimed/adjtimed.c (GetClockRate): Fix lseek arg 2.
(SetClockRate): Ditto
* Many things in many places from many people.
* configure.in: Added AC_TYPE_OFF_T
1997-11-26 Harlan Stenn <stenn@whimsy.udel.edu>
* ntpd/refclock_palisade.c: ANSIfied.
Wed Sep 3 23:51:44 1997 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in (AM_C_PROTOTYPES): Added.
* Makefile.am (AUTOMAKE_OPTIONS): Added ansi2knr.
|