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
|
# do not edit -- automatically generated by arch changelog
# arch-tag: automatic-ChangeLog--devel@balabit.hu--other-1/syslog-ng--mainline--2.0
#
2007-04-06 09:59:15 GMT Balazs Scheidler <bazsi@balabit.hu> patch-149
Summary:
use stat instead of seek to determine file size
Revision:
syslog-ng--mainline--2.0--patch-149
* src/logreader.c (log_reader_fd_check): remove lseek based file
size determination and use lseek instead, it is not glibc that is
buggy, and although gdb reports invalid contents of the stat
results, the program sees them correctly
modified files:
ChangeLog src/logreader.c
2007-04-06 09:08:49 GMT Balazs Scheidler <bazsi@balabit.hu> patch-148
Summary:
added support for logrotation in file sources
Revision:
syslog-ng--mainline--2.0--patch-148
2007-04-06 Balazs Scheidler <bazsi@balabit.hu>
* src/affile.c (affile_sd_open_file): new function, contains the
file open code for the source driver,
(affile_sd_notify): new function, registered as the notification
handler for an affile source, for NC_FILE_MOVED notifications
construct a new the log reader and drop the old one,
(affile_sd_init): use affile_sd_open_file,
(affile_sd_new): register notification handler, tell our LogReader
the filename that we are following
modified files:
ChangeLog src/affile.c src/afsocket.c src/logpipe.h
src/logreader.c src/logreader.h src/messages.h
2007-04-05 11:27:02 GMT Balazs Scheidler <bazsi@balabit.hu> patch-147
Summary:
fixed expansion of utf-8 characters in templates
Revision:
syslog-ng--mainline--2.0--patch-147
* src/macros.c (result_append): use guchar as the type of the
argument instead of gchar
* tests/unit/test_templates.c: use utf8 sequences in the message
string to ensure that syslog-ng handles them properly
modified files:
ChangeLog src/macros.c tests/unit/test_template.c
2007-04-04 14:44:29 GMT Balazs Scheidler <bazsi@balabit.hu> patch-146
Summary:
fixed numeric localport/destport specification
Revision:
syslog-ng--mainline--2.0--patch-146
* src/afinet.c (afinet_set_port, afinet_sd_set_localport,
afinet_dd_set_localport, afinet_dd_set_destport): removed port
argument, always use 'service' and check if it's numeric
* src/cfg-grammar.y: follow afinet changes
modified files:
ChangeLog src/afinet.c src/afinet.h src/cfg-grammar.y
2007-04-02 06:53:54 GMT Balazs Scheidler <bazsi@balabit.hu> patch-145
Summary:
grammar fixes for localport/port/destport parsing options
Revision:
syslog-ng--mainline--2.0--patch-145
* src/cfg-grammar.y: fixed grammar to parse port related options correctly
modified files:
ChangeLog src/cfg-grammar.y
2007-03-26 12:28:53 GMT Balazs Scheidler <bazsi@balabit.hu> patch-144
Summary:
preparations for 2.0.3 release
Revision:
syslog-ng--mainline--2.0--patch-144
modified files:
ChangeLog NEWS VERSION
2007-03-26 12:28:31 GMT Balazs Scheidler <bazsi@balabit.hu> patch-143
Summary:
increased the minimum value for log_fifo_size to 1000
Revision:
syslog-ng--mainline--2.0--patch-143
modified files:
ChangeLog src/cfg.c src/logsource.h src/logwriter.c
2007-03-21 16:36:01 GMT Balazs Scheidler <bazsi@balabit.hu> patch-142
Summary:
fixed dns_cache_hosts() typo in documentation
Revision:
syslog-ng--mainline--2.0--patch-142
modified files:
ChangeLog doc/reference/syslog-ng.xml
2007-03-19 17:41:46 GMT Balazs Scheidler <bazsi@balabit.hu> patch-141
Summary:
some more message clarification
Revision:
syslog-ng--mainline--2.0--patch-141
modified files:
ChangeLog src/main.c
2007-03-19 17:35:37 GMT Balazs Scheidler <bazsi@balabit.hu> patch-140
Summary:
clarified internal message severities
Revision:
syslog-ng--mainline--2.0--patch-140
* src/*.c: clarified the severity value of some log messages
generated by syslog-ng
modified files:
ChangeLog src/affile.c src/cfg-lex.l src/macros.c
src/messages.h
2007-03-05 11:33:09 GMT Balazs Scheidler <bazsi@balabit.hu> patch-139
Summary:
clarified message priorities
Revision:
syslog-ng--mainline--2.0--patch-139
modified files:
ChangeLog src/affile.c src/afinet.c src/cfg.c src/logwriter.c
src/stats.c
2007-03-04 11:03:22 GMT Balazs Scheidler <bazsi@balabit.hu> patch-138
Summary:
added support for remembering input file positions
Revision:
syslog-ng--mainline--2.0--patch-138
* configure.in: added LARGEFILE_SOURCE & FILE_OFFSET_BITS to
CPPFLAGS, export localstatedir to syslog-ng,
* src/affile.c (affile_sd_format_persist_name): new function,
formats the persistent name associated with the file source,
(affile_sd_init): check if the current file position is available
and set it if it is,
(affile_sd_deinit): save the current file position,
* src/afsocket.c (afsocket_sd_kill_connection_list): new function,
frees a connection list,
(afsocket_sd_deinit): fixed a possible SIGSEGV, a GList was freed as
an AFSocketSourceDriver, I wonder how this got unnoticed so far,
* src/cfg.c (persist_config_add_entry): new function,
(persist_config_add): use the new add_entry function,
(persist_config_add_survivor): new function, adds a surviving entry,
(PersistentConfig): added saving/loading persistent config entries,
* src/logreader.c (log_reader_watch_new): don't seek the file to the
end-of-file now as proper file position is recovered,
(log_reader_set_pos, log_reader_get_pos): new functions
* src/main.c (main): added --ignore-persistent option, use a
persistent configuration object around stop/start to save/restore
file position information
modified files:
ChangeLog configure.in src/affile.c src/afsocket.c src/cfg.c
src/cfg.h src/logreader.c src/logreader.h src/main.c
src/syslog-ng.h
2007-03-03 14:01:24 GMT Balazs Scheidler <bazsi@balabit.hu> patch-137
Summary:
tightened LogMessage struct, added support for more than 9 match groups
Revision:
syslog-ng--mainline--2.0--patch-137
* src/logmsg.h (LogMessage): structure tightened a bit, avoid
double-referencing various message-parts by inlining GString
declarations, instead of allocating them at runtime to be more cache
friendly, use 8 bit values for ref_cnt, flags, pri; re_matches is
allocated at runtime to allow more matches
* src/filter.c (filter_re_eval): dynamically allocate the
msg->re_matches array, follow LogMessage changes
* src/templates.c (log_template_compile): support ${} syntax for
regex match replacements to allow more than 9 matches
* src/afuser.c, src/logreader.c, src/logwriter.c, src/sgroup.c,
src/test_msgparse.c, src/test_template.c: follow LogMessage
changes
modified files:
ChangeLog src/afuser.c src/filter.c src/logmsg.c src/logmsg.h
src/logreader.c src/logwriter.c src/macros.c src/sgroup.c
src/templates.c tests/unit/test_msgparse.c
tests/unit/test_template.c
2007-02-28 09:21:01 GMT Balazs Scheidler <bazsi@balabit.hu> patch-136
Summary:
clarified SIGTERM message
Revision:
syslog-ng--mainline--2.0--patch-136
* src/main.c (main_loop_run): clarified message about the reception
of a SIGTERM or SIGINT signal
modified files:
ChangeLog src/main.c
2007-02-28 09:19:28 GMT Balazs Scheidler <bazsi@balabit.hu> patch-135
Summary:
updated copyright strings
Revision:
syslog-ng--mainline--2.0--patch-135
modified files:
ChangeLog src/affile.c src/affile.h src/afinet.c src/afinet.h
src/afinter.c src/afinter.h src/afprog.c src/afprog.h
src/afsocket.c src/afsocket.h src/afstreams.c src/afstreams.h
src/afunix.c src/afunix.h src/afuser.c src/afuser.h
src/center.c src/center.h src/cfg-lex.l src/cfg.c src/cfg.h
src/children.c src/children.h src/dgroup.c src/dgroup.h
src/dnscache.c src/dnscache.h src/driver.c src/driver.h
src/fdread.c src/fdread.h src/fdwrite.c src/fdwrite.h
src/filter.c src/filter.h src/gsockaddr.c src/gsockaddr.h
src/logmsg.c src/logmsg.h src/logpipe.c src/logpipe.h
src/logreader.c src/logreader.h src/logsource.c
src/logsource.h src/logwriter.c src/logwriter.h src/macros.c
src/macros.h src/main.c src/memtrace.c src/memtrace.h
src/messages.c src/messages.h src/misc.c src/misc.h
src/sgroup.c src/sgroup.h src/stats.c src/stats.h
src/syslog-names.c src/syslog-names.h src/syslog-ng.h
src/templates.c src/templates.h src/utils.c src/utils.h
2007-02-28 09:19:00 GMT Balazs Scheidler <bazsi@balabit.hu> patch-134
Summary:
implemented TCP wrapper support
Revision:
syslog-ng--mainline--2.0--patch-134
* configure.in: added tests for libwrap
* src/afsocket.c: added support for libwrap access control
modified files:
ChangeLog configure.in src/afsocket.c
2007-02-12 09:09:08 GMT Balazs Scheidler <bazsi@balabit.hu> patch-133
Summary:
added endutent() to usertty destination
Revision:
syslog-ng--mainline--2.0--patch-133
* src/afuser.c (afuser_dd_queue): added missing endutent call()
modified files:
ChangeLog src/afuser.c
2007-02-12 09:02:37 GMT Balazs Scheidler <bazsi@balabit.hu> patch-132
Summary:
removed 1024 byte limitation on internal messages
Revision:
syslog-ng--mainline--2.0--patch-132
* src/messages.c (msg_send_internal_message): use a dynamically
allocated buffer instead of a buffer with a fixed size on the stack
modified files:
ChangeLog src/messages.c
2007-02-12 09:01:43 GMT Balazs Scheidler <bazsi@balabit.hu> patch-131
Summary:
added testcases for 2007 DST changes
Revision:
syslog-ng--mainline--2.0--patch-131
* tests/unit/test_zone.c (main): added testcases for 2007 DST
changes in the USA
modified files:
ChangeLog tests/unit/test_zone.c
2007-02-03 17:24:40 GMT Balazs Scheidler <bazsi@balabit.hu> patch-130
Summary:
added dist.conf to dist
Revision:
syslog-ng--mainline--2.0--patch-130
modified files:
ChangeLog Makefile.am configure.in
2007-02-03 17:21:21 GMT Balazs Scheidler <bazsi@balabit.hu> patch-129
Summary:
further portability fixes
Revision:
syslog-ng--mainline--2.0--patch-129
* configure.in: added check for -lresolv
modified files:
ChangeLog configure.in
2007-02-03 17:16:17 GMT Balazs Scheidler <bazsi@balabit.hu> patch-128
Summary:
portability fixes for platforms without IPv6 support
Revision:
syslog-ng--mainline--2.0--patch-128
* configure.in: added checks for struct sockaddr_storage
* src/cfg-grammar.y: make sure it compiles even if AF_INET6 is not
defined
* src/cfg-lex.l: don't define udp6/tcp6 keywords if ENABLE_IPV6 is
not defined
* src/dnscache.c: added conditional blocks for IPv6 related code
* src/misc.c (resolve_hostname): -"-
* src/fdread.c (fd_do_read): use plain "struct sockaddr" if struct
sockaddr_storage is not defined
modified files:
ChangeLog configure.in src/cfg-grammar.y src/cfg-lex.l
src/dnscache.c src/fdread.c src/misc.c
2007-02-03 16:39:08 GMT Balazs Scheidler <bazsi@balabit.hu> patch-127
Summary:
implemented spoof-source support for both ipv4/ipv6
Revision:
syslog-ng--mainline--2.0--patch-127
* configure.in: added --with-libnet and --enable-spoof-source
options
* src/afinet.c (afinet_dd_set_spoof_source): new function, called
from the parser to enable spoof-source,
(afinet_dd_init): new function,
(afinet_dd_construct_ipv4_packet): -"-,
(afinet_dd_construct_ipv6_packet): -"-,
(afinet_dd_queue): -"-,
(affile_dd_new): register new init/queue methods,
* src/sgroup.h, src/dgroup.h: renamed ref/unref functions for
consistency
* src/cfg-lex.l, src/cfg-grammar.y: added spoof-source option
* src/logwriter.c (log_writer_format_log): removed static as it is
directly used by spoof-source to format messages
modified files:
ChangeLog README configure.in src/afinet.c src/afinet.h
src/afsocket.h src/center.c src/cfg-grammar.y src/cfg-lex.l
src/dgroup.h src/logwriter.c src/logwriter.h src/sgroup.h
2007-01-30 13:08:22 GMT Balazs Scheidler <bazsi@balabit.hu> patch-126
Summary:
added netinet/in.h to afinet.c
Revision:
syslog-ng--mainline--2.0--patch-126
* src/afinet.c: added inclusion of <netinet/in.h> as it caused
problems on HP-UX
modified files:
ChangeLog src/afinet.c
2007-01-29 08:56:55 GMT Balazs Scheidler <bazsi@balabit.hu> patch-125
Summary:
added check for getutent in configure
Revision:
syslog-ng--mainline--2.0--patch-125
* configure.in: added getutent() check
modified files:
ChangeLog configure.in src/afuser.c
2007-01-29 08:49:55 GMT Balazs Scheidler <bazsi@balabit.hu> patch-124
Summary:
integrated AIX packaging fixes from dev-folti
Revision:
syslog-ng--mainline--2.0--patch-124
Patches applied:
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-2
Fixed: AIX5.2 packaging support. (fixes: #10375)
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-3
Fixes: added libevtlog-dev build dependency. (fixes: #10375)
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-5
Fixed: RPM packaging for 2.0. (fixes: #nobug)
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-7
Refresh: Fixed: AIX5.2 packaging support. (fixes: #10375)
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-8
Refresh: Fixes: added libevtlog-dev build dependency. (fixes: #10375)
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-9
Refresh: Fixed: RPM packaging for 2.0. (fixes: #nobug)
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-10
Fixed: removed duplicated install commanands from spec file. (fixes #nobug)
new files:
contrib/aix-packaging/.arch-ids/=id
contrib/aix-packaging/.arch-ids/syslog-ng.conf.id
contrib/aix-packaging/syslog-ng.conf
modified files:
ChangeLog contrib/Makefile.am syslog-ng.spec.bb.in
new directories:
contrib/aix-packaging contrib/aix-packaging/.arch-ids
new patches:
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-2
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-3
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-5
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-7
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-8
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-9
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-10
2007-01-29 08:48:19 GMT Balazs Scheidler <bazsi@balabit.hu> patch-123
Summary:
fixed possible crash in usertty() driver
Revision:
syslog-ng--mainline--2.0--patch-123
* src/afuser.c (afuser_dd_queue): don't ack the message if flow
control was off (fixes possible crash reported by Bryan Henderson)
modified files:
ChangeLog src/afuser.c
2007-01-26 09:23:49 GMT Pal Tamas <folti@balabit.hu> patch-122
Summary:
Synced to test
Revision:
syslog-ng--mainline--2.0--patch-122
modified files:
ChangeLog
2007-01-26 07:59:36 GMT Balazs Scheidler <bazsi@balabit.hu> patch-121
Summary:
missed version change
Revision:
syslog-ng--mainline--2.0--patch-121
modified files:
ChangeLog VERSION
2007-01-26 07:58:21 GMT Balazs Scheidler <bazsi@balabit.hu> patch-120
Summary:
preparations for 2.0.2
Revision:
syslog-ng--mainline--2.0--patch-120
modified files:
ChangeLog NEWS
2007-01-23 13:44:15 GMT Balazs Scheidler <bazsi@balabit.hu> patch-119
Summary:
fixed handling utmp entries where a full path is included as tty name
Revision:
syslog-ng--mainline--2.0--patch-119
* src/afuser.c (afuser_dd_queue): check if ut->ut_line starts with a
'/' and use it directly if it does, otherwise prepend '/dev/' as before.
modified files:
ChangeLog src/afuser.c
2007-01-19 21:00:06 GMT Balazs Scheidler <bazsi@balabit.hu> patch-118
Summary:
fixed trailing \0 and \n characters in messages received on dgram transport
Revision:
syslog-ng--mainline--2.0--patch-118
* src/logmsg.c (log_msg_parse): remove trailing \n and \0 characters
which are often added to the end of incoming datagrams
modified files:
ChangeLog src/logmsg.c
2007-01-07 16:51:40 GMT Balazs Scheidler <bazsi@balabit.hu> patch-117
Summary:
fixed parsing group information when not enclosed in quotes
Revision:
syslog-ng--mainline--2.0--patch-117
* src/cfg-grammar.y (string_or_number): use non-terminal string
instead of STRING to support non-quoted group specification
modified files:
ChangeLog src/cfg-grammar.y
2007-01-07 16:46:34 GMT Balazs Scheidler <bazsi@balabit.hu> patch-116
Summary:
fixed IPv6 related portability problem in DNS cache
Revision:
syslog-ng--mainline--2.0--patch-116
* src/dnscache.c (dns_cache_key_hash): don't use the unportable
s6_addr32 member in struct in6_addr, use an explicit cast instead
modified files:
ChangeLog src/dnscache.c
2006-12-22 10:07:57 GMT Balazs Scheidler <bazsi@balabit.hu> patch-115
Summary:
added tcp-keep-alive keyword for compatibility
Revision:
syslog-ng--mainline--2.0--patch-115
modified files:
ChangeLog doc/reference/syslog-ng.xml src/cfg-lex.l
2006-12-22 10:06:01 GMT Balazs Scheidler <bazsi@balabit.hu> patch-114
Summary:
updated documentation with so_keepalive option
Revision:
syslog-ng--mainline--2.0--patch-114
modified files:
ChangeLog doc/reference/syslog-ng.xml
2006-12-22 10:01:22 GMT Balazs Scheidler <bazsi@balabit.hu> patch-113
Summary:
added so_keepalive support
Revision:
syslog-ng--mainline--2.0--patch-113
* src/cfg-grammar.y: added KW_SO_KEEPALIVE keyword,
(socket_option): added KW_SO_KEEPALIVE rule
* src/afsocket.h (SocketOptions): added keepalive member,
* src/afsocket.c (afsocket_setup_socket): set SO_KEEPALIVE socket
option based on the keepalive parameter
modified files:
ChangeLog src/afsocket.c src/afsocket.h src/cfg-grammar.y
src/cfg-lex.l
2006-12-21 08:48:42 GMT Balazs Scheidler <bazsi@balabit.hu> patch-112
Summary:
fixed XML syntax error in refguide
Revision:
syslog-ng--mainline--2.0--patch-112
modified files:
ChangeLog doc/reference/syslog-ng.xml
2006-12-21 08:46:42 GMT Balazs Scheidler <bazsi@balabit.hu> patch-111
Summary:
bumped version to 2.0.1
Revision:
syslog-ng--mainline--2.0--patch-111
modified files:
ChangeLog VERSION
2006-12-21 08:45:35 GMT Balazs Scheidler <bazsi@balabit.hu> patch-110
Summary:
updated documentation with new dns cache options
Revision:
syslog-ng--mainline--2.0--patch-110
modified files:
ChangeLog doc/reference/syslog-ng.xml
2006-12-21 08:39:23 GMT Balazs Scheidler <bazsi@balabit.hu> patch-109
Summary:
NEWS preparations for syslog-ng 2.0.1
Revision:
syslog-ng--mainline--2.0--patch-109
modified files:
ChangeLog NEWS
2006-12-21 08:31:08 GMT Balazs Scheidler <bazsi@balabit.hu> patch-108
Summary:
obsoleted remove_if_older option in favour of overwrite_if_older
Revision:
syslog-ng--mainline--2.0--patch-108
* src/affile.{c,h}: renamed remove_if_older references to
overwrite_if_older
* src/cfg-lex.l, src/cfg-grammar.y: -"-
* doc/reference/syslog-ng.xml: added overwrite_if_older
documentation, added note about obsoleted remove_if_older()
modified files:
ChangeLog doc/reference/syslog-ng.xml src/affile.c
src/affile.h src/cfg-grammar.y src/cfg-lex.l
2006-12-21 08:21:49 GMT Balazs Scheidler <bazsi@balabit.hu> patch-107
Summary:
documentation updates on remove_if_older()
Revision:
syslog-ng--mainline--2.0--patch-107
modified files:
ChangeLog doc/reference/syslog-ng.xml
2006-12-18 09:01:46 GMT Balazs Scheidler <bazsi@balabit.hu> patch-106
Summary:
added include misc.h to afstreams.c
Revision:
syslog-ng--mainline--2.0--patch-106
* src/afstreams.c: added #include "misc.h"
modified files:
ChangeLog src/afstreams.c
2006-12-11 09:42:40 GMT Balazs Scheidler <bazsi@balabit.hu> patch-105
Summary:
removed bogus timezone error message for correct timezone values
Revision:
syslog-ng--mainline--2.0--patch-105
* src/cfg.c (cfg_timezone_value): readded erroneously removed return
statement which caused an error message for all timezone values
modified files:
ChangeLog src/cfg.c
2006-12-08 08:40:35 GMT Balazs Scheidler <bazsi@balabit.hu> patch-104
Summary:
removed 12 hour limitation from timezone offsets
Revision:
syslog-ng--mainline--2.0--patch-104
* src/cfg.c (cfg_timezone_value): removed 12 hours limitation as
offsets may well exceed that value (maximum is 24 hours)
* doc/reference/syslog-ng.xml: removed non-existing timezone()
option
modified files:
ChangeLog doc/reference/syslog-ng.xml src/cfg.c
2006-12-02 22:20:39 GMT Balazs Scheidler <bazsi@balabit.hu> patch-103
Summary:
added minimum version checking for glib/eventlog, also fixed a portability problem with non-gcc compilers in configure
Revision:
syslog-ng--mainline--2.0--patch-103
modified files:
ChangeLog configure.in
2006-11-30 09:49:22 GMT Balazs Scheidler <bazsi@balabit.hu> patch-102
Summary:
fixed a typo in the documentation, added sys/socket.h to dnscache.c
Revision:
syslog-ng--mainline--2.0--patch-102
modified files:
ChangeLog doc/reference/syslog-ng.xml src/dnscache.c
2006-11-27 10:55:47 GMT Balazs Scheidler <bazsi@balabit.hu> patch-101
Summary:
fixed the previously messed up commit
Revision:
syslog-ng--mainline--2.0--patch-101
modified files:
ChangeLog src/logmsg.c
2006-11-27 10:52:40 GMT Balazs Scheidler <bazsi@balabit.hu> patch-100
Summary:
fixed a compilation problem in logmsg.c
Revision:
syslog-ng--mainline--2.0--patch-100
* src/logmsg.c (log_msg_parse): fixed a bad assignment
modified files:
ChangeLog src/cfg-grammar.y
2006-11-16 14:15:50 GMT Balazs Scheidler <bazsi@balabit.hu> patch-99
Summary:
timezone offset calculation fix
Revision:
syslog-ng--mainline--2.0--patch-99
* src/logmsg.c (log_stamp_format): don't use the absolute value of
timezone offset,
(log_msg_parse): initialize tm.tm_gmtoff using a call to localtime()
instead of using memset(), fixed tv_sec calculation as it was not
really UTC which it should've been.
* tests/unit/test_msgparse.c: fixed time parsing testcases
modified files:
ChangeLog src/logmsg.c tests/unit/test_msgparse.c
2006-11-16 13:11:04 GMT Balazs Scheidler <bazsi@balabit.hu> patch-98
Summary:
fixed GLib static link configure test to work with non-gcc compilers
Revision:
syslog-ng--mainline--2.0--patch-98
* configure.in: fixed GLib static link configure test to work with
non-gcc compilers
modified files:
ChangeLog configure.in
2006-11-08 14:18:14 GMT Balazs Scheidler <bazsi@balabit.hu> patch-97
Summary:
fixed up dnscache unit test program
Revision:
syslog-ng--mainline--2.0--patch-97
modified files:
ChangeLog tests/unit/test_dnscache.c
2006-11-08 14:16:23 GMT Balazs Scheidler <bazsi@balabit.hu> patch-96
Summary:
implemented DNS cache and custom hosts file support
Revision:
syslog-ng--mainline--2.0--patch-96
* src/cfg-grammar.y: added KW_PERSIST_ONLY, KW_DNS_CACHE_HOSTS keywords, dnsmode rule,
removed tripleoption and related options, added
* src/cfg-lex.l: added dnscache specific new keywords,
* src/cfg.c (cfg_init): added a call to dns_cache_set_params,
(cfg_free): free dns_cache_hosts,
* src/main.c (main): call dns_cache_init() and dns_cache_destroy()
* src/misc.c (resolve_hostname): added DNS cache and persistent-only
resolution support
* src/sgroup.c (log_source_group_init): save dns cache params,
(log_source_group_queue): pass use_dns_cache param to resolve_hostname
* src/dnscache.{c,h}: new files
new files:
src/.arch-ids/dnscache.c.id src/.arch-ids/dnscache.h.id
src/dnscache.c src/dnscache.h
tests/unit/.arch-ids/test_dnscache.c.id
tests/unit/test_dnscache.c
modified files:
ChangeLog src/Makefile.am src/affile.h src/cfg-grammar.y
src/cfg-lex.l src/cfg.c src/cfg.h src/main.c src/misc.c
src/misc.h src/sgroup.c src/sgroup.h tests/unit/Makefile.am
2006-11-08 14:11:00 GMT Balazs Scheidler <bazsi@balabit.hu> patch-95
Summary:
don't fail at startup if network connection is down
Revision:
syslog-ng--mainline--2.0--patch-95
* src/afsocket.c (afsocket_open_socket): added an error message if
socket creation failed,
(afsocket_dd_start_reconnect_timer): new function, deregisters and
starts a new reconnect timer,
(afsocket_dd_connected): use afsocket_dd_start_reconnect_timer,
(afsocket_dd_start_connect): renamed from afsocket_dd_reconnect,
removed explicit timer registration,
(afsocket_dd_reconnect): new function, calls _start_connect and
registers the reconnect timer if that fails,
(afsocket_dd_init): afsocket_dd_reconnect does not return a value now
modified files:
ChangeLog src/afsocket.c
2006-11-08 10:10:37 GMT Balazs Scheidler <bazsi@balabit.hu> patch-94
Summary:
increased listener source priorities
Revision:
syslog-ng--mainline--2.0--patch-94
* src/syslog-ng.h (LOG_PRIORITY_LISTEN): increased priority to match
LOG_PRIORITY_READER as otherwise a continous input flow can starve
accept()
modified files:
ChangeLog src/syslog-ng.h
2006-11-08 09:53:59 GMT Balazs Scheidler <bazsi@balabit.hu> patch-93
Summary:
set the pipe for program destinations to nonlbocking mode
Revision:
syslog-ng--mainline--2.0--patch-93
* src/afprog.c (afprogram_dd_init): set the pipe fd to nonblocking
mode to avoid a possible hang
modified files:
ChangeLog src/afprog.c
2006-10-28 16:07:36 GMT Balazs Scheidler <bazsi@balabit.hu> patch-92
Summary:
implemented the missing remove_if_older option
Revision:
syslog-ng--mainline--2.0--patch-92
* src/affile.c (affile_dw_init): check if the file exists and is
older than the value for remove_if_older, if it is unlink it,
(affile_dd_set_remove_if_older): new function to set remove_if_older
value,
* src/cfg-grammar.y (dest_affile_option): added KW_REMOVE_IF_OLDER rule
* src/cfg-lex.l: added keyword for KW_REMOVE_IF_OLDER
modified files:
ChangeLog src/affile.c src/affile.h src/cfg-grammar.y
src/cfg-lex.l
2006-10-28 15:37:15 GMT Balazs Scheidler <bazsi@balabit.hu> patch-91
Summary:
preparations for 2.0.0
Revision:
syslog-ng--mainline--2.0--patch-91
modified files:
ChangeLog NEWS VERSION
2006-10-28 07:24:49 GMT Balazs Scheidler <bazsi@balabit.hu> patch-90
Summary:
fixed process restarting and some other minor fixes
Revision:
syslog-ng--mainline--2.0--patch-90
* src/afprog.c (afprogram_dd_exit): check that the current pid is
equal to the process that was exited, as the EPIPE handling code
might have already done our job,
(afprogram_dd_init): don't leave the read side of the pipe twice
with the process, removed a call to g_fd_set_cloexec() as it's not
needed and was too late anyway, should've been before fork,
* src/gsockaddr.c (g_sockaddr_unix_format): the kernel sometimes
returns only an address family for unix socket names, and we printed
a lot of garbage instead of "anonymous" in this case
* src/logwriter.c (log_writer_broken): move log_pipe_deinit() before
log_pipe_notify(), this was changed in rc3 with a changelog that it
should not matter, however it does matter :P as it might have left
the writer in an unpolled state
modified files:
ChangeLog src/afprog.c src/gsockaddr.c src/logwriter.c
2006-10-27 15:15:30 GMT Balazs Scheidler <bazsi@balabit.hu> patch-89
Summary:
integrated solaris build scripts from dev-folti (fixes: #10358)
Revision:
syslog-ng--mainline--2.0--patch-89
Patches applied:
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--base-0
tag of devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-87
* devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-1
Added support for solaris 8/9 and rhel 3/4 packaging. (fixes: #10358)
new files:
.arch-ids/syslog-ng.spec.bb.in.id solbuild/.arch-ids/=id
solbuild/.arch-ids/Makefile.am.id solbuild/.arch-ids/admin.id
solbuild/.arch-ids/depend.id solbuild/.arch-ids/pkginfo.in.id
solbuild/.arch-ids/pkgmaker.sh.id
solbuild/.arch-ids/prototype-maker.sh.id
solbuild/.arch-ids/rules.conf.id solbuild/.arch-ids/rules.id
solbuild/.arch-ids/space.id
solbuild/.arch-ids/syslog-ng.init.d.id solbuild/Makefile.am
solbuild/admin solbuild/depend solbuild/pkginfo.in
solbuild/pkgmaker.sh solbuild/prototype-maker.sh
solbuild/rules solbuild/rules.conf solbuild/space
solbuild/syslog-ng.init.d syslog-ng.spec.bb.in
modified files:
ChangeLog Makefile.am configure.in
new directories:
solbuild solbuild/.arch-ids
new patches:
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--base-0
devel@balabit.hu--other-1/syslog-ng--dev-folti--2.0--patch-1
2006-10-27 15:10:36 GMT Balazs Scheidler <bazsi@balabit.hu> patch-88
Summary:
fixed some compilation warnings under gcc4
Revision:
syslog-ng--mainline--2.0--patch-88
* src/affile.c (affile_dd_init): added some casts to suppress some
warnings
* src/gsockaddr.c (g_accept): use socklen_t instead of int as a
second argument to accept
modified files:
ChangeLog src/affile.c src/gsockaddr.c
2006-10-25 08:36:58 GMT Balazs Scheidler <bazsi@balabit.hu> patch-87
Summary:
documentation updates merged from the tech-writer team
Revision:
syslog-ng--mainline--2.0--patch-87
Patches applied:
* devel@balabit.hu--other-1/syslog-ng--documentation--2.0--patch-1
Updated reference guide, still needs work, see FIXMEs
* devel@balabit.hu--other-1/syslog-ng--documentation--2.0--patch-2
Updates and fixes from Bazsi
modified files:
ChangeLog doc/reference/syslog-ng.xml
new patches:
devel@balabit.hu--other-1/syslog-ng--documentation--2.0--patch-1
devel@balabit.hu--other-1/syslog-ng--documentation--2.0--patch-2
2006-10-24 11:37:43 GMT Balazs Scheidler <bazsi@balabit.hu> patch-86
Summary:
updated VERSION number
Revision:
syslog-ng--mainline--2.0--patch-86
modified files:
ChangeLog VERSION
2006-10-24 11:37:16 GMT Balazs Scheidler <bazsi@balabit.hu> patch-85
Summary:
preparations for 2.0rc4
Revision:
syslog-ng--mainline--2.0--patch-85
modified files:
ChangeLog NEWS
2006-10-21 20:41:41 GMT Balazs Scheidler <bazsi@balabit.hu> patch-84
Summary:
fixed possible NULL deref on destination connection broken, fixed EOF detection
Revision:
syslog-ng--mainline--2.0--patch-84
2006-10-21 Balazs Scheidler <bazsi@balabit.hu>
* src/logwriter.c (log_writer_fd_prepare): when EOF detection is
enabled specify G_IO_IN and G_IO_HUP in addition to normal flags,
(log_writer_fd_dispatch): input on the destination fd is taken as EOF,
(log_writer_broken): _deinit is moved after the call to notify,
should not matter at all however the reference counting depends on
the fact that log_pipe_notify() will not be called after _deinit
finishes, in this specific case it would not really matter,
(log_writer_deinit): remove unref of self->control,
(log_writer_new): self->control is a borrowed reference, don't
increase refcount
modified files:
ChangeLog src/logwriter.c
2006-10-06 11:49:45 GMT Balazs Scheidler <bazsi@balabit.hu> patch-83
Summary:
added syslog-multicast client to contrib
Revision:
syslog-ng--mainline--2.0--patch-83
new files:
contrib/.arch-ids/syslog-mc.id contrib/syslog-mc
modified files:
ChangeLog contrib/README
2006-09-14 12:35:49 GMT Balazs Scheidler <bazsi@balabit.hu> patch-82
Summary:
preparations for 2.0rc3
Revision:
syslog-ng--mainline--2.0--patch-82
modified files:
ChangeLog NEWS VERSION
2006-09-14 12:34:44 GMT Balazs Scheidler <bazsi@balabit.hu> patch-81
Summary:
fixed a possible SEGFAULT caused by one of the leak fixes, when output templates() are used
Revision:
syslog-ng--mainline--2.0--patch-81
2006-09-14 Balazs Scheidler <bazsi@balabit.hu>
* src/logwriter.c (log_writer_options_init): save options->template
before calling log_writer_options_destroy and restore it afterwards
as that is never initialized based on the configuration
modified files:
ChangeLog src/logwriter.c tests/functional/func_test.py
2006-09-11 10:10:09 GMT Balazs Scheidler <bazsi@balabit.hu> patch-80
Summary:
NEWS update
Revision:
syslog-ng--mainline--2.0--patch-80
modified files:
ChangeLog NEWS
2006-09-11 10:06:07 GMT Balazs Scheidler <bazsi@balabit.hu> patch-79
Summary:
preparations for 2.0rc2 release
Revision:
syslog-ng--mainline--2.0--patch-79
modified files:
ChangeLog VERSION
2006-09-11 10:05:05 GMT Balazs Scheidler <bazsi@balabit.hu> patch-78
Summary:
fixed name resolution for unix domain socket peers
Revision:
syslog-ng--mainline--2.0--patch-78
2006-09-11 Balazs Scheidler <bazsi@balabit.hu>
* src/misc.c (resolve_hostname): for UNIX domain socket peers don't
try to resolve the sender address, fixes a possible abort,
introduced by patch-76
modified files:
ChangeLog src/misc.c tests/functional/func_test.py
2006-09-11 09:47:54 GMT Balazs Scheidler <bazsi@balabit.hu> patch-77
Summary:
added stats counter orphaning to fix "duplicate stats counter message" for program destinations
Revision:
syslog-ng--mainline--2.0--patch-77
2006-09-11 Balazs Scheidler <bazsi@balabit.hu>
* src/logwriter.c (log_writer_deinit): call stats_orphan_counter,
(log_writer_free): removed stats_unregister_counter, fixed a memory
leak by freeing all elements in the logwriter queue,
(log_writer_options_init): fixed a possible memory leak by freeing
the option structure contents before overwriting it with new values,
* src/main.c (main_loop_run): added stats_cleanup_orphans() call
* src/stats.c (stats_counter_free): new function,
(stats_register_counter): added special case for orphaned counters,
save "shared" value in the StatsCounter structure,
(stats_orphan_counter): new function, orphanes a counter that can
thus be reused by a new configuration upon the receiption of a HUP signal,
(stats_unregister_counter): use stats_counter_free instead of
open-coding it,
(stats_cleanup_orphans): free all orphaned counters, to be called
after a reload
modified files:
ChangeLog src/logmsg.c src/logwriter.c src/main.c src/stats.c
src/stats.h
2006-09-11 09:41:42 GMT Balazs Scheidler <bazsi@balabit.hu> patch-76
Summary:
fixed IPv6 name resolution
Revision:
syslog-ng--mainline--2.0--patch-76
2006-09-11 Balazs Scheidler <bazsi@balabit.hu>
* src/misc.c (resolve_hostname): added IPv6 specific name resolution
modified files:
ChangeLog src/misc.c
2006-09-11 09:40:58 GMT Balazs Scheidler <bazsi@balabit.hu> patch-75
Summary:
fixed NL handling in DGRAM transports
Revision:
syslog-ng--mainline--2.0--patch-75
2006-09-11 Balazs Scheidler <bazsi@balabit.hu>
* src/logreader.c (log_reader_iterate_buf): flush input buffer
regardless of embedded NLs in the case of DGRAM transports
modified files:
ChangeLog src/logreader.c
2006-08-09 08:01:16 GMT Balazs Scheidler <bazsi@balabit.hu> patch-74
Summary:
fixed another memory leak that might happen during exit
Revision:
syslog-ng--mainline--2.0--patch-74
* src/messages.c (msg_send_internal_message): don't allocate a
LogMessage if internal_msg_queue is NULL as that can't be sent
anyway
modified files:
ChangeLog src/messages.c
2006-08-08 19:58:08 GMT Balazs Scheidler <bazsi@balabit.hu> patch-73
Summary:
various memory leak fixes
Revision:
syslog-ng--mainline--2.0--patch-73
* src/affile.c (affile_dw_deinit): check if self->writer is NULL,
(affile_dd_free): call log_writer_options_destroy as
LogWriterOptions might contain dynamically allocated memory,
* src/afprog.c (afprogram_dd_exit): removed log_pipe_unref, it is
performed by the children handling framework,
(afprogram_dd_init): use the new GDestroyNotify argument of children
manager,
(afprogram_dd_free): added log_writer_options_destroy call
* src/afsocket.c (afsocket_dd_free): added
log_writer_options_destroy call
* src/children.c (ChildEntry): added callback_data_destroy member,
(child_manager_child_entry_free): new function, frees a ChildEntry,
(child_manager_sigchild): removed g_free, it is done by the
GHashTable automatically,
(child_manager_init): use g_hash_table_new_full and specify destroy
notify callback for the data stored in the hashtable
* src/logreader.c (log_reader_iterate_buf): assume that saddr is a
borrowed reference and handle it as such,
(log_reader_fetch_log): iterate_buf borrows the reference so it is
our duty to free sockaddr, do so in all branches,
* src/logwriter.c (log_writer_deinit): drop reference to
self->control to break a circular reference,
(log_writer_free): removed log_pipe_unref self->control,
* src/messages.c (msg_send_internal_message): check if
internal_msg_queue is null,
(msg_deinit): free internal_msg_queue
modified files:
ChangeLog src/affile.c src/afprog.c src/afsocket.c
src/children.c src/children.h src/logreader.c src/logwriter.c
src/logwriter.h src/messages.c
2006-08-02 07:22:17 GMT Balazs Scheidler <bazsi@balabit.hu> patch-72
Summary:
Fixed possible DoS when a 0 sized packet is received via UDP
Revision:
syslog-ng--mainline--2.0--patch-72
* src/logreader.c (log_reader_fetch_log): don't take 0 sized packets
as EOF for packet based transports like UDP
* src/afsocket.c (afsocket_sc_notify): don't close the input
connection on read errors for non-stream based transports
modified files:
ChangeLog src/afsocket.c src/logreader.c
2006-07-28 12:54:35 GMT Balazs Scheidler <bazsi@balabit.hu> patch-71
Summary:
fixed facility filter evaluation problem on platforms with unsigned chars (powerpc)
Revision:
syslog-ng--mainline--2.0--patch-71
* src/filter.c (filter_facility_eval): Fixed filter evaluation on
platforms which have unsigned character type by default (powerpc)
modified files:
ChangeLog src/filter.c
2006-07-16 19:29:31 GMT Balazs Scheidler <bazsi@balabit.hu> patch-70
Summary:
added clarification of the output format of program()
Revision:
syslog-ng--mainline--2.0--patch-70
modified files:
ChangeLog doc/reference/syslog-ng.xml
2006-07-08 11:56:10 GMT Balazs Scheidler <bazsi@balabit.hu> patch-69
Summary:
NEWS update
Revision:
syslog-ng--mainline--2.0--patch-69
modified files:
ChangeLog NEWS
2006-07-08 11:52:25 GMT Balazs Scheidler <bazsi@balabit.hu> patch-68
Summary:
preparations for 2.0rc1 release
Revision:
syslog-ng--mainline--2.0--patch-68
modified files:
ChangeLog NEWS
2006-06-28 12:09:44 GMT Balazs Scheidler <bazsi@balabit.hu> patch-67
Summary:
fixed unix domain destination handling
Revision:
syslog-ng--mainline--2.0--patch-67
* src/afunix.c (afunix_dd_new): initialize bind_addr as the afsocket
code assumes that it is not NULL, fixes a possible SIGSEGV
modified files:
ChangeLog NEWS src/afunix.c
2006-06-23 14:10:53 GMT Balazs Scheidler <bazsi@balabit.hu> patch-66
Summary:
fixed dir_group processing
Revision:
syslog-ng--mainline--2.0--patch-66
* src/affile.c (affile_dd_new): dir_gid was not initialized because
of a typo, thus dir_group() did not take effect, fixed
modified files:
ChangeLog src/affile.c
2006-06-20 12:50:32 GMT Balazs Scheidler <bazsi@balabit.hu> patch-65
Summary:
bumped version to 2.0rc1
Revision:
syslog-ng--mainline--2.0--patch-65
modified files:
ChangeLog VERSION
2006-06-20 11:44:31 GMT Balazs Scheidler <bazsi@balabit.hu> patch-64
Summary:
documentation updates, flush_timeout changed to use msecs
Revision:
syslog-ng--mainline--2.0--patch-64
* doc/reference/syslog-ng.xml: documentation updates
* src/logwriter.c (log_writer_fd_prepare): assume that the
flush_timeout parameter is in msecs
* src/cfg.c (cfg_init): use 10000 as default for flush_timeout()
modified files:
ChangeLog NEWS doc/reference/syslog-ng.xml src/cfg.c
src/logwriter.c
2006-06-12 09:21:24 GMT Balazs Scheidler <bazsi@balabit.hu> patch-63
Summary:
support optional() for file destinations, optional destinations are only reopened after time_reopen() time has elapsed
Revision:
syslog-ng--mainline--2.0--patch-63
* src/affile.c (AFFileDestWriter): added time_reopen and
last_open_stamp members,
(affile_dw_init): store the time_reopen value from cfg, save the
current time in last_open_stamp, don't fail the initialization if
optional is enabled,
(affile_dw_queue): reopen the destination if time_reopen() time has
elapsed, drop the message if we are without a destination,
* src/cfg-grammar.y (dest_affile_options): added KW_OPTIONAL parsing
modified files:
ChangeLog src/affile.c src/cfg-grammar.y
2006-06-12 08:47:41 GMT Balazs Scheidler <bazsi@balabit.hu> patch-62
Summary:
fixed evaluation of priority range filters
Revision:
syslog-ng--mainline--2.0--patch-62
* src/syslog-names.c (syslog_name_find_name): new inline function
used by various lookup functions,
(syslog_name_lookup_id_by_name): renamed from syslog_lookup_name,
(syslog_name_lookup_name_by_value): renamed from syslog_lookup_value,
(syslog_name_lookup_value_by_name): new function,
(syslog_make_range): renamed parameters to make the code more readable
* src/syslog-names.h (syslog_name_lookup_level_by_name): changed to
return the _VALUE_ for syslog message levels,
(syslog_name_lookup_facility_by_name): follow name changes
* src/cfg-grammar.y: use the new, more readable function names in
syslog-names.c
* src/filter.c (filter_level_eval): we store a bitmask of the value
of priorities instead of our internal ids, thus the function body
was simplified a lot (and it works now :)
* src/macros.c (log_macro_expand): follow function renames
* tests/unit/test_filters.c: added level range tests
modified files:
ChangeLog src/cfg-grammar.y src/filter.c src/macros.c
src/syslog-names.c src/syslog-names.h
tests/unit/test_filters.c
2006-06-12 07:53:10 GMT Balazs Scheidler <bazsi@balabit.hu> patch-61
Summary:
portability fixes
Revision:
syslog-ng--mainline--2.0--patch-61
* configure.in: detect AIX and HP-UX using uname -s, instead of
trying to extract platform information from the linker's version
number (proved not to be reliable on HP-UX)
* src/misc.c (getlonghostname, getshorthostname): use 256 characters
array to store hostnames
* src/sgroup.c (log_source_group_queue): -"-
modified files:
ChangeLog configure.in src/misc.c src/sgroup.c
2006-06-07 09:14:55 GMT Balazs Scheidler <bazsi@balabit.hu> patch-60
Summary:
fixed pointer conversion macros on 64 bit platforms
Revision:
syslog-ng--mainline--2.0--patch-60
* src/macros.c (log_macro_lookup): use GINT_TO_POINTER and
GPOINTER_TO_INT macros instead of casting values directly to avoid
warnings on 64 bit systems
modified files:
ChangeLog src/macros.c
2006-06-07 09:09:14 GMT Balazs Scheidler <bazsi@balabit.hu> patch-59
Summary:
do not reconnect to target immediately but wait for time_reopen first
Revision:
syslog-ng--mainline--2.0--patch-59
* src/afsocket.c (afsocket_dd_notify): instead of immediately
scheduling a reconnect, start the reconnect timer to avoid excessive
number of reconnection requests in case of a going up-and-down
connection
modified files:
ChangeLog src/afsocket.c
2006-06-07 09:07:40 GMT Balazs Scheidler <bazsi@balabit.hu> patch-58
Summary:
fixed IPv6 portability problem
Revision:
syslog-ng--mainline--2.0--patch-58
* src/afinet.c (afinet_setup_socket): use the "official"
IPV6_JOIN_GROUP name instead of IPV6_ADD_MEMBERSHIP as the latter is
not defined on all platforms
modified files:
ChangeLog src/afinet.c
2006-06-01 09:10:00 GMT Balazs Scheidler <bazsi@balabit.hu> patch-57
Summary:
fixed HP-UX portability problem
Revision:
syslog-ng--mainline--2.0--patch-57
* src/afinet.c (afinet_setup_socket): fixed IN6_IS_ADDR_MULTICAST
call as struct in6_addr definition differs on HP-UX (thanks go to
Albert Chin)
modified files:
ChangeLog src/afinet.c
2006-05-26 19:33:31 GMT Balazs Scheidler <bazsi@balabit.hu> patch-56
Summary:
removed C99ism from stats.c
Revision:
syslog-ng--mainline--2.0--patch-56
* src/stats.c (stats_generate_log): remove C99 initializers from the
initialization of tag_names to make syslog-ng compatible with vendor
compilers of various commercial UNIX platforms
modified files:
ChangeLog src/stats.c
2006-05-26 19:30:30 GMT Balazs Scheidler <bazsi@balabit.hu> patch-55
Summary:
compatibility fixes for Solaris/AIX
Revision:
syslog-ng--mainline--2.0--patch-55
2006-05-26 Balazs Scheidler <bazsi@balabit.hu>
* src/afinet.c: define SOL_IP and SOL_IPV6 on platforms which use
IPPROTO_* for this purpose, added the inclusion of <string.h> for
the definition of memset()
modified files:
ChangeLog src/afinet.c
2006-05-26 19:25:24 GMT Balazs Scheidler <bazsi@balabit.hu> patch-54
Summary:
added LEVEL_NUM and FACILITY_NUM macros to follow 1.6.x changes
Revision:
syslog-ng--mainline--2.0--patch-54
* src/macros.c (log_macro_expand): added code for LEVEL_NUM and
FACILITY_NUM macros
* tests/test_template.c: added testcase for LEVEL_NUM and
FACILITY_NUM macros
modified files:
ChangeLog src/macros.c src/macros.h tests/unit/test_template.c
2006-05-24 08:59:44 GMT Balazs Scheidler <bazsi@balabit.hu> patch-53
Summary:
guard LOG_CRON with ifdef as it might not exist on some platforms
Revision:
syslog-ng--mainline--2.0--patch-53
* src/syslog-names.c (sl_facilities): some platforms do not define
LOG_CRON
modified files:
ChangeLog src/syslog-names.c
2006-05-23 18:45:59 GMT Balazs Scheidler <bazsi@balabit.hu> patch-52
Summary:
preparations for 1.9.11
Revision:
syslog-ng--mainline--2.0--patch-52
modified files:
ChangeLog NEWS VERSION
2006-05-23 18:45:37 GMT Balazs Scheidler <bazsi@balabit.hu> patch-51
Summary:
fixed dropping input/output/error fds when going to background
Revision:
syslog-ng--mainline--2.0--patch-51
2006-05-23 Balazs Scheidler <bazsi@balabit.hu>
* src/main.c (setup_std_fds): fix inverted check for errors after
opening /dev/null, also close stderr when log_to_stderr is not
specified
* src/afprog.c (afprogram_dd_init): removed setsid call
modified files:
ChangeLog src/afprog.c src/main.c
2006-05-23 18:33:25 GMT Balazs Scheidler <bazsi@balabit.hu> patch-50
Summary:
add program exit status information to 'child program exited' log message
Revision:
syslog-ng--mainline--2.0--patch-50
2006-05-23 Balazs Scheidler <bazsi@balabit.hu>
* src/afprog.c (afprogram_dd_exit): added program exit status
information to 'child program exited' log message
modified files:
ChangeLog src/afprog.c
2006-05-23 18:31:55 GMT Balazs Scheidler <bazsi@balabit.hu> patch-49
Summary:
added direction to socket setup code, fixed multicast setup
Revision:
syslog-ng--mainline--2.0--patch-49
2006-05-23 Balazs Scheidler <bazsi@balabit.hu>
* src/afsocket.h (AFSocketDirection): new type, specifies the future
communication direction on a socket, used to determine which socket
options to set on a socket,
* src/afsocket.c (afsocket_setup_socket): added direction parameter,
(afsocket_sd_setup_socket, afsocket_dd_setup_socket): pass value for
'direction' parameter
* src/afinet.c (afinet_setup_socket): added direction parameter,
fixed multicast check for IPv4 addresses
modified files:
ChangeLog src/afinet.c src/afsocket.c src/afsocket.h
2006-05-23 18:28:52 GMT Balazs Scheidler <bazsi@balabit.hu> patch-48
Summary:
check that the value for time_sleep is less than 500msec
Revision:
syslog-ng--mainline--2.0--patch-48
2006-05-23 Balazs Scheidler <bazsi@balabit.hu>
* src/cfg-grammar.y (options_item, KW_TIME_SLEEP): check if the
value is more than 500, and maximize its value in this case
* src/main.c (main_loop_run): calculate timespec properly if
time_sleep is more than 1 sec
modified files:
ChangeLog src/cfg-grammar.y src/main.c
2006-05-01 14:06:35 GMT Balazs Scheidler <bazsi@balabit.hu> patch-47
Summary:
added options to control various socket parameters and added multicast support
Revision:
syslog-ng--mainline--2.0--patch-47
* src/gsockaddr.h (g_sockaddr_inet6_get_address,
g_sockaddr_inet6_set_address): use pointers to struct in6_addr
instead of passing the structure by value
* src/afsocket.c (afsocket_setup_socket): new function, set generic
socket options,
(afsocket_sd_accept): call setup_socket for new fds,
(afsocket_sd_init): -"-,
(afsocket_dd_reconnect): -"-,
(afsocket_sd_setup_socket): new function, default setup_socket callback,
(afsocket_sd_init_instance): added sock_options argument, set
default setup_socket callback,
(afsocket_dd_init_instance): added sock_options argument, set
default setup_socket callback,
* src/afsocket.h (AFSocketSourceDriver): added setup_socket callback,
(AFSocketDestDriver): added setup_socket callback,
* src/afinet.c (afinet_resolve_name): follow g_sockaddr_inet6_set_address change,
(afinet_setup_socket): new function to set AF_INET & AF_INET6
specific socket options,
(afinet_sd_setup_socket): new function, used as the setup_socket callback,
(afinet_dd_setup_socket): new function, used as the setup_socket callback,
* src/afunix.c (afunix_sd_new, afunix_dd_new): adapted to afsocket changes,
* src/cfg-grammar.y (socket_option, inet_socket_option): added
socket option parsing
* src/cfg-lex.l: added new keywords for socket options
modified files:
ChangeLog doc/reference/syslog-ng.xml src/afinet.c
src/afinet.h src/afsocket.c src/afsocket.h src/afunix.c
src/afunix.h src/cfg-grammar.y src/cfg-lex.l src/gsockaddr.h
2006-05-01 12:38:10 GMT Balazs Scheidler <bazsi@balabit.hu> patch-46
Summary:
fixed Solaris portability problems, avoid multiread on STREAMS sources
Revision:
syslog-ng--mainline--2.0--patch-46
* configure.in: check for -lrt for nanosleep
* src/afstreams.c (afstreams_sd_init): pass LR_NOMREAD flag to
log_reader_new()
modified files:
ChangeLog configure.in src/afstreams.c
2006-04-30 20:20:44 GMT Balazs Scheidler <bazsi@balabit.hu> patch-45
Summary:
fixed fetching kernel messages which was broken by the multi-read patches
Revision:
syslog-ng--mainline--2.0--patch-45
* src/logreader.h (LR_NOMREAD): new flag, indicates that the log
reader should not use multiple read() calls in a single poll loop
* src/logreader.c (log_reader_fetch_log): break out of the loop if
LR_NOMREAD is specified
* src/affile.c (affile_sd_init): specify LR_NOMREAD
modified files:
ChangeLog src/affile.c src/logreader.c src/logreader.h
2006-04-23 10:35:57 GMT Balazs Scheidler <bazsi@balabit.hu> patch-44
Summary:
fixed endless-loop and CPU spinning if a non-existing filter is referenced in the internal() path
Revision:
syslog-ng--mainline--2.0--patch-44
* src/filter.c (filter_call_eval): only log the "not-found filter"
error message once
modified files:
ChangeLog src/filter.c
2006-04-23 10:22:21 GMT Balazs Scheidler <bazsi@balabit.hu> patch-43
Summary:
fixed possible memory leak
Revision:
syslog-ng--mainline--2.0--patch-43
* src/logreader.c (log_reader_iterate_buf): drop self->prev_addr
reference if it exists, previously it might have been overwritten
with a new reference without dropping the old, fixes a potential
GSockAddr reference leak
modified files:
ChangeLog src/logreader.c
2006-04-23 09:23:19 GMT Balazs Scheidler <bazsi@balabit.hu> patch-42
Summary:
added IPv6 support
Revision:
syslog-ng--mainline--2.0--patch-42
* configure.in: added --enable-ipv6 option, defaults to "yes",
added checks for getaddrinfo()
* src/afinet.c (afinet_set_port): added ipv6 support,
(afinet_resolve_name): renamed from afinet_set_ip, use getaddrinfo()
to resolve names where available,
(afinet_sd_new): added af argument, use afinet_resolve_name instead
of the removed g_sockaddr_inet_new_resolve() function, use a default
"bind address" value if the host argument is NULL,
(afinet_dd_new): added af argument, use afinet_resolve_name instead
of the removed g_sockaddr_inet_new_resolve() function
* src/cfg-grammar.y: added KW_UDP6 and KW_TCP6 keywords,
(source_afsocket, dest_afsocket): added rules for KW_UDP6 & KW_TCP6,
(dest_afinet_udp_params, dest_afinet_tcp_params): added ipv6
support, adapted to the latest changes in afinet
(source_afinet_udp_params, source_afinet_tcp_params): -"-
* src/cfg-lex.l: added "udp6" and "tcp6" keywords
* src/gsockaddr.c (g_sockaddr_inet_new_resolve): removed this
function as it is an address family independent operation now
implemented in afinet.c,
(g_sockaddr_inet6_check): new function to check whether a GSockAddr
contains an ipv6 socket name,
* src/gsockaddr.h (g_sockaddr_get_sa, g_sockaddr_inet_get_sa,
g_sockaddr_inet_get_address, g_sockaddr_inet_set_address,
g_sockaddr_inet_get_port, g_sockaddr_inet_set_port): new inline
functions, ported from the Zorp sockaddr code,
(g_sockaddr_inet6_get_sa, g_sockaddr_inet6_get_address,
g_sockaddr_inet6_set_address, g_sockaddr_inet6_get_port,
g_sockaddr_inet6_set_port): new functions, similar to IPv6 counterparts
modified files:
ChangeLog configure.in src/afinet.c src/afinet.h
src/cfg-grammar.y src/cfg-lex.l src/gsockaddr.c
src/gsockaddr.h
2006-04-20 12:07:17 GMT Balazs Scheidler <bazsi@balabit.hu> patch-41
Summary:
fixed off-by-one in flush_lines() calculation
Revision:
syslog-ng--mainline--2.0--patch-41
* src/logwriter.c (log_writer_fd_prepare): flush_lines(1) required
two lines to be flushed, modified the condition so that:
flush_lines(0) that output buffering is off, flush_lines(1) is
basically equivalent, every single individual line is flushed,
flush_lines(2) flushes the output buffer if two lines are already
available
modified files:
ChangeLog src/logwriter.c
2006-04-20 11:57:20 GMT Balazs Scheidler <bazsi@balabit.hu> patch-40
Summary:
added close-on-exec flag to all opened fds to avoid their inheritance to child processes
Revision:
syslog-ng--mainline--2.0--patch-40
* src/af*.c: call g_fd_set_cloexec for all new fds
* src/misc.c (g_fd_set_cloexec): new function, sets FD_CLOEXEC flag
for an fd
modified files:
ChangeLog src/affile.c src/afprog.c src/afsocket.c
src/afstreams.c src/misc.c src/misc.h
2006-04-19 18:47:12 GMT Balazs Scheidler <bazsi@balabit.hu> patch-39
Summary:
change file owner/group independently
Revision:
syslog-ng--mainline--2.0--patch-39
* src/affile.c (affile_open_file): change owner/group independently
modified files:
ChangeLog src/affile.c
2006-04-19 18:44:34 GMT Balazs Scheidler <bazsi@balabit.hu> patch-38
Summary:
don't try to chmod/chown files that do not exist
Revision:
syslog-ng--mainline--2.0--patch-38
* src/affile.c (affile_open_file): don't call chmod/chown when
opening the file failed
modified files:
ChangeLog src/affile.c
2006-04-10 21:36:12 GMT Balazs Scheidler <bazsi@balabit.hu> patch-37
Summary:
fixed a compilation warning
Revision:
syslog-ng--mainline--2.0--patch-37
modified files:
ChangeLog src/cfg-grammar.y
2006-04-10 21:33:37 GMT Balazs Scheidler <bazsi@balabit.hu> patch-36
Summary:
preparations for 1.9.10, this time for real
Revision:
syslog-ng--mainline--2.0--patch-36
modified files:
ChangeLog NEWS
2006-04-10 21:32:30 GMT Balazs Scheidler <bazsi@balabit.hu> patch-35
Summary:
display an error message instead of a failed assertion when the user specifies conflicting sources
Revision:
syslog-ng--mainline--2.0--patch-35
* src/cfg.c (persist_config_add): don't store the value if it is
NULL, display an error message instead of a failed assertion if
the persistent name conflicts
modified files:
ChangeLog src/cfg.c
2006-04-10 20:59:32 GMT Balazs Scheidler <bazsi@balabit.hu> patch-34
Summary:
don't treat parse flags as keywords
Revision:
syslog-ng--mainline--2.0--patch-34
* src/cfg-grammar.y: removed KW_NO_PARSE and KW_KERNEL tokens,
(source_reader_option_flags): use IDENTIFIER instead of using
separate keywords and call lookup_parse_flag to convert the textual
representation of parse flags to flag values,
* src/cfg-lex.l (keywords): removed no_parse and kernel keywords,
(lookup_parse_flag): new function, returns the flag value associated
with the text representation
* src/cfg.c (cfg_init): fixed possible segfault when bad_hostname
regexp was not specified
modified files:
ChangeLog src/cfg-grammar.y src/cfg-lex.l src/cfg.c
2006-04-10 20:47:03 GMT Balazs Scheidler <bazsi@balabit.hu> patch-33
Summary:
implemented bad_hostname and check_hostname options
Revision:
syslog-ng--mainline--2.0--patch-33
* src/cfg-grammar.y: added KW_BAD_HOSTNAME and KW_CHECK_HOSTNAME tokens
* src/cfg-lex.l: added keywords for KW_BAD_HOSTNAME and KW_CHECK_HOSTNAME
* src/cfg.c (cfg_bad_hostname_set): new function, set global bad_hostname regexp,
(cfg_init): compile bad_hostname_re
* src/log.c (log_msg_parse): added bad_hostname regexp param, and an
implementation of check_hostname() and bad_hostname(),
(log_msg_init): avoid a time(NULL) call,
(log_msg_new): added bad_hostname parameter,
(log_reader_options_init): set options->options and
options->bad_hostname based on the values stored in GlobalConfig
* tests/unit/test_msgparse.c: added testcases for check_hostname()
and bad_hostname()
* src/*.c, src/*.h: followed changes
modified files:
ChangeLog NEWS src/cfg-grammar.y src/cfg-lex.l src/cfg.c
src/cfg.h src/logmsg.c src/logmsg.h src/logreader.c
src/logreader.h src/messages.c tests/unit/test_filters.c
tests/unit/test_msgparse.c tests/unit/test_template.c
2006-04-09 08:02:44 GMT Balazs Scheidler <bazsi@balabit.hu> patch-32
Summary:
fixed timestamp calculation on timezone barriers
Revision:
syslog-ng--mainline--2.0--patch-32
* src/logmsg.c (log_msg_parse): fixed timestamp calculation where a
timezone information was specified, see the comment for details,
* tests/unit/test_msgparse.c: added some more testcases with
timestamps around the DST switch
* tests/unit/test_template.c: fixed the timezone offset of the
arbitrary timestamp chosen in the testcases
modified files:
ChangeLog src/logmsg.c src/misc.c tests/unit/test_msgparse.c
tests/unit/test_template.c
2006-04-07 14:27:52 GMT Balazs Scheidler <bazsi@balabit.hu> patch-31
Summary:
accept negative numbers as NUMBER in the lexer
Revision:
syslog-ng--mainline--2.0--patch-31
2006-04-07 Balazs Scheidler <bazsi@balabit.hu>
* src/cfg-lex.l: accept negative numbers in the lexer
modified files:
ChangeLog src/cfg-lex.l
2006-04-06 10:20:41 GMT Balazs Scheidler <bazsi@balabit.hu> patch-30
Summary:
added a paragraph to the documentation clarifying pipe and /proc/kmsg
Revision:
syslog-ng--mainline--2.0--patch-30
modified files:
ChangeLog doc/reference/syslog-ng.xml
2006-04-02 10:11:57 GMT Balazs Scheidler <bazsi@balabit.hu> patch-29
Summary:
updated NEWS file, preparations for 1.9.10
Revision:
syslog-ng--mainline--2.0--patch-29
* VERSION: bumped version to 1.9.10
modified files:
ChangeLog NEWS VERSION
2006-04-01 08:03:10 GMT Balazs Scheidler <bazsi@balabit.hu> patch-28
Summary:
fixed large file support
Revision:
syslog-ng--mainline--2.0--patch-28
* configure.in: check for O_LARGEFILE
* src/affile.c: use O_LARGEFILE when available
modified files:
ChangeLog configure.in src/affile.c
2006-03-26 17:38:09 GMT Balazs Scheidler <bazsi@balabit.hu> patch-27
Summary:
fixed priority level filtering
Revision:
syslog-ng--mainline--2.0--patch-27
* src/cfg-grammar.y (filter_level): fixed priority level based
filtering, spotted and reported by Jakub Bogusz
modified files:
ChangeLog src/cfg-grammar.y
2006-03-22 15:39:58 GMT Balazs Scheidler <bazsi@balabit.hu> patch-26
Summary:
fixed a possible segmentation fault on write errors
Revision:
syslog-ng--mainline--2.0--patch-26
* src/logwriter.c (log_writer_flush_log): return from the function
on error instead of looping with line == NULL, this fixes a possible
SIGSEGV, when some messages sit in the queue while the destination
goes away
modified files:
ChangeLog src/logwriter.c
2006-03-18 22:08:50 GMT Balazs Scheidler <bazsi@balabit.hu> patch-25
Summary:
reimplemented netmask() filter which was missing from 1.9.9
Revision:
syslog-ng--mainline--2.0--patch-25
* src/cfg-grammar.y, src/cfg-lex.l: added KW_NETMASK
* src/filter.c (filter_netmask_new): new function to construct a
netmask filter, cidr "address/prefix" and "address/address" formats
are accepted
* src/logmsg.h: fixed a warning by declaring log_msg_clear_matches function
* doc/reference/syslog-ng.xml: added a notice on redefining
template() for network destinations
* tests/unit/test_filter.c: added unit tests for netmask filter
modified files:
ChangeLog doc/reference/syslog-ng.xml src/cfg-grammar.y
src/cfg-lex.l src/filter.c src/filter.h src/logmsg.h
tests/unit/test_filters.c
2006-03-13 23:12:08 GMT Balazs Scheidler <bazsi@balabit.hu> patch-24
Summary:
fixed regexp match space macro expansion
Revision:
syslog-ng--mainline--2.0--patch-24
* src/filter.c (filter_re_eval): added msg parameter, instead of
using the re_matches array, use a per-message store
* src/logmsg.h (LogMessage): added re_matches
* src/macros.c (log_macro_expand): use per-message re_matches array
modified files:
ChangeLog src/filter.c src/filter.h src/logmsg.c src/logmsg.h
src/macros.c src/main.c
2006-03-13 17:16:08 GMT Balazs Scheidler <bazsi@balabit.hu> patch-23
Summary:
fail the testprogram if the pidfile could not be found
Revision:
syslog-ng--mainline--2.0--patch-23
modified files:
ChangeLog tests/functional/func_test.py
2006-03-13 16:37:17 GMT Balazs Scheidler <bazsi@balabit.hu> patch-22
Summary:
stats_freq is only taken into account if the value is larger than 0
Revision:
syslog-ng--mainline--2.0--patch-22
* src/main.c (main_loop_run): take changed stats_freq into account
after a SIGHUP, stats_freq == 0 means to disable stats messages
altogether
modified files:
ChangeLog src/main.c
2006-03-13 10:40:55 GMT Balazs Scheidler <bazsi@balabit.hu> patch-21
Summary:
added %option noyywrap to cfg-lex.l
Revision:
syslog-ng--mainline--2.0--patch-21
* src/cfg-lex.l: added %option noyywrap to cfg-lex.l
modified files:
ChangeLog src/cfg-lex.l
2006-02-28 18:47:01 GMT Balazs Scheidler <bazsi@balabit.hu> patch-20
Summary:
fixed possible abort in program destination
Revision:
syslog-ng--mainline--2.0--patch-20
* src/afprog.c (afprogram_dd_deinit): don't drop the reference to
self->writer, only deinit it,
(afprogram_dd_free): drop the reference to self->writer,
* src/main.c (main_loop_run): change the loop so that it actually
processes exited children
modified files:
ChangeLog src/afprog.c src/main.c
2006-02-26 09:39:39 GMT Balazs Scheidler <bazsi@balabit.hu> patch-19
Summary:
really release 1.9.9
Revision:
syslog-ng--mainline--2.0--patch-19
modified files:
ChangeLog tests/functional/func_test.py
2006-02-26 09:38:42 GMT Balazs Scheidler <bazsi@balabit.hu> patch-18
Summary:
fixed a possible heap overflow introduced by the patches from 2006-02-24
Revision:
syslog-ng--mainline--2.0--patch-18
* src/logreader.c (log_reader_fetch_log): recalculate the available
buffer size before calling read() again, this is a possible heap
overflow which was introduced by
devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-14
ChangeLog is in patch-15, this was never released however
modified files:
ChangeLog src/logreader.c
2006-02-26 08:50:05 GMT Balazs Scheidler <bazsi@balabit.hu> patch-17
Summary:
preparations for an 1.9.9 release
Revision:
syslog-ng--mainline--2.0--patch-17
modified files:
ChangeLog NEWS VERSION src/logmsg.c
2006-02-26 08:47:15 GMT Balazs Scheidler <bazsi@balabit.hu> patch-16
Summary:
added time_sleep() option to add a fixed latency to the poll loop
Revision:
syslog-ng--mainline--2.0--patch-16
* src/cfg-grammar.y: added KW_TIME_SLEEP processing
* src/cfg-lex.l: added keyword for KW_TIME_SLEEP
* src/main.c: wait using nanosleep if time_sleep() is set
* doc/reference/syslog-ng.xml: added documentation on time_sleep and
a section in the tuning part to explain it a little further
modified files:
ChangeLog doc/reference/syslog-ng.xml src/cfg-grammar.y
src/cfg-lex.l src/cfg.h src/main.c
2006-02-24 16:24:14 GMT Balazs Scheidler <bazsi@balabit.hu> patch-15
Summary:
added missing ChangeLog from previous patchset
Revision:
syslog-ng--mainline--2.0--patch-15
* src/fdread.c (fd_do_read): added retrying on EINTR
* src/logreader.c (log_reader_iterate_buf): added msg_count argument
instead of the local variable as log_reader_iterate_buf might be
called multiple times and we do not want to fetch more than
fetch_limit() messages in total,
(log_reader_fetch_log): added loop to iterate over up to fetch_limit
messages without going back to the mainloop
modified files:
ChangeLog
2006-02-24 16:19:33 GMT Balazs Scheidler <bazsi@balabit.hu> patch-14
Summary:
added reference/syslog-ng.txt to EXTRA_DIST
Revision:
syslog-ng--mainline--2.0--patch-14
modified files:
ChangeLog doc/Makefile.am src/fdread.c src/logreader.c
2006-02-24 16:13:38 GMT Balazs Scheidler <bazsi@balabit.hu> patch-13
Summary:
added syslog-ng.txt generation to Makefile
Revision:
syslog-ng--mainline--2.0--patch-13
modified files:
ChangeLog doc/Makefile.am
2006-02-12 13:37:21 GMT Balazs Scheidler <bazsi@balabit.hu> patch-12
Summary:
fixed second fraction processing so that it actually shows up in output
Revision:
syslog-ng--mainline--2.0--patch-12
* src/afsocket.h: removed AFSOCKET_PROTO_RFC3164, it might be
readded later when multiple protocols will be added, but for now it
only clutters the code
* src/cfg-grammar.y (KW_TIMESTAMP): moved keep_timestamp processing
to the readers, logwriters always reformat the timestamp based on
the parsed value, keep_timestamp(no) overwrites the timestamp in the
message with the received time,
(KW_FRAC_DIGITS): added a way to specify second fraction precision,
it now defaults to zero, e.g. no fraction information is added,
* src/logmsg.c (log_stamp_format): added support for unix and full
timestamps, added frac_digits argument
(LogStamp): removed frac_present member, if the user requests second
fragments one is always generated, if this information is not
available 0 is assumed
* src/cfg.c (cfg_ts_format_value): added support for unix and full
timestamps,
(cfg_new): frac_digits is initialized to 0, keep_timestamp to TRUE
* src/logreader.c (log_reader_handle_line): overwrite the message
timestamp if keep_timestamp if FALSE,
(log_reader_options_init): use the global keep_timestamp setting is
one is not specified
* src/logwriter.c (log_writer_format_log): always regenerate the
timestamp if no template was specified, as there's no point in using
the original date in the message as it clutters logs and might
confuse receivers,
(LWOF_FIXED_STAMP): removed, this is the default behaviour which can
be overridden by using templates
* src/macros.c (log_macro_expand): use log_stamp_format for all
date/time formatting instead of open-coding them,
DATE uses the BSD timestamp, regardless of the value of ts_format
* src/test_template.c: fixed testprogram
modified files:
ChangeLog NEWS doc/reference/syslog-ng.xml src/affile.c
src/afinet.c src/afsocket.c src/afsocket.h src/cfg-grammar.y
src/cfg-lex.l src/cfg.c src/cfg.h src/logmsg.c src/logmsg.h
src/logreader.c src/logreader.h src/logwriter.c
src/logwriter.h src/macros.c src/macros.h src/templates.c
src/templates.h tests/unit/test_template.c
2006-02-11 19:29:56 GMT Balazs Scheidler <bazsi@balabit.hu> patch-11
Summary:
readded HOST_FROM, FULLHOST_FROM, SOURCEIP macros, extended unit test program
Revision:
syslog-ng--mainline--2.0--patch-11
* src/gsockaddr.c (g_sockaddr_inet_check): new function, returns
TRUE if the specified address is GSockAddrInet
* src/logmsg.c (log_msg_parse): fixed timezone parsing in ISODATE
timestamps,
(log_msg_init): added host_from member,
(log_msg_free): free host_from
* src/macros.c (log_macro_expand): added FULLHOST_FROM, HOST_FROM,
SOURCEIP implementation, fixed DATE macros
* src/misc.c (resolve_hostname): instead of returning a newly
allocated GString, store the result in the one passed as parameter
* src/sgroup.c (log_source_group_queue): set host_from member in log message
* tests/unit/test_msgparse.c: fixed offset/timestamp value
* tests/unit/test_template.c: greatly extended to cover all possible
macros, resulting fixes are above :)
modified files:
ChangeLog NEWS src/gsockaddr.c src/gsockaddr.h src/logmsg.c
src/logmsg.h src/macros.c src/macros.h src/misc.c src/misc.h
src/sgroup.c tests/unit/test_msgparse.c
tests/unit/test_template.c
2006-02-11 17:31:08 GMT Balazs Scheidler <bazsi@balabit.hu> patch-10
Summary:
fixed possible segmentation fault on SIGHUP
Revision:
syslog-ng--mainline--2.0--patch-10
* src/afsocket.c (afsocket_sc_set_owner): new function, changes all
references to a new AFSocketSourceDriver (this happens accross
SIGHUPs),
(afsocket_sd_set_listener_keep_alive): removed, there's no separate
LISTENER_KEEP_ALIVE setting,
(afsocket_sd_init): instead of simply changing the next-hop log-pipe
of connections call afsocket_sc_set_owner which changes less
explicit references
* src/cfg-grammar.y (yyparser_reset): new function, resets all
'last_' variables as they are not referenced and might contain
pointers to stale data
* src/logpipe.c (log_pipe_free_instance): function body moved to
log_pipe_unref to clear some clutter in backtraces and both
functions are only a couple of lines anyway
* src/logreader.c (log_reader_set_options): new function, allows the
caller to change the pointer to the options structure
modified files:
ChangeLog NEWS src/afinet.c src/afsocket.c src/afsocket.h
src/afunix.c src/cfg-grammar.y src/cfg.c src/logpipe.c
src/logreader.c src/logreader.h src/logsource.c
src/logsource.h src/main.c
2006-02-11 17:22:06 GMT Balazs Scheidler <bazsi@balabit.hu> patch-9
Summary:
memtrace improvements
Revision:
syslog-ng--mainline--2.0--patch-9
* src/memtrace.c: added backtrace to add/delblock messages
modified files:
ChangeLog src/memtrace.c
2006-02-11 13:41:36 GMT Balazs Scheidler <bazsi@balabit.hu> patch-8
Summary:
added some more unit testcases for filter testing
Revision:
syslog-ng--mainline--2.0--patch-8
modified files:
ChangeLog tests/unit/test_filters.c
2006-02-11 13:07:54 GMT Balazs Scheidler <bazsi@balabit.hu> patch-7
Summary:
added "kernel" flag to log reader flags
Revision:
syslog-ng--mainline--2.0--patch-7
2006-02-11 Balazs Scheidler <bazsi@balabit.hu>
* src/cfg-lex.l, src/cfg-grammar.y: added "kernel" keyword
* src/logmsg.c (log_msg_parse): default to kern.crit for kernel
messages
* src/macros.c: fixed PRI macro as it included the hostname as well
modified files:
ChangeLog NEWS doc/reference/syslog-ng.xml src/cfg-grammar.y
src/cfg-lex.l src/logmsg.c src/logmsg.h src/logreader.c
src/logreader.h src/macros.c
2006-02-11 12:44:37 GMT Balazs Scheidler <bazsi@balabit.hu> patch-6
Summary:
added PID macro and its documentation
Revision:
syslog-ng--mainline--2.0--patch-6
* src/macros.c (log_expand_macro): added support for PID
modified files:
ChangeLog NEWS doc/reference/syslog-ng.xml src/macros.c
src/macros.h
2006-02-11 12:00:14 GMT Balazs Scheidler <bazsi@balabit.hu> patch-5
Summary:
added normalize_hostnames() option (fixes: #6294)
Revision:
syslog-ng--mainline--2.0--patch-5
2006-02-11 Balazs Scheidler <bazsi@balabit.hu>
* src/cfg-lex.l, src/cfg-grammar.y: added normalize_hostnames
option
* src/sgroup.c: implement normalize_hostnames
* src/logmsg.c (log_msg_parse): removed STRICT check from RFC3339
timestamp parsing
* doc/reference/syslog-ng.xml: updated
modified files:
ChangeLog NEWS doc/reference/syslog-ng.xml src/cfg-grammar.y
src/cfg-lex.l src/cfg.h src/logmsg.c src/misc.c src/misc.h
src/sgroup.c src/sgroup.h
2006-02-11 10:57:43 GMT Balazs Scheidler <bazsi@balabit.hu> patch-4
Summary:
Added processed counters for source/destination groups and the log center (fixes: #5368)
Revision:
syslog-ng--mainline--2.0--patch-4
* src/affile.c (affile_dd_format_stats_name): readded this function
to generate a unique stats ID for the specific destination driver
instance,
(affile_dd_init): use NO_STATS for files only,
* src/center.c (log_center_init): added received/queued counters,
(log_center_queue): increment counters
* src/sgroup.c, src/dgroup.c: added processed counters
* src/stats.c, src/stats.h: added SC_TYPE_PROCESSED, make sure that
counters are interpreted in their proper namespace,
(stats_unregister_counter): added missing "type" argument
modified files:
ChangeLog NEWS src/affile.c src/center.c src/center.h
src/dgroup.c src/dgroup.h src/driver.c src/logwriter.c
src/sgroup.c src/sgroup.h src/stats.c src/stats.h
2006-02-11 08:43:32 GMT Balazs Scheidler <bazsi@balabit.hu> patch-3
Summary:
added optional() parameter to pipe/unix drivers (fixes: #4999)
Revision:
syslog-ng--mainline--2.0--patch-3
* src/driver.h: added optional member (fixes: #4999)
* src/cfg-lex.l: added optional keyword (fixes: #4999)
* src/cfg-grammar.y: added optional keyword to pipe and unix domain
socket based source drivers (fixes: #4999)
* src/afsocket.c (afsocket_sd_init): do not fail if binding failed
and optional is TRUE (fixes: #4999)
* src/affile.c (affile_sd_init): do not fail if opening failed and
optional is TRUE (fixes: #4999)
modified files:
ChangeLog doc/reference/syslog-ng.xml src/affile.c
src/afsocket.c src/cfg-grammar.y src/cfg-lex.l src/driver.h
2006-02-11 08:16:00 GMT Balazs Scheidler <bazsi@balabit.hu> patch-2
Summary:
implemented filter debugging (fixes: #3988)
Revision:
syslog-ng--mainline--2.0--patch-2
* src/filter.c (log_filter_rule_eval): new function, previously
rule->root was manipulated directly which was not nice, filter rule
debugging messages are put here (fixes: #3988),
(filter_expr_eval): uninlined, added debugging messages (fixes: #3988),
(filter_expr_free): uninlined
(*_new): set self->type to be used in log messages properly (fixes: #3988)
modified files:
ChangeLog src/center.c src/filter.c src/filter.h
2006-02-11 07:53:02 GMT Balazs Scheidler <bazsi@balabit.hu> patch-1
Summary:
integrated last pending patch from bazsi's archive, started new ChangeLog
Revision:
syslog-ng--mainline--2.0--patch-1
* tla archives were switched, syslog-ng now uses
devel@balabit.hu--other-1, the old ChangeLog file was archived as
ChangeLog.1
* integrated a last pending patch from the old archive to fix a
possible 64bit compatibility issue
new files:
.arch-ids/ChangeLog.1.id .arch-ids/ChangeLog.id ChangeLog
ChangeLog.1
removed files:
.arch-ids/ChangeLog.id ChangeLog
modified files:
src/logwriter.c src/logwriter.h
new patches:
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-86
2006-01-27 09:17:47 GMT Attila SZALAY <sasa@balabit.hu> base-0
Summary:
tag of bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-85
Revision:
syslog-ng--mainline--2.0--base-0
(automatically generated log message)
new patches:
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--base-0
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-1
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-2
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-3
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-4
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-5
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-6
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-7
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-8
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-9
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-10
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-11
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-12
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-13
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-14
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-15
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-16
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-17
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-18
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-19
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-20
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-21
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-22
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-23
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-24
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-25
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-26
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-27
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-28
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-29
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-30
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-31
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-32
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-33
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-34
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-35
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-36
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-37
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-38
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-39
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-40
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-41
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-42
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-43
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-44
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-45
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-46
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-47
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-48
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-49
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-50
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-51
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-52
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-53
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-54
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-55
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-56
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-57
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-58
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-59
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-60
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-61
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-62
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-63
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-64
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-65
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-66
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-67
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-68
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-69
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-70
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-71
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-72
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-73
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-74
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-75
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-76
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-77
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-78
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-79
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-80
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-81
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-82
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-83
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-84
bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-85
|