1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490
|
2004-01-17 13:49 grifferz
* configure, configure.in: Update version and autoconf again.
2004-01-17 06:12 grifferz
* configure, configure.in: Chnage some versions strings for this
one-off non-release mumble mumble please ignore.
2004-01-15 15:12 dg
* src/dnsbl.c: Add X- header to BOPM reports for version, patch
from mark.
2004-01-15 09:30 dg
* src/libopm/src/proxy.c: And don't forget to add inet_aton back
into socks5 as well..
2004-01-15 09:26 dg
* src/libopm/src/proxy.c: Reintroduce inet_aton, which disappeared
for some reason, here:
http://cvs.blitzed.org/libopm/src/proxy.c.diff?r1=1.13&r2=1.14
Thanks go to ezequiel at Alternativa.NET.AR for spotting this..
2004-01-12 10:12 dg
* src/firedns.c: Fix the ID/Unknown error bug (finally), this needs
testing..
2003-11-29 11:56 strtok
* src/irc.c:
irc.c: Added extra irc_read debug logging.
2003-11-29 09:46 dgl
* src/irc.c: Set IRC_LAST on connect.
2003-11-26 13:26 dgl
* src/libopm/OPM/bopchecker.pl: libopm doesn't ignore sigpipe for
us, bopm does this but bopchecker.pl has never done it, haven't
seen a problem before today though..
2003-11-15 05:29 andy
* ChangeLog: Requested obfuscation.
2003-09-03 09:22 andy
* bopm.conf.sample, configure, configure.in: New address to use to
contact us about enabling bopm reporting.
2003-08-27 13:35 andy
* src/libopm/: doc/libopm-api.txt, src/libopm.c, src/libopm.h,
src/opm.h, src/opm_error.h, src/opm_types.h, src/test.c:
Configurable list of protocols.
2003-08-25 23:08 andy
* src/libopm/src/: httpget.c, httppost.c, mindjail.c: Oops, forgot
to add those files.
HTTPGET and MINDJAIL protocols added.
HTTPPOST protocol split off into a separate file. (it's going to
be a good candidate for modularisation since many ircds don't
allow POST proxies on anyway, and may not want to bother testing
for it).
2003-08-25 23:06 andy
* src/libopm/: doc/libopm-api.txt, src/Makefile.am,
src/Makefile.in, src/config.c, src/config.h, src/libopm.c,
src/libopm.h, src/opm.h, src/opm_error.h, src/opm_types.h,
src/proxy.c, src/proxy.h, src/test.c: Bring MINDJAIL and HTTPGET
support into the main libopm, but with intention to break every
protocol off later into individual modules.
Remove hard-coded configuration options, now change all config
keys to be strings.
The default config keys required by the provided protocols are
added when opm_create is called, but additional keys as used by
any contributed protocols can be added by the caller using
opm_config_add.
2003-07-05 23:48 andy
* bopm.conf.blitzed: 07:47:12 <@Silencer> grifferz 07:47:17
<@Silencer> line 61 of bopm.conf.blitzed 07:47:30 <@Silencer> add
3 whitespace :D 07:48:19 <@grifferz> sigh..
2003-07-03 07:35 andy
* src/libopm/src/: compat.c, config.c, defs.h, inet.c, libopm.c,
list.c, malloc.c, opm.h, proxy.c, test.c: Move RCSID and USE_VAR
definitions out to defs.h.
2003-06-29 03:43 andy
* bopm.conf.blitzed: WG should be WINGATE, spotted by phil.
2003-06-28 13:25 andy
* bopm.conf.blitzed: The latest agreed changes.
2003-06-27 21:55 andy
* configure, configure.in, src/setup.h.in: Remove the --with-select
and --with-unreal ./configure options, as they are no longer
relevant.
Add a quick check for SIZEOF_SHORT=2, which we think is the case
everywhere but will break firedns in strange ways if it turns out
to not be the case.
2003-06-27 13:52 dgl
* configure, configure.in: Update version number
2003-06-27 13:48 dgl
* network-bopm/network-bopm.pl: Simplified network-bopm a lot as
there's no need for IO::Select anymore.
2003-06-27 12:15 dgl
* bopm.conf.sample: *cough*
2003-06-27 11:51 strtok
* src/libopm/src/list.c:
Don't elements-- twice
2003-06-26 13:35 strtok
* network-bopm/network-bopm.pl:
INET isn't even used anymore
2003-06-25 15:22 strtok
* ChangeLog:
Updated ChangeLog
2003-06-25 15:16 dgl
* README: 3.0.4 -> 3.1.0
2003-06-23 10:43 strtok
* network-bopm/network-bopm.pl:
Cleanup
2003-06-23 10:41 strtok
* network-bopm/network-bopm.pl:
PROTOCOL{NICK} is no longer required.
2003-06-23 10:30 strtok
* network-bopm/network-bopm.pl:
Do TS delta check to see if nick is new enough to be scanned
2003-06-22 14:02 strtok
* network-bopm/network-bopm.pl:
Removed listening code, service now sends a NOTICE to a bopm nick
, which means the bopm can be connected to any server.
2003-06-22 11:03 andy
* src/dnsbl.c: I am calling it a very big typo, OK?
2003-06-22 10:05 strtok
* src/scan.c:
Don't spam channel with negotiation timeout/failures on manual
scan (mofo@efnet)
2003-06-22 07:19 andy
* .cvsignore, src/libopm/.cvsignore: Ignore libtool.
2003-06-22 07:18 andy
* libtool, src/libopm/libtool: These shouldn't be in CVS.
2003-06-22 06:55 andy
* src/dnsbl.c: ...the effect is that bopm will use the else clause
(destined for manual scans) for every but the first positive
result... -> Segfault :) -- mark AT nedworks.org
2003-06-22 06:19 andy
* src/: config-parser.y, defs.h, firedns.c, irc.c, list.c, main.c,
negcache.c, opercmd.c, libopm/src/libopm.c, libopm/src/list.c:
Mostly pedantry.
2003-06-21 15:25 strtok
* network-bopm/network-bopm.pl:
Relay /KILLs that pertain to bopm Do not QUIT on /kill
2003-06-21 15:04 strtok
* network-bopm/network-bopm.pl:
Catch/relay USERHOST reply (302)
2003-06-21 14:52 strtok
* network-bopm/network-bopm.pl:
Fixed parser Relay PRIVMSG
2003-06-21 14:34 strtok
* network-bopm/network-bopm.pl:
IO::Socket reuse => 1 (from dg)
2003-06-21 14:25 strtok
* network-bopm/network-bopm.pl:
Require PASS Remove USE Event
2003-06-21 14:02 strtok
* libtool, network-bopm/network-bopm.pl:
Added initial network-bopm perl script.
2003-06-21 07:33 andy
* src/stats.c: As newfd has become an unsigned int it can no longer
contain error return values from dup(). A slight oversight, I
think :) -- mark AT nedworks.org
2003-06-20 22:11 andy
* README: A bit about logging.
2003-06-20 21:31 andy
* .cvsignore, contrib/logrotate/.cvsignore,
contrib/logrotate/logrotate.sh, src/main.c,
src/libopm/.cvsignore: Reopen logfiles on receipt of SIGUSR1. An
example contrib log rotation script which uses this.
2003-06-20 21:27 andy
* src/libopm/src/proxy.c: Oops, missed one USE_VAR.
2003-06-20 17:57 dgl
* src/: config.h, dnsbl.c, stats.c, stats.h: Made the dnsbl stats
into per dnsbl stats.
2003-06-20 17:27 dgl
* src/dnsbl.c: Only print DNSBL results if no scan has had a
positive match already.
2003-06-19 21:55 andy
* src/: irc.c, opercmd.c, scan.c, libopm/src/proxy.c,
libopm/src/test.c: Fix a gcc3-ism.
2003-06-19 21:18 andy
* libtool, src/config.c, src/config.h, src/dnsbl.c, src/firedns.c,
src/inet.c, src/irc.c, src/main.c, src/misc.c, src/misc.h,
src/negcache.c, src/negcache.h, src/opercmd.c, src/opercmd.h,
src/scan.c, src/scan.h, src/stats.c, src/libopm/libtool,
src/libopm/src/config.c, src/libopm/src/inet.c,
src/libopm/src/libopm.c, src/libopm/src/opm.h,
src/libopm/src/proxy.c, src/libopm/src/test.c: LOTS of tidying up
to compile with no warnings.
2003-06-19 21:12 andy
* configure, configure.in, src/libopm/configure,
src/libopm/configure.in: Tidy up fascist CFLAGS again.
2003-06-19 16:21 strtok
* src/list.c:
No more need for node_t *p
2003-06-19 16:18 strtok
* src/libopm/src/list.c:
Oops, don't need OPM_NODE_T *p anymore...
2003-06-19 16:14 strtok
* src/list.c:
Make sure we elements-- before returning.
2003-06-19 16:13 strtok
* src/libopm/src/list.c:
list_remove no longer searches for node in list
2003-06-19 16:11 strtok
* src/list.c:
list_remove no longer checks for the existance of the node in the
list
2003-06-19 16:07 strtok
* bopm.conf.blitzed, bopm.conf.sample, src/config-lexer.l:
Added ON/OFF and YES/NO as bool type and changed default to
YES/NO in conf
2003-06-19 16:03 strtok
* bopm.conf.blitzed, bopm.conf.sample, src/config-lexer.l:
Use true/false instead of 1/0 in config files/parser
2003-06-19 09:34 andy
* configure, configure.in, src/libopm/configure,
src/libopm/configure.in: Tidy up the fascist CFLAGS and add an
option for -Werror.
2003-06-19 09:19 dgl
* libtool, src/Makefile.am, src/Makefile.in, src/scanwarn.c,
src/scanwarn.h: Remove scanwarn.{c,h} as nothing uses them (they
were just empty functions..).
2003-06-19 09:12 dgl
* src/: config.c, config.h, dnsbl.c, firedns.c, firedns.h, main.c,
scan.c: Changed a load of (struct something *) MyMalloc casts to
just MyMalloc to keep Andy happy, same with sizeof.. A few
little warning fixes (with ./configure --extra-fascism), mostly
for firedns.
2003-06-19 08:30 dgl
* src/: dnsbl.c, firedns.c, firedns.h: Reorganisation of the DNS
code so it's a bit easier to read, and several bugs fixed: the
lookup is aborted if it can't send the lookup and the fd limit is
also correctly dealt with. Several API changes and a new error
for fd limit reached.
2003-06-17 12:10 dgl
* src/firedns.c: firedns_getip{4,6} are meant to return an fd..
2003-06-17 12:02 dgl
* src/firedns.c: bad dg. free -> MyFree.
2003-06-17 11:56 dgl
* src/firedns.c: Add stuff to the list only if we don't get -1
return from the firedns setup
2003-06-17 11:34 dgl
* src/: dnsbl.c, firedns.c: Two little cleanups..
2003-06-17 06:31 dgl
* README: Add a comment about !all
2003-06-17 06:23 dgl
* src/irc.c: Make !all work properly.
2003-06-17 05:49 dgl
* src/irc.c: Check all the characters of the nickname provided (not
just the first 3), also means that < 3 character nicknames will
work..
2003-06-17 05:47 andy
* bopm.conf.sample: Better keep it commented out.
2003-06-17 05:32 andy
* bopm.conf.sample: New connregex line for StarIrcd/SorIrcd.
2003-06-16 14:03 strtok
* src/libopm/src/libopm.c:
Fixed mystery memory use, was an fd_use problem.
2003-06-11 22:51 andy
* CREDITS: [no log message]
2003-06-11 22:51 andy
* src/: libopm/src/libopm.c, dlclist.c, dnsbl.c, malloc.c,
malloc.h, scan.c: As per patch supplied by Christopher Bongaarts:
http://lists.blitzed.org/pipermail/bopm/2003-June/001282.html
Portability fixes for Sun Forte compiler:
- No C++ comments - No inline - Don't initialize values of an
auto variable from members of a struct passed via pointer
NOTE: I have not added in any of the firedns parts yet - we need
to think about that some more.
2003-06-03 09:31 andy
* CREDITS: Thanks, Joshua.
2003-06-02 16:57 dgl
* src/libopm/src/: config.h, libopm.c, opm.h: gcc 3 prototype
warning fixes.
2003-06-02 16:54 dgl
* src/: config.c, dnsbl.c, firedns.c, irc.c, log.c, main.c,
config.h, firedns.h, log.h, main.h, negcache.c, opercmd.c,
opercmd.h, scan.c, scan.h, stats.c, stats.h: log -> log_printf to
fix namespace collision, various other fixes for compile warnings
from gcc 3 (mostly signed/unsigned and prototypes).
2003-05-03 19:54 dgl
* src/libopm/OPM/bopchecker.pl: s// missing
2003-04-30 08:28 dgl
* bopm.conf.sample, src/config-parser.y, src/dnsbl.c,
src/firedns.c: - Cleaned up bopm.conf.sample (it was a mess of
tabs and not tabs..) - Made firedns_resolveip4 accept IP as input
(firedns really is getting messy) - Added missing target_port to
scanner block stuff (now documented too) - DNSBL lookups no
longer print timeout error to the channel
2003-04-29 12:51 dgl
* bopm.conf.blitzed, bopm.conf.sample, src/config-lexer.l,
src/config-parser.y, src/config.h, src/dnsbl.c, src/dnsbl.h,
src/firedns.c, src/firedns.h, src/inet.c, src/inet.h, src/irc.c,
src/main.c, src/scan.c, src/stats.c: Lots of mostly DNS related
changes
dnsbl.{c,h}: - Many changes to accomdate configurable output from
blacklists - Return values from DNSBLs must now be set in the
configuration file, they are not hardcoded - It is possible to
ignore some of the results returned from DNSBLs - Lookup errors
are now sent to channels as errors as well as to the log - The
void pointer passed to firedns is now a dnsbl_scan struct
(contains a pointer to the blacklist and to the scan_struct).
firedns.{c,h}: - firedns.conf is now read from the BOPM
configuration dir (etc/firedns.conf) not the system wide /etc.
(firedns.conf is just a list of IP addresses, one on each line)
- Fixes to make firedns.conf work in a sane way - Better errors
when problems occur reading configuration files -
firedns_resolveip4 fixed to actually work - new error: Network
error, for errors receiving from the dns server
inet.{c,h}, irc.c, scan.c, main.c: - bopm_gethostbyname removed,
code uses firedns_resolveip4 now - DNS lookup code adjusted to
use firedns
scan.c: - %t in kline format strings - the type of proxy found on
the host works for both DNSBL results and proxies found by BOPM
configuation: - Added new blacklist directives (this breaks old
config files). - scanner blocks now inherit settings from _the
one above them_, this saves multiple definitions of the same
thing in different scanner blocks (this affects vhost, fd,
target_ip, target_port, timeout, max_read and target_strning in
scanner blocks).
2003-04-07 19:33 andy
* src/libopm/OPM/bopchecker.pl: Allow use of UNKNOWN as a protocol
to be shorthand for all protocols.
2003-04-07 19:13 andy
* src/libopm/OPM/bopchecker.pl: Oops, forgot the $_
2003-04-07 19:10 andy
* src/libopm/OPM/bopchecker.pl: Updated ports and other config.
2003-04-07 15:51 strtok
* src/config-lexer.l:
Ignore ^M in config file.
2003-04-02 09:38 dgl
* src/libopm/OPM/bopchecker.pl: remove debug print.. oops
2003-04-02 09:37 dgl
* src/libopm/OPM/bopchecker.pl: Add a default option, meaning
default ports are not scanned when extra ports are provided
unless this option is set (different to previous behaviour).
2003-03-06 16:43 andy
* Makefile.in, aclocal.m4, configure, configure.in, libtool,
src/Makefile.in, src/firedns.c, src/setup.h.in: Add checks for
size of int/long. Work out what type to use for a 32-bit int.
Regenerate autotools.
2003-03-06 16:37 dgl
* src/firedns.c: Of course, you need an extra header file for that
to work.. so changing int32_t to int. (I blame vim's syntax
hilighting for lulling me into a false sense of security, but
probably testing stuff with the exact code you commit is also a
good idea).
2003-03-06 15:59 dgl
* src/firedns.c: Fix for a weird bug exposed by running on alpha -
the returned record would only have 2 bytes, so it appeared that
the proxy had no type.
This happens because firedns assumes that long = 4 bytes, so the
temp. fix changes long -> int32_t.
Thanks to Chainsaw for trusting the BOPM developers with a shell
account on his machine ;-).
2003-02-18 16:49 strtok
* ChangeLog, Makefile.in, aclocal.m4, configure, configure.in,
src/Makefile.am, src/Makefile.in, src/opercmd.c:
Updated ChangeLog Commented out OP command Version is now 3.0.3
2003-02-17 06:17 dgl
* contrib/opm-xml/op.php: - Updated to use new opm.blitzed.org URL
- Added port information
2003-02-12 09:31 andy
* README, src/libopm/libtool: Fix <check> typo, add a bit about
fdstat.
2003-02-12 08:15 andy
* README: Note about it not adding klines on manual scan.
2003-02-10 05:16 andy
* bopm.conf.blitzed, bopm.conf.sample: A couple more SOCKS4 weird
ports seen in the wild.
2003-02-08 14:41 dgl
* src/libopm/: OPM/OPM.pm, OPM/OPM.xs, OPM/test.pl,
doc/libopm-api.txt: - Added perldoc style docs to OPM.pm, not
really complete docs but used in conjuction with libopm-api.txt
they provide enough detail. - Added opm_end and opm_endscan
($scan->end and $scan->endscan) to the perl API. - Typo fixed
opm_scanend -> opm_endscan in libopm-api.txt.
2003-02-05 12:47 strtok
* src/libopm/src/: libopm.c, test.c:
libopm.c: Extra checks for OPM_STATE_CLOSED to prevent multiple
open proxy callbacks on the same connection.
2003-02-02 14:59 andy
* configure, configure.in, ltmain.sh, src/libopm/configure,
src/libopm/configure.in, src/libopm/ltmain.sh: Remove goat/faldo.
Regenerate autotools.
2003-02-02 14:46 strtok
* src/scan.c: scan_handle_error: Fixed use of NULL pointer where
libopm returned back a file descriptor allocation error and
manual_target was NULL
2003-02-01 16:44 andy
* src/opercmd.c: Make sure that the param string is at least null
terminated when there is no parameter (this caused segfault on
any oper command for implementations whose strlen() can't handle
null pointers, e.g. sparc-sun-solaris2.8).
2003-02-01 13:22 strtok
* src/opercmd.c: opercmd: Added requested (Alien88@efnet) op
command
2003-01-29 18:04 andy
* bopm.conf.sample: Updated Ultimate IRCD connregex example that
actually works, thanks to "Baltazar" <baltazar.pinto AT
mail.telepac.pt>
2003-01-29 10:03 dgl
* contrib/crontab/bopmchk: update paths for bopm 3.0!
2003-01-27 19:05 andy
* INSTALL, README, bopm.conf.sample, src/.cvsignore: Removed some
blitzedisms to try to cut down on abuse from morons.
2003-01-19 18:36 andy
* bopm.conf.sample: Missing */! This caused confusion for a number
of people who did not spot it.
2003-01-19 18:31 andy
* src/libopm/libtool: Needed by autotools.
2003-01-19 18:30 andy
* libtool: Apparently we need this now too. One day someone will
explain autotools to me.
2003-01-19 18:12 andy
* Makefile.in, aclocal.m4, acsite.m4, config.guess, config.sub,
configure, configure.in, src/Makefile.am, src/Makefile.in,
src/scan.c, src/setup.h.in, src/libopm/Makefile.in,
src/libopm/aclocal.m4, src/libopm/acsite.m4,
src/libopm/configure, src/libopm/configure.in,
src/libopm/doc/Makefile.in, src/libopm/src/Makefile.am,
src/libopm/src/Makefile.in, src/libopm/src/proxy.c: Better socket
libs check from Warren Young <warren@etr-usa.com>. Header
reorganisation for benefit of some solaris machines..
2003-01-18 12:22 andy
* src/stats.c: Use the dup() method of FD counting instead of the
fcntl() method - fcntl() only seems to count established tcp
connections.
Reorganise some headers.
2003-01-17 09:40 andy
* contrib/opm-xml/op.php: A PHP/XML client for the opm.blitzed.org
dnsbl for use if you wish to allow people to check if they are in
the DNSBL without them ever going outside your website.
Contributed by codemastr/CaliMonk/Axenet.
2003-01-16 17:18 andy
* src/stats.c: Fixes for FreeBSD.
2003-01-15 14:05 andy
* README: Typo.
2003-01-15 14:01 andy
* README: The boneheadedness becomes too much. :(
2003-01-14 15:31 dgl
* src/libopm/OPM/bopchecker.pl: scan all protocols + extra scans by
default
2003-01-13 18:43 strtok
* src/stats.c: Check ret != -1 in total fd use count
2003-01-12 16:56 dgl
* src/: dnsbl.c, firedns.c, firedns.h: Make firedns/dnsbl print
nicer error messages
2003-01-12 14:53 strtok
* src/stats.c: Show open fd limit in fdstat
2003-01-12 14:37 dgl
* src/firedns.c: Remove lastcreate close code from firedns
2003-01-12 14:22 strtok
* src/: config.c, opercmd.c, stats.c, stats.h: Added code to
config.c to close the config file. Added start of 'fdstat'
command. Right now it counts the tototal open fds the process has
2003-01-10 22:28 andy
* aclocal.m4, configure, configure.in, src/Makefile.am,
src/Makefile.in, src/compat.c, src/compat.h, src/dnsbl.c,
src/firedns.c, src/inet.c, src/inet.h, src/log.c, src/main.c,
src/misc.c, src/scan.c, src/snprintf.c, src/snprintf.h:
src/snprintf.[ch]: Added Mark Martinec's (v)snprintf
replacement from http://www.ijs.si/software/snprintf/ for
sstems with missing or broken (v)snprintf.
src/compat.c: Replace inet_aton() with bopm_inet_aton() to
prevent clashes.
src/compat.h: Systems without inet_aton() should use
bopm_inet_aton() (compat.c).
Systems without (v)snprintf should use bopm_snprintf()
(snprintf.c).
Systems without inet_pton() should use bopm_inet_pton()
(inet.c).
src/dnsbl.c: src/firedns.c: src/log.c: src/main.c: src/misc.c:
src/scan.c: Needs to include compat.h if it wants to compile
on Solaris.
src/inet.c: For now made inetntoa() static as it is used
nowhere but this file. Later we need to either remove this and
use bopm_inet_ntoa() from compat.c, or else remove that one
and rename this one.
Commented out inetntop() -- nothing seems to be using it
currently?
Renamed inet_pton() to bopm_inet_pton() to avoid clashes.
2003-01-10 22:18 andy
* src/libopm/: Makefile.in, aclocal.m4, configure, configure.in,
doc/Makefile.in, src/Makefile.am, src/Makefile.in, src/compat.c,
src/compat.h, src/inet.c, src/proxy.c, src/snprintf.c,
src/snprintf.h, src/test.c: src/snprintf.[ch]: Added Mark
Martinec's replacement (v)snprintf from
http://www.ijs.si/software/snprintf/ for systems without
(v)snprintf (or with a broken one)
src/compat.c: Renamed inet_aton to libopm_inet_aton to avoid
clashes.
src/compat.h: On systems without inet_aton, use
libopm_inet_aton.
On systems without (or with broken) (v)snprintf, use
libopm_snprintf (from snprintf.c).
On systems without inet_pton, use libopm_inetpton (from
inet.c).
src/inet.c: For now made inetntoa() static, as it is used
nowhere else but this file.
Commented out inetntop() -- it doesn't seem to be used
anywhere?
Removed bopm_gethostbyname() -- it wasn't used anywhere.
src/proxy.c: No longer needs to include stdio.h.
src/test.c: Needs to include compat.h and be linked with
compat.o.
2003-01-10 11:33 strtok
* src/: dnsbl.c, scan.c: scan_positive only klines if ss->positive
is true
2003-01-09 09:30 andy
* acsite.m4, configure, configure.in, src/setup.h.in,
src/libopm/acsite.m4, src/libopm/configure,
src/libopm/configure.in, src/libopm/src/setup.h.in: Chekc for
working snprintf (but do nothing about it yet). This macro came
from http://www.gnu.org/software/ac-archive/ac_func_snprintf.html
and is copyright Rdiger Kuhlmann <info@ruediger-kuhlmann.de>.
2003-01-09 07:08 andy
* src/libopm/src/inet.c: That needs to be inet_pton.
2003-01-09 06:16 andy
* src/libopm/: configure, doc/Makefile.am, doc/Makefile.in: Add a
clean target for docs/Makefile
2003-01-09 06:13 andy
* src/libopm/: Makefile.in, src/Makefile.am, src/Makefile.in: link
test programs with compat.o otherwise they won't compile if they
need stuff from it.
2003-01-07 23:13 strtok
* src/libopm/doc/libopm-api.txt: Extra documentation concerning the
functionality of opm_end and callbacks
2003-01-07 19:16 strtok
* ChangeLog, configure, configure.in: Version is now 3.0.2 Updated
ChangeLog
2003-01-07 19:08 strtok
* src/: dnsbl.c, irc.c: Fix to only ss->scans-- when we know for
sure we're not using ss anymore.
2003-01-07 19:08 andy
* .gdbinit: This helps when using gdb with bopm.
2003-01-06 13:01 strtok
* ChangeLog, src/libopm/ChangeLog, src/libopm/Makefile.am,
src/libopm/Makefile.in, src/libopm/configure: Updated ChangeLog
2003-01-06 12:58 strtok
* configure, configure.in, src/irc.c: Version should be 3.0.1 not
3.01
2003-01-06 12:40 andy
* src/libopm/doc/: .cvsignore, Makefile.in: Forgot Makefile.in
2003-01-06 11:26 dgl
* src/dnsbl.c: Send proxy port in dnsbl reports so BOPMs will be
reporting them when dnsbl starts to accept them.
2003-01-06 11:22 andy
* src/libopm/OPM/bopchecker.pl: More ports.
2003-01-06 06:27 andy
* src/scan.c: Typo. :)
2003-01-06 04:49 andy
* src/libopm/doc/.cvsignore: And ignore those.
2003-01-06 04:48 andy
* src/libopm/doc/: Doxyfile.in, Makefile.am: Start of doxygen
stuff.
2003-01-05 12:22 andy
* src/libopm/: Makefile.am, Makefile.in, configure, configure.in,
src/Makefile.am, src/Makefile.in, src/compat.c, src/opm.h:
Install opm_ headers, as requested by TimeMr14C and jv.
2003-01-05 12:07 strtok
* src/libopm/ChangeLog: Added ChangeLog
2003-01-05 12:05 strtok
* ChangeLog: Updated ChangeLog
2003-01-04 18:37 strtok
* src/firedns.c: Added more verbose error when firedns can't find
any nameservers
2003-01-03 20:49 andy
* src/libopm/OPM/bopchecker.pl: Updated for how we tend to be using
this on Blitzed.
2003-01-03 20:30 andy
* bopm.conf.blitzed, bopm.conf.sample: A whole lot of extra socks5
ports identified by Gael Martinez. :(
2003-01-03 20:13 strtok
* ChangeLog, configure, configure.in: Version is now 3.01 Updated
ChangeLog
2003-01-02 23:09 strtok
* src/scan.c: Fixed it so it doesn't pass the address of the
pointer of sc->vhost to the scanner config (tsk tsk dg and strtok
are both bug demons)
2003-01-02 22:18 strtok
* src/libopm/src/: libopm.c, libopm.h: memset sockaddr for bind()
2003-01-01 17:14 dgl
* src/libopm/OPM/bopchecker.pl: If protocols are provided only scan
them, rather than doing everything + them. Also actually accept
, in the input, as it was documented before..
2003-01-01 12:01 dgl
* src/scan.c: Added missing BIND_IP for libopm vhost setting
2002-12-31 02:04 andy
* bopm.conf.blitzed, bopm.conf.sample: Update sample confs for the
new exempt {} behaviour.
Make the case of BOPM consistent. :)
2002-12-31 00:56 strtok
* src/: scan.c, scan.h: Added nick!user@ip exempt checking
2002-12-31 00:22 andy
* INSTALL: Er, really remove the --with-unreal stuff like I said in
the last commit.
2002-12-31 00:17 andy
* CREDITS, README: Corrected typo. Moved credits to CREDITS.
2002-12-31 00:12 andy
* INSTALL: --with-unreal is no longer needed (the "PROTOCTL HCN"
stuff goes in the bopm.conf now).
libopm only supports poll() for now.
2002-12-31 00:04 andy
* src/main.c: Complain and die if we can't write the pidfile.
2002-12-29 13:38 strtok
* README: Added FAQ to README
2002-12-29 13:30 strtok
* README, TODO: Updated README and TODO for release
2002-12-29 13:24 strtok
* ChangeLog: Updated changelog
2002-12-29 13:19 strtok
* bopm.conf.sample: Added ultimate ircd sample connregex
2002-12-29 13:03 strtok
* src/: dnsbl.c, scan.c: Prevented memory leaks where ss wasn't
freed if all scanners returned !OPM_SUCCESS and there were no
dnsbl checks.
Added verbosity to failed dnsbl checks on manual scan Added
scan_checkfinished if dnsbl check was last test to finish and it
failed (memory leak)
2002-12-29 11:58 strtok
* src/: dnsbl.c, scan.c: Polished up manual check verbosity. Added
gethostbyname for manual scan hosts
2002-12-26 19:17 strtok
* bopm.conf.blitzed, bopm.conf.sample: Added left out IRC{password}
example to sample confs
2002-12-23 19:14 strtok
* bopm.conf.sample: Added target_string example for bahamut
2002-12-23 19:09 strtok
* src/: dnsbl.c, scan.c: Fix for log() null strings during manual
lookups Fix for not showing results of dnsbl on manual scans
2002-12-23 15:16 strtok
* bopm.conf.sample: Updated bopm.conf.sample with dg's scanner/user
from bopm.conf.blitzed
2002-12-23 13:10 strtok
* src/scan.c: Removed scan_end verbosity
2002-12-23 09:47 andy
* src/scan.c: Log ircd connect notice into the scanlog also. ("Why
have you postscanned me!?" "One of your users connected to our
IRC network, look...");
2002-12-23 09:38 andy
* src/.cvsignore: How did that happen?
2002-12-23 09:29 andy
* src/.cvsignore: Ignore bison-generated files.
2002-12-22 18:06 strtok
* src/scan.c: scan_positive now uses opm_end, instead of
opm_endscan. opm_end ends ALL scans, opm_endscan only ends active
ones
2002-12-22 18:02 strtok
* src/scan.c: Always log file descriptor/bind errors with libopm
2002-12-22 15:59 strtok
* bopm.conf.sample: Added more (commented out) HTTP protocols to
bopm.conf.sample
2002-12-22 15:37 strtok
* src/main.c: Changed RESTART code to die if OPT_DEBUG, otherwise
close fd 0-limit
2002-12-22 15:33 strtok
* README, configure: Put rehash explanation back in README
2002-12-22 15:30 strtok
* src/main.c: Fixed error message in main.c (restart).
2002-12-22 15:24 strtok
* src/: irc.c, log.c, main.c, main.h: Added main_restart function
to restart bopm process. Call main_restart on m_kill
2002-12-22 13:53 strtok
* src/libopm/src/libopm.c: Don't set fd close on exec
2002-12-22 13:41 strtok
* src/libopm/src/libopm.c: Set FD closed on exec
2002-12-22 13:08 strtok
* src/: irc.c, options.h: Reconnect on disconnection fix. Only try
reconnecting every 30 seconds (limit CPU by sleep)
2002-12-22 11:57 dgl
* bopm.conf.blitzed: Updated so we don't scan as many ports for
users running an identd.
2002-12-22 11:13 strtok
* src/config-parser.y: Allow empty options{}, exempt{} and OPM {}
2002-12-22 06:49 dgl
* src/config-parser.y: Missing semi-colon (the version of bison on
FreeBSD seems to care about this)
2002-12-22 00:49 strtok
* src/config-parser.y: Fixed missing ; in config-parser.y Added /*
empty */ | to options{}, exempt{} and opm{} (shift errors?)
2002-12-22 00:32 andy
* bopm.conf.blitzed: Tends to work better if you close the comment.
2002-12-22 00:20 andy
* bopm.conf.blitzed: Can't have empty sections {}.
2002-12-22 00:09 andy
* bopm.conf.sample: <strtok> andy: might want to show that you can
stack channel {}
2002-12-22 00:06 andy
* bopm.conf.sample: Negative caching no longer really presents a
performance problem.
2002-12-21 23:29 andy
* ChangeLog, INSTALL, Makefile.in, README, TODO, aclocal.m4,
bopm.conf.blitzed, bopm.conf.sample, configure, configure.in,
src/Makefile.am, src/Makefile.in, src/bopchecker.c,
src/bopchecker.h, src/compat.c, src/config-lexer.l,
src/config-parser.y, src/config.c, src/config.h, src/dlclist.c,
src/dlclist.h, src/dnsbl.c, src/dnsbl.h, src/extern.h,
src/firedns.c, src/firedns.h, src/inet.c, src/inet.h, src/irc.c,
src/irc.h, src/list.c, src/list.h, src/log.c, src/log.h,
src/main.c, src/malloc.c, src/malloc.h, src/match.c, src/match.h,
src/misc.c, src/negcache.c, src/negcache.h, src/opercmd.c,
src/opercmd.h, src/options.h, src/scan.c, src/scan.h,
src/scanwarn.c, src/scanwarn.h, src/setup.h.in, src/stats.c,
src/stats.h: Merge LIBOPM branch to main. (fun!)
2002-12-21 23:22 andy
* src/: config-lexer.l, config-parser.y, config.c, config.h, irc.c,
log.c, log.h, main.c, scan.c: Added "scanlog" config directive,
to log all scans to a specific file.
2002-12-21 23:19 andy
* bopm.conf.blitzed: A example config suited to Blitzed admins.
2002-12-21 23:19 andy
* bopm.conf.sample: Lots more comments taken mostly from the old
bopm.conf.sample.
2002-12-21 11:41 andy
* src/scan.c: Make sure they give some parameters on a manual scan.
Patch from W. Campbell <wcampbel@botbay.net>
2002-12-21 09:30 dgl
* src/irc.c: Fix joining keyed channels (thanks to W. Campbell and
Jan Chrillesen)
2002-12-19 12:15 strtok
* src/irc.c: Check for NULL get_channel in m_cannot_join
2002-12-16 23:46 strtok
* src/irc.c: Cleaned up irc.c
2002-12-16 23:31 strtok
* src/: Makefile.am, Makefile.in, opercmd.c, scanwarn.c: Removed
dlclist.c/dlclist.h Added 'status' as alias for stat/stats
command
2002-12-16 23:24 strtok
* src/: config.c, dnsbl.c, firedns.c, inet.c, irc.c, main.c,
opercmd.c, scan.c, stats.c: Cleaned up main.c Standardized
indenting for switch/case
2002-12-16 23:14 strtok
* README, TODO: More updates to README
2002-12-16 19:56 strtok
* src/firedns.c: firedns: Fixed bug where size was never checked
(thus if it goes over dns_fdlimit it we write to naughty memory)
2002-12-16 19:28 strtok
* src/: firedns.c, irc.c: Use proper lists in firedns.c (much
cleaner now!)
2002-12-16 14:00 strtok
* src/: scan.c, scan.h: scan.c: only add user to a scanner once
2002-12-16 13:18 strtok
* ChangeLog, bopm.conf.sample, src/bopchecker.c, src/bopchecker.h:
Removed bopchecker from project. Added better commenting to
bopm.conf.sample
2002-12-16 11:46 andy
* src/libopm/src/config.c: Missed one instance of inetpton()
2002-12-16 09:54 andy
* configure, configure.in, src/inet.c, src/inet.h, src/irc.c,
src/setup.h.in: Add configure check for inet_pton().
Rename inetpton() in inet.c to inet_pton() and only use it if the
build host does not have its own inet_pton().
2002-12-16 09:53 andy
* src/libopm/: configure, configure.in, src/inet.c, src/inet.h,
src/libopm.c, src/setup.h.in: Add configure check for inet_pton.
Rename inetpton() in inet.c to inet_pton() and only use it if
build host does not have its own inet_pton().
2002-12-15 18:26 dgl
* src/firedns.c: use poll in dns code to cope with >1024 fds
2002-12-15 17:22 strtok
* src/libopm/src/libopm.c: Put in ufds_size file descriptors
instead of 1024
2002-12-15 17:08 dgl
* src/config-parser.y: missing semicolon
2002-12-15 17:03 strtok
* src/libopm/src/libopm.c: Changed timeout to 0 seconds!
2002-12-15 16:57 strtok
* src/: irc.c, scan.c: Fixed userinfo_create and scan_create memory
leaks
2002-12-15 15:54 strtok
* Makefile.in, bopm.conf.sample, configure, configure.in,
src/irc.c: Fix for & local channels
2002-12-14 19:02 strtok
* src/libopm/src/: libopm.c, test.c: libopm.c: Grow ufds (poll
array) as needed, rather than hard coded 1024 limit
2002-12-14 17:52 strtok
* src/scan.c: More verbose open proxy scanning
2002-12-14 17:47 strtok
* src/: scan.c, stats.c: Fixed sending NULL with open proxy
2002-12-14 16:50 strtok
* src/: config-lexer.l, config-parser.y, config.c, config.h,
dnsbl.c, irc.c, opercmd.c, scan.c, stats.c, stats.h: Added stats
2002-12-14 15:07 strtok
* src/opercmd.c: Cleanup command even if user is not an operator
2002-12-14 15:02 strtok
* src/: config-lexer.l, config-parser.y, config.c, config.h,
main.c, opercmd.c, opercmd.h, options.h, scan.c, scan.h: Added
command_timer and command timeout functionality
2002-12-13 12:03 strtok
* src/scan.c: Show nick!user@host on OPEN PROXY ->
2002-12-12 17:30 strtok
* src/: dnsbl.c, firedns.c: Silly firedns, we don't want 5000 usec
blocking!
2002-12-12 16:04 dgl
* bopm.conf.sample: Added bahamut throttle message
2002-12-12 13:59 strtok
* src/irc.c: Speed up cycles 2x (maybe define this in config file?)
2002-12-12 12:31 strtok
* bopm.conf.sample: Removed commenting on sample conf Extra blurb
about target_ip
2002-12-12 10:00 dgl
* src/scan.c: Use format strings properly :)
2002-12-12 09:48 dgl
* src/: dnsbl.c, irc.c: Fix dnsbl error message Only send nickserv
line if it's set
2002-12-12 09:42 dgl
* src/irc.c: Noticed that there was already a get_channel function
:)
2002-12-12 09:05 dgl
* bopm.conf.sample, src/config-lexer.l, src/config-parser.y,
src/config.h, src/irc.c: Added invite option to channel block
2002-12-12 08:00 dgl
* bopm.conf.sample, src/config-lexer.l, src/config-parser.y,
src/config.c, src/config.h, src/irc.c: Added a nickserv option
(TODO: needs to also send a reply on nickserv auth messages)
Chaned the config file to use tabs rather than a mixture of 8
spaces and tabs (I'm not bothered which it is - just make sure
that they are the same? :)
2002-12-11 23:54 strtok
* INSTALL, README: Updates to README/INSTALL
2002-12-11 23:42 strtok
* TODO, src/dnsbl.c: Updated TODO Added more debug code for DNSBL
2002-12-11 23:24 strtok
* bopm.conf.sample, src/config-parser.y, src/config.c, src/dnsbl.c,
src/dnsbl.h, src/irc.c, src/main.c, src/opercmd.c, src/opercmd.h,
src/options.h, src/scan.c, src/scan.h, src/scanwarn.c: Fixed
dnsbl_report
2002-12-11 18:08 strtok
* src/: irc.c, opercmd.c, opercmd.h: Cleanup of irc.c/opercmd.c,
will copy old opercmd.c functions back from 2.x as needed.
2002-12-11 14:39 strtok
* bopm.conf.sample: Kline *@%h, %u@%h wouldn't have been very good.
2002-12-11 14:29 strtok
* bopm.conf.sample: Added timeout/max_read to bopm.conf.sample
2002-12-11 14:18 dgl
* src/: dnsbl.c, firedns.c: Fix for dns code..
2002-12-11 14:17 strtok
* src/: negcache.c, scan.c: Fixed logic error in negcache code
2002-12-11 13:51 strtok
* src/irc.c: Fixed parsing bug.
2002-12-11 13:42 strtok
* src/: irc.c, main.c, negcache.c, scan.c: Changed max parc to 17
and checked to make sure it's never over 17 (tsk bahamut) Added
negcache functionality
2002-12-11 00:25 dgl
* src/firedns.c: remove rest of debugging code
2002-12-10 19:41 strtok
* src/: dnsbl.c, scan.c: Added opm_endscan fix.
2002-12-10 17:44 strtok
* src/: dnsbl.c, firedns.c: Removed dg's crazy debug code. Added
more description to DNS lookup logging
2002-12-10 17:39 strtok
* src/: dnsbl.c, scan.c, scan.h: Added code to cleanup if scans <=
0 Added code to call scan_negative if the scan was negative
2002-12-10 16:34 strtok
* src/libopm/: doc/libopm-api.txt, src/libopm.c, src/opm.h,
src/test.c: Added opm_scanend and opm_end functions to API
2002-12-10 15:27 dgl
* bopm.conf.sample, src/config-lexer.l, src/config-parser.y,
src/config.c, src/config.h, src/firedns.c, src/firedns.h: Added
dns_fdlimit to options config block Fixed sample config file
2002-12-10 15:12 dgl
* src/: dnsbl.c, dnsbl.h, firedns.c, firedns.h: firedns.[ch]:
fd-limiting code for dns The fdns code externs two new variables
to change the limit and the current number of fds in use (see
firedns.h) dnsbl.[ch]: Now logs the blacklist and type when
lookups are successful, manipulates ss->scans and sends klines..
2002-12-09 18:42 strtok
* src/: bopchecker.c, compat.c, config.c, config.h, dlclist.c,
dlclist.h, dnsbl.c, firedns.c, firedns.h, inet.c, irc.c, irc.h,
list.c, list.h, log.c, main.c, malloc.c, match.c, misc.c,
negcache.c, negcache.h, opercmd.c, opercmd.h, scan.c, scan.h,
scanwarn.c, scanwarn.h: Standardized indenting (it seems the
first attempt at this didn't work)
2002-12-09 18:37 strtok
* src/: irc.c, irc.h, negcache.c: Remove broken IPv6 code
2002-12-09 17:58 strtok
* src/: irc.c, irc.h, scan.c: Added irc_send_channels function BOPM
actually sends the KLINE message now to the server
2002-12-09 16:53 strtok
* bopm.conf.sample, src/config-parser.y, src/config.h, src/scan.c:
Made target_string a list to allow multiple target_strings Added
target_string example to bopm.conf.sample for throttled proxies
2002-12-09 16:44 strtok
* src/libopm/: doc/libopm-api.txt, src/config.c, src/libopm.c,
src/opm_types.h, src/test.c: Added OPM_TYPE_STRINGLIST Allow
multiple entries for TARGET_STRING
2002-12-09 15:21 strtok
* bopm.conf.sample, src/config.c, src/scan.c, src/scan.h: Added
IRCItem->kline, for kline formatting.
2002-12-08 17:16 strtok
* src/scan.c: Added scan_positive, scan_negative and scan_irckline
to scan.c
2002-12-08 16:39 strtok
* src/: config.c, scan.c: Added IRCItem->kline Added comment to
scan_gettype
2002-12-08 16:28 strtok
* Makefile.in, aclocal.m4, configure, configure.in,
src/Makefile.am, src/Makefile.in, src/config-lexer.l,
src/config-parser.y, src/config.h, src/config.l,
src/config.tab.c, src/config.tab.h, src/config.y, src/lex.yy.c:
Change config.l and config.y to config-parser.l and
config-parser.y Added bison/lex of config-parser/config-lexer to
automake
2002-12-08 11:00 dgl
* Makefile.in, src/Makefile.am, src/Makefile.in, src/config.c,
src/config.h, src/config.l, src/config.tab.c, src/config.tab.h,
src/config.y, src/dnsbl.c, src/dnsbl.h, src/firedns.c,
src/firedns.h, src/irc.c, src/lex.yy.c, src/main.c, src/scan.c:
Inital DNSBL code based on heavily adapted firedns
2002-12-07 16:18 strtok
* configure, configure.in: Version is now 3.0pre
2002-12-07 16:13 strtok
* src/: config.tab.c, lex.yy.c, scan.c:
Decrement ss->scan in scan_end callback
2002-12-07 16:06 strtok
* src/: scan.c, scan.h: Added debug code in callbacks. Pass scs as
the data element of the scanner callback, we might need scs->name
later on for logs
2002-12-07 15:40 strtok
* src/: main.c, scan.c, scan.h: Added scan_cycle to scan.c
2002-12-07 15:36 strtok
* src/scan.c: Increase scan count on opm_scan
2002-12-07 15:27 strtok
* src/: config.tab.c, config.y, irc.c: Fixed sizeof(ChannelConf)
instead of sizeof(UserConf) in config.y (OOPS!)
2002-12-07 15:06 strtok
* src/scan.c: Actually add ms to MASKS in scan.c this time! Match
connecting user against masks and add to all matching scanners.
2002-12-07 14:44 strtok
* src/: scan.c, scan.h: Added shell of libopm callbacks to scan.c
2002-12-07 13:26 strtok
* src/: config.c, main.c, scan.c, scan.h: Added scan_create to
scan.c Added scan_free to scan.c
2002-12-07 12:49 strtok
* src/: config.c, scan.c: In config.c always show which file we're
loading (don't use OPT_DEBUG) In scan.c, use OPT_DEBUG > 0 for
showing MASK->SCANNER linking
2002-12-07 12:22 strtok
* src/: config.c, config.tab.c, config.y, dlclist.c, irc.c,
lex.yy.c, malloc.c, malloc.h, scan.c: Fixed typos in config.y th
at were causing memory corruption.
2002-12-07 02:01 strtok
* src/: config.c, config.h, config.l, config.tab.c, config.tab.h,
config.y, lex.yy.c, main.c, malloc.c, scan.c, scan.h: Added
scan_init
2002-12-07 00:00 strtok
* bopm.conf.sample, src/config.c, src/config.h, src/config.l,
src/config.tab.c, src/config.tab.h, src/config.y, src/inet.h,
src/lex.yy.c, src/scan.c: Added SCANNER block to config parser
2002-12-06 21:28 strtok
* src/libopm/src/: libopm.h, opm.h: Removed inet.h from opm.h.
There was no reason for this inclusion.
2002-12-06 13:51 andy
* Makefile.in, aclocal.m4, configure, configure.in,
src/Makefile.am, src/Makefile.in: Remove bopchecker. Rebuild
autotools. Statically link bopm with libopm.a.
2002-12-04 22:23 strtok
* src/: Makefile.am, Makefile.in, config.c, config.h, config.tab.c,
config.y, lex.yy.c, scan.h: Added scan_struct to scan.c.
2002-12-02 13:35 andy
* src/libopm/: Makefile.in, aclocal.m4, src/Makefile.in: Update
autotools.
2002-12-02 13:34 andy
* src/libopm/.cvsignore: [no log message]
2002-11-23 14:38 strtok
* src/: config.c, irc.c, scan.c: Cleaned up GPL license headers
2002-11-23 14:17 strtok
* src/: irc.c, scan.c, scan.h:
Pass control from irc.c to scan.c when a user connects
2002-11-23 13:18 strtok
* bopm.conf.sample, src/config.c: Added default connregex value.
Added sample connregex for hybrid to development conf
2002-11-23 13:13 strtok
* src/: config.h, config.l, config.tab.c, config.tab.h, config.y,
irc.c, lex.yy.c: Added connection notice parsing using a regular
expression
2002-11-22 14:06 strtok
* src/: irc.c, irc.h: Moved parc/parv to scope of irc_parse and
they're not passed by function. Added the start of m_notice
2002-11-21 21:51 strtok
* bopm.conf.sample: Changed bopm.conf.sample to reflect new
configuration options
2002-11-19 22:59 strtok
* src/config.tab.h: Added config.tab.h to project
2002-11-19 22:58 strtok
* Makefile.in, aclocal.m4, configure, src/irc.c, src/irc.h: Further
work on new irc.c
2002-11-13 21:39 strtok
* src/: config.c, config.h, config.l, config.tab.c, config.y,
irc.c, irc.h, lex.yy.c: Added more configuration directives.
Begin rewrite of IRC parser.
2002-11-12 14:02 strtok
* src/libopm/: Makefile.in, doc/libopm-api.txt, src/Makefile.in,
src/libopm.c, src/opm.h: Added data element to OPM_REMOTE_T
2002-11-12 12:37 strtok
* src/: Makefile.am, Makefile.in, config.c, config.h, config.l,
config.tab.c, config.y, dnsbl.c, irc.c, lex.yy.c, main.c,
negcache.c, scan.c: Added config.tab.c, lex.yy.c, malloc.c and
list.c to Makefile.am Added Options { negcache, pidfile } to
config parser
2002-11-12 00:57 strtok
* src/: bopchecker.c, bopchecker.h, compat.c, config.c, config.h,
config.l, config.tab.c, config.y, dlclist.c, dlclist.h, dnsbl.c,
dnsbl.h, extern.h, inet.c, irc.c, irc.h, lex.yy.c, list.c,
list.h, log.c, log.h, main.c, malloc.c, malloc.h, match.c,
match.h, misc.c, negcache.c, negcache.h, opercmd.c, opercmd.h,
options.h, scan.c, scan.h, scanwarn.c, scanwarn.h, stats.c,
stats.h: Replaced config parser with flex/bison based parser.
Ran code through an auto formatter to standardize the BOPM with
libopm (style=ansi, 3 space indentation) Replaced malloc/free
calls with malloc.c wrappers from libopm Added generic list class
2002-11-12 00:40 dgl
* src/irc.c: Serious bug fix. Due to a lack of checking some
messages would be treated as server notices when in fact they
came from user input. This can result in a user being able to
scan any host or possibily cause bopm to segfault.
2002-11-11 20:22 strtok
* configure: Version is now 3.0pre1
2002-11-11 16:06 andy
* configure, configure.in: New opm report address.
2002-11-10 03:56 dgl
* src/libopm/OPM/bopchecker.pl: AnalogX proxy
(http://www.analogx.com/contents/download/network/proxy.htm)
seems to use port 6588
2002-11-07 18:56 strtok
* src/libopm/src/list.h: Added proper GPL to hybrid copyright
2002-11-07 13:09 strtok
* src/libopm/src/malloc.h: Added (void **) cast to MyFree #define
to avoid warning
2002-11-07 12:19 strtok
* src/libopm/src/: libopm.c, malloc.c, malloc.h: Added code to
MyFree to NULL a pointer after freeing it
2002-11-07 11:53 strtok
* src/libopm/src/malloc.c: Added != NULL check on MyFree as to
avoid having to check for NULL BEFORE MyFree is called everytime
2002-11-06 17:37 strtok
* src/libopm/src/: libopm.c, libopm.h, proxy.c, proxy.h: Added
SENDBUFLEN and READBUFLEN.
2002-11-06 16:38 dgl
* src/libopm/OPM/bopchecker.pl: Added some more http ports and put
the adding code in a loop as generally http post and http are the
same ports.
2002-11-06 16:31 dgl
* src/libopm/OPM/bopchecker.pl: It does help if you test after
changing from using a : to a space as the seperator
----------------------------------------------------------------------
Enter Log. Lines beginning with `CVS:' are removed automatically
Committing in . CVS: CVS: Modified Files: CVS: bopchecker.pl
----------------------------------------------------------------------
2002-11-06 16:26 dgl
* src/libopm/OPM/: OPM.xs, bopchecker.pl: Make use of the
opm_remote_addtype function by adding support for scanning
additional ports in bopchecker.pl
Changed names to be consistant with rest of libopm Cisco ->
ROUTER POST -> HTTPPOST and all uppercase names.
2002-11-05 23:36 strtok
* src/libopm/src/: config.c, test.c: Fixed memory leaks in config.c
2002-11-05 23:12 strtok
* src/libopm/src/: libopm.c, malloc.c, test.c: Fixed a bug where a
freed conn was possibly used in the scan end code
2002-11-05 15:03 strtok
* src/libopm/: doc/libopm-api.txt, src/test.c: Added note about the
void * argument to the callback functions in the API
documentation
2002-11-05 13:42 strtok
* src/libopm/: doc/libopm-api.txt, src/libopm.c, src/opm.h,
src/test.c: Added opm_remote_addtype function
2002-11-02 06:35 dgl
* src/: dnsbl.c, stats.c: I like stats :) Added DNSBL reporting
stats (also provides a nice way to check if dnsbl reporting is
enabled..)
2002-11-02 03:18 dgl
* src/libopm/OPM/OPM.pm: 10 seconds timeout isn't always quite
enough..
2002-11-01 02:26 dgl
* src/inet.c: Removed u_char so _BSD_SOURCE doesn't have to be
defined in some cases. (Namely running bopm under dietlibc - the
static file is smaller than a dynamic file from glibc :)).
2002-10-31 12:07 dgl
* src/libopm/OPM/OPM.pm: lowered fdlimit
2002-10-31 09:08 dgl
* src/dnsbl.c: do send http post to dnsbl now
2002-10-31 04:04 dgl
* src/dnsbl.c: as would not typoing like mad :(
2002-10-31 04:04 dgl
* src/dnsbl.c: and writing the rest of the code would help..
2002-10-31 04:00 dgl
* src/dnsbl.h: Added HTTP POST to dnsbl code
2002-10-27 22:34 strtok
* src/libopm/: OPM/OPM.xs, OPM/bopchecker.pl, OPM/test.pl,
src/test.c: Removed TYPE_CUSTOM from perl module. Added
TYPE_HTTPPOST to perl module.
2002-10-27 22:06 strtok
* src/libopm/src/: libopm.c, opm_types.h, proxy.c, proxy.h, test.c:
Added dg's post proxy detection code. Tested on webcache.bt.net
2002-10-27 21:49 strtok
* src/libopm/src/: libopm.c, malloc.c: Added assert on calloc fail
2002-10-27 17:20 strtok
* src/libopm/src/libopm.c: Cleaned up write_function/read_function
and added read_function functionality.
2002-10-27 17:13 strtok
* src/libopm/src/: libopm.c, libopm.h, opm.h, opm_types.h, proxy.c,
proxy.h, test.c: Removed libopm_addcustom and custom protocol
support.
2002-10-27 13:52 strtok
* src/libopm/src/libopm.c: Added comment for opm_active
2002-10-27 13:45 strtok
* src/libopm/src/libopm.c: Fixed bug where on timeouts, libopm did
a callback after freeing the conn struct! (found by dg)
2002-10-27 12:07 dgl
* src/libopm/OPM/OPM.xs: removed remote callbacks
2002-10-27 11:20 strtok
* src/libopm/: doc/libopm-api.txt, src/libopm.c, src/opm.h: Removed
remote struct callbacks, now only scanner-wide callbacks are
used.
2002-10-27 07:35 dgl
* src/libopm/OPM/: OPM.xs, bopchecker.pl: return textual versions
of the protocols (and http post scanning in bopchecker - when
custom protocols work that is)
2002-10-27 06:45 dgl
* src/libopm/OPM/.cvsignore: ignore Makefile too
2002-10-27 06:45 dgl
* src/libopm/OPM/bopchecker.pl: port wrong around around
2002-10-27 06:17 dgl
* src/libopm/: OPM/OPM.xs, OPM/bopchecker.pl, src/libopm.c:
OPM/bopchecker.pl: Added bopchecker.pl script (if you don't want
to install the module to the whole system you can test it with):
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch"
bopchecker.pl
src/libopm.c: OPM/OPM.xs: Added opm_active to return number of
active scans (so bopchecker can exit when it has finished).
src/libopm.c: Cleaned up read() code so it didn't rely on timeout
when the tcp port is closed.
2002-10-26 12:10 dgl
* src/libopm/OPM/: .cvsignore, Changes, MANIFEST, Makefile.PL,
OPM.pm, OPM.xs, README, test.pl, typemap: The opm perl module!
2002-10-26 11:51 dgl
* src/libopm/src/: libopm.c, opm.h, test.c: patch to add data as
param for callbacks..
2002-10-26 11:41 dgl
* src/dnsbl.c: added check to stop null pointer dereference
2002-10-26 11:36 dgl
* src/: dnsbl.c, dnsbl.h: dnsbl messages show the type of proxy the
dnsbl has recorded it as (for opm.blitzed.org anyway).
2002-10-26 09:17 dgl
* src/scan.c: don't scan again if the connection is maked as closed
2002-10-26 09:02 dgl
* src/scan.c: logic error type thing
2002-10-24 13:18 dgl
* src/: dnsbl.c, scan.c, scan.h: scan: - HTTP Post proxies are now
scanned - Code to not connect to a port more than once and won't
try again if it's closed (probably helps with limited connections
too) This adds a stage field into the protocol struct: 0 = scan
first time 1 = scan second time only if port is open.
dnsbl.c: - Don't submit HTTP Post to dnsbl
2002-10-15 18:19 strtok
* src/libopm/src/proxy.c: Added logic to libopm_proxy_custom that
finished parsing if the target string is larger than 511
characters
2002-10-15 13:00 strtok
* src/libopm/src/libopm.c: Initialize id and format to NULL in the
built in protocol table
2002-10-15 12:55 strtok
* src/libopm/src/: libopm.c, libopm.h, opm.h, proxy.c, proxy.h,
test.c: Added custom protocol support
2002-10-12 14:28 strtok
* src/libopm/src/: config.c, libopm.c, libopm.h, opm_types.h: Added
default config settings
2002-09-23 17:41 strtok
* src/libopm/: doc/libopm-api.txt, src/libopm.c, src/opm_error.h:
Abort scans where there are no protocols defined (bug found by
dg). In check_queue use LIST_SIZE of the individual connections
list instead of the global protocols list when determining the
projected file descriptor size
2002-09-21 20:42 strtok
* src/libopm/doc/libopm-api.txt: Fixed 'opm_remote_free' section
header
2002-09-21 16:24 strtok
* src/libopm/doc/libopm-api.txt: Removed addr from OPM_REMOTE_T
listing in api doc
2002-09-21 16:10 strtok
* src/libopm/src/: config.c, inet.h, libopm.c, opm_error.h, test.c:
Added IPV4 Binding functionality Added OPM_ERR_NOFD
(CALLBACK_ERROR) Added OPM_ERR_BIND (CALLBACK_ERROR)
2002-09-21 15:33 strtok
* src/libopm/: doc/libopm-api.txt, src/libopm.c, src/libopm.h,
src/opm.h, src/opm_error.h, src/test.c: Moved OPM_REMOTE_T::addr
to OPM_SCAN_T::addr Added OPM_ERR_BADADDR on return of opm_scan
if the IP is bad
2002-09-20 23:59 strtok
* src/libopm/doc/libopm-api.txt: Added proxy types to API doc Fixed
> on email in API doc
2002-09-20 22:50 strtok
* src/libopm/doc/libopm-api.txt: Better describing of OPM_ERR_T
codes in libopm-api.txt
2002-09-20 22:09 strtok
* src/libopm/: doc/libopm-api.txt, src/libopm.c: Updated
libopm-api.txt
2002-09-20 20:31 strtok
* src/libopm/src/: malloc.c, malloc.h: Renamed malloc wrappers with
libopm_ prefix and added #defines for MyMalloc and MyFree
2002-09-20 19:41 strtok
* src/libopm/src/: libopm.c, proxy.c, proxy.h: Prefixed proxy
functions with libopm_
2002-09-20 18:42 strtok
* src/libopm/src/: libopm.c, libopm.h, list.c, list.h, opm.h,
opm_common.h: Prefixed functions in libopm.c and list.c with
libopm_ Made certain functions (which should be) static
2002-09-20 17:50 strtok
* src/libopm/src/: config.c, config.h, libopm.c, opm.h, proxy.c,
test.c: Changed all config.c functions to have a libopm_ prefix
2002-09-14 15:59 strtok
* src/libopm/doc/libopm-api.txt: Added libopm-api.txt
2002-09-14 14:58 strtok
* src/libopm/src/test.c: Use opm_callback on test.c instead of
opm_remote_callback
2002-09-14 13:44 strtok
* src/libopm/src/: libopm.c, libopm.h, opm.h, opm_error.h,
opm_types.h, test.c: Restructured callback code to use an array.
2002-09-13 19:07 strtok
* src/libopm/src/libopm.c: Removed printf's and comments used to
debug
2002-09-13 19:04 strtok
* src/libopm/src/: libopm.c, opm.h: Created a scan queue, if this
is working as it should be... the performance increase is
amazing.
2002-09-11 23:40 andy
* src/libopm/: configure, configure.in, src/setup.h.in: Check for
Nick Faldo
2002-09-11 23:14 andy
* src/libopm/: configure, configure.in, src/Makefile.am,
src/Makefile.in, src/setup.h.in: Removing a bunch of unused
autoconf tests.
2002-09-11 23:12 andy
* src/libopm/src/: compat.c, compat.h, proxy.c: Some systems don't
have inet_aton(), Solaris being a great example. Here's our own
implementation which is only included if inet_aton() is not
available.
2002-09-11 22:58 andy
* src/libopm/src/inet.c: If a system has strings.h, it needs to be
#included wherever string.h is #included.
2002-09-11 22:55 andy
* src/libopm/src/test.c: Check for unistd.h.
2002-09-11 22:50 andy
* src/libopm/src/.cvsignore: Ignore generated binary
2002-09-11 22:49 andy
* src/libopm/src/libopm.c: Check if we need & have sys/time.h.
2002-09-11 22:45 andy
* src/libopm/src/inet.h: Check HAVE_FCNTL_H.
2002-09-11 22:42 andy
* src/libopm/src/inet.h: Check HAVE_SYS_POLL_H.
2002-09-11 22:36 andy
* src/libopm/src/: config.c, inet.c, inet.h, libopm.c, list.c,
malloc.c, malloc.h, opm.h, proxy.c, test.c: Add RCS tags to all
.c files. Protect standard headers with STDC_HEADERS. Correct
missing "const" in inetntop() prototype.
2002-09-11 21:39 andy
* src/libopm/src/: Makefile.am, Makefile.in: DOn't install "test"
and "test_debug", they're just test programs.
2002-09-11 20:56 andy
* src/libopm/: config.guess, config.sub: All of these files I
initially copied in. But, apparently, "You should use the
libtoolize program, rather than manually copying these files into
your package." *smacked wrist*
2002-09-11 20:45 andy
* src/libopm/: Makefile.in, configure, configure.in: Change default
install prefix to /usr/local/libopm. Install LICENSE as well.
2002-09-11 20:41 andy
* src/libopm/: Makefile.am, Makefile.in, aclocal.m4, config.guess,
config.sub, configure, configure.in, depcomp, install-sh,
ltmain.sh, missing, mkinstalldirs, src/Makefile.am,
src/Makefile.in, src/setup.h.in: First stab at
autoconf/automake/libtoolizing libopm.
2002-09-11 20:40 andy
* src/libopm/.cvsignore: And again -- some people will need
./configure
2002-09-11 20:38 andy
* src/libopm/src/.cvsignore: More things for CVS to ignore.
2002-09-11 20:33 andy
* src/libopm/.cvsignore: A little bit zealous with the cvsignore
there.
2002-09-11 20:32 andy
* src/libopm/: .cvsignore, src/.cvsignore: autoconf / automake /
libtool produce lots of files that need to be ignored!
2002-09-11 11:49 strtok
* src/libopm/src/: config.c, libopm.c, malloc.c: Fixed various
major memory leaks. Made more NULL style changes.
2002-09-11 00:47 strtok
* src/libopm/src/: config.c, libopm.c: Added checks for NULL
function callbacks.
2002-09-09 13:15 strtok
* src/libopm/src/: libopm.c, test.c: Fixed scan_free and
connection_free clenaup
2002-09-09 11:48 strtok
* src/libopm/src/libopm.c: Fix for timeouts. Only timeout a socket
if it's not unestablished!
2002-09-09 11:44 strtok
* src/libopm/src/: libopm.c, opm.h: Added fd_limit functionality
Added unsigned int fd_use in OPM_T
2002-09-09 11:07 strtok
* src/libopm/src/test.c: Updated test.c to handle error callbacks
2002-09-09 10:50 strtok
* src/libopm/src/: config.c, libopm.c, opm_error.h, opm_types.h:
Added setup_remote function in libopm.c to fill a remote struct
with temporary connection struct information Added
OPM_CONFIG_MAX_READ and functionality Added OPM_CONFIG_TIMEOUT
and functionality Added OPM_ERR_MAX_READ and do_error
functionality
2002-09-09 00:54 strtok
* src/libopm/src/: libopm.c, test.c: Fixed timeout logic Fixed
passing of proper protocol on fun_timeout
2002-09-09 00:50 strtok
* src/libopm/src/: libopm.c, proxy.c, proxy.h, test.c: Converted
all protocols to libopm (cisco, socks4, socks5 and wingate)
2002-09-09 00:15 strtok
* src/libopm/src/: libopm.c, libopm.h, test.c: Added check_close
code Added fun_timeout functionality Added fun_end functionality
2002-09-08 23:28 strtok
* src/libopm/src/: libopm.c, test.c: Added callback functionality
for fun_negfail
2002-09-08 21:22 strtok
* src/libopm/src/: libopm.c, opm_error.h: Added OPM_ERR_BADPROTOCOL
2002-09-08 21:19 strtok
* src/libopm/src/: config.c, opm_error.h: Renamed
OPM_ERR_INVALIDKEY to BADKEY Renamed OPM_ERR_BADADDRESS to
BADVALUE
2002-09-08 21:16 strtok
* src/libopm/src/: config.c, libopm.c, libopm.h, opm.h,
opm_error.h, test.c: Added do_error function Added error codes
for opm_config return
2002-09-08 20:39 strtok
* src/libopm/src/: libopm.c, test.c: Added do_openproxy and open
proxy callback
2002-09-08 20:12 strtok
* src/libopm/src/: proxy.c, proxy.h: Added proxy.c/proxy.h which
contains protocol specific functions
2002-09-08 20:11 strtok
* src/libopm/src/: config.c, libopm.c, libopm.h, make, opm_error.h,
opm_types.h, test.c: Read in data from connection and check
against target string
2002-09-08 17:15 strtok
* src/libopm/src/list.c: Use NULL instead of 0 in list.c.
2002-09-08 16:56 strtok
* src/libopm/src/: inet.h, libopm.c, test.c: Added connect and poll
code
2002-09-06 02:28 andy
* bopm.conf.sample: bopm.conf.sample: Some people STILL don't get
what BINDIRC and BINDSCAN do and like to invent IP
addresses to put there, then wonder why it does not work.
2002-09-05 05:42 strtok
* src/libopm/src/: inet.h, libopm.c, list.h, opm_types.h: Added
check_poll function and start of poll() code Added do_readready
function Added do_writeready function
2002-09-04 21:28 strtok
* src/libopm/src/: inet.h, libopm.c, opm.h, test.c: Started socket
framework with check_established, check_poll and do_connect
2002-09-04 18:56 strtok
* src/libopm/src/: libopm.c, list.h, opm.h, test.c: Adapted DLINK
macros from hyb7 (androsyn)
2002-09-04 17:17 strtok
* src/libopm/src/inet.c: Added inet.c
2002-09-04 17:08 strtok
* src/libopm/src/: config.c, libopm.c, make, opm.h, test.c: Convert
IP to byte format on opm_remote_create
2002-09-04 15:46 strtok
* src/libopm/src/: config.c, libopm.c, opm.h, opm_types.h: Added
opm_cycle API function Fixed prototype for opm_remote_create
Changed config vars and types to use OPM_ prefix
2002-09-04 14:47 strtok
* src/libopm/src/: libopm.h, opm.h: Added comments to
libopm.h/opm.h
2002-09-04 14:43 enygma
* src/inet.c: fixed copyright notices and forgotten logging entry
2002-09-04 14:29 enygma
* src/inet.c: missing license header
2002-09-04 14:18 strtok
* src/libopm/src/: config.c, inet.h: Added config ADDRESS type
2002-09-04 13:57 strtok
* src/libopm/src/: config.c, inet.h, opm_types.h: Added inet.h with
common ipv4/ipv6
2002-09-03 23:51 strtok
* src/libopm/src/: config.h, libopm.h, opm.h, opm_error.h: Cleaned
up various header files. Moved config API functions from
config.h to opm.h
2002-09-03 23:36 strtok
* src/libopm/src/: libopm.h, opm.h: Seperated API and non API
definitions between opm.h and libopm.h respectively
2002-09-03 23:19 strtok
* src/libopm/src/: libopm.c, list.c, list.h, opm_common.h: Moved
list functions to list.h (structures still reside in
opm_common.h)
2002-09-03 23:15 strtok
* src/libopm/src/: config.c, config.h, libopm.c, libopm.h,
libopm_error.h, opm_error.h, opm_types.h: Moved libopm_error.h to
opm_error.h Moved all type #defines to opm_types.h
2002-09-03 23:10 strtok
* src/libopm/src/: libopm.c, libopm.h, list.c, list.h,
opm_common.h: Changed list.h to opm_common.h
2002-08-28 17:07 andy
* ChangeLog: ChangeLog: Updated for next release.
2002-08-28 12:16 andy
* configure, configure.in: Rebuild autoconf stuff in preparation
for -RC1 release.
2002-08-22 22:42 andy
* src/: negcache.c, negcache.h: src/negcache.[ch]:
Implementation of a patricia trie for storing IP addresses and
timestamps. This data structure will allow searches for nodes
with only log_2 N bit comparisons where N is the current number
of nodes. It also only requires as many nodes as there are
IP addresses to store.
Each node stores a key (the IP address), a timestamp, the
bit
index, and left and right branches. The bit index is
what makes
this different from a radix search tree, it tells us at
which bit
this node's key differs from those above it in the trie.
Properties of the trie:
1) The bit index always decreases as we follow the tree
from the head
to an external node.
2) Each branch of an external node points to the only
node that can
contain keys that match the bit pattern. All
searches terminate
at external nodes.
3) When trying to search for a bit pattern that is not
present in the
tree, you will hit an external node at the place
where your bit
pattern first deviates from all current nodes. You
can tell this
has happened because the next node's bit index will
be larger than
the current, which would be contrary to point (1).
4) Because the bit increments in each node store
information about
where each node's bit pattern differs from all
others in the tree,
extra nodes are not needed - unlike in a radix tree.
5) As for a radix tree, a patricia trie will always end
up the
same no matter what order the nodes are inserted.
2002-08-22 21:41 andy
* src/scan.c: src/scan.c: scans_active_for_addr() - walk the
scan list and check if there are any other scans in progress
for a given IP address (as specified in dot quad format).
When a scan fails and negative caching is enabled, check
if there
are other scans in progress for the same address. If
not, all
scans have failed and an entry should be added in the
negcache.
Walking the list after every scan seems inefficient but I
can't see
any other way to tell if there are no more scans active.
So, at
the moment this is a good reason for not using negative
caching.
2002-08-22 21:29 andy
* src/options.h: src/options.h NEG_CACHE_REBUILD: how long in
seconds between rebuilds of the negcache, if enabled.
2002-08-22 21:28 andy
* src/main.c: src/main.c: Periodically rebuild the negcache
(if enabled) to remove entries that are too old. Note
that even though this might only happen every 12 hours or
so, old entries are ignored by nc_search() anyway. This is
just to free up some memory.
2002-08-22 21:17 andy
* src/irc.c: src/irc.c: Upon connection to the IRC server,
initialise our negative cache (if negative caching is
enabled).
When a user connection is detected, search for their IP
in our
negative cache (if negative caching is enabled). If it
is present,
say so in the logfile and don't bother to scan them.
Note that negative caching is only implemented for IPv4
at the
moment -- shouldn't be hard to extend it to IPv6 though.
2002-08-22 21:12 andy
* src/config.c: src/config.c: CONF_NEG_CACHE stores the value of
the NEG_CACHE directive from the config.
2002-08-22 21:11 andy
* src/bopchecker.c: src/bopchecker.c: Dummy negcache_insert()
function so that the bopchecker hack continues to compile.
2002-08-22 21:10 andy
* src/: Makefile.am, Makefile.in: Makefile.in, src/Makefile.am,
src/Makefile.in: New automake entries for negcache.[ch],
rebuild makefiles.
2002-08-22 21:08 andy
* bopm.conf.sample: bopm.conf.sample: Documentation for new
NEG_CACHE directive which determines how long to cache
negative results for (if at all). WE DO NOT RECOMMEND THE
USE OF NEGATIVE CACHING!
2002-08-15 10:22 andy
* README: README: Typo.
2002-08-15 10:16 andy
* README: README: Added a requirements section, specifically
something about transparent proxies. This has been mentioned on
the lists before but should probably be in the README
since we have just discovered a host whose BOPM K:lined 100%
of users due to it being behind a transparent web proxy. (!)
2002-08-15 05:22 andy
* src/irc.c: src/irc.c: Code tidy.
2002-08-15 05:13 dgl
* src/irc.c: send ping to generate data
2002-08-12 20:44 andy
* bopm.conf.sample, src/config.c, src/config.h, src/dlclist.c,
src/dlclist.h, src/extern.h, src/irc.c, src/main.c,
src/options.h, src/scanwarn.c, src/scanwarn.h: bopm.conf.sample:
Document SCAN_WARNING directive.
src/config/h: Added new config directive type, TYPE_WILDLIST.
This will be like a linked list, but specifically for
wildcards (which is the only use we had for lists before now).
They are special because they a) need wildcards collapsed
and b) don't allow duplicate wildcards.
Normal linked lists will be of TYPE_LIST.
src/config.c: Rewrote add_to_list() and general linked list
implementation as we believe it has never worked.
Added CONF_SCAN_WARNING to hold linked list of notices
from the
SCAN_WARNING config directive.
New linked list code needs an init_lists() function to
allocate the
heads of all linked lists.
src/extern.h: Added CONF_SCAN_WARNING.
src/irc.c: Updated CONF_EXCLUDE code to match new linked
list implementation.
Removed some left over debug code.
src/main.c: Added a new function, scanwarn_timer(), in the
alarm loop. This function will get called once a second
and will empty the notice queue (described later).
src/options.h: Added option for how many notices to send per
second.
src/dlclist.[ch]: Implementation of generic doubly-linked
circular lists.
src/scanwarn.[ch]: Maintain a queue of pending notices to be
sent regarding scanning. A doubly-linked circular list is
used as a queue, new notices added after the head and removed
from before the head.
2002-08-12 20:28 andy
* configure, configure.in, src/Makefile.am, src/Makefile.in: Added
configure option for some excessive gcc3 warning flags
2002-08-12 20:25 andy
* README: README: Notes about IPv6 stuff. Note about newer
Unreal having different connect notice umodes.
2002-08-12 20:24 andy
* INSTALL: INSTALL: Extra IPv6 docs and some tidying up.
2002-08-12 12:15 strtok
* src/misc.c: Fixed clean. It would slice off the first character
of a string if there were no leading spaces!
2002-08-10 20:43 andryan
* contrib/crontab/bopmchk: just to make it work by default :)
2002-08-10 16:22 enygma
* src/irc.c: Finally made Bopm be able to bind() to ipv6 interfaces
on FreeBSD.
2002-08-10 16:09 enygma
* src/scan.c: Fixed scan.c and its bind() so that it also works on
FreeBSD.
2002-08-10 15:59 enygma
* src/irc.c: Fixed buggy bind() call.
2002-08-10 15:05 enygma
* src/irc.c: Changed the bopm_sockaddr bsadr so that sin_port and
sin_family are also set before bind() is called.
2002-08-10 12:47 andy
* src/inet.c: Some juggling of headers for BSD. From TimeMr14C.
2002-08-10 12:07 andy
* src/opercmd.c: src/opercmd.c: Stupidly missed a parameter
off the format, which causes segfault when a command
expires (virtually never, in practice). Also got the args
to dissect_time wrong!
2002-08-09 12:47 strtok
* src/libopm/src/: libopm.c, libopm.h: Changed OPM_SCAN_T::scans to
OPM_SCAN_T::connections Added connection_create function Added
connection_free function Added code to create the list of
connections/protocols in scan_create
2002-08-08 22:11 andy
* src/scan.c: src/scan.c: addr is a STRING containing the IP
address, casting it to "struct in_addr *" is not going to
make it one!
2002-08-08 21:32 andy
* src/irc.c: irc.c: Duh, should probably default to not trying
to bind IPv6 stuff.
2002-08-08 21:22 andy
* src/: Makefile.am, Makefile.in: src/Makefile.am: bopchecker
needs inet.c and inet.h, too.
2002-08-08 21:18 andy
* src/Makefile.in: Regenerate autoconf stuff
2002-08-08 21:17 andy
* src/: Makefile.am, irc.c, scan.c: src/irc.c: src/scan.c:
hide some more IPv6 code with #ifdef's.
src/Makefile.am: correct missing sources for inet.c and
inet.h.
2002-08-08 20:44 strtok
* src/libopm/src/: config.c, config.h: Updated config_free function
to free all data properly Added config_gettype(key) function
2002-08-08 17:32 strtok
* src/libopm/src/: config.c, config.h, libopm.h: Recode of config.c
to use an array of void* instead of struct
2002-08-08 11:15 andy
* bopm.conf.sample: bopm.conf.sample: Documentation of new
directives, and extra clues to try and solve the most
common support queries.
2002-08-08 11:14 andy
* src/config.c: src/config.c: Reformatting.
2002-08-08 10:11 andy
* Makefile.in, aclocal.m4, configure, depcomp, configure.in,
missing, src/Makefile.in: Update some autoconf stuff.
configure.in: Make IPv6 messages a little prettier with
AC_HELP_STRING, AC_MSG_CHECKING, AC_MSG_RESULT.
2002-08-08 10:07 andy
* .cvsignore, src/.cvsignore: Ignore automatically generated
autoconf stuff
2002-08-08 09:42 andy
* configure, configure.in, src/Makefile.in, src/bopchecker.c,
src/config.c, src/config.h, src/inet.c, src/inet.h, src/irc.c,
src/irc.h, src/scan.c, src/scan.h, src/setup.h.in: Merged in
TimeMr14C's IPv6 stuff to main branch.
2002-08-07 20:54 strtok
* src/libopm/src/: libopm.c, libopm.h, libopm_error.h: Added
opm_scan function Added scan_create function Added scan_free
function
2002-08-07 16:28 strtok
* src/libopm/src/: libopm.c, libopm.h: Renamed opm_init to
opm_create Renamed opm_remote to opm_remote_create
2002-08-07 15:53 strtok
* src/libopm/src/: config.c, libopm.c, libopm.h: Added
opm_remote_free function Moved prototypes for internal functions
from libopm.h -> libopm.c
2002-08-07 14:22 strtok
* src/libopm/src/: config.c, config.h, libopm.c, libopm.h,
libopm_error.h: Fixed memory leak in config_free Cleaned up
opm_free Added libopm_error.h (to hold error codes), and
OPM_ERR_T
2002-08-06 23:02 strtok
* src/libopm/src/: config.c, libopm.c, libopm.h, malloc.c: Further
work on opm_free
2002-08-06 19:45 strtok
* src/libopm/src/: config.c, config.h, libopm.c, libopm.h: Added
opm_free function Added protocol_config_free function
2002-08-06 18:13 strtok
* src/libopm/src/: libopm.c, libopm.h: Added opm_addtype function
2002-08-06 14:46 strtok
* src/libopm/src/: config.c, config.h, libopm.c, libopm.h: Added
opm_config and config_set functions
2002-08-05 15:09 strtok
* src/libopm/src/: config.c, config.h: Added config.c/config.h to
seperate config functions from the API
2002-08-05 15:07 strtok
* src/libopm/src/: libopm.c, libopm.h, malloc.c: Added opm_init()
and config_create()
2002-08-05 14:33 strtok
* src/libopm/src/: libopm.c, libopm.h: Restructured structures
2002-08-05 12:51 strtok
* src/libopm/src/: libopm.c, list.c, list.h: No longer need
list_t** in list_add and list_remove, this was from the attempted
polymorphic code No need to cast returns from malloc
2002-08-05 11:46 strtok
* src/libopm/src/: libopm.c, libopm.h, list.c, list.h, malloc.c,
malloc.h: Moved source files to src
2002-08-05 11:42 strtok
* src/libopm/: libopm.c, libopm.h, list.c, list.h, malloc.c,
malloc.h: Moved source files to src
2002-08-05 11:14 strtok
* src/libopm/: list.c, list.h:
----------------------------------------------------------------------
Don't need list_t ** anymore in list_add, list_remove. This was
from the attempted polymorphic code.
2002-08-05 11:07 strtok
* src/libopm/: libopm.c, list.c: Removed any casts on MyMalloc
2002-08-05 01:29 strtok
* src/libopm/list.c: Fix for if head is also tail (1 element), this
code really would be cleaner if circular
2002-08-05 01:08 strtok
* src/libopm/: list.c, list.h: Changed all malloc/free to
MyMalloc/MyFree in list.c Added node_free and list_free functions
2002-08-05 00:55 strtok
* src/libopm/list.c: Added elements to track number of elements in
a list
2002-08-05 00:54 strtok
* src/libopm/: list.c, list.h: Revamped list code to include a
list_t and node_t
2002-08-04 20:31 strtok
* src/libopm/: list.c, list.h: Added list_create function to create
a list node Added list_add function to add a list node to a list
2002-08-03 19:01 strtok
* src/libopm/libopm.c: opm_new DOES have a return value
2002-08-03 18:56 strtok
* src/libopm/: libopm.c, libopm.h: Added initializations to opm_new
2002-08-03 18:25 strtok
* src/libopm/libopm.c: Oops wrote over libopm.c with libopm.o (gcc
-o libopm.c -c libopm.c)!
2002-08-03 18:15 strtok
* src/libopm/: libopm.c, libopm.h, malloc.c:
Added opm_new and opm_free functions. Added comments to malloc.c
and libopm.c.
2002-08-03 17:16 strtok
* src/libopm/: malloc.c, malloc.h:
Added malloc/free functions, should make porting and error
handling easier in the future.
2002-08-03 16:25 strtok
* src/libopm/: LICENSE, libopm.c, libopm.h: Initial revision
2002-08-03 16:25 strtok
* src/libopm/: LICENSE, libopm.c, libopm.h: initial import
2002-08-02 12:38 andy
* bopm.conf.sample: Apparently this just was not obvious enough,
nicks changed to protect the stupid:
<User> [Aug 02 19:16:23 2002] MAIN -> BOPM 2.3 started. <User>
[Aug 02 19:16:23 2002] MAIN -> Reading configuration file...
<User> [Aug 02 19:16:24 2002] IRC -> connect(): Unknown error
connecting to (some.random.net) <User> then it just ends =\
<grifferz> [andy@fullers services]$ telnet some.random.net 6667
<grifferz> Trying 4.5.6.7... <grifferz> no response <User> yea
<User> thats not real <User> wait <User> that might be why <User>
hang on <grifferz> how did you expect it to work then? <grifferz>
... <User> u should make it more clear
2002-07-27 12:24 strtok
* src/scan.c:
scan.c: Added socks5 request. We were authing (so that we could
receive back a 'success', but we were NOT requesting a
destination IP.
2002-07-08 06:28 andy
* bopm.conf.sample: ircU GLINE example.
2002-06-30 19:46 andy
* configure, configure.in, src/Makefile.in, src/bopchecker.c,
src/config.c, src/config.h, src/inet.c, src/inet.h, src/irc.c,
src/irc.h, src/scan.c, src/scan.h, src/setup.h.in: Yusuf
Iskenderoglu's ongoing ipv6 work
2002-06-02 04:43 andy
* src/irc.c: src/irc.c: Handling of &channels was
completely broken, thanks to TimeMr14C for bug report.
2002-05-27 05:08 andy
* src/main.c: src/main.c: Only fclose() if we managed to
fopen().
2002-05-26 00:32 andy
* contrib/bopm.spec: bopm.spec: You can build Red Hat
(S)RPMs from this.
2002-05-25 23:26 andy
* bopm.conf.sample, src/config.c, src/extern.h, src/main.c:
src/config.c, src/extern.h: Add support for PIDFILE
config option.
bopm.conf.sample: Document PIDFILE config option.
main.c: Get PIDFILE path from config file, delay writing
of PIDFILE until after logfile is read.
2002-05-25 22:45 andy
* Makefile.in: Makefile.in, src/Makefile.in: Regenerated after
typo.
2002-05-25 22:44 andy
* Makefile.am: Makefile.am: Typo.
2002-05-25 22:33 andy
* Makefile.in, aclocal.m4, configure, src/Makefile.in: Disable
Autoconf maintainer mode
2002-05-25 22:32 andy
* configure.in: configure.in: Apparently I don't want it in
maintainer mode otherwise it tries to rebuild all the
autoconf stuff.
2002-05-25 22:24 andy
* README: README: More docs.
2002-05-25 22:18 andy
* INSTALL: INSTALL: Documentation for new build process.
2002-05-25 22:07 andy
* src/main.c: src/main.c: Remove option '-v' which used to be
for changing the "vardir" where config and log would go.
This is now controlled by ./configure settings.
2002-05-25 22:02 andy
* .cvsignore: .cvsignore: Sources were moved, so this can be
pruned a bit.
2002-05-25 22:01 andy
* src/: Makefile.am, Makefile.in, bopchecker.c, bopchecker.h,
compat.c, compat.h, config.c, config.h, dnsbl.c, dnsbl.h,
extern.h, irc.c, irc.h, log.c, log.h, main.c, match.c, match.h,
.cvsignore, misc.c, misc.h, opercmd.c, opercmd.h, options.h,
scan.c, scan.h, setup.h.in, stats.c, stats.h: Sources moved to
src/ dir.
2002-05-25 21:56 andy
* bopchecker.c, bopchecker.h, compat.c, compat.h, config.c,
config.h: Sources moved to src/ dir.
2002-05-25 21:55 andy
* aclocal.m4, config.guess, config.sub, install-sh, missing,
mkinstalldirs: More stuff that Automake requires.
2002-05-25 21:54 andy
* Makefile.am: Makefile.am: Makefile.in is generated from here,
and this controls which subdirs get checked for other
Makefile.am.
2002-05-25 21:53 andy
* Makefile.in: Makefile.in: Oops, but we need to generate it
and distribute it.
2002-05-25 21:53 andy
* Makefile.in: Makefile.in: Now autogenerated from Makefile.am
by Automake.
2002-05-25 21:51 andy
* configure, configure.in: configure.in: Converted to use
Automake. Also edit this file to set version number.
2002-05-25 21:50 andy
* version.h: This file no longer needed.
2002-05-25 21:50 andy
* dnsbl.c, dnsbl.h, extern.h, irc.c, irc.h, log.c, log.h, main.c,
match.c, match.h, misc.c, misc.h, opercmd.c, opercmd.h,
options.h, scan.c, scan.h, setup.h.in, stats.c, stats.h: Sources
moved to src/ dir.
2002-05-25 08:19 andy
* irc.c: irc.c: Oper up after doing the other "on connect"
things in an attempt to play nice with some starnge ircd
that wants all opers to be identified to their nick first..
2002-05-23 10:04 andy
* Makefile.in: Makefile.in: bopchecker needs compat stuff too.
2002-05-22 21:22 andy
* Makefile.in, README, compat.c, compat.h, configure, configure.in,
irc.c, setup.h.in: Merged SOLARIS_PORT branch.
2002-05-22 21:13 andy
* Makefile.in, README, configure, configure.in: configure.in,
configure: Check if libsocket and libnsl are needed (like
on Solaris!)
Makefile.in: Placeholders for libs
2002-05-22 20:31 andy
* compat.c, compat.h, configure, configure.in, setup.h.in:
configure.in, configure, setup.h.in: Check for
inet_aton()
compat.c, comapt.h: Provide our own inet_aton() if the system
does not have one.
2002-05-22 18:27 andy
* Makefile.in, compat.c, configure, configure.in, irc.c,
setup.h.in: Makefile.in, compat.c: Add compat.c, where
compatability routines will go.
configure.in, configure: Check for strings.h, Solaris
seems to want to put index() there.
irc.c: Include strings.h if we have it.
2002-05-22 17:29 andy
* compat.h, irc.c: compat.h: Header file for compatability stuff
(duh). Solaris at least doesn't have INADDR_NONE. irc.c:
Include compat.h.
2002-05-20 22:02 strtok
* ChangeLog:
ChangeLog: Updated for version 2.3 release
2002-05-17 12:31 strtok
* scan.c, stats.c:
scan.c: Ubermicro optomization on flagging STATE_CLOSED on all
connections with the same IP by eliminating use of strcmp.
stats.c: Output file descriptor use in stats now. This will be
useful for larger servers running bopm.
2002-05-14 15:07 strtok
* version.h:
version.h: Version 2.3 now
2002-05-14 04:38 andy
* contrib/crontab/bopmchk: Useful crontab from skold
<skold@habber.net>
2002-05-13 20:37 strtok
* bopm.conf.sample:
bopm.conf.sample: Extra clues for the idiots changing their
KLINE_COMMAND without knowing what they're
doing.
2002-05-13 17:59 strtok
* scan.c, stats.c:
scan.c: Fixed problem with FD_USE being decremented when it
shouldn't have been
2002-05-12 11:43 strtok
* scan.c:
scan.c: Fixed logic error when adding fd's to the poll array
2002-05-06 15:39 strtok
* ChangeLog:
ChangeLog: Updated changelog for 2.2r2
2002-05-06 15:29 strtok
* irc.c:
irc.c: Caught any NULL returns from strtok in the connect
handlers.
2002-05-06 15:09 andy
* irc.c: irc.c: Oops, looks like Unreal sends a server
notice that is too much like an ultimate ircd notice. Here's a
hopeful quick fix.
2002-05-06 12:17 strtok
* irc.c:
irc.c: With debug level >= 1, with unknown connect() error print
strerror
2002-05-06 11:14 strtok
* ChangeLog:
ChangeLog: Updated changelog for 2.2r1
2002-05-06 11:10 strtok
* ChangeLog:
ChangeLog: Updated changelog for 2.2r1
2002-05-06 06:00 dgl
* main.c: Fixing -c param bug (which has broken -c option since -v
option was added (rel 1.23)). TheShadow reported this in
#blitzed
2002-05-04 20:16 andy
* ChangeLog: ChangeLog: Updated.
2002-05-04 18:54 andy
* main.c: main.c: Apparently using _exit is the correct thing
to do.
2002-05-04 11:48 strtok
* bopm.conf.sample, config.c, extern.h, scan.c:
scan.c, config.c, extern.h, bopm.conf.sample: Added CONF_TIMEOUT
and TIMEOUT directive to allow for configurable scan
timeouts (suggested by lilo).
2002-05-01 10:44 andy
* irc.c, bopm.conf.sample, config.c, extern.h: irc.c, config.c,
extern.h: Added config option REALNAME which allows bopm's
IRC "realname" to be configured.
bopm.conf.sample: Sample REALNAME
2002-05-01 09:58 andy
* stats.c, stats.h: stats.c, stats.h: Reformatiing
2002-04-30 21:01 andy
* scan.c, scan.h: scan.c, scan.h: Reformatting.
2002-04-30 16:24 andy
* irc.c, opercmd.c, opercmd.h: opercmd.c: Reformatting.
opercmd.h: Reformatting, moved some global variable
declarations to opercmd.c irc.c: Needed an extern to get
access to LAST_REAP_TIME.
2002-04-30 15:41 andy
* misc.c, misc.h: misc.c, misc.h: Reformatting.
2002-04-30 14:53 andy
* main.c: main.c: Reformatting.
2002-04-30 13:14 andy
* log.c, log.h: log.c, log.h: Reformatting.
2002-04-29 20:01 andy
* irc.c, irc.h: irc.c: Code cleanups. Added check_channel()
function to check if a given channel is one of our
configured reporting channels. Made a bunch of irc.c
private fucntions have static linkage. irc.h: Code
cleanups.
2002-04-29 17:37 andy
* dnsbl.c, extern.h, log.c, misc.c, opercmd.c, stats.c: extern.h:
Code format cleanup. Move include of config.h to files that
need it.
dnsbl.c, log.c, misc.c, opercmd.c, stats.c: Add include for
config.h.
2002-04-29 10:10 strtok
* bopm.conf.sample:
bopm.conf.sample: Fixed TARGET_STRING sample
2002-04-29 09:17 andy
* dnsbl.c, dnsbl.h: dnsbl.c: Formatting cleanup & added more
descriptive error message when gethostbyname() fails (is man
page wrong?)
dnsbl.h: Formatting cleanup.
2002-04-29 07:20 andy
* config.c: config.c: Doh, KEYS is not required for normal
operation.
2002-04-29 07:18 andy
* bopchecker.h: bopchecker.h: Open cisco router bit mask.
2002-04-29 07:15 andy
* config.c, config.h: config.c: Tidied up indentation.
Added static linkage for all private config functions.
Added add_to_list() to simplify adding values to
configuration
lists.
Added free_list() to simplify clearing out each config
list at
startup/rehash.
Added add_to_config() to simplify adding a key/value pair
to our
config hash.
config.h: Neater indentation, some prototypes moved to
config.c.
2002-04-28 22:57 strtok
* scan.c:
scan.c: Uncommented CISCO from scan table as efnet reports it is
working properly
2002-04-28 11:20 andy
* bopchecker.c, bopchecker.h: Code clean up.
2002-04-28 10:35 andy
* bopchecker.c, config.c, extern.h, irc.c, main.c, misc.c,
opercmd.c, opercmd.h, scan.c, stats.c: bopchecker.c:
Hacks to avoid unused variable warnings. config.c: Code
cleanups. extern.h: Code cleanups. irc.c: Code cleanups.
main.c: Merged singal handlers into one function, code
cleanups. misc.c: Code cleanups. opercmd.c, opercmd.h:
2nd parameter of checkoper was never used. scan.c: Code
cleanups. stats.c: Code cleanups.
2002-04-26 15:20 andy
* bopm.conf.sample: bopm.conf.sample: Better example config
suggestion from Erik / Andrew Church.
2002-04-26 14:32 andy
* bopm.conf.sample, config.c, extern.h, irc.c: config.c,
bopm.conf.sample: Added KEYS config parameter.
irc.c: Added support for channel keys, plus helper function
get_chan_key() which looks up the correct key for a given
channel.
2002-04-25 14:27 strtok
* scan.c:
scan.c: Commented HTTP 8000 out of the scan table, those who wish
to scan on this port can easily uncomment it.
2002-04-24 23:24 strtok
* scan.c:
scan.c: Removed use of scan_del() where STATE_CLOSED should have
been set instead.
2002-04-24 21:41 strtok
* options.h, scan.c:
scan.c/options.h: Added MAXREAD (default 4096), max amount of
bytes read from any port before the connection is
considered a flood and failed.
2002-04-24 21:17 strtok
* scan.c:
scan.c: Fixed bug which caused freezing if data was virtually
endless (reported by qurve/qeast
2002-04-24 19:42 strtok
* scan.c:
scan.c: Fixed scan_struct data bug where it tried to free data
even if it wasn't malloc yet.
scan.c: Commented out cisco and http port 8001 scanning, because
servers will be using this commit live.
2002-04-24 04:43 andy
* bopm.conf.sample: bopm.conf.sample: Less Blitzed-like pages
from Tom Gilder <tom@blitzed.org>
2002-04-23 09:56 andy
* irc.c, irc.h: irc.c: Here's support for ultimate ircd.
2002-04-17 16:25 andy
* README, main.c, options.h: main.c, options.h: -v option
from Harald Skoglund <harald@hekta.stud.iet.hist.no>
README: Documentation of command line options.
2002-04-17 15:16 andy
* bopm.conf.sample: README: Again some notes added for SCANPORT
because lots of people are having a hard time
understanding what this is for.
2002-04-14 04:03 dgl
* README: typo, the hybrid team didn't write math.[ch] :)
2002-04-10 21:56 andy
* scan.c: scan.c: So much call for HTTP scanning on ports
8000, 8001. Well, let's try it for a while and see.
2002-04-03 18:32 andy
* bopm.conf.sample: bopm.conf.sample: Many people appear to be
getting confused over this.
2002-03-31 11:33 andy
* README: Strange Unrealism.
2002-03-30 21:31 andy
* README: Mailman moved to a slightly simpler URL.
2002-03-21 09:23 andy
* README: More IRCu notes from wunix <wu@wunix.org>
2002-03-19 05:25 andy
* README: README: Some compatibility notes from Erik Fears
<strtok@softhome.net>
2002-03-03 13:49 andy
* configure, configure.in: configure.in: Added DNSBL begging
text
2002-02-25 21:07 strtok
* scan.c: scan.c: Moved Cisco up in hash table so that it is tried
before wingate, because cisco routers only allow 4 connections at
once (pointed out by JPayne)
2002-02-24 23:16 strtok
* scan.c:
scan.c: Cisco scanning now works
2002-02-24 23:08 strtok
* version.h: version.h: Incremented version to 2.2 so we can
identify any bopms that have cvs updated
2002-02-24 23:07 strtok
* scan.c: scan.c: Actually send() data for cisco check now (oops)
2002-02-24 22:57 strtok
* scan.c, scan.h: scan.c/scan.h: Added open cisco router scanning
2002-02-22 03:06 andy
* README: README: Credits for Collide.
2002-02-22 03:05 andy
* irc.c, irc.h: irc.c: Added three new functions,
do_hybrid_connect(), do_xnet_connect() and
do_trircd_connect(). This could be modularised further but for
now this gets rid of some duplication. Each function is for
processing the connect notices of different classes of ircd.
do_trircd_connect() adds support for tr-ircd, which has a
&connects
channel instead of a +c umode.
2002-02-19 15:29 andy
* ChangeLog: ChangeLog: Update dfor next release
2002-02-19 15:10 andy
* configure, configure.in: configure.in: $ac_c deprecated
2002-02-19 15:04 andy
* configure, configure.in: configure.in: Fix broken "echo
-n" check
2002-02-19 15:00 andy
* configure, configure.in, setup.h.in: configure.in: Fix
sys/poll.h check
2002-02-19 14:57 andy
* acconfig.h, configure, configure.in, setup.h.in: configure.in:
Get rid of need for acconfig.h acconfig.h: No longer
needed
2002-02-19 12:55 strtok
* version.h: version.h: Incremented version to 2.1
2002-02-19 12:46 strtok
* scan.c: Fix for select()
2002-02-17 09:15 andy
* README: README: Some credits we missed, oops.
2002-02-16 19:52 andy
* ChangeLog: [no log message]
2002-02-16 18:35 andy
* irc.c: irc.c: Doh! Need to check we have enough tokens
before blindly accessing tokens[6].
2002-02-16 10:44 andy
* ChangeLog: [no log message]
2002-02-16 10:43 andy
* configure, configure.in: configure.in: Added a bit about
using GNU Make.
2002-02-16 10:37 andy
* ChangeLog: [no log message]
2002-02-16 10:36 strtok
* config.c: config.c: Fixed -> typo
2002-02-16 10:35 strtok
* config.c: config.c: DEBUG level 3 now also prints out LISTS with
other config elements
2002-02-16 10:17 andy
* ChangeLog: ChangeLog: Idea - let's remove changes to the
changelog, from the changelog. :)
2002-02-16 10:16 andy
* ChangeLog: ChangeLog: Updated again..
2002-02-15 22:18 strtok
* config.c: Added code to free TYPE_LIST in config.c (someone
forgot this!)
2002-02-15 19:23 andy
* ChangeLog: ChangeLog: Updated for next release.
2002-02-15 15:21 andy
* bopm.conf.sample: bopm.conf.sample: Added docs and examples for
EXCLUDE option.
2002-02-14 20:57 andy
* Makefile.in, config.c, config.h, extern.h, irc.c, irc.h, match.c,
match.h, scan.c:
match.c, match.h: IRC wildcard matching functions from
dancer-hybrid. match() handles string matching and collapse()
shortens a wildcard string as far as possible.
config.h: Added new config type; TYPE_LIST. Multiple parameters
of this type are put into a linked list.
Added missing config_memfail() prototype.
config.c: Added new config option EXCLUDE. This is a list of
wildcard strings against which the host and IP address of
connecting users will be matched. A user which matches any entry
will not be scanned.
Makefile.in: Added new objects and dependencies for match.[cho]
irc.c, irc.h: Added do_connect() function to avoid duplication.
This function checks the users host and IP address against the
EXCLUDE list and provided there are no matches proceeds to do a
DNSBL check and proxy scan.
The above patch was contributed by Rob Levin/lilo @ OPN
2002-02-14 16:56 andy
* Makefile.in, misc.c, opercmd.c, scan.c, stats.c: Makefile.in,
misc.c, stats.c: Forogt to include the autoconfiscated
header
opercmd.c, scan.c: Small tidyup.
2002-02-13 21:56 andy
* INSTALL, README: README: Updated mailing list info, credits,
etc. INSTALL: Largely rewritten installation instructions
and a blurb about TARGET_STRING
2002-02-13 21:17 andy
* acconfig.h, configure, configure.in, irc.c, options.h,
setup.h.in: configure.in, options.h: Added configure option
--with-unreal to replace the UNREAL definition that was in
options.h acconfig.h: Make autoheader work for --with-unreal
irc.c: WITH_UNREAL instead of UNREAL
2002-02-13 21:06 andy
* acconfig.h, configure, configure.in, setup.h.in: configure.in:
Added support for --with-select configure option so that
people can force use of select() whether they have poll()
or not. acconfig.h: This makes autoheader work (which is
used to make setup.h.in from configure.in) now that
WITH_SELECT is added.
2002-02-13 17:51 andy
* configure, configure.in, options.h, scan.c, setup.h.in:
configure.in: Check for sys/poll.h options.h:
We'll use poll() if sys/poll.h was found scan.c: Alter for
autoconfiscated sys/poll.h check.
2002-02-13 15:52 andy
* configure, configure.in, dnsbl.c, setup.h.in: configure.in: Add
a check for bigendian systems. dnsbl.c: If we're on a
bigendian system this'll be backwards.
2002-02-13 14:28 andy
* .cvsignore, Makefile.in, configure: OK, so we do need to
distribute configure.
2002-02-13 14:15 strtok
* scan.c, scan.h: Added byte counter to teach connection, and
adjusted manual check output to be be more informative
2002-02-13 12:50 andy
* bopchecker.c, irc.c, scan.c: bopchecker.c, irc.c, scan.c: Use
AC_HEADER_TIME and AC_CHECK_HEADERS(sys/time.h) to check how to
handle time.h and sys/time.h (if there even if a sys/time.h, if
it can be included with time.h)
2002-02-13 12:32 andy
* bopchecker.c: bopchecker.c: Another STDC_HEADERS check
2002-02-13 12:28 andy
* config.c: config.c: Typo fix.
2002-02-13 12:26 andy
* Makefile.in, config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c,
scan.c: Makefile.in: Add a distclean target. We may want
to distribute the configure script at some point instead
of just configure.in and expect people to use autoconf; we'll
have to remember to change this then.
config.c, dnsbl.c, irc.c, log.c, main.c, opercmd.c, scan.c:
Take account of AC_HEADER_STDC check.
2002-02-13 12:12 andy
* main.c: main.c: Handle AC_TYPE_SIGNAL check.
2002-02-13 11:58 andy
* setup.h.in: setup.h.in: /me reads as far as "autoheader" in
the autoconf manual.
2002-02-13 11:24 andy
* .cvsignore, Makefile, Makefile.in, configure.in, setup.h.in:
First stab at autoconfiscation (euheue)
2002-02-13 08:51 andy
* bopchecker.c: bopchecker.c: bopchecker needs a target string as
well now.
2002-02-12 21:40 strtok
* scan.c: Pad scan_struct->data + 1 byte on malloc to leave room
for null terminator (was causing buffer overrun)
2002-02-12 15:02 andy
* config.c: config.c: Really doesn't need to be that verbose :)
Remember I use -d and -dd a lot when helping people set up
BOPM - I really don't need 2 pages of config options flying
by.
2002-02-12 13:42 strtok
* version.h: VERSION for this release will be 2.0
2002-02-12 13:17 strtok
* scan.c: Wingate write function now actually sends data
2002-02-12 13:07 strtok
* scan.c, scan.h: Cleaned out code no longer needed
2002-02-12 12:57 strtok
* bopm.conf.sample: Added TARGET_STRING to config file
2002-02-12 12:54 strtok
* config.c, extern.h, options.h, scan.c, scan.h: No longer use
individual read functions for each protocol, now search for a
TARGET_STRING within the data. (set in conf)
2002-02-12 11:19 strtok
* bopm.conf.sample, options.h, scan.c, scan.h: options.h USE_POLL
and MAXPOLL for use of poll() as opposed to select() in
scan.c. If USE_POLL is defined, the scanner will use poll(), if
not select() is used as before
2002-02-11 22:10 strtok
* bopm.conf.sample, config.c, extern.h, misc.c, scan.c, scan.h:
bopm.conf.sample: Added config parameter FDLIMIT (default 512),
which is maximum number of file descriptors that can be open
at any time (for scanning). config.c: Added -d debug output of
set config parameters misc.c: Fixed bug involving clean() scan.c:
Added scan_establish() code to socket()/connect() to a socket,
connections are now queued if the FDLIMIT cap is reached.
2002-02-10 07:37 andy
* README: README: Credits for recent patches.
2002-02-10 07:25 andy
* scan.c: scan.c: Improved HTTP handling. Seems to work
(have tested against all known HTTP false positives seen
so far, plus 2 known open proxies). Ideas and pseudocode from
jpayne@blitzed.org.
2002-02-10 06:34 andy
* irc.c, irc.h, main.c: irc.c: irc.h: Added a MSGLEN #define so
that networks which use different sized IRC buffers can be
made to work easily.
main.c: Changed umask to something more sensible.
Both the above from shasta@irc.pl.
2002-02-07 09:23 andy
* bopm.conf.sample, dnsbl.c: dnsbl.c: Need to check against
DNSBL_ZONE with a dot on the end, because otherwise it
will try the search domains in /etc/resolv.conf, and may even
find a match! Reported and fixed by asmodeus@irc.gr
bopm.conf.sample: Gotcha about putting your own dot at the
end of the zone.
2002-02-06 09:19 andy
* TODO: TODO: More updates on that idea.
2002-02-06 08:51 andy
* TODO: TODO: Adding suggestion from Simorgh
<simorgh@dataphone.se>
2002-02-04 14:39 andy
* bopchecker.c: bopchecker.c: Extra #include needed, reported by
shasta@irc.pl
2002-02-04 10:12 andy
* stats.c: stats.c: Added simple connects/minute reading.
2002-01-31 22:17 andy
* ChangeLog: ChangeLog: Updated for next realese.
2002-01-31 22:16 andy
* README: README: Added note about Unreal 3.2 support.
2002-01-31 21:57 andy
* Makefile: Makefile: irc.o depends on options.h
2002-01-31 21:08 andy
* README: README: Credits to locksmith for his help.
2002-01-31 20:40 andy
* config.c: config.c: Possible stupid error with calculating size
of config hash.
2002-01-30 22:00 strtok
* irc.c: irc.c: Last commit had an odd paste from vim (???)
2002-01-30 21:38 strtok
* config.c, irc.c, scan.h: config.c: Added FDLIMIT configuration
parameter (limit of open file descriptors) irc.c: Fixed NULL
CONF_NICKSERV_IDENT pointer (reported by uneks) scan.h: Added
STATE_UNESTABLISHED
2002-01-30 15:55 andy
* irc.c: irc.c: Some ircd's (Xnet and others?) don't send
+c notices with the server as the source.
2002-01-29 09:33 andy
* ChangeLog: ChangeLog: Updated for next release.
2002-01-29 09:31 andy
* config.c: config.c: Now we've added a zero element on the
config hash we need to adjust the sizes..
2002-01-28 17:49 strtok
* README: README: Added codebase specific compatibility (those
tested)
2002-01-28 17:46 andy
* ChangeLog: ChangeLog: Missed a late commit.
2002-01-28 17:45 andy
* bopm.conf.sample: bopm.conf.sample: Added suggestion from
Sotiris Tsimbonis to make ti a bit more obvious that a
temporary KLINE should be used.
2002-01-28 17:25 andy
* ChangeLog: ChangeLog: Updated ChangeLog for 1.1 release.
2002-01-28 17:21 strtok
* version.h: Version.h: Now 1.1
2002-01-28 16:23 andy
* bopchecker.c, bopchecker.h, config.c: bopchecker.c: Some
reorganisation.
"req" field of config hash is now zero'd for all but the
parameters
we need for bopchecker to operate.
Used a sleep(1) to reduce CPU usage.
bopchecker.h: Exit values have changed again! 0 and 1 are
already in use within bopm, so now 15-255 are reserved for
bopchecker.
HTTP = 16
WinGate = 32
SOCKS4 = 64
SOCKS5 = 128
config.c: Terminated the config hash with a zero'd entry so
that it is easy to tell where it ends.
2002-01-28 16:15 strtok
* README, config.c: README: Added rehash instructions
2002-01-27 17:37 andy
* README: README: Credits for PASSWORD option
2002-01-27 17:33 andy
* bopm.conf.sample, config.c, extern.h, irc.c: config.c, extern.h:
Add PASSWORD config option. irc.c: Use PASSWORD if
supplied. bopm.conf.sample: Document PASSWORD, fix typo on
SERVER
2002-01-27 16:18 strtok
* config.c, config.h: config.c/config.h: BOPM now exits if
'required' configuration parameters are not set.
2002-01-27 15:31 strtok
* TODO: TODO: Updated TODO
2002-01-27 06:17 andy
* bopchecker.c, bopchecker.h: bopchecker.h: Added bitmasks for
the types of proxy. HTTP is 1, Wingate 2, SOCKS4 is 4 and
SOCKS5 8.
bopchecker.c: Now returns a bitmask of the types of proxies
found back to the shell. THIS MEANS THAT VALUES > 1 MEAN
A PROXY WAS FOUND AND 0 MEANS NO PROXY WAS FOUND, THIS IS THE
EXACT OPPOSITE TO PRIOR VERSIONS OF THIS PROGRAM!
2002-01-26 20:23 strtok
* irc.c: irc.c: Fixed segfault if nickserv ident isnt defined in
conf
2002-01-26 11:17 strtok
* config.c: config.c: Replace C++ comment with C style comment
(oops)
2002-01-25 14:58 andy
* bopm.conf.sample: bopm.conf.sample: Remove Blitzed address
because of people sending us reports without contacting
us.
2002-01-25 14:02 andy
* scan.c: scan.c: Suggestion from Sotiris Tsimbonis that details go
to channels
2002-01-25 13:14 andy
* README, bopm.conf.sample, dnsbl.c: dnsbl.c: Allow reporting to
multiple addresses README: Note about Sotiris Tsimbonis' idea
bopm.conf.sample: Note about how to use multiple TO addresses
2002-01-25 07:27 andy
* irc.c: irc.c: support & channels, bug found by Sotiris Tsimbonis
<stsimb@irc.gr>.
2002-01-24 13:54 strtok
* INSTALL: INSTALL: Updated INSTALL file to include information
about options.h
2002-01-24 13:53 strtok
* irc.c, options.h: irc.c/options.h: Added support for unreal ircds
2002-01-24 09:40 strtok
* README: README: Added hybrid compatibility to README.
2002-01-24 02:41 andy
* bopm.conf.sample, config.c, extern.h, irc.c: Added OPER_MODES
config option to specify what modes the bopm will set on itself
after opering up.
2002-01-23 22:56 andy
* bopchecker.c: bopchecker needs to time out too, doh.
2002-01-23 22:18 andy
* extern.h: Remove CONF_PING, a config option that never was.
2002-01-23 22:07 andy
* INSTALL, README, bopchecker.c, extern.h, irc.c, main.c,
options.h: Merged patch from Sotiris Tsimbonis <stsimb@irc.gr>
with minor changes. Adds a -c command line argument which tells
bopm to use a different name for log, pid and config files. i.e.
./bopm -c myserver will use myserver.conf, myserver.log,
myserver.pid.
The patch also makes bopm set umode -h on itself after opering,
in order to prevent the bot appearing in /stats p output (shows
opers available to help).
bopchecker now takes the -c option also, in the same way as bopm.
2002-01-22 20:58 strtok
* ChangeLog: ChangeLog: It's 2002!
2002-01-22 13:44 strtok
* bopm.conf.sample: bopm.conf.sample: Fixed typo
2002-01-22 11:09 strtok
* ChangeLog: ChangeLog: Added changelog
2002-01-21 12:03 strtok
* scan.c: scan.c: Apache ip vhosting hack (apaches fault!)
2002-01-21 07:07 andy
* README: typo
2002-01-20 23:54 strtok
* scan.c: scan.c: Send \r\n\r\n for HTTP proxy rather than \n\n
2002-01-20 13:53 strtok
* README: Added compatibility section to README and support notice
2002-01-20 12:12 strtok
* dnsbl.c: dnsbl.c: Reordered priorities: Kline, then log then
privmsg
2002-01-20 12:01 andy
* .cvsignore: ignore another binary
2002-01-20 11:59 strtok
* bopm.conf.sample, irc.c, options.h, scan.c: scan.c: Added
HTTP/1.1 checking for HTTP proxies bopm.conf.sample: Commented
out DNSBL from and to irc.c: Changed no data timeout to use
NODATA_TIMEOUT from options.h options.h: Added NODATA_TIMEOUT
default to 900 seconds (15 minutes)
2002-01-19 23:06 strtok
* irc.c, main.c, version.h: version.h: Added #define for VERSION
(currently 1.0) main.c: Log version on startup irc.c: Added CTCP
version reply
2002-01-19 19:27 andy
* bopchecker.c, bopchecker.h, bopm.conf.sample, dnsbl.c, irc.c,
irc.h, scan.c: Kline messages now have ?ip= in the URL which will
allow our web pages to be a bit cleverer.
2002-01-19 18:58 andy
* bopm.conf.sample, config.c, extern.h, irc.c: Here's a config
option for an away message (AWAY). Also now responds to PRIVMSG
that simply says INFO, giving a bit of information about what the
bot does. Help email address set from the HELP_EMAIL option.
2002-01-19 18:03 andy
* Makefile, bopchecker.c, bopchecker.h: Added an evil hack called
bopchecker which is a command line interface to bopm. It returns
EXIT_FAILURE if it doesn't find an open proxy, it returns
EXIT_SUCCESS if it does.
2002-01-19 12:09 andy
* irc.c: typo
2002-01-19 12:03 andy
* scan.c: More hopeful manual check fixes
2002-01-19 11:36 andy
* dnsbl.c, scan.c: Hopeful reporting fixes
2002-01-19 10:49 andy
* dnsbl.c: Reporting proxies to DNSBL now works.
2002-01-19 09:05 andy
* Makefile, config.c, dnsbl.c, dnsbl.h, extern.h, irc.c, scan.c,
scan.h: Hooks for sending an email report (but it doesn't
actually do anything yet)
2002-01-19 07:32 andy
* bopm.conf.sample: Extra config options for DNSBL.
2002-01-19 06:59 andy
* bopm.conf.sample: Tidying up, added the DNSBL_ZONE
2002-01-19 06:09 andy
* INSTALL: Added bit about -d
2002-01-19 06:01 andy
* README: Typos etc.
2002-01-18 21:33 strtok
* scan.c: scan.c: Ridded instances of stats_num being incremented
twice if a host was open AND was insecure
2002-01-18 21:05 strtok
* README: README grammar fix
2002-01-18 21:03 strtok
* TODO: Updated TODO
2002-01-18 17:47 strtok
* README: More grammar fixes
2002-01-18 17:45 strtok
* README: Bad grammar!
2002-01-18 15:22 strtok
* INSTALL, README: More README documentation added (credits) Added
INSTALL with quick install procedures
2002-01-18 14:57 strtok
* misc.c: Off by one fix with clean()
2002-01-18 14:49 strtok
* config.c: Yet another #include <time.h> for BSD!
2002-01-18 14:47 strtok
* scan.c: scan.c: BOPM now increases number open (protocol) by
determining if a socket can be written to, rather than if read
returned 0.
2002-01-18 14:28 strtok
* README: Begin README file.
2002-01-18 12:29 strtok
* config.c, misc.c, misc.h: config.c: Strip leading/tailing
characters from arguments misc.c/misc.h: Added clean() function
which strips leading/tailing characters from a
string and returns a pointer to the new string.
2002-01-18 10:14 strtok
* scan.c: scan.c: Stats, num negotiated now increased on
negotiation failed Fixed order of paramaters for manual
checking
2002-01-18 01:06 andy
* Makefile, config.c, dnsbl.c, dnsbl.h, extern.h, irc.c, scan.c,
stats.c: Support for checking against a DNS (black|block)list.
Set your zone using the DNSBL_ZONE config option, checking will
take place on every connect and every
time the "check" command is used.
2002-01-17 22:07 strtok
* scan.c, stats.c: Added port to stats Replaced sizeof
scan_protocols with SCAN_NUMPROTOCOLS
2002-01-17 22:00 strtok
* main.c, scan.c, scan.h, stats.c: Added size_t SCAN_NUMPROTOCOLS
2002-01-17 20:49 strtok
* scan.c: hopeful extern fix
2002-01-17 20:10 strtok
* extern.h, scan.c, scan.h, stats.c, stats.h: Made stats variables
part of the protocol_hash struct, I had to throw a ton of
includes in stats.c to make #include "scan.h" happy
2002-01-17 17:51 andy
* Makefile: Moke debug stuff work by linking it properly
2002-01-17 17:25 andy
* .cvsignore, Makefile, main.c: Simple SIGINT handler
2002-01-17 17:15 strtok
* irc.c: Fixed massive CPU usage (YAY).
2002-01-17 16:39 andy
* Makefile: DEBUG_GPROF=1 make to enable gprof debugging
2002-01-17 16:02 strtok
* TODO, irc.c: irc_reconnect() fixed and working rehashing now
working (/kill bot to rehash)
2002-01-17 15:46 strtok
* irc.c: irc.c: Reconnect if unable to WRITE
2002-01-17 15:38 strtok
* irc.c: reconnect on select() returning -1 was bad mmkay
2002-01-17 15:35 strtok
* irc.c: More attempted irc_reconnect() fixes.
2002-01-17 15:31 strtok
* irc.c: irc.c: Log on irc_reconnect() call
2002-01-17 15:25 strtok
* irc.c, irc.h: irc.c: added irc_reconnect
2002-01-17 15:12 andy
* opercmd.c: And another
2002-01-17 15:11 andy
* opercmd.c: BSD fix
2002-01-17 15:07 andy
* irc.c: First four letters of nick for commands.
2002-01-17 15:02 strtok
* config.c, irc.c, main.c, options.h, scan.c: config.c: Set pointer
to type_string's to null irc.c: reconnect on select() exception
vector being set with IRC_FD
2002-01-17 14:12 strtok
* scan.c: scan_timer fix
2002-01-17 14:08 strtok
* scan.c: scan.c: Added timeout on verbose checking
2002-01-17 13:53 strtok
* irc.c, scan.c, scan.h: Changed scan_connect to compensate for
verbose scanning.
2002-01-17 04:58 andy
* Makefile, main.c, opercmd.c, scan.c, scan.h: Manual check almost
done, but work must stop here for a few hours..
2002-01-17 00:22 andy
* Makefile, irc.c, misc.c, misc.h, opercmd.c, opercmd.h, stats.c,
stats.h: Support for oper-only commands.
We keep a list of command structures, each oper command is placed
into the first free structure and then a /userhost is issued.
When the reply from userhost is received and the user verified as
an oper then the command can be executed, otherwise it should be
ignored. Then the command structure may be cleared and any
dynamic memory freed.
We may receive userhost replies with no data, indicating that the
nick left the network before we could check them. Since we can't
tell who it is, we need to periodically (in this case, every 2
minutes) go through our command list and remove any commands that
have not been executed in that period.
dissect_time() also moved to misc.c, now that it is used by more
than just the stats functions.
Current limitation: oper commands may have only one parameter.
2002-01-16 22:17 strtok
* README: Added README file (yet to be written)
2002-01-16 17:47 andy
* irc.c: Oops, the old way left nick unterminated.
2002-01-16 17:25 andy
* Makefile, irc.c, scan.c, stats.c, stats.h: Some simple stats:
[01:24:54] <grifferz> peng stat [01:24:54] <penguinBopm> Uptime:
1 minute, 46 seconds [01:24:54] <penguinBopm> Found 0 WinGates, 0
open [01:24:54] <penguinBopm> Found 0 SOCKS4 servers, 0 open
[01:24:54] <penguinBopm> Found 1 SOCKS5 servers, 1 open
[01:24:54] <penguinBopm> Found 1 HTTP proxies, 1 open [01:24:54]
<penguinBopm> Number of connects: 2
2002-01-16 16:30 andy
* Makefile, TODO, irc.c, irc.h, main.c, stats.c, stats.h: Here's
the beginnings of some command handling. First four letters of
server name plus command, or "!all" then command, either in msg
or in a channel that bopm is watching.
2002-01-16 14:12 strtok
* scan.c: scan.c: Flag conncetions STATE_CLOSED which return 0 on
read function.
2002-01-16 11:17 strtok
* irc.c: irc.c: Added no data timeout of 300 seconds
select() now switches on errno to determine unrecoverable error
and reconnects if need be.
2002-01-16 08:17 andy
* irc.c: Rejoin when kicked. Other part of the code already handle
getting in to channels through +bikl modes.
2002-01-16 07:37 andy
* irc.c: Log all incoming and outgoing IRC traffic at debug level
2+ (./bopm -dd)
2002-01-16 06:15 andy
* main.c: Some fork cleanups, some extra headers needed by strlen,
umask, exit.
2002-01-16 06:00 andy
* Makefile: -)3 is proabbly OK
2002-01-15 22:40 strtok
* scan.c: scan.c: Added code to mark connects STATE_CLOSED if they
match a host that has already been determined to be an
open proxy.
2002-01-15 22:07 strtok
* TODO, config.c: TODO: Added to project config.c: Removed debug
line for free()
2002-01-15 20:57 strtok
* bopm.conf.sample: Sample config is now more appropriate.
2002-01-15 19:22 andy
* scan.c: A little bit more logging in debug mode.
2002-01-15 19:11 andy
* log.c: Log a readable time stamp
2002-01-15 16:31 andy
* config.c: HINT: if you run it without a config file, and you
don't check, it tries to do gethostbyname on a null string and
segfaults.
2002-01-15 16:21 andy
* .cvsignore, main.c: getopt_long is not portable, so we'll just
have to do with only -d for now.
On the plus side, extra -d = higher debug level in case that is
needed in future (OPT_DEBUG = debug level or 0 for no debug)
2002-01-15 16:04 andy
* Makefile, extern.h, log.c, main.c: Added command line option -d
or --debug, this prevents forking and directs all logging to
stderr.
2002-01-15 14:49 andy
* .cvsignore: More gcov stuff to ignore
2002-01-15 14:48 andy
* .cvsignore: Ignore pid and log file.
2002-01-15 14:17 andy
* .cvsignore, bopm.conf, bopm.conf.sample: old erik, move bopm.conf
to bopm.sample.conf so it doesn't try to cvs commit my actual
oper pass.
2002-01-15 14:07 andy
* .cvsignore: And ignore the binary!
2002-01-15 14:07 andy
* .cvsignore: Ignore gcov stuff
2002-01-15 14:01 strtok
* scan.c: Logging in scan_w_socks4 for bad inet_aton call
2002-01-15 13:58 andy
* .cvsignore: Ignore vi(m) swapfiles.
2002-01-15 13:57 andy
* Makefile: DEBUG_GCOV=1 make DEBUG_GDB=1 make
to enable coverage instrumenting and extra debug for gdb
respectively.
2002-01-15 13:48 andy
* Makefile: I do not think we need those flags (and they are
gcc-specific)
2002-01-15 13:37 andy
* Makefile: Here's a better Makefile (sorry dg :p)
2002-01-15 13:37 andy
* make: We have a Makefile
2002-01-15 13:29 andy
* Makefile: dg's Makefile
2002-01-15 13:23 strtok
* scan.c: socks4 fix
2002-01-15 13:05 strtok
* config.c, log.c, scan.c: buffer underrun fix
2002-01-15 11:21 strtok
* irc.c: vsnprintf and snprintf conversion in irc_send (irc.c)
2002-01-15 11:10 strtok
* log.c, scan.c: attempted bugfixes
2002-01-15 00:04 strtok
* irc.c: Unborked +c scanning...
2002-01-14 23:44 strtok
* irc.c: Fixed IRC binding.
2002-01-14 23:34 strtok
* irc.c, scan.c: BSD fixes
2002-01-14 23:15 strtok
* scan.c: bsd fix
2002-01-14 23:01 strtok
* irc.c, main.c: bopm now forks and writes pid to bopm.pid debug
printf() removed from irc.c, output exists only in the logfile
now.
2002-01-14 21:59 strtok
* bopm.conf, irc.c, scan.c: Nickserv ident and Chanserv invite
fixes.
2002-01-14 13:57 strtok
* irc.c: Few bug fixes.
2002-01-14 13:54 strtok
* irc.c, irc.h: NickServ identification via dg style.
2002-01-14 13:23 strtok
* bopm.conf, config.c, extern.h, irc.c: CHANSERV invite code,
nastiness is due to avoiding strtok() and strstr()
2002-01-14 11:31 strtok
* bopm.conf, irc.c, irc.h, log.c, scan.c, scan.h: Channel and
bopm.log logging.
2002-01-13 23:33 strtok
* bopm.conf, config.c, extern.h, irc.c, scan.c: Added Configurable
KLINE command and config parameter KLINE_COMMAND Added
NICKSERV_IDENT and NICKSERV_INVITE config parameters.
2002-01-13 23:14 strtok
* config.c, config.h: config.c is now more pretty
2002-01-13 21:47 strtok
* main.c, scan.c: Removed unportable flags on recv(). Added ignore
on SIGPIPE
2002-01-13 21:35 strtok
* scan.c: Added MSG_NOSIGNAL flag to all RECV functions in scanner
to prevent SIGPIPE
2002-01-13 21:23 strtok
* main.c: Replaced signal with sigaction.
2002-01-13 19:20 strtok
* bopm.conf, config.c, config.h, extern.h, irc.c: Removed PERFORM
from configuration. Added CHANNELS to config.
2002-01-13 00:37 strtok
* log.c: fflush on log() (log.c) so that log files are generated
properly.
2002-01-12 23:17 strtok
* irc.c, scan.c: Bind to BINDSCAN for scanning (needs tested).
2002-01-12 22:24 strtok
* bopm.conf, config.c, config.h, extern.h, irc.c: Added BINDIRC and
BINDSCAN as config parameters. BINDIRC is now used for binding
the irc connection.
2002-01-12 20:05 strtok
* bopm.conf, scan.c: Added comments to bopm.conf.
2002-01-12 11:58 strtok
* scan.c, scan.h: Insecure wingate detection -- yay
2002-01-12 11:29 strtok
* log.c, scan.c, scan.h: socks5 scanning support
2002-01-11 22:14 strtok
* bopm.conf, config.c, config.h, extern.h, scan.c: Finished socks4
and http proxy support, cleaned out debug code. Added SCANIP and
SCANPORT to config, which provides a means to tell the scanner
what ip/port to try to connect the proxy to for testing.
Currently this MUST be an IP (no host resolving)
2002-01-11 22:03 strtok
* scan.c: Socks4 scanning working (just need to setup the right IP
to use)
2002-01-11 12:14 strtok
* scan.c, scan.h: Socks 4 write support.
2002-01-11 11:10 strtok
* bopm.conf, main.c, scan.c: Several bugfixes, timeouts added,
kline reason added to conf file
2002-01-11 09:35 strtok
* irc.c, irc.h, main.c, scan.c, scan.h: Connection timeouts and
removal of structs marked STATE_CLOSED every 1 sec (via alarm
signal).
2002-01-11 09:11 strtok
* bopm.conf, config.c, config.h, extern.h, scan.c, scan.h: A few
code cleanups.
2002-01-10 22:45 strtok
* irc.c, irc.h, scan.c, scan.h: Klines work now (kline function
call needs shifted to a less local position)
2002-01-10 18:26 strtok
* bopm.conf, irc.c, scan.c, scan.h: checking for ready read/write
in sock_check() using select. functions regarding specific
protocols are then called for individual writing/reading.
2002-01-10 15:58 strtok
* irc.c, main.c, scan.c, scan.h: Added scan_cycle() structure
2002-01-10 15:47 strtok
* scan.c: set sockets non blocking, that might speed things up a
bit!
2002-01-10 15:37 strtok
* irc.c, scan.c, scan.h: Wrote the beginnings of scan_connect().
Wanted to commit it to storage in case something happens to my
copy.
2002-01-09 20:01 strtok
* irc.c: Parsed out IP of connecting hosts from +c notices. (Much
clearer than WGMON!)
2002-01-09 09:36 strtok
* bopm.conf, irc.c, scan.c, scan.h: Rewrite IRC parsing (splits
into 16 char *), nasty but effective for now. Started on
structure of scan.c/scan.h.
2002-01-08 00:09 strtok
* bopm.conf, config.c, config.h, extern.h, irc.c: Wrote irc_send
(using stdarg), to send arbitrary irc data. Added OPER config
parameter and oper on connect.
2002-01-07 11:01 strtok
* irc.c: BSD sys/time.h fix
2002-01-06 22:58 strtok
* irc.c, make, scan.c, scan.h: Added scan.c/scan.h to project.
2002-01-06 19:46 strtok
* bopm.conf, config.c, irc.c, irc.h: Split up irc_connect() into
irc_connect() and irc_init() Removed 2 debug printfs
2002-01-05 13:38 strtok
* irc.c: connect() error checking
2002-01-05 13:24 strtok
* bopm.conf, irc.c: socket() error checking on IRC client
2002-01-05 13:02 strtok
* bopm.conf, config.c, extern.h, irc.c: gethosybyname() error
logging
2002-01-05 11:53 strtok
* bopm.conf, config.c, config.h, extern.h, irc.c, irc.h, log.c,
main.c: Added perform, memory allocation error checking, and a
lot of debug code (that needs to be removed later on)
2002-01-03 22:32 strtok
* irc.c, log.c, log.h, main.c, make: Added log file
capibilities.
2002-01-03 18:57 strtok
* irc.c, irc.h: Client now connects to server and reads data.
2002-01-03 17:22 strtok
* irc.c, irc.h:
Restructured connect code a bit, started on select()
2002-01-03 16:22 strtok
* bopm.conf, irc.c:
IRC server host resolution
2002-01-03 15:47 strtok
* bopm.conf: [no log message]
2002-01-03 12:05 strtok
* LICENSE: Added GPL license.
2002-01-02 21:06 strtok
* bopm.conf, irc.c:
Create socket / Connect to IRC server (Primitive, no error
checking)
2002-01-02 16:18 strtok
* bopm.conf, config.c, config.h, extern.h, irc.c, irc.h, main.c,
make: Initial revision
2002-01-02 16:18 strtok
* bopm.conf, config.c, config.h, extern.h, irc.c, irc.h, main.c,
make: blitzed open proxy monitor
|