Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: bsdi3_snap_200…
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 2706 lines (2212 sloc) 116.86 kb
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
CHANGELOG for KAME kit

$Id: CHANGELOG,v 1.969 2000/06/04 13:31:45 itojun Exp $

<200006>
Sun Jun 4 22:28:30 JST 2000 itojun@iijlab.net
* libinet6/resolv/res_send.c: remove MULTICASTQUERY6 case.
it is unnecessary since we have mdnsd, and it was mistake in BIND9
that BIND9 replied to multicast queries.

Sun Jun 4 21:57:47 JST 2000 itojun@iijlab.net
* sys/netinet6/nd6.c: revise upper-layer reachability confirmation
hint processing. count hints from upper-layer, and if the count
reaches maximum, try to probe reachability by real ND.
sysctl net.inet6.icmp6.nd6_maxnudhint defines maximum # of subsequent
upper-layer hints to be accepted.
we have removed check against process privilege for IPV6_REACHCONF.

we currently have two sources for hints: (1) IPV6_REACHCONF
(2292bis setsockopt), and (2) hints from tcp_input.
it is still questionable if they are really trustworthy.
for example, rogue userland program can use IPV6_REACHCONF to confuse
ND process (which is system-wide cache). also, tcp_input can be
hosed by hijack attempts.

Sun Jun 4 12:29:41 JST 2000 itojun@iijlab.net
* sys/netinet6/mip6*: sync with latest MIPv6 patch from ericsson guys.
- New addition to eager movement detection: now a second level
provided to enhance handoff time a lot. As soon as a
new prefix is heard the Mobile Node changes default
router. Less stable, router reachability is not assured,
but this can make handoff go in less than 0.5 sec. Also:
nasty trick used is to run nd6_timer() five times per
second. Use "mip6config -e 2" to test.
- More consistent function of mip6config and mip6stat.
- Fixed some bugs in mip6stat.
- Code clean up.

Sun Jun 4 01:12:52 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* {freebsd3/ports, netbsd/pkgsrc/net}/p5-Socket6: upgrade to 0.07.

Sat Jun 3 08:08:43 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/{libpcap,tcpdump}: use 2000/5/29 weekly snap.
* freebsd3/ports/mod_perl: mod_perl-1.24.tar.gz

2000-06-02 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet/tcp_subr.c (tcp6_ctlinput): separated from
tcp_ctlinput. We believe a separated function would make sense
in this case.
Additionaly, the new function now calls syn_cache_unreach().
IMO, there's been no special reason not to call it.

* openbsd/sys/netinet/tcp_subr.c (tcp6_ctlinput): applied the same
fix as bsdi4.
Also, the ctlinput function now calls in6_pcbnotify(), which was
unintentionally (IMO) prohibited.

2000-06-02 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {bsdi4, freebsd[34], openbsd}/sys/netinet6/in6_pcb.c
(in6_pcbnotify):
* kame/sys/netinet6/in6_pcb.c (in6_pcbnotify):
corrected the algorithm to detect whether in6_rtchage() should
be called.

Fri Jun 2 21:08:22 JST 2000 itojun@iijlab.net
* freebsd2/ports/{libpcap,tcpdump}: use 2000/5/29 weekly snap.

Thu Jun 1 04:47:42 JST 2000 sakane@kame.net
* kame/kame/racoon:
- You must explicitly specify the file name of certificate and
private key if you use a certificate. See README.certificate.
- fixed to make a index of SPD in responder side when ID type in ID
paload is subnet, or when there is no ID payload.
- supported to negotiate the IPsec-SA of ESP without authentication.
- Added the direction as an item to compare policy.
- fixed some crash problems.

Thu Jun 1 02:43:31 JST 2000 itojun@iijlab.net
* kame/mdnsd: multicast DNS resolver, as specified in
draft-aboba-dnsext-mdns-00.txt. Note that spec conformance is
still very low.
* netbsd/pkgsrc/net/{libpcap,tcpdump}: use 5/29 weekly snap.

<200005>
2000-05-31 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_output.c (ip6_mloopback): make a deep copy
of the IPv6 header only in an M_EXT case. Practically, we'll
rarely need such an extra copy.

Tue May 30 23:56:04 JST 2000 itojun@iiljab.net
* sys/netinet6/ip6_output.c: make scopeid handling in multicast
loopback case (ip6_mloopback) consistent with other cases.

Tue May 30 20:54:23 JST 2000 itojun@iijlab.net
* libinet6/resolv/res_send.c: with #define MULTICASTQUERY6, allow
multicast address in /etc/resolv.conf "nameserver" line. By
configuring resolv.conf(5) like below:
nameserver ff02::1%3
DNS queries will reach all nodes on the link with link ID "3".
With the change, the resolver code changes some of its behaviors:
- the resolver code does not check src/dst pair match, if we have
multicast address in resolv.conf. It may or may not raise security
issue.
- the resolver code does not use connected udp socket for multicast
query.

highly experimental - note that this change DOES NOT attempt to
support multicast DNS queries, as drafted in
draft-aboba-dnsext-mdns-00.

2000-05-30 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/faithd/faithd.c (main): allocated enough memory for
serverpath and serverarg to prevent possible buffer overrun.

Tue May 30 11:18:03 JST 2000 itojun@iijlab.net
* freebsd[23]/ports/popper, netbsd/pkgsrc/mail/qpopper:
mark the port broken for security issue. users are suggested to
remove the installed binary.
http://www.securityfocus.com/templates/archive.pike?list=1&date=2000-05-22&msg=p04320305b5511470392c@[192.168.1.5]

Tue May 30 01:29:04 JST 2000 itojun@iijlab.net
* freebsd4/sys/net/if_loop.c: check BPF data link layer type (DLT_xx)
on call to bpf_mtap() in if_simloop().

XXX if_simloop() call from ip6_output() causes junk to be injected
to bpf buffer. we may need some fix separately from this commit.

Tue May 30 00:11:17 JST 2000 itojun@iijlab.net
* {bsdi4,netbsd}/usr.bin/ftp: internally convert IPv4 mapped address
into real IPv4 address. IPv4 mapped address adds too much confusion
to FTP protocol handling.
Suggested by: ume

Mon May 29 08:34:58 JST 2000 itojun@iijlab.net
* kame/sys/netinet/in6_pcb.c (affects netbsd only):
bind(2) on AF_INET6 socket with IPv4 mapped address will raise error,
instead of making port number duplicate on pcb struct.

Mon May 29 02:26:25 JST 2000 itojun@iijlab.net
* bsdi4/sys/netinet/tcp_input.c: correct critical typo. prior to the
change, if we have inbound IPv4 TCP traffic to AF_INET6 socket.
inp_laddr6 will have ::ff0f:xx.yy.zz.uu, not ::ffff:xx.yy.zz.uu.
* bsdi4/usr.sbin/netstat/inet.c: do not print IPv4 mapped address
as normal IPv4 address, on netstat -an. print it as is (as IPv4
mapped).

Mon May 29 00:43:15 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_output.c (affects netbsd only):
correct setsockopt(IPV6_BINDV6ONLY) behavior.

Mon May 29 00:04:15 JST 2000 itojun@iijlab.net
* bsdi4/sys/netinet/in_pcb.c: remove NRL bind(2) ordering constraint.
NRL code forbids wildcard IPv4 bind after wildcard IPv6 bind on
the same port number. it was mistake. now bind(2) is free from
ordering constraint.

Sun May 28 15:33:11 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/{libpcap,tcpdump}: use 2000/5/22 weekly snap.

Sat May 27 23:05:00 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/ethereal: upgrade to 0.8.8.

2000-05-27 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/dtcp/dtcpc.rb: added a new option "-r (static|solict)"
to specifiy how the default route should be configured.

2000-05-27 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/rtadvd: became more conscious of interface status
(up or down);
        - when an interface becomes down, stop the corresponding timer.
- when an interface becomes up again, reinitialize the status and
restart the timer.
- simply discard data received on a daed interface.
- dump if interface is up or dump

Sat May 27 19:07:58 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.c: add net.inet6.icmp6.errppslimit sysctl MIB.
it will let you limit ICMPv6 error messages by pps, not interval.
still not sure what is the best way to perform rate limitation...
change default parameter for icmp6 error rate/pps limitation
to 100usec interval and 200pps (an icmp6 error packet needs to
pass both tests to leave the node).

Sat May 27 15:18:58 JST 2000 itojun@iijlab.net
* kame/ping6/ping6.c: support -N option to probe NI group address at
ease. for example:
% ping6 -N -I ne2 lychee
will probe NI group address for nodename "lychee", instead of the
address resolved for "lychee".

Sat May 27 14:01:29 JST 2000 itojun@iijlab.net
* sys/netinet6/in6_ifattach.c: on in6_ifattach(), join NI group address
specified in icmp-name-lookup-04 and beyond.
TODO: cope with hostname change events, like sethostname(3).

Fri May 26 00:02:15 JST 2000 itojun@iijlab.net
* netbsd/usr.bin/ftp/fetch.c: do not transmit scope identifier
on HTTP Host: directive. disallow scoped address if the access is
via proxy.
* openbsd/usr.bin/ftp/fetch.c: do not transmit scope identifier on
HTTP Host: directive. correct Host: directive passing if the
access is via proxy.
TODO: disallow scoped address if the access is via proxy.

Thu May 25 23:16:01 JST 2000 itojun@iijlab.net
* bsdi4/usr.bin/telnet/commands.c: use getaddrinfo to be scoped-address
friendly.

Thu May 25 21:56:47 JST 2000 itojun@iijlab.net
* bsdi4/sys/i386/pci/if_exp.c: do not use interrupt for initializing
multicast filter. this will make exp driver to be friendly with
IPv6 initialization sequence. hints from netbsd fxp driver.

2000-05-25 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/net/route.c (ifa_ifwithroute): reverted a KAME
specific change introduced on 2000-02-25 (see this log file).
The change was an ad-hoc hack and broke BSDI's original
intention, so we've wanted to clarify the code.

2000-05-25 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/in6_ifattach.c (in6_ifattach,
in6_ifattach_addaddr): use rtrequest1() when assigning IPv6
addresses since this function is more conscious of interfaces than
rtrequest() and is suitable for link-local addresses.

Thu May 25 01:25:39 JST 2000 sakane@ydc.co.jp
* kame/sys/{netkey/key.c,netinet6/ipsec.c}:
* kame/kame/setkey:
supported IPsec with link local address.
XXX to be supported by racoon.

Wed May 24 22:42:40 JST 2000 itojun@iijab.net
* bsdi4/sys/net/if_ppp.c: IPv6 support. highly experimental.
* bsdi4/usr.bin/ppp: IPv6CP support. highly experimental. solicit
test/experience reports.

2000-05-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/dhcp6/dhcp6s.c: the "-n dnsserv" option can now be
specified multiple times, when a user wants to set more than one
server.

Wed May 24 18:59:55 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
fix to check vendor id. HASH function for vendor id is always MD5.

Wed May 24 18:09:12 JST 2000 itojun@iijlab.net
* sys/netinet6/in6.h: check parameter type to IN6_ARE_ADDR_EQUAL().
this should avoid typecast bugs like below.

2000-05-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {bsdi4,openbsd}/sys/netinet6/in6_pcb.c (in6_pcbnotify):
corrected the 2nd argument IN6_ARE_ADDR_EQUAL(), which was
unintentionally "struct in6_addr **"".
This fix is quite important for stability and users of those OSes
are recommended to apply it.

Wed May 24 14:32:44 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
supported pre-shared key written by hex string.

Wed May 24 01:29:46 JST 2000 itojun@iijlab.net
* netbsd/usr.sbin/pppd: pppd with IPv6 support. from netbsd-current.
no on-demand dialing support at this moment.
* netbsd/sys/net/if_ppp.c: async ppp kernel code with IPv6 support.
from netbsd-current. it will change ioctl API slightly,
and stock netbsd142 pppd may choke.

Tue May 23 21:51:00 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
fix to get local address to be used by sending address. It was
enbugged when some macro was removed.

Tue May 23 07:41:08 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
don't bark when the life duration of attribute in SA payload is
encoded TV format. It's allowed by RFC.

Tue May 23 07:14:59 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
some fixes.
- initialize prefixlen at ipsecdoi_id2sockaddr.
- check sainfo duplicated.
- improve sainfo2str() to return "anonymous" if sainfo is anonymous
record.
- fix to parase port number specification.
- change output level during parsing payload.

Tue May 23 01:46:39 2000 Shin'ichi Fujisawa <fujisawa@kame.net>
* Remove "options PM" from GENERIC.v6.

Now, the facility of v4NAT was integrated by NATPT (some NAT
  function is not implemented yet), please use NATPT when you want
  to use v4NAT.

Tue May 23 00:27:52 JST 2000 itojun@iijlab.net
* sys/netinet6/udp6_var.h: make sysctl symbol name meet with
IPv4 counterpart. freebsd2: net.inet6.udp6.maxdgram,
netbsd: udp6.sendspace, bsdi3: udp6.sendmax.

Mon May 22 21:08:55 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.c: disallow negative numbers for ICMPv6 rate limit
interval. use ratecheck(9) if exists (this will make
netbsd15/openbsd27 merger easier).

Mon May 22 17:54:29 JST 2000 itojun@iijlab.net
* sys/netinet6/{ah,esp}_output.c: correct rare error case handling
(do not leak mbuf/do not emit incomplete packet).
* sys/netinet6/ah_*.c: cope with memory allocation failure more
gracefully.

2000-05-22 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/scopedaddrtest/scopedaddrtest.c: a new option "-N" was
added to specify the NI_NUMERICSCOPE flag for getnameinfo().

2000-05-22 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/libinet6/getnameinfo.c (ip6_sa2str): supported
the NI_NUMERICSCOPE flag if available.

2000-05-22 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {freebsd[234],bsdi3,{net,open}bsd}/include/netdb.h
(NI_NUMERICSCOPE):
* bsdi4/contrib/bind/src/include/netdb.h (NI_NUMERICSCOPE):
the new flag was added as specified in rfc2553bis-00.

Mon May 22 13:19:29 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.c: to conform better with icmp-name-lookup-05,
make the validation rule more strict for node information query.
now, IPv6 destination address must be anycast/unicast for the node,
or link-local multicast.
there still are spec non-conformance - see comments in icmp6.c.

Mon May 22 12:07:28 JST 2000 itojun@iijlab.net
* kame/gifconfig/gifconfig.c: correct gif outer (physical) address
printing, on non-IPv6 kernel.

Sat May 20 04:59:26 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_{forward,output,input}.c:
correct link-local scoped address handling on loopback interface.
broken by FAKE_LOOPBACK_IF code committed on 17 May 2000.

2000-05-19 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_mroute.c (ip6_mdq): loosened scope check
in ip6_mdq() for packets forwarded to a register I/F. Without
this, such packets could be mistakenly discarded.
In response to: a report from Noriaki Takamiya
<takamiya@po.ntts.co.jp>

Fri May 19 11:41:05 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_mroute.[ch]: add backward compatibility code
for 2000/4/12 mrt6msg change (is not used in kame tree).
freebsd40 and openbsd27 are shipped with old declaration, so we
need to provide backward compat to some degree.

Fri May 19 09:26:28 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd4/{usr.bin/fetch, lib/libftpio}: support IPv6.
From: ume@mahoroba.org

Fri May 19 00:30:04 JST 2000 itojun@iijlab.net
* kame/pim6dd/vif.c: allocate uv_querier struct as necessary on
initialization. it will avoid SEGV right after invocation.

2000-05-19 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/scope6.c (scope6_addr2default): was added to
get the default scope zone for a specified address.

2000-05-19 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/udp6_output.c (udp6_output):
* kame/sys/netinet6/raw_ip6.c (rip6_usrreq):
* {bsdi4, openbsd}/sys/netinet6/raw_ipv6.c:
* {freebsd[34]}/sys/netinet6/raw_ip6.c:
* {bsdi4, freebsd[34], openbsd}/sys/netinet6/in6_pcb.c:
filled default scope zone in sin6_scope_id if unspecified.
        Currently, these are enabled only with the ENABLE_DEFAULT_SCOPE
kernel compilation option.

2000-05-18 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_forward.c (ip6_forward): zero-cleared
embedded link zone IDs in forwarded packets. We forgot this, since
old kernel did not allow link-scope packets to be forwarded.

2000-05-18 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/ndp/ndp.c (set): supported <link-local_addr>%<link ID>
for "ndp -s".

Thu May 18 21:15:32 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/fetchmail: upgrade to 5.4.0
* freebsd3/ports/heimdal: upgrade to 0.2t.
* freebsd3/ports/w3m: upgrade to 0.1.9.
* freebsd3/ports/netperf: use latest IPv6 patch.

Thu May 18 16:34:18 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/mail/fetchmail: upgrade to 5.4.0.

Wed May 17 23:58:14 JST 2000 itojun@iijlab.net
* {netbsd/pkgsrc, freebsd[23]/ports}/net/{libpcap,tcpdump}: use 5/15
weekly snap.

Wed May 17 21:50:27 JST 2000 sakane@ydc.co.jp
* {freebsd[234],netbsd}/sys/netinet/ip_output.c:
call key_spdacquire() if there is no policy entry for IPv4.
key_spacquire() sends a setup policy request to the policy
negotiating daemon or something.

2000-05-17 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/nd6.c (nd6_output):
* kame/sys/netinet6/ip6_output.c (ip6_output):
made scoped addresses more friendly with loopback interfaces;
if a packet containing scoped addresses in the source or
destination address fields is going to be sent on a loopback
interface, pass looutput() the interface to which the scoped
address(es) belongs.
For example, you won't see "lo0" when you ping to your own
link-local address.
This is currently experimental and enabled only when the
FAKE_LOOPBACK_IF kernel compile option is specified.

Wed May 17 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.c: correct node information lookup, when
the query is formatted in 05 draft format and IPv6 multicast
address is attached as subject. this will make node to reply to
"ping6 -w ff02::1" like before (actually, validation rule is not
really conformant to 05 draft. see comments in source for details).

Wed May 17 19:09:51 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* kame/freebsd3/ports/{squid11, qmail}: upgrade to latest IPv6
patch.
* kame/freebsd3/ports/{quake6, quakedata}: use IPv6-migrated
quakeforge.

2000-05-17 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/scope6config/scope6config.c: added a new syntax
"scope6config default" to see the default zones.

2000-05-17 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/{in6.c, nd6_rtr.c, scope6.c}: introduced the
notion of "default scope zones":
- store the default zones in scope6_ids[0]
- reflect change of default interface to default link
        - added a new ioctl SIOCGSCOPE6DEF to get the default values

2000-05-17 SUZUKI Shinsuke <suz@sdl.hitachi.co.jp>
* bsdi3/sys/net/if_tun.c:
- fixed mbuf allocation bug on tun?
- enabled IPv6 addressing on tun?
* {freebsd[23]/ports,netbsd/pkgsrc/net}/gated-ipv6
updated to May 11's snapshot

Wed May 17 10:09:42 JST 2000 itojun@iijlab.net
* kame/sys/net/if_gif.c: with "options XBONEHACK", allow multiple
gif tunnels to be configured with the same pair of outer addresses.
From: Lars Eggert <larse@isi.edu>
* kame/sys/net/if_gif.c: always disallow multiple multi-dest tunnels.

2000-05-16 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/dhcp6/common.c (getifaddr): corrected the 2nd argument
to in6_matchflags().
* kame/kame/dhcp6/dhcp6s.c (server6_react_solicit,
server6_react_request): corrected scope validation for incoming
packets.

Tue May 16 23:05:56 JST 2000 itojun@iijlab.net
* kame/route6d/route6d.c: memory leak and bzero() correction.
* kame/route6d/route6d.c: correct interface address handling
for global address on p2p interface. there seem to be two major
models in this arena: cisco (use addr/plen) and gated (advert
dest/128 and addr/128). the code supports both behavior,
switchable at compilation time. default behavior is "gated".
we may need to revisit the code later. Comments from suz on p2p
routing model.

Tue May 16 09:44:50 JST 2000 itojun@iijlab.net
* netbsd/usr.bin/ftp/fetch.c: parse RFC2372 ftp URL correctly.
(the code is different from netbsd-current code - netbsd-current
code works just right, and our version will go away when we switch
to kame/netbsd15)

Mon May 15 22:39:20 JST 2000 itojun@iijlab.net
* openbsd/usr.bin/ftp/fetch.c: parse RFC2372 ftp URL correctly.

2000-05-15 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/v6test/conf/ext.conf (jumbolack): added to see if the
target is coformant to the 1st validation in Section 3. of rfc
2675.

2000-05-15 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_input.c (ip6_input): if ip6_plen == 0 &&
HbH is included && no jumbo opt, return icmp6 error and discard
packet. This is a new validation check added in RFC 2675.

Mon May 15 18:25:52 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.c: support DNS subject name in NI6 query.
receiving node will supress reply, if DNS subject name does not
match gethostname(3). truncated nodename case is little bit
questionable, see below.

Mon May 15 15:48:44 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.c, kame/ping6/ping6.c:
use DNS name encoding for NI6 replies (DNS name).
the kernel code tries to be compatible with 03 draft (will reply
with pascal string to old "ping6 -w" or current "ping6 -W").
truncated nodename case is little bit questionable - many nodes are
configured with non-FQDN nodename, and we're not sure if we can
treat such name as FQDN for the node.

Mon May 15 02:35:41 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/{libpcap,tcpdump}: use tcpdump.org 2000/5/8
weekly snap

Sun May 14 JST 2000 itojun@iijlab.net
* sys/netkey: completely rewrite message management, to avoid possible
buffer overrun with corrupted pfkey data stream. since only root
processes are able to connect to pfkey socket, we don't consider
this as vulnerability (if a bad guy can inject corrupted data stream
to pfkey, he has root privilege and he can do many other things
as well). rewrite still in progress.
if you see any breakage with IPsec related operations, please report.
* sys/netkey: attach better proposal/combination payload to acquire
message from the kernel.

2000-05-14 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/usr.sbin/netstat: printed per-interface IPv6 statistics.
Please try
% netstat [-p [ip6|icmp6] | -f inet6] -s -I if_name
for printing statistics on a specified interface.

2000-05-14 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {bsdi4, openbsd}/sys/netinet6/raw_ipv6.c (rip6_output):
- fixed memory leak for outgoing ancillary data
        - use KAME's checksum offset option for outgoing packets
        - count statistics for outgoing ICMPv6 packets
        - be more friendly with nervous compilers
        - code cleanup

Sat May 13 JST 2000 itojun@iijlab.net
* */usr.bin/telnet/commands.c: improve error message on invalid
port name. gai_strerror() does not give enough detail.
* netbsd/usr.sbin/inetd/inetd.c: improve error message on address
family mismatch.
* sys/netinet6/icmp6.c: improve icmp6 node information support.
we have not been conformant to the latest specification (05).
the current code is a mixture of 05 draft and 03 draft.
need more fixes (see comment in code for detail).

2000-05-13 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/gifconfig/gifconfig.c (in6_status): use getnameinfo
(instead of inet_ntop) to print IPv6 addresses.

2000-05-13 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {bsdi4,openbsd}/sys/netinet6/in6_pcb.c (in6_setsockaddr): move
the embedded link ID of a link-local address to the sin6_scope_id
field in order to conceal the embedding hack from users.

2000-05-13 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/dhcp6: supported the latest draft (dhcpv6-15).
Note that this version is not compatible with the previous one,
and thus you should update whole your DHCPv6 system including
clients, relays and servers.

Thu May 11 19:28:22 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
- fix to get lifetime/lifebyte from doi attribute.
- fix to lifetime/lifebyte handling.
lifetime of 0 should not be included a packet. 0 of lifebyte should
not be included in a packet although 0 means not to care of the
lifetime of bytes. If there is such case, it is rejected.
- modify racoon.conf.5.
- update version to 20000501 means proposal parser is fixed.

They are reported from <Francis.Dupont@enst-bretagne.fr>.

Wed May 10 14:07:22 JST 2000 itojun@iijlab.net
* sys/netinet/* (all platforms): correct more boundary checking issues
in ip options processing. This was 4.4BSD issue, and all *BSD
platforms are not very careful in parsing ip options.

Wed May 10 02:07:33 JST 2000 itojun@iijlab.net
* sbin/ping6: correct outbound NI query packet with -aw.
we should have attached Subject data, which was defined in
04 draft. (we are now in 05)
* sys/netinet6/icmp6.c: improve inbound NI query packet validation.

Tue May 9 22:11:56 JST 2000 itojun@iijlab.net
* all platforms: correct NetBSD Security Advisory 2000-002, problem (2).
this applies to all BSD-based operating systems. Kernel upgrade
is suggested if you run serious services with KAME kernel.

Mon May 8 23:24:34 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/{libpcap,tcpdump}: use tcpdump.org 2000/5/8
weekly snap.

Mon May 8 23:08:24 JST 2000 itojun@iijlab.net
* libinet6/name6.c: correct resolver error code handling (h_errno,
like last arg for getipnodebyname).

Mon May 8 17:20:17 JST 2000 itojun@iijlab.net
* freebsd4: ipsec now compiles (not tested at all).
brave testers wanted.

Sat May 6 01:48:14 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/ports/{libpcap, tcpdump}: upgrade to 2000/05/01.
* freebsd[23]/ports/tcp_wrapper: upgrade to latest IPv6 patch.
* {freebsd[23]/ports,netbsd/pkgsrc/net}/mtr: upgrade to 0.42.
* freebsd3/ports/vat6: upgrade to latest IPv6 patch.

Sat May 6 00:30:39 JST 2000 itojun@iijlab.net
* */include/netdb.h, kame/libinet6/getnameinfo.c:
2nd arg of getnameinfo() is socklen_t, not size_t.
this was changed somewhere before rfc2553. we forgot to catch
up with the change.

Sat May 6 00:55:30 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/mozilla: upgrade to M15. From: ume

Fri May 5 23:19:10 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3: INET6 and IPSEC* defines are moved from opt_inet.h to
opt_inet6.h and opt_ipsec.h

Fri May 5 15:59:21 JST 2000 itojun@iijlab.net
* kame/sys/netinet6/in6_ifattach.c: stabilize in6_ifdetach() again.
previous code touched uninitialized pointers.
* openbsd/sys/net/if.c: cope with pcmcia card removal.

2000-05-04 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6[ds]d/mld6_proto.c (accept_listener_query):
corrected incoming MLD query message handling.

Thu May 4 13:10:16 JST 2000 itojun@iijlab.net
* openbsd/lib/libinet6/getaddrinfo.c: translate resolver error codes
in h_errno into getaddrinfo error code. without this, EAI_FAIL
is always returned and it made no sense.
From: deraadt@openbsd.org

Mon May 1 19:38:32 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/{libpcap,tcpdump}: use 2000/5/1 weekly snap.

Mon May 1 18:24:04 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_output.c: avoid panic on ip6fw kernel configuration
on IPv6 packet outputs (usually, DAD on reboot).

Mon May 1 14:05:02 JST 2000 itojun@iijlab.net
* kame/libinet6/name6.c: use BIND 4.9.7 DNS answer parser to remove
any of vulnerability old name6.c might have.

Mon May 1 12:22:53 JST 2000 itojun@iijlab.net
* kame/libinet6: have more sanity check against validity of CNAME.
(there were some advisory about this in the past, IIRC)

<200004>
2000-04-30 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6[ds]d: did timeout the MLD querier correctly.

2000-04-30 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet6/raw_ipv6.c: call ip6_mrouter_done() when the
ip6_mrouter socket is closed in order to avoid remaining a garbage
socket in the kernel.

2000-04-29 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* freebsd3/ports/bind9/Makefile: upgraded to bind-9.0.0b2.

2000-04-29 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6sd/cfparse.y:
* kame/kame/pim6sd/pim6_proto.c (receive_pim6_bootstrap):
ignored node-local and link-local group prefixes in the
configuration file and received bootstrap messages.

2000-04-29 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/nd6.c (nd6_output): do not try NUD unless the
gateway is a real neighbor. We can now enable NUD on a p2p link
even when
- assigning a pair of source and destinaion addresses on the p2p
link (with the /128 mask), or
- installing a direct route to the p2p link using an AF_LINK
gateway or a node's own address on another interface.

Sat Apr 29 02:11:18 JST 2000 itojun@iijlab.net
* freebsd4: fix various kame/freebsd4 sync issue, including KAME
PR 244. there can be more issues left - pls report if you find one.
* */libinet6/getaddrinfo.c, kame/libinet6/name6.c: correct
FILTER_V4MAPPED code. avoid unaligned memory accesses.

2000-04-28 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6sd: filled the suggested hash mask length in
bootstrap messages. Also, that field is now configurable.
In response to a report from Olivier TOGNI
<togni@dpt-info.u-strasbg.fr>.

Fri Apr 28 19:30:18 JST 2000 itojun@iijlab.net
* ports/pkgsrc for zebra (openbsd, freebsd[23], netbsd):
upgrade to 0.86.

2000-04-28 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/traceroute6/traceroute6.c (main): always printed the
source address of proving packets.

Fri Apr 28 13:34:27 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/ports/rsync, netbsd/pkgsrc/net/rsync: upgrade to 2.4.3

Fri Apr 28 00:41:36 JST 2000 itojun@iijlab.net
* sys/netinet6/in6_ifattach.c: correct in6_ifdetach().
free oia, not ia. there are more problems, Lennart says.
From: Lennart Augustsson <augustss@augustsson.net>

2000-04-27 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet/udp_usrreq.c: removed udp6_output() to use a
shared version defined in netinet6/udp6_output().

2000-04-27 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {bsdi4, openbsd}/sys/netinet/in_pcb.c (in_pcbnotify):
* openbsd/sys/netinet/in_pcb.c (in_pcbnotifyall):
prevented an infinite loop, which could happen if an IPv6 PCB
entry exists and notification to the PCB list occurs.
OpenBSD users who use the 20000424 snap release are strongly
recommended to apply this fix.

Thu Apr 27 12:32:34 JST 2000 itojun@iijlab.net
* freebsd4/lib/libinet6/getaddrinfo.c: getaddrinfo.c obeys
configured resolve order. From: ume

Thu Apr 27 10:35:47 JST 2000 itojun@iijlab.net
* libinet6/resolv/res_send.c: disallow $HOSTALIASES for setuid binary.

Thu Apr 27 05:06:35 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
vendorid directive is obsoleted. vendorid should not be configurable.

Wed Apr 26 21:23:49 JST 2000 itojun@iijlab.net
* {net,open}bsd/lib/libinet6/getaddrinfo.c:
disable AI_ADDRCONFIG support since it does not handle PF_UNSPEC
case. From: ume

Wed Apr 26 19:20:54 JST 2000 itojun@iijlab.net
* libinet6/resolv/res_{comp,send}.c: incorporate strict boundary
checking from BIND 4.9.7. simplify #ifdefs.
* libinet6/resolv/res_send.c: force fragment to minimum IPv6 MTU when
we send a UDP query to IPv6 DNS server. this avoids path MTU
discovery from affecting name resolution.

Wed Apr 26 17:44:18 JST 2000 itojun@iijlab.net
* libinet6/resolv/res_query.c: clarify reasons for setbuf().
* freebsd4: sync with latest gif and stf code (compiled, need more
testing)

Wed Apr 26 12:00:59 JST 2000 itojun@iijlab.net
* libinet6/resolv: allow users to switch use of EDNS0 query packet,
by "options edns0" in /etc/resolv.conf. BIND9 DNS server must be
listed on "nameserver" line if you use EDNS0 query packet, since
BIND4/8 will choke with EDNS0 packets. highly experimental.
(not available in freebsd4 and bsdi4 due to resolver differences)

Tue Apr 25 16:46:56 2000 Shin'ichi Fujisawa <fujisawa@kame.net>
* v4 traceroute (in NAT-PT w/ v4NAT) works.

Tue Apr 25 16:21:24 JST 2000 itojun@iijlab.net
* netbsd/sys/netinet/ip_ipip.c: re-enable support for ipip interface.
sync with netbsd-current.

Tue Apr 25 11:39:22 JST 2000 itojun@iijlab.net
* netbsd/usr.sbin/lpr: allow lp=port@host. NetBSD PR 9975.
* netbsd/usr.sbin/lpr: don't SEGV on rp=numerichost.
From: hiro@takechi.org

Tue Apr 25 04:09:09 JST 2000 sakane@kame.net
* kame/kame/racoon:
* kame/kame/setkey:
In the case of ICMP{,V6}, check address family and upper layer protocol.

Tue Apr 25 03:54:32 JST 2000 sakane@kame.net
* kame/kame/racoon:
enable VPN negotiation again.

XXX AS before, racoon can NOT negotiate the socket based SA.

2000-04-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/net/if.c (ifa_ifwithnet): reverted a change on
2000-02-25, since the logic is not related with our latest code.

Mon Apr 24 22:13:09 JST 2000 itojun@iijlab.net
* libpcap/tcpdump pkgsrc (netbsd/freebsd2): upgrade to 4/24 snapshot.

Mon Apr 24 21:39:23 JST 2000 sakane@kame.net
* kame/kame/racoon:
- enable to define some algorithm each algorithm class.
- use internal SPD, don't SPDGET in order to get SP entry.
- fix to negotiate phase 2 with multiple transform in a single protocol.

Mon Apr 24 17:22:51 JST 2000 sakane@kame.net
* kame/kame/racoon:
improve phase 2 configuration and parse phase 2 SA payload.
Racoon takes security protocols to be negotiated at phase 2 from
kernel's SPD.
User can define algorithms, lifetime and pfs by "sainfo" directive.

XXX At the moment, racoon can NOT negotiate the SA for VPN. Because
I don't clarify to define the relation between the values of ID
payloads and a pair of src/dst which cause the SA negotiation to
begin. Also racoon can NOT negotiate the socket based SA. Because
there is not any SP entry for socket in the kernel's SPD.

Mon Apr 24 13:08:42 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/mail/fetchmail: upgrade to 5.3.8.

Sun Apr 23 14:21:32 JST 2000 itojun@iijlab.net
* freebsd2/usr.bin/ftp: use RFC2732 URL format for Host: HTTP directive.
* openbsd/usr.bin/ftp: support RFC2732 URL format (bracket around
IPv6 numeric address).

2000-04-23 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_mroute.c (ip6_mdq): do not check scope
boundary for packets through a PIM register tunnel. Without this
change, an RP will not be able to forward packets received on a
register tunnel. However, this blindly relies on the routing
daemon's behavior. We'll eventually need more reliable fix.

2000-04-21 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* freebsd3/usr.bin/netstat/route.c (routename6): fill in the
sin6_socpe_id field of a local variable to support
<scope_addr>%<scope_id> extension.

Fri Apr 21 20:13:09 JST 2000 itojun@iijlab.net
* openbsd/sys/netinet{,6}/in{,6}_pcb.c: on in{,6}_pcbnotify, make sure
to touch pcbs that meets address family of incoming packet.

2000-04-21 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet/ip_output.c (in_mrejoin): skipped PF_INET6
entries. This is a fix of a serious bug and should be applied if
you use IPv6 multicasting.

Thu Apr 20 21:32:02 JST 2000 itojun@iijlab.net
* sbin/route/route.c (freebsd[23], netbsd, bsdi[34]):
use scoped address notation when printing IPv6 link-local multicast
addresses.

2000-04-20 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/bgpd/ripng.c (rip_sockinit): do not bind ff02::9 on
the RIPng socket. Without this fix, bgpd can't accept unicasted
RIPng messages.
In response to a report from masahito_endo@ydc.co.jp

Thu Apr 20 18:22:26 JST 2000 itojun@iijlab.net
* libpcap/tcpdump pkgsrc (netbsd): upgrade to 4/17 snapshot.
* libpcap/tcpdump pkgsrc (openbsd): added port for 4/17 snapshot.

2000-04-19 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet6/raw_ipv6.c (rip6_ctloutput):
- just (implicitly) call ip6_ctloutput for IPV6_CHECKSUM.
- added multicast routing socket options.

Wed Apr 19 17:18:25 2000 Shin'ichi Fujisawa <fujisawa@kame.net>
* v4NAT in NATPT works.
- v4 traceroute does not work yet. I will fix it soon.
- FTP active transfer process does not work.
When you want to use ftp, use passve mode instead of active.

Wed Apr 19 10:52:56 JST 2000 itojun@iijlab.net
* sys/netinet{,6}/in{,6}_gif.c: do not attempt to transmit packet
if we are apparently making infinite loop.
* sys/netinet6/in6_gif.c: always fragment encapsulated IPv6 packet
to minimum IPv6 MTU. otherwise, inner layer (like IPv4 in
IPv4-in-IPv6) needs to retransmit to kick path MTU discovery in
the outer layer - too painful.

2000-04-18 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_mroute.c (ip6_mdq): added scope boundary
check.

2000-04-18 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/scope6config/scope6config.c: added to configure and
view the scope zone identifiers of a particular interface.
XXX: should eventually be merged into ifconfig or something.

2000-04-18 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/scope6.c: added to configure/mangement IPv6
scopes. Two new ioctls were also added to set/get scope zone
identifiers.

Tue Apr 18 13:12:40 JST 2000 itojun@iijlab.net
* kame/sys/netinet6/udp6_output.c: for better code sharing, split
udp6_output() from udp6_usrreq.c.

Tue Apr 18 12:44:24 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
improve phase1 DH group check.
dh_group must be defined by each proposal in a configuration file.

2000-04-18 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/dhcp6/dhcp6relay.c: added to support DHCPv6 relay
agent. The implementation currently handles DHCP Solicit and
Advertise messages only.

Tue Apr 18 03:10:01 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/mmosaic: multicast Mosaic.

Tue Apr 18 02:35:54 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
- use getifaddrs to get addresses.
- fix to define logging level by hexa-decimal string.
- tiny fix to print error/warn message during parsing configuration
file.

2000-04-17 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/udp6_usrreq.c (udp6_output):
* bsdi4/sys/netinet/udp_usrreq.c (udp6_output):
considered byte order of an embedded link-identifier.

Mon Apr 17 20:32:27 JST 2000 kjc@csl.sony.co.jp
* add ALTQ support to freebsd4.

Mon Apr 17 21:05:48 JST 2000 itojun@iijlab.net
* sys/netinet/ip_encap.c: support priority between attached
interfaces. see comments for more detail.
* sys/net/if_gif.c: gif prioritized match support (between LINK0 and
!LINK0 - LINK0 is less preferred) is now recovered.

Mon Apr 17 15:52:19 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/ethereal: upgrade to 0.8.7.

Mon Apr 17 13:32:48 JST 2000 itojun@iijlab.net
* kame/ndp/ndp.c: remove leftover from IPv4 arp logic in set() and
delete(). this caused infinite loop in certain oruting setup.

Mon Apr 17 11:37:44 JST 2000 itojun@iijlab.net
* sys/netinet/in_gif.c: reject packets with IPv4 broadcast address
on outer IPv4 source. this is suggested in ngtrans-mech-05.

2000-04-15 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/dhcp6/dhcp6[cs].c: tiny clarifications;
- shutdown(0) for write only sockets
- do not set IPV6_MULTICAST_IF for a read-only socket.

Fri Apr 14 18:18:18 JST 2000 itojun@iijlab.net
* ports/pkgsrc for libpcap and tcpdump (freebsd[23], netbsd):
upgrade to use 2000/4/3 snapshot.

Fri Apr 14 17:39:27 JST 2000 itojun@iijlab.net
* sys/net/if_gif.c: simplify gif interface attachment to ip_encap
dispatcher. add martian/ingress filters against outer source,
as suggested in ngtrans-mech-05.

Fri Apr 14 13:26:44 JST 2000 itojun@iijlab.net
* openbsd/sys/netinet/tcp_input.c: use path MTU value on routing
table when computing MSS, only if layer 3 supports path MTU
discovery. (openbsd has no IPv4 path mtu discovery. a node may
propose too large mss if we use rmx_mtu value)
From: Hugh Graham <hugh@openbsd.org>

Fri Apr 14 01:00:41 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_output.c: require root privilege on IPV6_REACHCONF
ancillary message (experimental, from jinmei).

Thu Apr 13 23:13:52 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.c: correct icmp6 extension header traversal,
to avoid sending icmp6 error against icmp6 error. found by
TAHI test.

2000-04-13 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* freebsd[34]/sys/netinet/tcp_input.c (tcp_input): do not call
ND6_HINT() if the connection status is LISTEN.

2000-04-13 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/nd6.c (nd6_nud_hint): do not change a
neighbor's status unless the old status is probably reachable
(i.e. the link-layer address has already been resolved).
In response to: KAME PR sys/235.

Wed Apr 12 22:11:02 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/ports/ncftp3, netbsd/pkgsrc/net/ncftp3: upgrade to 3.0.1.

2000-04-12 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/dhcp6/dhcp6[cs].c: tiny fixes to decrease compilation
errors;
- corrected arguments for inet_pton().
- supplemented a header file.

2000-04-12 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6[ds]d/mld6.c (accept_mld6): reflected the change
of mrt6msg{}; check the overlaid MLD6 type field instead of
msg_controllen to detect if received packets are control messages
or real MLD6 messages.

2000-04-12 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_mroute.h: changed the order of members of
mrt6msg{} to overlay the structure onto the MLD6 header (not IPv6
header.)
Suggested by: pavlin@catarina.usc.edu

Wed Apr 12 13:28:35 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/mbone/vat6: pkgsrc for vat6 (IPv6-ready vat).
From: ichiro@ichiro.org

Wed Apr 12 01:24:40 JST 2000 itojun@iijlab.net
* sys/netinet6/in6_ifattach.c: cleanup IPv6 interface initialization
in in6_ifattach(). be more persistent about initialization,
to cope with manually configured link-locals.

2000-04-11 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/gifconfig/gifconfig.c: supported a new description
"gifconfig ifname delete", which removes already specified physical
addresses on the interface.

2000-04-11 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/net/if_gif.c (gif_ioctl): supported a new ioctl
SIOCDIFPHYADDR in order to allow a user to remove
already specified physical addresses on a gif interface.

Tue Apr 11 14:58:10 JST 2000 itojun@iijlab.net
* sys/netinet6/in6_ifattach.c: revise interface identifier lookup.
we no longer cache EUI64, due to KAME PR 236.
NOTE: you may see interface identifier changes due to lookup
policy change. be careful when you upgrade the kernel (you may
experience address mismatch with DNS database, for example)

Mon Apr 10 14:38:00 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/mail/sendmail.beta, freebsd2/ports/sendmail.beta:
use 8.10.1. (not really beta already...)

Sat Apr 8 09:49:57 JST 2000 itojun@iijlab.net
* gated-ipv6 ports/pkgsrc (netbsd/freebsd[23]): upgrade to 3/9 snapshot.

Fri Apr 7 23:14:53 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/ethereal: upgrade to 0.8.6.

Thu Apr 6 14:41:26 JST 2000 itojun@iijlab.net
* sys/netkey/key.c: reject spdadd if address family does not match
between SA address pair and SPD filter. for example, the following
attempt will return EINVAL:
# setkey -c
spdadd ::1 ::1 any -P out ipsec esp/tunnel/10.1.1.1-10.1.1.1/use;
^D

Thu Apr 6 14:51:03 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon/cfparse.y:
disable algorithm direcitive.
if there is in the config file, parser will bark as warning.
if strength is used the file, parser will stop to parse config file.

Tue Apr 4 17:48:20 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_output.c: support IPV6_USE_MIN_MTU in 2292bis
advanced API. We support it in setsockopt (IPv6 UDP only) and
in ancillary data.

Mon Apr 3 12:36:01 JST 2000 itojun@iijlab.net
* */lib/libpcap, */usr.sbin/tcpdump: remove to avoid duplicated effort
with tcpdump.org. if you want them, use pkgsrc/ports.

Mon Apr 3 12:15:32 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/security/heimdal: use 0.2r.

Mon Apr 3 09:52:23 JST 2000 itojun@iijlab.net
* libpcap/tcpdump pkgsrc/ports (freebsd[23], netbsd):
upgrade to 2000/3/27 weekly snapshot.

Sun Apr 2 22:05:03 JST 2000 itojun@iijlab.net
* totd pkgsrc/ports (openbsd, netbsd, freebsd[23]): upgrade to 1.1p4.

Sat Apr 1 22:47:12 JST 2000 itojun@iijlab.net
* sys/sys/socket.h (all platforms): avoid namespace pollution
for CMSG_ALIGN().

<200003>
Thu Mar 30 2000 itojun@iijlab.net
* libinet6: by defining USE_EDNS0, resolver will make queries with
EDNS0 UDP buffer size report. (experimental since BIND4/8 chokes
with EDNS0 packet)

Thu Mar 30 14:10:35 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd4: turn off gif and faith temporally.
basic catching up was done. I checked ping[46]/telnet6/ssh[46]
work on KAME-current/FreeBSD4.
(Now I have alpha box only. I do not check it on x86 environment)
TODO:
gif, faith, altq, IPsec(encap4_input), mip6, natpt
* freebsd2/ports/emacs20: upgrade to 20.6.

Wed Mar 29 16:34:20 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/ncftp3: upgrade to 3.0.0.
* freebsd3: remove MAPPED_ADDR_ENABLED option to easily code
sharing with freebsd4. you can turn on/off mapped-addr
supporting by sysctl instead of it.

Wed Mar 29 16:00:24 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/bind9: use bind 9.0.0beta2.

Tue Mar 28 23:09:59 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_input.c: SIIT assumes that routers forward native
IPv6 packet with IPv4 mapped address just like for normal packets.
move IPv4 mapped address src/dst check downwards.
* sys/net/if_stf.c: make IPv4 ingress filtering rule more strict.
drop packet if there's no route found for IPv4 source, or
IPv4 compatible IPv6 source.

Tue Mar 28 21:45:54 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd2/ports/ncftp3: upgrade to 3.0.0.

Tue Mar 28 10:35:50 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/socks64: upgrade to latest patch.

Tue Mar 28 09:03:03 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/devel/unproven-pthreads: upgrade to 0.12.

Tue Mar 28 00:40:38 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/security/isakmpd: OpenBSD isakmpd snapshot as of
2000/2/20.

Sun Mar 26 20:05:55 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/mail/fetchmail: upgrade to 5.3.4.

Sat Mar 25 16:55:37 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd4/sys: import FreeBSD 4.0-RELEASE. This is just
virgin import. Migration does not ended yet.

Sat Mar 25 14:52:06 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/ports/socks64: upgrade to latest patch.

Thu Mar 23 02:36:12 JST 2000 itojun@iijlab.net
* kame/route6d: don't advertise reject/blackhole static routes.

2000-03-23 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet/udp_usrreq.c (udp6_output): was copied from
netinet6/udp6_usrreq.c to separate UDP output routine from that of
IPv4, since KAME's UDP6 output had completely different logic from
original udp_output.

2000-03-23 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/in6_src.c (in6_pcbsetport): was moved from
in6_src.c for sharing with bsdi4.

2000-03-23 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/bgpd: retained rejected or blackhole routes to prevent
accepting or advertising such routes unexpectedly.

2000-03-22 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* freebsd[23]/sbin/route/route.c (getaddr): use getifaddrs() instead
of SIOCGIFCONF to examine all interface addresses.

2000-03-22 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {freebsd[23], bsdi[34]}/sbin/route/route.c: supported extended
format for IPv6 scoped addresses. For example, you can install an
IPv6 link-local gateway like
# route add add -inet6 3ffe:: fe80::1234%ed0 -prefixlen 16
instead of
# route add add -inet6 3ffe:: fe80:1::1234 -prefixlen 16
(where 1 embedded in the link-local address is the inteface index
of ed0).

Wed Mar 22 17:57:21 JST 2000 itojun@iijlab.net
* netbsd: synchronize userland with 1.4.1 -> 1.4.2 changes.
TODO: boot floppies (netbsd/distrib).

Wed Mar 22 16:29:19 JST 2000 itojun@iijlab.net
* {ports,pkgsrc}/net/bind8: upgrade to latest patch. this avoids
invalid use of netinet6/in6.h.

2000-03-22 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/rtadvd/dump.c: supported the SIGUSR1 signal to let
rtadvd dump its internal status into a file upon receipt of the
signal.

Wed Mar 22 16:12:02 JST 2000 sakane@ydc.co.jp
* kame/sys/netkey/key.c:
- improve key_spdget() to get a policy by policy id.
- add key_spddelete2() to delete policy by policy id.
* kame/sys/net/pfkeyv2.h:
- add a new member, sadb_x_policy_id, into sadb_x_policy structure.
- add a new message type, SADB_X_SPDDELETE2 in order to distinguish
key_spddelete().
* kame/kame/libipsec:
- simplify pfkey_send_spdget(). no require src/dst addresses.
- add pfkey_send_spddelete2() to delete policy by policy id.

Wed Mar 22 15:52:48 JST 2000 itojun@iijlab.net
* netbsd/sys: synchronize with NetBSD 1.4.2. userland still needs
some work.

2000-03-21 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_output.c (ip6_ctloutput): set the
INP_IPV6_MCAST flag after ip6_setmoptions() for an NRL pcb.
Without this, bsdi4/openbsd would panic when an application using
IPv6 multicasting is terminated.
This fix would solve KAME PR sys/224.

Tue Mar 21 21:56:04 JST 2000 itojun@iijlab.net
* freebsd[23]/sys/kern/uipc_socket.c: correct freebsd bug in sanity
check for socket timeout value. netbsd uipc_socket.c 1.18 -> 1.19.
(FreeBSD PR should be issued separately)
From: Eric Lemiere <elemiere@matra-ms2i.fr>

Tue Mar 21 18:23:14 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_input.c: disable too strong check against
packets with IPv4 compatible address. this (wrongly) forbids
auto tunnel relaying case in RFC1933. we may want to re-enable it
whenever mech-xx discussion goes to more secure settings.

Mon Mar 20 21:16:30 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/{libpcap,tcpdump},
freebsd[23]/ports/{libpcap,tcpdump}: upgrade to weekly snapshot
as of 2000/03/20.
* netbsd/pkgsrc/mail/sendmail.beta, freebsd2/ports/sendmail.beta:
upgrade to 8.10.0 (not really beta).

2000-03-18 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/nd6.c (nd6_output): just sent packets on a p2p
interface where NUD is disabled. Without this fix, the following
would not work:
# route add -inet6 default ::1 -ifp gif0
Also note that you'll have to do like
# ndp -i gif0 -nud
to disable NUD.

Sat Mar 18 12:09:15 JST 2000 itojun@iijlab.net
* sync with latest ericsson mobile-ip6.
major changes include:
- options MIP6_{MN,HA} gone. SIOCSATTACH_MIP6 now selects MN or HA
functionality. Same usage as before.
- Memory leaks, bug and other irritating things found and eliminated.
- Code clean-up.
- Pretty stable thing now (in FreeBSD3), we tortured it a bit at
Connectathon.
- Better source address selection.
- Delete neighbor cache working better?
- README and TODO updated.
- Proxy delete implemented.

Sat Mar 18 10:27:03 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/mtr: install binary as non-suid root.
unbroken pkgsrc.

Sat Mar 18 01:16:26 JST 2000 itojun@iijlab.net
* ports/packages for mtr and lynx: mark them BROKEN for vulnerability
reported on bugtraq. we recommend you to remove them from your KAME
box by using pkg_delete(8), if you have installed them.

Sat Mar 18 JST 2000 itojun@iijlab.net
* {netbsd,openbsd}/sys/netinet/in.c, sys/netinet6/in6.c: backout
memory leak fix on interface address addition failure, added
Mar 11 2000. the fix was too strict and made it impossible to
add two interface addresses in same prefix.
KAME PR 218. From: Kazuto Ushioda <x-y-z@3si.co.jp>

Thu Mar 16 22:33:52 JST 2000 itojun@iijlab.net
* {netbsd,openbsd}/lib/libinet6/getaddrinfo.c: in res_queryN,
try to visit all of the requests given. don't stop even if
AAAA query returns SERVFAIL. some of old name servers return
SERVFAIL or NXDOMAIN on AAAA queries, if there's no AAAA records.
NetBSD PR: 9621

2000-03-16 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6sd/cfparse.y: correclty parsed data_timeout
In response to a report from <Benoit.HILT@colmar.uha.fr>

2000-03-16 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/ndp/ndp.c: added additional arguments for the -i
option to set some ND-related parameters per i/f basis.
Note: you should update kernel and include files before
recompiling ndp.

2000-03-16 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/nd6.c: performed NUD on p2p links. A new
member of nd_ifinio{} and a new ioctl (SIOCSIFINFO_FLAGS) were
added to turn on/off the feature.

2000-03-15 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/ping6/ping6.c: added a new option 'H', which specifies
to try reverse-lookup of IPv6 addresses. ping6 now does not try
reverse-lookup by default. We hope that this change will decrease
a report like "ping6 does not work with a global address".

Tue Mar 14 10:04:42 JST 2000 itojun@iijlab.net
* libinet6/getnameinfo.c: configure return value correctly, when
name lookup is asked and there's no DNS records.
KAME PR: 222, From: Noriaki Takamiya

Mon Mar 13 21:29:32 JST 2000 itojun@iijlab.net
* {netbsd,openbsd}/lib/libinet6/getaddrinfo.c: fix error handling in
YP name lookup.
* {netbsd,openbsd}/lib/libinet6/getaddrinfo.c, kame/libinet6/name6.c:
filter out IPv4 mapped address in DNS/YP/hosts database, as they
are not supposed to appear on those places. There are real-world
example with incorrect use exist, and it makes trouble with
IPv6-only node.

Mon Mar 13 19:36:55 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
Add "strict_address" in listen directive. It requires all addresses
for ISAKMP to be bound.

Mon Mar 13 14:09:54 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/{tcpdump,libpcap}, freebsd2/ports/{tcpdump,libpcap}:
upgrade to 20000228.

Sun Mar 12 13:58:34 JST 2000 itojun@iijlab.net
* {openbsd,netbsd}/sys/netinet/in.c: undo interface address addition
attempt, when in_ifinit() fails.

Sun Mar 12 11:06:55 JST 2000 itojun@iijlab.net
* {netbsd/pkgsrc,openbsd/ports}/net/zebra, freebsd2/ports/zebra:
upgrade to 0.85.

Sun Mar 12 00:25:06 JST 2000 itojun@iijlab.net
* sys/net/if_stf.c: now compiles on all the platforms we have.
(freebsd3 compilation is not tested by myself). TODO: more tests
* {bsdi3,bsdi4,freebsd2,freebsd3}/sys/net/if_types.h: move private
interface types to 0xf0 and upwards.

Fri Mar 10 23:00:45 JST 2000 itojun@iijlab.net
* {bsdi3,bsdi4,freebsd2,netbsd,openbsd}/sys/net/rtsock.c: fix problem
in route_output, when rnh_lookup returned RNF_ROOT radix node.
This seems to be BSD problem, not KAME problem.
(freebsd3 have already fixed this in a different manner)
openbsd/netbsd-current are fixed as well.
KAME PR: 217

Fri Mar 10 06:11:03 JST 2000 itojun@iijlab.net
* sys/netinet/icmp6.h: fix member name of icmp6_filter to be
compatible with RFC2292. (member name is icmp6_filt, not icmp6_filter)
From: Francis Dupont

Fri Mar 10 01:05:05 JST 2000 itojun@iijlab.net
* sys/netinet6/ah_core.c: add strict mbuf boundary checks for IPv4/v6
AH computation. now IPv4/v6 AH processing are m_pulldown safe.

Thu Mar 9 22:15:33 JST 2000 sakane@ydc.co.jp
* kame/sys/netkey,netinet6:
implement pfkey function for policy management.
key_spdupdate() replace a policy entry.
key_spdsetidx() set a policy index.
key_spdget() gets a policy entry.
key_spdacquire() send request for starting IKE nagotiation.
XXX key_spdacquire() is not tested.

Thu Mar 9 22:08:17 JST 2000 sakane@ydc.co.jp
* kame/kame/libipsec/pfkey.c:
implement pfkey libraries.
pfkey_send_spdupdate() replace a policy entry.
pfkey_send_spdsetidx() set a policy index.
pfkey_send_spdget() gets a policy entry.

Thu Mar 9 18:06:30 JST 2000 itojun@iijlab.net
* sys/netinet6/ah_output.c: avoid mbuf memory leak, or unauthenticated
packet transmission, on IPv6 AH checksum failure.

Thu Mar 9 17:48:58 JST 2000 sakane@ydc.co.jp
* kame/freebsd3/sys/netinet/ip_output.c
* kame/kame/sys/netinet6/ip6_output.c:
- Fix ipsec_get_policy().
- Avoid double free of mbuf. it has been free when error occured
at soopt_mcopyout().
They are only in FreeBSD3. Not tested yet in Others paltforms.

Thu Mar 9 17:40:46 JST 2000 sakane@ydc.co.jp
* kame/kame/libipsec/test-policy.c:
Improved test program for ipsec_{set|get}_policy.

Thu Mar 9 15:06:53 2000 Shin'ichi Fujisawa <fujisawa@kame.net>
* Add v4 NAT into NATPT.
* Now, Options NATPT_NAT is necessary to use this function,
but this option becomes needless soon.

2000-03-09 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* freebsd3/sys/netinet/tcp_input.c (tcp_input): did not try to
access to ip6_inputopts unless it's really an IPv6 packet.
In response to: a report from Noriaki Takamiya
<takamiya@po.ntts.co.jp>

Thu Mar 9 09:41:53 JST 2000 itojun@iijlab.net
* sys/netinet6/ah_core.c: except the first AH, treat AH checksum as
immutable if there are multiple AH present on a packet.
note that AH spec does not talk about this case very much, and use
of multiple AH is very rare.
(no interoperability between KAME code prior to this change, and
after this change)
* bgpd/cfparse.y: fix endian issue. found by tahi team.

2000-03-08 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/scopedaddrtest: was added to check the precise
behavior of KAME's scoped address support in the getXXXinfo
functions.

2000-03-08 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/libinet6/getnameinfo.c (getnameinfo): tried to parse
IPv6 scoped addresses according to the new format
(<addr>%<scopeid>).
* kame/kame/libinet6/getnameinfo.c (ip6_parsenumeric): was added
for the above purpose.

Tue Mar 7 19:10:21 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
- Fixed to check OpenSSL version number. reported by
<stomomi@ebina.hitachi.co.jp>.
- Since we don't support pre-0.9.4 any more, drop INCLUDE_PATH_OPENSSL,
SSLVER and HAVE_OPENSSLV_H

Tue Mar 7 11:36:03 JST 2000 sakane@ydc.co.jp
* kame/sys/netkey/key.c:
enable SADB_X_SPDSETIDX. It can set a policy index into SPD.

2000-03-07 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6dd/pim6.c (init_pim6): corrected the initilization
process so that pim6dd does not access to NULL pointers.
From: Olivier TOGNI <togni@dpt-info.u-strasbg.fr>

Tue Mar 7 07:16:29 JST 2000 sakane@ydc.co.jp
* kame/kame/setkey:
Fix replay window size as default to 0 when manual setting.
It means responder doesn't check sequence number.

Mon Mar 6 16:54:29 JST 2000 itojun@iijlab.net
* kame/libinet6/getnameinfo.c: comment out NI_NOFQDN support,
since the behavior is specwise incorrect.

Mon Mar 6 13:38:59 JST 2000 itojun@iijlab.net
* sys/netinet/ip_encap.c: add new api, encap_attach_func(), which
allows you to attach decapsulator with packet matcher function.
* sys/net/if_stf.c: 6to4 tunnel support. (compiles on netbsd only at
this moment)

Mon Mar 6 11:19:24 JST 2000 itojun@iijlab.net
* netbsd/libexec/{rlogind,rshd}/{rlogind,rshd}.c:
reject connection from IPv4 mapped address (IPv4 connection via
AF_INET6 socket).

Sun Mar 5 11:41:24 JST 2000 itojun@iijlab.net
* sys/netkey/key.c: correct SA lookup, so that we can always get/use
proper SA even if we use sendto(2).
From: Greg Troxel <gdt@ir.bbn.com>

Sat Mar 4 02:01:16 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/ethereal: upgrade to 0.8.4.

Fri Mar 3 22:11:59 JST 2000 itojun@iijlab.net
* {netbsd,openbsd}/sys/netinet/ip_input.c: remove merge mistake,
which affected TTL value for ressembled packet. NetBSD PR 9412.

Fri Mar 3 00:36:58 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/www/w3m: upgrade to 0.1.6.

Thu Mar 2 21:30:50 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/usr.bin/{fstat, sockstat}: support AF_INET6.
* freebsd3/ports/{v6eval, ct}: upgrade to 0.6 but this port is now
broken.

2000-03-02 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/bgpd/dump.c: used %qu instead of %llu for printing
a u_quad_t value.
XXX: although %qu is not standardized, FreeBSD 3.1 and olders do
not handle %llu correctly.

Thu Mar 2 16:44:18 JST 2000 itojun@iijlab.net
* sys/netinet6/in6.c: for IPv6 address, don't configure broadcast
address (ifa_dstaddr) in ifaddr structure. this is to avoid
returning broadcast addresses via routing socket.
From: Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>

2000-03-02 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/ifmcstat/ifmcstat.c (ifname): corrected invalid access
to kernel internal pointers in !(nbsd||obsd) cases.

Thu Mar 2 02:01:48 JST 2000 itojun@iijlab.net
* sys/netinet6/mip6*.c: bring in update from ericsson for mobile-ip6.

Wed Mar 1 18:46:24 JST 2000 sakane@ydc.co.jp
* kame/kame/setkey:
Fix to delete a SPD entry. "spddelete" can work.

Wed Mar 1 18:36:27 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/emacs: upgrade to 20.6.

Wed Mar 1 12:38:07 JST 2000 itojun@iijlab.net
* libpcap/gencode.c: fix "ip host foo" or "ip6 host foo" where foo has
both A and AAAA. From: Bill Fenner, FreeBSD PR: 17083

Wed Mar 1 03:27:06 JST 2000 itojun@iijlab.net
* libinet6/rthdr.c: fix alignment constraint in rthdr_*.
From: shin@kame.net for freebsd-current
* */sys/kern/uipc_socket2.c: fix ancillary data padding at the end,
in sbcreatecontrol().

Wed Mar 1 01:30:43 JST 2000 itojun@iijlab.net
* netbsd/sys/netinet/udp_usrreq.c: always use in4_cksum() for
inbound udp4 checksum.
* bsdi4/sys/netinet/udp_usrreq.c: always use in4_cksum() for inbound
udp4 checksum. fix ipsec checks on multicast. add jumbogram
consideration a bit. undo temporary pcbconnect correctly on
udp6 scope check failure.

<200002>
Tue Feb 29 13:30:10 JST 2000 itojun@iijlab.net
* */sys/netinet{,6}/in{,6}_proto.c: call encap_init(). From: jinmei
* */sys/netinet{,6}/tcp{,6}_subr.c: make sure to send valid TCP window
size option, even when we have socket buffer size >= 65536.
FreeBSD PR 16914.

Mon Feb 28 23:26:03 JST 2000 itojun@iijlab.net
* kame/sys/netinet6/icmp6.c: fix ICMPv6 redirect input. the bug
can result in invalid ND entry.

Mon Feb 28 20:14:15 JST 2000 itojun@iijlab.net
* kame/sys/netinet*/*.h: wrap xxCTL_VARS by #ifdef __bsdi__,
since it is only for BSDI.

Mon Feb 28 19:01:44 JST 2000 itojun@iijlab.net
* netbsd/usr.sbin/lpr/lpd: fix breakage due to unsynchronized change
between rcmd.c and lpd.c (lpd should be reorganized to not use
__ivaliduser_sa...).

2000-02-28 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/ping6/ping6.c (main): added a new modifier "c" for the
-a option, which means target's IPv4 compatible and IPv4 mapped
addresses are required.

2000-02-28 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet/icmp6.h (NI_NODEADDR_FLAG_xxx): rearranged
according to ipngwg-icmp-name-lookups-05.
Note: this version is not compatible with previous ones.

2000-02-28 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/{advapitest, bgpd, pim6dd, pim6sd, rtsold, rrenumd,
traceroute6, rtadvd}: treated CMSG_SPACE() as a function, not a
constant macro, and avoided to put it in a definition of a static
array as a result.

Sun Feb 27 18:27:51 JST 2000 itojun@iijlab.net
* libinet6/resolv/res_init.c: allow extended scoped IPv6 address format
into "nameserver" line in /etc/resolv.conf.

Sun Feb 27 17:49:32 JST 2000 itojun@iijlab.net
* {netbsd,openbsd}/lib/libinet6/getaddrinfo.c: add OS-specific
getaddrinfo, which keeps search order declared in /etc/nsswitch.conf
or /etc/resolv.conf.

Sun Feb 27 16:43:04 JST 2000 itojun@iijlab.net
* */sys/sys/socket.h: use ALIGNBYTES, instead of sizeof(long) - 1,
for CMSG alignment. without it CMSG alignment is not spec
conformant if
ALIGNBYTES > sizeof(long) - 1.
this add dependency from sys/socket.h to machine/param.h - which may
not be right.

NOTE: recompile all IPv6 userland, if you are on architecture
with ALIGNBYTES != sizeof(long) - 1.
TODO: make it future adaptable by using sysctl hw.alignbytes.
(maybe for *bsd-current?)

Sat Feb 26 20:46:03 JST 2000 itojun@iijlab.net
* sys/netinet6/esp_input.c: with IPv6 ESP, correctly handle
off != sizeof(ip6) case.
* sys/netinet6/ah_input.c: with IPv4 AH (m_pulldown case),
strip off AH from the packet. this is to make some of IPv4
transport layer code work correctly (specifically, ICMPv4 will
transmit wrong packet if we don't strip AH here)

2000-02-26 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet/tcp_input.c (tcp_input): made the variable
"ip" consistent with "ip6" in order to avoid possible pointer
mismatches.

2000-02-26 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet/in_gif.c (in_gif_ioctl):
* kame/sys/netinet6/in6_gif.c (in6_gif_ioctl):
- prevented in[6]_gif_ioctl from making dangling pointers after
freeing old ones. Without this fix, kernel would panic when we
tried to execute gifconfig multiple times on a single gif.
- call encap_detach before encap_attach().
If detach was called after attach, we'd not be able to delete
an existing pair of phyaddrs.

2000-02-26 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi[34]/sys/netinet/in.c (in_control): called gif_ioctl() for
gif related ioctls. We need this for initializing encapsulation
switch.

2000-02-26 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sbin/ifconfig/ifconfig.c: filled a valid pointer in
af_stab[MASK] of the afswitch structure for IPv6.
Disabled inet6_auto(), since KAME assigns a link-local address in
the kernel.

2000-02-26 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/v6test/getconfig.c (make_ip6): made ipv6 version and
traffic class fields configurable.
* kame/kame/v6test/conf/ext.conf: added new tests "badver" and
"tclass" to aset non-default values to version and traffic class
fields, respectively.

Sat Feb 26 03:03:21 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/security/heimdal: upgrade to 0.2q.
* openbsd: sys tree was broken for 4 days since "m->m_pkthdr.aux"
change. sorry for this. now we properly initialize aux pointer
and the kernel boots fine.

Fri Feb 25 18:03:58 JST 2000 itojun@iijlab.net
* kame/traceroute/ifaddrlist.c: ignore 0.0.0.0, it is meaningless
as source. if you run ISC DHCP client and lease expires, the address
appears as interface address.

2000-02-25 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/net/if.c (ifa_ifwithnet):
* bsdi4/sys/net/route.c (ifa_ifwithroute):
loosened restriction on p2p interfaces. It was too strict for
KAME's IPv6 support.

2000-02-25 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {(net|open)bsd, freebsd3}/sys/netinet/tcp_input.c:
* kame/sys/netinet6/tcp6_input.c:
prevented from storing 2292bis IPv6 options in a listening
socket. Ancillary data on a listening socket was meaningless and
even harmful for applications.

2000-02-25 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
RFC2292bis support:
* bsdi4/sys/netinet/tcp_output.c (tcp_output):
passed IPv6 output options to ip6_ouput().
* bsdi4/sys/netinet/tcp_input.c:
passed specified IPv6 optional data to a user as ancillary data.
* bsdi4/sys/netinet/in_pcb.c (in_pcbdetach):
fixed memory leak of received IPv6 options.

2000-02-25 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/libinet6/getnameinfo.c (ip6_sa2str, getnameinfo):
changes according to the recent discussion:
- always print scope_id of an IPv6 address with non-zero
sin6_scope_id (by default), even for a global unicast address.
- use numeric numbers as the last resort of a scope_id string.

Fri Feb 25 01:49:00 JST 2000 itojun@iijlab.net
* */sys/net/rtsock.c: wrap BBN hack (honor ifp/ifa on RTM_ADD),
into #ifdef BBNHACK. it conflicts with proxy NDP and mobile-ip6.
(see CHANGELOG entry on Tue Nov 17 14:57:51)

Fri Feb 25 01:34:11 JST 2000 itojun@iijlab.net
* sys/netinet6/in6.c: net.inet6.icmp6.nd6_proxyall was obsoleted.
use "ndp -s <v6> <mac> proxy" if you need the same functionality.

Fri Feb 25 01:34:37 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd2/ports/openssh: make buildable.
* freebsd3/ports/heimdal: upgrade to 0.2q.

2000-02-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/usr.sbin/{traceroute6, ping6}/Makefile: enabled IPsec
related definitions.

Thu Feb 24 18:59:14 JST 2000 itojun@iijlab.net
* sys/netinet/ip_icmp.c (except openbsd):
don't transmit ICMPv4 packet back if the original packet was
encrypted. if we send those, we may mistakingly leak secret
information. From: jinmei

2000-02-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/usr.sbin/vmstat: was just imported. We don't have to
modify the code, but it should be recompiled to support additional
memory types used in the kernel.

2000-02-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/in6.c (in6_control): clarified address
management ioctls:
- invalidated SIOCSIFDSTADDR_IN6 and SIOCSIFNETMASK_IN6. They are
not very suitable in an IPv6 era, when we can assign multiple
addresses on a single interface.
- added strict validations for address families of arguments.

2000-02-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/usr.sbin/netstat/{main.c, inet6.c(added)}: printed KAME's
statistics for IPv6 and ICMPv6 instead of original ones.

Thu Feb 24 JST 2000 itojun@iijlab.net
* libinet6/getifaddrs.c: bring in freeifaddrs(). this is in sync
with bsdi4 change. From: dab@bsdi.com
* bsdi4: enable kernel IPsec code by default. it looks to be working
fine now, thanks to jinmei's efforts.

2000-02-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ah_input.c (ah4_input): prevented
re-translating the byte order of the ip_id field on bsdi4.

2000-02-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/netstat/ipsec.c:
* bsdi4/usr.sbin/netstat:
modified to print KAME's IPsec statistics.

2000-02-24 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/traceroute/traceroute.c (send_probe):
* bsdi4/usr.sbin/traceroute/Makefile:
changed a bit to calculate a UDP checksum correctly on bsdi4.

Wed Feb 24 08:49:50 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
enbale to define DH group by a number of group.
old way to define like "modp768" is kept.

Wed Feb 23 21:26:21 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
fixed to compute RSA signature. SIGN was computed including OID.
Now, racoon gets a interoperability with isakmp-test.ssh.fi.
TODO: must be check the signer of certificate.

2000-02-23 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* (all OSes)/usr.sbin/{bgpd, pim6[ds]d}/Makefile: added the
-DHAVE_GETIFADDRS compile option.
Note: please be sure to update the whole tree, do "make prepare",
update include files, and then rebuild the whole kit.

2000-02-23 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6[ds]d/config.c (config_vifs_from_kernel): used
getifaddrs().

2000-02-23 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.pco.jp>
* kame/kame/bgpd/if.c (ifconfig): use getifaddrs (if available)
instead of SIOCGIFCONF, since the former interface is more
friendly and safer.

Wed Feb 23 JST 2000 itojun@iijlab.net
* libinet6/getifaddrs.c: bring in getifaddrs(3) from BSDI4 (it is
under redistributable Berkeley license). SIOCGIFCONF is very hard to
use correctly, due to (1) alignment constraints in 64bit arch
(2) try-and-error memory allocation since there's no way to estimate
required buffer size beforehand. We hope to bring this function
into *BSD.

Tue Feb 22 14:56:59 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd2/ports/openssh: upgrade to 1.2.2 and mark as broken. we
need volunteers to make buildable this port.

Tue Feb 22 00:59:54 JST 2000 itojun@iijlab.net
* sys/kern/uipc_mbuf{,2}.c, sys/sys/mbuf.h: allow mbuf attachment to
m->m_pkthdr.aux. this would be useful to pass around extra
information across protocol handlers. current consumers are
sys/netinet/ip_encap.c (extra data passing - mainly for struct ifnet)
and sys/netinet6/ipsec.c (socket policy passing).
careful about mbuf memory leak if you try using it...

NOTE: it is necessary to clear m_pkthdr on mbuf allocation.
there are drivers that does NOT use MGETHDR to allocate packet
header mbuf. these drivers may need fixes.

2000-02-21 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/(several files): added initialization for IPsec. Now
the kernel can be built and run with the IPSEC option (though we
may need some more work to stabilize it).

Mon Feb 21 20:48:13 JST 2000 itojun@iijlab.net
* {freebsd[23],netbsd}/usr.sbin/racoon/Makefile.inc:
add library paths for "USA resident" case (link separate librsaref).

Mon Feb 21 15:53:56 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/www/apache: upgrade to 1.3.11 with IPv6 patch.

2000-02-21 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/net/zlib.[ch]: were (blindly) copied from
bsdi3/sys/net/. The kernel will be able to be built with the IPSEC
option with these files, but we've not fully tested the KAME IPsec
stuff on bsdi4. Please do not try it for now.

2000-02-21 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/conf/files: removed ptr_xxx functions, which have been
obsoleted.

Mon Feb 21 13:42:28 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* {freebsd3/ports,netbsd/pkgsrc/security}/heimdal: upgrade to 0.2p.

2000-02-21 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/bgpd: tons of changes and improvements including:
+ static routes support
+ input/output filter for BGP4+ routes
+ configurable description about RIPng interfaces and BGP4+ peers
+ exportation of interface direct routes to IBGP peers
+ configurable logging level
+ collecting much more statistics
+ new configuration parser using lex and yacc
(TODO: revise bgpd.conf.5 accordingly)

Sun Feb 20 23:45:24 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/ports/{tcpdump,libpcap}: upgrade to 2/14 weekly snapshot.
* freebsd[23]/ports/apache13: upgrade to latest IPv6 patch.

Sat Feb 19 22:12:10 JST 2000 itojun@iijlab.net
* sys/netinet6: sync with latest ericsson mobile-ip6.
* sys/netinet/ip_encap.[ch]: struct encaptab is now visible to
outside, read-only, on encap_attach().

2000-02-19 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sbin/ifconfig/ifconfig.c: enabled KAME original functions.

2000-02-19 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet/in.c (in_control): added gif related ioctls.

Sat Feb 19 11:40:58 2000 Shin'ichi Fujisawa <fujisawa@kame.net>
* sys/netinet6/natpt*: Now, this translator can handle connection from
outside v4 (global) to inside v6 (private). This translation is
done when packet is coming toward particular address and port, so
you must know this particular port number before making connection.

- kernel:
many changes in netinet6/natpt_*.[ch]
add in4_len2mask() in netinet/in.c to call in_len2mask().

- userland:
slightly changed natptconfig command syntax.
can log ipv4, ipv6 and mbuf.

Sat Feb 19 02:52:09 JST 2000 itojun@iijlab.net
* {openbsd,netbsd,bsdi4}/sys/sys/socket.h: fix 64bit alignment issue
in 64bit architecture.
From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>

Fri Feb 18 20:09:35 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/audio/mpg123: upgrade to latest IPv6 patch.
* netbsd/pkgsrc/net/{tcpdump,libpcap}: upgrade to 2/14 weekly snapshot.

Fri Feb 18 02:31:47 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/ports/apache13: upgrade to 1.3.11.

Thu Feb 17 22:30:13 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
- support RSA signature authentication method on main/aggressive/base
mode. There is a tips in racoon/doc/README.certificate.
Local test is done. But between isakmp-test.ssh.fi and racoon,
to verify signature is failed.
TODO: to be check issuer of signature.

Thu Feb 17 16:52:56 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* {freebsd[23]/ports, netbsd/pkgsrc/net}/rsync: upgrade to 2.4.1.

Thu Feb 17 15:15:02 JST 2000 itojun@iijlab.net
* sys/net/if_gif.c: fix bogus gifconfig failure, on multiple gif
configuration.
From: Takahiro Yugawa <yugawa@itjit.ad.jp>

Thu Feb 17 14:36:07 JST 2000 itojun@iijlab.net
* sys/netinet6/nd6.c: better support for proxy NDP (per ND entry,
just like arp -s). routing entry marked with RTF_ANNONUCE
(= RTF_PROTO2) will get announced by proxy ND. on ND table, proxy
NDP entry will stay as permanent/reachable entry.

To use this stuff, you need to backout bbn changes in rtsock.c.
otherwise ndp -s will not work and you can not set proxy ND entry.
(bbn rt_setif() overwrites sockaddr_dl in gateway portion)

TODO:
- proxy NA delay on output (RFC2461 7.2.8)
- anycast NA delay on output (RFC2461 7.2.7)
* */usr.sbin/ndp: proxy ND support (ndp -s has "proxy" keyword added).

TODO: proxy ND for global address X, where X is outside of prefixes
assigned to the interface we would do proxy ND. currently we try to
grab link-layer information from RTM_GET. so if X is outside of
configured prefixes, we can't configure X for proxy NDing, or static
ND entry. we may need to explicitly pass "interface" information
to ndp -s.

Thu Feb 17 00:40:39 JST 2000 itojun@iijlab.net
* sys/net/if_gif.c: fix IFF_LINK0 (multi destination mode), which
was broken during ip_encap.c migration.

Wed Feb 16 23:57:53 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/lib/libftpio: add '229 Entering Extended Passive
Mode' from RFC2426
* freebsd2/ports/mpg123: upgrade to latest IPv6 patch and sync
with FreeBSD-current.

Wed Feb 16 22:45:13 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
stop racoon to start when it's failed to open addresses specified
in racoon.conf.

Wed Feb 16 12:17:05 JST 2000 itojun@iijlab.net
* libinet6/getaddrinfo.c: add experimental support for post-RFC2553
getaddrinfo(AI_ADDRCONFIG). the semantics of AI_ADDRCONFIG is
still very vague so do not expect stable behavior.

2000-02-15 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* {bsdi4, openbsd}/sys/netinet6/raw_ipv6.c (rip6_ctloutput):
prohibited the ICMP6_FILTER socket option unless the level is
IPPROTO_ICMPV6.

2000-02-15 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi4/sys/netinet6/raw_ipv6.c (rip6_input): re-enabled filter
for incoming ICMPv6 packets.

Tue Feb 15 00:42:32 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/pident6d: upgrade to latest IPv6 patch and sync
with FreeBSD-current.

Mon Feb 14 22:36:47 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/mail/fetchmail: upgrade to 5.2.7.
* freebsd[23]/sys/net: remove "options TAHI". installed new patch
to support TAHI test suite (lets userland program to specify
ethernet hardware address).

Sun Feb 13 04:26:17 JST 2000 itojun@iijlab.net
* libinet6/get{addr,name}info.c: based on most recent discussion,
flip the order for extended scoped address notation again
(now fe80::1%de0).

Sat Feb 12 16:49:15 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/ethereal: upgrade to 0.8.3.

Fri Feb 11 15:06:19 JST 2000 itojun@iijlab.net
* netbsd/sys/netinet/ip_input.c: fix infinite packet forwarding loop
for packet toward address on !IFF_UP interface.
NetBSD PR9387 from nrt@iij.ad.jp.

Fri Feb 11 02:42:16 JST 2000 itojun@iijlab.net
* sys/netinet/ip_encap.c: revisit input logic for tunnelled packets.
move outer address match logic from in{,6}_gif_input() to
encap[46]_input(), so that other guys (like mobile-ip6, 6to4,
6over4, whatever) can match packets based on not only by proto #,
but also by src/dst with masks.
see comment on ip_encap.c for detail - I hate tunnelling. really.
TODO: we do not really support subnet match for input logic. it
needs careful ordering of packet matching table in encap[46],
so that we can check for better match earlier.
(since we have mask parameter for both src and dst, it is
not trivial to define total order among entries)
TODO: change ipip_input() to conform to this framework?
CAVEAT: IFF_LINK0 for gif is not working with this change, i'll try
to clean it up.
* allow raw ip{,6} output for proto #4 and #41.

Fri Feb 11 01:48:16 JST 2000 itojun@iijlab.net
* sys/netinet6/raw_ip6.c: implement rip6_ctlinput(), so that we can
notify of route changes to raw ip6 layer (not ready for
freebsd3/openbsd at this moment).
* sys/net/if_gif.c: properly check outer address family during
initialization.

Thu Feb 10 22:56:51 JST 2000 itojun@iijlab.net
* bsdi[34]/sys/i386/isa/if_cce.c: fix mbuf allocation on inbound packet.
From: SUZUKI Shinsuke <suz@sdl.hitachi.co.jp>
* bsdi3/sbin/ifconfig/ifconfig.c: fix error trap on bogus IPv6 hostname.
From: SUZUKI Shinsuke <suz@sdl.hitachi.co.jp>

Thu Feb 10 13:45:53 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/security/openssl: add openssl pkgsrc for 0.9.4
(only because netbsd 1.4.1 did not include it).

2000-02-09 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/icmp6.c (icmp6_reflect): do not use a
duplicated address as source of reflected packets.

2000-02-09 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/in6.c (in6ifa_ifpforlinklocal): an additional
argument was added in order to specify ignoring some kind of
addresses (e.g. duplicated or anycast).
Several callers of this function were also modified so that they'd
not send packets with invalid link-local sources.

Wed Feb 9 14:20:08 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
- try to support certificate ISAKMP_CERT_X509SIGN. But not tested.
There is a problem that OpenSSL0.9.4 can not read a certificate which
is issued by CA1 at isakmp-test.ssh.fi.
TODO: to be check signature of CA.
- move a part of functions of certificate into crypto_openssl.c.
signing.c will be merged into crypto_openssl.c.

Wed Feb 9 04:28:50 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/openssh: upgrade to 1.2.2
* freebsd3/ports/apache12: remove this port since it's too old.
* freebsd3/sys/netinet/tcp_output.c: get mbuf cluster if the size
of IP header and TCP header are over MHLEN. This fix avoid to
panic when some tcp options are used.
PR: fbsd3/191
From: bmah@ca.sandia.gov

Wed Feb 9 01:09:21 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/gated-ipv6, freebsd[23]/ports/net/gated-ipv6:
upgrade base version to gated-ipv6, 2000/2/3.

2000-02-09 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/in6.c: removed in6_canforward() according to
the recent clarification in ip6_forward().

2000-02-09 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_forward.c (ip6_forward): if a forwarded
packet is going to break a scope boundary, return an icmp6
destination unreachable (beyond scope) error.

Tue Feb 8 23:13:32 JST 2000 sakane@kame.net
* kame/racoon:
man page updated against recent modification.

Tue Feb 8 20:54:13 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/bind9: bind9 beta.
* freebsd3/ports/ssh: fix freeaddrinfo(NULL) bug, which cause by
mis-patched FreeBSD specific patch(patches/patch-al)

Tue Feb 8 03:00:45 JST 2000 itojun@iijlab.net
* sys/netinet6/mip6*: mobile-ip6 code from Ericsson. currently
build tree is made available for netbsd and freebsd2.
for other platforms, build tree will be populated soon.
not really tested by KAME team yet.
* kame/rtadvd: modified for mobile-ip6 support.
* kame/mip6config, kame/mip6stat: mobile-ip6 controllers.

Mon Feb 7 21:32:13 JST 2000 itojun@iijlab.net
* sys/netinet6/{ip6,icmp6,in6.h}, sys/netinet/{ip6,icmp6,in.h}:
to promote RFC2553/2292 conforming applications, we now disallow
direct inclusion of the following files:
netinet6/ip6.h
netinet6/icmp6.h
netinet6/in6.h
users need to include the following items instead:
netinet/ip6.h
netinet/icmp6.h
netinet/in.h (pulls in both IPv4 and IPv6 decls)
* sys/netkey/keyv2.h, sys/net/pfkeyv2.h:
similarly, to promote RFC2367 conforming applications, inclusion of
netkey/keyv2.h is now disallowed. include net/pfkeyv2.h instead.
(based on discussion in kame team)

Mon Feb 7 03:03:42 JST 2000 itojun@iijlab.net
* sys/net/rtsock.c (except bsdi[34])
avoid panic on RTM_IFINFO, due to decreased MHLEN.
From: Conny Larsson <conny@verkstad.net>

Sun Feb 6 17:56:47 JST 2000 itojun@iijlab.net
* netbsd/sys/netinet/tcp_output.c: optimize mbuf allocation on output.
allocate cluster only when necessary.

2000-02-06 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/bgpd/bgp_input.c (bgp_read):
* kame/kame/bgpd/main.c (main_listen_accept):
Prevented blocking on a socket for a BGP4+ connection caused by
ancillary data.
Note: this fix needs the latest kernel. Older kernel might panic
with the latest bgpd.

Sun Feb 6 00:27:25 JST 2000 itojun@iijlab.net
* sys/netinet6/esp_input.c: remove too-strong assumption about mbuf
alignment.

Sat Feb 5 16:40:20 JST 2000 itojun@iijlab.net
* sys/netinet6/nd6.c, kame/ndp: give more information about
prefix on ndp -p. the kernel manages two separate prefix
table: one for RAs a host listened, and another is for RAs
a router will advertise (the latter will be modified by
router renumbering).

Sat Feb 5 14:09:07 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/bind9: pkgsrc for bind9 beta.
* netbsd/pkgsrc/devel/unproven-pthreads: pthread package required
for bind9.

2000-02-05 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/libinet6/getaddrinfo.c (explore_numeric_scope):
* kame/kame/libinet6/getnameinfo.c (getnameinfo):
Revised the format for scoped addresses by agreement with MSR.
Two big changes are included:
- The scope ID portion is now placed before the address
- The delimiter character is changed to '%'
So for example, we can specify a link-local address on the
interface ne0 like ne0%fe80::1234
The scopedaddr-format draft will soon be revised as well according
to this change.

Fri Feb 4 23:36:26 JST 2000 itojun@iijlab.net
* sys/netinet6/in6_ifattach.c: improve in6_ifdetach() for cleaning
up structures that depend on struct ifnet/ifaddr. should be
made more elegant...

Fri Feb 4 02:09:41 JST 2000 itojun@iijlab.net
* sys/netinet6/frag6.c: be LP64 environment friendly. do not reuse
ip6 header portion on reassembly.
notified by NetBSD PR 9340 from iwamoto@sat.t.u-tokyo.ac.jp.

Fri Feb 4 01:20:15 JST 2000 itojun@iijlab.net
* netbsd/sys/dev/ic/smc91cxx.c: fix promisc mode for sm* interface.

2000-02-03 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* (for all OSes)/netstat/inet6.c (ip6_stats): print statistics
about source address selection.

2000-02-03 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/in6.c (in6_ifawithscope): revised source
address selection algorithm. In short, the new algorithm is as
follows:
- search for an address that has enough scope for a given
destination.
- if more than one address has enough scope, choose one that
matches longest against the destination address.
- if there is no other reasons to choose one, an address on the
outgoing I/F are preferred.
TODO: update the IMPLEMENTATION file as well.

Thu Feb 3 20:23:06 JST 2000 itojun@iijlab.net
* sys/netinet6/{icmp6,nd6*}.c: implement m_pulldown cases for
ND and redirect.
* sys/kern/uipc_mbuf2.c: add more m_pulldown statistics to compare
its efficiency against m_pullup{,2}.

2000-02-03 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/pim6[ds]d/mld6.c (make_mld6_msg): corrected HBH header
length in the 2292bis case.
In response to: kit/198 from ryuji-so@is.aist-nara.ac.jp

Thu Feb 3 02:22:03 JST 2000 itojun@iijlab.net
* sys/netinet6/in6.c: improve multicast kludge list management.
clear dangling pointer, update ifnet refcnt correctly.

Wed Feb 2 22:53:03 JST 2000 itojun@iijlab.net
* sys/netinet6/in6_ifattach.c: improve in6_ifdetach(). remove
static route to linklocal allnode multicast (ff02:x::/32).
remove multicast kludge entries as well, if exists.

Wed Feb 2 16:16:01 JST 2000 itojun@iijlab.net
* bsdi4/sys: fix ifindex manipulation to be compatible with KAME.
from kato@wide.ad.jp. (in NAT, ppp and ATM code)

Wed Feb 2 15:39:40 JST 2000 kjc@csl.sony.co.jp
* add a new traffic conditioner type, tswtcm (time sliding
window three color marker) to altq. it is described
in draft-fang-diffserv-tc-tswtcm-00.txt.

Wed Feb 2 12:55:44 JST 2000 itojun@iijlab.net
* kame/rtadvd: router renumbering input needs to be explicitly
enabled with command line option (-R). this is for security issue
in router renumbering protocol - it requires use of IPv6 IPsec
over site-local multicast. (IPsec issue should be improved)

Tue Feb 1 12:45:02 JST 2000 itojun@iijlab.net
* {netbsd/pkgsrc/games/quake6, freebsd[23]/ports/quake6}:
quake over IPv6.

Tue Feb 1 01:52:20 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/echoping: echoping 2.2.0 with IPv6 support.
* freebsd3/ports/lynx: upgrade 2.8.2rel1 with current IPv6 patch.

Tue Feb 1 01:11:34 JST 2000 itojun@iijlab.net
* {netbsd/pkgsrc/mail,freebsd3/ports}/soldpop3d: pop3 daemon from
poland.
* kame/racoon: simplify the configure process. allow it to be compiled
on openssl-integrated platform (netbsd15), even without rsa headers/
libraries (cert support will automatically be disabled).

<200001>
Mon Jan 31 16:25:42 JST 2000 itojun@iijlab.net
* non-openbsd: don't reuse m->m_pkthdr.rcvif for passing extra
inforation necessary for ipsec. use ipsec_[sg]etsocket() and
m->m_pkthdr.aux.
* kame/sys/crypto/sha1.[ch]: const poisoning.

Mon Jan 31 00:42:47 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/mail/{sendmail,smtpfeed}: upgrade smtpfeed to 1.04.
synchronize with latest NetBSD pkgsrc.

Sun Jan 30 15:30:14 JST 2000 itojun@iijlab.net
* kame/libinet6/rcmd.c: fix behavior on non-IPv6 node. From shin.
* kame/libinet6/getaddrinfo: fix AI_ADDRCONFIG concern when
getipnodebyname() is used as backend.
* netbsd/pkgsrc/net/echoping: echoping 2.2.0 with IPv6 support.

Sat Jan 29 16:20:31 JST 2000 itojun@iijlab.net
* kame/sys/netinet6/ipsec.c (and other ipsec items):
cleanup include file dependencies and namespace polution, like
prototypes and #define KERNEL.
* kame/sys/netinet6/ip6_input.c: fix ip6_savecontrol() to be friendly
with m_pulldown() environment. now it does not modify mbuf chain
at all. therefore, calling ip6_savecontrol() will not invalidate
pointers into mbuf chain (like "uh" in udp6_input).

Fri Jan 28 15:37:46 JST 2000 itojun@iijlab.net
* kame/sys/netinet6/ipsec.c, kame/sys/netkey/key.c,
*/sys/netinet{,6}/ip{,6}_input.c: pass policy message buffer length
down. this is to avoid key_msg2sp() from making buffer overrun
on invalid input from the userland.

2000-01-28 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/tcp6_usrreq.c (tcp6_usrreq):
* {bsdi4,netbsd,openbsd}/sys/netinet/tcp_usrreq.c (tcp_usrreq):
* freebsd3/sys/netinet/tcp_usrreq.c (tcp_usr_rcvd):
Do not call tcp[6]_output by the PRU_RCVD request unless the
associated socket is connected. This fix will prevent kernel panic
when a user receives an ancillary data object on a listening
socket.

2000-01-28 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/advapitest: was added mainly for debugging. The tools
would also be useful as references for developing an "advanced"
IPv6 application using the advanced API (RFC2292 or 2292bis).

2000-01-28 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/in6_pcb.h (and many related places):
changed the type of the in6p_inputopts member of the in[6]pcb
structure to a pointer type in order to avoid compilation and
binary compatibility issues.
I believe this fix solves all the recent problem reports due to
the member.
It is recommended to recompile both the kernel and all the
userland applications with this fix.

Thu Jan 27 15:04:12 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/rsync, freebsd[23]/ports/rsync: upgrade to
2.3.2 with latest IPv6 patch.

Thu Jan 27 06:20:08 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/ports/irc: upgrade to 2.10.3.

Thu Jan 27 00:29:51 JST 2000 itojun@iijlab.net
* kame/sys/netinet6/in6_pcb.c: make IPV6_PORTRANGE actually work.
(netbsd/bsdi3/freebsd2)

Wed Jan 26 23:00:30 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd[23]/ports/pchar, netbsd/pkgsrc/net/pchar,
openbsd/ports/net/pchar: upgrade to 1.1.1.

Wed Jan 26 14:16:00 JST 2000 itojun@iijlab.net
* kame/libinet6/getaddrinfo.c: from the specification, AI_CANONNAME
does not imply reverse query. ai_canonname has the same meaning as
h_name (in struct hostent), nothing more.

Wed Jan 26 12:04:42 JST 2000 itojun@iijlab.net
* kame/libinet6/bindresvport.c: remove bindresvport_af(), implement
bindresvport_sa().

Wed Jan 26 06:12:38 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/irssi: upgrade to 0.7.23.

Wed Jan 26 03:33:41 JST 2000 itojun@iijlab.net
* {netbsd/pkgsrc/net,freebsd[23]/ports}/{libpcap,tcpdump}:
famous packet capturing tool, from tcpdump.org codebase. it
contains identical code as kame/{libpcap,tcpdump} so we plan
to avoid duplicate maintenance (put all libpcap/tcpdump
efforts into tcpdump.org).

Tue Jan 25 20:30:32 JST 2000 itojun@iijlab.net
* kame/sys/netinet6/ipcomp_core.c: don't attach Adler32 checksum
to compressed data. see ipsec wg mailing list (Jan 2000) for
details.

Tue Jan 25 17:21:15 JST 2000 itojun@iijlab.net
* kame/libinet6/rcmd.c: make rcmd() behavior to IPv4-only, for safety
(see 2292bis for reasons). implement rcmd_af().
KAME-supplied rlogin(1) and rsh(1) may not work right due to the
change.

Mon Jan 24 23:37:38 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/ethereal: upgrade to 0.8.1.

Mon Jan 24 17:28:25 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/fetchmail: upgrade to 5.2.4.

Mon Jan 24 12:49:34 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/irssi: new port: irssi-0.7.22, GTK based irc
client.

Sun Jan 23 13:24:00 JST 2000 itojun@iijlab.net
* kame/libinet6/getaddrinfo.c: remove #ifdef FAITH (and use of
environment varaible GAI). this has been broken for a long time
(means noone is using it), and this shouldn't be here.
if you would like to set FAITH'ed prefix, use totd or /etc/hosts.

2000-01-22 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_input.c (ip6_reset_rcvopt): fixed a bug
that a freed pointer could not be re-initialized, which might
cause kernel panic.

Sat Jan 22 02:01:57 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/lftp: new port: lftp-2.1.6, ftp client.

Fri Jan 21 21:17:35 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/irc: upgrade to 2.10.3, make it buildable again.

Fri Jan 21 12:59:51 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/totd, openbsd/ports/net/totd,
freebsd[23]/ports/totd: upgrade to 1.1p2.
From: Feico Dillema

Thu Jan 20 18:41:40 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/lang/python, freebsd[23]/ports/python:
upgrade to latest IPv6 patch.

Wed Jan 19 22:04:22 2000 kjc@csl.sony.co.jp
remove ECN support from TCP in freebsd3.
it was removed in altq-2.0 and provided as a separate patch.

Wed Jan 19 21:47:19 2000 kjc@csl.sony.co.jp
add atm pvc support tools included in the altq release.
- pvcsif: create pvc sub-interface
- pvctxctl: set vpi:vci and shaper
- pvcbridge: set pvc bridge mode

Wed Jan 19 20:35:42 2000 Shin'ichi Fujisawa <fujisawa@kame.net>
* NAT-PT translator and its command become compilable on
freebsd2, freebsd3, netbsd, and bsdos3.

Wed Jan 19 06:44:02 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
improved the way to define a certificate type.
If signature method as `authentication method' is defined,
`identifier' is defined subjectname.
`certificate_type' is defined certificate type.
XXX why isn't certificate type negotiated in IKE ?

Wed Jan 19 05:15:50 JST 2000 sakane@ydc.co.jp
* kame/kame/racoon:
ignore certificate request, not error. Should be handled.

Wed Jan 19 02:39:23 JST 2000 itojun@iijlab.net
* netbsd/usr.sbin/lpd: IPv6 and multiple listening socket support.
NetBSD PR 9050 from Feico Dillema.

Wed Jan 19 00:15:50 JST 2000 itojun@iijlab.net
* kame/libinet6/bindresvport.c: bring in bindresvport_af() from
openbsd-current. the function signature and behavior is under
debate in ipngwg mailing list, so I thought it would be good to
bring it in and try using it, to see any pros/cons we might have
in particular proposal (and other proposals).
(available in netbsd, openbsd, freebsd2 and freebsd3)

Tue Jan 18 22:48:35 JST 2000 itojun@iijlab.net
* kame/libinet6/rresvport_af.c: preserve old rresvport() behavior.
it needs to honor parameter (*port) if given. previous behavior
was broken.
From: Markus Friedl <Markus.Friedl@informatik.uni-erlangen.de>

Tue Jan 18 16:30:05 JST 2000 kjc@csl.sony.co.jp
update ALTQ from 2.0 to 2.1.
this version supports openbsd in addition to freebsd2, freebsd3
and netbsd.
kernel:
- altq related files are moved from "sys/net" and "sys/netinet"
to "sys/altq" not to bloat the standard directories.
- rename the altq kernel config file from ALTQ to ALTQ.v4 since
it's only for IPv4 and GENERIC.v6 has ALTQ already defined.
for openbsd/netbsd, on non-i386 architecture: read IMPLEMENTATION
section 5 for installation details.
userland:
- the following altq tools are added to the tree:
lib/altqlib, usr.sbin/altqd, user.bin/altqstat.
- install MAKEDEV.altq to /dev.

NOTE: be sure to cleanup old symlinks, by "make TARGET=netbsd clean",
in the top directory.

2000-01-18 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/icmp6.h: changed the type of the
icmp6_n[il]_nonece member of the icmp6_{namelookup, nodeinfo}
structures from u_int64_t to u_int8_t[8] in order to avoid
possible alignment problems.
From: Ryota HIROSE <hirose@comm.yamaha.co.jp>

Tue Jan 18 13:57:28 JST 2000 itojun@iijlab.net
* freebsd3/sys/netinet6/udp6_usrreq.c: fix panic on udp6_ctlinput.
from: ume@mahoroba.org
* kame/rtadvd: obey RFC2461 6.2.5 when rtadvd dies with SIGTERM.
read manpage for more details.

Tue Jan 18 12:36:24 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3: good bye __ss_{len,family}, hello ss_{len,family}.

Tue Jan 18 01:43:10 JST 2000 itojun@iijlab.net
* openbsd/usr.bin/fstat: make it IPv6 ready. based on NetBSD PR 9199
by Hiroshi Ura.

Tue Jan 18 00:46:09 JST 2000 itojun@iijlab.net
* kame/libinet6/getaddrinfo.c: don't filter out AFs that are not
supported by the kernel, when we do address resolution of FQDN.
the previous behavior was broken.

Mon Jan 17 13:47:13 JST 2000 itojun@iijlab.net
* netbsd/pkgsrc/net/zebra, freebsd3/ports/zebra,
openbsd/ports/net/zebra: upgrade to 0.84a.

Mon Jan 17 2000 sakane@kame.net, itojun@kame.net
* racoon: tons of improvements into our IKE daemon.
- SA bundle is now handled correctly (both phase 1/2)
- will not SEGV even if last packet in phase 1/2 get resent
- KEYMAT generation will take care of long keys correctly
- phase 1/2 userfqdn support (ashley-laurent hack)
- don't attach DH group type for well-known groups
- key length handling is fixed
- phase 1 base mode
- byte lifetime bug fix (but introduced new bug so still buggy)
- parser fixes (issue with DH group setting)
- fix variable-length spi support (don't hardcode it to 32bit)
- ipcomp negotiation fix
* kernel ipsec: fix SA reference counting. now dangling SAs will be
cleaned up correctly. (removes incorrect fix on Jan 8 2000)

Mon Jan 17 03:36:44 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/sys/netkey/keysock.c: this file was removed. Now
freebsd3 uses shared one, kame/sys/netkey/keysock.c

NOTICE: If you use freebsd3 via cvsup/anoncvs, you must clean
your source tree and relink shared sources.
% cd kame; make TARGET=freebsd3 clean prepare

Mon Jan 17 02:25:54 JST 2000 itojun@iijlab.net
* {netbsd,bsdi3,freebsd2}/netstat: try to share souce code across OS
platforms as much as possible. we are able to share ipsec.c without
too much troubles. will try to do it for other platforms, and other
portions (like inet6.c).

Sun Jan 16 23:30:16 JST 2000 itojun@iijlab.net
* kame/sys/net{inet6,key}: cleanup ipsec logging. all logs will be
generated to syslog, with proper priority (for example, sequence
number cycle will be logged with LOG_WARNING). you can
suppress/enable logs by setting net.inet.ipsec.debug (or
net.inet6.ipsec6.debug). even if you supress logs, you can check
"netstat -sn" to understand what was happend to ipsec stack.

Sun Jan 16 21:49:38 JST 2000 itojun@iijlab.net
* netbsd/usr.bin/fstat: make it IPv6 ready.
NetBSD PR: 9199
From: ura@hiru.aoba.yokohama.jp

Sat Jan 15 03:56:50 JST 2000 itojun@iijlab.net
* kame/sys/netinet6/ipcomp_core.c: change default deflate window size
for inbound to default (2^15). without this change we can't
interoperate with some of IPcomp implementations.
see changelog entry on Nov 5 1999.

2000-01-14 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_output.c (ip6_copypktopts): was added in
order to copy the in6p_outputopts member from a listening PCB to a
corresponding accepting one. TCP input routines are also modified
to call the function.

2000-01-14 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_input.c (ip6_savecontrol): was modified in
order to conform to Section 4.1 of rfc2292bis-01; TCP
implementation now passes incoming packet infomration to a user
(as ancillary data) only when some changes of the content exist.
Note that this change introduced various related changes of
transport layers on all the platforms. Please be careful updating.

Fri Jan 14 13:55:19 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/fetchmail: Upgrade to 5.2.3 and sync with
FreeBSD-current.

Fri Jan 14 12:15:27 JST 2000 itojun@iijlab.net
* kame/libinet6/rcmd.c: avoid passing dangling pointer to **ahost.
we copy the value (ai_canonname, or hp->h_name) to static buffer
to keep semantics of rcmd() - requires no free() to the caller.
From: Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>

Fri Jan 14 02:16:16 JST 2000 itojun@itojun.org
* kame/libpcap/inet.c: improve warning message when libpcap fails to
get IPv4 address on the interface it runs on.

Wed Jan 12 17:21:40 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/ruby: Upgrade to 1.4.3 and sync with
FreeBSD-cuurent. No extra IPv6 patch is necessary anymore.

Wed Jan 12 15:40:05 JST 2000 itojun@iijlab.net
* {bsdi3,netbsd,freebsd2}/usr.sbin/inetd: allow multiple IPsec policy
string specifier (separated by semicolon). to be integrated into
other operating systems as well.

Wed Jan 12 05:13:33 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/mrt, netbsd/pkgsrc/net/mrt: Upgrade to 2.1.2a.

2000-01-10 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_output.c (ip6_pcbopt): made the
IPV6_NEXTHOP socket option removal by specifying the option
with 0 length according to the following mail:
Message-ID: <Roam.SIMC.2.0.6.947118462.12265.nordmark@jurassic>
From: Erik Nordmark <Erik.Nordmark@eng.sun.com>
Date: Wed, 5 Jan 2000 16:27:42 -0800 (PST)

2000-01-10 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* freebsd[23]/sbin/route/route.c (getaddr): corrected a bug in
examining interface flags for the RTA_GATEWAY case in getaddr();
use a separate variable and ioctl in order to get correct flags.
Note that this fix may introduce a stricter check for arguments of
the `-interface' modifiers; now you can specify point-to-pointer
interfaces only, which was the intention of the code.

2000-01-10 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* bsdi3/sbin/route/route.c (getaddr): reverted the change for the
"-interface XXX" modifier. We can use the -ifp modifier to
accomplish the motivation.

2000-01-10 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/{in6.h, ip6_output}: disabled the following
socket options, that were just derived from IPv4 and were not
standards any more;
IPV6_OPTIONS, IPV6_RECVOPTS, IPV6_RECVRETOPTS, IPV6_RECVDSTADDR,
and IPV6_RETOPTS.

2000-01-10 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/net/if_gif.c (gif_output): changed the (default) upper
limit of how many times gif_output can be called.
Now no nesting is allowed by default, since some systems do not
allow so many recursive calls in kernel.

Sun Jan 9 10:32:59 JST 2000 sakane@kame.net
massive clarification to racoon ISAKMP daemon.
- Merged Eric Lemiere's code for limited certificate support.
- There are two management hander.
"Phase 1 handler" is to manage ISAKMP SA. It is created when
phase 1 exchange on both initiator and responder side will be
started.
"Phase 2 handler" is to manage IPsec SAs. It is created when
pfkey acquire message will be received, and when 1st message
in phase 2 will be received on responder side.
- Vendor id will be sent after negotiating hasn algorithm.
When we receive vendor id before negotiating it, we use default hash
algorithm MD5 to check.
- Post command deleted.
- msgid_t delted.
- don't release management handler. do it only if retry will be
timed up.
- separate the function of isakmp exchange. one is to check received
data. other is to reply. the reason is for handling to resend.
- change name "dir" to "side" in order to distinguish from policy
direction.
- If initiator request PFS, but responder is not ready to do that,
responder stops the negotiation. If initiator don't request PFS,
but responder require it, also responder stops the negotiation.

Sun Jan 9 03:03:39 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/heimdal: upgrade to 0.2l.
* freebsd3/usr.sbin/inetd: support IDENT.
From: Hajimu UMEMOTO <ume@mahoroba.org>

Sat Jan 8 23:53:23 JST 2000 sakane@ydc.co.jp
* kame/sys/netkey/key.c:
- fix kenrel crash when flushing SAD.
- for stability, increment refcnt of SA when key_getsavbyspi() called.
- add some error message
- fix errno at key_update().

Sat Jan 8 04:40:33 JST 2000 itojun@iijlab.net
* kame/sys/netinet/{frag6,ip6_input,nd6_nbr}.c:
use arc4random() on openbsd. it should give better random value
for initializing sequence numbers.
From: deraadt@openbsd.org

Sat Jan 8 03:20:05 JST 2000 itojun@iijlab.net
* /sys/netinet/udp_usrreq.c, kame/sys/netinet6/udp6_usrreq.c:
drop incoming udp packet with dst port = 0. it is, or seems to be,
illegal based on RFC768 (99% sure but 1% in doubt).
with traditional 4.4BSD code, udp socket will mistakingly accept
such packets after socket() and before first bind()/connect().
this can be used to confuse, or de-synchronize, udp-based protocols.

Sat Jan 8 00:37:28 2000 Shin'ichi Fujisawa <fujisawa@kame.net>
* kame/sys/netinet6/natpt*.[ch]: NAT-PT translator.
* kame/kame/{natptconfig,natptd,natptlog}: translator configulation
command and natpt related commands.

- These NAT-PT translator and commands are now under development.
Its user interface and overall functionality are subject to
future improvements and changes. So, please be careful when you
try it.

- At this time, this translator works on FreeBSD228 only. Please
wait a while to works on other platforms.

Sat Jan 8 00:09:44 2000 SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
* freebsd3/ports/openssh: upgrade to current source of OpenBSD,
which support IPv6 in default. Any additional patches does not
neccesary anymore.

2000-01-07 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/ip6_output.c (ip6_output): do not insert a
dest options header (even if specified by a user) that should be
placed before a routing header, unless a routing header really
exists.

2000-01-07 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/rtsold: use raw ip6 socket for probing interface
status instead of a separate UDP socket, in order to avoid
receiving unexpected UDP datagrams.
In response to: kit/187

2000-01-06 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/icmp6.c (icmp6_input): upper layer detection
in notifying an icmp6 error was improved:
- if the erroneous packet contains a routing header, examine the
header to determine the final destination and use it to update
path MTU.
- if the erroneous packet contains a fragment header, stop
chasing the header chain unless it is the first fragment.

With the former fix the kernel will perform path MTU discovery
correctly even if triggered packets contain a routing header.

* A new function icmp6_mtudisc_update() was added to cleanup the
code.

Thu Jan 6 16:43:52 JST 2000 itojun@iijlab.net
* sys/netkey/key.c: when searching IPsec SA for inbound IPsec traffic,
do not check src match according to RFC2401. it looks that IPsec
specs do not really agree with each other about what should be
in IPsec SA, and what should be matched. see comment lines near
key_allocsa().

Thu Jan 6 13:49:43 JST 2000 itojun@iijlab.net
* sys/netinet6/ip6_input.c: add missing case for net.inet6.ip6.rr_prune
for openbsd and netbsd.
* netbsd/pkgsrc/net/zebra, freebsd[23]/ports/zebra: upgrade to 0.83a.

Thu Jan 6 01:40:50 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.c: avoid panic on getsockopt(ICMPV6_FILTER).
From: shigeya@foretune.co.jp
* {openbsd,bsdi4}/sys/netinet6/raw_ipv6.c: clarify rip6_ctloutput().

Wed Jan 5 19:44:12 JST 2000 itojun@iijlab.net
* netbsd/usr.bin/systat, openbsd/usr.bin/systat:
make systat IPv6 ready. "netstat" subcommand is changed for this.

Wed Jan 5 13:27:43 JST 2000 itojun@iijlab.net
* kame/libinet6/getnameinfo.c: allow reverse lookup for v4 loopback
network (127.0.0.0/8).
* kame/libinet6/rcmd.c: implement iruserok_sa(). iruserok_af() does
not make sense as it is not scope-aware.
nuke ruserok_af(), as ruserok() takes string hostname and is af
independent already. we don't really need ruserok_af().
iruserok_af() is kept for backward compatibility. we'll nuke it
afterwards.

Wed Jan 5 02:49:05 JST 2000 itojun@iijlab.net
* netbsd: add net.inet6.ip6.bindv6only sysctl. this is a replacement
of net.inet6.ip6.mapped_addr, which was bitwise opposite to
IPV6_BINDV6ONLY.
if set to 1: AF_INET6 listening socket will grab IPv6 traffic only.
if set to 0: AF_INET6 listening socket will grab IPv4 traffic as well,
as if it was from v4 mapped address (described in rfc1933).
default value is 1 (i.e. AF_INET6 socket grabs IPv6 traffic only).
the variable controls inbound direction only; you can always use
v4 mapped address for outgoing connections.

"options INET6_BINDV6ONLY" will remove the code completely and
hardcodes behavior to net.inet6.ip6.bindv6only=1 case.

"options MAPPED_ADDR_ENABLED" and net.inet6.ip6.mapped_addr were
obsoleted on netbsd (were introduced on Dec 21 1999).

2000-01-05 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/{bgpd, pim6[ds]d, ping6, traceroute6}: were modified
to use rfc2292bis by default. Related Makefiles were also
modified.

2000-01-04 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/kame/libinet6/{ip6opt.c, rthdr.c}: implemented some new
functions introduced in rfc2292bis (see TODO.2292bis for more
details).
All the new functions except rcmd_af and rexec_af are now
available.

2000-01-04 JINMEI, Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* kame/sys/netinet6/{various files}: implemented the new advanced
API (rfc2292bis). The kernel part is now almost finished (see
TODO.2292bis for more details).

Note about lower compatibility: I believe the new kernel is
fairly compatible with the old API (i.e. RFC2292).

There are few compatibility issues in interfaces using ancillary
data. I believe the compatibility issues won't practically bother
you.

You don't have to care compatibility when setting a socket option
except IPV6_HOPLIMIT. If you use the option but don't want to
migrate to the new API, you have two choices. One is to use
IPV6_RECVHOPLIMIT instead of IPV6_HOPLIMIT and just keep the other
code. The other is to define COMPAT_RFC2292 in your kernel
configuration file and recompile the kernel. Then the kernel will
handle IPV6_HOPLIMIT in the RFC2292 manner.

Unfortunately, it is impossible to ensure compatibility for
getting socket options whose semantics in the new API is different
than in RFC2292. If you don't want to use the new API but want to
do getsockopt for such options (I believe the possibility is very
rare, though) define COMPAT_RFC2292 in your kernel configuration
file and recompile the kernel. Then the kernel will handle the
options in the RFC2292 manner.

Please note that the new API is enabled by default in any case.

Tue Jan 4 18:59:08 JST 2000 sakane@ydc.co.jp
* kame/sys/netkey:
don't check sequence number at key_update() even if SA initiator.
don't change sequence number passed from userland at key_getspi()
instead of the value of sequence number.
They can be re-enable to define IPSEC_DOSEQCHECK.

Sun Jan 2 22:59:45 JST 2000 itojun@iijlab.net
* kame/libinet6/name6.c: don't bark even if we see T_SIG and other
record types.

KAME PR: 184
From: Assar Westerlund <assar@sics.se>

Sun Jan 2 22:07:54 JST 2000 itojun@iijlab.net
* kame/tcpdump/isakmp.h, kame/racoon/isakmp.h:
avoid use of bitfield on packet format definition. it is
non-portable.
* kame/Makefile.inc: added it to share definitions across top-level
Makefile and platform Makefile (like netbsd/Makefile).
NOTE: if you use anoncvs, you may need to checkout Makefile.inc
manually.

Sun Jan 2 03:46:57 JST 2000 itojun@iijlab.net
* sys/netinet6/icmp6.[ch]: add net.inet6.icmp6.nodeinfo sysctl MIB,
which enables/disables node information query processing in the
kernel.

Sat Jan 1 03:02:02 JST 2000 itojun@iijlab.net
* netbsd/usr.bin/ftp: fix "ftp URL" behavior. it failed if the
specified URL is in certain condition due to bug in IPv6 support.

Sat Jan 1 JST 2000
* happy Y2K from KAME team!
Something went wrong with that request. Please try again.