File: ChangeLog

package info (click to toggle)
proftpd-dfsg 1.3.3a-6squeeze7
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 19,868 kB
  • ctags: 10,217
  • sloc: ansic: 111,549; perl: 94,506; sh: 17,265; makefile: 1,986
file content (37314 lines) | stat: -rw-r--r-- 1,052,221 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
2010-07-01 08:14  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for a release of 1.3.3a.

2010-07-01 08:06  castaglia

	* RELEASE_NOTES:
	  Mention the SSL_shutdown() fix in the release notes.

2010-06-30 09:35  castaglia

	* tests/: tests.pl, t/config/authorder.t,
	  t/lib/ProFTPD/Tests/Config/AuthOrder.pm:
	  Add some regression tests for the AuthOrder directive.

2010-06-30 08:57  castaglia

	* src/auth.c:
	  Set the module pointer for authoritative responses; previously
	  this would only be set for non-authoritative responses.  Add
	  trace logging of when the response from an auth module is treated
	  as authoritative, for faster debugging.

2010-06-30 08:55  castaglia

	* modules/mod_core.c:
	  Stylistic nits; no functional change.

2010-06-29 13:25  castaglia

	* tests/t/etc/modules/mod_tls/: ca-cert.pem, client-cert.pem,
	  server-cert.p12, server-cert.pem:
	  Adding new SSL certs for the mod_tls regression tests; these
	  certs should be good for 10 years.

2010-06-29 13:23  castaglia

	* tests/t/etc/modules/mod_tls/NOTES:
	  Reminder notes to myself for generating the CRL and PKCS12 files.

2010-06-29 13:23  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Update the mod_tls regression tests to deal with changes in a
	  newer Net::FTPSSL module.

2010-06-29 07:56  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_ifversion.pm,
	  t/modules/mod_ifversion.t:
	  Adding regression tests for mod_ifversion.

2010-06-29 07:55  castaglia

	* NEWS, RELEASE_NOTES, doc/contrib/index.html:
	  Mention the new mod_ifversion module.

2010-06-29 07:52  castaglia

	* contrib/mod_ifversion.c, doc/contrib/mod_ifversion.html:
	  Adding mod_ifversion to the contrib/ modules area.

2010-06-28 10:53  castaglia

	* RELEASE_NOTES:
	  Updating release notes, preparing for release.

2010-06-28 10:53  castaglia

	* RELEASE_NOTES:
	  Minor formatting tweaks.

2010-06-28 10:46  castaglia

	* RELEASE_NOTES:
	  Start fleshing out the RELEASE_NOTES and preparing for a release.

2010-06-27 18:45  jwm

	* contrib/mod_ldap.c: merge r1.86 from HEAD

2010-06-27 18:42  jwm

	* contrib/mod_ldap.c: revert r1.83 in favor of mod_ldap bzr r98

	  we shouldn't let user lookup failure prevent us from looking up
	  any supplemental groups. this is primarily so mod_ldap can be
	  used to look up group membership even when the user wasn't
	  authenticated with mod_ldap.

	  this feels like a corner use-case, but i don't see a compelling
	  reason we shouldn't support it since the change to prevent the
	  segfault in this case is straightforward.

2010-06-27 18:36  jwm

	* contrib/mod_ldap.c: revert r1.82 in favor of mod_ldap bzr r97

	    decline requests for ssh pubkeys if we're not configured to do
	  auth.

	    since pubkeys are always looked up on user entries under the
	  auth base dn,
	    i don't see a reason to allow a NULL filter template, either.

2010-06-25 16:29  castaglia

	* tests/t/lib/ProFTPD/Tests/Logging/: ExtendedLog.pm,
	  TransferLog.pm:
	  Adding regression tests showing that logging to a full filesystem
	  doesn't cause undue problems for proftpd's handling of a session.

2010-06-25 10:05  castaglia

	* tests/Makefile.in:
	  Make sure that we actually run the API testsuite after compiling
	  it.  Just compiling it, and not running it, is not so useful.

2010-06-25 09:55  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/REST.pm:
	  Accidentally overloaded a function name.  Oops.

2010-06-23 17:56  castaglia

	* contrib/mod_sftp_sql.c:
	  Make the log messages a little clearer when mod_sftp_sql can't
	  base64-decode the key data.  Also, try handling the retrieved key
	  data as being in the RFC4716 format first, then fallback to
	  trying it as raw key data.  It is far more likely that the data
	  will be in the RFC4716 format.

2010-06-23 17:55  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp_sql.pm:
	  Add regression test which shows that even RFC4716 keys with
	  headers that use the line continuation character are handled
	  properly by mod_sftp_sql.

2010-06-23 09:51  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/AnonRejectPasswords.pm:
	  Remove yet more debugging cruft.

2010-06-23 09:47  castaglia

	* tests/: tests.pl,
	  t/lib/ProFTPD/Tests/Config/AnonRejectPasswords.pm,
	  t/config/anonrejectpasswords.t:
	  Add regression test for the AnonRejectPasswords directive.

2010-06-23 08:39  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/AnonRequirePassword.pm:
	  Remove debugging cruft.

2010-06-23 08:35  castaglia

	* tests/: tests.pl, t/config/anonrequirepassword.t,
	  t/lib/ProFTPD/Tests/Config/AnonRequirePassword.pm:
	  Add regression tests for the AnonRequirePassword directive.

2010-06-23 07:41  castaglia

	* NEWS, contrib/mod_sql_sqlite.c:
	  Backport of fix for Bug#3474 to 1.3.3 branch.

2010-06-23 07:29  castaglia

	* NEWS, contrib/mod_sql_sqlite.c:
	  Bug#3474 - Using SQLite database and SQLLog directive can lead to
	  problems under load.

	  To handle contention/synchronization among multiple processes
	  attempting to update the same table, we need to handle
	  SQLITE_BUSY for BEGIN, query, COMMIT statements separately.  And
	  to make sure that even SELECTs are enclosed with explicit
	  BEGIN/COMMIT calls.

2010-06-22 17:03  castaglia

	* doc/modules/mod_auth_unix.html:
	  Start on a doc just for mod_auth_unix; we needed a place to
	  document the AuthUnixOptions values.

2010-06-22 15:03  castaglia

	* configure:
	  Updated configure.

2010-06-22 15:02  castaglia

	* NEWS, modules/mod_auth_unix.c:
	  Backport of fix for Bug#3475 to 1.3.3 branch.

2010-06-22 15:02  castaglia

	* modules/mod_auth_unix.c:
	  Forgot to update copyright dates on the modified file.

2010-06-22 15:01  castaglia

	* NEWS, modules/mod_auth_unix.c:
	  Bug#3475 - Add new 'noGetgrouplist' AuthUnixOption to work around
	  buggy libc code.

2010-06-22 14:59  castaglia

	* configure.in:
	  Back out the added --disable-getgrouplist configure option;
	  Bug#3475 is going to be addressed a different way, with a runtime
	  configuration directive.

2010-06-22 14:39  castaglia

	* src/auth.c:
	  Make sure that if pr_auth_cache_set() is used to enable/disable
	  auth caching, the configured setting is actually honored.
	  Previously this function only enabled/disabled caching _before_
	  any cache tables had been allocated.

2010-06-22 09:37  castaglia

	* NEWS, modules/mod_ls.c:
	  Backport of fix for Bug#3476 to 1.3.3 branch.

2010-06-22 09:36  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#3476 - LIST/NLST of path starting with "-" fails.

2010-06-22 09:33  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/: LIST.pm, NLST.pm:
	  Adding reproduction recipes/regression tests for Bug#3476.

2010-06-22 09:09  castaglia

	* doc/contrib/mod_sftp.html:
	  Add FAQ about "line too long" authorized key errors.

2010-06-22 06:59  castaglia

	* contrib/: mod_wrap2_sql.c:
	  Additional fixes for Bug#3471.

2010-06-21 22:14  castaglia

	* configure:
	  Updated configure.

2010-06-21 22:11  castaglia

	* configure.in:
	  Add a --disable-getgrouplist configure option, to disable use of
	  the getgrouplist(3) function, hopefully working around Bug#3475.

2010-06-21 13:31  castaglia

	* src/main.c:
	  If the RLimitCPU directive (or other CPU resource limit) causes
	  the kernel to send SIGXCPU to us, and proftpd has been compiled
	  with --enable-devel=stacktrace, then log the stacktrace of what
	  the CPU-exceeding process was doing at the time of the signal.
	  This can help to track down badly behaving loops in the code.

2010-06-21 10:33  castaglia

	* doc/contrib/mod_sftp.html:
	  Add SFTP FAQ about using Tectia/ssh.com host keys with mod_sftp.

2010-06-21 08:00  castaglia

	* doc/contrib/mod_sftp.html:
	  Make it clearer in the mod_sftp docs that the modules does not
	  support shell access.

2010-06-21 07:45  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/FTPAccess/Empty.pm:
	  Add reproduction recipe for Bug#3398 to the suite.  The recipe
	  passes using the current code, but it's good to have the recipe
	  here for regressions.

2010-06-21 07:37  castaglia

	* tests/t/: etc/modules/mod_sftp/authorized_rsa16384_keys,
	  etc/modules/mod_sftp/test_rsa16384_key,
	  etc/modules/mod_sftp/test_rsa16384_key.pub,
	  lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add SFTP publickey authentication test using 16384-bit RSA key.

2010-06-20 09:42  castaglia

	* contrib/mod_sql_sqlite.c:
	  Fix the "busy loop" mod_sql_sqlite logging; we were logging the
	  wrong variable for the error message.  Oops.

2010-06-20 09:26  castaglia

	* contrib/mod_sql_sqlite.c:
	  Add logging of when mod_sql_sqlite retries a query due to
	  SQLITE_BUSY.	Hopefully this will help shed light on why some
	  users are seeing nested transaction errors.

2010-06-19 19:59  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/Limits.pm:
	  Add regression test for Bug#3283.

2010-06-19 18:40  castaglia

	* NEWS, contrib/mod_sql.c, modules/mod_log.c,
	  tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Bug#3395 - Provide LogFormat variable %d for non-directory
	  commands.

2010-06-19 13:45  castaglia

	* doc/howto/ListOptions.html:
	  Include the new options (-c, -u) from Bug#3396 in the ListOptions
	  howto.

2010-06-19 13:42  castaglia

	* NEWS, modules/mod_ls.c,
	  tests/t/lib/ProFTPD/Tests/Commands/LIST.pm:
	  Bug#3396 - Support -c and -u LIST options.

2010-06-19 12:09  castaglia

	* contrib/mod_ldap.c:
	  Make the pr_ldap_search() function have file scope, just like the
	  other pr_ldap_*() functions.	This quells a compiler warning seen
	  when the --enable-devel configure option is used.

2010-06-19 11:59  castaglia

	* NEWS, contrib/mod_ldap.c:
	  Backport of fix for Bug#3424 to 1.3.3 branch.

2010-06-19 11:58  castaglia

	* NEWS, contrib/mod_ldap.c:
	  Bug#3424 - Bad LDAP lookup can cause mod_ldap segfault under some
	  conditions.

	  Handle a NULL result from pr_ldap_getpwnam() in the
	  handle_ldap_getgroups() function.

2010-06-19 11:47  castaglia

	* contrib/mod_ldap.c:
	  Quell compiler warning about an uninitialized pointer.

2010-06-19 11:41  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/Limits.pm:
	  Add regression test (and correct configuration) for Bug#3166.

2010-06-19 11:06  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit test for hostbased SSH2 authentication.

2010-06-17 11:08  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add mod_sftp regression tests for Bug#3472.

2010-06-17 11:06  castaglia

	* tests/t/etc/modules/mod_sftp/: authorized_dsa2048_keys,
	  authorized_dsa4096_keys, authorized_dsa8192_keys,
	  authorized_rsa4096_keys, authorized_rsa8192_keys,
	  test_dsa2048_key, test_dsa2048_key.pub, test_dsa4096_key,
	  test_dsa4096_key.pub, test_dsa8192_key, test_dsa8192_key.pub,
	  test_rsa4096_key, test_rsa4096_key.pub, test_rsa8192_key,
	  test_rsa8192_key.pub:
	  Adding more RSA and DSA keys of increasing sizes, for the
	  mod_sftp regression tests.

2010-06-17 10:57  castaglia

	* NEWS, contrib/mod_sftp/auth-publickey.c:
	  Backport of fix for Bug#3472 to 1.3.3 branch.

2010-06-17 10:56  castaglia

	* NEWS, contrib/mod_sftp/auth-publickey.c:
	  Bug#3472 - mod_sftp publickey authentication fails for large
	  keys.

2010-06-17 08:13  castaglia

	* NEWS, contrib/mod_wrap2/mod_wrap2.c:
	  Backport of fix for Bug#3471 to 1.3.3 branch.

2010-06-17 08:13  castaglia

	* NEWS, contrib/mod_wrap2/mod_wrap2.c:
	  Bug#3471 - Null values in allow/deny rules causes mod_wrap2 to
	  segfault.

2010-06-15 13:46  castaglia

	* NEWS, contrib/mod_ifsession.c:
	  Backport of fix for Bug#3467 to 1.3.3 branch.

2010-06-15 13:45  castaglia

	* NEWS, contrib/mod_ifsession.c:
	  Bug#3467 - mod_ifsession does not merge <Directory> blocks
	  properly.

2010-06-15 09:58  castaglia

	* NEWS, src/support.c:
	  Backport of fix for Bug#3469 to 1.3.3 branch.

2010-06-15 09:58  castaglia

	* NEWS, src/support.c,
	  tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm:
	  Bug#3469 - ExtendedLog's %f variable not properly expanded for
	  DELE if path begins with tilde ('~').

2010-06-15 09:52  castaglia

	* contrib/mod_sftp/rfc4716.c:
	  Use pr_fs_interpolate() rather than dir_interpolate(); the former
	  is more verbose about its results, and the latter is too easy to
	  misuse (i.e. too easy to not check for a NULL return value).

2010-06-15 09:02  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Backport of fix for Bug#3470 to 1.3.3 branch.

2010-06-15 09:01  castaglia

	* NEWS, contrib/mod_sftp/fxp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3470 - Deferred resolution <Directory> paths not handled
	  properly by mod_sftp.

2010-06-14 11:45  castaglia

	* NEWS, contrib/mod_tls.c:
	  Backport of fix for Bug#3465 to 1.3.3 branch.

2010-06-14 11:44  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3465 - SIGSEGV at LIST after CCC.

2010-06-14 11:16  castaglia

	* src/main.c:
	  Backport of stacktrace logging fix from trunk.

2010-06-14 11:15  castaglia

	* src/main.c:
	  Do not call table_handle_signal(FALSE) when handling
	  SIGSEGV/SIGBUS in a stacktrace-enabled build; doing so will
	  prevent proftpd from properly logging the stacktrace.

2010-06-14 07:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_ifsession.pm:
	  More regression tests for Bug#3467.

2010-06-11 17:03  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_ifsession.pm:
	  Add regression test for Bug#3467.

2010-06-11 17:02  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add regression test for Bug#3465.

2010-06-11 15:42  castaglia

	* NEWS, contrib/mod_ifsession.c:
	  Bug#3466 - mod_ifsession does not check for properly closed
	  <IfUser> contexts.

2010-06-11 14:37  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_ifsession.pm:
	  Add an <IfGroup> test.

2010-05-30 17:33  castaglia

	* contrib/mod_sftp/fxp.c:
	  Fix Bug#3464 by removing code (related to Bug#3413) that should
	  not be in the 1.3.3 branch.

2010-05-27 10:50  castaglia

	* NEWS, contrib/ftpasswd:
	  Backport of fix for Bug#3463 to 1.3.3 branch.

2010-05-27 10:50  castaglia

	* NEWS, contrib/ftpasswd:
	  Bug#3463 - ftpasswd script's --delete-group option does not work.

2010-05-27 09:22  castaglia

	* NEWS, contrib/ftpasswd:
	  Backport of fix for Bug#3462 to 1.3.3 branch.

2010-05-27 09:22  castaglia

	* NEWS, contrib/ftpasswd:
	  Bug#3462 - ftpasswd script's --delete-user option does not work.

2010-05-25 10:56  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Update mod_sftp .ftpaccess unit test to check for regressions of
	  Bug#3460.

2010-05-25 10:55  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Backport of fix for Bug#3460 to 1.3.3 branch.

2010-05-25 10:54  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3460 - REALPATH SFTP request can cause improperly cached
	  directory configuration.

2010-05-25 09:59  castaglia

	* contrib/mod_sftp/fxp.c:
	  I'm not sure why the path stashed for an OPENDIR request was
	  being deliberately set to the empty string; remove it.  If it's
	  an issue, it'll come up again.

2010-05-25 08:08  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/DefaultChdir.pm:
	  Add more DefaultChdir tests.

2010-05-25 07:46  castaglia

	* tests/: tests.pl, t/config/defaultchdir.t,
	  t/lib/ProFTPD/Tests/Config/DefaultChdir.pm:
	  Start on regression tests for the DefaultChdir config directive.

2010-05-25 07:38  castaglia

	* NEWS, src/auth.c:
	  Bug#3431 - Ensure that timezone info files are opened prior to
	  chroot.

2010-05-25 07:31  castaglia

	* contrib/mod_tls.c:
	  Switch from using tls_log() to pr_log_debug() in the
	  tls_init_ctx() function; the TLSLog file hasn't been opened when
	  that function is called, which means that the log messages are
	  effectively being lost.

2010-05-24 16:34  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit test involving .ftpaccess files for mod_sftp; I'm trying
	  to reproduce an issue that a mod_sftp user is having with this
	  test, but not having much luck at the moment.  Still, it's a
	  useful test to have in the repertoire.

2010-05-24 13:38  castaglia

	* contrib/mod_sftp/msg.c:
	  In order to help track down cases where the allocated buffer
	  sizes are not large enough to handle some of the messages that
	  mod_sftp will handle, add logging of stack traces (assuming the
	  platform has the execinfo.h header and the --enable-devel
	  configure option has been used, to prevent stripping of the
	  symbols from the installed executable).

2010-05-24 11:29  castaglia

	* NEWS, contrib/mod_radius.c:
	  Backport of fix for Bug#3459 to 1.3.3 branch.

2010-05-24 11:29  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#3459 - mod_radius segfaults during incorrect login due to
	  stale data.

2010-05-24 11:12  castaglia

	* contrib/mod_radius.c:
	  Quell compiler warnings about unused strtoul(3) return values.

2010-05-20 11:16  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp_sql.pm:
	  Add unit test for SQL lookups of SSH2 keys using a query that
	  uses the %u variable.

2010-05-19 18:04  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add a couple more SQL-related configuration tests to the mod_sftp
	  suite.

2010-05-18 14:43  castaglia

	* NEWS, contrib/mod_sftp/crypto.c:
	  Backport of fix for Bug#3458 to 1.3.3 branch.

2010-05-18 14:43  castaglia

	* NEWS, contrib/mod_sftp/crypto.c:
	  Bug#3458 - mod_sftp incorrectly performs OpenSSL cleanup.

2010-05-18 14:01  castaglia

	* tests/: tests.pl, t/config/maxclients.t,
	  t/lib/ProFTPD/Tests/Config/MaxClients.pm:
	  Start adding regression/feature tests for the MaxClients
	  directive.

2010-05-06 09:12  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add regression tests for uploading/downloading empty dirs via
	  SCP.

2010-05-05 18:37  castaglia

	* NEWS, contrib/mod_sftp/scp.c:
	  Backport of fix for Bug#3456 to 1.3.3 branch.

2010-05-05 18:37  castaglia

	* NEWS, contrib/mod_sftp/scp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3456 - Problem attempting to recursively download a directory
	  via SCP.

2010-05-05 17:17  castaglia

	* contrib/mod_sftp/channel.c:
	  Minor nit about the proper plurality in a trace message.

2010-05-05 16:59  castaglia

	* contrib/mod_sftp/fxp.c, contrib/mod_sftp/scp.c,
	  modules/mod_log.c, modules/mod_xfer.c,
	  tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3457 - Support LogFormat variable for indicating whether a
	  file is being modified.

2010-05-05 16:51  castaglia

	* include/support.h, src/support.c:
	  Missed some spots in the exists() functions where the path string
	  should also be constified.

2010-05-05 16:46  castaglia

	* include/support.h, src/support.c:
	  Constify the arguments the *exists() functions.

2010-05-04 13:48  castaglia

	* NEWS, locale/Makefile.in:
	  Backport of fix for Bug#3454 to 1.3.3 branch.

2010-05-04 13:48  castaglia

	* NEWS, locale/Makefile.in:
	  Bug#3454 - msgfmt(1) options used for generating NLS files are
	  not compatible with Solaris' msgfmt.

2010-05-02 11:18  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Make sure that mod_sftp honors AllowStoreRestart and <Limit APPE>
	  configurations properly, when the O_APPEND flag is used in an
	  OPEN request.

2010-05-02 11:15  castaglia

	* modules/mod_xfer.c:
	  Log, at debug level 8, if an APPE command is blocked because of a
	  <Limit> configuration.

2010-05-01 12:19  castaglia

	* contrib/mod_sftp/fxp.c:
	  Make a note about better reporting of incomplete uploads, where
	  possible.

2010-04-28 21:03  castaglia

	* contrib/mod_sftp/: fxp.c:
	  Undo the 'vendor-id' extension-related changes I made earlier
	  today; it was correct already.  I confused myself as to how the
	  'vendor-id' extension works.	This time, I'm leaving comments to
	  my future self about why it's correct the way it is.

2010-04-28 17:41  castaglia

	* contrib/mod_sftp/: fxp.c:
	  Minor cleanup of trace logging regarding the 'vendor-id'
	  extension.  Guard against a client sending a 'vendor-id' EXTENDED
	  request, even if we didn't advertise support for that extension.

2010-04-28 17:06  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Backport of fix for Bug#3452 for 1.3.3 branch.

2010-04-28 17:05  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3452 - mod_sftp does not advertise its supported SFTP
	  extensions for protocol version 5.

	  I read through the WinSCP source code to find out how it parsed
	  the badly-defined extensions field of the "supported" extension,
	  in the protocol version 5 draft.  The "supported2" extension, for
	  protocol version 6, is at least nice enough to have a separate
	  field of the extensions count, where the older "supported" does
	  not.	Whee.

2010-04-28 14:00  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Backport of fix for Bug#3451 to 1.3.3 branch.

2010-04-28 14:00  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3451 - WinSCP can't upload files using protocol version 5
	  with mod_sftp.

2010-04-28 08:58  castaglia

	* src/main.c:
	  Stylistic changes; no functional changes.

2010-04-27 17:23  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add regression tests for the various O_* flags that can be sent
	  using SFTP protocol version 3 in OPEN requests.  Caught one bug a
	  priori.

2010-04-27 17:12  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Backport of fix for Bug#3450 to the 1.3.3 branch.

2010-04-27 17:11  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3450 - mod_sftp does not properly handle the O_APPEND flag in
	  a SFTP OPEN request.

2010-04-27 16:27  castaglia

	* contrib/mod_sftp/fxp.c:
	  Add trace logging, at trace level 15 and higher, of the OPEN
	  flags as strings.  Hopefully this can be used to figure out why
	  WinSCP, when requesting SFTP protocol version 5, doesn't like how
	  mod_sftp handles an OPEN request.

2010-04-27 14:52  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add regression test for Bug#3425.

2010-04-27 11:46  castaglia

	* contrib/mod_sftp/: fxp.c:
	  Correct a comment.

2010-04-27 11:43  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Backport of fix for Bug#3449 to 1.3.3 branch.

2010-04-27 11:42  castaglia

	* NEWS, contrib/mod_sftp/fxp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3449 - mod_sftp does not properly handle the O_TRUNC flag in
	  a SFTP OPEN request.

2010-04-27 11:33  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Backport of fix for Bug#3448 to 1.3.3 branch.

2010-04-27 11:33  castaglia

	* NEWS:
	  Bug#3448 - Ensure that STAT/LSTAT/FSTAT SFTP requests do not use
	  cached/stale data.

2010-04-27 09:31  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Remove debugging cruft.

2010-04-27 09:26  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add regression test for Bug#3447.  I wasn't able to actually
	  reproduce the issue with this unit test, but having the code
	  around is useful.

2010-04-26 10:44  castaglia

	* NEWS, contrib/mod_sftp/scp.c:
	  Backport of fix for Bug#3447 to 1.3.3 branch.

2010-04-26 10:44  castaglia

	* NEWS, contrib/mod_sftp/scp.c:
	  Bug#3447 - mod_sftp can become confused during large recursive
	  SCP uploads.

2010-04-25 16:55  castaglia

	* contrib/mod_shaper.c:
	  Add trace logging, using the "lock" trace channel, of
	  mod_shaper's locking of its ShaperTable.

2010-04-25 13:34  castaglia

	* contrib/mod_sftp/scp.c:
	  Leave a note to myself to investigate whether <Limit MKD> should
	  apply to recursive directory uploads via SCP.  Probably yes.

2010-04-24 20:21  castaglia

	* contrib/mod_sftp/scp.c:
	  Remove unused strlen(3) call.

2010-04-24 13:26  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/CreateHome.pm:
	  Add unit test for CreateHome's skel parameter.

2010-04-23 09:10  castaglia

	* src/: dirtree.c:
	  Use updated patch for Bug#3446.

2010-04-23 09:05  castaglia

	* NEWS, src/dirtree.c:
	  Backport of fix for Bug#3446 to 1.3.3 branch.

2010-04-23 09:05  castaglia

	* NEWS, src/dirtree.c:
	  Bug#3446 - .ftpaccess ignored in some cases.

	  The build_dyn_config() function, if given a non-directory path,
	  was not properly determining the .ftpaccess file to check for,
	  using that path.

2010-04-22 17:54  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/FTPAccess/Merging.pm:
	  Add regression tests for Bug#3446.  The fix for this bug has not
	  yet been committed to CVS, so these tests should fail...but I
	  wanted to add them, so that I could work on more flows that use
	  the same configuration as these tests from home.

2010-04-22 09:15  castaglia

	* doc/howto/Limit.html:
	  Add an example of blocking renames.

2010-04-21 11:15  castaglia

	* doc/contrib/mod_sftp.html:
	  Typo.

2010-04-21 11:13  castaglia

	* doc/contrib/mod_sftp.html:
	  Add a "Known Client Issues" section to the mod_sftp docs.

2010-04-20 09:49  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  Fix bug in the fix for Bug#3444 that was committed yesterday.

2010-04-19 20:44  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#3443 - Deprecate the DisplayGoAway directive.

2010-04-19 20:26  castaglia

	* NEWS:
	  Make sure the NEWS file tracks the correct bug title for
	  Bug#3445.

2010-04-19 20:23  castaglia

	* doc/contrib/mod_sftp.html:
	  While I'll keep the 'pessimisticNewkeys' SFTPClientMatch
	  parameter supported in the code, I think I'll leave it out of the
	  docs.  I really don't expect there to be many SSH clients that
	  need this config option; at some point, I should be able to
	  remove support for it from mod_sftp.

2010-04-19 20:21  castaglia

	* contrib/mod_sftp/kex.c:
	  Update the copyright date for this file.

2010-04-19 20:20  castaglia

	* NEWS, contrib/mod_sftp/interop.c, contrib/mod_sftp/interop.h,
	  contrib/mod_sftp/kex.c, contrib/mod_sftp/mod_sftp.c:
	  Bug#3445 - Support SFTPClientMatch option to enable pessimistic
	  NEWKEYS behavior.

	  This changes the default behavior, such that mod_sftp always
	  sends its NEWKEYS message to the client before reading the
	  client's NEWKEYS message; this matches the OpenSSH behavior (and
	  is what many clients want).  The SFTPClientMatch option added
	  previously for this bug was changed to 'pessimisticNewkeys', to
	  be used if there are any clients which expect the old mod_sftp
	  behavior.

2010-04-19 18:09  castaglia

	* contrib/mod_sftp/fxp.c:
	  Make sure the statcache is cleared when handling STAT/FSTAT/LSTAT
	  requests.

2010-04-19 16:30  castaglia

	* NEWS, contrib/mod_sftp/interop.c, contrib/mod_sftp/interop.h,
	  contrib/mod_sftp/kex.c, contrib/mod_sftp/mod_sftp.c,
	  doc/contrib/mod_sftp.html:
	  Bug#3445 - Need SFTPClientMatch option to enable optimistic
	  NEWKEYS behavior.

2010-04-19 15:16  castaglia

	* contrib/mod_sftp/mod_sftp.h.in:
	  Update copyright date in the header, since we've modified the
	  file this year.

2010-04-19 15:16  castaglia

	* NEWS, contrib/mod_sftp/mod_sftp.c,
	  contrib/mod_sftp/mod_sftp.h.in, doc/contrib/mod_sftp.html:
	  Bug#3444 - Support SFTPOptions parameter to disable optimistic
	  KEXINIT behavior.

2010-04-19 13:10  castaglia

	* doc/howto/Logging.html:
	  Add Logging FAQ about logging xferlog data to syslog.

2010-04-18 11:42  castaglia

	* contrib/mod_sftp/utf8.c, src/encode.c:
	  More notes to myself regarding possible encoding failures and
	  their causes.

2010-04-17 12:07  castaglia

	* tests/: tests.pl, t/config/serveradmin.t,
	  t/lib/ProFTPD/Tests/Config/ServerAdmin.pm:
	  Add regression tests for the ServerAdmin directive.

2010-04-17 11:52  castaglia

	* doc/howto/DisplayFiles.html:
	  As pointed out in Bug#3443, the DisplayGoAway directive hasn't
	  worked for quite some time.  So remove it from the DisplayFiles
	  howto.

2010-04-17 10:27  castaglia

	* modules/mod_core.c,
	  tests/t/lib/ProFTPD/Tests/Config/DisplayChdir.pm:
	  When handling a "DisplayChdir <path> true" configuration, a
	  time_t was being stored in the memory space for a void pointer.
	  This is not a safe operation.  Instead, allocate proper space for
	  the time_t value and use it.

	  Add a regression test for this DisplayChdir configuration,
	  providing that the time_t storage change still works properly.

2010-04-17 10:15  castaglia

	* tests/: tests.pl, t/config/displaychdir.t,
	  t/lib/ProFTPD/Tests/Config/DisplayChdir.pm,
	  t/lib/ProFTPD/Tests/Config/DisplayLogin.pm:
	  Added regression tests for DisplayChdir, and updated DisplayLogin
	  tests, both as part of Bug#3423.

2010-04-17 10:11  castaglia

	* modules/mod_core.c, src/display.c:
	  Backported the additional fixes for Bug#3423, handling single
	  line DisplayLogin and DisplayChdir files, and multiline
	  DisplayChdir files.

2010-04-17 10:10  castaglia

	* modules/mod_core.c, src/display.c:
	  Additional fixes for Bug#3423, handling single line DisplayLogin
	  and DisplayChdir files, and multiline DisplayChdir files.

2010-04-16 17:21  castaglia

	* NEWS, contrib/mod_quotatab.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Bug#3440 - ScanOnLogin QuotaOption not honored properly if tally
	  record has to be created.

2010-04-16 15:22  castaglia

	* contrib/mod_radius.c, contrib/mod_rewrite.c, contrib/mod_sql.c,
	  contrib/mod_sftp/scp.c, modules/mod_log.c, modules/mod_ls.c,
	  src/dirtree.c, src/display.c, src/event.c, src/throttle.c:
	  Sprinkle more calls to pr_signals_handle() in potentially
	  long-running loops.

2010-04-16 10:52  castaglia

	* modules/mod_ls.c:
	  Coding style nits; no functional change.

2010-04-16 10:45  castaglia

	* doc/howto/Logging.html:
	  Mention the configure option for Bug#3436 in the Logging howto's
	  section on FIFOs.

2010-04-14 14:27  castaglia

	* NEWS, modules/mod_core.c, src/dirtree.c, tests/tests.pl,
	  tests/t/config/limit/opts.t,
	  tests/t/lib/ProFTPD/Tests/Config/Limit/OPTS.pm:
	  Bug#3438 - <Limit> configuration cannot be applied to OPTS
	  command.

2010-04-14 14:04  castaglia

	* NEWS, src/encode.c:
	  Backport of fix for Bug#3439 to 1.3.3 branch.

2010-04-14 14:04  castaglia

	* NEWS, src/encode.c:
	  Bug#3439 - Encoding fails if an NLS-enabled proftpd starts in a
	  UTF8 locale.

2010-04-14 08:53  castaglia

	* src/main.c:
	  Stylistic nit.

2010-04-14 08:39  castaglia

	* contrib/mod_tls.c:
	  Make sure that the SSL/TLS renegotiation timer gets a dynamic
	  timer ID.  This isn't causing any problems, per se, but having a
	  timer ID of zero when it is not intended can lead to confusion
	  and/or issues later.

2010-04-13 18:20  castaglia

	* contrib/mod_sftp/scp.c:
	  Silly typos in comment; no functional change.

2010-04-13 16:06  castaglia

	* NEWS, contrib/mod_tls.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Backport of fix for Bug#3437 to 1.3.3 branch.

2010-04-13 16:06  castaglia

	* NEWS, contrib/mod_tls.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Bug#3437 - UseImplicitSSL TLSOption causes PBSZ/PROT commands to
	  fail.

2010-04-13 15:00  castaglia

	* configure:
	  Updated configure for Bug#3436.

2010-04-13 14:57  castaglia

	* NEWS, config.h.in, configure.in, src/log.c:
	  Backport of fix for Bug#3436 to 1.3.3 branch.

2010-04-13 14:57  castaglia

	* NEWS, config.h.in, configure.in, src/log.c:
	  Bug#3436 - Support build-time option to disable use of
	  nonblocking open of log files.

2010-04-13 09:39  castaglia

	* contrib/mod_sftp/utf8.c, src/encode.c:
	  Remove unused variables, and quell compiler warnings about
	  "incompatible pointer types" on FreeBSD.

2010-04-13 08:35  castaglia

	* contrib/mod_sftp/utf8.c, src/encode.c:
	  Notes to myself to double-check (and then rely on) the loop
	  condition for the iconv(3) loop.

2010-04-12 17:14  castaglia

	* contrib/mod_sftp/utf8.c, src/encode.c:
	  Additional part of fix for Bug#3435.

2010-04-12 16:25  castaglia

	* NEWS, contrib/mod_sftp/utf8.c, src/encode.c:
	  Backport of fix for Bug#3435 to 1.3.3 branch.

2010-04-12 16:24  castaglia

	* NEWS, contrib/mod_sftp/utf8.c, src/encode.c:
	  Bug#3435 - Encoding/decoding conversion can cause CPU spike.

2010-04-12 16:04  castaglia

	* contrib/mod_sftp/utf8.c, src/encode.c:
	  Make sure we reset any state contained in iconv_t before calling
	  iconv(3).

2010-04-12 15:42  castaglia

	* contrib/mod_sftp/display.c:
	  An SFTPDisplayBanner file can only be displayed at the start of
	  session, prior to the transfer of any data.  So there's no need
	  to support Display variables such as %o, %K, etc; their values
	  will always be zero.

2010-04-12 15:35  castaglia

	* src/trace.c:
	  Prevent a recurrence of Bug#3434 by treating a trace message
	  level of zero as an invalid parameter.

2010-04-12 14:10  castaglia

	* src/fsio.c:
	  Include the number of bytes being read/written in the trace
	  messages for the read()/write() callbacks.

2010-04-12 13:57  castaglia

	* NEWS, contrib/mod_sftp/Makefile.in, contrib/mod_sftp/auth.c,
	  contrib/mod_sftp/display.c, contrib/mod_sftp/display.h:
	  Bug#3433 - SFTPDisplayBanner does not handle variables in
	  configured file.

	  This isn't the best implementation, since the Display code from
	  the core proftpd engine is basically copied here.  It would be
	  better if the core code and this code shared the same code path
	  for looking up and interpolating variables; that's work for
	  later.

2010-04-12 11:59  castaglia

	* NEWS, modules/mod_xfer.c, src/fsio.c:
	  Bug#3434 - TraceLog contains messages even with "Trace DEFAULT:0"
	  configured.

2010-04-12 10:09  castaglia

	* NEWS, contrib/mod_exec.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Backport of fix for Bug#3432 to 1.3.3 branch.

2010-04-12 10:09  castaglia

	* NEWS, contrib/mod_exec.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Bug#3432 - ExecBeforeCommand does not interpolate the %F/%f
	  variables properly.

2010-04-12 09:13  castaglia

	* NEWS, contrib/mod_sftp/scp.c:
	  Backport of fix for Bug#3427 to 1.3.3 branch.

2010-04-12 09:12  castaglia

	* NEWS, contrib/mod_sftp/scp.c:
	  Bug#3427 - mod_sftp does not handle recursive SCP uploads
	  properly.

2010-04-11 17:26  castaglia

	* doc/contrib/mod_sftp.html:
	  Add mod_sftp FAQ about UserOwner/GroupOwner, and the need to use
	  the RootRevoke directive.

2010-04-11 17:14  castaglia

	* NEWS, contrib/mod_sftp/Makefile.in, contrib/mod_sftp/auth.c,
	  contrib/mod_sftp/fxp.c, contrib/mod_sftp/misc.c,
	  contrib/mod_sftp/misc.h, contrib/mod_sftp/scp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3429 - mod_sftp should honor the UserOwner and GroupOwner
	  directives.

2010-04-11 15:47  castaglia

	* modules/mod_xfer.c:
	  Minor style nits in stor_chown(); no functional changes.

2010-04-11 14:50  castaglia

	* doc/howto/Tracing.html:
	  Add a FAQ/example to the Tracing howto describing how to use
	  Trace in mod_ifsession sections.

2010-04-11 14:44  castaglia

	* NEWS, modules/mod_core.c, tests/tests.pl, tests/t/config/trace.t,
	  tests/t/lib/ProFTPD/Tests/Config/Trace.pm:
	  Bug#3428 - Honor the Trace directive in mod_ifsession sections.

	  Unit/regression tests for this feature have also been added to
	  the testsuite.

2010-04-09 14:50  castaglia

	* NEWS, contrib/mod_sftp/scp.c:
	  Backport of fix for Bug#3425 to 1.3.3 branch.

2010-04-09 14:49  castaglia

	* NEWS, contrib/mod_sftp/scp.c:
	  Bug#3425 - Improperly constructed destination paths for SCP
	  uploads.

2010-04-09 11:26  castaglia

	* NEWS, contrib/mod_sftp/auth.c:
	  Backport of fix for Bug#3426 to 1.3.3 branch.

2010-04-09 11:25  castaglia

	* NEWS, contrib/mod_sftp/auth.c:
	  Bug#3426 - mod_sftp does not log to TransferLog by default.

2010-04-09 09:13  castaglia

	* contrib/mod_sftp/scp.c:
	  Backport of errno caching, so that the proper error is reported.

2010-04-09 09:12  castaglia

	* contrib/mod_sftp/scp.c:
	  Cache errno in a few more places, so that the proper error is
	  reported.

2010-04-08 17:48  castaglia

	* src/main.c:
	  Automatically log stacktraces for a SIGBUS signal, just as we do
	  for a SIGSEGV signal, if --enable-devel=stacktrace has been used
	  to configure proftpd.

2010-04-08 16:05  castaglia

	* src/mkhome.c:
	  Stylistic cleanup/changes; no functional changes.

2010-04-08 15:58  castaglia

	* doc/howto/CreateHome.html:
	  Typo.

2010-04-07 16:47  castaglia

	* modules/mod_core.c:
	  With the fix for Bug#3423, the adding a trailing blank line to
	  the DisplayQuit message is no longer necessary.

2010-04-07 16:30  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/DisplayLogin.pm:
	  Update the DisplayLogin regression test to match the current
	  behavior, as per changes for Bug#3423.

2010-04-07 16:30  castaglia

	* NEWS, include/display.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_xfer.c, src/display.c, src/main.c:
	  Backport of fix for Bug#3423 to 1.3.3 branch.

2010-04-07 16:29  castaglia

	* NEWS, include/display.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_xfer.c, src/display.c, src/main.c:
	  Bug#3423 - Last line of multiline DisplayLogin file improperly
	  handled.

2010-04-07 15:55  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/: mod_deflate.pm, mod_exec.pm,
	  mod_quotatab_sql.pm, mod_sql_sqlite.pm, mod_unique_id.pm:
	  And update the last few places in the testsuite where we should
	  be using a timeout of 30 secs when reading from a data
	  connection.

2010-04-07 15:52  castaglia

	* tests/t/lib/ProFTPD/Tests/: Config/FTPAccess/Empty.pm,
	  Config/FTPAccess/Merging.pm, Config/FTPAccess/RETR.pm,
	  Logging/ExtendedLog.pm, Logging/TransferLog.pm:
	  Use a timeout of 30 secs when reading from data connections, to
	  avoid spurious testsuite errors.

2010-04-07 15:49  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/: DirFakeMode.pm,
	  DisplayFileTransfer.pm, HiddenStores.pm, HideFiles.pm,
	  HideGroup.pm, HideNoAccess.pm, HideUser.pm,
	  MaxRetrieveFileSize.pm, TimeoutNoTransfer.pm, TimeoutStalled.pm,
	  UseGlobbing.pm:
	  Use a timeout of 30 secs when reading from a data connection;
	  this avoids spurious testsuite errors.

2010-04-07 15:45  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/: ABOR.pm, LIST.pm, MLSD.pm,
	  NLST.pm, REST.pm, RETR.pm:
	  When reading from a data connection, use a timeout of 30 secs;
	  this helps prevent/avoid spurious testsuite errors.

2010-04-07 15:35  castaglia

	* src/main.c:
	  Add trace logging of when the response chains are flushed during
	  the command dispatch cycle.

2010-04-05 16:51  castaglia

	* utils/ftpcount.c:
	  Fix a pedantic memory leak spotted by cppcheck.  Also fixes the
	  code style in a few places.

2010-04-05 16:13  castaglia

	* contrib/mod_sftp/: mac.c:
	  Scrub the key memory area before freeing it.

2010-04-05 15:26  castaglia

	* contrib/mod_sftp/: mac.c:
	  Running cppcheck found a memory leak where we aren't freeing up
	  malloc()'d memory on MAC errors.

2010-04-05 11:18  castaglia

	* contrib/mod_sftp_pam.c:
	  Add note about whether mod_sftp_pam should pay closer attention
	  to the list of modules configured via AuthOrder or not.

2010-04-04 16:57  castaglia

	* contrib/mod_sftp/mod_sftp.h.in:
	  Add more explanation about the assumptions involved in
	  registering an 'exec' channel handler.

2010-04-04 16:56  castaglia

	* contrib/mod_sftp/channel.c:
	  Add more trace logging around the searching and invoking of
	  registered 'exec' channel handlers.

2010-04-02 17:52  castaglia

	* src/main.c:
	  Make sure that premature SIGALRMs don't kill us; we want to
	  ignore SIGALRM unless we've registered a timer.

2010-04-02 15:29  castaglia

	* doc/contrib/mod_sftp_pam.html:
	  Update the mod_sftp_pam doc to mention that mod_sftp_pam is
	  enabled by default, not disabled.

2010-04-01 18:31  castaglia

	* modules/mod_lang.c:
	  Log the reason why the LANG command is denied after a client has
	  authenticated.

2010-04-01 11:35  castaglia

	* NEWS, contrib/mod_tls.c:
	  Backport of fix for Bug#3419 to 1.3.3 branch.

2010-04-01 11:34  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3419 - SSL_shutdown() errors with openssl-0.9.8m.

2010-03-31 15:41  castaglia

	* doc/contrib/mod_sftp.html:
	  Update the mod_sftp doc, removing DirFakeUser/DirFakeGroup from
	  the list of unsupported features.

2010-03-31 15:40  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3413 - Support DirFakeUser, DirFakeGroup for SFTP
	  connections.

2010-03-31 10:38  castaglia

	* NEWS, contrib/mod_sftp/auth.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3421 - RewriteHome does not work properly for SFTP
	  connections.

	  The mod_sftp authentication code was inadvertently calling
	  pr_auth_get_home() twice, albeit indirectly, which would lead to
	  incorrectly (or more accurately, "unexpectedly") rewritten home
	  directories when the RewriteHome feature is used.

2010-03-31 10:37  castaglia

	* NEWS, contrib/mod_sftp/auth.c:
	  Backport of fix for Bug#3421 to the 1.3.3 branch.

2010-03-31 09:22  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add regression test for Bug#3420.

2010-03-30 14:20  castaglia

	* modules/mod_log.c:
	  The third argument to pr_table_get() is a pointer (i.e. NULL),
	  not a boolean.  In this particular case, since we were passing
	  FALSE (i.e. zero, which is effectively the same as null), we're
	  OK.  But pedantic compilers might complain about this.

2010-03-30 14:17  castaglia

	* NEWS, src/table.c:
	  Backport of fix for Bug#3418 to the 1.3.3 maintenance branch.

2010-03-30 14:17  castaglia

	* NEWS, src/table.c:
	  Bug#3418 - %U sometimes showing up as "(none)" in ExtendedLog.

	  When removing an entry from the linked list "chain" in a table,
	  the table code was improperly setting the head of the chain to
	  the removed entry's next pointer (e->next) when it shouldn't have
	  been.  In this case, the removed entry was the last of two
	  entries in the list; its removal was causing the head of the
	  chain to be set to null.

2010-03-30 10:00  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_deflate.pm:
	  Removing extraneous mod_deflate test file; updating tests for new
	  location as part of normal testsuite.

2010-03-25 10:37  castaglia

	* NEWS, utils/ftpcount.c, utils/ftpscrub.c, utils/ftptop.c,
	  utils/ftpwho.c, utils/misc.c, utils/utils.h:
	  Backport of patch for Bug#3417 to 1.3.3 branch.

2010-03-25 10:37  castaglia

	* NEWS, utils/ftpcount.c, utils/ftpscrub.c, utils/ftptop.c,
	  utils/ftpwho.c, utils/misc.c, utils/utils.h:
	  Bug#3417 - Unsafe use of pointer when scanning config for
	  ScoreboardFile.

2010-03-22 16:24  castaglia

	* contrib/mod_tls.c:
	  Backport of the handling of WANT_READ/WANT_WRITE error codes from
	  SSL_shutdown().

2010-03-22 16:24  castaglia

	* src/scoreboard.c:
	  Backport the fix of a possible fd leak when scrubbing the
	  scoreboard.

2010-03-22 16:21  castaglia

	* src/scoreboard.c:
	  Make sure we don't leak an fd when scrubbing the scoreboard and
	  we fail to lock the entire scoreboard.

2010-03-19 14:21  castaglia

	* include/memcache.h, modules/mod_memcache.c, src/memcache.c:
	  Configure libmemcached to cache DNS lookups, and to always use
	  the binary protocol (unless explicitly configured not to).  Make
	  it possible to configure replication, and disable the use of the
	  binary protocol.

2010-03-19 14:19  castaglia

	* doc/howto/DisplayFiles.html:
	  Add a FAQ about Display files whose names contain spaces.

2010-03-19 09:36  castaglia

	* src/memcache.c:
	  Make sure that memcache support compiles with older versions of
	  libmemcached.  Specifically, that it will build using
	  libmemcached-0.31, which is the version provided by Debian
	  packages.

2010-03-18 10:49  castaglia

	* NEWS, contrib/mod_dynmasq.c:
	  Bug#3411 - Support ftpdctl action to manually request a
	  mod_dynmasq refresh.

2010-03-17 13:52  castaglia

	* NEWS, modules/mod_facts.c,
	  tests/t/lib/ProFTPD/Tests/Commands/MLSD.pm:
	  Bug#3318 - MLSD should indicate symlinks if ShowSymlinks is
	  enabled.

2010-03-15 11:32  castaglia

	* doc/contrib/mod_sftp.html:
	  Another mod_sftp FAQ.

2010-03-13 17:52  castaglia

	* src/wtmp.c:
	  Forgot to update the copyright date on this file.

2010-03-13 17:51  castaglia

	* NEWS, src/wtmp.c:
	  Bug#3409 - Build failure on newer FreeBSD due to utmp/utmpx
	  system changes.

2010-03-13 17:46  castaglia

	* NEWS, src/wtmp.c:
	  Bug#3409 - Build failure on newer FreeBSD due to utmp/utmpx
	  system changes.

2010-03-13 16:52  castaglia

	* modules/mod_memcache.c:
	  Use cmd_rec->pool, not cmd_rec->tmp_pool, in a configuration
	  handler.  The tmp_pool member isn't populated during parsing.

2010-03-13 16:47  castaglia

	* modules/mod_memcache.c:
	  Instead of parsing the MemcacheServers string for every session,
	  do it only during parsing.  The downside to this is that we now
	  need to be sure to free up the memory allocated with the
	  structures by libmemcached upon every restart, lest we get a
	  restart-bound memory leak.

2010-03-13 16:46  castaglia

	* include/memcache.h:
	  Fix some pesky compiler warnings about shadowed 'pool'
	  declarations.

2010-03-12 17:41  castaglia

	* contrib/mod_tls.c:
	  If SSL_shutdown() returns WANT_READ/WANT_WRITE, don't handle it
	  as a fatal error.  It's new behavior in OpenSSL-0.9.8m, but won't
	  cause problems when older OpenSSL versions are used if we catch
	  and handle these errors as benign.

2010-03-11 16:34  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#3412 - Include files not included after restart due to
	  permissions.

2010-03-11 16:15  castaglia

	* configure:
	  Updated configure.

2010-03-11 16:13  castaglia

	* Make.rules.in, config.h.in, configure.in, include/conf.h,
	  include/memcache.h, modules/mod_memcache.c, src/main.c,
	  src/memcache.c:
	  Initial work on memcache support.  Since this is experiement/new
	  code, you must explicitly request it via the --enable-memcache
	  configure option.

2010-03-11 10:12  castaglia

	* contrib/mod_deflate.c:
	  Missing break statements.

2010-03-10 11:24  castaglia

	* contrib/mod_copy.c:
	  Updated mod_copy to reflect the xferlog_write() changes.

2010-03-10 11:21  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_copy.pm,
	  t/modules/mod_copy.t:
	  Added unit/regression tests for mod_copy.

2010-03-10 11:20  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_copy.c,
	  doc/contrib/mod_copy.html:
	  Added mod_copy to the contrib modules area.

2010-03-10 11:14  castaglia

	* modules/mod_core.c, src/data.c:
	  Fix some of the fallout from Bug#2196: data transfers were
	  failing when the server socket was IPv6 and we converted the
	  client from an IPv4-mapped IPv6 address to a plain IPv4 address
	  -- this caused discrepancies in the families of the sockets
	  opened for data transfers.

2010-03-10 09:23  castaglia

	* include/netaddr.h, src/inet.c, src/netaddr.c:
	  The pr_netaddr_v4tov6() function was named incorrectly: it should
	  be pr_netaddr_v6tov4().  And now it is.

2010-03-10 09:04  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#3371 - Group limits in <LIMIT LOGIN> blocks won't work with
	  RADIUS-supplied groups.

2010-03-10 08:53  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#3373 - RadiusGroupInfo should not require that both names and
	  IDs be VSAs.

2010-03-10 08:43  castaglia

	* doc/contrib/mod_ban.html:
	  Update mod_ban docs to include mention of new -s command-line
	  option for ban/permit ftpdctl actions.

2010-03-10 08:14  castaglia

	* contrib/mod_sftp/fxp.c, contrib/mod_sftp/scp.c,
	  include/xferlog.h, modules/mod_core.c, modules/mod_xfer.c,
	  src/xferlog.c:
	  Change the xferlog_write() function so that it takes an
	  additional argument: the "special action flags" string to write
	  into the TransferLog entry.  This will make it possible to set
	  'C' and/or 'T' where appropriate (e.g. when mod_deflate and/or
	  mod_tar are in effect).  Updated the relevant callers as needed.

2010-03-10 07:59  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_deflate.pm,
	  t/modules/mod_deflate.t:
	  Adding unit/regression tests for mod_deflate.

2010-03-10 07:56  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_deflate.c,
	  doc/contrib/mod_deflate.html:
	  Adding mod_deflate to the contrib module area.

2010-03-10 07:54  castaglia

	* contrib/mod_sql.c:
	  There's no reason for the caches used by mod_sql to be visible
	  outside of that file.

2010-03-10 07:07  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3374 - TLSVerifyClient and TLSOptions NoCertRequest are
	  incompatible.

2010-03-10 06:52  castaglia

	* modules/mod_core.c, src/data.c:
	  Make sure that the setting of socket options on a passive data
	  connection socket occur before the call to listen(2), not after.

2010-03-09 22:03  castaglia

	* src/inet.c:
	  Removed development/debug logging.

2010-03-09 11:39  castaglia

	* configure:
	  Updated configure.

2010-03-09 11:37  castaglia

	* configure.in:
	  Bug33410: Fix build regression caused by changes for Bug#2768.
	  Specifically, the $libdir autoconf variable was inadvertently
	  reused for the mysql_config checking; this variable is later used
	  for determining the installation location of the proftpd.pc file.

2010-03-08 18:38  castaglia

	* contrib/mod_ctrls_admin.c, contrib/mod_qos.c, include/bindings.h,
	  include/compat.h, include/dirtree.h, include/inet.h,
	  modules/mod_core.c, modules/mod_ident.c, src/bindings.c,
	  src/data.c, src/dirtree.c, src/inet.c, src/main.c:
	  Removed the unused server_list argument from
	  pr_inet_create_conn() and friends.  This also obseleted the
	  backward-compatibilty macros for these functions.

	  Made the get_listening_conn() function in src/bindings.c public,
	  so that the mod_ctrls_admin module could properly use it when
	  enabling/disabling vhosts.

	  Added generation of events whenever proftpd opens sockets; the
	  socket fd and its associated pr_netaddr_t and server_rec are
	  provided as event data.  With this, the mod_qos module is now
	  properly able to set QoS options on a socket _before_ any
	  listen(2) or connect(2) call on that socket, i.e. before any TCP
	  handshakes occur on that socket.  This should hopefully make the
	  setting of QoS values (cf Bug#3353) work properly.

2010-03-08 17:48  castaglia

	* src/inet.c:
	  Use the proper socket option level consistently when setting the
	  TCP_NODELAY option.

2010-03-08 14:17  castaglia

	* configure:
	  Updated configure.

2010-03-08 14:13  castaglia

	* NEWS, config.h.in, configure.in, include/conf.h:
	  Bug#3408 - Use <termios.h> instead of <sys/termios.h> where
	  possible.

2010-03-08 14:12  castaglia

	* NEWS:
	  Forgot to keep the NEWS file up-to-date in the 1.3.3 branch.

2010-03-08 11:18  castaglia

	* configure:
	  Updated configure.

2010-03-08 11:15  castaglia

	* NEWS, configure.in:
	  Bug#2768 - Provide --with-mysql-config/--with-postgres-config
	  build options.

2010-03-08 10:28  castaglia

	* NEWS, modules/mod_ls.c,
	  tests/t/lib/ProFTPD/Tests/Commands/LIST.pm:
	  Bug#3407 - Use glob characters as literal characters if no glob
	  match found for LIST/NLST.

2010-03-08 09:30  castaglia

	* NEWS, include/netaddr.h, src/inet.c, src/netaddr.c:
	  Bug#2196 - Handle IPv4-mapped IPv6 addresses as IPv4 addresses.

2010-03-06 11:32  castaglia

	* src/fsio.c:
	  Minor tweak needed so that FSIO modules work properly (i.e. have
	  their callbacks used properly) on CWD commands with paths which
	  do not contain a '/' character.

2010-03-06 10:28  castaglia

	* src/stash.c:
	  Remove some development/testing cruft.

2010-03-06 10:01  castaglia

	* tests/: Makefile.in, api/modules.c, api/stash.c, api/tests.c,
	  api/tests.h:
	  Updated API tests to reflect changed location of stash code.

2010-03-06 09:42  castaglia

	* Make.rules.in, include/conf.h, include/modules.h,
	  include/stash.h, src/modules.c, src/stash.c:
	  Separate out the symbol table lookup code from the modules.c file
	  and place it in its own stash.c file.  This will make it easier
	  to tweak the symbol table lookups without unnecessary code churn
	  in the module-handling code.

2010-03-06 09:26  castaglia

	* src/modules.c:
	  Removed unused/dead callback typedef.

2010-03-05 15:08  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#3393 - Specify the <VirtualHost> when using 'ban' or 'permit'
	  ftpdctl actions.

2010-03-05 14:40  castaglia

	* src/parser.c:
	  The default "server config" server_rec gets SID 1 in
	  init_config(); this means that the SIDs assigned to vhosts in the
	  parser need to start after 1, not after 0.  This was causing the
	  "server config" and the first <VirtualHost> server_recs to both
	  have a SID of 1.

2010-03-04 15:26  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#3392 - Display <VirtualHost> information in 'ban info'
	  ftpdctl action response.

2010-03-04 15:18  castaglia

	* contrib/mod_sftp/channel.c:
	  Add a little more trace logging to the handling of SSH2 channel
	  data.

2010-03-04 15:14  castaglia

	* contrib/mod_sftp/msg.c:
	  Initialize these variables pedantically.

2010-03-04 15:05  castaglia

	* contrib/mod_sftp/msg.c:
	  Log data lengths as unsigned longs for size_t, not unsigned ints.

2010-03-04 14:11  castaglia

	* doc/contrib/mod_qos.html:
	  Adding documentation for mod_qos (Bug#3353).

2010-03-04 13:57  castaglia

	* README.modules, RELEASE_NOTES:
	  Update docs with mention of mod_qos.

2010-03-04 13:52  castaglia

	* NEWS, contrib/mod_qos.c, include/dirtree.h, include/inet.h,
	  src/data.c, src/dirtree.c, src/inet.c, src/main.c:
	  Bug#3353 - Support setting IPTOS/DSCP markings on data and
	  control streams.

2010-03-04 09:29  castaglia

	* tests/api/: scoreboard.c, str.c:
	  Update failing scoreboard API test.  Add new sreplace API test.

2010-03-04 09:27  castaglia

	* src/str.c:
	  Make sure that sreplace() never returns a pointer to a buffer on
	  the stack.  This would rarely have happened anyway, but not it's
	  not possible.  This involved setting a maximum limit (8K) on the
	  size of the buffer that sreplace() would return.   Anything that
	  needs a larger buffer than that can handle its own
	  replacement/interpolation.

2010-03-03 17:27  castaglia

	* include/netaddr.h, src/netaddr.c:
	  Fix the pr_netaddr_get_addrno() function (infrequently used) to
	  return an explicit uint32_t, and fix up the error return values.
	  Not that the one caller (in mod_radius) actually checks for
	  these.

2010-03-03 17:25  castaglia

	* src/dirtree.c:
	  Avoid compiler warning about uninitialized variable.

2010-03-03 17:15  castaglia

	* modules/mod_core.c:
	  Avoid compiler warning about unitialized variable.

2010-03-03 16:30  castaglia

	* src/throttle.c:
	  Remove an unused variable.

2010-03-03 15:10  castaglia

	* contrib/mod_quotatab_file.c, contrib/mod_shaper.c,
	  contrib/mod_sftp/rfc4716.c, modules/mod_delay.c,
	  src/scoreboard.c, utils/scoreboard.c:
	  Check the lseek(2) return value in more places.

2010-03-03 09:40  castaglia

	* include/options.h:
	  4K for an environ variable value might be a bit excessive; let's
	  use 2K.

2010-03-03 08:56  castaglia

	* include/options.h, src/env.c, src/proctitle.c:
	  Set a limit on the maximum length of environment variable values.

2010-03-03 08:24  castaglia

	* NEWS, src/fsio.c, tests/t/lib/ProFTPD/Tests/Commands/RNTO.pm:
	  Backport of fix (and regression tests) for Bug#3354.

2010-03-03 08:23  castaglia

	* NEWS, src/fsio.c, tests/t/lib/ProFTPD/Tests/Commands/RNTO.pm:
	  Bug#3354 - Renaming a file across mount points to a full disk
	  does not fail as expected.

2010-03-02 17:01  castaglia

	* NEWS, src/log.c:
	  Bug#3404 - SyslogLevel not applied to SystemLog.

2010-03-02 16:54  castaglia

	* NEWS, contrib/mod_sftp/mod_sftp.c:
	  Bug#3405 - Multiple SFTPAuthorizedUserKeys stores causes segfault
	  on 64-bit platforms.

2010-03-02 16:53  castaglia

	* contrib/mod_sftp/rfc4716.c:
	  Backport of the fix for handling of errno such that the proper
	  error is logged when we fail to open a file-based authorized keys
	  file.

2010-03-02 16:53  castaglia

	* contrib/mod_sftp/rfc4716.c:
	  Fix the handling of errno such that the proper error is logged
	  when we fail to open a file-based authorized keys file.

2010-03-02 11:03  castaglia

	* doc/contrib/mod_sftp_sql.html:
	  Update the mod_sftp_sql doc to mention where to find the latest
	  version.

2010-03-02 10:36  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#3339 - Support ban rule for clients which login too
	  frequently.

2010-03-02 10:24  castaglia

	* NEWS, locale/Makefile.in, locale/ja_JP.po:
	  Bug#3400 - Add Japanese translation.

2010-03-02 10:24  castaglia

	* locale/ja_JP.po: file ja_JP.po was added on branch B1_3_3 on
	  2010-03-02 18:24:24 +0000

2010-03-02 10:07  castaglia

	* NEWS, modules/mod_facts.c:
	  Bug#3403 - File upload followed by MLSD leads to wrong file size
	  entries in TransferLog.

2010-03-02 09:52  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3402 - mod_tls does not compile with pre-0.9.7 OpenSSL due to
	  Bug#3349.

2010-03-02 09:33  castaglia

	* NEWS, contrib/mod_sftp/crypto.c:
	  Bug#3401 - mod_sftp does not compile with pre-0.9.7 OpenSSL.

2010-02-28 09:13  jwm

	* contrib/mod_ldap.c: revno: 96 message:   emit quota parsing
	  debugging output before parsing, since strsep()   modifies the
	  passed string
	  ------------------------------------------------------------
	  revno: 94 message:   - ssh pubkey support was broken, since
	  nothing was setting	  ldap_ssh_pubkey_{basedn,filter}. use
	  ldap_auth_{basedn,filter} instead,	 since it seems reasonable
	  to keep pubkeys on the account that's     authenticating.    -
	  add support for multiple pubkeys for a user	 - always
	  initialize cached_ssh_pubkeys in pr_ldap_ssh_pubkey_lookup(),
	  since we're only called if we don't have any pubkeys cached or
	  need ot      explicitly fetch pubkeys for a different user

2010-02-24 18:16  castaglia

	* contrib/mod_tls.c, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_facts.c, modules/mod_ls.c, modules/mod_site.c,
	  modules/mod_xfer.c:
	  Mark HELP strings for translation/localisation.

2010-02-24 17:49  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Limit/MFMT.pm:
	  Remove development cruft.

2010-02-24 16:51  castaglia

	* doc/howto/Versioning.html:
	  Fix typo, update example.

2010-02-24 15:21  castaglia

	* NEWS, modules/mod_facts.c,
	  tests/t/lib/ProFTPD/Tests/Commands/MLST.pm:
	  Bug#3302 - MLST response should include full path name.

2010-02-24 15:19  castaglia

	* contrib/mod_site_misc.c, modules/mod_facts.c:
	  Forgot to update the copyright years on the files that I
	  modified.  It's a bit pedantic, but it's a habit I try to keep.

2010-02-24 15:18  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3365 - First certificate in TLSCertificateChainFile is
	  skipped.

2010-02-24 15:14  castaglia

	* NEWS, contrib/mod_site_misc.c, modules/mod_facts.c,
	  tests/tests.pl, tests/t/config/limit/mfmt.t,
	  tests/t/lib/ProFTPD/Tests/Config/Limit/MFMT.pm:
	  Bug#3399 - <Limit> statement does not restore access to MFMT
	  commands.

2010-02-24 11:14  castaglia

	* doc/contrib/index.html:
	  Updated index of contrib module docs.

2010-02-24 10:38  castaglia

	* include/version.h:
	  Updated for CVS.

2010-02-24 09:58  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2010-02-24 09:54  castaglia

	* NEWS, RELEASE_NOTES, contrib/dist/rpm/proftpd.spec,
	  include/version.h:
	  Preparing for release of 1.3.3-stable.

2010-02-24 09:25  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2010-02-24 09:24  castaglia

	* NEWS, RELEASE_NOTES, contrib/dist/rpm/proftpd.spec,
	  include/version.h:
	  Preparing for release of 1.3.2e.

2010-02-24 08:48  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Quell Perl interpreter warnings about redeclared variables.

2010-02-24 08:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Quell some Perl interpreter warnings about redeclared variables.

2010-02-24 08:20  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Quell Perl interpreter warning about "useless use of private
	  variable in void context".

2010-02-23 10:01  castaglia

	* NEWS, modules/mod_core.c, src/dirtree.c,
	  tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Bug#3397 - HideFiles none does not work properly on a per-user
	  basis.

2010-02-23 09:06  castaglia

	* modules/mod_ls.c:
	  Make sure that the pluralization of "paths" matches the count
	  displayed in the log message.

2010-02-22 09:01  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#3389 - Cannot create mod_ban whitelists using <Class> and
	  <IfClass> sections.

2010-02-22 08:55  castaglia

	* src/bindings.c:
	  If "SocketBindTight on" is in effect, then the fix for Bug#3306
	  would cause problems for non-IPv6-enabled builds.  The fix for
	  Bug#3306 was not making a proper deep copy of the pr_netaddr_t
	  object for its linked list; the shallow copy (just a pointer)
	  would later point to memory whose contents had changed.  This
	  lead to a getnameinfo(3) failure (EAI_FAMILY, specifically), the
	  attempt to create a new listening socket, and a collision with an
	  existing socket.

	  The solution to this is simple: make a deep copy.

2010-02-21 14:34  castaglia

	* contrib/mod_sftp/rfc4716.c:
	  Support use of FIFOs as SFTPAuthorized{Host,User}Keys files.

2010-02-21 11:51  castaglia

	* src/inet.c:
	  Log if getsockname(2) returns an error.

2010-02-21 10:04  castaglia

	* src/dirtree.c:
	  Handle an edge case/regression from the fix for Bug#3337.

2010-02-21 10:04  castaglia

	* src/dirtree.c:
	  Handle an edge case/regression from Bug#3337.

2010-02-19 10:23  castaglia

	* contrib/mod_tls.c:
	  Slightly better logging of SSL session reuse for data
	  connections.

2010-02-19 09:57  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  Fix another compiler warning (this one specific to the
	  pedantically stupid idiosyncrasis of gcc-4.4) in mod_sftp, per
	  Bug#3394.

2010-02-19 09:47  castaglia

	* contrib/mod_sftp/fxp.c:
	  Fix some of the compiler warnings mentioned in Bug#3394.

2010-02-17 10:06  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  Rather than log (and ignore) any badly formatted version exchange
	  strings from clients, log the client-sent string and then
	  disconnect the client.  This is what OpenSSH does, and it's a
	  more draconian and more efficient way of dealing with such
	  ill-behaved clients.

2010-02-17 08:07  castaglia

	* doc/howto/Limit.html:
	  Add blocking of STAT to "blind directory" example, per Bug#3391.

2010-02-15 15:28  castaglia

	* doc/howto/SQL.html:
	  Add SQL FAQ about encrypting the connections between mod_sql and
	  the backend database server.

2010-02-15 14:03  castaglia

	* contrib/mod_sftp/mod_sftp.c, contrib/mod_sftp/packet.c,
	  contrib/mod_sftp/packet.h,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Make sure that mod_sftp can handle clients which don't send
	  properly formatted protocol version strings, as well as clients
	  which do not send the proper protocol version string within a
	  configured TimeoutLogin period.

2010-02-15 11:32  castaglia

	* configure:
	  Updated configure.

2010-02-15 11:22  castaglia

	* configure.in:
	  The various library directories need to be included in the
	  `proftpd -V' output as well.

2010-02-15 09:45  castaglia

	* NEWS, modules/mod_core.c:
	  Backport the fix for Bug#3342.

2010-02-15 08:36  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Add regression test for using %S in SQLNamedQuery statements in
	  combination with a SQLLog ERR_* configuration.

2010-02-13 16:36  castaglia

	* src/table.c, tests/api/table.c:
	  When using a pr_table_t allocated with the USE_CACHE flag (none
	  are, currently), the pr_table_get()/pr_table_kget() functions
	  would incorrectly return the previously looked up entry, every
	  time, instead of iterating properly to the next entry in the
	  linked list.

2010-02-13 16:19  castaglia

	* src/modules.c:
	  Comment corrections.

2010-02-12 17:45  castaglia

	* include/version.h:
	  Updated version for CVS.

2010-02-12 17:09  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2010-02-12 17:08  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Updates for the 1.3.3rc4 release.

2010-02-12 16:53  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2010-02-12 16:52  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Updates for 1.3.2d release.

2010-02-12 16:37  castaglia

	* RELEASE_NOTES:
	  Preparing release notes for another RC.

2010-02-12 16:13  castaglia

	* RELEASE_NOTES:
	  Start updating the 1.3.2 release notes for a maintenance release.

2010-02-11 14:44  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Limit/Anonymous.pm:
	  Add unit test for an <Anonymous> login which uses a <Limit LOGIN>
	  rule based on a DSN name (hint: "UseReverseDNS on" is required
	  for the rule to work as expected).

2010-02-11 14:36  castaglia

	* src/dirtree.c:
	  Minor code style cleanup, no functional change.

2010-02-11 14:35  castaglia

	* src/netacl.c:
	  More trace logging of comparison of netacls.

2010-02-10 22:30  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add regression tests for uploading and downloading zero-length
	  files via SFTP and SCP.

2010-02-10 15:29  castaglia

	* contrib/mod_sftp/keys.c:
	  Fix an issue in mod_sftp where, similar to in mod_tls, a file
	  descriptor on a key file can be opened during SIGHUP where the fd
	  is 0, 1, or 2.  This causes problems because the prompt-related
	  fd fiddling changes these fds to deal with input from the admin.
	  The fix, as in mod_tls, is to use pr_fsio_get_usable_fd() to get
	  an fd value that isn't one of the big three for that key file.

2010-02-10 13:45  castaglia

	* modules/mod_xfer.c:
	  If "UseSendfile off" appears in the config but some other
	  condition prevents the use of sendfile(), it's a little odd to
	  see some other "declining use of sendfile" message in the logs.

2010-02-10 12:54  castaglia

	* include/trace.h, modules/mod_core.c, src/trace.c:
	  Make the default trace channel name of "DEFAULT" a macro, to keep
	  it in sync in the various files which use that string.

2010-02-10 12:50  castaglia

	* modules/mod_core.c:
	  The mod_core module had not been updated to use the "DEFAULT"
	  trace keyword rather than the "ALL" keyword.	This keyword should
	  be made into a public macro.

2010-02-10 11:39  castaglia

	* doc/howto/Compiling.html:
	  Slightly better/fuller example.

2010-02-10 11:24  castaglia

	* configure:
	  Updated configure.

2010-02-10 11:21  castaglia

	* configure.in:
	  Expand the list of modules which cannot be built as shared
	  modules; allow some of the core modules to be built as shared
	  modules (e.g. mod_delay, mod_auth_file, mod_ident, mod_auth_pam,
	  etc).

2010-02-10 11:20  castaglia

	* modules/mod_delay.c:
	  Quell compiler warning about unreachable code.  Prepare mod_delay
	  for acting properly when compiled as a DSO module.

2010-02-10 11:19  castaglia

	* modules/mod_facl.c:
	  Remove duplicate registration of module unload listener in
	  mod_facl.

2010-02-10 11:12  castaglia

	* doc/howto/Compiling.html:
	  Add FAQ about the "source file './modules/d_auth_pam.c' cannot be
	  found" configure error that is sometimes reported.

2010-02-10 10:34  castaglia

	* contrib/mod_sftp/: interop.c, interop.h, keystore.c, keystore.h,
	  mod_sftp.c, rfc4716.c, rfc4716.h:
	  Make sure that mod_sftp unregisters callbacks on module unload
	  properly, as well as freeing up any allocated regular expressions
	  on module unload.

2010-02-10 10:31  castaglia

	* contrib/: mod_wrap2_file.c, mod_wrap2_sql.c,
	  mod_wrap2/mod_wrap2.c, mod_wrap2/mod_wrap2.h.in:
	  Provide a wrap2_unregister() API, so that wrap2 submodules can
	  unregister their backends on e.g. module unload.  Update the
	  wrap2 submodules to use this new API.

2010-02-10 10:27  castaglia

	* contrib/mod_tls.c:
	  Quell some compiler warnings about unreachable code.

2010-02-10 10:26  castaglia

	* contrib/mod_sql.c:
	  Unregister the registered authtype handlers upon module unload.

2010-02-10 10:24  castaglia

	* contrib/mod_quotatab.c:
	  Set the prev pointer properly when registering a quotatab
	  backend.

2010-02-10 09:29  castaglia

	* contrib/mod_rewrite.c:
	  When mod_rewrite is a DSO module and is being unloaded (as during
	  a restart), free any allocated regexes and prevent a memory leak.

2010-02-09 18:16  castaglia

	* src/bindings.c:
	  When getting a listening connection, handle cases where an IP
	  address string can't be returned for some reason.

2010-02-09 17:05  castaglia

	* contrib/mod_dynmasq.c:
	  Forgot to update the copyright date on this file, since it's been
	  modified this year.

2010-02-09 17:03  castaglia

	* NEWS, contrib/mod_ban.c, contrib/mod_dynmasq.c:
	  Backport of Bug#3387 to the 1.3.2 branch for mod_ban and
	  mod_dynmasq.

2010-02-09 17:01  castaglia

	* NEWS, contrib/mod_ban.c, contrib/mod_dynmasq.c,
	  contrib/mod_shaper.c:
	  Bug#3387 - SIGHUP will eventually cause certain modules (as DSO
	  modules) to segfault.

	  Register timers in the daemon process via a 'core.postparse'
	  listener rather than a 'core.startup' listenver, and remove the
	  registered timers in a 'core.restart' listener.  Otherwise, the
	  previous registered timer can point to invalid memory if the
	  registering module is a DSO module; SIGHUPs cause DSO modules to
	  be unloaded/reloaded.

2010-02-09 12:08  castaglia

	* src/timers.c:
	  Paranoid checking for NULL parameters for a trace message in the
	  Timers API.

2010-02-09 07:53  castaglia

	* include/bindings.h, src/bindings.c:
	  Pass the port number to use as an argument to pr_ipbind_create(),
	  rather than assuming that the port in the given server_rec should
	  be used.  There are cases where this may not be true (e.g. in
	  mod_autohost's uses).

2010-02-08 15:12  castaglia

	* contrib/mod_sftp/fxp.c:
	  Handle another case where we weren't checking for a NULL result
	  from calling dir_canonical_vpath() when handling REALPATH
	  requests.

2010-02-08 15:01  castaglia

	* contrib/mod_sftp/fxp.c:
	  If there are troubles in resolving the paths given in a SYMLINK
	  request (e.g. because of ENAMETOOLONG), handle the error
	  gracefully rather than segfaulting.

2010-02-08 13:54  castaglia

	* src/fsio.c:
	  More defensive programming: check for cases where
	  lookup_fs_file() returns NULL, and Do The Right Thing(tm).

2010-02-08 13:27  castaglia

	* src/fsio.c:
	  Check for cases where we fail to lookup the FSIO object for a
	  path because of an error like ENAMETOOLONG.  Without this,
	  segfaults because of null pointer dereferences would occur.

2010-02-08 13:14  castaglia

	* contrib/mod_sftp/fxp.c:
	  Handle the case where dir_canonical_path() returns NULL (e.g. for
	  ENAMETOOLONG) in the REMOVE handler in order to prevent null
	  pointer dereference segfault.

2010-02-08 12:00  castaglia

	* contrib/mod_sftp/fxp.c:
	  Handle cases where dir_canonical_vpath() might return NULL (such
	  as when the input name is too long); without this, a segfault due
	  to null pointer dereference ensues.

2010-02-08 11:45  castaglia

	* src/trace.c:
	  Prevent long trace log lines from trampling each other by
	  truncating and adding a terminating newline properly.

2010-02-08 09:28  castaglia

	* contrib/mod_sftp/packet.c:
	  Make sure we don't try to read in more data than can fit in our
	  packet buffer.

2010-02-07 10:50  castaglia

	* configure:
	  Updated configure.

2010-02-07 10:45  castaglia

	* configure.in:
	  Make sure that compiler optimizations are disabled when
	  --enable-devel is used.

2010-02-07 10:36  castaglia

	* include/support.h, src/support.c:
	  Add a pr_strtime2() function, which allows callers the choice of
	  whether the returned timestamp string is in GMT or in local time;
	  the existing pr_strtime() function is hardcoded to always use
	  local time.

2010-02-05 17:38  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Make sure that config_write() can handle Anonymous sections which
	  contain nested Directory or Limit sections.

2010-02-04 16:32  castaglia

	* src/event.c:
	  Include the memory address of the event callback being invoked in
	  the trace message about event handling.

2010-02-04 11:26  castaglia

	* doc/contrib/mod_sftp_sql.html:
	  Update the schema examples for storing SSH keys; include indices
	  in the example schema.

2010-02-04 09:24  castaglia

	* src/pool.c:
	  Make the name of the oom pool walking function be 'oom_printf',
	  just to be very clear.

2010-02-04 09:14  castaglia

	* include/pool.h, src/main.c, src/pool.c:
	  Checking in some handy code I used yesterday to track down a
	  memory leak in mod_sftp.

	  If proftpd is compiled using --enable-devel, AND if it is started
	  using the -n/--nodaemon command-line option, then if an
	  out-of-memory condition is encountered, proftpd will try to dump
	  the memory pool statistics to stderr.  This is what showed me
	  where all of the memory was being used in the mod_sftp case.

2010-02-03 20:08  castaglia

	* contrib/mod_sftp/channel.c:
	  Undo the previous change regarding the calling of
	  destroy_channel() and the setting of the recvd_close flag.  Turns
	  out that the previous arrangement was the way it was for a good
	  reason.

	  Left myself a comment to this effect, so that I'm not tempted to
	  make the same mistake again in the future.

2010-02-03 20:02  castaglia

	* contrib/mod_sftp/scp.c:
	  Only handle aborted SCP transfers if there is actually a non-zero
	  count of open file handles when the session is closed.

2010-02-03 20:00  castaglia

	* contrib/mod_sftp/channel.c:
	  No need to call destroy_channel() twice.  Also be sure to set the
	  recvd_close flag *before* calling send_channel_done(), so that
	  the channel will be properly closed when destroy_channel() is
	  called on it.

2010-02-03 19:42  castaglia

	* contrib/mod_sftp/channel.c:
	  Guard against sending CHANNEL_EOF and/or CHANNEL_CLOSE twice.
	  Some clients rightfully treat this as a protocol error.  I
	  noticed this when testing scp downloads using OpenSSH, and saw
	  "protocol error: close rcvd twice".

2010-02-03 19:23  castaglia

	* NEWS, contrib/mod_sftp/scp.c:
	  Bug#3386 - Downloading via SCP can stall due to rekeying.

2010-02-03 19:12  castaglia

	* contrib/mod_sftp/scp.c:
	  Typo.

2010-02-03 18:46  castaglia

	* contrib/mod_sftp/scp.c:
	  Add some minor logging of the progress being made on the sending
	  of data for a file via SCP.

	  Fix some cases where even though a file may have been downloaded
	  successfully, the SCP may still have been handled as a failure by
	  mod_sftp because of bad logic.

2010-02-03 18:15  castaglia

	* NEWS, contrib/mod_sftp/channel.c:
	  Bug#3385 - Memory leak during SCP download.

2010-02-03 17:03  castaglia

	* contrib/mod_sftp/scp.c:
	  When we've sent the last chunk of data when downloading via SCP,
	  don't require the client to send one more SSH message.  Not sure
	  why that was there.  Also, when writing SCP download data, spin
	  on a zero window size *after* the channel data has been written,
	  not before.

	  With these two changes, downloading via SCP a largish (700 MB)
	  file finally worked, without hanging the scp(1) OpenSSH client.

2010-02-03 15:42  castaglia

	* contrib/mod_sftp/tap.c:
	  Make "SFTPTrafficPolicy none" work; it was hanging if that
	  setting had been explicitly configured in the proftpd.conf.

	  Also make "SFTPTrafficPolicy none" override the automatic use of
	  the 'rogaway' policy.  This makes it possible to test transfers
	  of data without having the IGNORE messages bloat the data
	  transferred.

2010-02-03 13:45  castaglia

	* src/child.c:
	  If sending a signal to the child/session process fails, log the
	  reason via trace logging.

2010-02-03 13:31  castaglia

	* contrib/mod_sftp/channel.c:
	  When freeing an unclosed channel, log the number of pending bytes
	  that that channel might have.

2010-02-03 11:11  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/PathDenyFilter.pm:
	  We don't want a bare '.' character in these regexes, just the '.'
	  regex pattern meaning "match any character".

2010-02-03 09:15  castaglia

	* contrib/mod_sftp/fxp.c:
	  Quell compiler warnings about unused return values.

2010-02-02 16:56  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/PathDenyFilter.pm:
	  Add unit tests where PathDenyFilter is used to prevent names with
	  a single leading (or trailing) space character (or both).

2010-02-02 16:29  castaglia

	* contrib/mod_sftp/keys.c:
	  Quell compiler warnings about unreachable code; no functional
	  change.

2010-02-02 15:06  jwm

	* contrib/mod_ldap.c: revno: 93 message:   add ssh public key
	  support (for mod_sftp_ldap) from TJ Saunders	 <tj@castaglia.org>

2010-02-02 15:02  jwm

	* contrib/mod_ldap.c: v2.8.22

	  * Disable the LDAPUseSSL directive, instead logging a warning so
	  existing   configurations do not cause ProFTPD startup failure.
	  Previous versions   enabled TLS when this directive was enabled.
	  This behavior was incorrect,	 since the intended behavior was to
	  enable LDAPS/LDAP over SSL. To use   LDAPS, specify the ldaps://
	  protocol in the LDAPServerURL URL(s).

	    If you wish to continue using TLS, you must modify your
	  configuration to
	    specify the ldap:// scheme in the LDAPServerURL URL and add the
	  directive
	    'LDAPUseTLS on' to your configuration.
	  * Add support for quota profiles. If a user entry doesn't have an
	  ftpQuota   attribute, search for the DN contained in the user's
	  ftpQuotaProfileDN   attribute (if present) and use the ftpQuota
	  attribute present on that DN.    (Bug #2617)	* Fix segfaults in
	  debug logging on platforms whose printf() does not   gracefully
	  handle NULL string pointers. (Bug #3346) * Escape LDAP filter
	  metacharacters in inserted values when interpolating	 filter
	  templates.  * Emit a debug warning when an LDAP URL is specified
	  without an explicit	search scope.  * Bug 2922 locks
	  authentication for an account to the same module that   fetched
	  the original account information. Remove the kludge wherein	"*"
	  is passed to pr_auth_check() if we're doing auth binds to prevent
	    other modules from processing authentication. This has the
	  convenient   side effect of making the UserPassword directive
	  work with LDAP-sourced   accounts. Bump the required ProFTPD
	  version to 1.3.1rc3.	* Emit correct LDAP timeout in debug
	  message, accounting for the default if   none was specified.
	  Reported by Nikos Voutsinas <nvoutsin@noc.uoa.gr>.

	  ------------------------------------------------------------
	  revno: 92 message:   nuke unused variable
	  ------------------------------------------------------------
	  revno: 91 message:   release 2.8.22
	  ------------------------------------------------------------
	  revno: 90 message:   * Add support for quota profiles. If a user
	  entry doesn't have an ftpQuota     attribute, search for the DN
	  contained in the user's ftpQuotaProfileDN	attribute (if
	  present) and use the ftpQuota attribute present on that DN.
	  (Bug #2617)
	  ------------------------------------------------------------
	  revno: 89 message:   * Fix segfaults in debug logging on
	  platforms whose printf() does not	gracefully handle NULL
	  string pointers. (Bug #3346)
	  ------------------------------------------------------------
	  revno: 88 message:   cast ldap_querytimeout_tp.tv_sec to quell a
	  compiler warning
	  ------------------------------------------------------------
	  revno: 87 message:   * Emit correct LDAP timeout in debug
	  message, accounting for the default if     none was specified.
	  Reported by Nikos Voutsinas <nvoutsin@noc.uoa.gr>.
	  ------------------------------------------------------------
	  revno: 86 message:   thanks to Bug 2922 (Auth API allows one auth
	  module to authenticate user	data provided by a different auth
	  module), we don't need to worry about   passing a locked crypted
	  password ("*") to pr_auth_check(), since our authz   handler will
	  only be called if we supplied the original user information.

	    as a result, if the UserPassword directive is in effect, we
	  need to avoid
	    doing auth binds and fall through to verifying the crypted
	  password
	    ourselves instead of declining the authz request and letting
	  mod_auth_unix
	    handle it.

	    bump the required proftpd version to 1.3.1rc3, since #2922 was
	  resolved in
	    that version. this seems reasonable, since nobody ought to be
	  running
	    1.2.10rc2 any more and 1.3.1rc3 has been available for almost
	  2.5y now.
	  ------------------------------------------------------------
	  revno: 85 message:   add intermediary #ifdefs instead of
	  littering the code with ldap api version-   and openldap-specific
	  preprocessor directives
	  ------------------------------------------------------------
	  revno: 84 message:   use a common pr_ldap_search() to avoid
	  duplicate code in *_lookup()
	  ------------------------------------------------------------
	  revno: 82 message:   - cached_quota should be declared static   -
	  return PR_HANDLED() in stub LDAPUseSSL config directive handler
	  ------------------------------------------------------------
	  revno: 81 message:   emit a debug warning if the search scope is
	  'base'. ldap urls default to this   scope, and specifying:

	      LDAPServer ldap://127.0.0.1/

	    has bitten me several times when I forget that the search scope
	  is 'base',
	    not 'sub'.
	  ------------------------------------------------------------
	  revno: 80 message:   re-add a stub for LDAPUseSSL that only logs
	  a notice that it's been removed, so	older configurations don't
	  fail to start.

	    [followon to r75]
	  ------------------------------------------------------------
	  revno: 79 message:   quell a discarded-const compiler warning
	  ------------------------------------------------------------
	  revno: 76 message:   only allow ldaps:// url schemes if we have
	  ldap_initialize()
	  ------------------------------------------------------------
	  revno: 75 message:   remove the LDAPUseSSL directive, as it
	  wasn't having the intended effect   (enable LDAP over SSL, aka
	  LDAPS). LDAP_OPT_X_TLS_HARD is for having the   connection fail
	  hard on TLS errors. afaict, the only way to specify LDAPS
	  connections is by passing a URL with the ldaps:// scheme to
	  ldap_initialize().
	  ------------------------------------------------------------
	  revno: 74 message:   better debug message when no entries are
	  found for a search
	  ------------------------------------------------------------
	  revno: 73 message:   dunno what i was thinking with the last
	  round of filter interpolation   changes, but it was completely
	  wrong. use proftpd's sreplace() instead of   doing the string
	  manipulation ourselves, and check
	  pr_ldap_interpolate_filter()'s return value for NULL.
	  ------------------------------------------------------------
	  revno: 72   escape filter characters mentioned in RFC 2254

2010-02-01 14:14  castaglia

	* doc/contrib/mod_sql.html:
	  In the SQLShowInfo description, mention which section in RFC959
	  defines the list of acceptable response codes for each FTP
	  command.

2010-02-01 14:09  castaglia

	* RELEASE_NOTES:
	  Update the release notes; it's almost time for release.

2010-02-01 11:30  castaglia

	* doc/contrib/mod_sql_passwd.html:
	  Updating mod_sql_passwd docs with description of new
	  SQLPasswordUserSalt directive.

2010-02-01 11:20  castaglia

	* NEWS, contrib/mod_sql_passwd.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_passwd.pm:
	  Bug#3380 - Support user-specific salts in encoded passwords.

2010-02-01 10:40  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#3381 - RADIUS authentication broken on 64-bit platforms.

2010-01-31 13:12  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add unit test for downloading an empty file over FTPS, to go with
	  the just-added test for uploading an empty file over FTPS.

2010-01-31 13:06  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add unit test for uploading an empty file via FTPS.  Saw a bug
	  report for an FTPS client for such an issue; the reporter wasn't
	  sure whether it was a client or a server issue.  This test shows
	  that it isn't an issue with mod_tls.

2010-01-31 12:34  castaglia

	* contrib/: mod_sftp/crypto.c, mod_tls.c:
	  Be paranoid and meticulous, and clean up the state of the OpenSSL
	  RNG when we're the daemon process and we're shutting down.

2010-01-29 11:00  castaglia

	* NEWS, modules/mod_log.c,
	  tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm:
	  Bug#3383 - ExtendedLog variables for protocol and version not
	  handled properly.

2010-01-29 10:56  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Add a function for getting the version of the current proftpd
	  (using `proftpd -V').

2010-01-26 15:59  castaglia

	* src/support.c:
	  Add a counter for signal blocking/unblocking, to handle nested
	  calls.  Also added trace logging for signal blocking/unblocking.

2010-01-26 11:50  castaglia

	* src/timers.c:
	  Use proper pluralization in the timer trace messages.

2010-01-26 08:51  castaglia

	* contrib/mod_sql.c:
	  Remove a lot of code duplication in mod_sql's handling of SQLLog
	  directives by refactoring all of that code into a single new
	  process_sqllog() function.

2010-01-26 08:41  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Add unit test for a "SQLLog EXIT" configuration.

2010-01-23 13:43  castaglia

	* configure:
	  Update configure.

2010-01-23 13:39  castaglia

	* configure.in, src/main.c:
	  Define a PR_DEVEL_PROFILE macro if the --enable-devel=profile
	  configure option is used.  This macro is needed to tell proftpd
	  whether it should use _exit(2) or exit(2) when exiting a session
	  process.  The gmon.out profile data file is only written when
	  exit(2) is used; proftpd by default wants to use _exit(2).

2010-01-23 11:29  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  Make sure that mod_wrap2 honors suffix patterns, as per
	  hosts_access(5), in the table entries as well.

2010-01-23 10:42  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_wrap2_file.pm:
	  Adding more regression tests for mod_wrap2/mod_wrap2_file.

2010-01-23 10:42  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  Fix bug where mod_wrap2 would attempt to resolve a table entry
	  like "127.0." as a DNS name.	According to the hosts_access(5)
	  man page, an entry which ends in a '.' should be treated as an IP
	  address prefix, and matched as such.

2010-01-23 10:31  castaglia

	* src/netaddr.c:
	  When resolving names to addresses via getaddrinfo(3), give
	  getaddrinfo() the hint that we're only interested in TCP, not
	  UDP.

2010-01-22 14:16  castaglia

	* src/netaddr.c:
	  Make sure that the errno value is preserved in failure cases in
	  pr_netaddr_get_addr().

2010-01-21 09:37  castaglia

	* doc/howto/Upgrade.html:
	  Update the Upgrade howto to use -d10 rather than -d9; more
	  information is better when testing a version for upgrading.

2010-01-20 10:11  castaglia

	* contrib/mod_ban.c:
	  Removed some unnecessary logging.

2010-01-19 10:59  castaglia

	* NEWS, contrib/mod_wrap2/mod_wrap2.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_wrap2_sql.pm:
	  Bug#3377 - mod_wrap2 attempts to resolve 'ALL' keyword as an IP
	  address.

2010-01-19 08:52  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3375 - Minor SIGHUP-based memory leak in mod_tls.

2010-01-19 08:43  castaglia

	* doc/contrib/mod_sftp_sql.html:
	  The mod_sftp_sql module should now be much easier to use; getting
	  your SSH keys into the SQL tables no longer requires the Perl
	  script for extracting just the base64 key data (although the
	  module still supports that, too).

2010-01-19 08:37  castaglia

	* NEWS, contrib/mod_sftp_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp_sql.pm:
	  Bug#3376 - Handle the full RFC4716 formatted keys in SQL values.

2010-01-18 16:03  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_sftp_sql.pm,
	  t/modules/mod_sftp_sql.t:
	  Add unit tests for mod_sftp_sql.

2010-01-16 18:49  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_wrap2_sql.pm:
	  Fix the mod_wrap2_sql unit tests so that the SQLNamedQuery
	  directives are resolved as expected.	Also increase the default
	  TimeoutIdle, to handle running the testsuite on a machine which
	  may take a little longer to resolve DNS names.

2010-01-16 17:38  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/: mod_wrap2_file.pm,
	  mod_wrap2_sql.pm:
	  Adding unit tests for the mod_wrap2 modules which show that both
	  the file- and sql-based modules can handle multiple rows, each
	  with multiple entries, and with entries that are separated by
	  commas, commas and whitespace, or just whitespace.

2010-01-15 14:08  castaglia

	* NEWS, contrib/mod_radius.c:
	  Backported fix for Bug#3372 to the 1.3.2 branch.

2010-01-15 14:05  castaglia

	* contrib/mod_radius.c:
	  Update the copyright dates in mod_radius.c, since the code has
	  changed.

2010-01-15 14:05  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#3372 - ProFTPD crashes when retrying a failed login with
	  mod_radius being used.

2010-01-11 07:57  castaglia

	* doc/contrib/mod_sftp_sql.html:
	  Use HTML entity encoding for angle brackets; more browsers like
	  this.

2010-01-10 17:16  castaglia

	* src/scoreboard.c:
	  Minor optimization to the fix for Bug#3370: when scrubbing the
	  ScoreboardFile, call getpgrp() to get the current process group
	  only once, rather than potentially once per entry.  The current
	  process group does not change during the lifetime of the scrub.

2010-01-10 13:50  castaglia

	* src/scoreboard.c:
	  Whitespace/coding style change, no functional change.  Update the
	  copyright date.

2010-01-10 13:49  castaglia

	* src/scoreboard.c:
	  Whitespace/style change, no functional change.

2010-01-10 13:10  castaglia

	* configure:
	  Updated configure.

2010-01-10 13:05  castaglia

	* NEWS, config.h.in, configure.in, contrib/mod_ban.c,
	  contrib/mod_ctrls_admin.c, include/scoreboard.h,
	  src/scoreboard.c:
	  Backported fix for Bug#3370 to 1.3.2 branch.

2010-01-10 12:08  castaglia

	* src/scoreboard.c:
	  Use a variable name of 'curr_pgrp', as it is more accurate; we
	  are checking that the process group of the scoreboard entry
	  matches our own process group, not the process group of the
	  daemon.  While these should all be the same process group, the
	  value returned by getpgrp(2) is not the parent process group, but
	  the current process group.  All part of Bug#3370.

2010-01-10 12:06  castaglia

	* configure:
	  Updated configure.

2010-01-10 12:01  castaglia

	* NEWS, config.h.in, configure.in, contrib/mod_ban.c,
	  contrib/mod_ctrls_admin.c, include/scoreboard.h,
	  src/scoreboard.c:
	  Bug#3370 - Lack of PID protection in ScoreboardFile.

2010-01-08 10:53  castaglia

	* contrib/mod_ban.c:
	  Changed my mind; having the SID reported in the BanLog isn't
	  helpful without knowing which SID maps to which vhost -- and
	  that's more information than can easily fit in a small BanLog log
	  message.

2010-01-08 10:20  castaglia

	* modules/mod_delay.c:
	  Fix a small bug in mod_delay where the POST_CMD_ERR handler for
	  the PASS command was closing the DelayTable.	This meant that any
	  future USER/PASS commands sent by the client (say, if the
	  password was entered wrong) would not be tracked in the
	  DelayTable.  The same handler is used for both the POST_CMD and
	  POST_CMD_ERR phases of the PASS command; the handler simply
	  needed to close the DelayTable only for the POST_CMD phase.

2010-01-08 10:03  castaglia

	* contrib/mod_ban.c:
	  Report the server ID for a ban entry in the BanLog; it helps
	  differentiate what would otherwise look like duplicates.

2010-01-07 14:45  castaglia

	* src/dirtree.c:
	  Backport the fix for the "find_config() can return wrong
	  config_rec" bug from trunk.

2010-01-07 11:59  castaglia

	* contrib/mod_tls.c:
	  When reading in key files, make sure that the fd used is not one
	  of the big three (stdin, stdout, stderr).  Under some conditions,
	  the fopen(3) call that was used would return an fd of 2, which
	  would then be overwritten by the fd games played by
	  set_prompt_fds().  OpenSSL, though, used the FILE * returned by
	  fopen(), which still had the old fd -- and the loading of the key
	  would fail "mysteriously", giving an error like "unable to read
	  passphrase: (unknown)".

2010-01-07 11:22  castaglia

	* src/dirtree.c:
	  Fix a rather subtle and nasty bug in proftpd's config directive
	  lookup code.	The short version of the bug is that find_config()
	  could possibly return the wrong config_rec.  The cause is related
	  to Bug#2535, and the assigning and lookup of the config IDs.
	  When looking up an ID, the string used was not dup'd from the
	  input, which means that the lookup key could change unexpectedly.

	  The rest of this change simply alters the coding style to make
	  future debugging in that section of code easier.

2010-01-06 15:30  castaglia

	* doc/contrib/mod_ctrls_admin.html:
	  Add example of using new 'ftpdctl restart count' functionality.

2010-01-06 15:24  castaglia

	* contrib/mod_ctrls_admin.c:
	  Use 'ftpdctl restart count' now to ask the server, via ftpdctl,
	  how many times it has been restarted (via SIGHUP) since the
	  server was started.

2010-01-06 15:05  castaglia

	* contrib/mod_sql.c:
	  Clean up the coding style around handling SQLLog and SQLShowInfo
	  directives; hopefully no functional changes.	Also explicitly
	  initialized some pointers which are used for pointer arithmetic,
	  just to be safe.

2010-01-05 16:41  castaglia

	* doc/contrib/mod_sftp.html:
	  Add SFTP FAQ about <Limit SITE_CHMOD> and SFTP uploads.

2010-01-05 15:17  castaglia

	* NEWS, modules/mod_auth.c,
	  tests/t/lib/ProFTPD/Tests/Config/MaxLoginAttempts.pm:
	  Bug#3362 - Regression in handling of MaxLoginAttempts in
	  1.3.3rc1.

2010-01-04 10:16  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  Fix broken checks added yesterday.  Also quell compiler warnings
	  about unreachable code.

2010-01-04 09:58  castaglia

	* doc/howto/Authentication.html:
	  Updated Authentication howto, removing mention of deprecated
	  AuthPAMAuthoritative directive and updating URLs to point to the
	  www.proftpd.org docs.

2010-01-03 13:08  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  Cleanup of some of the coding style in mod_wrap2 to be more
	  legible.

2010-01-03 13:05  castaglia

	* contrib/mod_wrap2_file.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_wrap2_file.pm:
	  Fix bug in mod_wrap2_file where the module was not correctly
	  parsing the "options" portion of a table.  This was leading to
	  allowing of connections which should have been denied.

2009-12-28 12:32  castaglia

	* doc/contrib/mod_tls.html:
	  Add cert chain caveat that using the NoCertRequest means that
	  mod_tls won't bother to use the cert chain file.

2009-12-28 12:12  castaglia

	* doc/howto/TLS.html:
	  Fix typos.

2009-12-23 15:46  castaglia

	* doc/contrib/mod_wrap.html:
	  The libnsl library isn't needed for mod_wrap on Mac OSX, either.

2009-12-19 17:19  castaglia

	* src/fsio.c:
	  Rather than testing for CYGWIN to use the O_BINARY flag, just
	  test for the O_BINARY flag directly.

2009-12-18 09:40  castaglia

	* contrib/mod_tls_shmcache.c:
	  Fix compiler warning.

	  Rename the 'core.exit' event listener to be more accurate (it's a
	  shutdown listener in some cases, not a session-exit listener).

2009-12-18 09:36  castaglia

	* NEWS, contrib/mod_tls_shmcache.c:
	  Bug#3359 - mod_tls_shmcache segfaults during syntax check.

2009-12-15 15:24  castaglia

	* Makefile.in, NEWS:
	  Bug#3356 - Build timestamp using date(1) can fail depending on
	  environment.

2009-12-15 14:31  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3357 - mod_sftp fails to compile on AIX.

2009-12-15 10:56  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3358 - mod_tls doesn't compile with pre-0.9.7 openssl.

2009-12-14 22:22  castaglia

	* modules/mod_xfer.c:
	  Typo.

2009-12-14 17:13  castaglia

	* contrib/mod_shaper.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_shaper.pm:
	  Fix a problem in mod_shaper, noted in this forums post:

	    http://forums.proftpd.org/smf/index.php/topic,1628.0.html

	  where the queue used by mod_shaper could become "clogged", full
	  of old stale messages.  The fix, as noted as well, is to clear
	  the queue of any messages for the destination process before
	  sending a new message to that process.

	  Added a regression test to reproduce the behavior; it required a
	  manual change to the mod_shaper code in order to fill up the
	  queue in the time of the test.  Good enough for now.

2009-12-14 16:37  castaglia

	* contrib/mod_shaper.c:
	  Fix compiler warnings about unreachable code, and rename an event
	  listener to be more appropriately named.

2009-12-14 13:29  castaglia

	* doc/contrib/mod_wrap.html:
	  Adding more examples of paranoid libwrap log messages.

2009-12-14 12:48  castaglia

	* doc/howto/TLS.html:
	  Another SSL/TLS FAQ.

2009-12-14 10:53  castaglia

	* contrib/mod_tls.c:
	  Log a warning if mod_tls has been configured with no server certs
	  (via TLSRSACertificateFile, TLSDSACertificateFile, or
	  TLSPKCS12File) for a given session.  Without a server cert,
	  mod_tls cannot support SSL/TLS sessions.

2009-12-14 10:39  castaglia

	* contrib/mod_tls.c:
	  Clear up compiler warnings about unreachable code in mod_tls.  No
	  functional change.

2009-12-14 09:37  castaglia

	* doc/howto/Stopping.html:
	  Fixing up the Stopping howto, and adding an example Mac OSX
	  launchd plist config.

2009-12-13 12:17  castaglia

	* utils/ftptop.c:
	  Quell compiler warnings about unreachable code.

2009-12-13 11:31  castaglia

	* contrib/mod_tls.c:
	  Drat.  Forgot one of the SSL/TLS renegotiation backport changes
	  from trunk.  Without this, data transfers might be improperly
	  detected as renegotiations and denied.

2009-12-11 16:47  castaglia

	* contrib/mod_sftp/auth.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Subtle tweaks to mod_sftp's handling and enforcement of the
	  MaxLoginAttempts directive; it should now work more as users
	  would expect.

	  Added a unit test to catch regressions on this, as well as a unit
	  test showing the mod_sftp's handling of MaxLoginAttempts, in
	  combination with a mod_ban rule for MaxLoginAttempts, works
	  properly.

2009-12-11 15:09  castaglia

	* src/table.c:
	  Clean up some "code will never be executed" warnings.

2009-12-11 15:03  castaglia

	* NEWS, contrib/mod_ban.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_ban.pm:
	  Bug#3355 - mod_ban should support BanEngine in <VirtualHost>
	  config sections.

2009-12-10 20:44  castaglia

	* doc/howto/: Versioning.html, index.html:
	  Finally got around to writing up the version naming conventions
	  that are currently used for ProFTPD releases.

2009-12-10 19:16  castaglia

	* contrib/mod_tls.c:
	  Be a little more verbose in the error messages logged for
	  SSL_accept() failures.

2009-12-10 17:06  castaglia

	* doc/modules/mod_lang.html:
	  Typo.

2009-12-10 15:06  castaglia

	* include/version.h:
	  Update the CVS version.

2009-12-10 14:49  castaglia

	* doc/contrib/mod_sql.html:
	  Typo.

2009-12-10 12:04  castaglia

	* ChangeLog:
	  Update the ChangeLog.

2009-12-10 12:03  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing to release 1.3.3rc3 today.

2009-12-10 10:34  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2009-12-10 10:33  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing to release 1.3.2c today.

2009-12-10 10:24  castaglia

	* NEWS, contrib/mod_sftp/auth.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3352 - mod_sftp does not reject/close connections that have
	  been rejected by mod_wrap.

2009-12-10 09:59  castaglia

	* contrib/mod_wrap.c:
	  Specify the module version data in the module structure for
	  mod_wrap.

2009-12-10 09:45  castaglia

	* NEWS, modules/mod_auth.c, modules/mod_auth_file.c:
	  Backported fixes for Bug#3347 and Bug#3351.

2009-12-10 09:45  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#3351 - Nonchrooted logins on HPUX do not get proper UID/GID.

2009-12-10 09:40  castaglia

	* NEWS, modules/mod_auth_file.c, tests/tests.pl,
	  tests/t/config/authgroupfile.t,
	  tests/t/lib/ProFTPD/Tests/Config/AuthGroupFile.pm:
	  Bug#3347 - mod_auth_file handles 'getgroups' request incorrectly.

2009-12-10 08:26  castaglia

	* src/: support.c:
	  Updated fix for Bug#3350.

2009-12-10 07:52  castaglia

	* NEWS, src/support.c:
	  Bug#3350 - Segfault caused by scrubbing zero-length portion of
	  memory.

2009-12-09 15:45  castaglia

	* src/expr.c:
	  Fix the logic for iterating over the session.groups list, and
	  handling NULL names, in the pr_expr_eval_group_or() function as
	  well.

2009-12-09 15:44  castaglia

	* src/expr.c:
	  Fix the logic for iterating over session.groups, and handling
	  NULL names, in the pr_expr_eval_group_or() function as well.

2009-12-09 15:41  castaglia

	* src/expr.c, tests/api/expr.c:
	  Fix segfault uncovered by Michael, where the
	  pr_expr_eval_group_and() function would not handling NULL names
	  in the session.groups list.  This also makes the code which
	  iterates over the session.groups list look much saner.

2009-12-09 15:40  castaglia

	* src/expr.c, tests/api/expr.c:
	  Fix a segfault uncovered by Michael, where the
	  pr_expr_eval_group_and() function didn't handle a NULL group name
	  in the middle of the session.groups list.

2009-12-09 13:39  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3349 - SSL_SESSION_cmp not available in OpenSSL 1.0.0 betas.

2009-12-09 11:55  castaglia

	* contrib/mod_tls.c:
	  Backport of a mod_tls fix to handle checking of "is this a
	  renegotiation" only for control connections, not data
	  connections.

2009-12-09 11:52  castaglia

	* contrib/mod_tls.c:
	  Found another place where we want to do the "is this a
	  renegotiation" check only for control connections, not for data
	  connections.

	  Also quell a compiler warning using a typecast;
	  OpenSSL-1.0.0-betaN uses more const'd types than previously.

2009-12-09 11:49  castaglia

	* contrib/mod_tls.c:
	  Make sure that mod_tls can compile against OpenSSL-1.0.0-betaN,
	  which does not have the UNSAFE_LEGACY_RENEGOTIATION flag (it uses
	  something different).

2009-12-09 09:25  castaglia

	* contrib/mod_tls.c:
	  Make sure that mod_tls can be compiled using OpenSSL-1.0.0-betaN;
	  the UNSAFE_LEGACY_RENEGOTIATONS flag was changed after
	  OpenSSL-0.9.8l.

2009-12-08 16:51  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit test using a combined mod_sftp+mod_wrap2 configuration,
	  for use in preventing regressions in the interactions between
	  these modules.

2009-12-07 16:24  castaglia

	* doc/contrib/mod_ban.html:
	  Add a FAQ about creating whitelists for mod_ban.

2009-12-07 15:24  castaglia

	* modules/mod_xfer.c:
	  Additional change necessary for fixing Bug#3345.  Use of trace
	  logging (or not) affects the errno value, and we need to make
	  sure that the original errno value is preserved.

2009-12-07 15:02  castaglia

	* tests/t/lib/ProFTPD/Tests/: Commands/ALLO.pm, Commands/APPE.pm,
	  Commands/CDUP.pm, Commands/EPRT.pm, Commands/EPSV.pm,
	  Commands/MDTM.pm, Commands/MODE.pm, Commands/NOOP.pm,
	  Commands/PASS.pm, Commands/PASV.pm, Commands/PWD.pm,
	  Commands/QUIT.pm, Commands/RNFR.pm, Commands/RNTO.pm,
	  Commands/SIZE.pm, Commands/STOU.pm, Commands/STRU.pm,
	  Config/DeleteAbortedStores.pm, Config/FTPAccess/DELE.pm,
	  Commands/SYST.pm, Commands/TYPE.pm, Commands/USER.pm:
	  Updating more testsuite tests to use the consistent `tests.log'
	  log file.

2009-12-07 14:33  castaglia

	* tests/t/lib/ProFTPD/Tests/: Config/AllowOverwrite.pm,
	  Config/GroupOwner.pm, Config/MaxInstances.pm,
	  Config/MaxRetrieveFileSize.pm, Config/MaxStoreFileSize.pm,
	  Config/Order.pm, Config/RequireValidShell.pm,
	  Config/StoreUniquePrefix.pm, Config/TimeoutNoTransfer.pm,
	  Config/TimeoutSession.pm, Config/TimeoutStalled.pm,
	  Config/UseFtpUsers.pm, Config/UserOwner.pm, Signals/ABRT.pm,
	  Signals/HUP.pm, Signals/SEGV.pm, Signals/TERM.pm:
	  Updating more of the testsuite tests to use `tests.log' as their
	  output logging file, for consistency.

2009-12-07 08:44  castaglia

	* RELEASE_NOTES:
	  Work on preparing the release notes for 1.3.3rc3.

2009-12-07 08:20  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Correct the %description sections in proftpd.spec.

2009-12-06 09:19  castaglia

	* src/auth.c:
	  When resolving '~' paths, the lookup is done via getpwnam(), not
	  by using getpwuid().	Thus there is little gain (and there is a
	  cost in terms of performance, since getpwuid() is used when
	  listing directories) in calling pr_auth_get_home() from
	  pr_auth_getpwuid().

2009-12-06 09:08  castaglia

	* NEWS, modules/mod_auth.c, src/auth.c,
	  tests/t/lib/ProFTPD/Tests/Config/RewriteHome.pm:
	  Bug#3348 - Rewriting of home directories via RewriteHome does not
	  work for chrooted sessions.

2009-12-05 15:48  castaglia

	* doc/contrib/mod_sql_passwd.html:
	  Updated the mod_sql_passwd doc to mention support of SHA256 and
	  SHA512 passwords.

2009-12-05 15:46  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql_passwd.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_passwd.pm:
	  Bug#3344 - Support SHA256, SHA512 passwords in databases.

2009-12-03 13:45  castaglia

	* utils/scoreboard.c:
	  Fix an "unreachable code" compiler warning, and clean up the code
	  stylistically.

2009-12-02 19:57  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add unit tests showing that even when using SSL/TLS, resuming
	  downloads of
	  >2GB/4GB files via REST works properly.

2009-12-02 19:30  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/REST.pm:
	  Add a test for resuming downloads of >4GB files as well.

2009-12-02 18:49  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/REST.pm:
	  Add unit test for FileZilla's REST behavior over 2GB.

	  Modify all tests to output to the 'tests.log' file.

2009-12-01 20:45  castaglia

	* modules/mod_xfer.c:
	  Typos.

2009-12-01 20:38  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_ban.pm:
	  Fix broken mod_ban+mod_ifsession test.

2009-12-01 19:59  castaglia

	* src/display.c:
	  The displaying of multiline Display files was leaving off the
	  last line in the file; now fixed.

2009-12-01 19:56  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/DELE.pm:
	  Fix the DELE unit tests to handle different strerror(3) strings.

2009-12-01 11:39  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RMD.pm:
	  Fix broken RMD test.	Rename the output log file to the
	  'tests.log' that is being used elsewhere in the testsuite.

2009-12-01 10:10  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/FTP.pm, Tests/Commands/RMD.pm,
	  Tests/Config/HideFiles.pm:
	  Make the TestSuite::FTP client default to using passive data
	  transfers, not active data transfers.  Fix up some warnings in
	  the testsuite.

2009-11-30 09:26  castaglia

	* contrib/mod_sftp/channel.c, doc/contrib/mod_sftp.html:
	  Handle multiple SFTPAcceptEnv directives if configured.

	  Add docs for the SFTPAcceptEnv directive.

2009-11-26 11:18  castaglia

	* contrib/mod_sftp/fxp.c:
	  Include EINVAL in the list of errno values we expect to see from
	  PRE_CMD handlers.

2009-11-26 10:47  castaglia

	* modules/mod_xfer.c:
	  Make sure that the PRE_CMD handlers for RETR, APPE, and STOR set
	  appropriate errno values.

	  Remove some code that would never be executed.

2009-11-26 10:38  castaglia

	* NEWS, contrib/mod_sftp/fxp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3345 - mod_sftp returns EACCES rather than ENOENT for an OPEN
	  request for a nonexistent file.

2009-11-24 09:29  castaglia

	* contrib/mod_sftp/channel.c, contrib/mod_sftp/mod_sftp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Added SFTPAcceptEnv directive, for configuring which environment
	  variables can be set by the client.

2009-11-23 14:35  castaglia

	* src/dirtree.c:
	  Added note for myself for the future, about why <Directory>
	  patterns aren't matching as I had assumed they would.

2009-11-22 14:18  castaglia

	* contrib/mod_sftp/compress.c:
	  Rejigger the zlib inflate() code so that it doesn't use a switch
	  statement inside of a while loop; the 'break' statement is used
	  in both, and it can be confusing from which block you are trying
	  to escape.

	  This also fixes a warning about unreachable code, and adds a
	  preemptive guard against trying to call memcpy(2) with a zero
	  length.

2009-11-22 13:46  castaglia

	* contrib/mod_sftp/: kex.c, mod_sftp.c, packet.c:
	  Close the SFTPLog descriptor at session exit.  Initialize some
	  buffers (keeps Valgrind from whining about them).

2009-11-22 13:44  castaglia

	* modules/mod_auth.c:
	  Close the scoreboard descriptor at session exit.

2009-11-22 13:30  castaglia

	* contrib/mod_sftp/kex.c:
	  Forgot the return statement.

2009-11-22 11:46  castaglia

	* contrib/mod_sftp/: kex.c, kex.h, mod_sftp.c:
	  Fix another file descriptor leak in mod_sftp: the
	  SFTPDHParamsFile is opened for the session (and has to remain
	  open for the duration of the session, in order to be available
	  for rekeying), but is not closed.  Now it is closed at session
	  exit.

2009-11-22 11:34  castaglia

	* modules/mod_delay.c:
	  While running mod_sftp through Valgrind, I found that mod_delay
	  leaks an fd: it never closes the fd to the DelayTable, even after
	  the table has been unloaded from memory.  Fix this.

2009-11-20 20:55  castaglia

	* contrib/mod_tls.c, tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Fix up some issues found in mod_tls when running its test cases.

	  First, as per Bug#3325, make the TLSRequired/AllowPerUser check a
	  little smarter, so that the published AllowPerUser example in the
	  TLS howto works properly, but the check still retains its
	  validity.

	  When checking for client-initiated renegotiations, make sure we
	  don't punish the client for *new* sessions for *data*
	  connections.

	  Make sure that "TLSRequired auth" is enforced properly if the
	  client is NOT using SSL/TLS.

	  Include MLSD in the list of commands which can trigger data
	  transfers, and thus fall under the "TLSRequired data" checks.

2009-11-20 06:40  jwm

	* contrib/mod_ldap.c: release 2.8.21, with backports from bzr
	  trunk:

	  CHANGES: * Implement an internal failover mechanism instead of
	  relying on the LDAP	SDK's built-in failover (if any). Fixes
	  failover regression introduced   in v2.8.19 when
	  ldap_initialize() was first used.  * Multiple LDAP URL arguments
	  may now be passed to LDAPServer:

	    LDAPServer ldap://127.0.0.1/??sub ldap://172.16.0.1/??sub
	  * When setting whether to dereference LDAP aliases after
	  connecting to   the LDAP server, treat failure as a hard failure
	  and refuse to continue   with that LDAP server. Previously,
	  failure when specifying whether to   dereference aliases would be
	  logged but the connection to that server   would continue.

	  bzr r71:   - only log that we've successfully unbound if we've
	  successfully unbound	 - pr_ldap_connect() should always unbind
	  on failure   - treat dereference option set failure in
	  pr_ldap_connect() as a   - connection     failure; don't warn and
	  keep plowing on

	  bzr r77, r78:   Bug 3301 -  LDAP server failover does not work
	  when ldap_initialize() is   available

	    fix LDAP server failover by implementing our own failover
	  mechanism instead
	    of relying on the LDAP SDK's.

	    ldap server failover (space-separated list of hostnames in the
	  argument to
	    LDAPServer) has been broken since 2.8.19 when ldap_init() was
	  replaced with
	    ldap_initialize(), if available. as of that commit, a LDAP URL
	  is
	    constructed if simple hostname(s) are passed to LDAPServer, so:

	      'LDAPServer "127.0.0.1 172.16.0.5"

	    was passed to ldap_initailize() as:

	      ldap://127.0.0.1 172.16.0.5/

	    Unfortunately, ldap_url_parse() treats this as a valid URL, but
	    ldap_intiailize() will not fail over to subsequent LDAP servers
	    should the first be unreachable.

	    ldap_initialize() *will* take a whitespace-separated list of
	  LDAP URLs and
	    will fail over successfully, just not when whitespace-separated
	  hostname
	    are passed to a *single* url (even if the whitespace in the
	  hostname
	    portion of the URL is urlencoded as %20).

	    forget all of this SDK-based failover and implement our own
	  failover support,
	    since afaict Sun's ancient LDAP SDK doesn't implement failover
	  and it's nice
	    to be able to control it ourselves.

	    for that matter, we *need* to control it ourselves since we
	  need to use the
	    search scope indicated by the URL at hand. chances are, the
	  search scope
	    will be the same for all URLs passed to LDAPServer, but to be
	  completely
	    correct, we should use the scope corresponding to the current
	  URL and
	    ldap_initialize() provides no way to tell what URL it wound up
	  connecting
	    to.

2009-11-19 21:10  castaglia

	* modules/mod_ls.c, tests/t/lib/ProFTPD/Tests/Commands/LIST.pm:
	  Revisit the fix put in place for Bug#2367.  First, add the test
	  case to the LIST testsuite, for regressions.	Then look at a
	  different fix, a simpler one: remove the GLOB_PERIOD flag from
	  the flags used when globbing.  This causes the test case to pass.

	  This is done in order to make possible another case: list a
	  directory whose name legitimately contains a glob character ('['
	  in the case of one of the users in the online forums).  The
	  previous fix for Bug#2367 prevented the proper listing of such a
	  directory.  The newer, simpler fix handles this legitimate
	  directory name properly, while still preserving behavior which
	  matches that of the shell.

2009-11-19 20:53  castaglia

	* modules/mod_ls.c:
	  Fix up some of the code style in mod_ls.

	  Add handling of signals in the while() loops which iterate over
	  globbed paths.

	  Removed the '{' character from the glob character checks; it is
	  not a glob(3) character.

2009-11-19 15:09  castaglia

	* doc/contrib/mod_sftp.html:
	  Try to make the requirement of using ssh-keygen to convert public
	  keys to RFC4716 format clearer.

2009-11-19 10:55  castaglia

	* NEWS, src/bindings.c:
	  Bug#3306 - ECONNREFUSED while handling SIGHUP.

2009-11-18 21:29  castaglia

	* lib/libltdl/.cvsignore:
	  More auto-generated files to ignore.

2009-11-18 19:04  castaglia

	* configure:
	  Updated configure.

2009-11-18 18:58  castaglia

	* configure.in:
	  Handle empty CONFIG_SHELL values.

2009-11-18 18:47  castaglia

	* configure:
	  Updated configure.

2009-11-18 18:45  castaglia

	* configure.in:
	  Although it looks like LTDL_INIT(convenience) and
	  LTDL_CONVENIENCE are the same, they are not.	So we need to use
	  both.

2009-11-18 18:18  castaglia

	* Makefile.in:
	  Comment out the target that might cause the machine to re-run
	  autoconf.

2009-11-18 17:47  castaglia

	* configure:
	  Updated configure.

2009-11-18 17:40  castaglia

	* configure.in:
	  More libtool-2.2.4 tweaking fun.

2009-11-18 17:33  castaglia

	* configure:
	  Updated configure.

2009-11-18 17:30  castaglia

	* lib/libltdl/m4/ltdl.m4:
	  In order to avoid the very, very annoying error of:

	    configure: error: conditional "INSTALL_LTDL" was never defined.
	    Usually this means that the macro was only invoked
	  conditionally.

	  I am manually removing the whole m4 support of _LT_ENABLE_INSTALL
	  in the bundled libltdl.  ProFTPD is never going to make/provide
	  an installable libltdl library.

2009-11-18 13:51  castaglia

	* configure:
	  Updated configure.

2009-11-18 13:48  castaglia

	* Make.rules.in, configure.in:
	  More libtool-2.2.4 tweaks, with help from Bob Friesenhahn.

2009-11-18 13:46  castaglia

	* aclocal.m4:
	  Re-create our aclocal.m4 using the aclocal tool.

2009-11-18 09:48  castaglia

	* configure:
	  Updated configure.

2009-11-18 09:45  castaglia

	* configure.in, modules/Makefile.in:
	  Export the LTDLINCL variable from the configure script, so that
	  we are no longer hardcoding the path to the directory containing
	  the ltdl.h header.

2009-11-18 09:39  castaglia

	* Makefile.in, configure.in:
	  More wrestling with libtool-2.2.4.  I am *really* not liking this
	  2.2.x release series.

2009-11-17 23:01  castaglia

	* contrib/mod_sftp/fxp.c:
	  Quelling compiler warnings.

2009-11-17 22:38  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#3342 - FEAT response contains LF without preceding CR.

2009-11-17 20:08  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Config/Limit/RMD.pm,
	  t/config/limit/rmd.t:
	  Add regression test demonstrating how to make an undeletable
	  directory using the <Limit> + Filter approach.

2009-11-17 16:52  castaglia

	* doc/contrib/mod_sftp.html:
	  Update mod_sftp doc so that it's hopefully less confusing.

2009-11-17 14:55  castaglia

	* NEWS, contrib/mod_wrap2/mod_wrap2.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_wrap2_sql.pm:
	  Bug#3341 - mod_wrap2 segfaults when a valid user retries the USER
	  command.

2009-11-17 11:28  castaglia

	* NEWS:
	  Bug#3331 - Update bundled libtool to 2.2.4.

2009-11-17 11:27  castaglia

	* configure:
	  Updated configure.

2009-11-17 11:20  castaglia

	* Makefile.in, configure.in, modules/Makefile.in:
	  More tweaks to the build files to make sure that mod_dso builds
	  properly with the new version of libltdl/libtool.

2009-11-17 11:19  castaglia

	* lib/libltdl/.cvsignore:
	  One more libtool file to ignore.

2009-11-17 11:18  castaglia

	* lib/libltdl/.cvsignore:
	  More files to ignore with this new version of libtool.

2009-11-17 10:46  castaglia

	* lib/libltdl/ltdl.c:
	  Backport the patch for the bugs found in libtool-2.2.6 to this
	  2.2.4 version.

2009-11-17 10:44  castaglia

	* lib/libltdl/: Makefile.in, acinclude.m4, argz.c, config.guess,
	  config.sub, install-sh, ltmain.sh, missing:
	  Bug#3331 - Update bundled libtool to 2.2.4.

2009-11-17 10:33  castaglia

	* configure:
	  Updated configure.

2009-11-17 10:25  castaglia

	* lib/libltdl/Makefile.am, lib/libltdl/Makefile.in,
	  lib/libltdl/README, lib/libltdl/aclocal.m4, lib/libltdl/argz_.h,
	  lib/libltdl/config-h.in, lib/libltdl/configure,
	  lib/libltdl/configure.ac, lib/libltdl/lt__alloc.c,
	  lib/libltdl/lt__dirent.c, lib/libltdl/lt__strl.c,
	  lib/libltdl/lt_dlloader.c, lib/libltdl/lt_error.c,
	  lib/libltdl/ltdl.c, lib/libltdl/ltdl.h, lib/libltdl/slist.c,
	  lib/libltdl/config/compile, lib/libltdl/config/config.guess,
	  lib/libltdl/config/config.sub, lib/libltdl/config/depcomp,
	  lib/libltdl/config/install-sh, lib/libltdl/config/ltmain.sh,
	  lib/libltdl/config/missing, lib/libltdl/libltdl/lt__alloc.h,
	  lib/libltdl/libltdl/lt__dirent.h,
	  lib/libltdl/libltdl/lt__glibc.h,
	  lib/libltdl/libltdl/lt__private.h,
	  lib/libltdl/libltdl/lt__strl.h,
	  lib/libltdl/libltdl/lt_dlloader.h,
	  lib/libltdl/libltdl/lt_error.h, lib/libltdl/libltdl/lt_system.h,
	  lib/libltdl/libltdl/slist.h, lib/libltdl/loaders/dld_link.c,
	  lib/libltdl/loaders/dlopen.c, lib/libltdl/loaders/dyld.c,
	  lib/libltdl/loaders/load_add_on.c,
	  lib/libltdl/loaders/loadlibrary.c, lib/libltdl/loaders/preopen.c,
	  lib/libltdl/loaders/shl_load.c, lib/libltdl/m4/argz.m4,
	  lib/libltdl/m4/libtool.m4, lib/libltdl/m4/ltdl.m4,
	  lib/libltdl/m4/ltoptions.m4, lib/libltdl/m4/ltsugar.m4,
	  lib/libltdl/m4/ltversion.m4, lib/libltdl/m4/lt~obsolete.m4,
	  aclocal.m4, ltmain.sh, configure.in, modules/mod_dso.c:
	  Bug#3331 - Update bundled libtool to 2.2.4.

2009-11-17 10:12  castaglia

	* config.guess, config.sub:
	  Updating the config.guess and config.sub helper scripts.

2009-11-17 10:01  castaglia

	* install-sh:
	  Updated the install-sh script.

2009-11-17 09:36  castaglia

	* doc/howto/Timestamps.html:
	  Mention MFMT in the Timestamps howto.

2009-11-16 20:38  castaglia

	* doc/contrib/mod_sftp.html:
	  Add the SFTP Extensions Draft to the list.

2009-11-15 22:12  castaglia

	* contrib/mod_sftp/channel.c:
	  Locking down more environment variables from SSH2 client
	  tweaking.

2009-11-15 21:48  castaglia

	* contrib/mod_sftp/channel.c:
	  Add more barred environment variables to the list.

2009-11-15 21:41  castaglia

	* contrib/mod_sftp/channel.c:
	  Don't allow SSH2 clients to change the TZ environment variable,
	  either.

2009-11-15 21:40  castaglia

	* contrib/mod_sftp/channel.c:
	  Add a few more environment variables that SSH2 clients are barred
	  from sending/overriding in their session.

2009-11-15 21:16  castaglia

	* contrib/mod_sftp/fxp.c:
	  Adding some notes for my future self.

2009-11-15 21:14  castaglia

	* contrib/mod_sftp/fxp.c:
	  Make sure to advertise that the client can use the 'vendor-id'
	  extension in the supported2 extension to the VERSION response.

2009-11-15 19:56  castaglia

	* src/dirtree.c:
	  Simpler fix for Bug#3337.

2009-11-15 12:18  castaglia

	* contrib/mod_sftp/fxp.c:
	  If the client sends the 'check-file' extension, do not disconnect
	  the session if the requested checksum algorithm is not supported;
	  simply send the failure STATUS message back.

2009-11-15 12:13  castaglia

	* contrib/mod_sftp/scp.c:
	  Include the sticky bit when sending/receiving files/directories.

2009-11-14 16:27  castaglia

	* NEWS, src/dirtree.c:
	  Bug#3337 - <Directory> sections with a trailing directory name of
	  one character have <Limit> problems.	This is a regression caused
	  by Bug#3146.

2009-11-14 16:23  castaglia

	* NEWS, src/dirtree.c,
	  tests/t/lib/ProFTPD/Tests/Config/Directory/Limits.pm:
	  Bug#3337 - <Directory> sections with a trailing directory name of
	  one character have <Limit> problems.	This is a regression caused
	  by Bug#3146.

2009-11-14 15:29  castaglia

	* contrib/mod_sftp/fxp.c:
	  Check for READ/WRITE <Limit> sections pertaining to files being
	  read/written for the 'check-file' and 'copy-file' SFTP
	  extensions.

2009-11-14 14:57  castaglia

	* contrib/mod_sftp/fxp.c:
	  Slightly nicer way of dealing with using O_NONBLOCK for open(3)
	  when handling OPEN requests.	This way, we don't have to clear
	  the O_NONBLOCK flag later.

2009-11-14 12:40  castaglia

	* configure:
	  Updated configure script.

2009-11-14 12:37  castaglia

	* configure.in:
	  Add use of the -Wunreachable-code compiler flag, where supported,
	  when --enable-devel is used.

	  Make the use of the AC_DEFINE macro more consistent by providing
	  the optional message in more places.

2009-11-14 12:13  castaglia

	* m4/proftpd.m4:
	  Try to make the use of the AC_DEFINE macro more consistent with
	  other occurrences by supplying a message.

2009-11-14 11:15  castaglia

	* contrib/mod_sftp/fxp.c:
	  Fix regression where SFTP downloads were not being logged via
	  TransferLog; caused by the addition of the O_NONBLOCK to the
	  fh_flags per Bug#3314.  Reported by Bernd Lommerzheim.

2009-11-14 10:23  castaglia

	* modules/mod_core.c:
	  Add trace logging of the pr_netacl_t objects created via other
	  config directives.

2009-11-13 17:16  castaglia

	* m4/proftpd.m4:
	  Separate out the proftpd-specific autoconf macros from aclocal.m4
	  into this file.  Makes it easier to recreate a new aclocal.m4
	  file, containing macros from many different sources.

2009-11-13 10:59  castaglia

	* doc/contrib/mod_sql.html:
	  Fix typo in mod_sql docs.

	  Add description of the interaction between the
	  useNormalizedGroupSchema SQLOption and custom SQLGroupInfo
	  queries.

2009-11-13 10:29  castaglia

	* contrib/mod_sql_mysql.c:
	  Typo.

2009-11-13 10:26  castaglia

	* NEWS, contrib/mod_sql_mysql.c:
	  Bug#3333 - mod_sql_mysql should support calling stored procedures
	  better.

2009-11-13 09:19  castaglia

	* NEWS, contrib/mod_wrap.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_wrap.pm:
	  Bug#3332 - Segfault in mod_wrap when TCPAccessFiles do not exist
	  and client sends USER for account which does not exist.

2009-11-13 07:56  castaglia

	* contrib/mod_sftp/fxp.c:
	  Use defined constants rather than "magic" numbers.  Log any
	  client-sent vendor information in the SFTPLog, rather than the
	  TraceLog.

2009-11-12 23:34  castaglia

	* contrib/mod_sftp/fxp.c:
	  Make sure that we only send defined flag values in the
	  statvfs@openssh.com extension response.

2009-11-12 18:29  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sftp/fxp.c,
	  contrib/mod_sftp/fxp.h, contrib/mod_sftp/mod_sftp.c,
	  doc/contrib/mod_sftp.html:
	  Bug#3329 - Support the "vendor-id" SFTP extension.

2009-11-12 09:24  castaglia

	* doc/contrib/mod_ban.html:
	  Adding a mod_ban FAQ, cleaning up a minor nit.

2009-11-11 09:51  castaglia

	* doc/contrib/mod_sql.html:
	  Make a note in the description of the Crypt SQLAuthType that
	  crypt(3) only uses the first 8 characters of a password; this can
	  have some surprising (depressing?) consequences for the unwary.

2009-11-10 09:32  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Limit/SubDirectories.pm:
	  Add more tests for the fix for Bug#3077.

2009-11-10 09:23  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#3307 - Transparently handle the X-variant commands when
	  checking <Limit> permissions.  The fix for this issue has been
	  reimplemented to be more transparent; some existing
	  configurations were broken by the previous implementation.

2009-11-09 22:11  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  For completeness, add a mod_quotatab unit test for RETR and the
	  files_out limit.

2009-11-09 21:02  castaglia

	* contrib/mod_site_misc.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_site_misc.pm:
	  Make sure that SITE SYMLINK fails if the source path does not
	  exist on the filesystem.  I thought that the symlink(2) system
	  call would handle this for us, but apparently not (at least it
	  doesn't on Mac OSX 10.4, and thus potentially other platforms).

2009-11-09 17:08  castaglia

	* contrib/mod_quotatab.c:
	  Add comment for my future self about why the have_quota_update
	  flag is cleared before writing to the tally table, instead of
	  after.

2009-11-09 17:03  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#3328 - Failed database transaction can cause mod_quotatab to
	  loop endlessly.

2009-11-09 16:40  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Add mod_quotatab test for RETR byte limits.

2009-11-09 14:09  castaglia

	* src/main.c:
	  Make sure that the LC_NUMERIC locale category is always "C",
	  regardless of what's in the environment when proftpd starts.

2009-11-09 10:34  castaglia

	* contrib/mod_sftp/fxp.c:
	  Fix some compiler warnings about signedness mismatches, and avoid
	  an explicit cast, by redefining the buffer to use char, not
	  unsigned char.

2009-11-09 09:26  castaglia

	* contrib/mod_tls.c:
	  Backport the change to mod_tls that removes the daemon-exit
	  listener from the session process.

2009-11-08 22:46  castaglia

	* contrib/mod_quotatab.c:
	  Before a copy, apply any QuotaExcludeFilter to the source path;
	  the destination may not exist.  After a copy, apply any
	  QuotaExcludeFilter to the destination path.  It's a little odd,
	  but I think it makes sense this way.

2009-11-08 22:41  castaglia

	* contrib/: mod_quotatab.c, mod_sftp/fxp.c:
	  Give mod_quotatab the ability to track (and enforce) quota
	  changes due to the copying of files now possible via mod_sftp's
	  copy-file SFTP extension.  For testing this, I had to use a SITE
	  COPY implementation.

2009-11-08 20:40  castaglia

	* contrib/mod_site_misc.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_site_misc.pm:
	  Advertise the supported SITE commands provided by mod_site_misc
	  in the FEAT response.

2009-11-08 19:51  castaglia

	* contrib/mod_quotatab.c:
	  In the pre-APPE handler, make sure to exclude files which match
	  any configured QuotaExcludeFilter before checking the quota
	  limits/tallies; if a file is excluded by the filter, it shouldn't
	  run afoul of those limits/tallies.

2009-11-08 19:47  castaglia

	* contrib/mod_quotatab.c:
	  Add checking of the path against a QuotaExcludeFilter in a few
	  more places.	Add the setting of HAVE_WRITE_UPDATE in the
	  pre-APPE handler, just as is done in the pre-STOR handler.

2009-11-08 18:18  castaglia

	* contrib/mod_tls.c:
	  Remove the daemon-exit listener for the 'core.exit' event in the
	  session process; when the session process exits, it shouldn't
	  send a 'core.exit' event to the daemon-exit listener.

2009-11-08 17:27  castaglia

	* RELEASE_NOTES, doc/contrib/mod_sftp.html:
	  Mention the new SFTP extensions, and the SFTPExtensions
	  directive, in the release notes.

	  Update the mod_sftp doc to cover the SFTPExtensions directive.

2009-11-08 16:50  castaglia

	* modules/mod_core.c:
	  Fix minor issue where DELE on a symlink would cause the wrong
	  size to be logged (the size of the target file, not the symlink,
	  would be logged).

2009-11-08 16:48  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/DELE.pm:
	  Add unit test for DELEs on symlinks.

2009-11-08 13:23  castaglia

	* contrib/mod_sftp/: fxp.c, fxp.h, mod_sftp.c:
	  With the addition of various SFTP extensions to mod_sftp, it's a
	  good idea to have a mechanism for disabling support for
	  individual extensions as desired.  This will also come in handy
	  later, for extensions which might be useful, but which need to be
	  selectively enabled.

	  Thus this patch introduces a new SFTPExtensions directive.

2009-11-08 12:43  castaglia

	* doc/contrib/mod_sftp.html:
	  Update the list of SFTP extensions supported by mod_sftp.

2009-11-08 12:37  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3320 - Support the "copy-file" SFTP extension.

2009-11-08 12:25  castaglia

	* contrib/mod_sftp/fxp.c:
	  Use a better errno value (EACCES) and remove redundant logging
	  when Path{Allow,Deny}Filter settings apply to paths sent by the
	  SFTP client.

2009-11-08 11:58  castaglia

	* src/fsio.c:
	  Fix some issues found in pr_fs_copy_file():	- return an error
	  if closing the destination file returned an error   - use
	  nonblocking opens, in case the source/destination paths are FIFOs

	  Also some stylistic changes.

2009-11-08 11:20  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3321 - Support the "check-file-name" and "check-file-handle"
	  SFTP extensions.

2009-11-07 19:41  castaglia

	* contrib/mod_sftp/configure:
	  Updated mod_sftp's configure script.

2009-11-07 19:28  castaglia

	* contrib/mod_sftp/: configure.in, mod_sftp.h.in:
	  Add checks for support for SHA256 and SHA512 in OpenSSL to
	  mod_sftp's configure script.

2009-11-07 14:41  castaglia

	* contrib/mod_sftp/fxp.c:
	  Skip adding version 1 to the 'versions' list; it's not allowed by
	  Section 4.6 of the SFTP Draft.

2009-11-07 14:40  castaglia

	* contrib/mod_sftp/fxp.c:
	  Minor refinement to the version-select SFTP extension
	  implementation.

2009-11-07 14:34  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3322 - Support the "version-select" SFTP extension.

2009-11-07 12:11  castaglia

	* NEWS, contrib/mod_tls_shmcache.c:
	  Bug#3326 - Shared memory segment used for session cache should be
	  protected via mlock(2).

2009-11-07 11:46  castaglia

	* NEWS, contrib/mod_tls_shmcache.c:
	  Bug#3327 - Clear external SSL session caches on server
	  restart/shutdown.

2009-11-07 10:46  castaglia

	* contrib/mod_sftp/fxp.c:
	  Ignore any size attribute that the SFTP client may send in an
	  OPEN request; attempting to honor the suggested size by
	  truncating the file during the OPEN can cause problems.  Size
	  attributes sent in SETSTAT/FSETSTAT requests are still honored.

2009-11-06 19:45  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_tls.c:
	  Bug#3324 - Vulnerability in SSL/TLS protocol during renegotiation
	  (CVE-2009-3555).

2009-11-06 19:44  castaglia

	* RELEASE_NOTES:
	  Typo.

2009-11-06 19:41  castaglia

	* doc/contrib/mod_tls.html:
	  Mention that server-initiated SSL session renegotiations are
	  still honored when possible.

2009-11-06 19:39  castaglia

	* configure:
	  Updated configure for Bug#3311.  Also added automatic detection
	  of build requests for mod_sql_passwd, so that the USE_OPENSSL
	  flag can be automatically set when that module is requested, just
	  as is done for mod_tls and mod_sftp.

2009-11-06 19:36  castaglia

	* NEWS, configure.in:
	  Bug#3311 - configure script should automatically detect when -ldl
	  is needed by OpenSSL.

2009-11-06 18:42  castaglia

	* contrib/mod_tls.c:
	  Add the changes from Bug#3324 to deal with server-initiated
	  session renegotiations when using OpenSSL 0.9.8l or later.

2009-11-06 18:01  castaglia

	* contrib/mod_tls.c:
	  Handle signals in the diagnostic callback.

2009-11-06 17:52  castaglia

	* contrib/mod_tls.c:
	  More work towards Bug#3324 - allow server-initiated session
	  renegotiations whilst rejecting client-initiated session
	  renegotiations.

2009-11-06 17:11  castaglia

	* doc/contrib/mod_tls.html:
	  Document the new AllowClientRenegotiations TLSOption.

2009-11-06 17:06  castaglia

	* RELEASE_NOTES:
	  Update the release notes.

2009-11-06 16:55  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3324 - Vulnerability in SSL/TLS protocol during renegotiation
	  (CVE-2009-3555).

2009-11-06 16:53  castaglia

	* doc/howto/TLS.html:
	  Add a TLS FAQ, inspired by Bug#3247 (and its ensuing duplicates).

2009-11-06 10:57  castaglia

	* contrib/mod_tls.c, doc/howto/TLS.html:
	  Remove the "TLSRenegotiate off" synonym; I had simply confused
	  myself with the bad example config I'd written in the TLS howto
	  (now fixed as well).

2009-11-06 10:52  castaglia

	* contrib/mod_tls.c:
	  Allow "TLSRenegotiate off" as a synonym for "TLSRenegotiate
	  none".

2009-11-06 10:46  castaglia

	* contrib/mod_tls.c:
	  Include in the end-of-session EnableDiags-enabled stats the
	  number of times a session was removed from the cache because the
	  cache size was exceeded.

2009-11-06 10:12  castaglia

	* contrib/mod_tls.c:
	  Ignore EAGAIN errors when the EnableDiags TLSOption is used; they
	  just clutter up the TLSLog.

2009-11-06 07:47  castaglia

	* contrib/mod_tls.c:
	  Remove spurious ""SSL_shutdown error: ZERO_RETURN" logging; it is
	  not actually an error to encounter an SSL_ERROR_ZERO_RETURN value
	  when shutting down the SSL/TLS session.

2009-11-05 17:56  castaglia

	* contrib/mod_sftp/fxp.c:
	  Add empty stubs of functions which will add the "standard" SFTP
	  extensions to mod_sftp's VERSION response to SFTP clients.

2009-11-05 16:09  castaglia

	* contrib/mod_tls.c:
	  Minor reordering of the logged SSL/TLS end-of-connection stats;
	  this way the cache-related stats appear together.

2009-11-05 10:24  castaglia

	* modules/mod_ls.c:
	  Make sure that we can handle symlinks whose target paths are long
	  (e.g.  longer than 1K).

2009-11-05 09:46  castaglia

	* contrib/mod_sql_passwd.c, contrib/mod_sftp/fxp.c,
	  contrib/mod_sftp/keys.c, contrib/mod_sftp/scp.c, include/fsio.h,
	  modules/mod_auth.c, modules/mod_log.c, src/fsio.c, src/log.c,
	  src/xferlog.c:
	  Switch to using nonblocking open(2) calls in many places,
	  especially when handling log files.  This is to deal with the
	  case where the log files configured are actually FIFOs; if the
	  other end of the FIFO is not running, then a blocking open(2)
	  would block indefinitely.  For example, configuring a FIFO for
	  TransferLog, and not having the FIFO reader running, would hang
	  the client session.  Now by using nonblocking open(2), we can
	  detect such cases and handle them.  The opened fds are returned
	  to blocking mode, assuming a successful open.

2009-11-05 09:40  castaglia

	* contrib/: mod_sftp_pam.c, mod_sftp/auth.h, mod_sftp/keystore.c,
	  mod_sftp/mod_sftp.h.in:
	  Clean up a few warts and warnings.

2009-11-04 21:37  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/LIST.pm:
	  Adding unit test for LIST output of a symlink when ShowSymlinks
	  is enabled.

2009-11-04 18:19  castaglia

	* modules/mod_core.c, src/class.c, src/netacl.c:
	  Add more trace logging about how <Class> rules are parsed and
	  compared.  Fix some rule parsing cases which were not being
	  handled properly.

2009-11-04 18:17  castaglia

	* tests/: tests.pl, t/config/classes.t,
	  t/lib/ProFTPD/Tests/Config/Classes.pm:
	  Adding unit tests for various <Class> configurations and rules.

2009-11-04 15:24  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/UserPassword.pm:
	  Add regression test for using UserPassword in an <Anonymous>
	  section to create an effectively virtual user account.

2009-11-04 15:02  castaglia

	* RELEASE_NOTES, doc/modules/mod_cap.html, modules/mod_cap.c:
	  Support adding the CAP_FOWNER capability.

2009-11-04 13:09  castaglia

	* RELEASE_NOTES:
	  Mention support for the OpenSSH extensions in the release notes.

2009-11-04 13:07  castaglia

	* contrib/mod_sftp/fxp.c, doc/contrib/mod_sftp.html:
	  Added support for the posix-rename@openssh.com OpenSSH SFTP
	  extension.

2009-11-04 12:51  castaglia

	* contrib/mod_sftp/fxp.c:
	  When handling RENAME SFTP requests, make sure to update the
	  scoreboard with the name of "RENAME", not "REALPATH".  Sheesh.

2009-11-04 12:27  castaglia

	* doc/howto/Chroot.html:
	  Add an example of constructing symlinks using relative paths;
	  these types of symlinks stand a better chance of working properly
	  within chrooted sessions.

2009-11-04 12:19  castaglia

	* NEWS, contrib/mod_wrap.c, include/log.h, src/log.c:
	  Bug#3317 - mod_wrap/libwrap should honor SyslogFacility setting.

2009-11-04 11:07  castaglia

	* doc/contrib/mod_sftp.html:
	  Update the mod_sftp doc to mention that the most up-to-date
	  version is distributed with the ProFTPD source code.

	  Mention the support for OpenSSH's "statvfs@openssh.com" and
	  "fstatvfs@openssh.com" SFTP extensions.

2009-11-04 10:49  castaglia

	* doc/contrib/mod_sftp.html:
	  Document the use of the SSH_CONNECTION environment variable.

2009-11-04 10:48  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  Set the SSH_CONNECTION environment variable, using the same
	  format as OpenSSH.

2009-11-04 10:01  castaglia

	* contrib/mod_sftp/auth.c:
	  Make sure that callers can't use the new sftp_auth_send_banner()
	  function to send USERAUTH_BANNER messages to the client after it
	  has authenticated; this is not allowed by RFC4252.

2009-11-04 09:50  castaglia

	* NEWS, contrib/mod_sftp_pam.c, contrib/mod_sftp/auth.c,
	  contrib/mod_sftp/auth.h:
	  Bug#3316 - Messages from PAM modules are ignored when
	  authenticating SSH clients via 'keyboard-interactive'.

2009-11-03 11:12  castaglia

	* doc/contrib/mod_sftp.html:
	  Mention the %u variable in the SFTPAuthorizedUserKeys directive
	  description.

2009-11-03 11:03  castaglia

	* NEWS, contrib/mod_sftp/keystore.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3315 - Support the %u variable in SFTPAuthorizedUserKeys
	  paths.

2009-11-03 10:15  castaglia

	* configure:
	  Updated configure.

2009-11-03 10:09  castaglia

	* configure.in:
	  Add some more gcc warning flags to the list when --enable-devel
	  is used, specifically -Wformat-security, -Wstack-protector, and
	  -fstack-protector-all.

2009-11-03 00:09  castaglia

	* contrib/mod_sftp/: fxp.c, fxp.h:
	  Added support for the statvfs@openss.com and fstatvfs@openssh.com
	  OpenSSH SFTP extensions.

2009-11-02 22:39  castaglia

	* NEWS:
	  Pedantic correction: lseek(2), not lseek(3).

2009-11-02 22:37  castaglia

	* NEWS, contrib/mod_sftp/scp.c, modules/mod_xfer.c:
	  Bug#3314 - Downloading from FIFOs via SFTP/SCP fails.

2009-11-02 22:35  castaglia

	* NEWS, contrib/mod_sftp/fxp.c:
	  Bug#3313 - Uploading via SFTP to FIFOs fails due to illegal
	  lseek(3), truncate(2) calls.

2009-11-02 22:32  castaglia

	* NEWS, contrib/mod_sftp/fxp.c, contrib/mod_sftp/scp.c:
	  Bug#3312 - Uploading via SFTP/SCP to FIFO whose reader is closed
	  causes session to hang.

2009-11-02 22:28  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  On some platforms, ENXIO has a string representation of "Device
	  not configured".

2009-11-02 20:10  castaglia

	* contrib/mod_sftp/packet.c:
	  Adding reminder notes/comments for my future self.

2009-11-02 19:53  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Remove duplicate unit test entry from the list.

2009-11-02 19:48  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add regression test proving that setting a mode which contains
	  S{G,U}ID bits is properly supported via SFTP.

2009-11-02 19:22  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Adding unit tests for Bug#3314.  These tests rely on having a
	  FIFO-writing program open at /tmp/test.fifo, and thus do not run
	  automatically as part of the testsuite.

2009-11-02 19:01  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Adding unit tests for Bug#3313.  These particular tests are a
	  little odd in that they will have to be run manually; they
	  require a FIFO-reading process to be running at /tmp/test.fifo
	  (and I didn't feel like wrestling with Perl in order to fork off
	  more processes in these tests).

2009-11-02 18:31  castaglia

	* contrib/mod_sftp/fxp.c:
	  Fix a segfault where a reason string was not being returned for
	  an errno value which we were not expecting/handling.

2009-11-02 17:28  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Adding regression tests for Bug#3312.  Note that I still need to
	  run these tests on other platforms (Solaris, FreeBSD, Mac OSX),
	  as I suspect that the errno value returned from a failed open(2)
	  of a FIFO will vary quite a bit across the platforms.

2009-11-02 16:26  castaglia

	* modules/mod_xfer.c:
	  Allow uploading to /dev/full on Linux; this is useful for testing
	  how clients handle out-of-disk situations/errors.

2009-11-02 16:26  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit test for uploading to /dev/full (Linux only), to
	  simulate an out-of-disk situation.  (Turns out that Net::SSH2
	  does not propagate the WRITE/CLOSE error to the calling code; I
	  need to file a bug with the module maintainer about this.)

2009-11-02 16:25  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Add support for os_* tags to tests, so that certain tests can be
	  targeted for specific OS/platforms (as determined by Perl's $^O
	  variable).

2009-10-30 16:36  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_wrap.pm:
	  Adding unit tests for more of mod_wrap's directives.

2009-10-30 15:37  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_wrap.pm,
	  t/modules/mod_wrap.t:
	  Start of unit tests for the mod_wrap module.

2009-10-30 10:30  castaglia

	* locale/fr_FR.po:
	  Bug#3309 - Fix whitespace in MLST response when using the fr_FR
	  locale.

2009-10-29 09:53  castaglia

	* RELEASE_NOTES, locale/Makefile.in, locale/zh_TW.po:
	  Wei-Lun Chao contributed a Taiwan translation for proftpd.

2009-10-29 09:52  castaglia

	* RELEASE_NOTES:
	  Mention new Taiwan translation in release notes.

2009-10-29 09:52  castaglia

	* locale/: Makefile.in, zh_TW.po:
	  Wei-Lun Chao contributed a Taiwanese translation for proftpd.

2009-10-29 08:24  castaglia

	* contrib/mod_sftp/cipher.c:
	  Quell compiler warnings about mismatched data types.

2009-10-28 14:48  castaglia

	* src/auth.c:
	  Fixing another part of Bug#3307.

2009-10-28 14:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Logins.pm:
	  Adding more regression tests (and improving existing tests) for
	  Bug#3307.

2009-10-27 09:45  castaglia

	* NEWS, src/auth.c, tests/t/lib/ProFTPD/Tests/Logins.pm:
	  Bug#3307 - All FTP logins treated as anonymous logins.

2009-10-26 16:01  castaglia

	* contrib/mod_sql.c, modules/mod_log.c:
	  Increasing the size of a couple more buffers in order to avoid
	  inadvertently truncating file names.

2009-10-26 15:12  castaglia

	* modules/mod_log.c:
	  Add some additional room for other ExtendedLog data.

2009-10-26 15:09  castaglia

	* modules/mod_log.c, src/log.c, src/main.c:
	  Make the buffers used for logging and for reading client data
	  depend on PR_TUNABLE_PATH_MAX, which in turn depends on
	  MAXPATHLEN (if defined by the OS).  This makes sure that the
	  buffers are at least large enough to deal with the longest path
	  supported by the OS (e.g. 4K on a Linux 2.6 kernel).

2009-10-26 08:39  castaglia

	* doc/howto/: Nonroot.html, index.html:
	  Add the nonroot howto to the collection.

2009-10-23 09:28  castaglia

	* NEWS, lib/pr-syslog.c:
	  Bug#3305 - Emulate Solaris 10 syslog "header" on Solaris 10
	  servers.

2009-10-23 09:16  castaglia

	* src/main.c:
	  Initialize the xerrno variable, to quell a compiler warning.

2009-10-21 17:40  castaglia

	* src/inet.c:
	  Pedantic comment typo correction.

2009-10-21 10:26  castaglia

	* tests/: tests.pl, t/config/hidenoaccess.t,
	  t/lib/ProFTPD/Tests/Config/HideNoAccess.pm:
	  Add unit test for the HideNoAccess directive.

2009-10-21 09:42  castaglia

	* doc/howto/Scoreboard.html:
	  Add scoreboard FAQ about "bad version (too old)" errors.

2009-10-21 09:39  castaglia

	* doc/contrib/mod_sftp.html:
	  Added mod_sftp FAQ about ListOptions.

2009-10-21 08:05  castaglia

	* contrib/mod_tls.c:
	  Cleanly shutdown the SSL/TLS session (if there is one) for
	  TimeoutLogin as well.

2009-10-20 18:41  castaglia

	* src/main.c:
	  Stash the errno value if select(), in the main loop, returns -1;
	  this makes for better errno logging/reporting.  Also avoid trying
	  to accept(2) a connection if the select() return value is -1.

2009-10-20 17:24  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3303 - FileZilla reports "Server did not properly shut down
	  TLS connection" after TimeoutIdle triggered..

2009-10-20 14:58  castaglia

	* doc/contrib/mod_tls.html:
	  Markup error.

2009-10-20 14:47  castaglia

	* include/version.h:
	  Bumped version to what will become 1.3.3rc3.

2009-10-20 14:13  castaglia

	* contrib/dist/rpm/proftpd.spec, include/version.h:
	  Getting versions ready for 1.3.3rc2 release.

2009-10-20 14:11  castaglia

	* NEWS:
	  Mention the release date for 1.3.3rc2.

2009-10-20 11:52  castaglia

	* RELEASE_NOTES:
	  Typos, corrections.

2009-10-20 11:46  castaglia

	* ChangeLog:
	  Updated the ChangeLog.

2009-10-20 10:58  castaglia

	* ChangeLog:
	  Updated the ChangeLog.

2009-10-20 10:30  castaglia

	* NEWS, RELEASE_NOTES, contrib/dist/rpm/proftpd.spec,
	  include/version.h:
	  Readying the release of 1.3.2b.

2009-10-20 10:03  castaglia

	* RELEASE_NOTES:
	  Adding more to the release notes, getting them ready for the
	  release of RC2.

2009-10-19 18:11  castaglia

	* contrib/mod_sql_postgres.c:
	  Minor tweaks to the Postgres NLS/encoding code.

2009-10-19 17:19  castaglia

	* RELEASE_NOTES:
	  Point out a potential hazard with the delayed-open database
	  connection policy and logging-only database configs.

2009-10-19 15:07  castaglia

	* contrib/mod_sql_postgres.c:
	  The get_postgres_encoding() function is specific to
	  mod_sql_postgres; no need to have its symbol be exported/visible
	  outside of this file.

2009-10-19 14:58  castaglia

	* contrib/mod_sql_postgres.c:
	  Quell minor compiler warning about the get_postgres_encoding()
	  function when --enable-nls is used by providing a function
	  prototype.

2009-10-19 14:08  castaglia

	* doc/howto/NAT.html:
	  Fixed URL to IP Masquerade howto doc.

2009-10-14 16:45  castaglia

	* modules/mod_facts.c, tests/t/lib/ProFTPD/Tests/Commands/MLSD.pm:
	  Make sure that mod_facts uses 'cdir' or 'pdir' as the type in a
	  MLSD response, rather than just 'dir', where appropriate.

2009-10-14 11:49  castaglia

	* modules/mod_auth_unix.c:
	  Helps if we provide the data type for variables.

2009-10-14 11:35  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/MLSD.pm:
	  Add a test for when a session is chrooted, and fix the regexes
	  used throughout these tests.

2009-10-14 11:31  castaglia

	* modules/mod_facts.c:
	  Do a little resolution on the given MLSD path, trying to find a
	  fuller, better path.	(This is particularly important for
	  mod_vroot to function properly.)

2009-10-14 10:54  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/MLSD.pm:
	  Fixing quietly broken MLSD unit tests; they were using the wrong
	  regex.

2009-10-13 08:30  castaglia

	* modules/: mod_core.c, mod_xfer.c:
	  Found a few more cases where errno could be trampled by
	  pr_trace_msg(), and thus requires brief caching.

2009-10-12 16:52  jwm

	* contrib/mod_ldap.c: mod_ldap bzr r70:   2.8.20 release

2009-10-12 16:51  jwm

	* contrib/mod_ldap.c: mod_ldap bzr r68:   ldap_server and ldap_port
	  should be defined in the !(openldap	LDAP_VENDOR_VERSION >= 192)
	  case

	  mod_ldap bzr r67:   bump version date

	  mod_ldap bzr r66:   fix reversed logic when keeping server/port
	  settings for	 non-ldap_initialize() SDKs.

	  mod_ldap bzr r65:   looks like ldap_{initialize,unbind_ext_s} are
	  openldap-specific. spleunk in   the openldap cvs repo and only
	  use these functions when building against   openldap and the
	  vendor version is at least that in which each of these
	  functions was introduced.

	  mod_ldap bzr r64:   id tag doesn't make much sense with bazaar,
	  but we'll keep it there for	when mod_ldap is committed to
	  proftpd cvs

2009-10-12 16:11  castaglia

	* modules/mod_lang.c:
	  When a locale is set, make sure to set it for the LC_COLLATE,
	  LC_CTYPE, and LC_MONETARY categories as well.

2009-10-07 13:38  castaglia

	* NEWS, modules/mod_auth_unix.c:
	  Bug#3300 - Support disabling use of S_RLOGIN when calling AIX
	  loginrestrictions().

2009-10-07 11:37  castaglia

	* doc/contrib/mod_sftp.html:
	  Add a little more description of the sftpUTF8ProtocolVersion
	  config setting.

2009-10-06 08:44  castaglia

	* doc/howto/ServerType.html:
	  Add a FAQ about another cause of slow/timed out logins.

2009-10-05 16:26  castaglia

	* contrib/mod_sql.c:
	  Add more info to the mod_sql logs when handling (and looking up)
	  named queries.

2009-10-05 15:52  castaglia

	* contrib/mod_sql.c:
	  When processing named queries, log the named query being
	  processed.

2009-10-05 15:47  castaglia

	* contrib/: mod_shaper.c, mod_rewrite.c:
	  Quell compiler warnings.

2009-10-05 15:23  castaglia

	* modules/mod_lang.c:
	  Prevent segfault on second SIGHUP because the lang_aliases table
	  was allocated out of a pool which no longer exists.  The fix is
	  simple: when the memory pool is cleared, make sure to reset the
	  lang_aliases pointer as well.

2009-10-05 14:21  castaglia

	* modules/mod_core.c:
	  Just to be defensive, make sure that the EISDIR errno value
	  exists before using it.

2009-10-05 14:07  castaglia

	* modules/mod_core.c, tests/t/lib/ProFTPD/Tests/Commands/DELE.pm:
	  If a client tries to use DELE to remove a directory, return a
	  better error message than "Opermation not permitted", i.e. use
	  EISDIR.

2009-10-05 13:57  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_file.pm:
	  Uncomment line to delete log file.

2009-10-05 09:59  castaglia

	* src/main.c:
	  Fix the settings displayed so that we show either ncurses or
	  ncursesw, but not both (related to Bug#3213).

2009-10-05 09:52  castaglia

	* contrib/mod_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  If the %T variable is used in a SQLLog query, AND the command in
	  question uses session.xfer.p BUT does not involve a data transfer
	  (e.g. RNFR), then a bad time value would be used.  Fix this.

2009-10-04 18:06  castaglia

	* modules/mod_facts.c:
	  The recent change to using pr_response_add() for the MLST
	  response lines means that we no longer need to explicitly add a
	  leading space; that is handled automatically in the Response API.

2009-10-04 12:52  castaglia

	* NEWS, src/scoreboard.c, utils/ftptop.c:
	  Bug#3214 - ftpwho/ftptop truncate UTF8 strings due to byte,
	  versus character, lengths.

2009-10-04 12:51  castaglia

	* configure:
	  Updated configure (for Bug#3213).

2009-10-04 12:47  castaglia

	* NEWS, config.h.in, configure.in, src/main.c:
	  Bug#3213 - Use locale-sensitive libncursesw library for ftptop
	  where available.

2009-10-03 17:54  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add unit test for the iPAddressRequired TLSOption.

2009-10-03 17:41  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add a unit test demonstrating that when an FTPS client offers a
	  cert, and the StdEnvVars TLSOption is used, the expected
	  TLS_CLIENT_ environment variables are populated.

2009-10-03 17:23  castaglia

	* modules/mod_log.c:
	  When parsing any potential log class names in an ExtendedLog
	  directive, parse the names at parse time, rather than at
	  connection time.  This way if there are unknown names configured,
	  we can flag it as a configuration error, rather than (relatively)
	  silently logging and ignoring the misconfiguration.

2009-10-03 12:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add a unit test for the StdEnvVars TLSOption.

2009-10-03 12:35  castaglia

	* modules/mod_log.c:
	  Fix a minor bug where mod_log would skip a character if the
	  LogFormat looked like a variable, but was in fact not one.  (I
	  tried using "%{env:FOO}" instead of "%{FOO}e", and noticed that a
	  character was being skipped in the handling of that
	  "%{env:FOO}".)

2009-10-03 12:03  castaglia

	* modules/mod_log.c:
	  Found a potential NULL pointer dereference when handling the
	  ExtendedLog directive; added some signal handling and clarified
	  the code while I was there.

2009-10-03 09:35  castaglia

	* contrib/mod_sql_passwd.c:
	  Quell compiler warnings, too.

2009-10-03 09:34  castaglia

	* contrib/mod_sql_passwd.c:
	  Typo.

2009-10-02 16:38  castaglia

	* NEWS, contrib/mod_ban.c, modules/mod_auth.c, src/main.c,
	  src/scoreboard.c, tests/t/lib/ProFTPD/Tests/Modules/mod_ban.pm:
	  Bug#3281 - TimeoutLogin not handled properly by mod_ban.

2009-10-02 14:26  castaglia

	* RELEASE_NOTES, doc/contrib/mod_sql.html:
	  Update docs to reflect Bug#3290.

2009-10-02 14:22  castaglia

	* NEWS, contrib/mod_sql.c, contrib/mod_sql.h,
	  contrib/mod_sql_mysql.c, contrib/mod_sql_odbc.c,
	  contrib/mod_sql_postgres.c, contrib/mod_sql_sqlite.c:
	  Bug#3290 - Change default mod_sql connection policy to open
	  database connection on first use.

2009-10-01 14:38  castaglia

	* doc/contrib/mod_ban.html:
	  Forgot to mention MaxLoginAttempts as one of the events handled
	  by BanOnEvent.

2009-10-01 09:18  castaglia

	* doc/contrib/mod_quotatab.html:
	  Clarify the string to which a configured QuotaExcludeFilter is
	  applied.

2009-10-01 09:13  castaglia

	* NEWS, contrib/mod_quotatab.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Bug#3298 - QuotaExcludeFilter directive ignored by mod_quotatab.

2009-10-01 08:45  castaglia

	* doc/contrib/mod_quotatab.html:
	  Typo.

2009-10-01 08:25  castaglia

	* contrib/mod_sql_passwd.c, doc/contrib/mod_sql_passwd.html,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_passwd.pm:
	  While thinking about the salt last night, I decided that using
	  "prepend" vs "append" as the config parameter names are a little
	  clearer than "prefix" vs "suffix".  Time and users will tell how
	  wise/clueless this was.

2009-09-30 17:33  castaglia

	* locale/files.txt:
	  Remove a few duplicates (caused by symlinks and a working copy)
	  from the list.

2009-09-30 17:26  castaglia

	* locale/: Makefile.in, files.txt:
	  Updated locale/files.txt.

2009-09-30 17:12  castaglia

	* contrib/mod_rewrite.c:
	  Quell compiler warning.

2009-09-30 15:23  castaglia

	* doc/contrib/mod_sql_passwd.html:
	  Provide an example config using a salt file in the Usage section.

2009-09-30 15:21  castaglia

	* contrib/mod_sql_passwd.c:
	  Fix bad grammar in a comment.

2009-09-30 15:18  castaglia

	* contrib/mod_sql_passwd.c, doc/contrib/mod_sql_passwd.html,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_passwd.pm:
	  Make the use of a salt configurable in terms of whether the salt
	  is used as a prefix or a suffix of the data to be hashed.

2009-09-30 14:05  castaglia

	* doc/contrib/mod_sql_passwd.html:
	  Document the SQLPasswordSaltFile directive.

2009-09-30 13:51  castaglia

	* contrib/mod_sql_passwd.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_passwd.pm:
	  Add a SQLPasswordSaltFile directive to the new mod_sql_passwd
	  module; it is used to configure salts for the hashed passwords
	  that mod_sql_passwd handles.	Doc update coming next.

2009-09-30 11:03  castaglia

	* contrib/mod_tls.c:
	  Make sure that mod_tls does not cleanup OpenSSL if mod_sql_passwd
	  is in use.

2009-09-29 14:46  castaglia

	* NEWS, contrib/mod_quotatab.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Bug#3296 - mod_quotatab should reject an upload via APPE if the
	  quota is already exceeded.

2009-09-29 13:53  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/CWD.pm:
	  Update regression test function names to match the names listed.

2009-09-29 13:50  castaglia

	* NEWS, src/fsio.c:
	  Bug#3297 - Symlinks to directories which end in trailing slashes
	  may not be handled properly.

2009-09-29 13:49  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/CWD.pm:
	  Regression tests for Bug#3297.

2009-09-29 10:09  castaglia

	* doc/howto/Timestamps.html:
	  Attempt to highlight that unexpected timestamps in directory
	  listings are affected by the TimesGMT directive, not by chrooted
	  processes.

2009-09-28 14:27  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#3295 - proftpd segfaults when STAT is used with ListOptions
	  "-1".

2009-09-28 14:24  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Commands/STAT.pm,
	  t/commands/stat.t:
	  Adding unit tests for the STAT command.

2009-09-28 14:22  castaglia

	* modules/mod_auth.c:
	  If we have trouble resolving the chroot path, make sure we log
	  the reason why.

2009-09-28 13:38  castaglia

	* contrib/mod_sftp/scp.c:
	  Some SCP clients will quote the paths they send in their scp
	  command, on the assumption that the handling server will use a
	  shell for the scp command, and that shell will Do The Right
	  Thing(tm) with regard to quoting.  This is not the case for
	  mod_sftp, so we have to try to detect and remove such quotations
	  ourselves.

2009-09-28 11:55  castaglia

	* contrib/mod_sftp/fxp.c:
	  When handling an OPEN SFTP request, mod_sftp was not getting the
	  "best" path for the requested path.  This meant that mod_sftp was
	  using the relative path provided by the client as-is -- and the
	  FSIO API assumes that the requested paths will be absolute paths.
	  (This change is needed for mod_md5 to work properly when SFTP is
	  used.)

2009-09-28 10:07  castaglia

	* contrib/mod_sftp/crypto.c:
	  Update the 3des-ctr implementation to use OpenSSL's
	  DES_encrypt3() function, which does the encrypt-decrypt-encrypt
	  cycle in a single function.

2009-09-26 16:52  castaglia

	* contrib/mod_sftp/crypto.c:
	  Make the 3des-ctr cipher work properly on big-endian machines.
	  Turns out that OpenSSL's DES_encrypt1() function (which seems to
	  be the one necessary to use in order to be interoperable with
	  PuTTy's 3des-ctr cipher implementation) expects to operate on
	  *little-endian data*.  On a little-endian machine, this happens
	  automatically.  But on big-endian machines, we need to swap the
	  bytes of the data -- and the usual ntohl() functions don't work
	  on big-endian machines (they're no-ops).  So I had to use my own
	  byte-swapping function, and add a test for the machine
	  endian-ness.

2009-09-24 17:42  castaglia

	* doc/contrib/mod_sftp.html:
	  Mention the 3des-ctr cipher in the SFTPCiphers doc.

2009-09-24 17:25  castaglia

	* contrib/mod_sftp/: crypto.c, mod_sftp.h.in:
	  Add support for the 3des-ctr cipher; tested using PuTTy-0.60.

2009-09-23 09:19  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/MLST.pm:
	  Add unit test for the MLST command using an example of Greek
	  letters, from one of the online forums threads.

2009-09-23 09:01  castaglia

	* RELEASE_NOTES:
	  Mention custom HiddenStores prefixes in the release notes.

2009-09-23 09:00  castaglia

	* NEWS, modules/mod_xfer.c,
	  tests/t/lib/ProFTPD/Tests/Config/HiddenStores.pm:
	  Bug#3294 - Support configurable HiddenStores prefixes.

2009-09-22 09:23  castaglia

	* contrib/mod_sftp/crypto.c:
	  Fixed the Blowfish CTR code to handle endianness issues; now I
	  can use the "blowfish-ctr" cipher using PuTTy-0.60 on my Intel
	  machine.

2009-09-21 16:50  castaglia

	* src/inet.c:
	  Pre-emptively update the code for Mac OSX 10.6 machines.

2009-09-21 15:55  castaglia

	* modules/mod_facts.c:
	  Use pr_response_add() instead of pr_response_send_raw(), and let
	  the Response API handle the multi-line formatting of the
	  response, rather than having to do it ourselves in mod_facts.

2009-09-21 14:06  castaglia

	* src/main.c:
	  In the `proftpd -V' output, use two different strings to
	  differentiate between the cases where uname(2) is not available
	  on the platform, and where uname(2) returns an error for some
	  reason (e.g. EPERM on virtualized servers).

2009-09-18 14:15  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Cut-n-pasto.

2009-09-17 14:33  castaglia

	* tests/: tests.pl, t/config/limit/anonymous.t,
	  t/lib/ProFTPD/Tests/Config/Limit/Anonymous.pm:
	  Add some unit tests for an <Anonymous> configuration using <Limit
	  WRITE>; a forums post suggested that the limit might not be being
	  applied as expected.

2009-09-17 13:54  castaglia

	* doc/howto/Chroot.html:
	  Add FAQ about using multiple DefaultRoot directives at the same
	  time.

2009-09-17 10:30  castaglia

	* contrib/mod_sftp/crypto.c:
	  Disable the blowfish-ctr cipher for now.  It appeared to work
	  properly last night on my PPC Mac OSX 10.4 box, but this morning
	  on my Ubuntu 9.04 Intel machine, it doesn't.	I suspect
	  endian-ness issues.

2009-09-17 10:16  castaglia

	* contrib/mod_sftp/mod_sftp.h.in:
	  Forgot to include the blowfish header.

2009-09-16 22:57  castaglia

	* doc/contrib/mod_sftp.html:
	  Make sure that blowfish-ctr is listed in the docs.

2009-09-16 22:54  castaglia

	* contrib/mod_sftp/crypto.c:
	  Add support for the blowfish-ctr cipher from RFC4344.

2009-09-16 20:57  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Add support for issuing the HOST command in the testsuite client.

2009-09-16 13:51  castaglia

	* contrib/mod_sftp/: cipher.c, keys.c, mac.c:
	  Clean up some minor compiler warnings.

2009-09-16 13:47  castaglia

	* contrib/mod_sftp/cipher.c:
	  Some ciphers do not have IVs (e.g. RC4); make sure to handle this
	  case properly.  (Without this, I was seeing strange memory
	  corruption/errors.)

2009-09-16 10:26  castaglia

	* NEWS, contrib/mod_sftp/cipher.c, contrib/mod_sftp/crypto.c,
	  contrib/mod_sftp/crypto.h, contrib/mod_sftp/mod_sftp.c:
	  Bug#3293 - SFTPCipher arcfour256 does not work properly.

2009-09-16 09:32  castaglia

	* src/privs.c:
	  Make the "SETUP PRIVS" log message be at DEBUG9, like the other
	  debug log messages generated when manipulating privs.

2009-09-16 08:09  castaglia

	* NEWS, contrib/mod_sftp/crypto.c:
	  Fix bug in mod_sftp's handling of AES CTR ciphers when an OpenSSL
	  version between 0.9.7a and 0.9.7d is used; those versions of
	  OpenSSL had buggy handling of the IV for the AES CTR (i.e. the IV
	  was not handled in a big-endian fashion).

2009-09-15 23:18  castaglia

	* contrib/mod_sftp/crypto.c:
	  Pedantic comment typo correction.

2009-09-15 23:12  castaglia

	* configure:
	  Updated configure.

2009-09-15 23:09  castaglia

	* Make.rules.in, configure.in, contrib/mod_sftp/Makefile.in:
	  Create an ADDL_CPPFLAGS variable in Make.rules, specifically so
	  that contrib modules' Makefiles (for those contrib modules which
	  have their own Makefile) can use any CPPFLAGS that may have been
	  specified via environment variable.  Without this new variable, a
	  contrib module Makefile would end up having duplicated/redundant
	  CPPFLAGS values, or wouldn't have those CPPFLAGS propagated
	  properly for the contrib module code.

2009-09-15 17:12  castaglia

	* contrib/mod_sftp/: cipher.c, mac.c:
	  Minor adjustment to the debug logging of packet dumps, so that
	  they are easier to pick out of the SFTPLog file.

2009-09-15 16:18  castaglia

	* modules/mod_core.c, src/dirtree.c, src/modules.c:
	  Various stylistic cleanups generated while pursuing strange
	  segfault.

2009-09-15 16:10  castaglia

	* src/auth.c:
	  The previous change to populate the pool and tmp_pool fields for
	  the cmd_rec that's dispatched to Auth callbacks had subtle and
	  bad side effects.  Instead of using the given pool as that pool,
	  create a subpool.

2009-09-15 08:17  castaglia

	* src/auth.c:
	  Make sure that cmd->pool and cmd->tmp_pool are not NULL for the
	  cmd_rec that is dispatched for the Auth callbacks.

2009-09-14 23:28  castaglia

	* tests/t/: commands/host.t, lib/ProFTPD/Tests/Commands/HOST.pm:
	  Start working on unit tests for the HOST command, as part of
	  Bug#3289.

2009-09-14 13:44  castaglia

	* src/session.c:
	  When marking a session as idle, make sure that session.user is
	  non-NULL; if not, using "(authenticating)".

2009-09-14 11:58  castaglia

	* src/dirtree.c, tests/t/lib/ProFTPD/Tests/Config/Limit/Filters.pm:

	  Set the errno appropriately for implicit denies.

2009-09-14 10:46  castaglia

	* doc/howto/Filters.html:
	  Add example config for using AllowFilter to only allow specific
	  filename extensions in a directory.

2009-09-14 10:15  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Limit/Filters.pm:
	  Fix the broken AllowFilter unit test.  To make this particular
	  config work, the Order directive is needed.

2009-09-11 22:05  castaglia

	* modules/mod_dso.c:
	  Add more trace logging to help debug failed loading of DSO
	  modules where the module symbol does not match the expected
	  symbol name.

2009-09-09 16:44  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Limit/Filters.pm:
	  Add a unit test for the AllowFilter functionality that is
	  <Limit>-section specific.  This unit test tests the STOR command,
	  and a <Limit> section within a <Directory> section -- and the
	  test fails.  So I still need to fix this before releasing
	  1.3.3rc2.

2009-09-09 16:27  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Looks like newer libssh2 versions have addressed some issues,
	  though not all.

2009-09-09 14:15  castaglia

	* doc/contrib/mod_sql_passwd.html:
	  Be sure to list the additional SQLAuthTypes provided by
	  mod_sql_passwd.

2009-09-09 11:47  castaglia

	* RELEASE_NOTES, doc/contrib/mod_sql_passwd.html:
	  Adding documentation for mod_sql_passwd.

2009-09-09 11:45  castaglia

	* doc/contrib/mod_sql.html:
	  Adding the required notice for using OpenSSL.

2009-09-09 11:22  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_sql_passwd.pm,
	  t/modules/mod_sql_passwd.t:
	  Added unit tests for the mod_sql_passwd module.

2009-09-09 11:17  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql.c, contrib/mod_sql.h,
	  contrib/mod_sql_passwd.c:
	  Bug#2368 -  Allow contrib modules to extend mod_sql's
	  SQLAuthTypes.  This also includes a new mod_sql_passwd contrib
	  module which can handle hex- and base64-encoded MD5 and SHA1
	  passwords, without the leading "{digest}" prefix required by the
	  mod_sql OpenSSL SQLAuthType.

2009-09-08 13:48  castaglia

	* contrib/mod_sftp/auth.c:
	  Add trace logging of the list of SSH2 authentication methods that
	  are offered to the client.

2009-09-08 13:39  castaglia

	* contrib/mod_sftp_pam.c:
	  Remove the mod_auth_pam module from the auth-only module list
	  before we add mod_sftp_pam to that list, to ensure that
	  mod_sftp_pam is the module that is used.

2009-09-08 13:35  castaglia

	* modules/mod_auth.c:
	  Clear the auth-only module list after authentication has
	  succeeded.

2009-09-08 13:34  castaglia

	* include/auth.h, src/auth.c:
	  Add functions for removing a module from the auth-only module
	  list, and for clearing the entire auth-only module list.

2009-09-08 11:39  castaglia

	* src/bindings.c:
	  The fix for Bug#2680 checks for DefaultServer too early; we want
	  to check for any INADDR_ANY vhosts first, before resorting to
	  using the DefaultServer (if configured).

2009-09-08 10:38  castaglia

	* contrib/mod_sftp/utf8.c:
	  Simply mod_sftp's UTF8 handling code, bringing it in sync with
	  the recent changes to the core Encode API.  Specifically, do NOT
	  call setlocale(), as it is already done elsewhere.  Also, use the
	  new pr_encode_get_local_charset() instead of duplicating code
	  from the Encode API.

2009-09-08 10:28  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_lang.pm:
	  Add unit tests to ensure than the use of ".UTF-8" aliases work
	  properly for the LangDefault directive (and thus, by extension,
	  for the LANG command).

2009-09-08 10:25  castaglia

	* modules/mod_lang.c:
	  Skip the "." and ".." directory entries when scanning the
	  LangPath directory.

2009-09-07 15:21  castaglia

	* NEWS:
	  Forgot to update the NEWS file.

2009-09-07 15:20  castaglia

	* src/inet.c:
	  Don't re-declare a variable that's already in scope.

	  Be paranoid, and only avoid ENOPROTOOPT errors if that errno is
	  actually defined on the system.

2009-09-07 15:17  castaglia

	* src/inet.c:
	  Needed to revert the fix for Bug#3237, as it was causing a
	  regression on FreeBSD.  Instead, I opted to ignore the
	  ENOPROTOOPT error, which was the original cause of the reporting
	  of Bug#3237.

2009-09-06 19:03  castaglia

	* contrib/mod_quotatab.c:
	  Quell a few compiler printf warnings by using explicit typecasts.

2009-09-06 18:37  castaglia

	* include/encode.h, modules/mod_lang.c, src/encode.c, src/main.c:
	  Bug#3229 - LangDefault does not accept any setting on FreeBSD.

	  There were multiple issues involved in this one.  First, mod_lang
	  needed to handle setlocale(3) where the translated files shipped
	  with proftpd (which do not have ".UTF-8" in their names) did not
	  match the languages accepted by setlocale() on the platform (e.g.
	  where setlocale() expected names which *did* end in ".UTF-8");
	  this is handled by populating a table of language aliases.

	  Second, the initial setlocale(LC_ALL, "") call, to pick up/honor
	  the various environment variables as one would expect from a Unix
	  program, was happening in quite a few places in mod_lang.  Not
	  good.  So this was moved into the main() function, as part of the
	  initial startup.  And yes, it does check that the setlocale()
	  function call succeeds, and warns about badly configured
	  environment variables if not.

	  Last, we had to always set the LANG environment variable, in
	  order to ensure that gettext used the translated files of the
	  language to which we had switched.  While the old code would work
	  on Linux (and on Solaris...I think), it would NOT work on FreeBSD
	  (and possibly other BSD-related platforms).  It was a long
	  arduous slog to finding that using LANG was required.  Ugh.

2009-09-06 18:24  castaglia

	* contrib/mod_sql_mysql.c:
	  In the midst of investigating/fixing Bug#3229, I found out why
	  MySQL never seemed to use anything other than 'latin1' as its
	  character set name.  Mostly it was due to bugs in the proftpd
	  Encode API, but it was also partly caused by an API impedance
	  mismatch in mod_sql_mysql.  This change fixes that (and yes, I've
	  tested it using a UTF-8 language setting, and saw that MySQL
	  reported using a 'utf8' character set).

2009-09-04 22:39  castaglia

	* src/encode.c:
	  Need to set the LC_NUMERIC locale back to "C" after calling
	  setlocale() using LC_ALL.

2009-09-04 22:35  castaglia

	* src/encode.c:
	  Make sure we do an explicit setlocale() call before calling
	  nl_langinfo().  This needs to happen in the parent/daemon process
	  (i.e. when encode_init() is first called), since the child
	  processes will inherit the pointers in memory to the retrieved
	  nl_langinfo string.

2009-09-04 15:26  castaglia

	* doc/howto/ConfigFile.html:
	  Specifically mention that proftpd switches to the UID/GID of the
	  logged-in user.

2009-09-04 15:02  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_lang.pm:
	  Add unit test proving that the FEAT output does not include UTF8
	  if the LangEngine directive is set to 'off'.

2009-09-04 15:01  castaglia

	* src/encode.c:
	  Fix segfault found by the mod_lang unit tests.

2009-09-04 10:16  castaglia

	* RELEASE_NOTES:
	  Update release notes with note about scoreboard format change;
	  need to expand on this at release time, of course.

2009-09-04 10:13  castaglia

	* NEWS, contrib/mod_sftp/auth.c, contrib/mod_sftp/mod_sftp.c,
	  contrib/mod_sftp/scp.c, include/scoreboard.h, modules/mod_auth.c,
	  src/scoreboard.c, src/session.c, utils/ftptop.1.in,
	  utils/ftptop.c, utils/ftpwho.c, utils/utils.h:
	  Bug#2013 - Track RFC2228 sessions in scoreboard.  The scoreboard
	  entry format now has a 'protocol' field, for tracking 'ftp' and
	  'ftps'.

	  Bug#3286 - Client command field in scoreboard entry too short for
	  SSH2/SFTP commands.

	  These changes are combined in one change, in order to rev the
	  scoreboard format version only once for these format changes.

2009-09-02 15:30  castaglia

	* contrib/mod_sftp/scp.c:
	  When handling SCP uploads/downloads, be sure to update the
	  scorboard entry appropriately.  Since SCP doesn't have "commands"
	  or "requests" (unlike FTP and SFTP), the scoreboard entry is
	  updated with the quasi-commands "SCP_RETR" and "SCP_STOR".

2009-09-02 11:13  castaglia

	* contrib/mod_sftp/packet.c:
	  Fix the logic for determining the random length of data to read,
	  after a packet has been determined to be malformed.

2009-09-02 10:58  castaglia

	* contrib/mod_sftp/auth.c, contrib/mod_sftp/packet.c,
	  include/proftpd.h, include/session.h, modules/mod_auth.c,
	  src/data.c, src/main.c, src/session.c:
	  Move the session_set_idle() into the session.c file, and make it
	  a pr_ function.  This also updates mod_sftp to automatically mark
	  the session as "idle" whenever it is waiting to read the next
	  SSH2 message.

2009-09-01 11:39  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#3287 - MaxTransfersPerHost, MaxTransfersPerUser directives
	  not supported properly.

2009-09-01 10:18  castaglia

	* doc/contrib/mod_sftp.html:
	  Add SFTP FAQ about CBC cipher mode attacks.

2009-09-01 10:04  castaglia

	* contrib/mod_sftp/: mod_sftp.h.in, packet.c, ssh2.h:
	  Implement the recommended countermeasure for mitigating the SSH2
	  plaintext recovery attack against CBC mode ciphers described in
	  CPNI-957037:

	    http://www.cpni.gov.uk/Docs/Vulnerability_Advisory_SSH.txt

	  This also fixes a redeclaration of the SFTP_MAX_PACKET_LEN macro
	  (it was being defined in both mod_sftp.h and ssh2.h).

2009-08-31 13:40  castaglia

	* doc/howto/Controls.html:
	  Updating URLs and such in Controls howto.

2009-08-31 11:47  castaglia

	* contrib/mod_sftp/packet.c:
	  Handle ESHUTDOWN, and add a comment about why we disconnect the
	  client for these errors, rather than sending a DISCONNECT message
	  first.

2009-08-31 11:43  castaglia

	* contrib/mod_sftp/packet.c:
	  Handle a few more types of errors that we might encounter while
	  reading from a socket.

2009-08-30 11:49  castaglia

	* src/session.c:
	  Getting ready to support the "publickey" SSH2 subsystem
	  (RFC4819).

2009-08-28 10:33  castaglia

	* NEWS, RELEASE_NOTES, src/dirtree.c:
	  Bug#3279 - .ftpaccess configurations not merged properly with
	  existing configuration.

2009-08-28 09:20  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  Be a little clearer in the TOO_MANY_CONNECTIONS disconnect
	  message (but do NOT necessarily specify exactly whether it is too
	  many connections for the user, or the host...we don't want to
	  leak too much information).

2009-08-28 09:14  castaglia

	* contrib/mod_sftp/disconnect.c, contrib/mod_sftp/disconnect.h,
	  contrib/mod_sftp/mod_sftp.c, modules/mod_auth.c:
	  Make sure that mod_sftp registers event listeners for the various
	  MaxClients and MaxConnections directive.  That way, just before
	  mod_auth breaks the TCP connection, mod_sftp can send an SSH2
	  message to the client about the reason for the disconnection.

2009-08-28 07:50  castaglia

	* doc/contrib/mod_sftp.html:
	  Typos, updating wording about channel window sizes (I now know
	  why SSH2 has its own built-in flow control mechanisms, in
	  addition to TCP's flow control).

2009-08-27 11:46  castaglia

	* src/inet.c:
	  Update the copyright year range, since we just updated this file.

2009-08-27 11:45  castaglia

	* NEWS, src/inet.c:
	  Bug#3284 - Slower transfers of multiple small file transfers
	  after upgrade from 1.3.0a to 1.3.2a.

2009-08-27 11:38  castaglia

	* NEWS, src/inet.c:
	  Bug#3284 - Slower transfers of multiple small file transfers
	  after upgrade from 1.3.0a to 1.3.2a.

2009-08-26 10:23  castaglia

	* contrib/mod_sftp/: channel.c, channel.h:
	  Make sure that we do NOT increase the window size above the max
	  possible window size of 2^32-1 bytes, as per RFC4254 Section 5.2.

2009-08-25 22:23  castaglia

	* contrib/mod_sftp/: packet.c, tap.c, tap.h:
	  Make sure that if a TAP packet is sent, it appears in the same
	  TCP packet as the following "real" packet when possible.  I.e.
	  make sure that the data for both the TAP packet and the real
	  packet appear in the same writev(2) call, rather than having
	  separate writev(2) calls (which ends up being separate TCP
	  packets, which negates the whole purpose of trying to mitigate
	  TCP traffic analysis via TAP packets).

2009-08-25 09:59  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/STOR.pm:
	  Add unit test showing that using STOR to upload a file whose name
	  contains multiple consecutive periods does indeed work as
	  expected.  A user in the online forums is having an issue with
	  this scenario; I suspect it is due to something in the
	  proftpd.conf.

2009-08-25 08:59  castaglia

	* contrib/mod_sftp/: kex.c, tap.c, tap.h:
	  Rename the 'cbc-mode' TAP policy to 'rogaway', to be more clear
	  (and interesting).

2009-08-24 22:07  castaglia

	* contrib/mod_sftp/: kex.c, mod_sftp.c, tap.c, tap.h:
	  Protect against the Rogaway CBC mode attack (see RFC4251, Section
	  9.3.1) by sending IGNORE messages before every outgoing message
	  if a CBC mode cipher is chosen for server-to-client messages.

2009-08-24 17:24  castaglia

	* contrib/mod_sftp/scp.c:
	  Adding comment/note to myself for future tweaking.

2009-08-23 19:16  castaglia

	* contrib/mod_sftp/: channel.c, channel.h, scp.c:
	  Fix a rather egregious bug in the SCP download code.	We were
	  reading the entire file being downloaded into memory, and sending
	  (or buffering) the data for it BEFORE returning back to handling
	  any messages which may have been sent by the client while we were
	  reading.  If the file is larger than the default/initial window
	  size, then we end up buffering.  We only drain that buffered data
	  once the file had been read in its entirety, and we go back and
	  handle any WINDOW_ADJUST messages, which then open the window
	  again and we can drain our data.

	  Now imagine if that file is large, say, >4GB.  The client sends
	  its WINDOW_ADJUST messages, but mod_sftp never gets around to
	  listening to them for quite a while.	Not good.  The fix, then,
	  is to have the SCP download code check the window size
	  periodically.  If the window closes, then handle enough messages
	  from the client until the window opens again.

2009-08-23 16:58  castaglia

	* src/pidfile.c:
	  In the mod_sftp unit test for handling SIGTERM, I noticed that
	  one of the configured SFTPHostKey files kept disappearing (as in,
	  being deleted) once the server was shut down.  Another mod_sftp
	  user has reported seeing the same symptoms, only intermittently.
	  I was finally able to track down the cause.

	  Turns that the PidFile handling code was not being very careful
	  about making sure that the static pidfile_path pointer kept
	  pointing to the same memory.	The pointer used for looking up the
	  PidFile directive was the same pointer; and if the lookup
	  failed/changed, the pointer could change.  And, say, point at
	  some other file.  Then, when the server shut down and deleted its
	  PidFile, well, that other file might be deleted.  Not desirable
	  behavior.

2009-08-21 19:57  castaglia

	* contrib/mod_sftp/channel.c:
	  When mod_sftp is calculating the amount of data it can send in
	  CHANNEL_DATA messages, it was taking the 9 bytes of header data
	  (packet type, channel ID, payload len) into account when it
	  should not.  For very large data transfers, it means that
	  mod_sftp's idea of the open channel window size could get out of
	  sync with the client.  And if the client didn't send a
	  WINDOW_ADJUST message in time, it could lead to deadlock.  Let's
	  hope this fixes that deadlock situation.

2009-08-19 14:20  castaglia

	* contrib/mod_sftp/auth.c:
	  The mod_sftp module was looking up any DefaultChdir config
	  directive, but was not honoring it properly.

2009-08-19 14:18  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit test for DefaultChdir config in mod_sftp.

2009-08-19 11:30  castaglia

	* NEWS, contrib/mod_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Bug#3282 - With "SQLNegativeCache on", mod_sql will look up wrong
	  cached user value for subsequent USER commands.

2009-08-14 19:55  castaglia

	* tests/: tests.pl, t/config/ftpaccess/merging.t,
	  t/lib/ProFTPD/Tests/Config/FTPAccess/Empty.pm,
	  t/lib/ProFTPD/Tests/Config/FTPAccess/Merging.pm:
	  Adding unit tests derived from investigations into Bug#3279.

2009-08-14 19:43  castaglia

	* src/dirtree.c:
	  Sigh; fix the spacing in these HideFiles log messages again.

2009-08-14 18:57  castaglia

	* modules/mod_ls.c:
	  The tweaks to mod_ls' option parsing code for Bug#3268 were not
	  quite sufficient; they would cause erroneous errors (e.g. on PPC
	  machines) in some cases.

2009-08-14 08:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Add another unit test related to Bug#3276, this one demonstrating
	  that "HideFiles none" works as expected.

2009-08-14 07:36  castaglia

	* src/dirtree.c:
	  Fix the spacing of the log messages about negated (or not)
	  HideFiles directives.

2009-08-13 14:31  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Add another unit test for Bug#3276, this one using DefaultRoot
	  and a LIST command which doesn't specify the target directory
	  (i.e. list the current directory).

2009-08-13 14:12  castaglia

	* NEWS, contrib/mod_radius.c, modules/mod_xfer.c, src/data.c:
	  Bug#3278 - Aborted data transfers not reflected in RADIUS
	  accounting.

2009-08-13 13:54  castaglia

	* tests/t/: lib/ProFTPD/Tests/Modules/mod_radius.pm,
	  modules/mod_radius.t:
	  Add unit tests for mod_radius.  I won't add these to the default
	  testsuite (i.e. when mod_radius is enabled in the built proftpd),
	  since they currently require that you're running a RADIUS server
	  (e.g. FreeRADIUS).  But these help for when I need to work on
	  mod_radius.

2009-08-13 12:09  castaglia

	* contrib/mod_radius.c:
	  Fix compiler warnings about signedness mismatches.

2009-08-12 15:16  castaglia

	* modules/mod_core.c, src/dirtree.c:
	  Add some additional debug logging of handling of HideFiles
	  directive, and include the negation flag in the logging.
	  (Switched to using 'negated' rather than 'inverted'; the former
	  is more applicable, I think.)

2009-08-12 15:13  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Add HideFiles test using negation; used this test when
	  investigating a HideFiles issue reported on forums.proftpd.org
	  which is quite similar to Bug#3276.

2009-08-12 14:16  castaglia

	* doc/contrib/mod_sftp.html:
	  Remove mention of the GB/MB suffixes for channelPacketSize; this
	  size cannot exceed the protocol maximum of 35000 bytes.

2009-08-11 08:27  castaglia

	* doc/howto/Authentication.html:
	  Orthographic correction.

2009-08-10 10:05  castaglia

	* NEWS:
	  Had the bug number wrong; should be Bug#3252, not Bug#3272.

2009-08-10 10:01  castaglia

	* NEWS, src/fsio.c:
	  Bug#3272 - %F/%f Display variables can report wrong size on
	  64-bit systems.

2009-08-06 13:48  castaglia

	* contrib/mod_sftp/rfc4716.c:
	  Quibble, quibble.

2009-08-06 11:17  castaglia

	* contrib/mod_sftp/rfc4716.c:
	  Thinko.

2009-08-06 10:27  castaglia

	* contrib/mod_tls.c:
	  Add a function to get a printable version of a suspicious dNSName
	  value; related to Bug#3275.

2009-08-06 09:58  castaglia

	* NEWS, contrib/mod_tls.c,
	  tests/t/etc/modules/mod_tls/ca-nul-subjaltname.pem,
	  tests/t/etc/modules/mod_tls/cert-nul-subjaltname.pem,
	  tests/t/etc/modules/mod_tls/key-nul-subjaltname.pem,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Bug#3275 - Improper SSL/TLS certificate subjectAltName
	  verification.

2009-08-05 15:08  castaglia

	* src/encode.c:
	  When comparing the local and remote charsets, in some cases we
	  don't need to check for null pointers (already checked earlier in
	  the function in those cases), and in other cases we *do* need to
	  check for null pointers.

2009-08-05 15:03  castaglia

	* src/encode.c: [no log message]

2009-08-05 14:03  castaglia

	* modules/mod_lang.c:
	  Try to make for better, more informative error messages if we
	  fail to set the locale.

2009-08-05 10:31  castaglia

	* src/data.c:
	  We handle signals in pr_data_xfer() when writiing; we should do
	  the same when reading.

2009-08-05 08:07  castaglia

	* modules/mod_lang.c:
	  Declaring the curr_locale variable in the right scope helps to
	  make the code actually compile properly.

2009-08-05 06:34  castaglia

	* modules/mod_lang.c:
	  When scanning the LangPath directory, we don't need to
	  save/restore the current locale on each file found in the
	  directory.  Just do the save/restore once for the entire scan
	  loop.

2009-08-04 10:34  castaglia

	* doc/contrib/mod_sql.html:
	  Document the new "noReconnect" SQLOption added as part of
	  Bug#3270.

2009-08-04 10:32  castaglia

	* NEWS, contrib/mod_sql.c, contrib/mod_sql.h,
	  contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c:
	  Bug#3270 - Lost connections to databases not correctly handled.

2009-08-04 08:59  castaglia

	* NEWS, contrib/mod_sftp/utf8.c, src/encode.c:
	  Bug#3272 - Avoid encoding if to/from charsets are the same.

2009-08-04 08:53  castaglia

	* NEWS, src/support.c:
	  Bug#3274 - Timestamp formatting in TransferLog needs padded
	  day-of-month.

2009-08-02 15:08  castaglia

	* contrib/mod_sql_postgres.c:
	  Log the Postgres client version to the SQLLogFile, and log it at
	  the same time as we log the server version.  This will make
	  finding/reporting these versions easier.

2009-08-02 14:44  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Report on the database client and server versions, when known.

2009-07-30 09:03  castaglia

	* contrib/mod_sftp/fxp.c:
	  Fix compilation error on AIX5.

2009-07-29 13:59  castaglia

	* NEWS, modules/mod_ls.c, src/fsio.c,
	  tests/t/lib/ProFTPD/Tests/Commands/NLST.pm:
	  Bug#3254 - NLST/LIST and symbolic link problem.

2009-07-28 21:41  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/LIST.pm:
	  Add unit test for LIST command for Bug#3254.

2009-07-28 09:20  castaglia

	* contrib/mod_sftp/fxp.c:
	  Some errno values are defined to be the same on AIX, which is
	  causing mod_sftp not to compile properly:

	    http://forums.proftpd.org/smf/index.php/topic,3971.0.html

	  Hopefully this change works around the issue and still preserves
	  the desired functionality.

2009-07-27 08:29  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Fix unit test which broke due to changes in mod_sftp's SCP
	  support for the %F variable.	(The test code was broken, not the
	  source code.)

2009-07-27 08:25  castaglia

	* contrib/mod_sftp/channel.c:
	  Missed one change from the weekend's mod_sftp hacking.

2009-07-26 18:00  castaglia

	* contrib/mod_sftp/: channel.c, channel.h, fxp.c, fxp.h,
	  mod_sftp.h.in, scp.c, scp.h:
	  Added an API by which a module, outside of mod_sftp, can register
	  handlers for an 'exec' command.  This allows other modules to use
	  SSH2 as the transport, and to implement whatever logic they wish
	  outside of mod_sftp.	(There is an issue of code load order and
	  link-time symbol resolution; for now, I'm punting on this issue.)

2009-07-25 20:16  castaglia

	* contrib/mod_sftp/channel.c:
	  It's possible for an SSH2 client to open a channel, and then send
	  an 'exec' request which mod_sftp does not support.  We send a
	  failure message in such cases, but the channel remains open.	So
	  if the client ignores our error message and then sends channel
	  data to the exec'd command, well...the process might wander off
	  into the weeds.  Not desirable behavior.  To catch this case, we
	  simply need to make sure that a channel data handler has been
	  registered.  If not, reject the packet.

2009-07-24 10:31  castaglia

	* contrib/mod_sql.c:
	  To help find out why configurations may not work as expected, log
	  when we search for a SQLNamedQuery and don't find it.  I just saw
	  a config which had mismatched names between the configured
	  SQLNamedQuery, and the name used in a SQLShowInfo parameter.

2009-07-23 10:45  castaglia

	* modules/mod_delay.c:
	  Add a long explanatory comment about the DELAY_NPROTO value.
	  Also, the value of 4 was too high; we currently only support
	  three protocols in the DelayTable: ftp, ftps, and ssh2.  No need
	  to allocate empty rows in the table.

2009-07-23 08:18  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Fix the broken test for Bug#3164 by adding a slight delay, to
	  give our out-of-band update to the SQLite database time to be
	  applied.

2009-07-23 08:07  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Add unit test for handling of DELE in mod_quotatab.

2009-07-23 08:04  castaglia

	* doc/howto/Quotas.html:
	  Add another quota FAQ.

2009-07-23 07:37  castaglia

	* contrib/mod_rewrite.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Clean up dead code in mod_rewrite.c.	Check for bad/unknown
	  RewriteCondition flags, and handle them as a configuration error.

	  Add unit test for the "[NC]" RewriteCondition flags.

2009-07-22 20:11  castaglia

	* NEWS, contrib/mod_rewrite.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Bug#3269 - RewriteCondition OR/ornext flag does not work.

2009-07-22 19:34  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Add a unit test showing that mod_rewrite's handling of
	  RewriteConditions's OR flag is broken.

2009-07-22 14:37  castaglia

	* src/display.c:
	  Fix a regression in the 1.3.3rc1 code, where a DisplayConnect
	  file would be sent to the client -- and then an extra line with a
	  220 response code would be sent.  This, in addition to the 220
	  line with the normal banner.	The extra 220 response line was
	  confusing some clients (and rightly so).

2009-07-22 09:57  castaglia

	* modules/mod_delay.c:
	  Add paranoid check that an array pointer is non-null before we
	  use it.

2009-07-21 16:38  castaglia

	* contrib/mod_sql.c:
	  Add handling of signals in the loops which process the various
	  info directives (e.g. SQLShowInfo, SQLLog, etc).  Also use
	  check_response() more throughout the code; this function checks
	  for unrecoverable backend errors and -- depending on the config
	  -- will disconnect the session if such an error occurs.

2009-07-21 16:21  castaglia

	* contrib/mod_sql.c:
	  Make sure that mod_sql logs the corresponding "leaving func"
	  message in some cases; it wasn't doing so.

2009-07-21 15:20  castaglia

	* contrib/mod_sftp/scp.c:
	  Update the session.xfer.path field, when handling uploads via
	  SCP, when we have received enough information from the client to
	  know the full path.

2009-07-21 15:06  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  If mod_sftp is built using the RPM .spec file, then we need to
	  take into account some of the config files that mod_sftp includes
	  (e.g. blacklist.dat and dhparams.pem).

2009-07-21 15:01  castaglia

	* contrib/mod_sftp/mod_sftp.h.in:
	  Bump the mod_sftp version in CVS, to differentiate it from the
	  version of mod_sftp available on castaglia.org.  The CVS version
	  is vastly improved.

2009-07-21 09:26  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Attempt to add support for mod_sftp to the .spec file.

2009-07-21 08:47  castaglia

	* NEWS, RELEASE_NOTES, modules/mod_log.c,
	  tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm:
	  Bug#1908 - ExtendedLog to work properly in <Anonymous> context.

2009-07-20 21:58  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add a unit test for the %f/%F LogFormat variables when used for
	  an SCP upload; I'm trying to reproduce a reported issue when
	  using these variables and uploading via SCP, but to no avail as
	  yet.

2009-07-20 21:32  castaglia

	* NEWS, modules/mod_ls.c,
	  tests/t/lib/ProFTPD/Tests/Commands/LIST.pm,
	  tests/t/lib/ProFTPD/Tests/Commands/NLST.pm:
	  Bug#3268 - Files whose names start with whitespace are not listed
	  properly.

2009-07-20 17:25  castaglia

	* contrib/mod_sftp/fxp.c:
	  More explanatory comments, for my future reference.

2009-07-20 17:19  castaglia

	* contrib/mod_sftp/fxp.c:
	  Add comment describing the implementation of the RENAME handler,
	  and how it is technically nonconformant in particular cases.

2009-07-20 17:11  castaglia

	* contrib/mod_sftp/fxp.c:
	  Still trying to properly map the V5 OPEN flags/bitmasks to
	  open(2) flags.

2009-07-20 14:07  castaglia

	* contrib/mod_sftp/fxp.c, doc/contrib/mod_sftp.html:
	  The STAT, FSTAT, and LSTAT SFTP requests are no longer limited
	  when using <Limit READ>.  Instead, each of these requests can be
	  limited by using the request name directly.

2009-07-20 11:43  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add a unit test using the %s LogFormat variable for write
	  requests in an SFTP session; this complements the existing %s
	  LogFormat variable test for SFTP read requests.

2009-07-20 11:33  castaglia

	* contrib/mod_sftp/fxp.c:
	  Clear the response lists before dispatching the STOR cmd_rec when
	  handling aborted upload file handles in an SFTP session.

2009-07-20 11:22  castaglia

	* contrib/mod_sftp/fxp.c:
	  If the SFTP client left a directory handle open, then we need to
	  handle it as a *directory*, not as a file, in the aborted-handles
	  code.  Otherwise, segfaults will happen.

2009-07-20 08:41  castaglia

	* doc/contrib/mod_sftp.html:
	  Removed duplicated text.

2009-07-19 19:37  castaglia

	* contrib/mod_sftp/keys.c:
	  Update the handling of the SFTPPassPhraseProvider config with
	  tweaks found from working on mod_exec.

2009-07-19 18:13  castaglia

	* tests/tests.pl:
	  Add support for a --verbose command-line option to the tests.pl
	  testsuite driver.  Using --verbose will set the TEST_VERBOSE
	  environment variable.  This is particularly useful when running
	  the testsuite (or individual test files) as root using sudo; sudo
	  (depending on the version) prevents environment variables from
	  being communicated to the executed program.

2009-07-19 17:18  castaglia

	* NEWS, src/auth.c:
	  Bug#2070 - AuthAliasOnly off in <Global> section kills anonymous
	  logins.

2009-07-19 17:17  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Fix up minor issues in the test code found by the Perl
	  interpreter in strict mode.

2009-07-19 17:08  castaglia

	* tests/t/lib/ProFTPD/Tests/: Config/Limit/SubDirectories.pm,
	  Logging/ExtendedLog.pm:
	  Fix variable redeclarations, and soothe the savage Perl
	  interpreter beast.

2009-07-19 16:35  castaglia

	* tests/: tests.pl, t/config/authaliasonly.t,
	  t/lib/ProFTPD/Tests/Config/AuthAliasOnly.pm:
	  Add unit tests for the AuthAliasOnly directive, including a test
	  which reproduces Bug#2070.

2009-07-19 15:23  castaglia

	* tests/: tests.pl, t/config/authusingalias.t,
	  t/lib/ProFTPD/Tests/Config/AuthUsingAlias.pm:
	  Add unit tests for the AuthUsingAlias directive.

2009-07-19 14:24  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Utils/ftpwho.pm,
	  t/utils/ftpwho.t:
	  Start adding unit tests for the ftpwho utility.

2009-07-19 13:18  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Utils/ftpcount.pm,
	  t/utils/ftpcount.t:
	  Start of unit tests for the ftpcount utility.

2009-07-19 12:11  castaglia

	* contrib/mod_exec.c:
	  When executing the command and the 'useStdin' ExecOption has been
	  used, we should at least provide the first command-line argument,
	  which, by convention, is the name of the file being executed.

2009-07-19 12:07  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Add unit test for the ExecOnRestart directive.

2009-07-19 12:06  castaglia

	* contrib/mod_exec.c:
	  Add handling of signals to some while() loops.

2009-07-18 15:58  castaglia

	* contrib/mod_exec.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Added unit tests for the various ExecOptions values.	Along the
	  way, I found (and fixed) several bugs in mod_exec.  Three cheers
	  for testing!

2009-07-18 12:50  castaglia

	* doc/contrib/mod_exec.html:
	  Fix typos, update mod_exec doc to point to local copy of Logging
	  howto.

2009-07-18 12:38  castaglia

	* tests/: tests.pl, t/config/useglobbing.t,
	  t/lib/ProFTPD/Tests/Config/UseGlobbing.pm:
	  Add unit test for the UseGlobbing directive.

2009-07-18 12:29  castaglia

	* tests/: tests.pl, t/config/userpassword.t,
	  t/lib/ProFTPD/Tests/Config/UserPassword.pm:
	  Add unit test for the UserPassword directive.

2009-07-17 18:51  castaglia

	* doc/howto/TLS.html:
	  Update the TLS howto FAQ regarding implicit FTPS to reflect the
	  addition of implicit FTPS support (in Bug#3266).

2009-07-17 18:48  castaglia

	* NEWS, contrib/mod_tls.c, doc/contrib/mod_tls.html,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Bug#3266 - Support "implicit" FTPS.

2009-07-17 09:35  castaglia

	* modules/mod_dso.c:
	  If mod_dso can't load a module because the module doesn't exist
	  in the expected ModulePath, it emits a warn.	Log that at the
	  INFO level, rather than at a DEBUG level.

2009-07-16 18:16  castaglia

	* modules/mod_ctrls.c:
	  If ControlsEngine is set to 'off', then we should not try to
	  listen on the ControlsSocket.

2009-07-16 18:10  castaglia

	* modules/mod_dso.c:
	  Improve on the errors reported by mod_dso when a module can't be
	  loaded.  The cause of the infamous "error loading ...: Permission
	  denied" error is actually most likely to be a ModulePath that is
	  an empty directory, but you would have no way of knowing/guessing
	  that from the emitted error.

2009-07-16 14:28  castaglia

	* configure:
	  Forgot to check in the updated configure script.

2009-07-16 13:47  castaglia

	* doc/howto/Umask.html:
	  Add a FAQ to the Umask howto explaining why proftpd does not
	  allow uploading of files with execute permissions.

2009-07-16 11:15  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_shaper.pm,
	  t/modules/mod_shaper.t:
	  Start adding unit/regression tests for the mod_shaper module.

2009-07-16 10:52  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/CreateHome.pm:
	  Add unit test for CreateHome's 'dirmode' parameter.

2009-07-15 14:59  castaglia

	* config.h.in, configure.in, src/main.c:
	  Add an autoconf check for the uname() function, in case the
	  platform does not actually provide one.  (Handy for older and/or
	  more esoteric platforms).

2009-07-15 14:41  castaglia

	* contrib/mod_sftp/fxp.c:
	  Use the SFTP session's pool, rather than the Response API pool,
	  for adding our status codes.

2009-07-15 14:25  castaglia

	* src/main.c:
	  Use uname(2) to get more platform details (OS and version,
	  machine/CPU type) for the -V settings.  Easier than asking people
	  about the platform they're running proftpd on; just ask for the
	  -V output.

2009-07-15 09:37  castaglia

	* contrib/mod_sftp/fxp.c:
	  Simplify the obtaining of proper open(2) flags when handling
	  version 5 (and higher) SFTP OPEN requests.

2009-07-14 22:59  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Add unit test demonstrating, via mod_exec, a use of the new
	  %{bytes_xfer} variable.

2009-07-14 22:58  castaglia

	* modules/mod_core.c:
	  Add support for a %{bytes_xfer} variable.  Similar to the
	  existing %{total_bytes_xfer} variable, only this new variable
	  only shows the number of bytes in the recent data transfer (if
	  any), rather than the cumulated count of bytes transferred during
	  the lifetime of the session.

2009-07-14 15:40  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit test for the %s LogFormat variable in ExtendedLogs for
	  SFTP requests.

2009-07-14 14:31  castaglia

	* contrib/mod_sftp/fxp.c:
	  Dispatch to the correct POST_CMD/LOG_CMD (or
	  POST_CMD_ERR/LOG_CMD_ERR) handlers.  Specifically, do NOT
	  dispatch EOF errors (when reading) to _ERR handlers; the way that
	  SFTP reads work, this is normal.

2009-07-14 11:46  castaglia

	* contrib/mod_exec.c:
	  Handle signals/interruptions in the potentially
	  long/time-consuming loop as we close any open file descriptors
	  before exec'ing the configured command.

2009-07-14 09:27  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Add a quote() method to the TestSuite::FTP class, for quoting
	  raw/arbitrary commands to send to the server.

2009-07-09 00:18  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Add unit tests for ExecOnError.

2009-07-09 00:17  castaglia

	* contrib/mod_exec.c:
	  Guard against having getrlimit(2) return an obscenely high number
	  of maximum open file descriptions (e.g. RLIMIT_INFINITY); this
	  was causing mod_exec to not work as expected on Mac OSX 10.4.

2009-07-08 18:32  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Add unit test for ExecOnExit.

2009-07-08 18:29  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_exec.pm:
	  Adding more mod_exec unit tests, including one for the "%{...}"
	  variable support.

2009-07-08 18:27  castaglia

	* contrib/mod_exec.c:
	  Add support for the Variables API-style "%{...}" variables to
	  mod_exec's variable interpolation.  For example, you could now
	  do:

	    ExecOnExit /bin/bash -c "echo %{total_bytes_out} >>
	  bytes-downloaded.txt"

	  and it would work properly.

2009-07-08 18:12  castaglia

	* contrib/mod_exec.c:
	  Fix off-by-one error which caused mod_exec to log all but the
	  last parameter when calling exec.

2009-07-08 18:11  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_exec.pm,
	  t/modules/mod_exec.t:
	  Start working on unit tests for the mod_exec module.

2009-07-08 16:43  castaglia

	* lib/sstrncpy.c:
	  Catch a possible null pointer exception in sstrncpy(), if the src
	  pointer provided by the caller is null.

2009-07-08 13:29  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Allow the Port that appears in the testsuite proftpd.conf files
	  to be settable directly by the unit test.

2009-07-08 11:16  castaglia

	* contrib/mod_sftp/fxp.c:
	  Oops.  We only want to set the O_RDONLY flag, not to obliterate
	  any other bits/flags set to only have O_RDONLY.

2009-07-08 11:06  castaglia

	* contrib/mod_sftp/fxp.c:
	  Attempt to work around bugs in SFTP clients using protocol
	  version 5 or higher whose OPEN requests do not include the proper
	  bits set for indicating whether O_RDONLY, O_RDWR, or O_WRONLY
	  should be used.  The workaround is to attempt to infer which of
	  the O_ flags to use from the other bits the client might have
	  provided.

2009-07-06 08:28  castaglia

	* NEWS, src/dirtree.c:
	  Bug#3221 - Fixed regression causing command-line -D/--define
	  options not to work.

2009-07-05 20:13  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2758 - ProFTPD doesn't always pay attention to AccessDenyMsg.

2009-07-05 20:11  castaglia

	* tests/: tests.pl, t/config/accessdenymsg.t,
	  t/lib/ProFTPD/Tests/Config/AccessDenyMsg.pm:
	  Add unit tests for the AccessDenyMsg config directive.

2009-07-05 19:35  castaglia

	* tests/: tests.pl, t/config/accessgrantmsg.t,
	  t/lib/ProFTPD/Tests/Config/AccessGrantMsg.pm:
	  Add unit tests for the AccessGrantMsg config directive.

2009-07-05 19:15  castaglia

	* tests/: tests.pl, t/config/useralias.t,
	  t/lib/ProFTPD/Tests/Config/UserAlias.pm:
	  Add unit tests for the UserAlias config directive.

2009-07-05 12:36  castaglia

	* contrib/mod_sftp/fxp.c:
	  Handle the NAMED_ATTRS read and write flags in a SFTP open
	  request, protocol version 5 or later.  Also be sure to handle the
	  case where the client may send desired access flags which seem to
	  be read-only, but also send open flags which indicate append.

2009-07-04 19:02  castaglia

	* contrib/mod_sftp/fxp.c:
	  Make sure to dispatch {POST,LOG}_CMD_ERR commands for aborted
	  SFTP files, so that modules like mod_exec's ExecOnError can work
	  properly.

2009-07-04 18:48  castaglia

	* contrib/mod_sftp/scp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  The mod_sftp module was not honoring a configuration like:

	    <Limit WRITE>
	      DenyAll
	    </Limit>

	    <Directory ~/*/*>
	      <Limit STOR>
		AllowAll
	      </Limit>
	    </Directory>

	  the same way between SFTP and SCP uploads.  SFTP uploads were
	  allowed properly, but SCP uploads were not.  Turned out to be a
	  problem with the path that was being used in the dir_check()
	  calls in the SCP code; the full path was not being used as it
	  should.

	  Also fixed a problem where an SCP client might send duplicate
	  filename info (once in the channel request, once in the fileinfo
	  control message).

2009-07-03 18:33  castaglia

	* src/main.c:
	  Install our signal handlers earlier in the startup process.  The
	  driving force behind this change is to get our SIGSEGV handler
	  installed prior to parsing the config file; this way if a
	  segfault occurs AND --enable-devel=stacktrace has been used, we
	  can get the stack trace for a parsing segfault.

	  By the time the signal handlers were being installed (i.e. after
	  parsing) this would not have been possible.

2009-07-03 18:02  castaglia

	* doc/howto/Filters.html:
	  When compiling POSIX regular expressions using patterns which
	  include character classes like 'blank' et al, you DO need to use
	  two square brackets, not just one.

2009-07-03 17:34  castaglia

	* NEWS, contrib/mod_sftp/auth.c, contrib/mod_sftp/channel.c,
	  contrib/mod_sftp/fxp.c, contrib/mod_sftp/kex.c,
	  contrib/mod_sftp/service.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Bug#3265 - SFTP requests are logged to ExtendedLog without regard
	  to classes.

	  The cmd_rec.class field needed to be set on the SSH2 and SFTP
	  cmd_recs used.

2009-07-03 16:02  castaglia

	* NEWS, contrib/mod_sftp/mod_sftp.c:
	  Bug#3263 - Supplying optional SFTPRekey timeout parameter causes
	  segmentation fault.

2009-07-01 11:18  castaglia

	* doc/contrib/mod_sql.html:
	  Mention that --enable-openssl can be used to enable the OpenSSL
	  SQLAuthType.

2009-06-30 20:22  castaglia

	* include/version.h:
	  Update the version.h file for the next RC release.

2009-06-30 19:50  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2009-06-30 19:50  castaglia

	* NEWS, RELEASE_NOTES, contrib/dist/rpm/proftpd.spec,
	  include/version.h:
	  Updating the files for the release of 1.3.3rc1.

2009-06-30 18:43  castaglia

	* ChangeLog:
	  Updated change log for 1.3.2a.

2009-06-30 18:41  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Update the version in the RPM spec file.

2009-06-30 18:38  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Update mod_tls unit tests to reflect behavior of newer
	  Net::FTPSSL Perl module.

2009-06-30 18:29  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Quell Perl interpreter warnings about redeclared variables.

2009-06-30 18:29  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Remove unit test for bug not fixed in this release.  Quell Perl
	  interpreter warnings about redeclared variables.

2009-06-30 18:17  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  More handling of spelling differences across systems.

2009-06-30 18:03  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/TimeoutLogin.pm:
	  Cleanup of these older tests.

2009-06-30 17:58  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/MaxStoreFileSize.pm:
	  Account for spelling differences among different systems.

2009-06-30 17:57  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/ABOR.pm:
	  Fix the use of regexes in the unit tests; I was comparing the two
	  operands in the wrong order.

2009-06-30 17:49  castaglia

	* modules/mod_auth.c,
	  tests/t/lib/ProFTPD/Tests/Config/MaxLoginAttempts.pm:
	  Setting "MaxLoginAttempts 1" would cause even the first login to
	  fail, which is not the desired behavior.  (The auth_tries
	  variable was incremented using a prefix operator, rather than
	  postfix operator.)

	  The code was also not properly honoring the seldom-used
	  "MaxLoginAttempts none".

	  Adjust MaxLoginAttempts unit tests accordingly.

2009-06-30 17:27  castaglia

	* modules/mod_xfer.c:
	  Backport of segfault fix when a data transfer is aborted by a
	  client.

2009-06-30 17:27  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/ABOR.pm:
	  Modify ABOR tests to handle different response codes/messages
	  depending on the particular timing of the handling of the ABOR by
	  proftpd.

2009-06-30 17:26  castaglia

	* modules/mod_xfer.c:
	  Fix possible segfault (picked up by a unit test) when a data
	  transfer is aborted.

2009-06-30 16:55  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/ABOR.pm:
	  Typo.

2009-06-30 16:45  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/HELP.pm:
	  Update the HELP unit test to work properly in the case where
	  mod_tls is present.

2009-06-30 16:43  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Typo.

2009-06-30 16:31  castaglia

	* src/help.c:
	  Actually make the code do what the comment (correctly) says it
	  does.

2009-06-30 15:46  castaglia

	* RELEASE_NOTES:
	  Updating release notes for 1.3.2a maintenance release.

2009-06-30 15:38  castaglia

	* RELEASE_NOTES:
	  Mention the support for TimeoutLogin for the BanOnEvent
	  directive.

2009-06-30 14:20  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Correct the unit test which defines custom SQLGroupInfo queries;
	  the group lookup by member query was incorrect.

2009-06-30 14:05  castaglia

	* RELEASE_NOTES, doc/contrib/mod_sql.html:
	  Working on documentation for new/changed features for the
	  upcoming 1.3.3rc1 release.

2009-06-30 10:22  castaglia

	* NEWS, modules/mod_auth.c, modules/mod_core.c, src/dirtree.c:
	  Bug#3243 - Broken support for AllowOverride per user/group/class
	  conditionals.

2009-06-30 10:09  castaglia

	* modules/mod_cap.c:
	  Use pr_module_exists() consistently; it more accurately describes
	  the check that is being made.

2009-06-30 10:00  castaglia

	* NEWS, doc/modules/mod_cap.html, modules/mod_cap.c:
	  Bug#3257 - CAP_AUDIT_WRITE capability needed for some PAM
	  modules.

2009-06-30 09:53  castaglia

	* NEWS, doc/modules/mod_cap.html, modules/mod_cap.c:
	  Bug#3257 - CAP_AUDIT_WRITE capability needed for some PAM
	  modules.

2009-06-30 09:48  castaglia

	* contrib/mod_sql_sqlite.c:
	  Backport the SQLite fix for mod_sql_sqlite, so that if a new
	  enough version of SQLite is used, mod_sql_sqlite will be able to
	  support SQLLog directives in a chrooted session.

2009-06-30 09:44  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_odbc.c, mod_sql_postgres.c,
	  mod_sql_sqlite.c:
	  Bug#3259 - Adding second database connection causes segfault.

2009-06-30 09:42  castaglia

	* contrib/mod_sql_odbc.c:
	  Fix some compiler warnings about shadowed variables in
	  mod_sql_odbc.

2009-06-30 09:41  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_odbc.c, mod_sql_postgres.c,
	  mod_sql_sqlite.c:
	  Bug#3259 - Adding second database connection causes segfault.
	  The array_header containing the conn_entry_t objects was
	  allocated using the incorrect data size.

2009-06-30 09:04  castaglia

	* tests/: tests.pl, t/config/limit/subdirs.t,
	  t/lib/ProFTPD/Tests/Config/Limit/SubDirectories.pm:
	  Add unit test demonstrating how Bug#3077 can cause some
	  unexpected <Limit> configurations, due to need to handle the
	  X-variant commands.

2009-06-29 17:50  castaglia

	* NEWS, contrib/mod_tls.c, modules/mod_xfer.c, src/main.c:
	  Bug#3256 - "SO_OOBINLINE" error occuring again.  This is a
	  regression of Bug#2332 caused by code movement in 1.3.2.

	  Bug#3258 - Log cluttered with "using sendfile capability"
	  messages.

	  Bug#3261 - Badly formatted TLSRenegotiate directive causes
	  proftpd to hang.

2009-06-29 17:33  castaglia

	* contrib/mod_tls.c:
	  Fix a bug in mod_tls' parsing of the TLSRenegotiate directive, as
	  per:

	    https://bugzilla.redhat.com/show_bug.cgi?id=476847

	  No one was nice enough to report that bug in the ProFTPD
	  Bugzilla, though.

2009-06-29 16:02  castaglia

	* contrib/: mod_sql.c, mod_sql_postgres.c:
	  Bug#3251 - mod_sql_postgres should be more verbose when failing
	  the "Backend" SQLAuthType check.

2009-06-29 13:36  castaglia

	* contrib/mod_sql_mysql.c:
	  Stylistic nits; no functional change.

2009-06-29 10:18  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#3258 - Log cluttered with "using sendfile capability"
	  messages.

2009-06-29 10:10  castaglia

	* doc/contrib/mod_sql_sqlite.html:
	  Mention that SQLite-3.6.5 or later is required for mod_sql_sqlite
	  to properly support SQLLog directives for chrooted processes.

2009-06-28 22:31  castaglia

	* contrib/mod_sql_sqlite.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Fix mod_sql_sqlite to work properly, with regard to SQLLog
	  updates, in a chrooted process.  Note that this only works for
	  SQLite-3.6.5 and later.  Also add slightly more information if
	  the database file for mod_sql_sqlite cannot be opened, or when
	  the SQLLog query fails because the file cannot be opened.

	  Add an accompanying unit test for the chrooted behavior of
	  mod_sql_sqlite.

2009-06-25 13:35  castaglia

	* doc/howto/SQL.html:
	  Replace the URLs to castaglia.org with URLs to proftpd.org.

2009-06-24 16:44  castaglia

	* src/main.c:
	  If --enable-devel=stacktrace is used, then an asynchronous
	  handler for SIGSEGV is installed.  That handler doesn't go
	  through pr_signals_handle(), so we need to make sure that the
	  table code knows that it's still in a signal-handling state for
	  this SIGSEGV handler.

2009-06-23 16:15  castaglia

	* RELEASE_NOTES:
	  Update the release notes; I still need to flesh out the
	  descriptions more before doing the 1.3.3rc1 release.

2009-06-22 13:54  castaglia

	* NEWS, src/main.c:
	  Bug#3256 - "SO_OOBINLINE" error occuring again.  This is a
	  regression of Bug#2332, caused by code movement in 1.3.2.

2009-06-22 11:10  castaglia

	* src/fsio.c:
	  The bug in pr_fsio_futimes(), where we were not calling the
	  proper futimes() handler, occurred in pr_fsio_faccess() as well;
	  it would result in another segfault, if the registered FS did not
	  provide a faccess() handler.

2009-06-22 10:54  castaglia

	* contrib/mod_sftp/fxp.c:
	  If no DeleteAbortedStores appears in the proftpd.conf, then the
	  callback which closes any open filehandles could segfault, trying
	  to deference a null pointer.	Check for this, and handle it
	  appropriately.

2009-06-22 10:48  castaglia

	* src/fsio.c:
	  If pr_fsio_utimes() or pr_fsio_futimes() succeeds, clear the
	  statcache; the file metadata is now stale, and needs to be
	  refreshed.

	  In pr_fsio_futimes(), we were calling the wrong futimes()
	  handler.  Use the right one, i.e. the one found by the while()
	  loop.

2009-06-22 10:44  castaglia

	* src/fsio.c:
	  Include utimes(2), futimes(3) in the debug output for a
	  registered FS object.

2009-06-22 09:54  castaglia

	* doc/howto/Limit.html:
	  Mention that the parsing rules for AllowUser pertain to DenyUser
	  as well.

2009-06-21 12:19  castaglia

	* NEWS, contrib/mod_tls.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Bug#3247 - "TLSRequired auth" and "TLSOptions AllowPerUser" are
	  incompatible.

2009-06-21 12:14  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Turns out that using the exit code from the `proftpd' binary for
	  determining successful/failure of server startup is not that
	  reliably, sadly.  So now the PidFile is used for sending a signal
	  to the server; if that succeeds, then the server has started
	  successfully.

2009-06-21 12:05  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  If the server fails to start, throw an exception, rather than
	  letting the caller assume that the server started successfully.

2009-06-21 11:57  castaglia

	* tests/: tests.pl, t/config/ftpaccess/empty.t,
	  t/lib/ProFTPD/Tests/Config/FTPAccess/Empty.pm:
	  Add unit test for an empty .ftpaccess file, for
	  investigating/regressing Bug#3240.

2009-06-20 19:24  castaglia

	* NEWS, contrib/mod_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Bug#3253 - Support for %S variable in SQL queries.

2009-06-20 14:49  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Allow unit tests to specify the User, Group names to use in the
	  generated config file, if needs be.

2009-06-20 13:33  castaglia

	* src/fsio.c:
	  Check for an ENOSYS errno when using futimes(2), in case the
	  platform provides a stub which does not actually do anything.
	  Fallback to using utimes(2) if this happens.

2009-06-20 11:42  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  When mod_sftp handles a restart, it needs to clear any
	  passphrases held in memory.

2009-06-19 17:54  castaglia

	* contrib/mod_sql.c:
	  Adjust the ordering of the custom SQLNamedQuery optional queries
	  which can be used for customizing SQLUserInfo.  In particular, we
	  need to add the ability to specify the query to look up a user
	  given a UID; this is useful for modules like mod_quotatab, which
	  may need to find the owner user/group for a file based on that
	  file's owner UID/GID.

2009-06-19 17:29  castaglia

	* contrib/mod_sftp/fxp.c:
	  Fix format warning about data type mismatches; this warning only
	  occurs on 64-bit machines.  An explicit cast to the supported
	  off_t type (or its nearest equivalent) is all that's needed here.

2009-06-19 17:15  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_cap.pm,
	  t/modules/mod_cap.t:
	  Start on unit tests for the mod_cap module.

2009-06-19 11:55  castaglia

	* tests/: tests.pl, t/config/allowoverwrite.t,
	  t/lib/ProFTPD/Tests/Config/AllowOverwrite.pm: Add unit tests for
	  the AllowOverwrite directive.

2009-06-18 17:32  castaglia

	* contrib/mod_sftp/fxp.c:
	  When setting attributes on a file, make sure that we check the
	  client-sent attribute flags in the same way as when we parse
	  those attribute values (i.e. be sure to be protocol
	  version-specific when necessary).  Otherwise we might do the
	  wrong thing if the client sends a badly flagged request.

2009-06-10 14:48  castaglia

	* configure:
	  Updated configure.

2009-06-10 14:44  castaglia

	* configure.in:
	  Trying to compile proftpd using "--enable-nls
	  --with-shared=mod_lang", in order to build mod_lang as a shared
	  module, was causing the configure script to complain of duplicate
	  build requests.  Fix this.

2009-06-10 09:18  castaglia

	* NEWS, contrib/mod_ban.c, doc/contrib/mod_ban.html:
	  Bug#3249 - mod_ban support for TimeoutLogin.

2009-06-09 09:07  castaglia

	* modules/mod_core.c:
	  If the SITE CHGRP/CHMOD commands are denied by <Limit> sections,
	  set errno to EACCES, so that hopefully the user's client can
	  receive a more helpful error response code.

2009-06-09 09:05  castaglia

	* modules/mod_core.c:
	  Add debug logging when the SITE CHMOD/CHGRP commands are denied
	  because of <Limit> sections in the configuration.

2009-06-03 11:42  castaglia

	* contrib/mod_sftp/auth.c:
	  Make sure that any configured SFTPDisplayBanner is only sent once
	  to the connecting client.

2009-06-03 10:28  castaglia

	* contrib/mod_sftp/keys.c:
	  Add a missing PRIVS_RELINQUISH call.	Adjust spacing in that same
	  area, so that the formatting is consistent.

2009-05-28 13:13  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add test case to make sure that RootLogin works properly in
	  mod_sftp.

2009-05-27 16:10  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Fix typo in mod_rewrite PORT rewriting config.

2009-05-27 16:09  castaglia

	* doc/howto/Rewrite.html:
	  Fix typo/omission in Rewrite howto.

2009-05-27 11:31  castaglia

	* contrib/mod_sftp/auth.c:
	  Properly honor RootLogin (and its absence) in mod_sftp.  This
	  includes generating the 'mod_auth.root-login' event, just as
	  mod_auth does.

2009-05-27 09:14  castaglia

	* contrib/dist/rpm/proftpd.logrotate:
	  Bug#3245 - proftpd.logrotate assumes location of `kill' command.
	  Simply rely on PATH to find the appropriate location.

2009-05-22 14:15  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RETR.pm:
	  Add test showing that a file with leading whitespace in its name
	  can be downloaded.

2009-05-22 10:35  castaglia

	* tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm:
	  Yet more redundant variables removed.

2009-05-22 10:34  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/FTPAccess/RETR.pm:
	  More redundant variables removed.

2009-05-22 10:28  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/DirFakeMode.pm:
	  Remove another redundant variable declaration.

2009-05-22 10:22  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/PORT.pm:
	  Remove redundant variable declaration.

2009-05-20 14:00  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/STOR.pm:
	  Add unit test demonstrating that upload a file whose name begins
	  with whitespace is possible.

	  Update all tests to use 'tests.log' as the logfile name.

2009-05-19 14:38  castaglia

	* tests/t/: lib/ProFTPD/Tests/Modules/mod_ifsession.pm,
	  modules/mod_ifsession.t:
	  Start working on unit tests for mod_ifsession's functionality.
	  This first test is inspired/used for verifying Bug#3243.

2009-05-19 14:36  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Allow tests to request to NOT have default configs used.  This is
	  handy when dealing with mod_ifsession tests, for example.

2009-05-19 09:23  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Had a request to use the %{dist} variable in the RPM Release tag
	  as well.  Makes no never mind to me.

2009-05-18 14:16  castaglia

	* Make.rules.in, Makefile.in, utils/ftpcount.1.in,
	  utils/ftpscrub.8.in, utils/ftptop.1.in, utils/ftpwho.1.in:
	  Fix Bug#3242, which is a follow-up to Bug#2613.  Modify the
	  utility man pages to reflect the changed path to the default
	  scoreboard file, and remove the now-redundant $(rundir) Make
	  variable.

2009-05-18 09:11  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Martin Edlman contributed RPM .spec patch to handle empty
	  static_modules variable when the mod_facl module is not
	  requested.

2009-05-14 17:29  castaglia

	* tests/t/lib/ProFTPD/Tests/Logins.pm:
	  Add regression test showing that multiple attempts to send USER
	  (i.e. after the first attempt fails) will succeed as expected.

2009-05-14 17:19  castaglia

	* contrib/mod_sftp/scp.c:
	  I have no clue how this code was compiling/working for my tests
	  earlier today, but it certainly needs to be fixed.  Weird.

2009-05-14 14:51  castaglia

	* contrib/mod_sftp/: fxp.c, scp.c:
	  Fix the DeleteAbortedStores support.	I did have it such that
	  only HiddenStores files would be deleted if DeleteAbortedStores
	  was enabled.	Then, for aborted sessions, deleted _all_ open
	  filehandles.	Which is not correct either (we don't want to
	  delete files that were being downloaded, for example).  This
	  changes the DeleteAbortedStores so that we only delete aborted
	  _uploaded_ files.  Hopefully.

2009-05-14 14:46  castaglia

	* contrib/mod_sftp/: fxp.c, scp.c: [no log message]

2009-05-14 12:22  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit test for HiddenStores directive using SCP.  The test is
	  not as thorough as I would like; the Net::SSH2 SCP interface is
	  not as flexible.  Still, it does the trick.

2009-05-14 12:21  castaglia

	* contrib/mod_sftp/scp.c:
	  This adds support for HiddenStores, DeleteAbortedStores, and
	  'incomplete' TransferLog entries to SCP.

2009-05-14 12:18  castaglia

	* contrib/mod_sftp/fxp.c:
	  Cut-n-paste error.

2009-05-14 11:48  castaglia

	* contrib/mod_sftp/fxp.c:
	  Add a trace message for renaming of a HiddenStores file.

2009-05-14 09:56  castaglia

	* doc/contrib/mod_sftp.html:
	  HiddenStores is now supported by mod_sftp.

2009-05-14 09:48  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Added unit tests for 'incomplete' TransferLog entries via SFTP.

2009-05-14 09:44  castaglia

	* contrib/mod_sftp/fxp.c:
	  Write 'incomplete' TransferLog entries for downloads/uploads that
	  have been aborted (i.e. not closed by the client before the
	  channel was closed/session ended).

	  Also fixes a bug introduced yesterday with the
	  DeleteAbortedStores support, where a config which did not have
	  DeleteAbortedStores would segfault (or the process would wander
	  off into the memory weeds, depending on your arch).

2009-05-13 16:19  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Added regression tests for HiddenStores and DeleteAbortedStores
	  via SFTP uploads.

2009-05-13 16:18  castaglia

	* contrib/mod_sftp/: channel.c, channel.h, fxp.c, mod_sftp.c:
	  Added support for the HiddenStores and DeleteAbortedStores
	  directives for SFTP.

2009-05-13 11:13  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add tests for TransferLog entries generated from
	  downloading/uploading via SCP.

2009-05-13 09:41  castaglia

	* contrib/mod_sftp/fxp.c:
	  Make sure that the TransferLog entry for a file deleted via SFTP
	  in a chrooted session is still the absolute path of the file,
	  regardless of the chroot.

2009-05-13 09:41  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add test for the TransferLog entry generated when deleting a file
	  via SFTP in a chrooted session.

2009-05-13 09:31  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_site_misc.pm:
	  Add regression test for the 14-digit version of the SITE UTIME
	  command.

2009-05-11 11:58  castaglia

	* RELEASE_NOTES:
	  Warn of the change to the values in the service-name field of the
	  TransferLog.

2009-05-11 11:07  castaglia

	* tests/api/scoreboard.c:
	  If the API testsuite is run with root privs, then one of the
	  scoreboard tests will fail with a different errno value; check
	  for this, and handle it as appropriate.

2009-05-11 10:33  castaglia

	* tests/Makefile.in:
	  Make sure the privs.o code is linked into the API tests.

2009-05-11 10:18  castaglia

	* tests/Makefile.in:
	  Separate the API and the running tests into two separate make
	  targets.

2009-05-11 09:59  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add regression test for the TransferLog delete file entries for
	  SFTP.

2009-05-11 09:58  castaglia

	* contrib/mod_sftp/fxp.c:
	  Make sure that deleting a file via SFTP generates the proper
	  TransferLog entry.

2009-05-09 10:02  castaglia

	* contrib/mod_sftp/scp.c:
	  Wolfgang Breyha correctly pointed out that these path-trimming
	  loops should have a "pathlen > 1" check, not "pathlen > 0".  This
	  was causing problems when trying to use scp to upload to '/';
	  eventually a segfault would ensue.

2009-05-08 16:14  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Added unit test for the TransferLog generated by downloading a
	  file via sftp.

2009-05-08 16:13  castaglia

	* contrib/mod_sftp/auth.c, src/xferlog.c:
	  Support TransferLogs in mod_sftp.  This required a tweak to the
	  TransferLog code so that it wrote the proper service name (e.g.
	  "ftp", "sftp", etc); it had been hardcoded to "ftp".

2009-05-06 10:38  castaglia

	* contrib/mod_sftp/packet.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Make sure that mod_sftp sends a disconnect message when it does
	  not handle the client request.  For example, if a client requests
	  an SSH2 channel before it has authenticated, mod_sftp considers
	  it an "unsupported protocol sequence".  But it was not sending
	  the disconnect message to the client when this happened; this has
	  been fixed. Added a unit test to prevent regressions.

2009-05-04 16:31  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RETR.pm:
	  Add regression test demonstrating that downloading a file from a
	  directory whose name contains a space works as expected.

2009-05-03 13:13  castaglia

	* contrib/mod_sftp/scp.c:
	  Fix the handling of recursive uploads of directories via SCP; it
	  was completely broken.

2009-05-03 12:18  castaglia

	* contrib/mod_sftp/auth.c:
	  Be sure to dispatch the USER cmd_rec to the POST_CMD/LOG_CMD
	  handlers *before* calling the PASS PRE_CMD handler.  Otherwise,
	  mod_delay might see longer delays for both USER and PASS commands
	  when handling SSH2 connections when it isn't necessary.

2009-05-02 16:15  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  If we receive an EOF while reading the banner, don't try to use
	  strerror(), as it will result in a misleading log message.

2009-05-02 11:48  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Added unit tests for the 'OpenSSL' SQLAuthType.

2009-05-01 08:47  castaglia

	* doc/howto/ListOptions.html:
	  Mention the new -B ListOption.

2009-05-01 08:42  castaglia

	* modules/mod_ls.c, tests/t/lib/ProFTPD/Tests/Commands/LIST.pm,
	  tests/t/lib/ProFTPD/Tests/Commands/NLST.pm:
	  Modify the fix for Bug#3032 even more.  Instead of replacing
	  non-printable characters with '?' in the non-NLS case, add
	  support for a -B ListOption (defaults to off).  Some users noted
	  that the previous fix broke things for them, as they _assumed_
	  that proftpd would not alter a UTF8 path (even for the non-NLS
	  case).  By supporting a -B ListOption, sites which do want to see
	  the non-printable characters can request that behavior.  The -B
	  ListOption is not supported if NLS support is enabled.

2009-04-30 14:18  castaglia

	* src/main.c:
	  Add trace logging for when the 'requires_auth' check fails.

2009-04-30 14:10  castaglia

	* modules/mod_cap.c, src/main.c:
	  Make mod_cap's POST_CMD PASS handler be like every other modules,
	  and NOT require that the client be authenticated.  That
	  particular check is handled earlier in the session lifecycle.

2009-04-30 11:54  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/PORT.pm:
	  A proftpd user in the forums mentioned encountering the "Cannot
	  assign requested address" error when attempting active data
	  transfers.  Add a unit test which demonstrates how this error can
	  occur (usually because of badly behaved FTP clients which do not
	  cleanly close the data connection once done with it).

2009-04-29 22:50  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  If we need to explicitly specify the PORT argument, then make
	  sure that we open an appropriate listening socket based on that
	  argument; Net::FTP does not do this for us.  Sigh.

2009-04-29 16:32  castaglia

	* contrib/mod_tls.c:
	  OpenSSL-0.9.8j enables TLS extensions by default.  This includes,
	  among other things, SSL/TLS tickets.	However, some older clients
	  do not interoperate well with TLS extensions like this enabled.
	  So to preserve the principle of least surprise, disable the use
	  of SSL/TLS tickets.

2009-04-29 11:14  castaglia

	* contrib/mod_sftp/mod_sftp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  After a restart, mod_sftp needs to re-allocate and re-compile the
	  regexes for known client versions with bugs; the compiled regex
	  memory pool is cleared during a restart.  Failure to do this can
	  result in a segfault after the restart.  Add an accompanying unit
	  test.

2009-04-29 09:09  castaglia

	* modules/mod_ls.c:
	  Quell compiler warnings about unused variables when --enable-nls
	  is used.

2009-04-28 15:53  castaglia

	* include/version.h:
	  Update the version number and string, and mark this as a
	  maintenance branch/version.

2009-04-28 15:50  castaglia

	* NEWS, locale/Makefile.in, locale/bg_BG.po, locale/fr_FR.po,
	  locale/ko_KR.po:
	  Added Bulgarian, French, Korean translations.

2009-04-28 15:44  castaglia

	* NEWS, src/ctrls.c, src/event.c:
	  Backport fix for Bug#3179.

2009-04-28 15:33  castaglia

	* NEWS, include/dirtree.h, modules/mod_core.c, src/dirtree.c,
	  src/main.c:
	  Backport fix for Bug#3221.

2009-04-28 15:26  castaglia

	* doc/contrib/mod_exec.html:
	  Include the %w variable in the mentioned list of supported
	  variables.

2009-04-28 15:24  castaglia

	* doc/contrib/: mod_exec.html, mod_shaper.html:
	  Update the mod_exec and mod_shaper docs.

2009-04-28 15:22  castaglia

	* contrib/mod_exec.c:
	  The mod_exec module was not registering for the proper event name
	  for handling the unloading of the module.

2009-04-28 15:20  castaglia

	* NEWS, contrib/mod_sql.c:
	  Backport fix for Bug#3203.

2009-04-28 15:18  castaglia

	* NEWS, README.modules, RELEASE_NOTES, contrib/mod_exec.c,
	  doc/contrib/mod_exec.html:
	  Added mod_exec to contrib modules.

2009-04-28 14:52  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Backport fix for Bug#3196.

2009-04-28 14:49  castaglia

	* NEWS, contrib/mod_wrap2_sql.c:
	  Backport fix for Bug#3215.

2009-04-28 14:34  castaglia

	* NEWS, contrib/mod_tls.c:
	  Backport fix for Bug#3234.

2009-04-28 14:17  castaglia

	* NEWS, modules/mod_facts.c:
	  Backported fix for Bug#3190.

2009-04-28 14:11  castaglia

	* NEWS, src/dirtree.c:
	  Backport fixes for Bug#3184.

2009-04-28 14:04  castaglia

	* NEWS, modules/mod_auth.c, src/main.c:
	  Backport fix for Bug#3183.

2009-04-28 13:22  castaglia

	* NEWS, src/prxs.in:
	  Backported fix for Bug#3188.

2009-04-28 13:10  castaglia

	* NEWS, contrib/mod_sql_postgres.c:
	  Backported fix for Bug#3176.

2009-04-28 12:58  castaglia

	* NEWS, contrib/mod_sql_postgres.c:
	  Backported fix for Bug#3123.

2009-04-28 12:45  castaglia

	* src/main.c:
	  Backporting bugfixes:

	    + Handle restart parsing errors better.
	    + Clear the signal bitflag before processing the signal, not
	  after.  This
	      was causing some crashes due to endless loops during a
	  restart.

2009-04-28 12:41  castaglia

	* src/auth.c:
	  Backport the fix for the first UID/GID lookup failing to return
	  the name.

2009-04-28 11:35  castaglia

	* modules/mod_core.c, modules/mod_ls.c, src/dirtree.c:
	  Backporting bugfixes from trunk; these particular changes do not
	  have an associated bug number.

2009-04-27 23:34  castaglia

	* doc/howto/TLS.html:
	  Add TLS FAQ about whether FTPS protects both control and data
	  connections (it does).

2009-04-27 23:26  castaglia

	* doc/contrib/mod_sftp.html:
	  Added SFTP FAQ about having an SFTP-only proftpd.

2009-04-27 23:22  castaglia

	* tests/tests.pl:
	  Run the DisplayQuit tests as part of the testsuite.

2009-04-27 23:21  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/DisplayQuit.pm:
	  Adding tests for the DisplayQuit directive.

2009-04-27 16:10  castaglia

	* NEWS, README.modules, RELEASE_NOTES, contrib/mod_shaper.c,
	  doc/contrib/mod_shaper.html:
	  Add mod_shaper to the contrib/ modules.

2009-04-25 14:25  castaglia

	* contrib/mod_rewrite.c:
	  Fix rewrite_log() so that it uses pr_log_vwritefile().  Make
	  rewrite_openlog() handle the WRITABLE_DIR and SYMLINK return
	  values from pr_log_openfile().

2009-04-25 14:14  castaglia

	* modules/mod_xfer.c, src/display.c, tests/t/config/displayquit.t,
	  tests/t/lib/ProFTPD/Tests/Config/DisplayConnect.pm,
	  tests/t/lib/ProFTPD/Tests/Config/DisplayFileTransfer.pm,
	  tests/t/lib/ProFTPD/Tests/Config/DisplayLogin.pm:
	  Fix handling of multiline Display files.  Update the handling of
	  DisplayFileTransfer files such that they replace the 226 response
	  message, rather than prepending to it.

2009-04-24 13:48  castaglia

	* modules/mod_core.c:
	  Fix another unsafe use of sizeof() on a pointer.

2009-04-24 13:45  castaglia

	* src/dirtree.c:
	  Fix unsafe sizeof(); it was being used on a pointer, not on a
	  static buffer.

2009-04-24 10:38  castaglia

	* contrib/mod_sftp/fxp.c:
	  Increase the allocated buffer size for a READDIR response, and
	  try to be smarter about the buffer size.

2009-04-24 10:18  castaglia

	* modules/mod_cap.c:
	  Refine the criteria for using CAP_SETUID/CAP_SETGID.	In addition
	  to checking for the mod_sftp and mod_exec modules, make sure that
	  those modules are enabled via their respective Engine directives.
	  This is to handle cases where the modules might be present in
	  the executable but not enabled via config.

2009-04-24 09:55  castaglia

	* contrib/mod_sftp/utf8.c:
	  If UTF8 encoding/decoding of a string fails, log the error and
	  return the original string (instead of returning NULL).

2009-04-24 09:48  castaglia

	* contrib/mod_sftp/auth.c:
	  No need to acquire root privs explicitly before dropping them.

2009-04-24 09:44  castaglia

	* modules/mod_cap.c:
	  On Linux, the mod_cap module will interfere with modules/code
	  that wishes to drop root privs completely, e.g. mod_exec (when
	  executing scripts), mod_sftp (after authenticating), or when the
	  RootRevoke directive is used.  The problem is that the CAP_SETUID
	  and CAP_SETGID capabilties, needed for dropping root privs, are
	  not enabled by mod_cap.

	  This change adds the CAP_SETUID and CAP_SETGID capabilities if
	  mod_exec or mod_sftp is present, or if "RootRevoke on" is found
	  in the config.

	  Minor stylistic cleanup is also part of this change.

2009-04-24 08:46  castaglia

	* modules/mod_ls.c:
	  When generating directory listings, set the ASCII flag after the
	  data connection has been successfully opened consistently.  Some
	  places were setting the flag before the data connection open,
	  some after.

2009-04-23 17:31  castaglia

	* configure:
	  Updated configure.

2009-04-23 17:24  castaglia

	* configure.in:
	  Automatically set the PR_USE_OPENSSL define if mod_sftp is
	  requested, just as we do when mod_tls is requested.

2009-04-23 16:57  castaglia

	* contrib/mod_ctrls_admin.c:
	  Quell a compiler warning about a declared but not used variable.

2009-04-23 15:02  castaglia

	* contrib/mod_quotatab.c:
	  The mod_quotatab module really should report when it fails to
	  open the configured QuotaLog for any reason.

2009-04-22 22:40  castaglia

	* contrib/mod_sftp/fxp.c:
	  Fix minor case in the handling of the 'sftpUTF8ProtocolVersion'
	  SFTPClientMatch attribute where the path description for a
	  READDIR request may need to be encoded, depending on the chosen
	  SFTP UTF8 protocol version.

2009-04-22 22:26  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/: LIST.pm, NLST.pm:
	  Update the unit tests for Bug#3032 to only run if NLS support is
	  not enabled.

2009-04-22 21:40  castaglia

	* modules/mod_ls.c:
	  Forgot to add the NLS conditional to the handling of NLST as
	  well.

2009-04-22 21:24  castaglia

	* modules/mod_ls.c:
	  Modify the fix for Bug#3032 so that it is only used of NLS
	  support is not being used; the encoding can cause problems for
	  the isprint(3) function.

2009-04-22 20:25  castaglia

	* NEWS, src/inet.c:
	  Bug#3237 - "error setting IPV6_V6ONLY: Protocol not available"
	  message filling up log file.

	  The change was to not try to set the IPV6_V6ONLY socket option on
	  an IPv4-mapped IPv6 address.

2009-04-21 16:45  castaglia

	* contrib/mod_sftp/fxp.c:
	  Quell more compiler warnings about possbily using variables
	  before they have been initialized.

2009-04-21 16:31  castaglia

	* contrib/mod_quotatab.c:
	  Make sure that the trace message is based on the actual lock
	  type, not on the type as passed in by the caller.

2009-04-21 16:30  castaglia

	* contrib/mod_quotatab.c:
	  Actually use the lock type given by the caller.  Ouch.

2009-04-21 16:20  castaglia

	* contrib/mod_sftp/kex.c:
	  Handle "SFTPCompression off" properly.

2009-04-21 16:01  castaglia

	* contrib/mod_quotatab.c:
	  More changes to the QuotaLock lock operation handling, trying to
	  avoid spinning in a loop too tightly.

2009-04-21 15:21  castaglia

	* contrib/mod_sftp/fxp.c:
	  Make sure that the variables are initialised, when handling
	  REALPATH requests, before a permissions check.

2009-04-21 14:59  castaglia

	* contrib/mod_quotatab.c:
	  Retry the lock operation on the QuotaLock for EAGAIN as well.

2009-04-20 20:26  castaglia

	* tests/: tests.pl, t/config/displayfiletransfer.t,
	  t/lib/ProFTPD/Tests/Config/DisplayFileTransfer.pm:
	  Add unit tests for the DisplayFileTransfer directive.

2009-04-20 15:11  castaglia

	* src/dirtree.c:
	  Make sure that we ONLY use the PR_TUNABLE_XFER_BUFFER_SIZE (which
	  IS set in include/options.h) in the case where we cannot
	  determine the best sizes automatically from the kernel.

2009-04-20 09:55  castaglia

	* doc/contrib/mod_sftp.html:
	  Document the sftpUTF8ProtocolVersion SFTPClientMatch attribute.

2009-04-20 09:52  castaglia

	* contrib/mod_sftp/: fxp.c, fxp.h, interop.c, mod_sftp.c:
	  Added support for a 'sftpUTF8ProtcolVersion' SFTPClientMatch
	  attribute.  This attribute can be used to switch the SFTP
	  protocol version at which mod_sftp uses UTF8 encoding; the normal
	  protocol version at which this happens is 4 (and above).  Some
	  clients may need the UTF8 encoding when using protocol version 3,
	  however.

2009-04-17 16:19  castaglia

	* doc/contrib/mod_sftp.html:
	  Clarify when the various SSH2 authentication methods are offered.
	  Fix a typo.

2009-04-17 11:51  castaglia

	* contrib/mod_sftp/channel.c:
	  Update the trace log message about the size of the CHANNEL_DATA
	  sent to use just the payload size, not the packet size.

2009-04-16 17:51  castaglia

	* contrib/mod_sftp/channel.c:
	  Fix the calculation of the remote channel window size by NOT
	  including the length of the "header" fields (9 bytes) in the
	  amount to decrement for the remote window size.  This was causing
	  mod_sftp to see the remote window "close" prematurely (depending
	  on the amount of data transferred and the initial client window
	  size).

2009-04-15 14:03  castaglia

	* doc/howto/Filters.html:
	  Add the example PathAllowFilter that only allows printable
	  characters.

2009-04-15 13:57  castaglia

	* doc/howto/Filters.html,
	  tests/t/lib/ProFTPD/Tests/Config/PathDenyFilter.pm:
	  Update the doc, and unit test, to reflect the proper pattern to
	  use.

2009-04-15 11:20  castaglia

	* doc/howto/Filters.html:
	  Give an example of using PathDenyFilter to prevent filenames
	  which contain non-printable characters.

2009-04-15 11:15  castaglia

	* NEWS, modules/mod_ls.c,
	  tests/t/lib/ProFTPD/Tests/Commands/LIST.pm,
	  tests/t/lib/ProFTPD/Tests/Commands/MLSD.pm,
	  tests/t/lib/ProFTPD/Tests/Commands/MLST.pm,
	  tests/t/lib/ProFTPD/Tests/Commands/NLST.pm,
	  tests/t/lib/ProFTPD/Tests/Config/PathDenyFilter.pm:
	  Bug#3032 - CR character allowed in filename but not shown.

2009-04-14 11:53  castaglia

	* doc/howto/Tracing.html, src/trace.c:
	  Remove the 'privs' channel from the default channels; it is not
	  as productive to see the privs messages as the other channels in
	  the default group.

2009-04-14 11:47  castaglia

	* modules/mod_delay.c:
	  Make sure a pointer is initialized to NULL, so that if a matching
	  protocol row is not found, a segfault will occur.  (It's better
	  than reading off into some random stack memory address.)

2009-04-14 11:45  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#3230 - Differentiate among protocol connections in
	  DelayTable.

2009-04-14 11:39  castaglia

	* doc/contrib/mod_sftp.html:
	  Update the list of config directives that are not supported by
	  mod_sftp.

2009-04-14 11:38  castaglia

	* contrib/mod_sftp/fxp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add SFTP unit tests to ensure that mod_sftp honors the
	  AllowOverwrite, HideFiles, and Path*Filter directives.  Note that
	  similar tests are needed for the SCP code paths as well.

2009-04-13 11:49  castaglia

	* configure:
	  Updated configure.

2009-04-13 11:47  castaglia

	* configure.in:
	  Add a check for --with-modules=mod_dso, and warn the admin to use
	  --enable-dso instead.

2009-04-10 08:58  castaglia

	* configure:
	  Updated configure.

2009-04-10 08:55  castaglia

	* configure.in:
	  Typo.

2009-04-09 08:59  castaglia

	* modules/mod_facts.c:
	  Use cmd->arg, rather than concatenating cmd->argv[] ourselves, in
	  order to deal with paths with spaces.  This is a better approach,
	  given that NLS encoding of paths might cause the concatenation we
	  were doing to do the wrong thing.

2009-04-09 08:44  castaglia

	* modules/mod_facts.c:
	  Clean up some of the logging when opendir(3) fails when handling
	  MLSD.

2009-04-09 08:33  castaglia

	* src/timers.c:
	  Add trace logging when timers are reset.

2009-04-08 22:06  castaglia

	* contrib/mod_sftp/fxp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  mod_sftp now honors DirFakeMode.

2009-04-08 20:48  castaglia

	* tests/: tests.pl, t/config/dirfakemode.t,
	  t/lib/ProFTPD/Tests/Config/DirFakeMode.pm:
	  Add unit test for the DirFakeMode directive.

2009-04-08 20:27  castaglia

	* contrib/mod_sftp/: fxp.c, scp.c:
	  Set the session.xfer.direction variable when using SFTP or SCP.

2009-04-08 11:56  castaglia

	* contrib/mod_sftp/fxp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Make mod_sftp honor HideNoAccess (and other <Directory> config
	  directives).

2009-04-07 19:48  castaglia

	* contrib/mod_sftp/scp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add the checking for valid paths, handling of open() failures,
	  PRE_CMD errors, etc when uploading via SCP into the recv_finfo()
	  function.  The problem was that those checks were happening
	  *after* recv_finfo() had sent the "OK" message back to the SCP
	  client; the client would then commence uploading.  Any errors of
	  these sorts need to send a "NOT OK" message to the SCP client
	  before the upload occurs.

2009-04-07 18:44  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/: Limits.pm, Umask.pm:

	  Fix more unit tests to run properly as root.

2009-04-07 10:15  castaglia

	* contrib/mod_tls.c:
	  Typo/bug.

2009-04-07 08:42  castaglia

	* src/ftpdctl.c:
	  Include the privs.h header so as to avoid compiler warnings about
	  the pr_privs* functions not being previously declared.

2009-04-07 08:41  castaglia

	* contrib/mod_ctrls_admin.c:
	  Use the proper number of arguments for pr_ctrls_log(), and avoid
	  pedantic compiler warnings/errors.

2009-04-06 17:11  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/FTPAccess/RETR.pm:
	  Another set of tests to clean up so that they run properly when
	  root.

2009-04-06 17:03  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/: HideFiles.pm, Limit/XMKD.pm:
	  More cleanup of unit tests that don't work properly when run as
	  root.

2009-04-06 17:03  castaglia

	* modules/mod_core.c:
	  Fix bug introduced by the patch for Bug#2067.  Style cleanup
	  there, too.

2009-04-06 16:18  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/: Order.pm, PathAllowFilter.pm,
	  PathDenyFilter.pm, ServerIdent.pm, TimeoutIdle.pm:
	  Fixup more test cases so run properly when run as root.

2009-04-06 16:08  castaglia

	* src/privs.c:
	  The testsuite found that the privs.c code was blocking signals,
	  and then not unblocking them in certain cases.  This is a Bad
	  Thing.  Fix the bug.

2009-04-06 15:47  castaglia

	* contrib/mod_sftp/channel.c:
	  Make sure that the max data payload we can send is larger than
	  the header length.  Otherwise, we would have bombed out due to
	  bad logic on my part.

2009-04-06 15:41  castaglia

	* doc/howto/Tracing.html, src/trace.c:
	  Add the "privs" logging channel to the default list of channels.

2009-04-06 15:32  castaglia

	* Make.rules.in, include/privs.h, modules/mod_ctrls.c,
	  modules/mod_delay.c, modules/mod_log.c, src/ftpdctl.c,
	  src/privs.c:
	  Do what should have been done long ago, and move the PRIVS macros
	  into functions, and into their own .c file.

	  The main driving reason for this is that the PRIVS macros need to
	  be nestable, to avoid recurrences of bugs like Bug#2242.  The
	  privs.c file adds nestable PRIVS invocations, and so far
	  everything looks like it's still working properly.

2009-04-06 15:28  castaglia

	* tests/t/lib/ProFTPD/Tests/: Logging/ExtendedLog.pm,
	  Modules/mod_ctrls.pm:
	  Fix a few more tests which fail when run with root privs.

2009-04-06 15:22  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/: MFF.pm, MFMT.pm:
	  Add some unit tests for the MFF and MFMT commands, proving that
	  using relative paths in the commands in a chrooted session work
	  as expected.

2009-04-06 15:13  castaglia

	* tests/t/lib/ProFTPD/Tests/: Logins.pm, Commands/ABOR.pm,
	  Commands/FEAT.pm, Commands/HELP.pm, Commands/MFF.pm,
	  Commands/MFMT.pm, Config/Directory/Umask.pm,
	  Logging/ExtendedLog.pm:
	  Fix some of the unit tests which fail when run with root privs.
	  Update some that simply needed to be updated to match the current
	  code.  Quell Perl warnings about redeclared variables in some
	  cases.

2009-04-05 10:56  castaglia

	* contrib/mod_sftp/auth.c:
	  Update mod_sftp to use session.notes for the original user name
	  sent by the client, just as the mod_auth module does.

2009-04-05 10:47  castaglia

	* RELEASE_NOTES, contrib/mod_ban.c, contrib/mod_radius.c,
	  contrib/mod_rewrite.c, contrib/mod_sql.c, contrib/mod_wrap.c,
	  contrib/mod_wrap2/mod_wrap2.c, modules/mod_auth.c,
	  modules/mod_log.c, src/display.c, src/main.c,
	  tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm:
	  Finish Bug#2715, and have the original USER value stashed in, and
	  retrieved from, the session.notes table.  Make note of this
	  change in the release notes as well, as it could impact module
	  developers.

2009-04-05 09:34  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_rewrite.c, contrib/mod_sql.c,
	  modules/mod_core.c, modules/mod_log.c,
	  tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Bug#3029 - Support a RewriteCondition variable for renames.

	  Add a %w variable for the source path of a rename (mnemonic:
	  "whence" the rename came); this variable is only valid for the
	  RNTO command.  Support for the %w variable is also in LogFormat
	  and the SQLLog directives; the mod_exec module will support it as
	  well.

2009-04-03 21:42  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Added a mod_quotatab_sql unit test for Bug#3086.  The generated
	  log file shows that the use of QuotaLock does indeed protect the
	  calls to quotatab_lookup() and quotatab_create().  In fact, this
	  use of QuotaLock perfectly exercises the fixed quotatab locking
	  in terms of lock nesting, as the quotatab_create() function
	  itself uses write-locks (and, in the case of mod_quotatab_sql,
	  uses the same fd for locking).

2009-04-03 21:38  castaglia

	* NEWS, contrib/mod_quotatab.c, contrib/mod_quotatab.h,
	  contrib/mod_quotatab_sql.c:
	  Bug#3086 - mod_quotatab write locking is ineffective.

2009-04-03 16:04  castaglia

	* contrib/: mod_ban.c, mod_tls.c, mod_sftp/scp.c:
	  If we are calling getopt(3) again in a proftpd process (i.e.
	  after the initial call to getopt(3) when the daemon starts up),
	  then we need make sure that the POSIXLY_CORRECT environment
	  variable is set.

	  A segfault in mod_sftp was occurring because of getopt(3)
	  rearranging the array of strings; on a 64-bit machine whose
	  pointer sizes are different than what is expected, strange things
	  happen.  Setting POSIXLY_CORRECT tells getopt(3) not to rearrange
	  the array of strings.

2009-04-03 14:23  castaglia

	* doc/howto/Compiling.html:
	  Mention the --with-lastlog configure option, and use an unordered
	  list for the main/popular configure options.

2009-04-03 14:03  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  Stupid Solaris prints "Not owner", instead of "Operation not
	  permitted", for the EPERM errno.  Grr.  So instead of using
	  EPERM, switch to using EACCES.

2009-04-03 10:09  castaglia

	* contrib/mod_sftp/scp.c:
	  Catch a few places in the SCP upload code where confirmation
	  errors were not being properly written back to the client at the
	  right times.

2009-04-03 07:30  castaglia

	* modules/mod_auth_unix.c:
	  Fix compilation errors when HAVE_LOGINRESTRICTIONS (AIX platform,
	  mostly) is defined.

2009-04-01 16:09  castaglia

	* NEWS, src/dirtree.c:
	  Bug#3233 - Dynamic config causes many copies of static configs to
	  be merged.

2009-04-01 15:41  castaglia

	* contrib/mod_tls.c:
	  Actually match the code to the comment, and return the connection
	  to blocking mode if it had been so prior to the SSL_accept()
	  call.

2009-04-01 15:36  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3234 - SSL connections can cause 100% CPU usage.

	  In a nonblocking loop around SSL_accept(), make sure we delay a
	  bit (using select()) before retrying the SSL_accept() call.
	  Without the delay, the loop spins too quickly, consuming CPU.

2009-03-31 07:45  castaglia

	* contrib/mod_sftp/scp.c:
	  Make the SCP uploading code use dir_canonical_vpath(), just as
	  the SFTP code does (specifically the REALPATH SFTP request
	  handler), to be consistent.  (And, hopefully, to fix some
	  reported segfaults seen when uploading via SCP.)

2009-03-30 23:34  castaglia

	* Make.rules.in:
	  Fix a link ordering problem on Mac OSX; if the GNU gettext
	  library is used (e.g. using --enable-nls), then libc is linked
	  before libsupp.  This causes a problem for proftpd, since libsupp
	  contains, among other things, our own particular glob(3)
	  implementation.  If we use our glibc-glob.h header, but use the
	  system glob(3) implementation, strange things happen.  So make
	  sure that our libraries are linked before the other libraries.

	  Hopefully this does not cause other strange library/link
	  order-related issues.

2009-03-30 20:27  castaglia

	* modules/mod_lang.c:
	  Missed a dir_check() call which needs to pass the cmd_rec
	  pointer, not just the command name.

2009-03-30 16:16  castaglia

	* src/log.c:
	  Add some sane errno values if pr_log_openfile() fails in some
	  cases.

2009-03-30 11:43  castaglia

	* NEWS, include/fsio.h, modules/mod_ctrls.c, src/fsio.c,
	  src/ftpdctl.c, src/log.c, src/trace.c:
	  Bug#3225 - Opening of files during restart can inappropriately
	  use stdin/stdout/stderr descriptors, leading to bad behavior.

	  This patch adds a new pr_fsio_get_usable_fd() function, for
	  obtaining an fd (via dup(2)) which is NOT stdin/stdout/stderr.
	  It is to be used by functions which can be called in the daemon
	  process during startup/restart to ensure that the obtained
	  descriptor will not cause other issues (i.e.	with other code
	  which assumes the use of stdin/stdout/stderr).  I suspect that
	  this has been the underlying cause of several inexplicable
	  crashes/ log messages during restarts.

2009-03-30 11:31  castaglia

	* doc/howto/Rewrite.html:
	  Another good mod_rewrite example.

2009-03-28 17:51  castaglia

	* NEWS, contrib/mod_wrap.c, contrib/mod_wrap2/mod_wrap2.c:
	  Bug#3209 - mod_wrap2 should support the 'spawn' feature (or
	  equivalent) of tcpwrappers.

	  Add event generation to the mod_wrap and mod_wrap2 modules when a
	  connection is refused.  The mod_exec module can register
	  listeners for this event, and execute a command (e.g.
	  blockhosts/denyhosts/fail2ban) in response.

2009-03-28 17:39  castaglia

	* doc/contrib/mod_wrap.html:
	  Add mod_wrap FAQ about Bugs #2629, #2787, #3209.

2009-03-28 12:26  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_tls.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Bug#2178 - Extend TLSRequired for <Directory> and .ftpaccess
	  contexts.

2009-03-27 11:44  castaglia

	* contrib/mod_sftp/scp.c:
	  More futzing with the path resolution for SCP uploading.

2009-03-27 10:26  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Bug#3043 - SQLGroupInfo should allow custom queries.

2009-03-27 10:23  castaglia

	* configure:
	  Updated configure.

2009-03-27 10:15  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_auth_unix.c:
	  Bug#3231 - Use getgrset(3) on AIX to emulate getgrouplist(3).

2009-03-26 13:20  castaglia

	* NEWS, modules/mod_ls.c, src/dirtree.c,
	  tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Bug#3226 - HideFiles directive not working properly in
	  <Anonymous> sections.

2009-03-26 09:44  castaglia

	* doc/contrib/mod_sftp.html:
	  Typo.

2009-03-25 22:18  castaglia

	* RELEASE_NOTES:
	  Another note about use of the %{protocol} variable.

2009-03-25 18:47  castaglia

	* contrib/mod_sftp/scp.c:
	  Fix SCP uploading to handle an OpenSSH scp client invocations
	  like:

	    scp <file> <addr>:
	    scp <file> <addr>:.

	  These were being blocked on the STOR PRE_CMD handler because
	  mod_xfer only saw '.' as the file being uploaded, and would
	  complain about "not a regular file".

2009-03-25 09:02  castaglia

	* doc/howto/SQL.html:
	  Mention that the discussion about userset/usersetfast holds true
	  for groupset/groupsetfast as well.

2009-03-24 23:37  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Update the mod_tls unit tests to reflect changes in the recently
	  released Net::FTPSSL-0.08.  Still can't reuse the SSL session
	  from the control connection on a data connection, though.  (It's
	  a limitation in the fact that Net::FTPSSL uses
	  Net::SSLeay::Handle for the data connections, and
	  Net::SSLeay::Handle does not have a way to pass in a SSL_CTX to
	  use.	Sigh.)

2009-03-24 23:08  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Fix the test case for Bug#3149 slightly, to avoid any DNS issues.

2009-03-24 23:05  castaglia

	* src/bindings.c:
	  Modify the fix for Bug#2680 slightly, to avoid breaking
	  configurations which rely on the current behavior regarding
	  "DefaultServer on".  Now, if there is a vhost with "DefaultServer
	  on", that will be used in favor of a vhost listening on the
	  wildcard address.

2009-03-24 22:41  castaglia

	* doc/howto/SQL.html:
	  Add a SQL FAQ about the 'userset' and 'usersetfast'
	  SQLAuthenticate options.

2009-03-24 22:30  castaglia

	* RELEASE_NOTES, doc/contrib/mod_sql.html:
	  Update the SQLUserInfo docs to mention the fix for Bug#2434.
	  Mention this in the release notes as well.

2009-03-24 22:03  castaglia

	* NEWS, contrib/mod_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Bug#2434 - Buggy interaction between custom SQLUserInfo and
	  'userset' SQLAuthenticate parameter.

	  Fixing this required supporting a couple of other SQLNamedQuery
	  names, optional, to handle the 'userset' and 'usersetfast' cases.

2009-03-24 10:50  castaglia

	* RELEASE_NOTES:
	  Don't forget to mention the new %{protocol} variable in the
	  release notes.

2009-03-23 23:23  castaglia

	* NEWS, contrib/mod_quotatab.c, contrib/mod_ratio.c,
	  contrib/mod_site_misc.c, contrib/mod_tls.c,
	  contrib/mod_sftp/auth.c, contrib/mod_sftp/fxp.c,
	  contrib/mod_sftp/scp.c, include/dirtree.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_facts.c, modules/mod_ls.c,
	  modules/mod_xfer.c, src/dirtree.c, tests/tests.pl,
	  tests/t/config/limit/filters.t,
	  tests/t/lib/ProFTPD/Tests/Config/Limit/Filters.pm:
	  Bug#2067 - Allow/Deny Filters should be supported in the <Limit>
	  context.

2009-03-23 14:27  castaglia

	* NEWS, contrib/mod_quotatab.c, contrib/mod_quotatab.h,
	  contrib/mod_quotatab_file.c, contrib/mod_quotatab_ldap.c,
	  contrib/mod_quotatab_radius.c, contrib/mod_quotatab_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Bug#3161 - Updating tallies for deleted files should occur based
	  on file ownership.

	  Fixing this bug required changing the mod_quotatab API such that
	  the limit and tally objects into which data is read/written (from
	  the backend modules) are part of the API calls, rather than using
	  globals.  That's why there's so much code churn for this
	  particular fix.  But it's a Good Thing; these changes make fixing
	  other types of quota bugs much easier now.

2009-03-22 19:04  castaglia

	* doc/contrib/mod_rewrite.html:
	  Update the mod_rewrite docs to mention the Bug#3028 fix.

2009-03-22 18:59  castaglia

	* NEWS, contrib/mod_rewrite.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Bug#3028 - Unable to escape special characters in RewriteRule
	  substitution string.

2009-03-22 18:15  castaglia

	* modules/mod_ls.c:
	  When handling the LIST output, the outputfiles() function used to
	  do 4 sorts, linearly scanning the list of files built up using
	  addfile().  Ostensibly this list is used for sorting 1) a la -t
	  or -S, and 2) for supporting -C.  These 4 sorts are needed only
	  for -C, which is not used that often.  Thus it is now
	  conditional.

	  In the future, the entire use of the struct filename structure
	  (and the allocations out of the fpool pool which need to be freed
	  after all of the sorting) can be avoided for every case _except_
	  when -C, -S, or -t is used.  This too can add some performance
	  gains to the perceived LIST response time.

2009-03-22 18:12  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/LIST.pm:
	  Add a unit test for Bug#2821 for the LIST command as well.  It
	  is/can be useful for diagnosing/tuning the performance of the
	  time needed to free all of the struct filename structures
	  allocated for LIST entries (needed for the potential -C sorting).
	   Further gains can be done by *only allocating* these structures
	  if the -C option is used.

	  Add a unit test using LIST -C, also for such tests.

2009-03-22 11:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/Lookups.pm:
	  More work on the <Directory>-related performance tests.

2009-03-21 21:47  castaglia

	* src/: cmd.c, main.c:
	  Fix the code in pr_cmd_get_displayable_str() to be a little
	  easier to follow in my head.	(Also easier to debug.)

	  If we are going to be truncating an incoming FTP command because
	  of the CommandBufferSize, log about this.  Silent truncations are
	  annoying to track down.

2009-03-21 21:13  castaglia

	* modules/mod_core.c:
	  There is no reason to mark absolute paths in <Directory> sections
	  for deferred resolution; it only adds to the login time (due to
	  the running time of the resolve_deferred_dirs() function)
	  needlessly.

2009-03-21 20:31  castaglia

	* src/main.c:
	  Quell compiler warning.

2009-03-21 18:38  castaglia

	* doc/howto/Globbing.html:
	  Updating the Globbing howto to mention the tunable name
	  changes/additions.

2009-03-21 18:30  castaglia

	* include/options.h, lib/glibc-glob.c, src/main.c:
	  Add new PR_TUNABLE_GLOBBING_MAX_MATCHES tunable, as part of
	  Bug#2821.

2009-03-21 18:27  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Commands/LIST.pm,
	  t/lib/ProFTPD/Tests/Commands/NLST.pm:
	  Add a test case used for tracking down part of Bug#2821.  It's a
	  slow test, so make sure that it is not run as part of the default
	  testsuite.

2009-03-21 18:11  castaglia

	* modules/mod_ls.c:
	  Set the GLOB_NOSORT flag, by default, for NLST globs.  This can
	  help to speed up the glob(3) call by not requiring that the
	  results be sorted.  This can be changed via NLST options (and the
	  ListOptions directive).

	  Add some debug logging on the number of matched paths found by
	  glob(3), to aid in debugging cases where glibc's glob limits are
	  encountered, e.g. Bug#2821.

2009-03-21 16:08  castaglia

	* modules/mod_ls.c:
	  Improve NLST performance by NOT telling sendline() to flush
	  _after each NLST line added_.  That defeats the whole purpose of
	  having a buffer for sending lines in batches.

2009-03-20 21:01  castaglia

	* src/pool.c:
	  Optimize for the most common case; this is frequently called
	  function.

2009-03-20 16:03  castaglia

	* contrib/mod_sftp/scp.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Make sure that scp uploading a file into a nonexistent subdir a)
	  fails, and b) does NOT cause a disconnect.

2009-03-20 16:02  castaglia

	* contrib/mod_sftp/: disconnect.c, disconnect.h:
	  Clean up the disconnect trace log message a little when the
	  __FUNC__ (or equivalent) macro is not supported by the compiler.

2009-03-20 12:01  castaglia

	* NEWS, include/dirtree.h, modules/mod_core.c, src/dirtree.c,
	  src/main.c:
	  Bug#3221 - Command line defines (-D/--define) are lost on SIGHUP.

2009-03-20 09:58  castaglia

	* doc/howto/ASCII.html:
	  Add a FAQ about why the ASCII mode restriction was placed on the
	  SIZE command.

2009-03-19 17:03  castaglia

	* modules/mod_core.c:
	  Make sure that any stat cache is cleared when answering a SIZE
	  command.

2009-03-19 10:09  castaglia

	* contrib/mod_sftp/configure:
	  Updated mod_sftp's configure.

2009-03-19 10:02  castaglia

	* contrib/mod_sftp/: configure.in, crypto.c, mod_sftp.h.in:
	  Add an autoconf check for the EVP_aes_{192,256}_cbc() symbols in
	  OpenSSL.  Solaris 10 shipped a crippled OpenSSL for a while,
	  where AES support for bit lengths greater than 128 were removed.

2009-03-18 23:04  castaglia

	* contrib/mod_sftp/: auth-hostbased.c, auth-kbdint.c,
	  auth-password.c, auth-publickey.c, auth.c, auth.h:
	  Rewriting the user name in SSH2 authentication is a little bit
	  trickier, since we need to track both the original user name sent
	  by the client (for signature verification and such) as well as
	  the (possibly rewritten) user name, for
	  authentication/authorization.

2009-03-18 22:51  castaglia

	* contrib/mod_sftp/auth.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Make sure that mod_rewrite can be used to rewrite the user names
	  given during SSH2 authentication as well.

2009-03-18 22:39  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit tests for the SCP+mod_rewrite cases.

2009-03-18 22:39  castaglia

	* contrib/mod_sftp/: channel.c, fxp.c, scp.c:
	  Make sure that mod_rewrite can be applied to SCP commands as
	  well.

2009-03-18 22:00  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Unit tests validating the use of mod_rewrite to rewrite SFTP
	  requests.

2009-03-18 21:58  castaglia

	* contrib/mod_rewrite.c:
	  Add a comment about why there's a test for a SYMLINK command in
	  mod_rewrite.

2009-03-18 21:57  castaglia

	* contrib/: mod_rewrite.c, mod_sftp/fxp.c:
	  The handling of SFTP requests now honors PRE_CMD handlers such as
	  mod_rewrite; this means you can use mod_rewrite on SFTP requests,
	  just like you would on FTP commands.

2009-03-18 18:40  castaglia

	* doc/howto/Compiling.html:
	  Match the example configure options to their surrounding text.

2009-03-18 16:48  castaglia

	* doc/contrib/mod_rewrite.html:
	  Updated mod_rewrite docs to cover the %{ENV:var} syntax.

2009-03-18 16:32  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_rewrite.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Bug#3219 - Support environment variable substitutions in
	  mod_rewrite rules.

2009-03-18 11:08  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/Umask.pm:
	  Add unit test for globbing <Directory> with Umask, trying
	  unsuccessfully to reproduce an issue reported on the users
	  mailing list.

2009-03-18 09:03  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#3187 - Inconsistent mod_ban logging and display when using
	  "BanEngine off" in an <IfClass> configuration.

2009-03-18 09:01  castaglia

	* contrib/mod_sftp/rfc4716.c:
	  Add a reminder comment for admins, should there be trouble
	  parsing an AuthorizedKeys file, to make sure that the file is in
	  the correct format.

2009-03-17 22:34  castaglia

	* src/bindings.c:
	  Enhance the patch for Bug#2680 even further, to properly handle
	  connections to an IPv6 socket, and still looking for vhosts
	  configured for the IPv4 wildcard address before finally falling
	  back to DefaultServer.

2009-03-17 17:23  castaglia

	* doc/howto/Limit.html:
	  Should include the EPRT and EPSV commands in the example for
	  specifying only one kind of data transfer (active or passive).

2009-03-17 16:47  castaglia

	* doc/howto/Limit.html:
	  Update the Limit docs to mention MLSD and MLST.

2009-03-16 23:09  castaglia

	* contrib/mod_sftp/fxp.c:
	  The reading of ATTRS for SFTP protocol versions greater than 3
	  was using the old file attribute flag values.

2009-03-16 22:36  castaglia

	* src/dirtree.c:
	  Fix another possible cause of Bug#3184: rewind to the start of
	  the /etc/protocols file via a call to setprotoent(3), if
	  available.

2009-03-16 17:16  castaglia

	* NEWS, RELEASE_NOTES, src/bindings.c:
	  Bug#2680 - Add support for <VirtualHost 0.0.0.0>.

2009-03-16 16:26  castaglia

	* contrib/mod_sql.c, modules/mod_log.c:
	  Make sure that %V gets resolved to the DNS name of the IP address
	  to which the client connected.  This can differ from what is
	  expected, e.g. when DefaultServer marks a vhost (which is for a
	  different IP address) that handles the connection.

2009-03-16 09:47  castaglia

	* modules/mod_facts.c, tests/t/lib/ProFTPD/Tests/Commands/MLSD.pm:
	  The MLSD command, as per RFC, does not support glob characters.
	  However, this does not mean that we should error out on an MLSD
	  command which does contain glob characters; there could be a
	  valid directory with such characters in the path.

2009-03-14 10:59  castaglia

	* contrib/mod_sftp/rfc4716.c:
	  When parsing RFC4716 formatted keys, make sure the input buffer
	  is large enough to handle the longest allowable line: 72 bytes +
	  CRLF + NUL = 75 bytes.  And if the line is "too long", log that
	  length.

2009-03-13 13:38  castaglia

	* doc/howto/Quotas.html:
	  Another common cause of quota tallies not being updated.

2009-03-13 08:55  castaglia

	* src/inet.c:
	  Jess Alastruey pointed out there was an off-by-one bug in the
	  handling of the PassivePorts port selection code.  The highest
	  port number was not being properly shuffled.

2009-03-12 15:20  castaglia

	* configure:
	  Updated configure.

2009-03-12 15:17  castaglia

	* configure.in:
	  Guard against empty --with-FOO arguments; these lead to strange
	  build failures such as:

	    configure: error: source file './modules/d_ident.c' cannot be
	  found -- aborting

2009-03-12 10:43  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Return the %preun RPM build state to its previous implementation;
	  no need to futz with it for Bug#2613.

2009-03-12 10:23  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Updating the proftpd.spec to match Bug#2613.

2009-03-12 10:13  castaglia

	* configure:
	  Updated configure.

2009-03-12 10:11  castaglia

	* NEWS, RELEASE_NOTES, configure.in:
	  Bug#2613 - Configure script should not append '/proftpd' to the
	  --localstatedir.

2009-03-11 20:36  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add unit tests for the SSL session reuse requirement for data
	  transfers, and that using the NoSessionReuseRequired TLSOption
	  does in fact relax this requirement properly.

2009-03-11 19:57  castaglia

	* modules/mod_xfer.c:
	  If pr_data_sendfile() fails because of EOVERFLOW, fall back to
	  transmitting the data normally.  Less distracting for admins this
	  way.

2009-03-11 19:55  castaglia

	* contrib/mod_tls.c:
	  Fix stale pointer segfault caused when an FTPS client fails to
	  reuse the SSL session from the control connection for a data
	  transfer, and the SSL session has to be shut down.

2009-03-11 09:34  castaglia

	* contrib/mod_tls.c:
	  Stylistic cleanups in tls_verify_crl().

2009-03-11 09:33  castaglia

	* tests/t/: etc/modules/mod_tls/ca-crl.pem,
	  etc/modules/mod_tls/client-cert.pem,
	  lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add a unit test for TLSCARevocationFile.  Note that this
	  currently requires a hacked version of Net::FTPSSL; I am
	  contributing the patch to the upstream author.  (The patch is
	  necessary to configure the client cert that a Net::FTPSSL client
	  will present when talking to an FTPS server.)

2009-03-11 07:59  castaglia

	* doc/howto/Compiling.html:
	  Note the additional behavior when --enable-devel=coredump is used
	  (and emphasis why this is a Bad Idea unless you really know what
	  you're doing).

2009-03-10 21:52  castaglia

	* doc/contrib/mod_wrap2_sql.html:
	  Fix the mod_wrap2_sql documentation, thanks to Szymon Juraszczyk.

2009-03-10 21:50  castaglia

	* contrib/mod_wrap2_file.c, contrib/mod_wrap2_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_wrap2_file.pm,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_wrap2_sql.pm:
	  Further improvements to the fix for Bug#3048 and Bug#3215 from
	  Szymon Juraszczyk.

2009-03-10 16:26  castaglia

	* NEWS, contrib/mod_wrap2_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_wrap2_sql.pm:
	  Bug#3215 - mod_wrap2_sql should support comma-delimited lists of
	  clients.

2009-03-10 09:59  castaglia

	* contrib/mod_ban.c, contrib/mod_ctrls_admin.c, contrib/mod_tls.c,
	  include/compat.h, include/ctrls.h, include/mod_ctrls.h,
	  modules/mod_ctrls.c, modules/mod_delay.c, modules/mod_dso.c,
	  src/ctrls.c, src/ftpdctl.c:
	  Bug#3211 - Compile error when using --enable-ctrls
	  --with-shared=mod_ctrls.

2009-03-10 00:00  castaglia

	* RELEASE_NOTES, doc/contrib/mod_tls_shmcache.html:
	  Added docs for mod_tls_shmcache.html.

2009-03-09 23:53  castaglia

	* contrib/mod_tls_shmcache.c:
	  Forgot to include the $Libraries$ hint for mod_tls_shmcache.c.
	  Useful for when it is compiled as a shared modulel via prxs.

2009-03-09 23:52  castaglia

	* doc/contrib/mod_tls.html:
	  Typo.

2009-03-09 23:28  castaglia

	* RELEASE_NOTES, doc/contrib/mod_tls.html:
	  Add docs for the NoSessionReuseRequired TLSOption added in
	  Bug#3210.

2009-03-09 23:26  castaglia

	* contrib/mod_tls.c:
	  Typo.

2009-03-09 23:17  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_tls.c:
	  Bug#3210 - Data transfers protected by SSL/TLS should reuse the
	  control connection SSL session.

2009-03-09 23:06  castaglia

	* RELEASE_NOTES:
	  Mention the new directives and module.  Fuller descriptions will
	  be added later.

2009-03-09 23:04  castaglia

	* doc/contrib/mod_tls.html:
	  Update the mod_tls docs to include TLSControlsACLs,
	  TLSSessionCache, and the new mod_tls ftpdctl actions.

2009-03-09 23:02  castaglia

	* contrib/mod_tls.c:
	  Include the name of the external session cache in the 'clear' and
	  'remove' action outputs.

2009-03-09 22:55  castaglia

	* contrib/mod_tls_shmcache.c:
	  Add some identifying information about the module itself in the
	  status output.

2009-03-09 22:28  castaglia

	* contrib/mod_tls.c:
	  Make the default external SSL session cache timeout 30 minutes.
	  FTPS sessions are longer than HTTPS requests, hence why our
	  default session timeout is longer than OpenSSL's default (which
	  is 5 minutes).

2009-03-09 22:13  castaglia

	* contrib/mod_tls_shmcache.c:
	  Add new contrib module, mod_tls_shmcache, which provides a
	  shared-memory (SysV IPC shared memory) implementation for SSL
	  session caching among multiple processes.  Need at least one
	  implementation of an external SSL session cache for Bug#3207.

2009-03-09 22:10  castaglia

	* NEWS, contrib/mod_tls.c, contrib/mod_tls.h:
	  Bug#3207 - Support for SSL/TLS session caching across
	  processes/machines.

2009-03-09 20:11  castaglia

	* contrib/mod_tls.c:
	  Once we know the vhost handling the connection, use that vhost
	  pointer as the "session ID context" for SSL/TLS sessions.  This
	  ensures that SSL sessions to different vhosts (which may have
	  different SSL security policies configured) end up in different
	  groups (i.e. no chance of session ID collision between sessions
	  to two different vhosts).

2009-03-09 19:47  castaglia

	* doc/howto/Limit.html:
	  Add another example <Limit> config, for a read-only account.

2009-03-09 16:04  castaglia

	* contrib/mod_ban.c:
	  Pedantic ANSI C compilers might complain about the trailing
	  comma.

2009-03-09 10:26  castaglia

	* contrib/mod_tls.c:
	  If TLSCACertificatePath is configured, properly skip the "." and
	  ".." directories.  The code was there, but it was not doing this
	  properly (it was trying to read "." and ".." as filenames in that
	  directory, and thus littering the TLSLog with ugly, unnecessary
	  messages).

2009-03-09 09:26  castaglia

	* doc/howto/Limit.html:
	  Example <Limit> config of making a directory undeletable, but
	  allowing its subdirectories to be deletable.

2009-03-09 09:07  castaglia

	* src/proftpd.8.in, utils/ftpcount.1.in, utils/ftpscrub.8.in,
	  utils/ftptop.1.in, utils/ftpwho.1.in:
	  Bug#3212 - Duplicate '/run/' in manpages.

2009-03-08 18:43  castaglia

	* contrib/mod_tls.c:
	  Typo.

2009-03-08 18:29  castaglia

	* contrib/mod_tls.c:
	  If the EnableDiags TLSOption is enabled, log some SSL session
	  stats when the session ends.

2009-03-07 19:16  castaglia

	* contrib/mod_ban.c:
	  Typo.

2009-03-06 22:12  castaglia

	* contrib/mod_sftp/kbdint.c:
	  Need to return -1, not zero, if we fail to unregister a
	  'keyboard-interactive' driver for some reason.

2009-03-06 19:49  castaglia

	* contrib/mod_sftp_pam.c:
	  Add the same macro for const-ness (or not) for the pam_conv
	  function prototype as done in mod_auth_pam to mod_sftp_pam.

2009-03-06 18:00  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Bug#2652 - Installing standard RPM fails when /home mounted from
	  NFS filesystem on root_squashed host.  Add support for `rpmbuild
	  --define 'nohome 1' ...' in the provided proftpd.spec.

2009-03-06 16:25  castaglia

	* NEWS, RELEASE_NOTES, contrib/dist/rpm/proftpd.spec:
	  Bug#2985 - Newest .spec file requires relatively current version
	  of RPM.

2009-03-06 12:10  castaglia

	* contrib/mod_tls.c:
	  If we get to the point that we need to generate our own random
	  seed data for OpenSSL's PRNG, then allocate some uninitialized
	  memory off the heap and use that for the seed.  This complements
	  the existing use of uninitialized stack data as part of the
	  generated seed.

2009-03-05 15:17  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Added a unit test for the case where mod_sftp and mod_vroot are
	  used, and the SFTP client sends an OPENDIR request to a path
	  which happens to be a symlink to a path which lies outside of the
	  vroot area.  What a mess.

2009-03-05 15:16  castaglia

	* doc/contrib/mod_sftp.html:
	  The mod_sftp modules DOES support UseLastlog now.

2009-03-05 15:15  castaglia

	* contrib/mod_sftp/fxp.c:
	  When handling an OPENDIR request, resolve the given path to the
	  best local path before calling pr_fsio_opendir().  In most cases,
	  this is not important.  But when using mod_vroot and the path
	  being opened is a symlink to another directory, it IS important.

	  Also log to the "fileperms" log channel if pr_fsio_readlink()
	  fails when handling a READLINK request.

2009-03-05 13:29  castaglia

	* src/dirtree.c:
	  Minor stylistic cleanups.

2009-03-05 13:18  castaglia

	* contrib/mod_sftp/auth.c, modules/mod_auth.c:
	  Update mod_sftp to use the new pr_auth_get_home() function (for
	  honoring any RewriteHome configuration).

	  Change the timing of the call to pr_auth_get_home() in mod_auth,
	  so that it happens *before* any substitution of variables (e.g.
	  '%u') in the home dir.  This allows the rewritten home directory
	  to contain variables like '%u'.

2009-03-05 13:13  castaglia

	* RELEASE_NOTES:
	  Updated release notes with info about RewriteHome.

2009-03-05 13:09  castaglia

	* tests/: tests.pl, t/config/rewritehome.t,
	  t/lib/ProFTPD/Tests/Config/RewriteHome.pm:
	  Added unit test for the new RewriteHome configuration directive.

2009-03-05 10:56  castaglia

	* NEWS, contrib/mod_rewrite.c, include/auth.h, modules/mod_auth.c,
	  src/auth.c:
	  Bug#3167 - Support rewriting of home directories.

2009-03-04 23:08  castaglia

	* modules/mod_core.c:
	  Tell the admin to allocate a larger PassivePorts range, when we
	  encounter the case where a port in the defined PassivePorts range
	  cannot be used because all PassivePorts ports are in use.

2009-03-04 22:01  castaglia

	* contrib/mod_rewrite.c, contrib/mod_wrap2_file.c,
	  contrib/mod_sftp/rfc4716.c, include/fsio.h, src/display.c,
	  src/fsio.c, modules/mod_facts.c, src/netio.c, src/parser.c,
	  modules/mod_ls.c:
	  Replace the use of static buffers of size PR_TUNABLE_BUFFER_SIZE
	  in many placese with dynamically allocated buffers of more
	  optimal sizes.  See Bug#3206 for more details.

2009-03-04 21:24  castaglia

	* modules/mod_auth_pam.c:
	  Make extra sure that our PAM_CONST macro doesn't collide with any
	  system macro of the same name by calling it PR_PAM_CONST.

2009-03-04 20:57  castaglia

	* modules/mod_auth_pam.c:
	  I finally got tired of seeing this compiler warning:

	    mod_auth_pam.c:88: warning: function declaration isn't a
	  prototype

	  because mod_auth_pam used K&R style (for some reason) in one
	  place.  So fix it up to be ANSI style, and deal with the
	  platform-specific const-ness of one of the arguments.

2009-03-04 16:33  castaglia

	* contrib/mod_sftp/fxp.c:
	  Clients using later SFTP protocol versions can include attribute
	  flags in the stat (STAT, FSTAT, LSTAT) requests to indicate the
	  specific attributes in which the client is interested.  Even
	  though mod_sftp does not honor these hints, it now logs the text
	  version of those flags; previously it was simply logging the raw
	  value.  As a bitmask, this logged number was not especially
	  enlightening.

	  Also added logging of the textified flags which are unsupported,
	  in the case of an OPEN request which is rejected because of
	  unsupported flags in the request.

2009-03-04 12:15  castaglia

	* src/dirtree.c:
	  Corrected stale/misleading comment.

2009-03-04 10:44  castaglia

	* modules/mod_auth_unix.c, src/auth.c:
	  Fix the implementation of pr_auth_authorize().  Now,
	  mod_auth_unix (the only known 'authorize' handler at present)
	  will explicitly return ERROR to the 'authorize' call if the user
	  is not authorized.  This way, an 'authorize' dispatch which gets
	  a result of HANDLED or DECLINED treats the user as "authorized".
	  The DECLINED case means that a user can be authenticated via e.g.
	  mod_sql (which does NOT provide an 'authorize' handler), and be
	  successfully authorized as well.

2009-03-04 10:30  castaglia

	* contrib/mod_sftp/interop.c:
	  Include the SSH2 client version info in the TraceLog.

2009-03-04 10:10  castaglia

	* contrib/mod_sftp/keys.c:
	  Add trace logging for channel "ssh2", level 17, of reasons why
	  key mismatches occur.

2009-03-04 09:42  castaglia

	* contrib/mod_sftp_sql.c:
	  Be a little more clear when logging why a key comparison failed
	  (i.e.  differentiate between "comparison failure" and "key
	  mismatch").

2009-03-04 09:41  castaglia

	* contrib/mod_sftp/: crypto.c, kex.c, mac.c:
	  Make mod_sftp compile properly when dealing with older versions
	  of OpenSSL (e.g. OpenSSL versions older than 0.9.7).

2009-03-04 08:21  castaglia

	* NEWS, src/prxs.in:
	  Bug#3204 - Better support for installation and libs in prxs.

2009-03-03 22:47  castaglia

	* contrib/mod_sftp/: channel.c, fxp.c:
	  Include more info in the dispatched cmd_recs, e.g. channel IDs.

2009-03-03 22:11  castaglia

	* doc/howto/ServerType.html:
	  Add a real xinetd config example to the ServerType howto, rather
	  than having the broken UserGuide link.

2009-03-03 22:06  castaglia

	* contrib/mod_sql.c, modules/mod_auth.c, modules/mod_log.c:
	  More work towards Bug#2715.  This moves the storage of the
	  anonymous password to the session.notes table, and out of the
	  config tree.

2009-03-03 16:57  castaglia

	* doc/modules/mod_delay.html:
	  Add some mod_delay FAQs.

2009-03-03 15:41  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#3203 - Missing SQL backend modules can lead to null pointer
	  segfault in mod_sql.

2009-03-03 10:29  castaglia

	* src/Makefile.in, utils/Makefile.in:
	  Turns out that deleting files (via 'make clean) generated at
	  configure time, rather than at compile time, is a bad idea.  You
	  can do several 'make clean && make install' invocations with one
	  configure invocation; the install step complains about missing
	  files (i.e. the generated ones) after they've been deleted
	  unnecessarily.

2009-03-03 09:06  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  String formatting fixed, as per Bug#3197.

2009-03-02 23:59  castaglia

	* contrib/mod_quotatab_file.c:
	  Remove the log messages about EOF; they proved to be too annoying
	  and not as helpful as one would like.

2009-03-02 23:59  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#3196 - mod_quotatab does not honor last group in supplemental
	  group list.

2009-03-02 23:47  castaglia

	* tests/: tests.pl,
	  t/etc/modules/mod_quotatab_file/ftpquota.limittab,
	  t/etc/modules/mod_quotatab_file/ftpquota.tallytab,
	  t/lib/ProFTPD/Tests/Modules/mod_quotatab_file.pm,
	  t/modules/mod_quotatab_file.t:
	  Add a unit test for mod_quotatab_file.

2009-03-02 15:48  castaglia

	* modules/mod_facts.c, tests/t/lib/ProFTPD/Tests/Commands/MLSD.pm,
	  tests/t/lib/ProFTPD/Tests/Commands/MLST.pm:
	  Make sure that the MLST and MLSD command handlers can handle
	  paths with spaces in them.  This is essentially the same bug as
	  Bug#3142; the fix for that bug was not properly extended to the
	  MLST and MLSD commands.

2009-03-02 09:56  castaglia

	* include/support.h:
	  Remove the declaration of the now-obsolete set_protocol_name()
	  function.

2009-03-02 09:22  castaglia

	* RELEASE_NOTES:
	  Mention the Korean translation.

2009-03-02 09:21  castaglia

	* locale/: Makefile.in, ko_KR.po:
	  Bug#3194 - Add Korean translation.

2009-03-02 09:21  castaglia

	* locale/ko_KR.po: file ko_KR.po was added on branch B1_3_2 on
	  2009-04-28 22:50:22 +0000

2009-02-27 14:32  castaglia

	* contrib/mod_sftp/kex.c:
	  Copy the client-sent language lists out of the kex pool, not out
	  of the packet pool.

2009-02-26 16:23  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Add unit tests for the one-hostkey-only mod_sftp configurations.

2009-02-26 16:22  castaglia

	* doc/contrib/mod_sftp.html:
	  Update the mod_sftp docs to mention that only one SFTPHostKey is
	  now required.

2009-02-26 16:20  castaglia

	* contrib/mod_sftp/: kex.c, keys.c, keys.h, mod_sftp.c:
	  Fix bug when handling language lists; I forgot to initialize the
	  server's language list, even if it is to the empty string.

	  Also make mod_sftp more lenient with regard to host keys.  It
	  will now function if only one host key, be it RSA or DSA, is
	  configured.

2009-02-26 15:14  castaglia

	* contrib/mod_sftp/kex.c:
	  Start implementing support for negotiated languages in the key
	  exchange.  For now, actually read (and log) the list of languages
	  sent by the client.

2009-02-26 14:35  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sftp.pm:
	  Fix the permissions on the test hostkey files so that mod_sftp
	  won't complain about them.

2009-02-26 14:04  castaglia

	* locale/fr_FR.po:
	  Updated French translation from the translator.

2009-02-26 14:04  castaglia

	* locale/fr_FR.po: file fr_FR.po was added on branch B1_3_2 on
	  2009-04-28 22:50:22 +0000

2009-02-26 13:43  castaglia

	* contrib/mod_sftp/channel.c:
	  When sending WINDOW_ADJUST messages to the client, mod_sftp needs
	  to use the (possibly) SFTPClientMatch adjusted window size, not
	  the default window size.

2009-02-26 12:31  castaglia

	* modules/mod_facts.c:
	  The response to MLST was sending the info, and terminating the
	  line with an extra LF, e.g. "dataLFCRLF", rather than just a
	  normal CRLF.

2009-02-21 18:49  castaglia

	* contrib/mod_sftp/fxp.c:
	  Update mod_sftp so that it too uses the new
	  pr_filter_allow_path() function.

2009-02-21 18:48  castaglia

	* contrib/mod_sftp/utf8.c:
	  Fix the compilation of mod_sftp when --enable-nls is NOT used.

2009-02-21 17:51  castaglia

	* modules/mod_core.c, modules/mod_xfer.c,
	  tests/t/lib/ProFTPD/Tests/Config/PathAllowFilter.pm,
	  tests/t/lib/ProFTPD/Tests/Config/PathDenyFilter.pm:
	  Updated mod_core so that it uses pr_filter_allow_path(), rather
	  than looking up and comparing against the
	  PathAllowFilter/PathDenyFilter directives directly.  Provide
	  accompanying tests to show that no functionality has been broken
	  in this refactoring.

2009-02-21 16:28  castaglia

	* Make.rules.in, include/conf.h, include/filter.h,
	  modules/mod_xfer.c, src/filter.c:
	  Consolidate the checking of a path against the PathAllowFilter
	  and PathDenyFilter directives into a common
	  pr_filter_allow_path() function, rather than having the checking
	  of those directives repeatedly done throughout the code.

	  Right now, only the STOR handler in mod_xfer has been updated to
	  use this new pr_filter_allow_path() function; more updates for
	  the rest of the core code will be coming.

2009-02-21 16:24  castaglia

	* utils/.cvsignore:
	  Ignore the generated ftpscrub.8 man page in CVS commands.

2009-02-21 16:22  castaglia

	* src/log.c:
	  Implement pr_log_writefile() so that it calls
	  pr_log_vwritefile(), just like the other module logging functions
	  do.

2009-02-21 16:09  castaglia

	* tests/: tests.pl, t/config/pathallowfilter.t,
	  t/config/pathdenyfilter.t,
	  t/lib/ProFTPD/Tests/Config/PathAllowFilter.pm,
	  t/lib/ProFTPD/Tests/Config/PathDenyFilter.pm:
	  Added unit tests for the PathAllowFilter and PathDenyFilter
	  directives.  Will be adding more tests for this directives,
	  involving other FTP commands, soon.

2009-02-20 22:19  castaglia

	* contrib/mod_quotatab.c, contrib/mod_quotatab.h,
	  contrib/mod_radius.c, contrib/mod_sql.c, contrib/mod_tls.c,
	  contrib/mod_wrap2/mod_wrap2.c, contrib/mod_wrap2/mod_wrap2.h.in,
	  include/log.h, include/mod_ctrls.h, modules/mod_ctrls.c,
	  src/log.c:
	  The changes to the logging functions made earlier today pointed
	  out to me the fact that many of the contrib modules -- and even
	  mod_ctrls -- had functionally duplicative logging functions as
	  the core pr_log_writefile() function.  And why have duplicated
	  code when it isn't necessary?

	  To address this, a new pr_log_vwritefile() function has been
	  added.  This function, rather than be a varargs-style function
	  like pr_log_writefile(), takes a va_list parameter.  This makes
	  it suitable for calling by the contrib modules' own logging
	  functions, which themselves are varargs-style functions.

	  While I was at it, I made sure that these logging functions are
	  checked via gcc's __attribute__ pragma (where it wasn't already
	  being done), and cleaned up the resulting compiler warnings.

2009-02-20 22:14  castaglia

	* contrib/mod_sql.c:
	  Fix a stylistic nit in sql_addgroup.	The cnt variable had an
	  unnecessarily large scope, and the gr_mem array of strings should
	  be terminated with a NULL, not a '\0' (NUL character).

2009-02-20 22:11  castaglia

	* .cvsignore:
	  Add the new ftpscrub utility to the cvs ignore list.

2009-02-20 17:13  castaglia

	* contrib/mod_tls.c:
	  Be a little paranoid, and keep X509_NAME_oneline() from using the
	  entire buffer; reserve one character for NUL.

2009-02-20 14:47  castaglia

	* contrib/mod_quotatab.c, contrib/mod_radius.c, contrib/mod_sql.c,
	  contrib/mod_tls.c, contrib/mod_wrap2/mod_wrap2.c,
	  modules/mod_ctrls.c, src/log.c:
	  Fix the logging functions to handle long log messages properly.

2009-02-20 09:19  castaglia

	* NEWS, modules/mod_facts.c,
	  tests/t/lib/ProFTPD/Tests/Commands/MLSD.pm,
	  tests/t/lib/ProFTPD/Tests/Commands/MLST.pm:
	  Bug#3190 - MLSD/MLST do not honor <Limit> configurations.

2009-02-19 09:45  castaglia

	* src/ftpscrub.c, utils/ftpscrub.c:
	  Forgot to move the ftpscrub.c source from from src/ to utils/,
	  along with the its man pages and build rules.

2009-02-19 09:34  castaglia

	* contrib/mod_sftp/: mod_sftp.c, utf8.c, utf8.h:
	  Make mod_sftp honor the UseEncoding directive iff it has been
	  used in the two-argument form.  In this particular case, the
	  client encoding is dictated by the IETF Draft for SFTP to be
	  UTF8, but the admin can now use UseEncoding to set the local
	  charset that mod_sftp should use.

2009-02-18 13:55  castaglia

	* RELEASE_NOTES, doc/howto/Scoreboard.html:
	  Mention the ScoreboardScrub directive in the release notes, and
	  update the Scoreboard howto to mention this new directive.

2009-02-18 13:40  castaglia

	* configure:
	  Updated configure.

2009-02-18 13:40  castaglia

	* src/Makefile.in, src/ftpscrub.8.in, utils/Makefile.in,
	  utils/ftpscrub.8.in:
	  Put the ftpscrub.8.in man page template in the wrong directory;
	  should have been in utils/, not in src/.

2009-02-18 13:33  castaglia

	* NEWS, Make.rules.in, Makefile.in, configure.in,
	  modules/mod_core.c, src/Makefile.in, src/ftpscrub.8.in,
	  src/ftpscrub.c, utils/Makefile.in, utils/scoreboard.c,
	  utils/utils.h:
	  Bug#3129 - Support configurable scoreboard scrubbing.

2009-02-18 13:24  castaglia

	* contrib/mod_sql_postgres.c:
	  Minor OCD reordering.

2009-02-18 10:54  castaglia

	* contrib/mod_sftp/disconnect.h:
	  Helps if the comment matches the code.

2009-02-18 10:53  castaglia

	* contrib/mod_sftp/disconnect.h:
	  Handle the lack of __FUNCTION__ (a gcc extension) better.  Try to
	  use __func__ if present (Sun compilers use this), and have a
	  fallback of "(unknown)" for other cases.

2009-02-18 10:24  castaglia

	* src/wtmp.c:
	  Finally get rid of these compiler warnings:

	    wtmp.c:38: warning: unused variable `ut'
	    wtmp.c:39: warning: unused variable `fd'

	  on Solaris systems.

2009-02-18 10:01  castaglia

	* NEWS, contrib/mod_sql_postgres.c:
	  Bug#3176 - Postgres chokes on standard charset names.

2009-02-17 10:26  castaglia

	* Makefile.in, NEWS:
	  Bug#3189 - Linker errors occur when using "make -j" parallel
	  builds.

2009-02-17 09:06  castaglia

	* lib/libltdl/Makefile.in:
	  Forgot to re-apply the libltdl modifications to disable the
	  actions that try to use autoheader and automake.  These aren't
	  installed on every system, and we don't really use them.

2009-02-16 21:59  castaglia

	* RELEASE_NOTES, doc/contrib/mod_tls.html:
	  Update the docs for the new PKCS#12 file support in mod_tls.

2009-02-16 21:51  castaglia

	* NEWS, contrib/mod_tls.c,
	  tests/t/etc/modules/mod_tls/server-cert.p12,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Bug#3111 - Support SSL/TLS server certificates stored in PKCS#12
	  files.

2009-02-16 21:30  castaglia

	* NEWS, configure:
	  Bug#3154 - Update bundled libtool version.  The bundled libltdl
	  version has been updated to libtool-1.5.26.

2009-02-16 21:27  castaglia

	* aclocal.m4, ltmain.sh:
	  More towards Bug#3154.

2009-02-16 21:26  castaglia

	* lib/libltdl/configure:
	  Update configure, so that make doesn't think it needs to
	  regenerate the configure file.  (The configure file needs a newer
	  timestamp than the configure.ac file, otherwise the Makefile will
	  try to make a new configure.)

2009-02-16 21:22  castaglia

	* lib/libltdl/: COPYING.LIB, Makefile.am, Makefile.in,
	  acinclude.m4, aclocal.m4, config.guess, config.sub, configure,
	  configure.ac, install-sh, ltdl.c, ltdl.h, ltmain.sh, missing:
	  Bug#3154 - Update bundled libtool version.

2009-02-16 21:07  castaglia

	* src/Makefile.in:
	  Clean up the other generated files from the src directory (i.e.
	  the man pages).

2009-02-16 20:13  castaglia

	* src/Makefile.in:
	  Clean up the generated prxs script.

2009-02-16 17:29  castaglia

	* doc/contrib/mod_sftp.html:
	  Add hrefs to the individual SFTP FAQs.

	  Added FAQ about using mod_sftp as an OpenSSH subsystem.

2009-02-16 10:45  castaglia

	* src/prxs.in:
	  Give the prxs tool a --help option.

2009-02-16 10:32  castaglia

	* NEWS, src/prxs.in:
	  Bug#3188 - prxs broken due to typo.

2009-02-16 09:46  castaglia

	* contrib/: mod_load/.cvsignore, mod_sftp/.cvsignore,
	  mod_wrap2/.cvsignore:
	  Ignore libtool object files (*.lo) in CVS commands.

2009-02-15 19:14  castaglia

	* contrib/mod_sftp/auth.c, contrib/mod_sftp/channel.c,
	  contrib/mod_sftp/fxp.c, contrib/mod_sftp/kex.c,
	  contrib/mod_sftp/packet.c, contrib/mod_sftp/scp.c,
	  contrib/mod_sftp/service.c, include/cmd.h, src/main.c:
	  Work towards supporting the %S/%s LogFormat variables for SFTP
	  responses.  Doing so required changing the
	  pr_cmd_dispatch_phase() function so that it takes a flag
	  argument, rather than just a Boolean, and updating all of the
	  callers (most of which are in mod_sftp).

2009-02-15 18:51  castaglia

	* include/support.h:
	  Forgot to remove the old make_arg_str() declaration.

2009-02-15 16:44  castaglia

	* contrib/mod_sftp/fxp.c:
	  Support use of the TEXT mode flag in SFTP OPEN requests from
	  clients using SFTP protocol version 4 and later.  Since we send
	  the 'newline' extension telling the client that the "canonical"
	  newline sequence is a simple LF, supporting TEXT mode for files
	  is the same as non-TEXT mode for Unix.

	  However, against the recommendations of the SFTP Draft, mod_sftp
	  will NOT support a "text-seek" request; the computational cost of
	  supporting such a thing is not worth it.

2009-02-15 15:34  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_ban.pm:
	  Add regression tests for the BanEngine behavior added in
	  Bug#3186.

2009-02-15 15:32  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#3186 - Support use of <IfClass> directive with mod_ban.

2009-02-14 19:15  castaglia

	* NEWS, contrib/mod_wrap2/mod_wrap2.c:
	  Bug#3185 - mod_wrap2 does not honour partial DNS name in access
	  files.

2009-02-14 16:27  castaglia

	* Make.rules.in, contrib/mod_rewrite.c, include/cmd.h,
	  include/conf.h, include/dirtree.h, include/inet.h,
	  include/modules.h, src/cmd.c, src/dirtree.c, src/main.c,
	  src/support.c:
	  Try consolidating some of the pr_cmd_* functions into their own
	  file (and give them their own header).

	  Replaced make_arg_str() with pr_cmd_get_displayable_str(), which
	  caches the resulting string of decoded arguments (to avoid
	  needless re-decoding on every command dispatch).

2009-02-14 15:35  castaglia

	* contrib/mod_sftp/auth-hostbased.c,
	  contrib/mod_sftp/auth-publickey.c, include/auth.h,
	  modules/mod_auth_unix.c, src/auth.c:
	  Add a new pr_auth_authorize() API, for checking that a user is
	  authorized to login.	This is different from
	  pr_auth_authenticate(), which authenticates the user using the
	  given password.  The authorization checks do not need a password.

	  This function is particularly needed by mod_sftp, which can
	  authenticate a client via non-password means (e.g. hostbased,
	  keyboard-interactive, and publickey authentication); the
	  authorization of the logging-in user still needs to occur in
	  those cases.

2009-02-14 14:33  castaglia

	* contrib/: mod_quotatab.c, mod_radius.c, mod_sql.c, mod_tls.c,
	  mod_sftp/mod_sftp.c, mod_wrap2/mod_wrap2.c:
	  When unloading modules which can have their own logs, make sure
	  that those log descriptors are closed.

2009-02-14 13:16  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/: mod_wrap2_file.pm,
	  mod_wrap2_sql.pm:
	  Add separate mod_wrap2 deny table tests for IP addresses and DNS
	  names.

2009-02-13 22:02  castaglia

	* src/session.c:
	  Use a plain unadorned "ssh" as the TTY name in case of SSH
	  sessions.

2009-02-13 21:06  castaglia

	* Make.rules.in, contrib/mod_sftp/auth.c, include/log.h, src/log.c,
	  src/wtmp.c:
	  Separate out log_wtmp() into its own source file.

	  Update mod_sftp to honor WtmpLog and UseLastlog.

2009-02-13 21:01  castaglia

	* contrib/mod_sql.c:
	  Constify one of the functions, and deal with the consequences.

2009-02-13 19:59  castaglia

	* Make.rules.in, contrib/mod_sql.c, contrib/mod_tls.c,
	  contrib/mod_sftp/fxp.c, contrib/mod_sftp/mod_sftp.c,
	  contrib/mod_sftp/scp.c, include/conf.h, include/log.h,
	  include/session.h, modules/mod_auth.c, modules/mod_log.c,
	  src/log.c, src/main.c, src/session.c,
	  tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm:
	  Added new Session API.  The data for the session are stashed in
	  the session.notes table, but these accessors can perform some
	  intelligent transformation on the stashed value.

	  Bug#3183 proved that the construction of the pseudo-ttyname, used
	  in WtmpLog and PAM authentication, should be consolidated, and
	  this has been done.

	  Also used the Session API to implement a %{protocol} LogFormat
	  (and SQLNamedQuery) variable.  This will resolve to "ftp",
	  "ftps", "ssh2", "sftp", or "scp" as appropriate.  A unit test for
	  regressions of this feature is included.

2009-02-13 15:43  castaglia

	* contrib/: mod_sftp_pam.c, mod_sftp_sql.c:
	  Update the copyright dates for these modules.

2009-02-13 15:41  castaglia

	* contrib/mod_sftp/: auth-hostbased.c, auth-kbdint.c,
	  auth-password.c, auth-publickey.c, auth.c, auth.h, blacklist.c,
	  blacklist.h, channel.c, channel.h, cipher.c, cipher.h,
	  compress.c, compress.h, crypto.c, crypto.h, disconnect.c,
	  disconnect.h, fxp.c, fxp.h, interop.c, interop.h, kbdint.c,
	  kbdint.h, kex.c, kex.h, keys.c, keys.h, keystore.c, keystore.h,
	  mac.c, mac.h, mod_sftp.c, mod_sftp.h.in, msg.c, msg.h, packet.c,
	  packet.h, rfc4716.c, rfc4716.h, scp.c, scp.h, service.c,
	  service.h, session.c, session.h, ssh2.h, tap.c, tap.h, utf8.c,
	  utf8.h:
	  Add the Id keyword to the source files.

2009-02-13 15:09  castaglia

	* src/netaddr.c:
	  Quell a compiler warning about const-ness.

2009-02-13 15:07  castaglia

	* contrib/mod_sftp/: keys.c, keys.h:
	  Forgot the keys.[ch] files for mod_sftp.

2009-02-13 14:20  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_sftp.pm,
	  t/modules/mod_sftp.t:
	  Adding the mod_sftp testsuite.

2009-02-13 14:17  castaglia

	* tests/t/etc/modules/mod_sftp/: authorized_dsa_keys,
	  authorized_rsa_keys, ssh_host_dsa_key, ssh_host_dsa_key.pub,
	  ssh_host_rsa_key, ssh_host_rsa_key.pub, test_dsa_key,
	  test_dsa_key.pub, test_rsa_key, test_rsa_key.pub:
	  Adding some of the files used by the mod_sftp unit tests.

2009-02-13 14:03  castaglia

	* contrib/mod_sftp/mod_sftp.c:
	  Make sure that, when unloaded, mod_sftp unregisters all event
	  handlers, and scrubs any keys from memory.

2009-02-13 13:51  castaglia

	* NEWS, README.modules, RELEASE_NOTES:
	  Add mention of the added mod_sftp et al modules.

2009-02-13 13:45  castaglia

	* contrib/mod_sftp_pam.c, contrib/mod_sftp_sql.c,
	  doc/contrib/mod_sftp.html, doc/contrib/mod_sftp_pam.html,
	  doc/contrib/mod_sftp_sql.html:
	  Adding mod_sftp_pam, mod_sftp_sql to the contrib modules.

	  Adding docs for mod_sftp, mod_sftp_pam, and mod_sftp_sql.

2009-02-13 13:43  castaglia

	* contrib/mod_sftp/: .cvsignore, Makefile.in, auth-hostbased.c,
	  auth-kbdint.c, auth-password.c, auth-publickey.c, auth.c, auth.h,
	  blacklist.c, blacklist.dat, blacklist.h, channel.c, channel.h,
	  cipher.c, cipher.h, compress.c, compress.h, config.guess,
	  config.sub, configure, configure.in, crypto.c, crypto.h,
	  dhparams.pem, disconnect.c, disconnect.h, fxp.c, fxp.h,
	  install-sh, interop.c, interop.h, kbdint.c, kbdint.h, kex.c,
	  kex.h, keystore.c, keystore.h, mac.c, mac.h, mod_sftp.c,
	  mod_sftp.h.in, msg.c, msg.h, packet.c, packet.h, rfc4716.c,
	  rfc4716.h, scp.c, scp.h, service.c, service.h, session.c,
	  session.h, ssh2.h, tap.c, tap.h, utf8.c, utf8.h:
	  Adding mod_sftp to the contrib modules.

2009-02-13 09:11  castaglia

	* contrib/mod_tls.c:
	  Move the installation of the control channel NetIO handler from
	  the startup event handler to the postparse event handler, and
	  make the NetIO handler installer be smarter.	We only want to
	  install a NetIO handler for the control channel if we have not
	  already done so.  We want to do this at postparse time, so that
	  if mod_tls is a DSO module and is unloaded (as during a restart),
	  then the NetIO handler will be installed again properly.
	  Previously, the NetIO handler was only installed on startup.	If
	  mod_tls is a DSO module, and proftpd is restarted, then the
	  unload event handler in mod_tls unregisters the control channel
	  NetIO handler, and that handler is never reinstalled.  A segfault
	  later occurs because of a null pointer dereference.

2009-02-13 08:04  castaglia

	* NEWS, src/dirtree.c:
	  Bug#3184 - When started in a chroot, proftpd fails to set
	  transfer buffer size.

2009-02-12 14:41  castaglia

	* doc/howto/DNS.html:
	  Mention the new -S command-line option in the DNS howto's FAQ
	  section.

2009-02-12 14:32  castaglia

	* NEWS, RELEASE_NOTES, include/netaddr.h, modules/mod_core.c,
	  src/main.c, src/netaddr.c, src/proftpd.8.in:
	  Bug#2608 - DNS should not be used for "server config" address
	  discovery.

2009-02-12 13:36  castaglia

	* contrib/mod_quotatab_file.c:
	  Handle possible interruptions of readv(2) and writev(2) in
	  mod_quotatab_file.

2009-02-12 12:13  castaglia

	* contrib/mod_ctrls_admin.c, include/compat.h, include/inet.h,
	  modules/mod_core.c, modules/mod_ident.c, src/bindings.c,
	  src/data.c, src/dirtree.c, src/inet.c, src/main.c, src/netaddr.c:

	  Renamed the Inet "connection" functions to "conn"; no need to
	  have function names that are that verbose.  Updated the attendant
	  callers, and added compatibility macros in compat.h.

	  Removed older compatibility macros for the log functions from
	  compat.h.

	  Added handling of the case where fixup_servers() can return -1
	  after a restart.  One user was somehow encountering a case where
	  proftpd could resolve the hostname on startup, but failed to
	  resolve the hostname after a restart.  This lead to a segfault
	  because the main_server pointer, after this failure, pointed to
	  old/stale memory.

2009-02-12 12:02  castaglia

	* .cvsignore, contrib/.cvsignore, contrib/mod_load/.cvsignore,
	  contrib/mod_wrap2/.cvsignore:
	  Minor refinement of the .libs exclusion.

2009-02-12 12:01  castaglia

	* .cvsignore, contrib/.cvsignore, contrib/mod_load/.cvsignore,
	  contrib/mod_wrap2/.cvsignore:
	  Ignore .la files and the .libs/ directory.

2009-02-12 11:13  castaglia

	* NEWS, modules/mod_auth.c, src/main.c:
	  Bug#3183 - Incorrect logging to wtmp.

2009-02-11 22:47  castaglia

	* tests/: tests.pl, t/config/hidegroup.t, t/config/hideuser.t,
	  t/lib/ProFTPD/Tests/Config/HideGroup.pm,
	  t/lib/ProFTPD/Tests/Config/HideUser.pm:
	  Adding testcases for the HideUser and HideGroup directives.

2009-02-11 22:46  castaglia

	* NEWS, modules/mod_core.c, src/dirtree.c:
	  Bug#2720 - HideUser/HideGroup should be more flexible.

2009-02-11 21:31  castaglia

	* NEWS, src/ctrls.c, src/event.c:
	  Bug#3179 - Restarted proftpd using mod_shaper will segfault.

2009-02-11 21:04  castaglia

	* src/auth.c:
	  The first id2name lookup was always returning the numeric ID,
	  even if the lookup succeed.  Fix this so that the looked-up name
	  is properly returned even for the first lookup.

2009-02-11 12:03  castaglia

	* contrib/mod_ban.c:
	  Avoid unsightly error messages like this when shutting down a
	  proftpd using mod_ban:

	    mod_ban/0.5.3: error removing shmid -1: No such file or
	  directory

	  by actually checking that the shmid is greater than -1 before
	  attempting to remove it.

2009-02-11 11:49  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Add a testcase for the SQLLog directive and the handling of the
	  %{time} variable.

2009-02-11 10:44  castaglia

	* NEWS, contrib/mod_wrap2/mod_wrap2.c:
	  Bug#3178 - mod_wrap2 does not handle IPv4-mapped IPv6 addresses.

2009-02-10 22:56  castaglia

	* modules/mod_auth.c, src/display.c,
	  tests/t/lib/ProFTPD/Tests/Config/DisplayConnect.pm:
	  Work towards Bug#2715.  With this change, the config tree is no
	  longer used for storing client count and class client count using
	  the "CURRENT-CLIENTS" and "CURRENT-CLIENTS-CLASS" config_rec
	  names.  These values are now stored (and retrieved) using the
	  session.notes table.

2009-02-10 21:57  castaglia

	* NEWS, src/main.c,
	  tests/t/lib/ProFTPD/Tests/Config/ServerIdent.pm:
	  Bug#2728 - Support for variables in ServerIdent directive.

2009-02-10 13:57  castaglia

	* RELEASE_NOTES, sample-configurations/PFTEST.conf.in,
	  sample-configurations/complex-virtual.conf:
	  Update the release notes to mention that the IdentLookups
	  directive is handled by the mod_ident module, and thus should be
	  appropriately guarded in the proftpd.conf using <IfModule>.

	  Update the distributed sample configs to use <IfModule> guards
	  around IdentLookups.

2009-02-09 16:39  castaglia

	* contrib/mod_tls.c:
	  If we can't set the certificate-related environment variables,
	  log the reason why.

2009-02-09 16:31  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#3170 - RewriteMap unescape URL encoding broken by
	  RewriteCondition backreference handling.

2009-02-09 16:05  castaglia

	* src/main.c:
	  Fix a few cases where the signal-presence bit was not cleared in
	  pr_signals_handle(), prior to calling some other function.
	  Failure to do so can lead to endless loops, for that called
	  function can itself call pr_signals_handle(), which sees the
	  signal-presence bit, which then calls the function, etc.  Such a
	  loop results in a segfault, when the stack has been exhausted.

2009-02-09 15:27  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/HiddenStores.pm:
	  Add regression test for Bug#3156.

2009-02-09 15:27  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#3156 - Allow resumed downloads when HiddenStore is in effect.

2009-02-09 10:51  castaglia

	* modules/mod_auth.c:
	  In the scoreboard entry for a session, record the IP address/port
	  to which the client connected.  In some cases, this can be
	  different from the IP address/port on which the server config,
	  which handles the connection, is listening.  In the DefaultServer
	  case, for example.

2009-02-09 09:58  castaglia

	* RELEASE_NOTES, locale/Makefile.in, locale/bg_BG.po:
	  Added Bulgarian translation, courtesy of Georgi D. Sotirov.

2009-02-09 09:58  castaglia

	* locale/bg_BG.po: file bg_BG.po was added on branch B1_3_2 on
	  2009-04-28 22:50:22 +0000

2009-02-09 09:21  castaglia

	* contrib/mod_sql_postgres.c:
	  Fix compile error.

2009-02-05 15:19  castaglia

	* locale/en_US.po:
	  Updated English translation.

2009-02-05 14:52  castaglia

	* doc/modules/mod_cap.html:
	  Another mod_cap-related FAQ.

2009-02-05 14:41  castaglia

	* modules/mod_core.c:
	  Remove vestigal IdentLookups handling left by mistake in
	  mod_core.

2009-02-05 14:40  castaglia

	* NEWS, RELEASE_NOTES, modules/mod_ident.c:
	  Bug#3155 - Change the IdentLookups default to 'off'.

2009-02-05 14:33  castaglia

	* NEWS, contrib/mod_sql_sqlite.c, doc/contrib/mod_sql_sqlite.html:
	  Bug#3128 - mod_sql_sqlite should use transactions for
	  INSERT/UPDATE statements.

2009-02-05 14:26  castaglia

	* NEWS, modules/mod_facts.c:
	  Bug#3133 - mod_facts should advertise TVFS support in the FEAT
	  response.

2009-02-05 14:23  castaglia

	* NEWS, contrib/mod_sql_postgres.c:
	  Bug#3123 - Use PQescapeStringConn() rather than PQescapeString().

2009-02-05 14:06  castaglia

	* NEWS, RELEASE_NOTES, modules/mod_auth.c, src/auth.c:
	  Bug#2894 - Deprecate the AnonymousGroup directive.

2009-02-05 13:49  castaglia

	* NEWS, contrib/mod_sql_mysql.c, contrib/mod_sql_odbc.c,
	  contrib/mod_sql_postgres.c, contrib/mod_sql_sqlite.c:
	  Bug#1801 - Faulty SQLConnectInfo PERCALL policy - connections not
	  closed after each call.

2009-02-05 13:36  castaglia

	* locale/: Makefile.in, proftpd.pot:
	  Updated the `find' command used to create the files.txt input for
	  creating a new .pot.	Updated the current proftpd.pot.

2009-02-05 12:18  castaglia

	* locale/: Makefile.in, fr_FR.po:
	  Added French translation.

2009-02-05 11:39  castaglia

	* include/version.h:
	  On to the 1.3.3 release cycle!

2009-02-05 10:59  castaglia

	* ChangeLog:
	  Updating ChangeLog for 1.3.2.

2009-02-05 10:58  castaglia

	* contrib/dist/rpm/proftpd.spec, include/version.h:
	  Updating versions for the 1.3.2 release.

2009-02-05 10:56  castaglia

	* RELEASE_NOTES:
	  Updating release notes.

2009-02-05 10:53  castaglia

	* NEWS, contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c:
	  Bug#3173 - Encoding-dependent SQL injection vulnerability.

2009-02-03 09:43  castaglia

	* tests/t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm:
	  Added testcase for Bug#3171.

2009-02-03 09:42  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#3171 - ExtendedLog should log full SITE command using %m.

2009-02-02 11:47  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Added testcase for Bug#3170.

2009-02-02 11:46  castaglia

	* doc/howto/Rewrite.html:
	  Give examples for handling non-ASCII characters in RewriteRule
	  expressions.

2009-02-02 10:46  castaglia

	* doc/contrib/mod_rewrite.html:
	  Clarify exactly what type of encoding is unescaped by
	  mod_rewrite's unescape RewriteMap.

2009-02-02 10:35  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  Added testcase for Bug#3169.

2009-02-02 10:34  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#3169 - Multiple RewriteRules for the same RewriteCondition
	  not processed properly.

2009-01-30 09:58  castaglia

	* contrib/mod_sql.c:
	  Used the wrong pool when retrieving environment variables; when
	  handling %{env} tags in a SQLUserWhereClause, this would cause
	  the environment variable to not be retrieved properly.

2009-01-29 16:14  castaglia

	* tests/api/pool.c:
	  Fix a test that was failing due to a thinko.

2009-01-29 08:40  castaglia

	* include/options.h:
	  The changes for Bug#2874 erroneously removed the
	  PR_TUNABLE_XFER_BUFFER_SIZE macro.  The transfer buffer sizes are
	  now determined at runtime, but we still need a fallback (and some
	  contrib modules still use this macro).

2009-01-28 09:56  castaglia

	* modules/mod_auth.c:
	  Missed a few places in need of translation.

2009-01-27 16:19  castaglia

	* src/encode.c:
	  If the conversion handles are invalid for some reason, don't
	  cause segfaults by returning null; just return a dup of the input
	  string, and log the error.

2009-01-27 15:29  castaglia

	* src/scoreboard.c:
	  Missed a spot.

2009-01-27 15:23  castaglia

	* src/scoreboard.c:
	  Cache the errno value when using pr_trace_msg(), since that
	  function can change the errno value.

2009-01-26 13:56  castaglia

	* modules/mod_lang.c:
	  When "UseEncoding off" is configured, *really* disable encoding.

2009-01-26 12:57  castaglia

	* doc/howto/TLS.html:
	  Finally got around to adding more substance to the "TLS
	  Debugging" section, including examples using openssl s_client and
	  ssldump.  Very useful tools.

	  Added a FAQ about TLSCertificateChainFile, mostly for my own
	  reference; it's a bit confusing as to when such a thing is
	  useful.

2009-01-26 09:35  castaglia

	* contrib/mod_tls.c:
	  Fix two minor issues in mod_tls:

	  1. The TLSCACertificateFile can contain multiple certificates to
	  use when    verifying client certs.  However, when requesting the
	  client's cert    and sending the list of acceptable client CAs,
	  mod_tls was only using    the *first* cert contained in the
	  TLSCACertificateFile, rather than    using *all* certs which
	  might be in this file.  (Usually there is only    one cert
	  anyway, so this is not a huge problem.)

	  2. The list of acceptable client CAs, sent to the client when
	  requesting	the client's cert, is built up from
	  TLSCACertificateFile and all of the	 certs in
	  TLSCACertificatePath.  However, for some strange reason, if	 a
	  TLSCertificateChainFile was configured, mod_tls was NOT sending
	  the	 certs in TLSCACertificatePath.  (I suspect it was a
	  misunderstanding on	 my part about the role that the
	  certificate chain file plays in SSL/TLS;    now I understand it.)

2009-01-24 19:24  jwm

	* contrib/mod_ldap.c: mod_ldap bzr r62: * Retrieve all LDAP
	  attributes when calling pr_ldap_user_lookup() since	it will
	  need various attributes (to perform home directory generation,
	  for one). Thanks to Nikos Voutsinas <nvoutsin@noc.uoa.gr>.
	  http://forums.proftpd.org/smf/index.php/topic,3562.0.html

2009-01-23 15:52  castaglia

	* include/version.h:
	  Back to a CVS version.

2009-01-23 15:02  castaglia

	* ChangeLog:
	  Updating ChangeLog for 1.3.2rc4.

2009-01-23 14:59  castaglia

	* NEWS, RELEASE_NOTES:
	  Updating NEWS, release notes for 1.3.2rc4.

2009-01-23 14:58  castaglia

	* contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for 1.3.2rc4.

2009-01-23 09:30  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Fixup some tests which were failing because the default config
	  changed the value of AllowOverride.

2009-01-22 11:25  castaglia

	* doc/contrib/mod_sql.html:
	  Add some links for easier cross-referencing.

2009-01-21 16:30  castaglia

	* src/support.c:
	  Make pr_gmtime() behave like pr_localtime() with regard to the
	  use of the given memory pool.

	  Increase the buffer size used in pr_strtime(), just to be certain
	  that we have enough room.

2009-01-16 18:10  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Add a test case for reproducing Bug#3164.  I think, however, that
	  it is not really a bug -- as long as the admin configures
	  mod_quotatab_sql properly.  Hmm.

2009-01-15 23:10  castaglia

	* RELEASE_NOTES:
	  Mention the Compiling howto.

2009-01-15 23:09  castaglia

	* doc/howto/: Compiling.html, index.html:
	  Finally finished a howto on compiling proftpd.

2009-01-15 18:53  castaglia

	* INSTALL:
	  Typos.

2009-01-14 13:44  castaglia

	* doc/contrib/mod_tls.html:
	  Typo.

2009-01-14 09:39  castaglia

	* src/main.c:
	  Use "microsecs", as it is less confusing to admins.

2009-01-13 09:38  castaglia

	* src/main.c:
	  Copy the signo of a terminating signal a little earlierin the
	  handler.

2009-01-12 15:41  castaglia

	* doc/howto/Vhost.html:
	  Add another vhost FAQ.

2009-01-12 09:47  castaglia

	* src/fsio.c:
	  Add trace logging of any statvfs()/statfs() errors.

2009-01-08 18:30  castaglia

	* src/main.c:
	  Log segfaults in the TraceLog using the 'signal' channel.

2009-01-08 12:21  castaglia

	* src/dirtree.c:
	  Don't forget to append the "*" glob character after the path when
	  that path is just "/".  This was an edge case we weren't
	  handling.

2009-01-07 23:36  castaglia

	* contrib/mod_sql.c:
	  Typo.

2009-01-07 23:32  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_ctrls.pm:
	  Add testcase showing that AuthOrder does not affect mod_ctrl's
	  ability to honor/use system user names in controls ACLs.

2009-01-07 10:25  castaglia

	* src/auth.c:
	  Rather than showing "(?)" whenever the uid2name or gid2name
	  lookup for an ID fails, show the stringified numeric ID value
	  instead.  This makes proftpd behave more like ls(1) et al.

2009-01-06 10:51  castaglia

	* src/auth.c:
	  Typo.

2009-01-05 20:20  castaglia

	* contrib/mod_tls.c, tests/t/lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Do not allow FTPS clients to send AUTH after they have already
	  sent AUTH.  If clients wish to change the SSL/TLS session
	  parameters, they need to either use the session renegotiation
	  facilities within SSL/TLS, or disconnect and start a new session.
	  This is an allowable server behavior according to RFC2228.

2009-01-05 17:35  castaglia

	* doc/howto/Vhost.html:
	  I realized that the Vhost howto didn't mention the "already in
	  use" warning message, and should.

2009-01-05 09:29  castaglia

	* contrib/: mod_ldap.c, mod_sql.c:
	  Initialize the buffer that will be used to store the
	  base64-encoded hash value, so that the ensuing strcmp(3) will
	  work as expected (just making sure of this).

2009-01-03 18:10  castaglia

	* contrib/: mod_ldap.c, mod_sql.c:
	  The RATS code analysis tool correctly pointed out that the output
	  buffer for OpenSSL's EVP_EncodeBlock() function needs to account
	  for base64-encoding expansion.  Specifically, the output buffer
	  should be 4/3 the size of the input buffer.  I played it safe,
	  and made the output buffers twice the size of the input buffers.

2009-01-03 17:14  castaglia

	* contrib/mod_quotatab.c, contrib/mod_sql.c, contrib/mod_tls.c,
	  modules/mod_delay.c, modules/mod_xfer.c, src/ctrls.c,
	  src/proctitle.c:
	  I ran proftpd through David Wheeler's flawfinder(1) script.
	  Based on that, I replaced the occurrences of sprintf(3) with
	  snprintf(3), strcpy(3) with sstrncpy(), and strcat(3) with
	  sstrcat().

2009-01-02 11:38  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm:
	  While investigating Bug#3160, I wrote a mod_rewrite unit test
	  which turned out to be the regression test for Bug#3027 (as
	  Bug#3160 turned out to be a duplicate of Bug#3027).  As such,
	  that test should be added to the collection.

2009-01-01 16:31  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/MKD.pm:
	  Added two MKD tests, one for directories with spaces in the name,
	  and one for a UTF8-encoded directory name.

2008-12-31 11:51  castaglia

	* contrib/mod_tls.c:
	  Remove unnecessary character.

2008-12-31 09:53  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#3159 - mod_rewrite build fails due to missing mode argument
	  in open(2) call.

2008-12-30 17:02  castaglia

	* modules/mod_xfer.c:
	  Prevent a segfault due to aborted downloads in some cases by
	  checking for a non-null session.d value before attempting to use
	  it.  Aborting a download can cause that session.d value to become
	  null in the middle of the download call stack.

2008-12-30 13:39  castaglia

	* doc/howto/NAT.html:
	  Update NAT howto with ipf example.

2008-12-30 13:32  castaglia

	* contrib/mod_ctrls_admin.c:
	  Since the mem_printf() function is only called when
	  --enable-devel is used, guard the mem_printf() definition with
	  the same macros (and avoid compiler warnings about the unused
	  function).

2008-12-24 00:05  castaglia

	* modules/mod_lang.c, src/encode.c:
	  When mod_lang uses the environment variables in a setlocale(3)
	  call, it needs to reset the Encode API to use the
	  possibly-changed encoding.

2008-12-23 15:34  castaglia

	* contrib/mod_tls.c:
	  ERR_get_error() returns a long, not an int.  Update
	  tls_fatal_error() to take a long error code as a result.  Also
	  filter out ENOSYS errors on SSL_shutdown(); there's not much we
	  can do about them anyway.

2008-12-23 11:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_lang.pm:
	  Add test verifying that mod_lang picks up and handles the LANG
	  environment variable properly.

2008-12-23 11:29  castaglia

	* modules/mod_lang.c:
	  The ANSI C standard says that every process starts out in the C
	  locale, regardless of LANG and other environment variables.  To
	  switch the process to using the locales specified by those
	  environment variables, you need an explicit:

	    setlocale(LC_ALL, "");

	  call.  Make sure that mod_lang does this, prior to any other
	  setlocale(3) calls.  Also, when using setlocale(3) to query for a
	  locale, make a copy of the returned string, instead of just
	  stashing the pointer.  The library may return a pointer whose
	  value changes later, i.e. by subsequent setlocale(3) calls.

2008-12-22 22:41  castaglia

	* contrib/mod_tls.c:
	  Actually mod_sftp_sql can't be used without mod_sftp, so having
	  it on the list of OpenSSL-using modules is not really useful.

2008-12-22 22:29  castaglia

	* contrib/mod_tls.c:
	  Add mod_sftp_sql to the list of OpenSSL-using modules.  Also log
	  the OpenSSL error stack to the logs for a shutdown issue; it can
	  help shed more light on a particular issue one user is seeing.

2008-12-22 09:25  castaglia

	* contrib/mod_tls.c:
	  Explicit cast to quell compiler warnings about signedness
	  differences.

2008-12-21 15:25  castaglia

	* src/encode.c:
	  Try to reduce confusion when we didn't detect iconv() (no
	  HAVE_ICONV), but we did detect <iconv.h>.

2008-12-21 14:17  castaglia

	* doc/howto/Quotas.html:
	  Add FAQ about how mod_quotatab handles file overwrites/appends.

2008-12-21 11:53  castaglia

	* src/auth.c:
	  The key comparators for the UID/GID cache tables need to return
	  zero if the keys match, not 1.  Oops.

2008-12-21 00:57  castaglia

	* src/auth.c:
	  Fixed the caching of UIDs and GIDs in tables in the Auth API; the
	  keys were not being copied before stashing in the respective
	  tables, which meant that the key comparisons were being done on
	  stale pointers, and thus the cached values were never found.
	  Also fixed the key comparators to be even more efficient (i.e. no
	  need to use memcmp(3) for comparing values like uid_t, gid_t).

2008-12-20 16:55  castaglia

	* src/table.c:
	  Fix some edge cases that could lead to segfaults.

2008-12-18 15:05  castaglia

	* src/dirtree.c:
	  Make sure that the cmd_rec returned by pr_cmd_alloc() has an
	  instantiated cmd->notes table.

2008-12-18 10:00  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Fix typos.

2008-12-17 15:44  castaglia

	* src/encode.c:
	  Workaround buggy nl_langinfo(3) implementations which return
	  "646" as a way of indicating "US-ASCII".  The former is not
	  acceptable to iconv_open(3), but the latter is.  Go figure.

2008-12-17 14:20  castaglia

	* contrib/mod_quotatab.c:
	  It's not necessarily safe to use equality comparisons with
	  floats; better to use less-than/greater-than instead.

2008-12-17 10:18  castaglia

	* doc/howto/TLS.html:
	  Add a FAQ about the OpenSSL header/library version mismatch
	  warning.

2008-12-17 09:46  castaglia

	* NEWS, modules/mod_facl.c:
	  Bug#3150 - mod_facl erroneously assumes no permissions, rather
	  than all permissions, in some cases.

2008-12-16 19:37  castaglia

	* src/encode.c:
	  Guard the set_supports_telnet_iac() function in HAVE_ICONV
	  macros, as that is the only time when the function is called.  On
	  systems which have the iconv.h header but NOT the iconv
	  function() (though I think this is an autoconf issue), the
	  compiler will warn about this function being declared but not
	  used.

2008-12-16 16:24  castaglia

	* doc/contrib/mod_wrap2_file.html:
	  Clean up the example mod_wrap2_file configs a little.

2008-12-16 15:47  castaglia

	* locale/Makefile.in:
	  Use -f instead of -e when checking for .po/.mo files.  It's more
	  exact and, better, it works properly in Solaris' sh(1).  (I'm
	  still not sure why -e did not work as expected in Solaris' sh(1),
	  though.)

2008-12-16 15:43  castaglia

	* src/: log.c, trace.c:
	  Quell some compiler warnings on Solaris by using explicit casts,
	  and by explicitly encompassing the tertiary expressions for those
	  casts.

2008-12-15 22:23  castaglia

	* src/dirtree.c:
	  Forgot to handle the case, in build_dyn_config(), where the path
	  was just "/".

2008-12-15 17:38  castaglia

	* src/dirtree.c:
	  A better fix for build_dyn_config()'s sending of empty strings to
	  dir_match_path(); the previous solution could easily lead to
	  segfaults.

2008-12-15 16:37  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/MFMT.pm:
	  Add unit test for the handling of decimal point (i.e. unsupported
	  precision) in an MFMT command.

2008-12-15 16:36  castaglia

	* modules/mod_facts.c:
	  Make sure that we restore the original timestamp argument of an
	  MFMT command if we have changed it.  This is necessary for any
	  POST_CMD/LOG_CMD handlers which may want to log the full argument
	  sent by the client.

2008-12-14 14:51  castaglia

	* doc/howto/Tracing.html:
	  Mention the trick of disabling some of the default trace
	  channels.

2008-12-14 14:48  castaglia

	* modules/mod_facts.c:
	  Fix the response strings in some cases such that the original
	  input parameter is reflected in the response message.  Make sure
	  that if we change the value of a character in a string (say from
	  ';' to '\0'), we change it back before returning.

2008-12-13 22:45  castaglia

	* doc/howto/Sendfile.html:
	  Correct the grammar.

2008-12-12 23:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/Lookups.pm:
	  Add another test, one for a creating deep directory layout (with
	  corresponding <Directory> sections).	Like the wide layout, this
	  test fails, timing out during the login process.  But I wanted to
	  get this checked in, for future research.

2008-12-12 23:12  castaglia

	* src/auth.c:
	  Make a note for my future self, when researching slow logins with
	  configs with many <Directory> sections, where the slowness occurs
	  (and why).

2008-12-12 20:49  castaglia

	* src/dirtree.c:
	  Add handling of signals in a potentially long-running while loop
	  (especially if recursion is requested).

2008-12-12 18:20  castaglia

	* NEWS, contrib/mod_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Bug#3149 - Bad handling of %p, %V, and %v variables in mod_sql.

2008-12-12 13:30  castaglia

	* doc/contrib/mod_sql.html:
	  Fix the text for better legibility.

2008-12-12 13:26  castaglia

	* doc/contrib/mod_sql.html:
	  Mention that the SQL{Group,User}WhereClause directives support
	  the same variables as SQLNamedQuery.

2008-12-12 11:41  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Added test for the SQLUserWhereClause directive.

2008-12-12 08:45  castaglia

	* contrib/mod_tls.c:
	  The SSL_library_init() function registers SSL algorithms, but we
	  might want to deal with other algorithms (as when dealing with
	  PKCS#12 files).  Thus we need to OpenSSL_add_all_algorithms() to
	  get the remaining algorithms registered.

2008-12-12 08:41  castaglia

	* tests/t/: config/directory.t, config/directory/lookups.t,
	  lib/ProFTPD/Tests/Config/Directory.pm,
	  lib/ProFTPD/Tests/Config/Directory/Lookups.pm:
	  Renamed the <Directory> lookups test code to Directory::Lookups.

2008-12-11 17:07  castaglia

	* tests/t/: config/directory.t,
	  lib/ProFTPD/Tests/Config/Directory.pm:
	  Starting a collection of cases that I'll be using for testing
	  proftpd's <Directory> lookup code, particularly in the case of
	  many (i.e. hundreds) of <Directory> sections and wide and/or deep
	  directory layouts.  (I suspect there's quite a bit of lookup
	  speed performance to be gained in this part of the code.)

2008-12-11 12:52  castaglia

	* src/dirtree.c:
	  Add more commentary to build_dyn_config(), and add a paranoia
	  check, in case we should be dealing with a path with absolutely
	  no path separators.

2008-12-11 12:45  castaglia

	* src/dirtree.c:
	  When build_dyn_config() is walking up the components of the given
	  path (assuming the recurse flag is 'true'), it has a problem when
	  it gets to "/".  Specifically, it will send the empty string to
	  dir_match_path(), rather than "/".  Fix this case.

2008-12-11 12:41  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/FTPAccess/RETR.pm:
	  Fix Perl warnings about redeclared variables.

2008-12-11 12:25  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/Utils.pm,
	  Tests/Config/FTPAccess/DELE.pm, Tests/Config/FTPAccess/RETR.pm:
	  Disable handling of .ftpaccess files by default in the testsuite;
	  those tests which handle .ftpaccess files need to use
	  "AllowOverride on" explicitly in their configs.

2008-12-11 12:22  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/Umask.pm:
	  Update the code here.  (By the way, it looks like Bug#2677 may
	  still be present in the code, and fixing it involves a fair
	  amount of code change.)

2008-12-11 12:19  castaglia

	* modules/mod_core.c:
	  Style cleanups in the <Directory> config handler.

2008-12-11 10:59  castaglia

	* modules/mod_lang.c:
	  Correct a few more LANG issues (mostly dealing with
	  transformations of hyphens to underscores, population of the
	  current and default languages everywhere, etc).

2008-12-11 10:42  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/FTPAccess/RETR.pm:
	  Quell some Perl warnings about redeclared variables.

2008-12-10 22:40  castaglia

	* modules/mod_lang.c:
	  Stupid thinko: If "OPTS UTF8 on" is sent, do not disable encoding
	  by the FS functions.

2008-12-10 22:33  castaglia

	* modules/mod_lang.c:
	  Fix some of the problems found in mod_lang using the testsuite.

2008-12-10 22:33  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/FEAT.pm,
	  t/lib/ProFTPD/Tests/Modules/mod_lang.pm, t/modules/mod_lang.t:
	  Added tests for the commands provided by mod_lang.  This involved
	  adding the lang() and opts() methods to the testsuite FTP class,
	  and in fixing up the FEAT tests.

2008-12-10 21:44  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/FEAT.pm:
	  Make sure that the FEAT test can handle subtle differences in the
	  underlying iconv/setlocale implementations.

2008-12-10 20:49  castaglia

	* modules/mod_core.c:
	  Stylistic nit cleanup.

2008-12-10 20:41  castaglia

	* modules/mod_delay.c:
	  Clean up some stylistic nits in mod_delay.

2008-12-10 20:33  castaglia

	* modules/mod_core.c, src/main.c:
	  Fixed a bug with the handling of RLimitMemory: any 'hard' memory
	  limits were not actually being set.

	  Set session resource limits _before_ module session init, not
	  after.  This means that session resource limits will apply to the
	  modules during session init (as they should).

	  Favor RLIMIT_DATA over RLIMIT_AS.

2008-12-10 14:40  castaglia

	* doc/howto/Directory.html:
	  Add another FAQ for the Directory howto, covering preventing a
	  directory from being renamed.

2008-12-10 14:28  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/Limits.pm:
	  Some cases where directory/file renaming works (as expected) or
	  is denied (as expected).

2008-12-10 14:03  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Add a couple of test cases for HideFiles, using the per-user
	  parameters.

2008-12-10 13:43  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_unique_id.pm,
	  t/modules/mod_unique_id.t:
	  Added test for the mod_unique_id module.

2008-12-10 11:50  castaglia

	* doc/howto/Chroot.html:
	  Add FAQ about DefaultRoot and NFS mounts.

2008-12-10 11:25  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/: GroupOwner.pm, UserOwner.pm:
	  Switch these tests to use the new 'norootprivs' test class,
	  rather than having the tests do that check themselves.

2008-12-10 11:23  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Add a 'norootprivs' test class, similar to the 'rootprivs' test
	  class: any test marked as a 'norootprivs' class will be skipped
	  if the testsuite is being run with root privs.

2008-12-10 11:17  castaglia

	* tests/: tests.pl, t/config/order.t,
	  t/lib/ProFTPD/Tests/Config/Order.pm:
	  Added tests for the Order directive.

2008-12-10 11:07  castaglia

	* tests/: tests.pl, t/config/storeuniqueprefix.t,
	  t/lib/ProFTPD/Tests/Config/StoreUniquePrefix.pm:
	  Added test for the StoreUniquePrefix directive.

2008-12-10 10:57  castaglia

	* doc/howto/Scoreboard.html:
	  Mention the "ScoreboardFile /dev/null" trick.

2008-12-10 10:49  castaglia

	* tests/: tests.pl, t/config/deleteabortedstores.t,
	  t/lib/ProFTPD/Tests/Config/DeleteAbortedStores.pm:
	  Added test for the DeleteAbortedStores directive.

2008-12-10 10:46  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/HiddenStores.pm:
	  Remove debugging cruft.

2008-12-10 10:43  castaglia

	* tests/: tests.pl, t/config/hiddenstores.t,
	  t/lib/ProFTPD/Tests/Config/HiddenStores.pm,
	  t/lib/ProFTPD/Tests/Config/Directory/Limits.pm:
	  Added unit test for the HiddenStores functionality.  Added more
	  <Limit> cases.

2008-12-09 23:26  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_ctrls.pm,
	  t/modules/mod_ctrls.t:
	  Start on tests for mod_ctrls.

2008-12-09 22:54  castaglia

	* contrib/mod_site_misc.c:
	  Avoid descriptor leak by closing the directory descriptor before
	  returning from site_misc_delete_dir().

2008-12-09 22:53  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_site_misc.pm,
	  t/modules/mod_site_misc.t:
	  Added basic tests for the various SITE commands offered by
	  mod_site_misc.

2008-12-09 22:35  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Pass along any other arguments for custom SITE commands.

2008-12-09 22:13  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/TestSuite/Utils.pm:
	  With these changes, it is now possible to use this tests.pl
	  script, and the ProFTPD testsuite library of Perl modules, to run
	  tests for a third-party module.  For example:

	    # cd /path/to/mod_sftp/tests
	    # perl ~/path/to/proftpd/tests.pl t/modules/mod_sftp.t

	  This will help (me, anyway) when developing new modules, without
	  having to write the new module test code in the proftpd source
	  tree.

2008-12-09 14:58  castaglia

	* modules/mod_core.c:
	  Remove redundant "<Directory>:" in error message displayed when
	  proftpd detects a duplicate <Directory> configuration.

2008-12-09 14:56  castaglia

	* doc/howto/Directory.html:
	  Add FAQ about matching multiple <Directory> sections to the same
	  path, and which section wins.

2008-12-09 14:14  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Directory/Limits.pm:
	  Regression tests for Bug#3147.

2008-12-09 14:13  castaglia

	* NEWS, modules/mod_core.c, src/dirtree.c:
	  Bug#3147 - Comma-delimited commands in <Limit> sections not
	  handled properly.

2008-12-09 11:11  castaglia

	* doc/howto/Tracing.html:
	  Mention the "directory" log channel, added as part of the fix for
	  Bug#3146.

2008-12-09 11:09  castaglia

	* tests/: tests.pl, t/config/directory/limits.t,
	  t/lib/ProFTPD/Tests/Config/Directory/Limits.pm:
	  Added regression tests for Bug#3146.

2008-12-09 11:08  castaglia

	* NEWS, src/dirtree.c:
	  Bug#3146 - <Directory> paths using glob characters may not match
	  as expected.

2008-12-09 09:32  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Add checks of the tally values for more of the upload quotatab
	  tests.

2008-12-08 17:22  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Add function for checking on the current tally; need to use this
	  in more of the existing tests, for ensuring the mod_quotatab is
	  updating the tallies properly.

2008-12-08 16:42  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Added mod_quotatab_sql tests for uploads and the 'all' limit.

2008-12-08 16:18  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Added mod_quotatab_sql tests for uploads and class quota.

2008-12-08 12:20  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm:
	  Added mod_quotatab_sql tests for uploads and group quota.

2008-12-08 11:25  castaglia

	* tests/: tests.pl,
	  t/lib/ProFTPD/Tests/Modules/mod_quotatab_sql.pm,
	  t/modules/mod_quotatab_sql.t:
	  Start of some tests for mod_quotatab_sql; there are *many* more
	  tests for this module to come.

2008-12-08 09:54  castaglia

	* tests/: tests.pl, t/config/groupowner.t,
	  t/lib/ProFTPD/Tests/Config/GroupOwner.pm:
	  Added tests for the GroupOwner directive.

2008-12-08 09:53  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Allow zero IDs in the AuthUserFile and AuthGroupFile files.

2008-12-08 09:32  castaglia

	* tests/: tests.pl, t/config/userowner.t,
	  t/lib/ProFTPD/Tests/Config/UserOwner.pm:
	  Added tests for the UserOwner directive.

2008-12-08 09:26  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  When writing out AuthUserFiles and AuthGroupFiles, append to any
	  file which may already be present.  This allows for the writing
	  of multiple entries in those files.

2008-12-08 07:48  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Handle arrayrefs within hashrefs properly when writing out the
	  config.

2008-12-07 21:00  castaglia

	* src/main.c:
	  When handling SIGABRT, shut down properly.  Also include the
	  signal number (as it can vary across platforms) for each signal
	  in the trace logging.

2008-12-07 20:59  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Signals/ABRT.pm,
	  t/lib/ProFTPD/Tests/Signals/SEGV.pm, t/signals/abrt.t,
	  t/signals/segv.t:
	  Added unit tests for the handling of SIGABRT and SIGSEGV in the
	  daemon process.

2008-12-07 20:35  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Permit empty usernames, passwords (useful for certain tests).

2008-12-07 20:00  castaglia

	* doc/howto/TLS.html:
	  Update the TLSProtocol example in light of Bug#3107.

2008-12-07 19:27  castaglia

	* tests/t/lib/ProFTPD/Tests/: Commands/MKD.pm, Commands/MLST.pm,
	  Commands/USER.pm, Config/HideFiles.pm:
	  Cleaning up some test cases so that all pass when run as root,
	  and that there are no Perl compiler warnings.

2008-12-07 19:05  castaglia

	* src/dirtree.c:
	  Loosen the paranoid parameter sanity check in dir_hide_file() a
	  little.

2008-12-07 19:01  castaglia

	* NEWS, modules/mod_ls.c, src/dirtree.c,
	  tests/t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Bug#2020 - HideFiles sometimes fails.  The accompanying unit
	  tests prove that the fix works as intended.

2008-12-07 17:57  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/FTPAccess/RETR.pm:
	  Adding regression test for Bug#2461.

2008-12-07 17:20  castaglia

	* NEWS, locale/Makefile.in, locale/ru_RU.po:
	  Bug#3065 - Russian translation for proftpd.

2008-12-07 16:47  castaglia

	* tests/: tests.pl, t/config/directory/umask.t,
	  t/lib/ProFTPD/TestSuite/Utils.pm,
	  t/lib/ProFTPD/Tests/Config/Directory/Umask.pm:
	  Add regression tests/reproduction cases for Bug#2677.  This
	  involved updating the config_write() function so that it can
	  properly handled nested <Directory> and <Limit> sections.

2008-12-07 15:59  castaglia

	* doc/howto/Directory.html:
	  Update the Directory howto to mention that <Directory> sections
	  apply recursively (see Bug#2677).

2008-12-07 15:41  castaglia

	* tests/: tests.pl, t/config/ftpaccess/dele.t,
	  t/lib/ProFTPD/Tests/Config/FTPAccess/DELE.pm:
	  Add regression tests for Bug#2321.

2008-12-07 15:07  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/FTPAccess/RETR.pm:
	  More refinements to the Bug#2038 regression tests, proving that
	  the .ftpaccess file is being honored as intended.

2008-12-07 14:55  castaglia

	* tests/: tests.pl, t/config/ftpaccess/retr.t,
	  t/lib/ProFTPD/Tests/Config/FTPAccess/RETR.pm:
	  Added regression tests for Bug#2038, which doesn't seem to happen
	  anymore.

2008-12-07 12:56  castaglia

	* contrib/mod_tls.c:
	  Use a better context identifier for cached session IDs; the
	  module name and version is much better than a simple "1" string.

2008-12-07 12:54  castaglia

	* tests/tests.pl:
	  Add the mod_tls testcase to the testsuite.

2008-12-07 12:54  castaglia

	* tests/t/: etc/modules/mod_tls/ca-cert.pem,
	  etc/modules/mod_tls/server-cert.pem,
	  lib/ProFTPD/Tests/Modules/mod_tls.pm:
	  Add the required CA and server certs for the mod_tls tests.
	  These certs are good for 5 years.

2008-12-07 12:31  castaglia

	* doc/howto/TLS.html:
	  Fix typos in TLS howto.

2008-12-07 12:16  castaglia

	* tests/t/: lib/ProFTPD/Tests/Modules/mod_tls.pm,
	  modules/mod_tls.t:
	  Start a collection of mod_tls tests.	This doesn't really work
	  just yet; I need to generate a proper cert for use by the
	  testsuite.

2008-12-06 19:38  castaglia

	* doc/howto/CreateHome.html:
	  Update the CreateHome howto with an example of the feature added
	  by Bug#3040.

2008-12-06 19:31  castaglia

	* tests/: tests.pl, t/config/createhome.t,
	  t/lib/ProFTPD/Tests/Config/CreateHome.pm:
	  Add tests verifying the fix for Bug#3040; more CreateHome tests
	  are needed.

2008-12-06 19:29  castaglia

	* NEWS, modules/mod_auth.c, src/mkhome.c:
	  Bug#3040 - Support for CreateHome parent directories owned by
	  user.

2008-12-06 18:50  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql.pm:
	  Update the set_up(), tear_down() methods in this file.  Even
	  though it's currently empty, I use it as a template for new
	  module testcase files.

2008-12-06 16:35  castaglia

	* RELEASE_NOTES:
	  Mention the Sendfile, Rewrite howtos in the release notes.

2008-12-06 16:33  castaglia

	* doc/howto/Rewrite.html:
	  Remove extraneous header.

2008-12-06 16:24  castaglia

	* doc/howto/Rewrite.html:
	  Make the URLs in the doc be relative to the rest of the docs.

2008-12-06 16:19  castaglia

	* doc/howto/: Rewrite.html, index.html:
	  Adding a rewrite howto to the collection.

2008-12-06 14:12  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Logging/TransferLog.pm,
	  t/logging/transferlog.t:
	  Added unit tests for the TransferLog format.

2008-12-04 14:01  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/Limit/XMKD.pm:
	  Added more test cases to try to reproduce Bug#3138, to no avail.
	  Still useful to have these use cases in the testsuite.

2008-12-04 13:45  castaglia

	* NEWS, contrib/mod_dynmasq.c:
	  Bug#3144 - mod_dynmasq returns same IP address, even though
	  actual IP address has changed.

2008-12-04 13:35  castaglia

	* src/inet.c:
	  After closing a connection, make sure the various fields are
	  reset to NULL/-1 as appropriate.

2008-12-03 22:55  castaglia

	* modules/mod_core.c:
	  Add a little bit of logging for the MKD/XMKD command, when it is
	  denied because of a <Limit> config.  Also cache an errno value,
	  so that the actual error reason is properly logged.

2008-12-03 22:45  castaglia

	* doc/howto/Directory.html:
	  Update the Directory howto with the tip about using a <Directory>
	  section to refer to a specific file, rather than just to a
	  directory (Bug#3140).

2008-12-03 21:49  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/Utils.pm,
	  Tests/Config/Limit/XMKD.pm:
	  Add more <Limit> test cases from the Bug#3138 investigation.
	  This involved adding support for <Class> sections in the testcase
	  config files.

2008-12-03 09:58  castaglia

	* modules/mod_xfer.c:
	  Cache the errno value for an aborted download, so that it can be
	  reported properly.  This came out of investigating the cause for
	  Bug#3143.

2008-12-03 00:41  castaglia

	* tests/: tests.pl, t/commands/mff.t, t/commands/mfmt.t,
	  t/lib/ProFTPD/Tests/Commands/MFF.pm,
	  t/lib/ProFTPD/Tests/Commands/MFMT.pm:
	  Add some tests (not exhaustive) for the MFMT and MFF commands.

2008-12-03 00:40  castaglia

	* NEWS, modules/mod_facts.c:
	  Bug#3142 - "Invalid number of arguments MFMT" due to spaces in
	  path argument.

2008-12-03 00:14  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Support use of <Limit> sections in the testcase config files.

2008-12-03 00:10  castaglia

	* tests/: tests.pl, t/config/limit/xmkd.t,
	  t/lib/ProFTPD/Tests/Config/Limit/XMKD.pm:
	  Begin the collection of unit tests for various <Limit>
	  configurations.

2008-12-03 00:06  castaglia

	* doc/modules/mod_facts.html:
	  Updated URL to Draft for MFF/MFMT commands.

2008-12-02 21:09  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Logging/ExtendedLog.pm,
	  t/logging/extendedlog.t:
	  Add regression tests for Bug#3137.

2008-12-02 21:06  castaglia

	* NEWS, modules/mod_xfer.c, src/data.c:
	  Bug#3137 - ProFTPD does not log filename %f for uploaded files.

2008-11-26 09:21  castaglia

	* tests/: tests.pl, t/commands/mlsd.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/MLSD.pm:
	  Adding tests for the MLSD command.

2008-11-26 09:18  castaglia

	* modules/mod_facts.c:
	  Be able to distinguish failure responses for MLSD for using
	  globs, versus something to do with the file itself (e.g.
	  permissions, existence, etc).

2008-11-24 16:41  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Add the methods for the MLSD, MLST, MFF, MFMT commands.

2008-11-24 16:39  castaglia

	* tests/: tests.pl, t/commands/mlst.t,
	  t/lib/ProFTPD/Tests/Commands/MLST.pm:
	  Adding tests for the MLST command.

2008-11-24 14:37  castaglia

	* tests/: tests.pl, t/config/maxinstances.t,
	  t/lib/ProFTPD/TestSuite/Utils.pm,
	  t/lib/ProFTPD/Tests/Config/MaxInstances.pm:
	  Added test for the MaxInstances directive.

2008-11-22 15:23  castaglia

	* modules/mod_lang.c:
	  Make sure that, if no languages are explicitly configured, at
	  least the default one (obtained via environment variables) is
	  listed properly in the FEAT response.

2008-11-22 08:25  castaglia

	* src/fsio.c:
	  Add signal handling in the potentially long-running while loops
	  of the filesystem path resolution functions.

2008-11-21 23:07  castaglia

	* NEWS, contrib/mod_ratio.c:
	  Bug#1636 - GroupRatio does not check user's supplemental group
	  membership.

2008-11-21 20:45  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_rewrite.pm,
	  t/modules/mod_rewrite.t:
	  Added some unit tests for the mod_rewrite module.  There will be
	  many more to come for this module.

2008-11-21 20:44  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#2915 - mod_rewrite does not work well for SITE commands.

2008-11-21 19:12  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Add a site() method, for sending arbitrary SITE commands.

2008-11-21 17:31  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Add some nice features to the testsuite.  First, configs can be
	  defined using arrayrefs, in addition to hashrefs, so that the
	  ordering of config directives in the test config file can be
	  detected (important in some cases).  Second, the location of the
	  `proftpd' being tested can be defined using the PROFTPD_TEST_BIN
	  environment variable; useful (though not necessarily recommended)
	  if you want to run the testsuite using an existing proftpd.

2008-11-21 16:57  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Signals/HUP.pm,
	  t/lib/ProFTPD/Tests/Signals/TERM.pm, t/signals/hup.t:
	  Add unit tests for the HUP signal, at least for the daemon
	  process.

2008-11-21 16:11  castaglia

	* doc/howto/: Sendfile.html, index.html:
	  Adding doc covering sendfile and its issues.

2008-11-20 21:54  castaglia

	* NEWS, contrib/mod_sql.c,
	  tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Bug#2045 - SQLShowInfo should not be displayed when query returns
	  no data.

2008-11-20 15:17  castaglia

	* include/version.h:
	  Updating version for CVS.

2008-11-20 14:28  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2008-11-20 14:26  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for RC3 release.

2008-11-20 14:23  castaglia

	* RELEASE_NOTES:
	  Updating release notes, preparing for release.

2008-11-20 13:59  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Use the two-argument form of the Net::FTP constructor -- it works
	  better with older Perls.

2008-11-20 11:50  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/Utils.pm,
	  Tests/Modules/mod_wrap2_file.pm, Tests/Modules/mod_wrap2_sql.pm,
	  Tests/Signals/TERM.pm:
	  Get rid of a few places where we needed to use sleep() to delay
	  between server shutdown and server startup, in order to make sure
	  that the new server's PidFile and ScoreboardFile weren't deleted
	  by the previous server while it was shutting down.  Instead, the
	  server_stop() function will not return until it sees that the
	  PidFile has been deleted.

2008-11-20 01:11  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_ban.pm,
	  t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm,
	  t/lib/ProFTPD/Tests/Modules/mod_wrap2_file.pm,
	  t/lib/ProFTPD/Tests/Modules/mod_wrap2_sql.pm:
	  Retrofit the module-specific unit tests to use test-specific
	  scratch directories.	That should be all of the existing tests.

2008-11-20 00:27  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/ABOR.pm:
	  Quell Perl warnings about redeclared variables.

2008-11-20 00:18  castaglia

	* tests/t/lib/ProFTPD/Tests/: Logins.pm, Commands/ABOR.pm,
	  Commands/APPE.pm, Commands/LIST.pm, Commands/NLST.pm,
	  Commands/RETR.pm, Commands/STOR.pm, Commands/STOU.pm,
	  Config/DisplayConnect.pm, Config/DisplayLogin.pm,
	  Config/HideFiles.pm, Config/MaxLoginAttempts.pm,
	  Config/MaxRetrieveFileSize.pm, Config/MaxStoreFileSize.pm,
	  Config/RequireValidShell.pm, Config/ServerIdent.pm,
	  Config/TimeoutIdle.pm, Config/TimeoutLogin.pm,
	  Config/TimeoutNoTransfer.pm, Config/TimeoutSession.pm,
	  Config/TimeoutStalled.pm, Config/UseFtpUsers.pm, Signals/TERM.pm:

	  Retrofitted more of the testsuite to use more individualized
	  per-test scratch directories.

2008-11-19 20:19  castaglia

	* contrib/mod_ban.c:
	  Minor nits and improvements to mod_ban; no real functional
	  changes.

2008-11-19 16:35  castaglia

	* tests/t/lib/ProFTPD/Tests/: Logins.pm, Commands/ALLO.pm,
	  Commands/CDUP.pm, Commands/CWD.pm, Commands/DELE.pm,
	  Commands/EPRT.pm, Commands/EPSV.pm, Commands/FEAT.pm,
	  Commands/HELP.pm, Commands/MDTM.pm, Commands/MKD.pm,
	  Commands/MODE.pm, Commands/NOOP.pm, Commands/PASS.pm,
	  Commands/PASV.pm, Commands/PORT.pm, Commands/PWD.pm,
	  Commands/QUIT.pm, Commands/REST.pm, Commands/RMD.pm,
	  Commands/RNFR.pm, Commands/RNTO.pm, Commands/SIZE.pm,
	  Commands/STRU.pm, Commands/SYST.pm, Commands/TYPE.pm,
	  Commands/USER.pm:
	  Update some (but not all, yet) of the tests to use the new
	  scratch directory function.  Will need to finish the rest later
	  tonight.

2008-11-19 11:13  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/Utils.pm, Tests/Commands/ABOR.pm:

	  By fixing the daemon shutdown bug, I introduced some race
	  conditions into the unit tests.  Each unit test would use the
	  same 'tmp/' directory; and sometimes the next test would have
	  started (and used the same path for PidFile, ScoreboardFile)
	  before the server may have removed those files.

	  To address this, each unit test will get its own unique scratch
	  directory whose name will include the PID and a counter.  This
	  will require retrofitting most of the existing tests, but is
	  cleaner in the long run.

2008-11-19 10:21  castaglia

	* tests/t/lib/ProFTPD/Tests/Signals/TERM.pm:
	  Slight tweak to the shutdown test, to ensure that the server has
	  enough time between startup and shutdown to write out the
	  appropriate files.

2008-11-19 10:07  castaglia

	* NEWS, src/data.c:
	  Bug#3135 - Aborting a download can lead to segfault in some
	  cases.

2008-11-19 01:44  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_ban.pm,
	  t/modules/mod_ban.t:
	  Added start of unit tests for the mod_ban module.

2008-11-19 01:42  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Provide a function for obtaining the reason, given by the server,
	  why the initial connection might be denied.

2008-11-19 01:13  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Signals/TERM.pm,
	  t/signals/term.t:
	  Add a test for the SIGTERM signal handling of the daemon process,
	  to ensure that the shutdown procedures (PidFile removal,
	  ScoreboardFile removal) are indeed happening properly.

2008-11-19 00:58  castaglia

	* src/main.c:
	  While working on unit tests for mod_ban, I noticed that mod_ban's
	  shared memory segments were not being cleaned up.  I tracked it
	  down to the fact that the check to see if you're the "master"
	  process (assuming a ServerType of 'standalone') was failing,
	  because the cached "master PID" value was for the process _prior
	  to daemonizing_.  I suspect that many shutdown cleanups, such as
	  PidFile removal and such, have not been happening for a while.

2008-11-18 19:54  castaglia

	* configure:
	  Updated configure.

2008-11-18 19:51  castaglia

	* Make.rules.in, Makefile.in, configure.in, locale/Makefile.in:
	  Properly honor the --localedir configure option.

2008-11-18 19:31  castaglia

	* src/encode.c:
	  Comment typo.

2008-11-18 11:29  castaglia

	* src/encode.c:
	  Check in some of the fixes found while investigating Bug#3134,
	  particularly ones which can cause segfaults (e.g. on FreeBSD)
	  when an iconv_t handle is closed multiple times erroneously.

2008-11-17 09:31  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/ABOR.pm:
	  Be sure to clean up the generated log file.

2008-11-17 08:59  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Commands/ABOR.pm:
	  After all the work done on Bug#3131, these ABOR unit tests should
	  definitely be checked in and added to the testsuite.

2008-11-16 18:32  castaglia

	* NEWS:
	  Remove duplicate bug entry.

2008-11-16 17:49  castaglia

	* tests/tests.pl:
	  Don't add the 'testsuite_empty_test' to the list of files, if
	  that is what is returned by filtering for feature-based test
	  files.

2008-11-16 17:42  castaglia

	* src/netio.c:
	  Fix uploads; it had been inadvertently broken when trace logging
	  of EOF was added.  The testsuite caught this regression; the
	  testsuite is coming in handy!

2008-11-16 12:35  castaglia

	* NEWS, src/main.c:
	  Bug#3073 - Command arguments not decoded properly in some places.

2008-11-15 14:53  castaglia

	* configure:
	  Updated configure.

2008-11-15 14:37  castaglia

	* RELEASE_NOTES:
	  Mention the change in TimeoutLinger default value in the release
	  notes.

2008-11-15 14:34  castaglia

	* configure.in, include/options.h:
	  Change the default linger timeout from 1.5 minutes (180 secs) to
	  30 secs.  Many command-line FTP clients have a timeout of 60
	  secs, after which they think the server has timed out, and will
	  close the control connection.  We want to make sure that
	  proftpd's lingering closes do not linger past that 60 secs mark.

2008-11-14 20:26  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/: EPRT.pm, EPSV.pm:
	  Make sure the EPRT tests are sensitive to whether the built
	  proftpd supports IPv6.  Did the same for the EPSV tests, and
	  added more tests for the optional EPSV arguments.

2008-11-14 20:23  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Allow the epsv() method to take an optional protocol number, as
	  allowed in the EPSV command.

2008-11-14 19:31  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Apply the same Net::FTP internals muck to the epsv() and eprt()
	  methods as used in the pasv() and port() methods.

2008-11-14 19:23  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Quell Perl warning about redeclared variable.

2008-11-14 19:21  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Make the pasv() and port() methods actually cause the client to
	  use passive and active data transfers, respectively, rather than
	  having to rely on a constructor-time setting.  Yuck.

2008-11-14 18:01  castaglia

	* NEWS, src/data.c, src/netio.c:
	  Bug#3131 - Session process uses 100% CPU after aborted transfer.

2008-11-14 14:40  castaglia

	* tests/Makefile.in:
	  Fix typo.

2008-11-14 11:58  castaglia

	* modules/mod_lang.c:
	  When calling setlocale(3) to get the LANG to advertise in the
	  FEAT response, use LC_MESSAGES rather than LC_ALL; the latter can
	  result in a string which includes the locales for every category
	  when we just want the LC_MESSAGES category.

2008-11-14 11:35  castaglia

	* NEWS, src/main.c:
	  Bug#3132 - Handling of SIGABRT signal leads to endless loop.

2008-11-14 10:25  castaglia

	* src/: main.c, netio.c:
	  Add trace logging of the handling of EOF, i.e. when a client
	  closes (or shuts down) its control connection, causing proftpd to
	  close that connection.

	  Also make the implementation of the poll callback a little nicer;
	  rather than calling select(2) on an empty fd_set, pass NULL if
	  that fd_set is empty.

2008-11-13 12:00  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Fix the feature-checking code so that tests using a "feature_X"
	  class are properly handled.

2008-11-13 00:15  castaglia

	* tests/t/: commands/abor.t, lib/ProFTPD/Tests/Commands/ABOR.pm:
	  Check in some of the in-progress unit tests on the ABOR command
	  (being driven by investigations for Bug#3131).  The tests are not
	  part of the full testsuite yet.

2008-11-12 08:33  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_wrap2_sql.pm,
	  t/modules/mod_wrap2_sql.t:
	  Added unit tests for mod_wrap2_sql.

2008-11-11 22:45  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/Tests/Modules/mod_wrap2_file.pm,
	  t/modules/mod_wrap2_file.t:
	  Add unit tests for mod_wrap2_file.

2008-11-11 09:42  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Add routine for checking the enabled features in the proftpd
	  build.  Use this for disabling IPv6 support in the unit tests, if
	  IPv6 support is enabled, unless explicitly requested otherwise in
	  the test.

2008-11-11 09:25  castaglia

	* tests/t/lib/ProFTPD/Tests/: Logins.pm, Commands/ALLO.pm,
	  Commands/APPE.pm, Commands/CDUP.pm, Commands/CWD.pm,
	  Commands/DELE.pm, Commands/EPRT.pm, Commands/EPSV.pm,
	  Commands/FEAT.pm, Commands/HELP.pm, Commands/LIST.pm,
	  Commands/MDTM.pm, Commands/MKD.pm, Commands/MODE.pm,
	  Commands/NOOP.pm, Commands/PASS.pm, Commands/PASV.pm,
	  Commands/PORT.pm, Commands/PWD.pm, Commands/QUIT.pm,
	  Commands/REST.pm, Commands/RNFR.pm, Commands/SIZE.pm,
	  Commands/STRU.pm, Commands/SYST.pm, Commands/TYPE.pm,
	  Commands/USER.pm, Config/DisplayConnect.pm,
	  Config/DisplayLogin.pm, Config/MaxLoginAttempts.pm,
	  Config/ServerIdent.pm:
	  Remove unnecessary import of module-related functions.

2008-11-10 21:35  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  Fix bug, found by unit tests, with evaluation of conditions for
	  applying WrapGroupTables directive.  The logic was incorrectly
	  inverted.

2008-11-10 14:14  castaglia

	* tests/tests.pl:
	  If there are no additional feature/module-specific test files to
	  add, then don't add them, not even the 'testsuite_empty_test'
	  stub test.

2008-11-10 14:13  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/: MaxRetrieveFileSize.pm,
	  MaxStoreFileSize.pm:
	  Quell Perl compiler warnings about re-declared variables.

2008-11-08 14:56  castaglia

	* tests/: tests.pl, t/config/maxretrievefilesize.t,
	  t/config/maxstorefilesize.t,
	  t/lib/ProFTPD/Tests/Config/MaxRetrieveFileSize.pm,
	  t/lib/ProFTPD/Tests/Config/MaxStoreFileSize.pm:
	  Added unit tests for the MaxRetrieveFileSize and MaxStoreFileSize
	  directives.

2008-11-08 13:32  castaglia

	* tests/: tests.pl, t/config/requirevalidshell.t,
	  t/config/useftpusers.t,
	  t/lib/ProFTPD/Tests/Config/RequireValidShell.pm,
	  t/lib/ProFTPD/Tests/Config/UseFtpUsers.pm:
	  Added unit tests for the RequireValidShell and UseFtpUsers
	  directives.

2008-11-08 12:58  castaglia

	* tests/: tests.pl, t/config/timeoutidle.t,
	  t/config/timeoutlogin.t, t/config/timeoutnotransfer.t,
	  t/config/timeoutsession.t, t/config/timeoutstalled.t,
	  t/lib/ProFTPD/Tests/Config/TimeoutIdle.pm,
	  t/lib/ProFTPD/Tests/Config/TimeoutLogin.pm,
	  t/lib/ProFTPD/Tests/Config/TimeoutNoTransfer.pm,
	  t/lib/ProFTPD/Tests/Config/TimeoutSession.pm,
	  t/lib/ProFTPD/Tests/Config/TimeoutStalled.pm:
	  Added unit tests for the various Timeout directives.

2008-11-07 15:31  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RETR.pm:
	  Minor adjustment to make a RETR test pass; the
	  File::Spec::rel2abs() Perl function can take *a lot* longer to
	  run, than expected, in some cases.  Not sure why yet.

2008-11-07 15:25  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/STOU.pm:
	  The STOU tests now pass when run both as root and as non-root.

2008-11-07 15:21  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/STOR.pm:
	  Update the STOR tests to pass when run as root and as non-root.

2008-11-07 15:17  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RNTO.pm:
	  Make sure the RNTO tests pass when run as root and as non-root.

2008-11-07 15:13  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RMD.pm:
	  Adjust the RMD tests to pass when run as root and as non-root.

2008-11-07 15:10  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RETR.pm:
	  Make the RETR tests pass when run as both root and non-root.

2008-11-07 15:06  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/NLST.pm:
	  Update the NLST tests to pass when run as root and as non-root.

2008-11-07 15:00  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/MKD.pm:
	  Adjust the MKD tests so that using root and non-root users work,
	  and the tests pass.

2008-11-07 14:57  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/LIST.pm:
	  Adjust the LIST tests so that they pass when run both as root and
	  as non-root.

2008-11-07 14:50  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/DELE.pm:
	  Rework the DELE unit tests so that they pass when run both as
	  root and as non-root.

2008-11-07 14:43  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/APPE.pm:
	  Rework the APPE tests so that they always pass, whether run as
	  root or not.

2008-11-07 11:35  castaglia

	* doc/howto/Testing.html:
	  Mention that some integration tests are skipped if not run with
	  root privs.

2008-11-07 11:23  castaglia

	* tests/t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm:
	  Add a regression test for Bug#2922.

2008-11-07 10:37  castaglia

	* tests/t/: lib/ProFTPD/TestSuite/FTP.pm,
	  lib/ProFTPD/TestSuite/Utils.pm,
	  lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm,
	  modules/mod_sql_sqlite.t:
	  Adding some regressions tests for Bugs #3116, #3124, and #3126.

2008-11-06 13:47  castaglia

	* NEWS, src/dirtree.c:
	  Bug#3130 - HideFiles can cause segfault.

2008-11-06 13:46  castaglia

	* tests/: tests.pl, t/config/hidefiles.t,
	  t/lib/ProFTPD/TestSuite/Utils.pm,
	  t/lib/ProFTPD/Tests/Config/HideFiles.pm:
	  Added unit test for reproducing Bug#3130 (and preventing
	  regressions).

2008-11-05 23:46  castaglia

	* tests/: tests.pl, t/lib/ProFTPD/TestSuite/Utils.pm,
	  t/lib/ProFTPD/Tests/Modules/mod_sql.pm,
	  t/lib/ProFTPD/Tests/Modules/mod_sql_sqlite.pm,
	  t/modules/mod_sql.t, t/modules/mod_sql_sqlite.t:
	  Make the tests.pl script "interrogate" the compiled proftpd, and
	  start adding tests based on the compiled features (e.g. modules
	  included, features enabled, etc).

	  Add stub module files for mod_sql and mod_sql_sqlite; these will
	  be the first module-specific test files; they will be
	  demonstrations/examples for creating test files for other
	  modules.

2008-11-05 18:46  castaglia

	* doc/howto/Testing.html:
	  Update the Testing howto to reflect changes made to the 'make
	  check' target.

2008-11-05 18:45  castaglia

	* tests/: .cvsignore, Makefile.in, t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/STOU.pm:
	  Run the integration tests after the API tests, as part of the
	  'make check' target.

	  Fix some Perl warnings in the STOU tests.  Make sure that the cvs
	  commands ignore all generated log files (e.g. cvs diff won't
	  complain about unknown .log files).

2008-11-05 18:28  castaglia

	* doc/howto/index.html:
	  Add a link to the Testing howto in the howto index.

2008-11-05 18:27  castaglia

	* doc/howto/Testing.html:
	  The Testing howto is now in a mostly usable form.

2008-11-05 18:23  castaglia

	* modules/mod_xfer.c, src/data.c:
	  Fix a problem with the handling of STOU.  This problem was
	  detected by the testsuite, as it should.

2008-11-05 17:38  castaglia

	* tests/api/tests.c:
	  Make sure that the testsuite log name is kept in sync with what
	  is displayed in the error message.

2008-11-03 11:27  castaglia

	* contrib/mod_sql_sqlite.c:
	  Explain why sqlite3_shutdown() is not called when the
	  mod_sql_sqlite module is being unloaded.

2008-11-03 10:46  castaglia

	* contrib/mod_sql_sqlite.c:
	  Stylistic nits; no functional change.

2008-11-03 09:55  castaglia

	* NEWS, contrib/mod_sql_sqlite.c:
	  Bug#3126 - Segfault in mod_sql_sqlite when user belongs to
	  multiple groups.

2008-10-31 13:15  castaglia

	* NEWS, contrib/mod_ldap.c, contrib/mod_sql.c, src/log.c:
	  Bug#2767 - gcc 4.0/amd64 warnings.

2008-10-31 10:38  castaglia

	* NEWS, include/fsio.h, src/fsio.c:
	  Bug#3092 - FSIO API needs mechanism for allowing registered FS
	  handlers to permit atomic renames.

2008-10-30 16:38  castaglia

	* modules/mod_xfer.c, src/data.c:
	  Turns out that not _all_ data connections are allocated from
	  session.xfer.p; some are allocated from session.pool.  The
	  previous changes had inadvertently broken passive data transfers.
	   For passive data transfers, then, use session.pool for
	  allocating the connection object (session.d), rather than
	  session.xfer.p; thus making consistent the pool that is used for
	  allocating session.d.

	  Also clean up some of the error responses for failed uploads;
	  they might have referenced NULL pointers, which would
	  subsequently cause segfaults/crashes on platforms whose printf(3)
	  functions don't handle the case well.

2008-10-29 15:07  castaglia

	* RELEASE_NOTES:
	  Start prepping the RC3 release notes.

2008-10-28 10:22  castaglia

	* contrib/mod_sql.c:
	  Add a comment about why the nested sql_prepare_where() function
	  calls are the way they are (to prevent future developers from
	  regressing Bug#3124).

2008-10-28 10:19  castaglia

	* include/data.h, modules/mod_xfer.c, src/data.c:
	  Improve on the fix for Bug#3089 by creating a new function
	  specifically to clear the session.xfer.p pool and any associated
	  structures; this function refactors all of the associated code
	  into a single location.

2008-10-27 18:02  castaglia

	* doc/howto/Testing.html:
	  Adding slightly more substance to the Testing howto; hopefully I
	  can muster the motivation to finish it later tonight.

2008-10-27 17:48  castaglia

	* NEWS, modules/mod_xfer.c, src/data.c, src/inet.c:
	  Bug#3089 - Memory pool double-free on session exit after aborted
	  data transfer.

2008-10-27 17:46  castaglia

	* include/inet.h, src/inet.c:
	  Remove the pr_inet_associate() function; nothing was using it.

2008-10-27 15:35  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#3124 - mod_sql improperly substitutes variables in user/group
	  names.

2008-10-21 11:03  castaglia

	* configure:
	  Updated configure.

2008-10-21 11:01  castaglia

	* NEWS, config.h.in, configure.in, src/encode.c:
	  Bug#3122: iconv() not detected properly on FreeBSD when
	  --enable-nls is used.

2008-10-20 09:08  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/PASS.pm:
	  Make sure that the PASS unit tests expected the proper response
	  message.

2008-10-20 08:14  castaglia

	* include/glibc-glob.h:
	  Fix compiler detection to deal with other compilers.

2008-10-19 17:45  castaglia

	* tests/: tests.pl, t/config/maxloginattempts.t,
	  t/lib/ProFTPD/Tests/Config/MaxLoginAttempts.pm:
	  Added unit tests for the MaxLoginAttempts directive.

2008-10-19 17:02  castaglia

	* locale/: en_US.po, it_IT.po, proftpd.pot, zh_CN.po:
	  Removing redundant (and now absent) entry for "Login incorrect";
	  there is already a "Login incorrect." (note the period) entry.

2008-10-19 17:01  castaglia

	* contrib/mod_ban.c:
	  Make mod_ban use the same "Login incorrect." string, including
	  period, like the rest of mod_auth.  Inconsistencies in responses
	  constitute information leaks, albeit minor.

2008-10-19 16:59  castaglia

	* modules/mod_auth.c:
	  Fixed failed login message to be consistent with other instances
	  of the "Login incorrect" string.

2008-10-19 16:41  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/: EPSV.pm, PASV.pm:
	  Make the regexes tigher for checking the expected EPSV and PASV
	  responses.

2008-10-19 12:48  castaglia

	* tests/: tests.pl, t/commands/eprt.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/EPRT.pm:
	  Added tests for the EPRT command.

2008-10-19 12:31  castaglia

	* tests/: tests.pl, t/commands/epsv.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/EPSV.pm:
	  Added tests for the EPSV command.

2008-10-19 12:23  castaglia

	* tests/: tests.pl, t/commands/feat.t, t/commands/help.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/FEAT.pm,
	  t/lib/ProFTPD/Tests/Commands/HELP.pm:
	  Added tests for the FEAT and HELP commands.

2008-10-19 12:02  castaglia

	* tests/: tests.pl, t/commands/pass.t, t/commands/user.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/PASS.pm,
	  t/lib/ProFTPD/Tests/Commands/USER.pm:
	  Added tests for the USER and PASS commands.

2008-10-19 11:36  castaglia

	* tests/: tests.pl, t/config/displaylogin.t,
	  t/lib/ProFTPD/Tests/Config/DisplayLogin.pm:
	  Added tests for the DisplayLogin directive.

2008-10-18 19:04  castaglia

	* tests/t/lib/ProFTPD/Tests/Config/DisplayConnect.pm:
	  Forgot to clean up a test file that's outside of the tmp/
	  directory.

2008-10-18 18:50  castaglia

	* tests/: tests.pl, t/config/displayconnect.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Config/DisplayConnect.pm:
	  Added tests for the DisplayConnect directive.

2008-10-18 17:38  castaglia

	* tests/: tests.pl, t/config/serverident.t,
	  t/lib/ProFTPD/Tests/Config/ServerIdent.pm:
	  Added first unit tests for config directives; we're starting with
	  ServerIdent.

2008-10-18 16:20  castaglia

	* tests/: tests.pl, t/commands/appe.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/APPE.pm:
	  Added tests for the APPE command.

2008-10-18 16:12  castaglia

	* tests/: tests.pl, t/commands/stou.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/LIST.pm,
	  t/lib/ProFTPD/Tests/Commands/NLST.pm,
	  t/lib/ProFTPD/Tests/Commands/RETR.pm,
	  t/lib/ProFTPD/Tests/Commands/STOR.pm,
	  t/lib/ProFTPD/Tests/Commands/STOU.pm:
	  Added tests for the STOU command.  Cleaned up handling of FTP
	  response messages.

2008-10-18 14:58  castaglia

	* tests/: tests.pl, t/commands/stor.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/STOR.pm:
	  Added some tests for the STOR command.

2008-10-18 14:48  castaglia

	* modules/mod_xfer.c:
	  Preserve the error code for a failing to open the file to be
	  uploaded; errno was being overwritten by subsequent function
	  calls before being reported back to the client.

2008-10-18 13:43  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RETR.pm:
	  Remove copy-n-pasted code from the RETR tests, and make them work
	  more reliably.

2008-10-18 12:59  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Quell some annoying Perl warnings (coming from Net::Cmd and
	  Net::FTP) by providing an initialized default value.	Makes
	  running the testsuite using tests.pl much prettier.

2008-10-17 17:24  castaglia

	* tests/: tests.pl, t/commands/retr.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/LIST.pm,
	  t/lib/ProFTPD/Tests/Commands/NLST.pm,
	  t/lib/ProFTPD/Tests/Commands/RETR.pm:
	  Add some basic tests of the RETR command.

2008-10-17 14:27  castaglia

	* tests/: tests.pl, t/commands/list.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm, t/lib/ProFTPD/TestSuite/Utils.pm,
	  t/lib/ProFTPD/Tests/Commands/LIST.pm:
	  Start of tests for the LIST command; expect more in the future.

2008-10-17 08:25  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  Fix Bug#3120 for the WrapGroupTables and WrapUserTables
	  directives as well.

2008-10-17 08:16  castaglia

	* NEWS, contrib/mod_wrap2/mod_wrap2.c:
	  Bug#3120 - WrapTables not allowed in <Anonymous> context.

2008-10-15 19:04  castaglia

	* tests/t/lib/ProFTPD/Tests/: Logins.pm, Commands/ALLO.pm,
	  Commands/CDUP.pm, Commands/CWD.pm, Commands/DELE.pm,
	  Commands/MDTM.pm, Commands/MKD.pm, Commands/MODE.pm,
	  Commands/NOOP.pm, Commands/PASV.pm, Commands/PORT.pm,
	  Commands/PWD.pm, Commands/QUIT.pm, Commands/REST.pm,
	  Commands/RMD.pm, Commands/SIZE.pm, Commands/STRU.pm,
	  Commands/SYST.pm, Commands/TYPE.pm:
	  Updated tests to use server_wait().

2008-10-15 16:55  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/FTP.pm, TestSuite/Utils.pm,
	  Tests/Commands/NLST.pm, Tests/Commands/RNFR.pm,
	  Tests/Commands/RNTO.pm:
	  Retrofit some of the test classes to use server_wait().  Fixed up
	  some of the NLST tests (due to the vagaries of the Perl Net::FTP
	  class).

2008-10-15 10:18  castaglia

	* configure:
	  Updated configure.

2008-10-15 10:12  castaglia

	* NEWS, config.h.in, configure.in:
	  Bug#3119 - Search for libcap2 in addition to libcap for mod_cap
	  support.

2008-10-15 09:31  castaglia

	* doc/modules/mod_cap.html:
	  Mention the fact that some Linux distros use a package name of
	  "libcap2-dev" as well as (or instead of) "libcap2".

2008-10-14 16:23  castaglia

	* modules/mod_dso.c:
	  Log, at debug level 7, when we are loading a module.	This
	  message is symmetric with the similar message when a module is
	  unloaded.

2008-10-14 15:28  castaglia

	* contrib/mod_ifsession.c:
	  Fix compilation error.

2008-10-13 23:24  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RNTO.pm:
	  Revert the response message check changes made earlier; the
	  discrepancy was caused by stale source code, not by
	  platform/version differences.

2008-10-13 23:20  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  As per the Net::FTP documentation, the use of PASV vs PORT is
	  done at instantiation time, oddly enough.  Make sure this feature
	  is exposed in the testsuite.

2008-10-13 23:03  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Add a function that encapsulates the server-wait part of the
	  tests, including a timeout.

2008-10-13 21:25  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands/RNTO.pm:
	  Looks like some of the errno strings differ across platforms and
	  versions.

2008-10-13 18:11  castaglia

	* tests/: tests.pl, t/commands/nlst.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/NLST.pm:
	  Added tests for NLST; still more tests to be added.

2008-10-13 17:35  castaglia

	* tests/t/lib/ProFTPD/TestSuite/Utils.pm:
	  Make sure that lingering processes, if not killed properly, are
	  timed out quickly.

2008-10-13 16:24  castaglia

	* tests/: tests.pl, t/commands/rest.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/REST.pm:
	  Added tests for the REST command.

2008-10-13 16:06  castaglia

	* tests/: tests.pl, t/commands/quit.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/QUIT.pm:
	  Added test for the QUIT command.

2008-10-13 15:52  castaglia

	* tests/: tests.pl, t/commands/rnfr.t, t/commands/rnto.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/RNFR.pm,
	  t/lib/ProFTPD/Tests/Commands/RNTO.pm:
	  Added tests for the RNFR, RNTO commands.

2008-10-13 15:36  castaglia

	* modules/mod_core.c:
	  Preserve the actual errno value if the renaming fails; it was
	  getting trounced in subsequent function calls.

2008-10-13 14:57  castaglia

	* tests/: tests.pl, t/commands/noop.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/NOOP.pm:
	  Added test for the NOOP command.

2008-10-13 14:50  castaglia

	* tests/: tests.pl, t/commands/port.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/PORT.pm:
	  Add tests for the PORT command.

2008-10-13 13:05  castaglia

	* tests/t/lib/ProFTPD/TestSuite/FTP.pm:
	  Fixed regex matching of ALLO response code leading digit.

2008-10-13 13:02  castaglia

	* tests/: tests.pl, t/commands/allo.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/ALLO.pm:
	  Added test for the ALLO command.

2008-10-13 12:38  castaglia

	* tests/: tests.pl, t/commands/stru.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/STRU.pm:
	  Added tests for the STRU command.

2008-10-13 10:59  castaglia

	* tests/: tests.pl, t/commands/mode.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/MODE.pm:
	  Add tests for the MODE command.

2008-10-13 10:13  castaglia

	* tests/: tests.pl, t/commands/pasv.t,
	  t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/Tests/Commands/PASV.pm:
	  Added tests for the PASV command.

2008-10-13 08:49  castaglia

	* tests/: tests.pl, t/commands.t, t/commands/cdup.t,
	  t/commands/cwd.t, t/commands/dele.t, t/commands/mdtm.t,
	  t/commands/mkd.t, t/commands/pwd.t, t/commands/rmd.t,
	  t/commands/size.t, t/commands/syst.t, t/commands/type.t,
	  t/lib/ProFTPD/Tests/Commands.pm,
	  t/lib/ProFTPD/Tests/Commands/CDUP.pm,
	  t/lib/ProFTPD/Tests/Commands/CWD.pm,
	  t/lib/ProFTPD/Tests/Commands/DELE.pm,
	  t/lib/ProFTPD/Tests/Commands/MDTM.pm,
	  t/lib/ProFTPD/Tests/Commands/MKD.pm,
	  t/lib/ProFTPD/Tests/Commands/PWD.pm,
	  t/lib/ProFTPD/Tests/Commands/RMD.pm,
	  t/lib/ProFTPD/Tests/Commands/SIZE.pm,
	  t/lib/ProFTPD/Tests/Commands/SYST.pm,
	  t/lib/ProFTPD/Tests/Commands/TYPE.pm:
	  Split the unit tests for FTP commands into separate files, one
	  file per set of tests of a command.  The previous files were
	  getting too large and unwieldy.

2008-10-12 18:03  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/FTP.pm, Tests/Commands.pm:
	  Added tests for the TYPE, MDTM, and SIZE commands.

2008-10-12 17:07  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/FTP.pm, Tests/Commands.pm:
	  Added tests for the DELE command.

2008-10-12 16:55  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/FTP.pm, Tests/Commands.pm,
	  Tests/Logins.pm:
	  Added command test cases where failures (for different reasons)
	  are expected.

2008-10-12 15:27  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/FTP.pm, Tests/Commands.pm:
	  Added tests for the MKD, XMKD, RMD, and XRMD commands.

2008-10-12 15:14  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/FTP.pm, TestSuite/Utils.pm,
	  Tests/Commands.pm, Tests/Logins.pm:
	  Added tests for CDUP, XCUP, and SYST commands.  Added better
	  error messages (with location now) for failed assertions.  Fixed
	  cases where failed login tests might allow the server to continue
	  running.

2008-10-12 14:00  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/FTP.pm, Tests/Commands.pm:
	  Fixed use of assertions when checking response codes and
	  messages.

	  Added tests for the XPWD, CWD, and XCWD commands.

2008-10-12 13:30  castaglia

	* tests/t/lib/ProFTPD/Tests/Commands.pm:
	  Fix the PWD test so that it actually checks that the FTP response
	  code and message are as expected, not just that they exist.

2008-10-12 13:18  castaglia

	* tests/: tests.pl, t/commands.t, t/lib/ProFTPD/TestSuite/FTP.pm,
	  t/lib/ProFTPD/TestSuite/Utils.pm,
	  t/lib/ProFTPD/Tests/Commands.pm:
	  Start of test cases for the various FTP commands; PWD is simple,
	  so it was first.

	  Also add support for writing AuthUserFiles and AuthGroupFiles;
	  this makes it easier to log into the running proftpd without
	  requiring root privs.

2008-10-12 12:12  castaglia

	* tests/t/lib/ProFTPD/TestSuite/: FTP.pm, Utils.pm:
	  Fix the anonymous login unit test such that it passes (requires
	  root privs).	Fix the FTP client wrapper so that it properly
	  retrieves the FTP response code and message.	Update Utils so
	  that the server identity (User/Group) retrieved are always
	  non-root accounts.

2008-10-11 14:35  castaglia

	* tests/t/lib/ProFTPD/: TestSuite/Utils.pm, Tests/Logins.pm:
	  Fix the anonymous login test (it should fail, unless run with
	  root privs).

	  Have defaults for the common config directives.  Exclude tests
	  which require root privs unless we are being run with root privs.

2008-10-11 13:37  castaglia

	* tests/: tests.pl, t/logins.t, t/lib/ProFTPD/TestSuite/Child.pm,
	  t/lib/ProFTPD/TestSuite/FTP.pm, t/lib/ProFTPD/TestSuite/Utils.pm,
	  t/lib/ProFTPD/Tests/Logins.pm:
	  Start of a collection of unit tests against a running proftpd
	  server, using Perl.

2008-10-11 08:58  castaglia

	* modules/mod_facts.c:
	  Fixed bug handling the MFMT command; found by a user in the
	  online forums.

2008-10-08 09:55  castaglia

	* doc/howto/: Translations.html, index.html:
	  Adding a Translation mini-howto.

2008-10-07 15:48  castaglia

	* doc/modules/mod_lang.html:
	  Typo.

2008-10-07 10:43  castaglia

	* tests/: .cvsignore, Makefile.in, api/.cvsignore, api/tests.c:
	  Rename the executable used for testing the API (and the log file
	  that executable generates) to be "api-tests", to differentiate it
	  from the other tests I am working on.

2008-10-07 10:10  castaglia

	* tests/api/.cvsignore:
	  Add .cvsignore file for the new tests/api/ directory.

2008-10-06 23:17  castaglia

	* src/main.c:
	  Need to use exit(), rather than end_login().	Something about the
	  latter makes it impossible to read stdout programmatically when
	  using -vv.

2008-10-06 11:36  castaglia

	* modules/mod_auth_pam.c:
	  Make mod_auth_pam reject the connection if it is unable to
	  register itself as an auth-only module with the Auth API.  This
	  check would have caught the Bug#2922 regression much earlier.
	  Ah, hindsight.

2008-10-06 11:16  castaglia

	* tests/: Makefile.in, array.c, class.c, env.c, event.c, expr.c,
	  feat.c, modules.c, netacl.c, netaddr.c, pool.c, regexp.c,
	  scoreboard.c, sets.c, str.c, stubs.c, table.c, tests.c, tests.h,
	  timers.c, var.c, version.c, api/array.c, api/class.c, api/env.c,
	  api/event.c, api/expr.c, api/feat.c, api/modules.c, api/netacl.c,
	  api/netaddr.c, api/pool.c, api/regexp.c, api/scoreboard.c,
	  api/sets.c, api/str.c, api/stubs.c, api/table.c, api/tests.c,
	  api/tests.h, api/timers.c, api/var.c, api/version.c:
	  Moving the current API unit test source files into an api/
	  directory, to make room for a directory for integration unit
	  tests (i.e. login tests, command tests, configuration tests, etc)
	  which require an FTP client and a running proftpd.

2008-10-06 10:20  castaglia

	* NEWS, src/auth.c:
	  Bug#3117 - Authentication improperly allowed (Bug#2922
	  regression).

2008-10-06 08:54  castaglia

	* contrib/mod_sql_sqlite.c:
	  Add a header-vs-lib version check to mod_sql_sqlite, similar to
	  the one that is in mod_tls.  Hopefully any discrepancies will get
	  sysadmins to correct the software installations on their system.

2008-10-06 08:47  castaglia

	* contrib/mod_ldap.c:
	  When mod_ldap is initialized, print out the LDAP vendor and LDAP
	  API version.

2008-10-06 08:19  jwm

	* contrib/mod_ldap.c: mod_ldap bzr r58:   typo

2008-10-06 08:11  jwm

	* contrib/mod_ldap.c: mod_ldap bzr r57:   * Prevent the use of
	  LDAPSearchScope or LDAPUseSSL when LDAPServer     specifies a
	  URL. Instead, the desired search scope and SSL setting     should
	  be specified by the URL.

	  mod_ldap bzr r56:   - remove extraneous includes   - free the
	  LDAPURLDesc in ldap_getconf(), since we don't attach it to
	  the configuration directive any more

2008-10-05 18:44  castaglia

	* src/dirtree.c:
	  Reduce the size of the pool allocated for config_recs; should
	  reduce the memory footprint more without (hopefully) any adverse
	  side effects.

2008-10-04 18:48  castaglia

	* modules/mod_auth_pam.c:
	  Correct some of the terms in the trace messages from the PAM
	  conversation callback.

2008-10-04 16:55  castaglia

	* modules/mod_auth_pam.c:
	  Be less strict about AuthPAMOptions, and use case-insensitive
	  checks.

2008-10-04 16:23  castaglia

	* modules/mod_core.c:
	  Fix typo which made for a rather confusing comment.

2008-10-04 15:15  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#3116 - SQLNegativeCache with no group info can cause
	  segfault.

2008-10-04 10:14  castaglia

	* src/: main.c, netio.c:
	  Apply a tag to the one unnamed subpool of permanent_pool.  Add
	  comments about why that subpool (which isn't needed in the daemon
	  process) is allocated.

2008-10-03 22:43  castaglia

	* src/class.c:
	  Tag any pools allocated for class definitions.

2008-10-03 22:38  castaglia

	* src/pool.c:
	  Fix the mechanism used to count the number of sub-pools in a
	  pool; it was not recursing properly.

2008-10-03 22:23  castaglia

	* src/timers.c:
	  It's high time the Timers API had its own memory pool, rather
	  than using permanent_pool directly.

2008-10-03 22:03  castaglia

	* contrib/mod_ctrls_admin.c:
	  Check in the control action which helps me to find pool use
	  misbehaviors.  If proftpd is compiled using --enable-devel, and
	  the mod_ctrs_admin module is used (which itself requires
	  --enable-ctrls), then a 'debug memory' control action (via
	  ftpdctl) is supported.

2008-10-03 22:01  castaglia

	* src/pool.c:
	  Prettify, and update, the messages emitted when debugging pool
	  usage.

2008-10-03 22:00  castaglia

	* src/main.c:
	  Fix an egregious memory leak in the daemon process (but not in
	  session processes).  On startup, proftpd would allocate a memory
	  pool for the Netaddr API.  This pool was used, but never cleared.
	  And every restart would cause more allocations (for the netaddr
	  objects used in the bindings) from this pool.  Thus a
	  long-running proftpd, restarted occasionally (as is done for log
	  rolling) would gradually leak quite a bit.  Slowly, to be sure,
	  but noticeable for long-lived daemons.

2008-10-03 21:53  castaglia

	* src/modules.c:
	  Reduce the size of the sub-pool used for symbols in the stash.
	  This reduces the memory footprint of the proftpd daemon process
	  (and session processes) by quite a bit, given that there are
	  quite a few symbols allocated.  Hopefully this won't cause any
	  issues.

2008-10-03 21:01  castaglia

	* src/help.c:
	  Minor label nit.

2008-10-03 18:10  castaglia

	* contrib/mod_sql.c:
	  Allow the SQLEngine directive to be processed even if, for some
	  reason, the user name config_rec can't be found.

2008-10-03 16:10  castaglia

	* doc/modules/mod_lang.html:
	  Add a Usage section containing, for now, a description of the
	  Cyrillic/Telnet issue, and how to use mod_lang to work around it.

2008-10-02 13:53  castaglia

	* modules/mod_auth.c:
	  Minor change to test SourceForge's commit mail.

2008-10-02 10:06  castaglia

	* modules/mod_auth.c:
	  Generate a few new events: one for when a root login is
	  attempted, and one containing the authentication code value.
	  These events are added first for the use by mod_audit, a
	  third-party module for auditing certain application events.

2008-10-01 16:30  castaglia

	* contrib/mod_tls.c:
	  Minor tweaks to allow TLSPassPhraseProvider to work properly on
	  Mac OSX.  Shouldn't harm anything.

2008-09-30 22:49  castaglia

	* contrib/mod_tls.c:
	  When handling the exit event in the daemon process, the TLSLog is
	  not open.  Thus use pr_log_pri() and pr_log_debug() rather than
	  tls_log() there.

2008-09-30 13:43  castaglia

	* src/: main.c, trace.c:
	  Add trace logging of when the various signals are handled.

	  When handling a restart, be sure to close any open trace log fd.
	  Also, to prevent issues with Solaris' stupid stdio fd limit of
	  256, make sure that the fallback fd used for the TraceLog is 255.

2008-09-30 01:00  castaglia

	* contrib/mod_dynmasq.c:
	  Reduce the log verbosity of mod_dynmasq more, as per user
	  request.

2008-09-29 16:02  castaglia

	* src/support.c: [no log message]

2008-09-29 09:07  castaglia

	* contrib/mod_dynmasq.c:
	  Change the logging of mod_dynmasq slightly, so that it does not
	  spam the system log with messages.

2008-09-26 13:57  castaglia

	* src/response.c:
	  Add trace logging of the responses that are added, not just when
	  the responses are flushed to the client.

2008-09-25 15:24  castaglia

	* src/main.c:
	  Include the version status (e.g. "CVS", "devel", "stable") in the
	  -V output, as well as the build timestamp.

2008-09-22 22:52  castaglia

	* INSTALL:
	  Update the mailing list info in the INSTALL file.

2008-09-22 21:40  castaglia

	* tests/array.c:
	  Add unit test for the clear_array() function added in 1.3.2rc2.

2008-09-20 13:18  castaglia

	* NEWS, src/main.c, src/netio.c:
	  Bug#3115 - Cross-site request forgery.

2008-09-19 08:39  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#3114 - Bad handling of uid/gid parameters for CreateHome.

2008-09-17 14:45  castaglia

	* contrib/mod_sql.c:
	  Quell a few more compiler warnings about signedness.

2008-09-17 11:36  castaglia

	* include/version.h:
	  Bump to RC3 in CVS.

2008-09-17 09:48  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2008-09-17 09:47  castaglia

	* NEWS:
	  Update release date in NEWS.

2008-09-17 09:46  castaglia

	* contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for the release of 1.3.2rc2.

2008-09-16 17:15  castaglia

	* RELEASE_NOTES:
	  Update the release notes with the highlights of the upcoming RC2
	  release.

2008-09-12 10:35  castaglia

	* modules/mod_auth.c:
	  Minor formatting nit; I prefer to have strings from clients (e.g.
	  user names) enclosed in quotes.

2008-09-12 10:08  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#3112 - Uploaded files are not removed if close() fails.

2008-09-10 23:12  castaglia

	* contrib/mod_tls.c:
	  Stir in some additional entropy, using the secret passphrases of
	  certs as sources.

2008-09-10 19:00  castaglia

	* src/mkhome.c:
	  When scanning a skel directory, there's no need to build up the
	  full paths (and using memory from the pool) if we're going to
	  skip those paths.

2008-09-10 18:20  castaglia

	* contrib/mod_ban.c:
	  Turns out that Mac OSX has the same semantics, with regard to
	  reuse of getopt(3), as FreeBSD.

2008-09-08 23:24  castaglia

	* modules/Makefile.in:
	  Cycle through a single combined list of subdirectories in which
	  to invoke the `install' target, rather than two separate lists.

2008-09-08 21:00  castaglia

	* doc/howto/DSO.html:
	  Update the example Makefile in the DSO howto, since the `install'
	  target may be called even if the module is built as a static
	  module (i.e. no .la file produced).

2008-09-08 16:49  castaglia

	* src/data.c:
	  With the fix for Bug#2920 comes the possibility that clients can
	  send NOOP commands on the control connection, while a data
	  transfer is occurring.  This would cause the data transfer
	  initiating command recorded in the scoreboard to be overwritten
	  with the NOOP command.  While technically correct, this is
	  probably not what the admins want.  So make proftpd handle such
	  commands politely, responding 200 to them, without actually
	  dispatching the command through the handlers.

2008-09-08 13:56  castaglia

	* Makefile.in, contrib/mod_load/Makefile.in,
	  contrib/mod_wrap2/Makefile.in, modules/Makefile.in:
	  Make sure that the `install' target is called for static modules
	  that are built in their own directories, just as is done for
	  shared modules.

2008-09-08 13:54  castaglia

	* contrib/mod_tls.c:
	  Avoid cleaning up OpenSSL state if mod_sftp is present as well.

2008-09-08 12:51  jwm

	* contrib/mod_ldap.c: mod_ldap bzr r55:   high time for a 2.8.19
	  release

2008-09-08 12:40  jwm

	* contrib/mod_ldap.c: mod_ldap bzr r54:   log message wording fix

2008-09-08 12:26  jwm

	* contrib/mod_ldap.c: mod_ldap bzr r53: * Fixed missing ldap_init()
	  -> ldap_initialize() when updating for latest   LDAP C API. Fixes
	  segfaults on (some?) 64-bit systems. (Bug #3046)

2008-09-07 23:52  castaglia

	* include/pool.h, src/pool.c:
	  Add a clear_array() function, for clearing/resetting an
	  array_header.

2008-09-07 17:47  castaglia

	* src/main.c:
	  Try to give different sessions more different random seeds by
	  multiplying the system time (was being used) with the PID.  Bonus
	  points for having the unsigned int value wrap around.

2008-09-07 16:58  castaglia

	* contrib/mod_tls.c:
	  Refresh the builtin 2048-bit DH group.

2008-09-07 16:42  castaglia

	* contrib/mod_tls.c:
	  Refresh the builtin DH groups in mod_tls.  Note that the 2048-bit
	  DH group still needs to be updated.

2008-09-07 16:40  castaglia

	* src/main.c:
	  Quell some compiler complaints about formatting.

2008-09-04 09:42  castaglia

	* src/encode.c:
	  If the selected locale does not support the Telnet IAC character,
	  be sure that the toggled setting is not overwritten.

2008-09-04 09:27  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#3109 - Errors with file uploads logged but not reported to
	  clients.

2008-09-03 18:49  castaglia

	* src/parser.c:
	  Get rid of small function that is only used in one place; simply
	  move the code into the calling function.

2008-09-03 17:30  castaglia

	* src/: inet.c, log.c, main.c, scoreboard.c, trace.c:
	  Change a few more places to using the cached session.pid, if
	  available.

2008-09-03 11:19  castaglia

	* include/fsio.h, src/fsio.c:
	  Remove the pr_find_fs() function; it was a bad idea.	Even if a
	  caller could retrieve a registered FS object by name, that caller
	  would not be able to do much with the FS.  The various callbacks
	  are usually declared as static to the file defining them, which
	  means that the caller probably won't have access to the memory
	  addresses of the callbacks.

2008-09-03 09:49  castaglia

	* include/fsio.h, src/fsio.c:
	  Add a pr_find_fs() function, for retrieving a registered FS
	  object by name.

2008-09-02 09:00  castaglia

	* configure:
	  Updated configure.

2008-09-02 08:54  castaglia

	* config.h.in, configure.in, modules/mod_ls.c:
	  If the dirfd() function is available, use that instead of poking
	  around the internals of a DIR structure.

2008-09-01 14:10  castaglia

	* include/proftpd.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_xfer.c, src/data.c, src/main.c, src/throttle.c:
	  Make fewer getpid() system calls by caching the values (it's not
	  going to change), and using the cached value for the
	  pr_scoreboard_entry_update() calls.

2008-09-01 12:26  castaglia

	* doc/howto/DSO.html:
	  Updated DSO howto with mention of prxs.

2008-09-01 12:05  castaglia

	* NEWS, doc/modules/mod_facts.html, modules/mod_facts.c:
	  Bug#3108 - Support removing MLST from FEAT list.

2008-08-29 17:11  castaglia

	* contrib/mod_tls.c:
	  Prettify some of the error messages emitted if the configuration
	  is not correct.

2008-08-29 17:06  castaglia

	* contrib/mod_tls.c:
	  Fix typos in fix for Bug#3107.

2008-08-29 17:04  castaglia

	* NEWS, contrib/mod_tls.c, doc/contrib/mod_tls.html:
	  Bug#3107 - TLSProtocol supports misleading "SSLv23" parameter.

2008-08-29 10:44  castaglia

	* Makefile.in:
	  When installing prxs, do not ever attempt to strip it.  It is a
	  Perl script, not a compiled binary, and strip(1) will complain
	  about the file type.

2008-08-27 17:47  castaglia

	* configure:
	  Updated configure.

2008-08-27 17:06  castaglia

	* include/data.h:
	  Update copyright dates in just-modified header.

2008-08-27 17:05  castaglia

	* NEWS, config.h.in, configure.in, include/data.h, src/data.c:
	  Bug#3106 - Add support for Mac OSX 10.5 sendfile.

2008-08-27 14:31  castaglia

	* locale/Makefile.in:
	  Do not remove the .po files when cleaning the locale/ directory.

2008-08-27 10:09  jwm

	* contrib/mod_ldap.c:	having to hand-edit mod_ldap.c to enable
	  tls support is silly; switch
	    based on LDAP_OPT_X_TLS, which is the best thing i've found
	  given that i
	    can't find an ldap sdk that support tls other than openldap
	  (sun's
	    doesn't; are there any other major players around?)

2008-08-27 10:09  jwm

	* contrib/mod_ldap.c:	fix LDAPServer url handling by re-parsing
	  the ldap url in each session
	    rather than trying to keep track of the LDAPURLDesc struct

	    proftpd bug 3097

2008-08-27 10:08  jwm

	* contrib/mod_ldap.c: use the configured ldap_port in
	  "connected..." debug message, not LDAP_PORT

2008-08-27 10:08  jwm

	* contrib/mod_ldap.c:	* Define LDAP_SCOPE_DEFAULT if not defined
	  by the SDK, fixing compilation
	      with (recent?) Sun LDAP headers.

2008-08-27 10:08  jwm

	* contrib/mod_ldap.c:	* Fix compilation with old LDAP SDKs
	  (LDAP_API_VERSION < 2000). Thanks to
	      Saju Paul <saju.paul@messageway.com>.

2008-08-25 19:47  castaglia

	* src/prxs.in:
	  Add license to prxs.	Support use of LIBTOOL environment variable
	  to direct prxs to use a different libtool, if necessary.

2008-08-25 15:32  castaglia

	* src/inet.c:
	  Extend the hack used for active ports to Mac OS 10.5 as well.

2008-08-25 15:22  castaglia

	* configure:
	  Updated configure.

2008-08-25 15:19  castaglia

	* Makefile.in, NEWS, configure.in, src/.cvsignore, src/prxs.in:
	  Bug#2991 - Need a `prxs' (ProFTPD Extensions) command-line tool
	  for building shared modules without proftpd source.

2008-08-25 15:16  castaglia

	* lib/pr-syslog.c:
	  Extend the fix for Bug#3104 to Mac OS 10.5 (i.e. DARWIN9) as
	  well.

2008-08-24 12:57  castaglia

	* lib/Makefile.in:
	  Turns out that the libsupp library does NOT need to be installed,
	  as part of a proftpd installation, in order to support DSO
	  modules built outside of proftpd's source tree.  All of the
	  symbols of the libsupp library are statically linked into the
	  proftpd binary, thus a dynamically loaded module which uses those
	  symbols should have the symbols resolved successfuly at load
	  time, without need to explicitly link against libsupp.  The
	  installation of libsupp was added as part of Bug #2991.

2008-08-23 17:30  castaglia

	* NEWS, lib/pr-syslog.c:
	  Bug#3104 - Syslog logging does not work on Mac OS X.

2008-08-23 17:23  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2564 - Improper logging of "max connections per host".

2008-08-23 13:05  castaglia

	* NEWS, contrib/mod_sql.c, doc/contrib/mod_sql.html:
	  Bug#2537 - mod_sql does not support %{...}t variable.

2008-08-22 19:57  castaglia

	* NEWS, doc/howto/DisplayFiles.html, src/display.c:
	  Bug#3055 - Support Display variable for specifying the timestamp
	  format.  See doc/howto/DisplayFiles.html for more details.

2008-08-22 19:49  castaglia

	* lib/libcap/libcap.h:
	  Fix typo (missing backslash).

2008-08-22 18:18  castaglia

	* src/display.c:
	  A temporary pool was being allocated from session.pool for each
	  Display file, and was not being cleaned up.  Tsk.

2008-08-22 09:35  castaglia

	* lib/libcap/libcap.h:
	  Try to handle the change in Linux capability version macro names
	  for older kernels (which don't define/use the new names).

2008-08-21 00:03  castaglia

	* NEWS, src/log.c:
	  Bug#3098 - Socket descriptor leak when using syslog logging,
	  especially at SyslogLevel 'notice' or higher.

2008-08-20 11:23  castaglia

	* contrib/mod_site_misc.c:
	  Add signal handling to a while() loop.

2008-08-20 11:02  castaglia

	* contrib/mod_load/Makefile.in:
	  Make the mod_load Makefile consistent with other contrib module
	  Makefiles.

2008-08-20 11:00  castaglia

	* NEWS, contrib/mod_load/Makefile.in,
	  contrib/mod_wrap2/Makefile.in:
	  Bug#3101 - mod_wrap2 does not compile on FreeBSD with custom
	  includes.  The fix was also needed in the mod_load Makefile.

2008-08-18 15:05  castaglia

	* NEWS, modules/mod_core.c, modules/mod_xfer.c:
	  Bug#3030 - GroupOwner should work for all groups.

2008-08-18 13:55  castaglia

	* contrib/ftpmail:
	  Forgot to add descriptions of the --ignore-users/--watch-users
	  command-line options to the --help output, as part of the fix for
	  Bug#3100.

2008-08-18 13:50  castaglia

	* NEWS, contrib/ftpmail, doc/contrib/ftpmail.html:
	  Bug#3100 - Support ftpmail options for sending emails only for
	  specific users.

2008-08-18 11:52  castaglia

	* doc/howto/Tracing.html:
	  Mention the new "fileperms" trace log channel in the Trace
	  logging howto.

2008-08-18 11:48  castaglia

	* NEWS, modules/mod_core.c, modules/mod_xfer.c:
	  Bug#3099 - Add trace logging of filesystem permission errors.

2008-08-18 11:46  castaglia

	* contrib/mod_wrap2/.cvsignore:
	  Ignore autoconf-generated cache file.

2008-08-15 22:26  castaglia

	* src/fsio.c:
	  If we are out of memory, then we should exit as soon as possible,
	  and skip any sending of events on the topic.

2008-08-15 20:56  castaglia

	* modules/mod_xfer.c:
	  If we decline to use sendfile() for any reason, log this only
	  once per RETR command.  Otherwise, the debug logs get spammed.

2008-08-15 16:41  castaglia

	* src/throttle.c:
	  Include signal.h, for the signal-masking function declarations.

2008-08-15 15:16  castaglia

	* doc/contrib/: index.html, mod_ldap.html:
	  Start a doc covering the mod_ldap directives.

2008-08-15 13:15  castaglia

	* configure:
	  Updated configure.

2008-08-15 13:13  castaglia

	* configure.in:
	  Be sure to include all of the libraries that the proftpd
	  executable is linked against in the `proftpd -V' output.

2008-08-15 11:18  castaglia

	* contrib/mod_sql_sqlite.c:
	  Log if there was an error closing the SQLite database as well.

2008-08-15 11:12  castaglia

	* contrib/mod_sql_sqlite.c:
	  Log the error, if there is one, when opening the SQLite database
	  file.

2008-08-15 09:14  castaglia

	* contrib/mod_sql_sqlite.c:
	  Be sure to log the error string returned from SQLite when a query
	  fails.  Otherwise, debugging issues is a lot harder.

2008-08-14 14:23  castaglia

	* contrib/mod_tls.c:
	  Turns out that prompting for passphrases for protected SSL key
	  files MUST happen during the 'core.postparse' event, and NOT
	  during the 'core.startup' event.  The passphrase prompting
	  requires use of the TTY, and by the time the 'core.startup' event
	  occurs, the process may have daemonized itself away from the TTY.

2008-08-12 17:51  castaglia

	* contrib/mod_tls.c:
	  The change of timing of initializing the OpenSSL library, in
	  order to better handle FIPS mode, broke the TLSPassphraseProvider
	  functionality.  The problem is that using the OpenSSL library for
	  loading certs/keys using passphrases, before the OpenSSL library
	  has been initialized, does not work so well.	With this change,
	  the loading of passphrase-protected certs/keys now happens in the
	  'core.startup' event handler, after OpenSSL has been initialized;
	  this means there is no more need for a 'core.postparse' event
	  handler.

2008-08-12 13:56  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3095 - TLSPassphraseProvider port number truncated.  Fixed by
	  using 'sizeof(nbuf)', not 'sizeof(buf)', in the snprintf() call.

2008-08-12 11:54  castaglia

	* Makefile.in:
	  If using the pkgconfig info to compile and link modules, it is
	  not necessary to link against the libsupp library.  This library
	  is statically linked into the proftpd executable, which means
	  that DSO modules that use any libsupp symbols will have those
	  symbols successfully resolved at module load time.

2008-08-11 13:52  castaglia

	* src/pool.c:
	  Change the "Attempt to free already freed" message, when clearing
	  a pool, so that it logs the name of the pool being cleared; this
	  will aid in debugging such occurrences.

2008-08-11 11:39  castaglia

	* configure:
	  Updated configure.

2008-08-11 11:33  castaglia

	* Make.rules.in, Makefile.in, NEWS, configure.in:
	  Bug#3074 - Support configure option for pkgconfig .pc file
	  install location.

2008-08-10 12:02  castaglia

	* contrib/mod_sql_sqlite.c:
	  Use root privs when opening the file configured for SQLite use.

2008-08-10 11:37  castaglia

	* configure:
	  Updated configure.

2008-08-10 11:29  castaglia

	* configure.in:
	  The use of the -Wno-long-double compiler flag is only needed on
	  Mac machines; and using that flag on non-Mac, newer gcc versions
	  causes problems.  The configure script thus will only check to
	  see if that flag should be used if the compiling platform is a
	  Mac.

2008-08-06 11:00  castaglia

	* contrib/mod_tls.c:
	  Quell a compiler warning about signedness with an explicit cast.

2008-08-06 10:00  castaglia

	* NEWS, lib/libcap/cap_alloc.c, lib/libcap/cap_proc.c,
	  lib/libcap/libcap.h:
	  Bug#3096 - libcap version errors on newer Linux kernel.  Newer
	  Linux kernels have a _LINUX_CAPABILITY_VERSION_2 macro, and
	  redefine the old _LINUX_CAPABILITY_VERSION macro.  To play better
	  with such kernels, redefine the bundled libcap to use
	  _LINUX_CAPABILITY_VERSION_1.

2008-08-06 09:57  castaglia

	* configure:
	  Updated configure.

2008-08-06 09:55  castaglia

	* config.h.in, configure.in:
	  Fix issue where configure script was detecting the presence of a
	  linux/capability.h header, but was not defining the
	  HAVE_LINUX_CAPABILITY_H macro in the config.h file.  (It's a
	  matter of using AC_CHECK_HEADERS vs AC_CHECK_HEADER; easy to
	  miss, and insidious.)

2008-07-30 09:37  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3094 - Perform unidirectional SSL/TLS shutdown on data
	  connections.

2008-07-17 14:01  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#3036 - Quota information not persisted if session ends
	  abruptly.

2008-07-17 13:51  castaglia

	* contrib/mod_quotatab.h:
	  Remove stale and misleading comment; confstreams were an
	  interesting idea, but will not be added.

2008-07-16 14:38  castaglia

	* doc/modules/mod_cap.html:
	  Add a FAQ about the libcap1 warning (regarding 32-bit
	  capabilities), and how to address the warning.

2008-06-18 20:22  castaglia

	* modules/mod_auth.c:
	  Replace the specific "FTP login timed out" with the more generic
	  "Session timed out".

2008-06-18 10:29  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#3077 - Transparently handle the X-variant commands when
	  checking <Limit> permissions.

2008-06-16 18:01  castaglia

	* include/compat.h:
	  Minor formatting change, no functional change.

2008-06-16 14:56  castaglia

	* src/main.c:
	  If PR_DEVEL_COREDUMP support is enabled, then call abort() in the
	  SIGABRT handler, rather than in the synchronously-handled
	  handle_abort().  It works much better this way.

2008-06-16 09:43  castaglia

	* src/main.c:
	  Always remove the scoreboard entry when handling a termination
	  signal, not just when we receive SIGSEGV.

2008-06-16 09:25  castaglia

	* include/compat.h:
	  Add comments noting when compat macros were added; these will be
	  used for determining when the compat macros should be dropped.

2008-06-16 09:21  castaglia

	* contrib/mod_ban.c:
	  Update to use newer PR_LOG_ macros.

2008-06-13 19:40  castaglia

	* contrib/mod_ctrls_admin.c, include/dirtree.h, include/str.h,
	  src/dirtree.c, src/str.c, tests/str.c:
	  Refactor the pr_is_boolean() function into pr_str_is_boolean(),
	  and place it in str.c with the other pr_str_*() functions.  Add
	  an accompanying unit test.

2008-06-13 18:26  castaglia

	* tests/str.c:
	  Add unit test for the pr_str_get_word() function.

2008-06-13 18:13  castaglia

	* include/dirtree.h, include/str.h, src/dirtree.c, src/str.c:
	  Refactor the pr_str_get_word() function from dirtree.c to str.c,
	  along with the other pr_str_*() functions.

2008-06-13 17:28  castaglia

	* tests/: modules.c, tests.h:
	  Fill in unit tests for the Module API functions.

2008-06-13 17:27  castaglia

	* src/modules.c:
	  Clean up a few more style nits, and guard against bad arguments,
	  in the Module API.

2008-06-13 16:23  castaglia

	* tests/modules.c:
	  Add unit tests for the Stash API.

2008-06-13 16:22  castaglia

	* src/modules.c:
	  Fix a few minor bugs and nits in the Stash API, discovered while
	  writing unit tests for those functions.

2008-06-13 11:36  castaglia

	* tests/: .cvsignore, Makefile.in:
	  Fix the dependency on the core proftpd object files in the
	  Makefile.  Change the name of the testsuite executable to
	  'tests', as it is more accurate.

2008-06-13 11:34  castaglia

	* tests/tests.c:
	  Add support for running check in nonforking mode, using the
	  PR_TEST_NOFORK environment variable.	This makes tracking down of
	  segfaults tickled by unit tests easier (I can use gdb now when
	  they happen).

2008-06-12 18:30  castaglia

	* tests/: Makefile.in, modules.c, stubs.c, tests.c, tests.h:
	  Add stubs for units tests for the APIs (stash, module) in the
	  modules.c source file.

2008-06-12 15:57  castaglia

	* contrib/mod_quotatab_ldap.c, contrib/mod_quotatab_radius.c,
	  contrib/mod_quotatab_sql.c, contrib/mod_ratio.c,
	  contrib/mod_wrap2_sql.c, include/compat.h, include/modules.h,
	  modules/mod_core.c, modules/mod_site.c, src/auth.c, src/main.c,
	  src/modules.c, src/parser.c:
	  Since the call_module() function is used by contrib modules, it
	  should be placed in the public API namespace.  Thus call_module()
	  is now pr_module_call().  A macro redefining old code to use the
	  new function has been added to compat.h.

2008-06-12 14:29  castaglia

	* tests/scoreboard.c:
	  Fill in the remaining unit tests for the Scoreboard API.

2008-06-12 14:19  castaglia

	* src/scoreboard.c:
	  Prevent errors in the scoreboard by preventing multiple entries
	  from being added via pr_scoreboard_entry_add(); only one entry at
	  a time.  At the same time, make sure that
	  pr_scoreboard_entry_del() only removes the active entry (if
	  present).

2008-06-12 10:05  castaglia

	* contrib/mod_load/: .cvsignore, mod_load.c.in:
	  Fix function definition.  Add more entries of autogenerated
	  files, to be ignored by CVS.

2008-06-10 20:48  castaglia

	* tests/.cvsignore:
	  More files to be ignored by CVS in the tests/ directory.

2008-06-10 20:48  castaglia

	* tests/scoreboard.c:
	  Fill in more of the unit tests for the Scoreboard API.

2008-06-10 20:47  castaglia

	* src/scoreboard.c:
	  Fix some minor bugs found in the Scoreboard API while working on
	  unit tests.

2008-06-10 09:29  castaglia

	* NEWS, doc/howto/Classes.html:
	  Update the Classes howto to mention that "Satisfy all" is needed
	  for Class definitions with multiple "not" rules.  Add Bug#3083 to
	  NEWS.

2008-06-05 17:47  castaglia

	* src/scoreboard.c:
	  Add better argument checking in pr_set_scoreboard().

2008-06-05 17:46  castaglia

	* tests/: Makefile.in, scoreboard.c, stubs.c, tests.c, tests.h:
	  Start writing unit tests for the Scoreboard API.

2008-06-05 17:43  castaglia

	* tests/sets.c:
	  Avoid a compiler warning about a shadowed variable in the
	  testsuite.

2008-06-05 14:34  castaglia

	* include/expr.h, src/expr.c, tests/expr.c:
	  Fill in the Expression API unit tests, and fix the minor bugs in
	  the API that were uncovered during the writing of the tests.

2008-06-05 09:48  castaglia

	* tests/stubs.c:
	  Forgot to include these variables for unit tests.

2008-06-05 01:02  castaglia

	* tests/str.c:
	  Add unit tests for the newly added functions to the String API.

2008-06-05 01:01  castaglia

	* Make.rules.in, contrib/mod_ifsession.c, include/conf.h,
	  include/dirtree.h, include/expr.h, include/str.h,
	  include/support.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_ident.c, modules/mod_xfer.c, src/auth.c,
	  src/dirtree.c, src/expr.c, src/str.c, src/support.c:
	  Refactoring work.  First, move the pr_expr_* functions into their
	  own expr.c file.  Second, move some of the string-related
	  functions from support.c into the str.c file.

2008-06-05 00:48  castaglia

	* src/throttle.c:
	  Make sure to explicit require a TRUE return value from the
	  pr_expr_* calls.

2008-06-05 00:42  castaglia

	* tests/: Makefile.in, expr.c, regexp.c, tests.c, tests.h:
	  Add unit tests for the Regexp API, and unit test stubs for the
	  Expression API.

2008-06-04 21:13  castaglia

	* src/: class.c, netacl.c:
	  Bug#3083 - Multiple issues with handling of <Class> definitions.

2008-06-04 21:11  castaglia

	* tests/: Makefile.in, class.c, netacl.c, tests.c, tests.h:
	  Added unit tests for the NetACL and Class APIs.

2008-06-04 21:02  castaglia

	* doc/howto/Classes.html:
	  Add more material to the Classes howto, covering the Satisfy
	  directive and giving some examples.

2008-06-04 20:00  castaglia

	* tests/Makefile.in:
	  Have different targets for creating the testsuite executable,
	  versus running the testsuite executable.  It was getting tedious,
	  having the testsuite executable re-linked every time I wanted to
	  run a particular suite of tests.

2008-06-04 18:57  castaglia

	* src/netacl.c:
	  When destroying the temporary pool in pr_netacl_match(), make
	  sure we do it only when we're about to return from the function
	  (and not before then).

2008-06-04 15:43  castaglia

	* src/netacl.c:
	  Correct several nits in the NetACL API: free up the temporary
	  pool that's allocated in pr_netacl_match(), make sure that
	  pr_netacl_get_str() returns the same string for ALL/NONE ACLs,
	  regardess of the casing of the ALL/NONE strings, clean up some of
	  the string representations, etc.

2008-06-02 15:29  castaglia

	* NEWS, doc/howto/Tracing.html, src/trace.c:
	  Bug#3082 - Use "DEFAULT" keyword instead of "ALL" for Trace
	  directive.

2008-05-20 07:35  castaglia

	* contrib/mod_tls.c:
	  Update mod_tls to properly enable FIPS mode (see Bug #3050) for
	  both inetd and standalone modes.  The timing of when to call
	  FIPS_mode_set() is a little tricky.

2008-05-17 13:05  castaglia

	* src/throttle.c:
	  Make sure that the signal-handling functions (e.g. sigemptyset())
	  can be properly found on some platforms (e.g. Solaris).

2008-05-14 19:51  castaglia

	* modules/mod_core.c:
	  Make sure that we honor the TimeoutIdle directive *before*
	  authentication, as well as after.

2008-05-13 22:51  castaglia

	* include/auth.h, modules/mod_auth.c, src/auth.c:
	  Move the functions which check /etc/ftpusers and /etc/shells out
	  of the mod_auth module, and into the Auth API layer.	This makes
	  it possible for other modules to use these checks when deciding
	  to let users in.

2008-05-12 22:41  castaglia

	* include/table.h, src/main.c, src/table.c:
	  Fix bug where proftpd could enter a recursive loop and eventually
	  run out of stack memory.  Turns out that if errno is EINTR when
	  pr_signals_handle() was called, then pr_signals_handle() would
	  call pr_trace_msg(), which would lead to a call to
	  pr_signals_handle(), which would call pr_trace_msg(), etc etc.

	  To deal with this, the Table API now has an internal-use-only
	  functionn, used by pr_signals_handle(), to indicate whether a
	  signal is currently being handled or not.  If a signal is being
	  handled, then the Table API code will not call
	  pr_signals_handle().

2008-05-12 10:22  castaglia

	* modules/mod_dso.c:
	  Work around compiler warnings about "nested extern declaration of
	  lt_preloaded_symbols".  This was caused by the use of the
	  LTDL_SET_PRELOADED_SYBMOLS libtool macro.  Instead, use the code
	  to which the macro expands, and separate the code so that the
	  declaration of the lt_preloaded_symbols is in the proper scope.

2008-05-12 10:16  castaglia

	* configure:
	  Updated configure.

2008-05-12 10:11  castaglia

	* configure.in, modules/mod_dso.c:
	  Make sure we use the libltdl shipped with proftpd, not the system
	  libltdl.

2008-05-11 18:23  castaglia

	* modules/mod_xfer.c:
	  Found more while loops without signal handling.  Tsk tsk.

2008-05-11 13:40  castaglia

	* modules/mod_auth.c, modules/mod_core.c, modules/mod_xfer.c,
	  src/main.c:
	  Move the setting of the TimeoutIdle timer from src/main.c into
	  mod_core.  The issue was that any vhost-specific TimeoutIdle
	  timer was not being honored properly.  Another cause of this
	  issue was that the handling of the PASS POST_CMD dispatch was
	  faulty; the mod_auth and mod_xfer modules were both returning
	  HANDLED for those POST_CMD handlers, which prevented other
	  modules from receiving the dispatch.	Oops.

2008-05-10 19:36  castaglia

	* src/main.c:
	  Make a lowercased version of the protocol name, in
	  set_protocol_name(), for use in the WtmpLog entry.

2008-05-08 08:28  castaglia

	* modules/mod_core.c:
	  As it turns out, the <Limit> section can handles commands for
	  more than just FTP.

2008-05-08 08:06  castaglia

	* contrib/mod_load/mod_load.c.in:
	  Mark a string used by mod_load as localisable.

2008-05-07 23:49  castaglia

	* include/support.h, src/main.c:
	  Make it possible to change the protocol name used in some logging
	  messages via a set_protocol_name() function.

2008-05-07 23:16  castaglia

	* src/main.c:
	  Stylistic nits, no functional change.

2008-05-07 22:29  castaglia

	* src/main.c:
	  Always have signal handling in while loops.

2008-05-07 08:14  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec:
	  Bug#3076 - RPM build failing on 64 bit OS due to incomplete
	  .spec.

2008-05-06 10:42  castaglia

	* include/response.h, src/response.c:
	  Add new pr_response_block() API, for blocking the normal response
	  chains from being sent to the client.  For use by modules which
	  want to send their own data, as is, to clients.

2008-05-06 10:01  castaglia

	* doc/howto/Authentication.html:
	  Typo.

2008-05-06 09:33  castaglia

	* configure:
	  Updated configure.

2008-05-06 09:30  castaglia

	* configure.in, config.h.in, contrib/mod_site_misc.c,
	  include/fsio.h, modules/mod_facts.c, src/fsio.c:
	  Add two new FSIO API functions: pr_fsio_utimes() and
	  pr_fsio_futimes().  These functions use the utimes(2) system
	  call, which supercedes the old utime(2) system call.	Plus, this
	  allows FSIO modules to provide their own implementations of these
	  calls.

	  Update the mod_facts and mod_site_misc modules, which used
	  utime(2) directly, to call these new FSIO APIs.

2008-05-06 00:23  castaglia

	* include/fsio.h, src/fsio.c:
	  Add pr_fsio_fchmod() and pr_fsio_fchown() functions, for acting
	  on already opened pr_fh_t objects rather than always requiring
	  paths.

2008-05-05 22:19  castaglia

	* include/response.h, src/response.c:
	  Add a new pr_response_clear() function, for clearing a response
	  chain without having to flush that chain out to the client first.

2008-05-05 22:17  castaglia

	* src/main.c:
	  If sending responses in pr_cmd_dispatch_phase(), be sure to flush
	  the correct response chain.

2008-05-05 22:13  castaglia

	* Make.rules.in, include/conf.h, include/throttle.h,
	  modules/mod_xfer.c, src/throttle.c:
	  More refactoring.  This time, move the TransferRate handling out
	  of mod_xfer and into a Throttle API.	Again, this is to expose
	  this same functionality to other modules that may want throttling
	  capabilities.

2008-05-05 21:31  castaglia

	* include/modules.h, src/main.c:
	  Add a new function, pr_cmd_dispatch_phase().	This is very
	  similar to pr_cmd_dispatch(), except that it allows callers to
	  dispatch a cmd_rec to a specific phase of command handlers (e.g.
	  LOG_CMD).  It also supports a flag for indicating whether the
	  caller wishes the response chains to be flushed to the client.

	  This API allows modules to dispatch commands to specific handlers
	  as needed.  Wondering about the utility?  Well, I have need for
	  such a thing in my soon-to-be-released mod_sftp module for
	  proftpd.

2008-05-05 21:11  castaglia

	* include/auth.h, modules/mod_auth.c, src/auth.c:
	  Refactor the lockdown() function from mod_auth into the
	  pr_auth_chroot() function, in the Auth API.  This makes it
	  possible to reuse the same code from other modules.

2008-04-28 08:14  castaglia

	* NEWS, modules/mod_auth.c, modules/mod_log.c, src/dirtree.c,
	  src/support.c:
	  Bug#3073 - Command arguments not decoded properly in some places.

2008-04-25 17:20  castaglia

	* src/data.c:
	  Apply the fix for Bug#3001 to a similar area of the code, this
	  time in a non-Linux code path.

2008-04-25 09:41  castaglia

	* NEWS, locale/Makefile.in, locale/zh_CN.po:
	  Adding Chinese translation.

2008-04-17 18:18  castaglia

	* configure:
	  Updated configure.

2008-04-17 18:14  castaglia

	* configure.in:
	  If the PR_USE_OPENSSL macro is defined, then the proftpd build
	  would fail when linking the `proftpd' executable, due to an
	  unresolved 'OPENSSL_cleanse' symbol.	There was a spot in the
	  configure script which was not properly adding the OpenSSL libs
	  to the library list.

2008-04-16 19:13  castaglia

	* NEWS:
	  Had wrong bug number for IPv6-by-default change.

2008-04-16 19:11  castaglia

	* configure:
	  Updating configure.

2008-04-16 19:06  castaglia

	* configure.in:
	  Really fix Bug#2755 by making sure that IPv6 support is enabled
	  by default.  Previously, it was only enabled *if* the
	  --disable-ipv6 configure option was used -- not so helpful as a
	  default.

2008-04-16 09:27  castaglia

	* NEWS:
	  Forgot to mention the release date for 1.3.2rc1 in the NEWS file.

2008-04-16 09:26  castaglia

	* include/version.h:
	  Update version for CVS.

2008-04-15 19:06  castaglia

	* Makefile.in:
	  Clean up the locale/Makefile when handling the 'distclean'
	  target.

2008-04-15 17:30  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2008-04-15 17:29  castaglia

	* contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing to release 1.3.2rc1.

2008-04-15 17:26  castaglia

	* doc/howto/Tracing.html, src/main.c, src/trace.c:
	  Remove the unused "l10n" trace channel, and add a "signal" trace
	  channel.  Update the Tracing howto with these channel changes.
	  Use the "signal" channel, rather than debug logging, when logging
	  about EINTR delaying.

2008-04-15 15:38  castaglia

	* contrib/ftpmail:
	  Fix issue with handling of binary files as attachments.  Such
	  attachments need to be base64-encoded, to protect them from CRLF
	  translation/handling by Mail::Sendmail.

2008-04-15 13:51  castaglia

	* RELEASE_NOTES:
	  Updating release notes.

2008-04-11 18:07  castaglia

	* modules/mod_lang.c:
	  When scanning the LangPath for suitable languages, make sure that
	  the languages are acceptable to setlocale(3), in addition to
	  having a proftpd.mo file.

2008-04-10 08:04  castaglia

	* doc/howto/Limit.html:
	  Mention that within <Limit> sections, limits are applied only
	  based on names, not on IDs.

2008-04-09 10:03  castaglia

	* include/options.h:
	  Make the default PR_TUNABLE_EINTR_RETRY_INTERVAL value be 0.2
	  secs, rather than 0, in order to prevent tightly-spinning EINTR
	  retry loops.

2008-04-08 16:34  castaglia

	* locale/it_IT.po:
	  Updated Italian translation.

2008-04-05 14:05  castaglia

	* locale/proftpd.pot:
	  Fill in some descriptive details in the .pot file header.

2008-04-05 13:47  castaglia

	* configure:
	  Updated configure.

2008-04-05 13:44  castaglia

	* configure.in:
	  Yet another attempt to fix the writing of the PR_LOCALE_DIR
	  string into config.h by the configure script (Bug #3066).

2008-04-05 12:46  castaglia

	* modules/mod_core.c:
	  Don't set the UTF8 feature in mod_core; it's already handled by
	  mod_lang.  Addresses Bug#3070.

2008-04-04 20:22  castaglia

	* modules/mod_lang.c:
	  Missed one spot where the language needed to specified as "en_US"
	  (to satiate setlocale(3)) instead of just "en".  While I was at
	  it, I made the fallback "en_US" string be a macro.

2008-04-04 20:11  castaglia

	* locale/Makefile.in:
	  Add a `make check' target for the locale/ directory, to run
	  msgcmp on our .po files to see how out-of-date they might become.

2008-04-04 18:56  castaglia

	* locale/Makefile.in:
	  Make sure that all .po files pass the msgfmt format check.

2008-04-04 18:39  castaglia

	* doc/modules/mod_lang.html, modules/mod_lang.c:
	  Mention the requirement that the LangDefault language be listed
	  in `locale -a' in the docs.  Change the default language from
	  "en" to "en_US", as per the `locale -a' requirement.

2008-04-04 18:29  castaglia

	* locale/: en.po, it.po:
	  Remove the vestiges of the renamed .po files.

2008-04-04 18:26  castaglia

	* locale/: Makefile.in, en_US.po, it_IT.po:
	  Turns out that setlocale(3) prefers the language tag to include
	  the country code as well, hence "en_US" instead of just "en",
	  "it_IT" instead of just "it", etc.  Picky, picky.

2008-04-04 18:03  castaglia

	* locale/proftpd.pot:
	  Updated proftpd.pot to reflect changed line numbers.

2008-04-04 18:01  castaglia

	* modules/mod_lang.c:
	  Add proper provisioning of the LANG FEAT, and handling of the
	  LANG command.  Also addresses Bug#3067 with some explicit calls
	  to bind_textdomain_codeset().

2008-04-04 17:49  castaglia

	* locale/it.po:
	  Fix msgfmt format check warning in it.po.

2008-04-04 14:14  castaglia

	* locale/proftpd.pot:
	  Update proftpd.pot with the strings to be translated from
	  mod_quotatab.

2008-04-04 14:13  castaglia

	* contrib/mod_quotatab.c:
	  Tag a few more strings that need to be translated, when
	  displaying quota limit/tallies to clients.

2008-04-04 11:37  castaglia

	* locale/: Makefile.in, en.po, it.po:
	  Add it.po (courtesy of Frankie) and en.po for default
	  translations.

2008-04-04 10:52  castaglia

	* locale/: Makefile.in, files.txt, proftpd.pot:
	  Update the list of files to include contrib modules, and updated
	  the .pot file accordingly.

2008-04-04 10:47  castaglia

	* contrib/: mod_quotatab.c, mod_radius.c, mod_readme.c,
	  mod_site_misc.c, mod_tls.c, mod_wrap2/mod_wrap2.c:
	  Add tags for the response strings which need to be
	  localised/translated in the contrib modules.

2008-04-04 10:44  castaglia

	* contrib/mod_wrap2/.cvsignore:
	  More files to be ignored by CVS.

2008-04-04 10:21  castaglia

	* modules/mod_lang.c:
	  Delay the call to setlocale() until the postparse event, after we
	  have called bindtextdomain().

2008-04-04 10:16  castaglia

	* include/conf.h:
	  Use dgettext() instead of gettext() when retrieving localised
	  strings, so that we can explicitly specify the domain ("proftpd")
	  to use.

2008-04-03 18:13  castaglia

	* locale/Makefile.in:
	  When installing locale .mo files, actually do the installation
	  into the proper directory structure.

2008-04-03 18:12  castaglia

	* modules/mod_lang.c:
	  When requesting a locale change, it helps to actually use the
	  locale provided by the caller.  Sheesh.

2008-04-03 18:01  castaglia

	* modules/mod_lang.c:
	  Hook up handling of LangPath and LangDefault, and start trying to
	  actually use the configured locale message catalogs.

2008-04-03 15:08  castaglia

	* configure:
	  Updated configure.

2008-04-03 15:01  castaglia

	* configure.in:
	  Fix the handling of the PR_LOCALE_DIR macro, so that it properly
	  substitutes the variables.

2008-04-03 10:50  castaglia

	* locale/: Makefile.in, proftpd.pot:
	  Provide a .pot file as a starting point for translators.

2008-04-03 09:03  castaglia

	* locale/Makefile.in:
	  Older msginit versions do not support the --sort-by-file option.
	  Also, do not run msgfmt if msginit fails.

2008-04-03 08:56  castaglia

	* locale/.cvsignore:
	  Ignore a few other generated files in the locale/ directory.

2008-04-03 08:55  castaglia

	* locale/files.txt:
	  Update the list of files from which to extract strings via
	  xgettext.

2008-04-02 20:21  castaglia

	* src/encode.c:
	  Fix typo which breaks the solution for Bug#3064.

2008-04-02 20:18  castaglia

	* src/encode.c:
	  Add a few more character sets to the list of those which override
	  the value of the Telnet IAC value.

2008-04-02 20:14  castaglia

	* NEWS, include/encode.h, src/encode.c, src/netio.c:
	  Bug#3064 - Better handling of 0xFF character for Cyrillic,
	  non-UTF8 charsets.

2008-04-02 19:33  castaglia

	* modules/mod_lang.c:
	  Bug#3063 - proftpd fails to start if LC_ALL environment variable
	  is wrong.

2008-04-02 19:02  castaglia

	* NEWS:
	  Bug#3056 - Support non-UTF8 encoding and character sets.

2008-04-02 18:57  castaglia

	* doc/howto/Tracing.html:
	  The log channel name changed from "utf8" to "encode".

2008-04-02 18:54  castaglia

	* RELEASE_NOTES, doc/modules/mod_lang.html:
	  Mention the new UseEncoding directive in the release notes, and
	  add docs for UseEncoding to the mod_lang docs.

2008-04-02 18:34  castaglia

	* Make.rules.in, include/conf.h, include/encode.h, include/fsio.h,
	  include/utf8.h, modules/mod_core.c, modules/mod_lang.c,
	  src/encode.c, src/fsio.c, src/main.c, src/trace.c, src/utf8.c:
	  Bug#3056 - Support non-UTF8 encoding and character sets.

2008-03-31 18:15  castaglia

	* doc/: contrib/mod_quotatab.html, howto/Quotas.html:
	  Add more description of how mod_quotatab determines which group
	  quota to use, when there are multiple applicable group quota to
	  choose from (see Bug #3053).

2008-03-27 11:28  castaglia

	* src/scoreboard.c:
	  In addition to logging the PID of the blocking lock owner, log
	  the type of blocking lock (read/write).

2008-03-26 23:24  castaglia

	* src/scoreboard.c:
	  If we're unable to get a read or write lock on the ScoreboardFile
	  because some other process (e.g. ftptop) has a lock on it, look
	  up the PID of that blocking lock owner, and log it.

2008-03-26 23:04  castaglia

	* contrib/mod_wrap2_sql.c:
	  Replace some "magic numbers" with macros, and increase
	  legibility.

2008-03-26 19:30  castaglia

	* contrib/mod_wrap2_sql.c:
	  Make sure to allocate enough room for the SQL query names in the
	  tab_data; the fact that this was working was highly dependent on
	  the architecture and just dumb luck.

2008-03-26 19:06  castaglia

	* contrib/mod_wrap2_sql.c:
	  Clear up a temporary pool before exiting early.

2008-03-26 18:57  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  Quell compiler warning about partially-declared callback function
	  signature.

2008-03-26 18:47  castaglia

	* NEWS, contrib/mod_quotatab_sql.c:
	  Bug#3061 - Segfault in mod_quotatab_sql if the SQL query returns
	  NULL bytes/files values.

2008-03-26 18:00  castaglia

	* src/scoreboard.c:
	  Further reduce possible race conditions when reading the
	  scoreboard by NOT blocking signals while reading the scoreboard
	  header.  If signals are blocked while entering a potentially
	  endless loop, it's a very bad thing.

2008-03-26 15:33  castaglia

	* src/scoreboard.c:
	  Add trace logging of scoreboard locking.

2008-03-26 14:13  castaglia

	* src/scoreboard.c, utils/scoreboard.c:
	  Bug#3057 - ftptop can lock scoreboard, blocking proftpd.  Try not
	  to lock as aggressively in ftptop.

2008-03-25 15:20  castaglia

	* NEWS, src/utf8.c:
	  Bug#3059 - Wrong handling of UTF8 conversions.

2008-03-25 10:14  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#3058 - Handling of OPTS command results in badly set values
	  in code.

2008-03-21 14:01  castaglia

	* tests/tests.c:
	  Clarify that the tests.log file can be found in the tests/
	  directory.

2008-03-20 14:56  castaglia

	* src/netaddr.c:
	  Unit tests caught regression where a NULL buffer was not being
	  checked properly.  Yay unit testing!

2008-03-20 14:17  castaglia

	* .cvsignore:
	  Ignore the generated proftpd.pc file.

2008-03-19 14:16  castaglia

	* contrib/mod_sql.c:
	  When there is an unrecoverable SQL backend error, make sure to
	  log this in the regular proftpd debug logs, along with a note
	  prompting the admin to look in the SQLLogFile as well, as a
	  reminder.

2008-03-19 14:01  castaglia

	* configure:
	  Updated configure.

2008-03-19 13:59  castaglia

	* config.h.in, configure.in, modules/mod_auth_unix.c:
	  Add autoconf support for checking for login.h and usersec.h;
	  these headers are required for the AIX loginrestrictions()
	  support in the mod_auth_unix module.

2008-03-17 09:40  castaglia

	* contrib/mod_tls.c:
	  Protect some OCSP-specific code with checks against the OpenSSL
	  version.

2008-03-17 09:33  castaglia

	* contrib/mod_tls.c:
	  Make checking of the verification mechanism names (CRL, OCSP)
	  case-insensitive.

2008-03-17 09:32  castaglia

	* RELEASE_NOTES:
	  Be sure to mention TLSVerifyOrder in the release notes.

2008-03-17 09:15  castaglia

	* doc/contrib/mod_tls.html:
	  Add docs for the new TLSVerifyOrder directive.

2008-03-17 09:02  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2840 - Online Certificate Status Protocol (OCSP) support.

2008-03-17 08:19  castaglia

	* contrib/mod_sql_odbc.c:
	  Use the TOP clause when the driver name is "FreeTDS", or when the
	  driver name contains "SQL Server".

2008-03-15 12:12  castaglia

	* include/inet.h, modules/mod_core.c, src/main.c:
	  Add an API that allows a module to take full control of the
	  command handling, including IO.  I'm working on a module which
	  requires this ability.

2008-03-14 15:27  castaglia

	* contrib/mod_sql_odbc.c:
	  Check for the FreeTDS driver; if so, use TOP instead of LIMIT.

2008-03-13 15:44  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Use pcalloc() rather than palloc() in the database backend
	  modules.  Fix some inconsistent style while there.

2008-03-13 15:35  castaglia

	* contrib/mod_sql_odbc.c:
	  Improve the error logging in mod_sql_odbc by calling the
	  SQLGetDiagRec() function repeatedly, retrieving (and logging) all
	  of the errors in the diag stack, not just the first error.

2008-03-13 10:27  castaglia

	* doc/contrib/mod_sql_odbc.html:
	  Update instructions for configuring proftpd for using ODBC
	  libraries.

2008-03-13 09:43  castaglia

	* contrib/mod_sql_odbc.c:
	  When allocating the conn_t struct in mod_sql_odbc, be sure to use
	  pcalloc(), so that the allocated memory is zeroed.

	  Also, add an sqlodbc_strerror() function, for displaying the
	  string version of the SQLRETURN value returned by many of the
	  ODBC functions.  Makes for slightly more legible logging.

2008-03-11 15:28  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#3051 - mod_quotatab incorrectly reduces file count on rename.

2008-03-11 10:39  castaglia

	* configure:
	  Updated configure.

2008-03-11 10:35  castaglia

	* RELEASE_NOTES:
	  Mention the pkgconfig file.

2008-03-11 10:31  castaglia

	* Make.rules.in, Makefile.in, configure.in, lib/Makefile.in:
	  When installing proftpd, be sure to install the libsupp library
	  as well.

	  Also, supply a pkgconfig file (see
	  http://pkgconfig.freedesktop.org/) for proftpd.  The generated
	  proftpd.pc file is created during the `make install' step, and is
	  installed into lib/pkgconfig/proftpd.pc.

	  These changes are for Bug #2991.

2008-03-08 11:52  castaglia

	* src/support.c:
	  If we are linking with OpenSSL, and that OpenSSL is new enough,
	  use its memory-cleansing function rather than our own.

2008-03-07 21:16  castaglia

	* contrib/mod_tls.c:
	  If FIPS mode is requested, and the OpenSSL installation doesn't
	  support FIPS, log a warning.

2008-03-07 21:12  castaglia

	* Makefile.in, NEWS, RELEASE_NOTES, contrib/mod_tls.c,
	  contrib/mod_load/Makefile.in, contrib/mod_wrap2/Makefile.in,
	  doc/howto/TLS.html, modules/Makefile.in, tests/Makefile.in:
	  Bug#3050 - Support use of OpenSSL in FIPS mode.

2008-03-05 19:08  castaglia

	* NEWS, RELEASE_NOTES:
	  Add mention of ftpmail in the NEWS and in the release notes.

2008-03-05 19:06  castaglia

	* contrib/ftpmail, doc/contrib/ftpmail.html:
	  Added ftpmail, a Perl script which reads a TransferLog FIFO and
	  sends automatic email notifications for uploads.

2008-03-03 18:05  castaglia

	* doc/contrib/mod_ban.html:
	  Update docs for the BanOnEvent directive.

2008-03-03 18:01  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#3047 - BanOnEvent should support optional ban message.

2008-03-03 09:13  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#3045 - "QuotaOptions ScanOnLogin" does not work for 'class'
	  or 'all' limits.

2008-03-03 08:26  castaglia

	* NEWS, contrib/mod_wrap2_file.c:
	  Bug#3048 - mod_wrap2_file should support comma-delimited lists of
	  clients.

2008-03-03 08:21  castaglia

	* modules/mod_core.c:
	  Make the message about an AuthOrder module with no auth handlers
	  a little more explicit.

2008-02-25 11:05  castaglia

	* src/inet.c:
	  Forgot to remove the old pr_inet_validate() function from inet.c.

2008-02-24 14:25  castaglia

	* tests/: Makefile.in, netaddr.c, stubs.c, tests.c, tests.h:
	  Adding unit tests for the Netaddr API.  Note that some of the
	  tests still need to be filled in.

2008-02-24 14:23  castaglia

	* src/netaddr.c:
	  Fix minor bugs in the Netaddr API.

2008-02-24 12:35  castaglia

	* include/compat.h, include/inet.h, include/netaddr.h,
	  src/ftpdctl.c, src/log.c, src/netaddr.c:
	  Move the function for validating DNS strings from inet.c
	  (pr_inet_validate) to netaddr.c (pr_netaddr_validate_dns_str).
	  Also remove the never-defined pr_inet_fqdn() function while I'm
	  at it.

2008-02-23 17:53  castaglia

	* src/log.c:
	  Set errno when appropriate, and catch a corner case where the
	  caller might provide a null format string.

2008-02-20 14:09  castaglia

	* src/log.c:
	  Log if ftruncate(3) fails.

2008-02-20 14:07  castaglia

	* modules/mod_delay.c:
	  Add logging of when write() fails for the DelayTable, even for a
	  single byte.	Also fix up some of the log messages where
	  "warning" would be redundant (the message was already logged at
	  the LOG_WARN level).

2008-02-20 14:01  castaglia

	* contrib/mod_ban.c:
	  Make sure we provide a printf-like format string when necessary,
	  rather than simply sending the intended string.  In this case,
	  there is no way for a user to inject their own data into the
	  message, but it's better to be paranoid.

2008-02-20 13:59  castaglia

	* src/fsio.c:
	  Rather than relying on simple path comparison in
	  pr_fs_copy_file(), for detecting when the source and destination
	  files are the same, check for same path, same device, same inode,
	  same size, and same mtime.

2008-02-20 10:47  castaglia

	* src/fsio.c:
	  Make sure the pr_fs_copy_file() function properly handles NULL
	  arguments, and detects when the source and destination paths are
	  the same.

2008-02-19 08:42  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#3044 - Segfault if mod_delay fails to load DelayTable.

2008-02-18 18:31  castaglia

	* tests/: Makefile.in, tests.c, tests.h, version.c:
	  Add unit tests for the new Version API functions.

2008-02-18 18:29  castaglia

	* Make.rules.in, include/version.h, src/version.c:
	  Make it possible to get versions (number, string) at runtime, for
	  runtime comparisons (e.g. by shared modules at load time).  These
	  functions complement the existing buildtime version macros.

2008-02-18 13:45  castaglia

	* include/log.h:
	  Use gcc's varargs checking for printf-like statements for the
	  pr_log_auth() function.

2008-02-18 13:26  castaglia

	* tests/: Makefile.in, event.c, tests.c, tests.h:
	  Added unit tests for the Event API.

2008-02-18 13:25  castaglia

	* src/event.c:
	  Event API bugfixes: Check for duplicate event handlers in
	  pr_event_register().	Return ENOENT if the requested event was
	  never registered, in pr_event_unregister().  Make sure the caller
	  provides a dump function in pr_event_dump().

2008-02-17 18:58  castaglia

	* tests/: Makefile.in, feat.c, tests.c, tests.h:
	  Add unit tests for the Feat API.

2008-02-17 18:56  castaglia

	* src/feat.c:
	  Minor fixes, so that EPERM is returned (before EINVAL), if there
	  are not features registered.	Also fix a bug where
	  pr_feat_remove() would return ENOENT, even when the feature being
	  removed had been registered; it was actually removed, but
	  pr_feat_remove() was not doing the right thing.

2008-02-17 18:15  castaglia

	* tests/: Makefile.in, tests.c, tests.h, var.c:
	  Add unit tests for the Var API.

2008-02-17 18:13  castaglia

	* include/var.h, src/var.c:
	  Removed the duplicate pr_var_remove() function (pr_var_delete()
	  did the same thing).	Fixed some cases where the functions would
	  not behave properly if the Var API has not been initialized
	  first, specifically pr_var_set().  Handle some bad arguments
	  better.

2008-02-17 13:27  castaglia

	* tests/tests.c:
	  Slightly more elegant way of iterating over all of the
	  testsuites, without needing to use strcmp().

2008-02-17 13:19  castaglia

	* tests/: Makefile.in, table.c, tests.c, tests.h:
	  Add unit tests for the Table API.

2008-02-17 13:17  castaglia

	* src/table.c:
	  Fix a few minor bugs related to checking for improper arguments.

2008-02-16 20:15  castaglia

	* doc/howto/Testing.html:
	  Start of a doc that will describe ProFTPD's burgeoning testsuite,
	  and how to use it.

2008-02-16 19:26  castaglia

	* tests/tests.c:
	  Make it possible to specify the name of a single testsuite to run
	  using the PR_TEST_SUITE environment variable.  Makes it much
	  easier when writing new testcases; now I don't have to run all
	  previous testcases to get to the one I'm working on.

2008-02-16 18:44  castaglia

	* tests/tests.c:
	  Emit a message to the user, asking them to send their tests.log
	  and their configure info, whenever the testsuite fails for them.

2008-02-16 18:11  castaglia

	* tests/: Makefile.in, stubs.c, tests.c, tests.h, timers.c:
	  Adding unit tests for the Timers API.

2008-02-16 18:06  castaglia

	* src/timers.c:
	  Fixing some issues found in the Timers API by unit testing.
	  Handle some null arguments better, and handle the case where
	  there may be no registered timers when pr_timer_reset() is
	  called.  Fixed up style in a few places.

2008-02-16 17:01  castaglia

	* tests/: Makefile.in, sets.c, tests.c, tests.h:
	  Adding unit tests for the Sets API.

2008-02-16 16:59  castaglia

	* include/sets.h, src/sets.c:
	  Cleanup of the Sets API.  Removed the unused xaset_union() and
	  xaset_subtract() functions.  Clean up the style/formatting of the
	  sets.c file.	Make sure that the functions can properly handle
	  NULL/bad arguments.  Have them return -1 on error, not zero on
	  error.

2008-02-16 12:46  castaglia

	* Makefile.in:
	  If --enable-tests has not been used, the tests/Makefile will not
	  have been created.  Thus do not try to use this Makefile for the
	  'make clean' target unless --enable-tests has been used.

2008-02-15 21:36  castaglia

	* tests/str.c:
	  Fill in the unit test for the sstrncpy() function.

2008-02-15 21:18  castaglia

	* tests/: .cvsignore, array.c, env.c, str.c, tests.c:
	  Capture testsuite output in `tests.log' file.  Make sure this
	  file is ignored by CVS.  Use fixtures for the very common task of
	  allocating and destroying the pool used by tests.

2008-02-15 17:44  castaglia

	* doc/contrib/mod_quotatab.html:
	  Properly close the line item.

2008-02-15 17:37  castaglia

	* doc/contrib/mod_quotatab.html:
	  Mention that mod_quotatab's ScanOnLogin behavior only kicks in if
	  the quota limit for the user includes non-zero bytes-in or
	  files-in.

2008-02-15 07:41  castaglia

	* doc/howto/CreateHome.html:
	  Start a FAQ for CreateHome questions.

2008-02-14 09:07  castaglia

	* doc/howto/CreateHome.html:
	  List the uid and gid parameters of CreateHome, and talk about
	  them a little.

2008-02-14 07:15  castaglia

	* doc/howto/TLS.html:
	  Add TLS FAQ on removing cert key passphrases.

2008-02-13 18:23  castaglia

	* contrib/mod_sql.c:
	  Add logging of when mod_sql decides to use the SQLDefaultUID
	  and/or SQLDefaultGID because the uid/gid falls below the
	  SQLMinUserUID and/or SQLMinUserGID.

2008-02-13 09:23  castaglia

	* tests/.cvsignore:
	  Ignore generated files.

2008-02-13 09:14  castaglia

	* configure:
	  Updated configure.

2008-02-13 09:11  castaglia

	* config.h.in, configure.in:
	  Update the autoconf support to define a PR_USE_TESTS macro, when
	  testsuite support is enabled.  Some of the proftpd macro
	  definitions will change when PR_USE_TESTS is true, to better
	  support unit testing.

2008-02-13 09:10  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_cap.c:
	  Bug#2000 - mod_cap should not use bundled libcap.  Updated
	  autoconf to check for a system libcap, and to make proftpd NOT
	  build and use the bundled libcap if a system libcap is present.

2008-02-13 08:16  castaglia

	* tests/str.c:
	  Fill in the unit tests for more of the string manipulation
	  functions.

2008-02-13 08:16  castaglia

	* src/str.c:
	  Fix up the indentation/style in sreplace().  Guard against
	  null/bad arguments.

2008-02-12 23:49  castaglia

	* tests/: Makefile.in, env.c, tests.c, tests.h:
	  Add unit tests for the Env API.

2008-02-12 23:24  castaglia

	* include/pool.h, src/pool.c:
	  Guard against bad/null inputs in the Array API, and change the
	  signature to prevent negative counts and sizes (which would make
	  no sense).

2008-02-12 23:21  castaglia

	* tests/: Makefile.in, array.c, tests.c, tests.h:
	  Adding unit tests for the Array API.

2008-02-12 19:45  castaglia

	* src/str.c:
	  Guard against NULL arguments in sreplace().

2008-02-12 09:04  castaglia

	* configure:
	  Updated configure.

2008-02-12 08:58  castaglia

	* configure.in:
	  Try to describe the --enable-devel option such that packagers
	  won't use it.

2008-02-11 07:13  castaglia

	* configure:
	  Updated configure.

2008-02-10 20:46  castaglia

	* Make.rules.in, Makefile.in, config.h.in, configure.in:
	  Added support for the --enable-tests configure option, autoconf
	  checking for the `check' package, and support for a `make check'
	  option.

2008-02-10 20:44  castaglia

	* tests/: Makefile.in, pool.c, str.c, stubs.c, tests.c, tests.h:
	  Start of a testsuite for proftpd.  Uses the 'check' package; see

	    http://check.sourceforge.net/

	  To enable, compile proftpd using --enable-tests.  Then run `make
	  check' before installing.

	  Expect to see a lot of activity here, as proftpd gets the
	  testsuite its desperately needed for years.

2008-02-10 20:37  castaglia

	* Make.rules.in, include/conf.h, include/pool.h, include/str.h,
	  include/support.h, src/ftpdctl.c, src/pool.c, src/str.c,
	  src/support.c:
	  Moving some functions out of pool.c and support.c into a new
	  str.c object.  This is some necessary refactoring.  "Why is it
	  necessary?" you ask.	Good question.	Because I'm about to add
	  some testsuite support to proftpd, and writing those unit tests
	  required some basic, long-overdue code refactoring.

2008-02-10 12:14  castaglia

	* contrib/: mod_ban.c, mod_ctrls_admin.c:
	  Updated mod_ban and mod_ctrls_admin to use the re-named
	  scoreboard entry reading function.

2008-02-09 18:29  castaglia

	* include/compat.h, include/scoreboard.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_xfer.c, src/data.c, src/main.c,
	  src/scoreboard.c, utils/ftpcount.c, utils/ftptop.c,
	  utils/ftpwho.c, utils/scoreboard.c, utils/utils.h:
	  Added a new pr_scoreboard_entry_get() function, and renamed some
	  of the other scoreboard entry functions to match the naming
	  convention.  This also meant adding some compatibility macros in
	  compat.h for other modules, for now.

	  Also updated ftpwho and ftptop to properly display uploading,
	  downloading, and listing commands (including handling the MLST
	  and MLSD commands properly).

	  This work fell out of handling the case where dispatched commands
	  on the control channel, while a data transfer is occurring, can
	  change the scoreboard fields and thus cause erroneous/confusing
	  output in ftpwho and ftptop.

2008-02-09 17:17  castaglia

	* include/proctitle.h, src/data.c, src/proctitle.c: Be sure to
	  restore the previous process title after handling a command from
	  the control channel whilst handling a data transfer.

2008-01-30 09:26  castaglia

	* include/response.h, src/data.c, src/main.c, src/response.c:
	  Now that proftpd can handle commands on the control channel
	  whilst doing a data transfer, it needs to be more careful of the
	  memory pool used by the Response API.  Specifically, we don't
	  want to lose the memory pool from the data-transferring command
	  while handling the command from the the control channel.

	  Also, make sure that proftpd rejects any data transfer command
	  from the control channel if we're already doing a data transfer.
	  The amount of re-plumbing that would be needed to support kicking
	  off multiple simultaneous data transfers is quite a lot; FTP
	  clients already work around this by establishing multiple
	  simultaneous separate sessions.

2008-01-28 07:38  castaglia

	* contrib/mod_ifsession.c:
	  Use the session.pool, rather than main_server->pool, for merging
	  in configurations in mod_ifsession.  The session.pool is assigned
	  as part of setting up a connection; the latter memory pool is
	  not.

2008-01-24 17:53  castaglia

	* contrib/mod_wrap.c:
	  Quell some compiler warnings in mod_wrap.

2008-01-24 17:11  castaglia

	* src/proctitle.c:
	  Silence a compiler warning about unused variables when
	  PR_DEVEL_STACK_TRACE is defined.

2008-01-24 09:11  castaglia

	* src/netacl.c:
	  Fix issue when trying to stringify an IP mask ACL; pstrcat() was
	  being called with a number, not a string, as an argument.

2008-01-23 08:59  castaglia

	* src/netio.c:
	  Hmm.	Maybe some of the lingering close changes I made yesterday
	  weren't the best.  So, for now, pare it back to logging about any
	  read data received during a lingering close.

2008-01-22 20:26  castaglia

	* src/netio.c:
	  When performing a lingering close, the select() call actually
	  return because there was data to be read on the socket being
	  closed.  If that is the case, log the presence of that data using
	  Tracing, and continue the lingering.	(Otherwise, such data will
	  cause a premature lingering, which is not really what we want
	  either.)

2008-01-21 10:05  castaglia

	* src/main.c:
	  Remove some tabs; no functional change.

2008-01-21 09:50  castaglia

	* RELEASE_NOTES:
	  Mention the inclusion of IPv6 support in the default build.

2008-01-21 09:48  castaglia

	* README.IPv6:
	  Updated the IPv6 README.

2008-01-21 09:48  castaglia

	* configure:
	  Updated configure.

2008-01-21 09:44  castaglia

	* NEWS, configure.in, sample-configurations/basic.conf:
	  Bug#2577 - IPv6 support should be enabled by default.

2008-01-18 11:23  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#3034 - Rewritten command parameters need to be set in
	  multiple places.

2008-01-18 08:26  castaglia

	* contrib/mod_ctrls_admin.c:
	  Silence compiler warning about unused variable.

2008-01-18 08:17  castaglia

	* NEWS, include/netacl.h, src/class.c, src/netacl.c:
	  Bug#3033 - Class rules not honoring '!' negation character.

2008-01-17 17:01  castaglia

	* src/main.c:
	  Make sure that the handling of any <Limit LOGIN> sections happens
	  after the class of the session has been determined.  Otherwise,
	  any AllowClass/DenyClass directives within the <Limit> section
	  will not be handled properly.

2008-01-16 18:19  castaglia

	* modules/mod_facts.c:
	  Fix some issues with the formatting of entries for the MLST and
	  MLSD responses.  MLST entries require a leading space, as per RFC
	  -- but MLSD entries do not.  (Also add a missing newline
	  character in the entries.)

	  The data connection cleanup handler appeared not to be necessary;
	  the MLSD command handler appears to be closing the connection
	  itself, so no need for a cleanup POST_CMD/POST_CMD_ERR handler
	  for that.

2008-01-16 17:42  castaglia

	* NEWS, src/netaddr.c:
	  Bug#3031 - IPv4-mapped IPv6 connections not matched properly
	  against IPv4 glob ACLs.

2008-01-15 17:21  castaglia

	* modules/mod_facts.c:
	  The mod_facts module was not properly returning a type of "cdir"
	  if the listed path was indeed the current directory.

2008-01-15 16:38  castaglia

	* src/main.c:
	  Handle the case where the admin might define the tunable EINTR
	  retry interval to be less than a second, e.g.:

	    ./configure CFLAGS=-DPR_TUNABLE_EINTR_RETRY_INTERVAL=0.5 ...

	  In the code which handles that value, break the defined value
	  into usecs, and Do The Right Thing(tm).  The previous code simply
	  assumed that the defined value would be in seconds.  The issue
	  would only be noticed if compiler warnings were enabled and
	  scanned; for example:

	    main.c:1527: warning: unsigned int format, double arg (arg 3)

2008-01-15 10:27  castaglia

	* doc/howto/Logging.html:
	  Add more substance to the note about not logging to
	  world-writable directories (i.e. mention that proftpd will NOT do
	  this).

2008-01-15 09:56  castaglia

	* NEWS, include/modules.h, include/netio.h, src/data.c, src/main.c,
	  src/netio.c:
	  Bug#2999 - Data transfer not aborted when control connection is
	  closed.

	  This patch adds polling of the control connection while
	  transferring data on the data connection.  Commands sent on the
	  control connection will be dispatched (thus delaying the data
	  transfer); this allows handling of commands like ABOR during data
	  transfer.  If the control connection closes during the data
	  transfer, the data transfer is aborted.  Hopefully this will
	  address quite a few issues related to aborting data transfers.

2008-01-14 18:26  castaglia

	* contrib/mod_ratio.c:
	  Silence some compiler warnings about uninitialized variables.

2008-01-14 17:21  castaglia

	* src/data.c:
	  Found a few more places where text needs to be marked for
	  localisation.

2008-01-14 14:42  castaglia

	* doc/contrib/mod_tls.html:
	  Update TLSLog description to note requirement about parent
	  directory permissions.

2008-01-14 07:38  castaglia

	* include/ftp.h, modules/mod_facts.c:
	  Add definitions of the MLSD, MLST commands to ftp.h.

2008-01-12 15:01  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#3027 - Unmatched backreferences are not handled properly in
	  RewriteRules.

2008-01-12 14:59  castaglia

	* contrib/mod_rewrite.c:
	  Additional changes needed for the full fix for Bug #3026.

2008-01-11 19:28  castaglia

	* configure:
	  Updated configure.

2008-01-11 19:25  castaglia

	* configure.in:
	  Copy-n-paste error in configure.in added erroneous line break.

2008-01-11 19:00  castaglia

	* modules/mod_xfer.c:
	  The PRIO_MIN and PRIO_MAX macros may not be defined on some
	  platforms (e.g.  Solaris 9), so define suitable values in such
	  cases.

2008-01-11 18:20  castaglia

	* configure:
	  Updated configure.

2008-01-11 18:12  castaglia

	* configure.in:
	  Avoid an autoconf warning when checking for
	  <security/pam_modules.h> by including <security/pam_appl.h>, if
	  detected.  Without this, the configure script would throw an ugly
	  warning (e.g. on Solaris 9) about not being able to compile
	  <security/pam_modules.h>.

2008-01-11 13:55  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#3026 - RewriteCondition does not negate -d -f -s tests.

2008-01-11 09:12  castaglia

	* contrib/mod_sql.c:
	  Fix off-by-one error in mod_sql, which only cropped up in the
	  case where a) a custom SQLUserInfo query was used, and b) that
	  query neglected to provide a shell value.  This would lead to a
	  segfault.

2008-01-10 10:22  castaglia

	* contrib/mod_ifsession.c:
	  Add signal handling to mod_ifsession's while loops, as proper.
	  Some style cleanup.  Bump the mod_ifsession version number to
	  1.0; there have been few bugs reported with this module, showing
	  that it's stable.

2008-01-09 20:24  castaglia

	* contrib/mod_sql.c:
	  Remove the mod_sql code which used to support the (deprecated and
	  removed) SQLHomedirOnDemand feature.

2008-01-09 20:10  castaglia

	* configure:
	  Updated configure.

2008-01-09 20:08  castaglia

	* configure.in:
	  Remove $0 from the PR_BUILD_OPTS; the $ac_configure_args variable
	  already contains the string "configure", thus using $0 is
	  redundant.

2008-01-09 10:56  castaglia

	* modules/mod_log.c:
	  Copy the improvements in mod_sql for handling of certain
	  SQLNamedQuery variables (Bug#2889, Bug#3025) into mod_log, so
	  that ExtendedLogs benefit from the improvements as well.

2008-01-09 08:13  castaglia

	* contrib/mod_sql.c:
	  Expand %F in SQLNamedQuery, for DELE, using dir_best_path(),
	  rather than simply logging the name of the file as sent by the
	  client.  (Do the same for %F and RNTO as well.)

2008-01-09 08:06  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#3025 - Using %b in a SQLNamedQuery does not properly log the
	  file size for DELE.

2008-01-09 07:28  castaglia

	* contrib/mod_sql_odbc.c:
	  Removed "IMHO" from comment describing Oracle library bug; it's
	  been confirmed by Oracle.

2008-01-08 16:06  castaglia

	* contrib/mod_quotatab.c:
	  If the DELE command fails, make sure to still clear the cached
	  file size by registerting a POST_CMD_ERR handler.

	  And in the PRE_CMD handler for DELE, be sure to a) UTF8 decode
	  any path the client might be sending, and b) be sure to cache the
	  size of the symlink file, not the pointed-to file, if the file
	  being deleted is indeed a symlink.

2008-01-08 16:04  castaglia

	* modules/mod_core.c:
	  Explicit cast to avoid compiler warning.

2008-01-08 15:27  castaglia

	* modules/mod_core.c:
	  If multiple addresses are given using the DefaultAddress
	  directive, make sure the log message emitted reflects this,
	  otherwise it can be confusing (see Bug#3024).

2008-01-08 09:59  castaglia

	* contrib/mod_sql_odbc.c:
	  Work around an Oracle library bug in mod_sql_odbc, rather than in
	  the core proftpd code, by using square brackets instead of
	  parentheses in the process title.  More details on the issue can
	  be found as comments in the mod_sql_odbc code.

2008-01-08 09:58  castaglia

	* src/main.c:
	  Revert back to using parentheses in the process title; the Oracle
	  bug workaround can be done, I think, from mod_sql_odbc rather
	  than from the core code.

2008-01-08 09:37  castaglia

	* src/main.c:
	  Change the name to which the process title is set when the daemon
	  process is waiting to accept connections.  It's a hack, a
	  workaround of an Oracle library bug.	Yuck.

2008-01-07 20:23  castaglia

	* README.modules, RELEASE_NOTES:
	  Mention the new database backend modules: mod_sql_odbc and
	  mod_sql_sqlite.

2008-01-07 20:21  castaglia

	* doc/contrib/mod_sql_odbc.html:
	  Update the installation instructions for mod_sql_odbc; they are
	  slightly different, and no longer require the use of an extra
	  configure script.

2008-01-07 20:15  castaglia

	* contrib/mod_sql_sqlite.c:
	  Turns out there's no need to guard the definition and
	  registration of an event handler for the 'core.module-unload'
	  event; none of the other mod_sql backend modules have guards for
	  their module-unload event handlers.

2008-01-07 20:15  castaglia

	* NEWS, contrib/mod_sql_odbc.c, doc/contrib/mod_sql_odbc.html:
	  Add the mod_sql_odbc module to the contrib area.

2008-01-07 20:12  castaglia

	* configure:
	  Updated configure.

2008-01-07 20:07  castaglia

	* configure.in:
	  When checking for module-specific header files (and then creating
	  symlinks to those header files into the include/ area), test for
	  existence of a file, rather than requiring both that the path
	  exist AND be a regular file.	The difference is that a simple
	  existence check allows for the header files to themselves be
	  symlinks (for whatever reason).

2008-01-07 18:38  castaglia

	* contrib/mod_sql_sqlite.c, doc/contrib/mod_sql_sqlite.html:
	  Make sure that mod_sql_sqlite acts properly when built as a
	  shared module.

	  Update docs to mention the SQLBackend name provided by
	  mod_sql_sqlite.

2008-01-07 18:31  castaglia

	* NEWS, contrib/mod_sql_sqlite.c, doc/contrib/mod_sql_sqlite.html:
	  Add the mod_sql_sqlite module to the contrib area.

2008-01-07 18:21  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Typo.

2008-01-07 18:13  castaglia

	* configure:
	  Updated configure.

2008-01-07 18:09  castaglia

	* configure.in:
	  Decided I do not need the leading '$' character in the configure
	  invocation string, for I am capricious that way.

2008-01-07 18:07  castaglia

	* configure.in:
	  I don't know why, but on this Ubuntu box, the configure arguments
	  were not being properly written out to the generated config.h
	  file.  I had to poke around a bit with the autoconf variables,
	  but finally found a magic incantation to make it work.

	  Of course, this means it will probably stop working on some other
	  platform; will check once this change propagates to the anon CVS
	  server.

2008-01-07 07:35  castaglia

	* configure:
	  Update configure.

2008-01-06 17:56  castaglia

	* doc/contrib/mod_sql.html:
	  Make clearer the distinction between Unix domain sockets and TCP
	  sockets when discussing chroot() and its effects on database
	  connection re-opening.

	  Remove any mention of long-deprecated directives; they will only
	  serve to confuse people at this point in time.

2008-01-06 17:44  castaglia

	* NEWS, contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c:
	  Bug#3022 - Timed SQL connections don't reconnect to database.

2008-01-05 15:12  castaglia

	* README.modules:
	  Update README.modules to mention the new modules.

2008-01-05 13:37  castaglia

	* configure.in: Fix issue with configure script where the
	  command-line options were not being properly captured (before
	  being processed to find the system name), and thus not being
	  preserved for -V output.  Also remove any occurrence of "your" in
	  the configure output.

2008-01-05 13:21  castaglia

	* modules/mod_auth.c: There is no longer a need to stash the
	  current class name in the config tree using the "CURRENT-CLASS"
	  key; the current class information is available via the
	  session.class pointer.

2008-01-04 22:40  castaglia

	* contrib/mod_sql.c:
	  Remove the unused add_virtualbool() function.

2008-01-04 22:28  castaglia

	* Make.rules.in:
	  Yet another place where we need to teach proftpd not to build the
	  ident code as part of the core engine anymore.

2008-01-04 22:26  castaglia

	* include/conf.h, include/ident.h, src/ident.c: Delete the now
	  unused core ident lookup code; this functionality has been moved
	  to the mod_ident module, as per Bug#2453.

2008-01-04 22:23  castaglia

	* src/xferlog.c:
	  Forgot to check in the changes for this file, relating to
	  Bug#2453.  Without these, the build fails.

2008-01-04 20:55  castaglia

	* contrib/mod_ban.c, contrib/mod_wrap.c, modules/mod_auth.c: Fix a
	  few more places where text needs to be localised.

2008-01-04 17:29  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#3023 - Allow uploading to /dev/null.

2008-01-04 17:22  castaglia

	* configure:
	  Updated configure.

2008-01-04 17:22  castaglia

	* RELEASE_NOTES, doc/modules/mod_ident.html:
	  Update documentation for the new mod_ident module.

2008-01-04 17:12  castaglia

	* NEWS, configure.in, contrib/mod_sql.c,
	  contrib/mod_wrap2/mod_wrap2.c, include/proftpd.h,
	  modules/mod_ident.c, modules/mod_log.c, src/display.c,
	  src/main.c:
	  Bug#2453 - Separate RFC1413 code into mod_ident module.

2008-01-04 17:01  castaglia

	* src/table.c:
	  Calling pr_table_add_dup() and supplying a zero-length value data
	  size should Do The Right Thing(tm) by treating the value as a
	  string, and automatically calculating the string length, just as
	  pr_table_add() does.

2008-01-04 15:22  castaglia

	* configure:
	  Updated configure.  (Upgraded to autoconf-2.61 as well.)

2008-01-04 15:18  castaglia

	* Make.rules.in, config.h.in, configure.in, contrib/mod_tls.c,
	  include/conf.h, modules/mod_core.c, src/main.c:
	  Add an autoconf check for the sys/resource.h header file; this is
	  the file which, on BSD, defines the getpriority(2) and
	  setpriority(2) functions.  This should help the current proftpd
	  sources in CVS to compile properly on FreeBSD.

2008-01-04 14:23  castaglia

	* modules/mod_auth_unix.c:
	  Fix compiler warning about using the wrong datatype when calling
	  getgrouplist(2).

2008-01-04 14:22  castaglia

	* src/dirtree.c:
	  Use socklen_t, not int, for getsockopt(2) calls.

2008-01-02 20:23  castaglia

	* configure:
	  Updated configure.

2008-01-02 20:21  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_auth_unix.c:
	  Bug#1896 - Check AIX account status.

2008-01-02 19:49  castaglia

	* NEWS, contrib/mod_ratio.c:
	  Bug#1973 - mod_ratio uses the too-small int datatype for tracking
	  bytes.

2008-01-02 18:52  castaglia

	* NEWS, contrib/mod_ratio.c:
	  Bug#1771 - mod_ratio compile warnings.

	  Add better formatting, error checking, function definition, etc.

2008-01-02 18:13  castaglia

	* utils/: ftpcount.c, ftpwho.c, misc.c, scoreboard.c, utils.h:
	  Clean up some unused function prototypes in the utils code, and
	  consolidate all of the utils to use the same sstrncpy()
	  implementation.

2008-01-02 18:00  castaglia

	* modules/mod_facts.c:
	  Fix printf(3) format warning in mod_facts.

2008-01-02 17:39  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#3020 - Server replies to NLST with 450 at the wrong time.
	  Only open a data connection, when handling NLST, when we know
	  that we will most likely be sending some data.

2008-01-02 15:17  castaglia

	* RELEASE_NOTES:
	  Mention the new TransferPriority directive.

2008-01-02 15:16  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2731 - Add ability to set process priority for file
	  transfers.

2008-01-02 15:07  castaglia

	* modules/mod_xfer.c:
	  Need to add the name of the timer added, as per the changed Timer
	  API.

2008-01-02 14:47  castaglia

	* configure:
	  Updated configure.

2008-01-02 14:44  castaglia

	* configure.in:
	  Missing quotation mark broke the configure script.

2008-01-02 14:43  castaglia

	* contrib/mod_tls.c:
	  Pay attention to the TLSRandomSeed file, if configured, and log
	  whenever mod_tls does not have sufficient PRNG seed data (as per
	  the RAND_status() OpenSSL API).

2008-01-02 10:31  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2889 - Update SQLLog so that RNTO stores the path when using
	  the %F variable.

2008-01-02 09:58  castaglia

	* NEWS, modules/mod_auth.c, src/auth.c:
	  Bug#2997 - Uploading files with "~" causes harmless but annoying
	  log message.

2008-01-01 09:31  jwm

	* contrib/mod_ldap.c: happy new year

2008-01-01 09:29  jwm

	* contrib/mod_ldap.c: release v2.8.18: * Remove all local caching
	  code in favor of the recently added caching in   the ProFTPD Auth
	  layer.  * Silence some compiler warnings.

2007-12-31 14:47  castaglia

	* include/proftpd.h, modules/mod_auth.c, modules/mod_xfer.c,
	  src/data.c, src/main.c:
	  Move the TIMER_ macros into the PR_ namespace, for cleanliness.

2007-12-31 14:33  castaglia

	* NEWS, include/data.h, include/dirtree.h, modules/mod_core.c,
	  modules/mod_xfer.c, src/data.c, src/dirtree.c, src/main.c:
	  Bug#2741 - Apply TimeoutNoTransfer, TimeoutStalled, TimeoutIdle
	  to <Anonymous> section.

2007-12-31 13:45  castaglia

	* RELEASE_NOTES, doc/modules/mod_auth_pam.html:
	  Updated documentation.

2007-12-31 13:37  castaglia

	* NEWS, modules/mod_auth_pam.c:
	  Bug#3014 - Optionally set PAM_TTY item when using PAM.

2007-12-31 11:39  castaglia

	* doc/rfc/rfc2640.txt:
	  Add RFC2640 to the docs collection.

2007-12-31 11:34  castaglia

	* configure:
	  Updated configure.

2007-12-31 11:31  castaglia

	* modules/mod_facts.c:
	  No need to include the URLs to the RFC and Draft implemented by
	  this module; they are in the mod_facts module documentation now.

2007-12-31 11:30  castaglia

	* NEWS, config.h.in, configure.in, include/dirtree.h,
	  include/options.h, modules/mod_xfer.c, src/data.c, src/dirtree.c,
	  src/main.c:
	  Bug#2874 - Data transfer buffers should be allocated at startup,
	  not at compile time.

2007-12-31 11:19  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#3003 - Fallback to normal transmission in case of sendfile
	  EOVERFLOW error missing.

2007-12-31 11:13  castaglia

	* RELEASE_NOTES:
	  Updating the release notes.

2007-12-31 11:12  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2894 - Mark the AnonymousGroup directive as deprecated, to be
	  removed in a future release.

2007-12-31 10:56  castaglia

	* doc/modules/mod_facts.html:
	  Adding documentation (though brief) for the new mod_facts module.

2007-12-31 10:47  castaglia

	* doc/rfc/: draft-ietf-ftpext-mlst-15.txt,
	  draft-somers-ftp-mfxx-03.txt, rfc3659.txt:
	  Adding RFC3659 (which supercedes an Internet Draft on MLST), and
	  adding an Internet Draft defining the MFF and MFMT commands.

2007-12-31 10:33  castaglia

	* configure:
	  Updated configure.

2007-12-31 10:28  castaglia

	* NEWS, configure.in, modules/mod_facts.c:
	  Bug#3015 - Support for RFC3659.  The mod_facts module is now part
	  of the default proftpd build, providing the MLSD, MLST commands
	  from RFC3659 as well as the MFF and MFMT commands from an
	  Internet Draft.

2007-12-31 09:39  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#3019 - DisplayLogin in <Anonymous> section not displayed
	  properly.

2007-12-22 13:17  castaglia

	* modules/mod_lang.c: Pedantic correction of indentation, so that
	  it is consistent with the style of the rest of the file.

2007-12-22 11:26  castaglia

	* src/inet.c: Enable the SO_KEEPALIVE option on sockets used by
	  proftpd.  This will enable the TCP keepalive messages which help
	  to determine if the peer host (as opposed to the peer program)
	  have crashed.

2007-12-17 19:26  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#3013 - "TLSOptions AllowPerUser" not working as expected.

2007-12-17 18:15  castaglia

	* modules/mod_site.c:
	  Typo.

2007-12-17 18:09  castaglia

	* modules/mod_auth.c:
	  Make sure to localise strings sent via pr_response_send().

2007-12-15 13:47  castaglia

	* modules/mod_core.c: Update the comments for the MDTM handler,
	  noting that it is an official command as per RFC3659.  Also make
	  sure to initialize the entire buffer used to construct the
	  response timestamp.

2007-12-12 13:23  castaglia

	* NEWS, contrib/mod_site_misc.c, doc/contrib/mod_site_misc.html:
	  Bug#3012 - SITE UTIME should support YYYYMMDDhhmmss format.

2007-12-10 13:46  castaglia

	* contrib/mod_tls.c:
	  Bug#3011: "TLSRequired !data" configuration does not allow PROT
	  C.

	  If the TLSRequired directive policy does not explicitly require
	  SSL/TLS protection on the data channel, then allow any PROT C
	  requests from clients.

2007-11-15 19:16  castaglia

	* NEWS, src/data.c:
	  Bug#3001 - Incomplete downloads not logged properly in
	  TransferLog if sendfile is used.

2007-11-15 18:15  castaglia

	* contrib/mod_site_misc.c:
	  Thomas L. Shinnick rightly pointed out the bugs involved here,
	  when using <Limit> configurations for the SITE commands provided
	  by the mod_site_misc module.

2007-11-15 09:33  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#3006 - 'ScanOnLogin' QuotaOption may try to update a
	  nonexistent tally record.

2007-11-15 09:21  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#3004 - 'ScanOnLogin' QuotaOption does not honor
	  QuotaDirectoryTally directive.

2007-11-15 08:38  castaglia

	* src/main.c:
	  Use REG_RIP for 64-bit machines, rather than REG_EIP, if the
	  'stacktrace' --enable-devel configure option is used.

2007-11-15 07:15  castaglia

	* NEWS, src/data.c, src/netio.c:
	  Bug#3005 - OOB abort closes the control connection.

2007-10-26 09:02  castaglia

	* doc/modules/mod_lang.html:
	  Update the LangEngine docs to mention that that is the directive
	  which governs the appearance of "UTF8" in response to a FEAT
	  command -- not the UseUTF8 directive.

2007-10-24 22:18  castaglia

	* modules/Makefile.in: Be sure to clean up any .a archive files
	  around as well.

2007-10-22 11:09  castaglia

	* contrib/mod_ban.c, contrib/mod_dynmasq.c,
	  contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c,
	  contrib/mod_tls.c, include/timers.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_ctrls.c, modules/mod_xfer.c,
	  src/data.c, src/ident.c, src/main.c, src/timers.c:
	  Changed the pr_timer_add() function to take a 'desc' string, for
	  describing the timer being added.  This description is logged in
	  the trace logging of timers.

2007-10-18 09:22  castaglia

	* NEWS:
	  Typo.

2007-10-17 08:39  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2996 - Requirement for same OpenSSL header, library version
	  in mod_tls too restrictive.

2007-10-16 09:29  castaglia

	* RELEASE_NOTES:
	  Add more release notes fragments, to be filled in more detail
	  later.

2007-10-16 09:27  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2995 - The %f LogFormat variable expanded to same file for
	  RNFR and RNTO.

2007-10-15 23:12  castaglia

	* src/main.c:
	  Add some missing (albeit sometimes unnecessary) 'break'
	  statements.

2007-10-15 23:07  castaglia

	* src/main.c:
	  Remove crufty unused ElectricFence code.

2007-10-15 11:16  castaglia

	* configure:
	  Updated configure.

2007-10-15 11:11  castaglia

	* config.h.in, configure.in, src/main.c:
	  Enhance the proftpd -V output to include the directory where the
	  proftpd header files are installed, for DSO-enabled proftpds.
	  This will be used by the prxs tool (see Bug#2991).

2007-10-15 10:53  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#2992 - The %f LogFormat variable expanded improperly to "-"
	  for SITE CHMOD.

2007-10-15 10:30  castaglia

	* configure:
	  Updated configure.

2007-10-15 10:27  castaglia

	* NEWS, acconfig.h, config.h.in, configure.in:
	  Bug#2993 - Unable to compile 1.3.1 on Debian unstable/amd64.

2007-10-15 09:51  castaglia

	* NEWS, RELEASE_NOTES, include/modules.h, src/main.c,
	  src/modules.c:
	  Bug#2937 - Should list modules (with versions) for modules loaded
	  as DSOs.

2007-10-15 09:23  castaglia

	* doc/howto/DSO.html:
	  Update the DSO doc with better instructions, after having run
	  through them myself.

2007-10-14 15:59  castaglia

	* Make.rules.in, utils/ftpcount.c, utils/ftptop.c, utils/ftpwho.c,
	  utils/misc.c, utils/utils.h: Factor out the function used to scan
	  the config file for the ScoreboardFile directive from three of
	  the utilities into a single common location.	This is groundwork
	  for making it possible to scan the config file for other
	  directives as well.

2007-10-13 18:10  castaglia

	* contrib/mod_tls.c: Explicitly cast one of the tls_log() arguments
	  to an unsigned int, to silence compilers warning of mismatched
	  printf arguments.

2007-10-13 17:48  castaglia

	* src/auth.c: Refactor the code for creating and adding to the
	  idcache tables into separate functions.  This makes it easier to
	  add to those caches in the auth_getpwnam() and auth_getgrnam()
	  functions.

2007-10-12 22:16  castaglia

	* contrib/mod_tls.c: If the TLSCryptoDevice handling code is in the
	  session initialization code path, then the directive can once
	  again be vhost-specific.

2007-10-12 20:08  castaglia

	* configure:
	  Update configure.

2007-10-12 20:05  castaglia

	* config.h.in, configure.in, modules/mod_ctrls.c, src/ctrls.c:
	  More work towards Bug #2386.	In this, I found that Solaris 10
	  has a getpeerucred(3) function, which can be used for obtaining
	  kernel-enforced credentials for the peer on the other end of a
	  Unix domain socket.

2007-10-12 18:47  castaglia

	* contrib/mod_radius.c, include/auth.h, modules/mod_auth_pam.c,
	  src/auth.c:
	  More work towards Bug #2989.	Adds a new
	  pr_auth_add_auth_only_module() function, to be used by modules
	  that are auth-only "yes/no" style of modules (e.g. mod_auth_pam).
	  This presents a better solution for the issue.

2007-10-12 13:40  castaglia

	* NEWS, contrib/mod_radius.c, include/auth.h, src/auth.c:
	  Bug#2989 - Unable to authenticate users if RadiusUserInfo is not
	  configured.

2007-10-12 09:05  castaglia

	* contrib/mod_tls.c:
	  Style cleanup; no functional changes.

2007-10-12 09:01  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2990 - TLSCryptoDevice does not work.

2007-10-11 11:08  castaglia

	* doc/howto/ConfigurationTricks.html:
	  Add note about how different PassivePorts are not needed for
	  different proftpd instances.

2007-10-11 10:07  castaglia

	* RELEASE_NOTES:
	  Mention mod_unique_id in the release notes.

2007-10-11 10:06  castaglia

	* doc/contrib/mod_unique_id.html:
	  Update the mod_unique_id for its new home, and add an example of
	  using the UNIQUE_ID environment variable in a SQL table.

2007-10-11 10:02  castaglia

	* NEWS, contrib/mod_unique_id.c, doc/contrib/index.html,
	  doc/contrib/mod_unique_id.html:
	  Added the mod_unique_id contrib module.

2007-10-11 09:58  castaglia

	* contrib/mod_dynmasq.c:
	  Use the PR_ macro namespace.

2007-10-11 09:47  castaglia

	* contrib/mod_tls.c:
	  Had checking for <Limit> on PROT command in the wrong place.
	  Oops.

2007-10-11 09:45  castaglia

	* RELEASE_NOTES, doc/contrib/mod_tls.html:
	  Document the new TLSRequired policy configurations.

2007-10-11 09:39  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2968 - Ability to allow protection on control channel, but
	  reject protection on data channel.

2007-10-11 09:32  castaglia

	* RELEASE_NOTES:
	  Start of a new release notes doc for the 1.3.2 series.

2007-10-11 09:29  castaglia

	* doc/contrib/index.html:
	  The mod_ban module was not in the contrib index list.  Oops.

2007-10-11 09:28  castaglia

	* doc/contrib/mod_dynmasq.html:
	  Updating the mod_dynmasq docs for their new home.

2007-10-11 09:26  castaglia

	* NEWS, contrib/mod_dynmasq.c, doc/contrib/index.html,
	  doc/contrib/mod_dynmasq.html:
	  Adding the mod_dynmasq module to the source distribution.

2007-10-11 09:23  castaglia

	* contrib/: INSTALL.mod_wrap, README.mod_wrap:
	  Removing obsoleted documentation; this documentation is now
	  available in doc/contrib/mod_wrap.html.

2007-10-11 09:21  castaglia

	* doc/howto/: ConfigurationTricks.html, index.html:
	  Adding ConfigurationTricks doc to source distribution.

2007-10-10 19:37  castaglia

	* src/ctrls.c:
	  Use "credentials" consistently, not the lazy "creds", in log
	  messages.

2007-10-10 19:35  castaglia

	* configure:
	  Updating configure.

2007-10-10 19:31  castaglia

	* NEWS, config.h.in, configure.in, include/ctrls.h,
	  modules/mod_ctrls.c, src/ctrls.c:
	  Bug#2386 - Controls should use kernel-enforced credentials where
	  possible.

2007-10-10 10:13  castaglia

	* src/ctrls.c:
	  Revert back to using debug logging, rather than trace logging,
	  for the Unix socket detection tests.	Trace logging will not have
	  been initialized when Controls are initialized, so any trace
	  logging done in init_ctrls() was being ignored/lost.

2007-10-09 20:56  castaglia

	* contrib/mod_ban.c:
	  Turns out that testing for the _POSIX_SOURCE macro is a better
	  way of knowing which typecast to use for shmdt(2).

2007-10-09 20:44  castaglia

	* contrib/mod_ban.c:
	  Solaris' shmdt(2) wants a char *, not a const void * -- and the
	  compiler complains every time mod_ban is compiled.  Easy enough
	  to fix that with a proper cast, but just for Solaris.

2007-10-09 20:38  castaglia

	* contrib/mod_ban.c:
	  Seems that Solaris' getopt implementation prefers resetting the
	  optind variable to 1, rather than zero, in order to reset the
	  getopt(3) function.

2007-10-09 19:32  castaglia

	* modules/mod_auth_unix.c:
	  Remove the caching that mod_auth_unix did, for the ID-to-name
	  lookups.  This caching is now being handled at a higher layer, in
	  the Auth API.

2007-10-09 14:56  castaglia

	* src/netaddr.c:
	  Make sure that trace logging is done *before* the temporary pool
	  (from which one of the netaddr objects may have been allocated)
	  is freed.  Otherwise we might log garbage day, or trigger a
	  segfault.

2007-10-09 14:54  castaglia

	* src/netaddr.c:
	  Add trace logging for when comparing netaddrs yields no match,
	  for completeness.

2007-10-09 10:30  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2982 - Support limit on number of simultaneous file transfers
	  from one client.

2007-10-09 10:24  castaglia

	* NEWS, contrib/mod_wrap2_file.c:
	  Bug#2988 - mod_wrap2_file ignores "ALL" keyword.

2007-10-08 11:47  castaglia

	* NEWS, src/auth.c:
	  Bug#2986 - Authoritative PAM is not honored.

2007-10-08 11:22  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#2987 - Verbose ban information (i.e. 'ftpdctl ban info -v')
	  not working on FreeBSD.

2007-10-05 11:36  castaglia

	* doc/contrib/mod_ban.html:
	  Document the new ClientConnectRate BanOnEvent rule.

2007-10-05 11:33  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#2979 - Ability to ban clients which connect too often.

2007-10-05 10:33  castaglia

	* modules/mod_core.c:
	  Removing support for the deprecated DisplayFirstChdir directive;
	  it has been replaced with the DisplayChdir directive.

2007-10-05 10:25  castaglia

	* contrib/mod_sql.c:
	  Removing deprecated SQLHomedirOnDemand directive; it has been
	  superceded by the CreateHome directive.

2007-10-05 10:22  castaglia

	* modules/mod_xfer.c:
	  Removing support for the deprecated HiddenStor directive; it has
	  been superceded by the HiddenStores directive.

2007-10-05 10:13  castaglia

	* doc/contrib/mod_ctrls_admin.html:
	  Document the new 'dns clear cache' ftpdctl command.

2007-10-05 10:08  castaglia

	* NEWS, contrib/mod_ctrls_admin.c, include/netaddr.h,
	  src/ftpdctl.c, src/main.c, src/netaddr.c:
	  Bug#2925 - Add caching of IP address and DNS name lookups.

2007-10-05 10:04  castaglia

	* src/auth.c:
	  Forgot semicolon.

2007-10-05 10:00  castaglia

	* NEWS, include/auth.h, src/auth.c, src/table.c:
	  Bug#2984 - mod_auth_file uid2name() does not cache results
	  causing slow LIST response.

2007-10-05 09:57  castaglia

	* configure:
	  Updating configure.

2007-10-05 09:55  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_auth_unix.c:
	  Bug#2983 - Use getgrouplist(3) for group lookup, if available.

2007-10-05 09:48  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2969 - Allow APPE after REST.

2007-10-05 09:44  castaglia

	* doc/contrib/mod_tls.html:
	  Document the new EnableDiags TLSOption.

2007-10-05 09:42  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2978 - Support more verbose OpenSSL diagnostic logging.

2007-10-05 09:40  castaglia

	* include/version.h:
	  Start of a new release cycle (1.3.2).

2007-10-05 08:47  castaglia

	* NEWS:
	  Forgot to update NEWS with the release time.

2007-10-05 08:40  castaglia

	* ChangeLog:
	  Updating the ChangeLog.

2007-10-05 08:38  castaglia

	* doc/: Configuration.html, Configuration.pdf:
	  Updating the HTML page with the configuration directives.  Also
	  added a PDF copy of the same information (thanks Sven!).

2007-10-05 08:15  castaglia

	* contrib/dist/rpm/proftpd.spec, include/version.h:
	  Updating version for 1.3.1-stable.

2007-10-04 10:04  castaglia

	* contrib/mod_tls.c:
	  Log a PID as an explicit unsigned int, not an implicit int.
	  Quells a compiler warning about mismatched printf arguments.

2007-10-04 10:01  castaglia

	* src/env.c:
	  Quell a compiler warning about casting away the const qualifier,
	  on systems which support the putenv(3) function.

2007-10-04 09:24  castaglia

	* RELEASE_NOTES:
	  Updating the release notes, preparing for a release.

2007-10-03 19:25  castaglia

	* NEWS, contrib/dist/rpm/ftp.pamd, contrib/dist/rpm/proftpd.spec:
	  Bug#2795 - Improvements to RPM .spec file to build more of the
	  modules, plus better optional packaging organization.

2007-10-03 18:46  castaglia

	* include/table.h:
	  Correct comment in table.h.

2007-10-02 15:29  castaglia

	* doc/howto/TLS.html:
	  Add mention of RFC 2228, and URL, to TLS doc.

2007-10-01 14:41  castaglia

	* modules/mod_delay.c:
	  Update the trace message for the other location in mod_delay
	  where the DelayTable is mapped into memory.

2007-10-01 14:25  castaglia

	* modules/mod_delay.c:
	  Log the table size, and the table fd, when attempting to map a
	  DelayTable into memory.

2007-10-01 09:40  castaglia

	* doc/modules/mod_delay.html:
	  Change to using relative URLs, so that the documentation can be
	  used outside of a network connection.

2007-10-01 08:14  castaglia

	* doc/modules/mod_delay.html:
	  Add notes about mod_delay usage to the mod_delay documentation.

2007-09-30 16:38  castaglia

	* src/timers.c: Catch edge case where the timers list may be
	  empty/null.

2007-09-30 14:05  castaglia

	* NEWS, src/main.c: Bug#2981 - Command-line long options --ipv4 and
	  --ipv6 do not work.

2007-09-27 17:53  castaglia

	* modules/mod_ls.c:
	  If an FTP client aborted the data transfer during a directory
	  listing, then a 226 response would be sent *twice*, e.g.:

	    226 Transfer complete
	    226 Abort successful

	  would be seen, using the ftp(1) client.  The problem was that
	  mod_ls, when closing its data connection, did not check to see if
	  the transfer had been aborted.  Aborted transfers should cause
	  the data connection to be closed "quietly", i.e. no sending of
	  the "Transfer complete" message.

	  With this change, mod_ls now checks for an aborted transfer, and
	  will close the data connection "quietly" when appropriate, thus
	  eliminating the duplicate 226 responses.

2007-09-27 17:47  castaglia

	* modules/mod_ls.c:
	  Cut down on logging an error if errno indicates "success";
	  usually this happens when the client aborted the directory
	  listing.

2007-09-27 09:13  castaglia

	* modules/mod_xfer.c:
	  Add some tracing to aborted transfers.

2007-09-27 09:04  castaglia

	* src/trace.c:
	  Add the 'xfer' channel to the list of default trace channels.

2007-09-25 09:27  castaglia

	* contrib/mod_tls.c:
	  No need to report on system call errors of "Success".

2007-09-24 19:16  castaglia

	* contrib/mod_tls.c:
	  Allow handling of the PROT command after the CCC command has been
	  used.  One particular FTPS client (lftp) is known to send PROT
	  (again) after CCC.

2007-09-18 20:22  castaglia

	* doc/howto/TLS.html:
	  Minor formatting tweak.

2007-09-18 20:14  castaglia

	* doc/howto/TLS.html:
	  Add FAQ about a commonly-seen error in the TLSLog, and how using
	  the NoCertRequest TLSOption may help.

2007-09-17 10:36  castaglia

	* NEWS, modules/Makefile.in:
	  Bug#2974 - Install error if multiple modules, using their own
	  build script, are built as shared modules.

2007-09-14 09:08  castaglia

	* modules/mod_core.c:
	  When handling an EPSV command, close any existing data connection
	  first.  Related to Bug #2900.

2007-09-13 14:32  castaglia

	* contrib/mod_tls.c:
	  Just as we don't want to call EVP_cleanup(3) at session
	  initialization time if there are other OpenSSL-using modules
	  around, we don't want to unload the human-readable OpenSSL error
	  strings, either.

2007-09-13 08:25  castaglia

	* contrib/mod_tls.c:
	  Alter the conditions under which mod_tls calls EVP_cleanup(3).
	  Call the function when mod_tls is being unloaded, or when the
	  session is exiting, without reservation.  If however the FTP
	  session is being initialized, and mod_tls has been compiled but
	  not enabled (i.e. the TLSEngine is off or not present), *and* any
	  other known OpenSSL using modules (i.e.  mod_ldap and mod_sql)
	  are present, do NOT call EVP_cleanup().  Doing so might deprive
	  those other modules of OpenSSL functionality unnecessarily.

	  Patch suggested by Nigel Kukard a while ago.

2007-09-13 08:22  castaglia

	* contrib/mod_sql.c:
	  Adding some logging about various error cases when using OpenSSL
	  digests for authentication; these were contributed by Nigel
	  Kukard a while ago.

2007-09-13 07:57  castaglia

	* modules/mod_dso.c:
	  Fix compiler warning about redeclaring a variable if Controls
	  support is enabled.

2007-09-12 11:08  castaglia

	* doc/howto/Vhost.html:
	  Remove mention of the now-deprecated Bind directive.

2007-09-11 19:24  castaglia

	* contrib/mod_tls.c:
	  When initializing mod_tls, check the version of the OpenSSL
	  headers used against the version of the OpenSSL library used.
	  Refuse to load the module unless the versions match properly.
	  (This will help catch systems where mismatched versions of
	  headers and libraries are used inadvertently.)

2007-09-11 15:58  castaglia

	* modules/mod_dso.c:
	  Add trace logging of the succesful loading of modules/files.

2007-09-11 10:47  castaglia

	* modules/mod_core.c:
	  If the admin has specified "UseUTF8 off" in the proftpd.conf
	  file, be sure to remove the UTF8 listing from the FEAT output.
	  Otherwise, clients might be a little confused.

2007-09-10 17:52  castaglia

	* contrib/mod_sql.c:
	  Cast the off_t value of total_xfer_bytes properly, and quell
	  warnings from picky compilers.

2007-09-10 17:49  castaglia

	* src/log.c:
	  When writing to utmp/wtmp logs, we're really not concerned if we
	  fail to truncate the file as requested.

2007-09-10 17:47  castaglia

	* modules/mod_log.c:
	  If there was a problem writing to the ExtendedLog fd, be sure to
	  log it using proftpd's logging (and hope that that write()
	  succeeds).

2007-09-10 17:44  castaglia

	* modules/mod_delay.c:
	  Inform picky compilers that we will be ignoring the return value
	  from write(2).  This may not be the best behavior, but it is what
	  we are doing.

2007-09-10 17:42  castaglia

	* modules/mod_xfer.c:
	  Make sure to cast the restart_pos value (an off_t), in order to
	  satisfy picky compilers.

2007-09-10 15:55  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Fix syntax of RPM options for some modules.

2007-09-07 17:13  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Update the RPM spec file to include the mod_wrap2 modules,
	  mod_ban, mod_ctrls_admin, mod_site_misc, and the NLS capability.

2007-09-07 09:13  jwm

	* contrib/mod_ldap.c: Fix anonymous binds when
	  draft-ietf-ldapext-ldap-c-api-04 functions are used.

	  Submitted by: Quentin Garnier <cube@cubidou.net>

2007-09-04 14:14  castaglia

	* contrib/mod_tls.c:
	  The implementation of the fix for Bug #2686 missed a few places
	  where we need to lookup one of the TLSRequired settings.

2007-08-29 19:00  castaglia

	* modules/mod_xfer.c:
	  Clean up the code style in the xfer_stor() function.	Also add
	  logging of the case where an lseek() fails for some reason.

2007-08-29 10:47  castaglia

	* doc/howto/SQL.html:
	  Added SQL FAQ about shared library loader errors.

2007-08-24 08:07  castaglia

	* doc/howto/Debugging.html:
	  Mention using `proftpd -V' in the Debugging howto.

2007-08-22 07:50  castaglia

	* src/: fsio.c, netio.c:
	  Surround the invocation of function pointers with parentheses, to
	  help some (broken, IMHO) code introspection tools to be able to
	  read the code better.

2007-08-21 19:00  jwm

	* contrib/mod_ldap.c: missed version number

2007-08-21 15:36  castaglia

	* NEWS, lib/sstrncpy.c:
	  Bug#2964 - Building RPM fails because of *snprintf trying to be
	  redefined.

2007-08-17 14:41  jwm

	* contrib/mod_ldap.c: release 2.8.17

2007-08-09 15:56  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2963 - Use of -A option for LIST/NLST commands not cleared
	  for subsequent commands.

2007-08-09 15:16  castaglia

	* README.facl:
	  Remove extraneous whitespace.

2007-08-03 07:52  castaglia

	* NEWS, contrib/mod_wrap2_file.c, contrib/mod_wrap2_sql.c,
	  contrib/mod_wrap2/mod_wrap2.c, contrib/mod_wrap2/mod_wrap2.h.in:
	  Bug#2958 - mod_wrap2 does not handle multiple rules in access
	  files.

2007-07-31 15:08  castaglia

	* modules/mod_auth.c:
	  Coding style changes; no functional change.

2007-07-31 08:17  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#2955 - Undeclared identifier MAP_FAILED for mod_delay on AIX.

2007-07-24 15:09  castaglia

	* NEWS, src/dirtree.c:
	  Bug#2950 - Hostname with multiple IP addresses might cause
	  "ai_family not supported" error if IPv6 support enabled.

2007-07-19 11:12  castaglia

	* NEWS, src/proctitle.c:
	  Bug#2947 - SIGBUS on Mac OS X when dynamically loading shared
	  libs.  The solution is to set argv elements to the empty string,
	  rather than NULL, so that stupid libraries which grovel around in
	  argv without checking for NULL pointers don't crash.	Silly
	  libraries.

2007-07-18 09:41  castaglia

	* NEWS, modules/mod_facl.c:
	  Bug#2946 - Anonymous logins fail if the mod_facl module is
	  enabled.

2007-07-07 07:24  jwm

	* contrib/mod_ldap.c:	mod_ldap 2.8.17-20070707:
	      fix LDAPServer handling; config_rec argv arrays don't contain
	  the
	      directive name in index 0.

2007-07-06 15:40  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Correct misspellings.

2007-07-06 09:51  castaglia

	* NEWS, contrib/mod_sql_mysql.c:
	  Bug#2944 - mod_sql_mysql fails to compile due to missing
	  quotation.

2007-07-05 08:18  castaglia

	* NEWS, include/version.h:
	  Reset files for 1.3.1rc4.

2007-07-04 12:34  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2007-07-04 12:33  castaglia

	* contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for 1.3.1rc3 release.

2007-07-04 12:27  castaglia

	* RELEASE_NOTES:
	  Updating the release notes, getting ready for a release.

2007-07-04 11:08  castaglia

	* contrib/mod_wrap2_file.c:
	  A recent innocuous change to mod_wrap2_file turned out to be not
	  so innocuous; a static buffer was made non-static, and terror and
	  madness ensued.  To fix this (and avoid the distasteful static
	  buffer), mod_wrap2_file now makes duplicates of the parsed
	  buffers using the table pool (for just such purposes).  This
	  patch also cleans up the handling of the service and client lists
	  in the file.

2007-07-02 16:20  jwm

	* contrib/mod_ldap.c: 2.8.17-20070701:	 don't use a separate
	  directive (LDAPURL) to specify LDAP URLs; support   them in
	  LDAPServer instead - add ldap url support, via the LDAPURL
	  directive - add ldaps (ldap over ssl) support, via the LDAPUseSSL
	  directive and   ldaps:// scheme to LDAPURL - refine tls debugging
	  statement

2007-07-02 13:27  castaglia

	* RELEASE_NOTES:
	  Updating release notes.

2007-07-02 11:09  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  Make sure that mod_wrap2 honors the runtime UseIPv6 configuration
	  directive.

2007-06-28 10:41  castaglia

	* doc/howto/Timestamps.html:
	  Add a little more substance to the Timestamps howto, to remind
	  readers that they need to think for themselves a little, and read
	  their system docs.

2007-06-28 08:52  castaglia

	* modules/mod_auth.c:
	  The clearing of any cached directory config pointers, as a fix
	  for Bug #2939, was a little too aggressive.  We only need to
	  clear those pointers once, prior to calling setup_env().

2007-06-25 15:55  castaglia

	* contrib/mod_wrap2_file.c:
	  Attempt to log a more informative message if a too-long multiline
	  is found.  Also add support for allocating a larger buffer for
	  such lines at compile time.

2007-06-25 10:19  castaglia

	* NEWS, contrib/mod_ban.c:
	  Bug#2942 - BanLog directive does not accept "none" parameter.

2007-06-25 08:10  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2939 - Anonymous restrictions apply after a failed anonymous
	  login followed by a successful normal user login.

2007-06-18 19:04  castaglia

	* NEWS:
	  Fix typos.

2007-06-18 14:45  castaglia

	* doc/howto/Quotas.html:
	  Add a FAQ about group quota determination.

2007-06-12 11:57  castaglia

	* src/auth.c:
	  Yet another patch, working on the PAM-related fallout from Bug
	  #2922.

2007-06-12 10:41  castaglia

	* modules/mod_auth_file.c:
	  Remove some debug logging which inadvertently crept into
	  mod_auth_file.

2007-06-11 17:59  castaglia

	* contrib/mod_sql.c:
	  For symmetry, log a message in the SQLLogFile when a particular
	  SQLAuthType handler fails.  This complements the log message
	  already written when the handler indicates success.

2007-06-11 08:28  castaglia

	* NEWS, contrib/mod_wrap2/mod_wrap2.c:
	  Bug#2938 - mod_wrap2 does not honor WrapTables for <Anonymous>
	  logins.

2007-06-06 17:30  castaglia

	* contrib/: mod_ifsession.c, mod_rewrite.c:
	  Add reporting of the module version for the mod_ifsession and
	  mod_rewrite modules.

2007-06-04 16:53  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2935 - DELE command doesn't check file stat result before
	  logging.

2007-06-03 20:57  jwm

	* contrib/mod_ldap.c: 2.8.17-20070603: * Use non-deprecated LDAP
	  API functions if the LDAP SDK is new enough to   comply with
	  draft-ietf-ldapext-ldap-c-api-04.

2007-05-30 08:52  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2900 - Some kernels incorrectly reuse IPv6 ports for EPSV
	  command.  Rather than relying on untrusted kernel behavior (i.e.
	  assigning a random _unused_ port if port zero is used in a bind()
	  call), proftpd now explicitly chooses a random port (using the
	  same technique as used for PassivePorts) when handling the EPSV
	  command.  Note that the PassivePorts directive still works
	  properly for this port selection.

2007-05-25 17:26  castaglia

	* doc/howto/Quotas.html:
	  Add a FAQ about the QuotaExcludeFilter directive.

2007-05-24 10:17  castaglia

	* doc/howto/Tracing.html:
	  No need for the quotations -- they're a bit much.

2007-05-24 10:15  castaglia

	* RELEASE_NOTES, doc/howto/Tracing.html, doc/howto/index.html:
	  Adding tracing howto.

2007-05-24 08:47  castaglia

	* src/help.c:
	  The list of commands displayed for the HELP command was being
	  truncated.  Fix suggested by Richard Gray.

2007-05-23 08:25  castaglia

	* README.PAM:
	  Update the PAM readme with notes for Linux, per Bug#2907.

2007-05-22 14:21  castaglia

	* NEWS, utils/ftptop.1.in, utils/ftptop.c:
	  Bug#2923 - ftptop display flickers if delay is greater than 25
	  seconds.  Simply accept only delay values between zero and 15
	  seconds.

2007-05-22 14:01  castaglia

	* configure:
	  Updating configure.

2007-05-22 13:54  castaglia

	* NEWS, config.h.in, configure.in, src/fsio.c:
	  Bug#2934 - Function perm_copy_fd() not in older Linux libacl
	  versions.  Test for that function, and use acl_get_fd(3) and
	  acl_set_fd(3) if not present.

2007-05-22 10:45  castaglia

	* include/options.h:
	  Minor style nit.  No functional change.

2007-05-21 09:10  castaglia

	* src/inet.c:
	  Use tracing to log if there was a problem using getsockopt() to
	  get the IPV6_V6ONLY option.

2007-05-21 09:04  castaglia

	* NEWS, src/inet.c:
	  Bug#2932 - Syslog contains "error setting IPV6_V6ONLY: Protocol
	  not available".

2007-05-21 08:30  castaglia

	* doc/howto/Directory.html:
	  Include RNTO in the list of FTP commands affected by trailing
	  "/*" suffixes in <Directory> lines.

2007-05-21 08:19  castaglia

	* src/auth.c:
	  Additional patch for Bug#2922, to check for and use mod_auth_pam
	  for authentication, if present (and usable).

2007-05-21 07:39  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2890 - SystemLog permission errors on SIGHUP when mod_tls is
	  enabled.

2007-05-18 18:51  castaglia

	* modules/mod_facl.c:
	  Use the event handler defined for the "core.module-unload" event,
	  when compiled as a DSO module.

2007-05-16 08:25  castaglia

	* modules/mod_facl.c:
	  Declare the facl_module variable before using it.  This isn't a
	  problem for most builds, but for proftpds built with DSO support
	  and with a DSO mod_facl, it's a compilation error.

2007-05-15 10:35  castaglia

	* src/netio.c:
	  More work towards Bug#2920.  Hopefully this will be the last of
	  that particular issue.

2007-05-14 19:23  castaglia

	* modules/mod_xfer.c:
	  Short-circuit out of xfer_rate_throttle() early, if the transfer
	  has already been aborted.

2007-05-14 19:11  castaglia

	* doc/howto/Timestamps.html:
	  Adjust link to mod_site_misc docs to use the local copy.

2007-05-14 19:08  castaglia

	* doc/howto/Timestamps.html:
	  Start adding a FAQ section about timezones and timestamps.

2007-05-14 17:41  castaglia

	* modules/mod_xfer.c, src/data.c:
	  More checks of XFER_ABORTED, in pursuit of a solution for
	  Bug#2920.

2007-05-14 14:34  castaglia

	* modules/mod_xfer.c:
	  Attempt to handle aborted transfers that were in the midst of
	  being throttled.

2007-05-14 14:31  castaglia

	* modules/mod_xfer.c:
	  Do not block SIGURG (used to abort transfers) when handling
	  throttled transfers.

2007-05-10 15:47  castaglia

	* NEWS, modules/mod_xfer.c, src/data.c, src/inet.c, src/netio.c:
	  Bug#2920 - ABOR command not handled during data transfer.
	  Bug#2924 - DeleteAbortedStores doesn't work when the ABOR command
	  is used.

2007-05-10 14:55  castaglia

	* src/: inet.c, netio.c:
	  Add tracing of aborted connections.  Also corrects an issue where
	  a lingering close was happening *twice*, once per stream (input
	  and output), whereas only one lingering close (or lingering
	  abort) is needed.

	  Came out of investigating Bug#2920.

2007-05-10 14:49  castaglia

	* src/main.c:
	  Add tracing of received FTP commands.

2007-05-09 10:15  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Check to see if the SQL backend module (either MySQL or Postgres)
	  has been properly initialized, prior to attempting to use the
	  connection pool.  Failure to do so, in inadvertently
	  misconfigured proftpds, was leading to NULL pointer dereference
	  segfaults.

2007-05-07 08:35  castaglia

	* NEWS, modules/mod_auth.c, modules/mod_core.c, modules/mod_xfer.c:

	  Bug#2864 - DisplayLogin should work regardless of chroot.  This
	  feature includes DisplayQuit and DisplayTransferFiles as well.

	  To make this work, the configured Display files must use absolute
	  paths.  ProFTPD will then open an fd on those files, prior to
	  chroot(2), such that the fds, on paths outside of the chroot(),
	  are accessible once the process has been chrooted.

2007-05-04 10:10  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2921 - NLST fails if using POSIX ACLs.

2007-05-04 10:05  castaglia

	* modules/mod_facl.c:
	  Add more tracing of POSIX ACL functions, particularly on BSD and
	  Linux, in order to get better views of errors.  Fix some stupid
	  printf format thinkos.  Add function to convert between a mode_t,
	  used for access(2), to an acl_perm_t, used for acl_get_perm(2) on
	  BSD and Linux.

	  Hopefully this clears up some of the issues for Bug #2661.

2007-04-30 10:47  castaglia

	* modules/mod_facl.c:
	  Fix the initialization of mod_facl's configuration directives.
	  Oops.

2007-04-24 09:12  castaglia

	* src/netio.c:
	  Guard against using negative numbers when calling FD_SET.  The
	  FD_SET macro expects an fd, and if that fd is less than zero, the
	  results are unpredictable (crashes, silent failures, just works,
	  hangs, etc).

2007-04-18 08:31  castaglia

	* modules/mod_facl.c:
	  More tracing of POSIX ACLs on Solaris.  Looks like the
	  implementation changed on Solaris 10 for certain filesystems
	  (ZFS, NFSv4).

2007-04-17 14:33  castaglia

	* NEWS, include/auth.h, modules/mod_core.c, src/auth.c:
	  Bug#2922 - Auth API allows one auth module to authenticate user
	  data provided by a different auth module.

2007-04-17 14:03  castaglia

	* src/fsio.c:
	  Include the paths in the trace messages about which FS is used
	  for a given filesystem access call.  This will be useful in
	  developing and debugging FSIO modules, e.g. mod_facl.

2007-04-15 20:07  castaglia

	* sample-configurations/mod_sql.conf: Do not use 'Plaintext' as a
	  example SQLAuthTypes parameter, since too many people blindly
	  copy examples as-is, then blame you for the consequences.

2007-04-02 15:22  castaglia

	* src/inet.c:
	  Allow data transfers on low-numbered sockets to work on SCO Unix.

2007-04-02 09:32  castaglia

	* NEWS, modules/mod_ls.c, src/data.c:
	  Bug#2911 - NLST on a nonexistent path, followed by an NLST on an
	  existing file, causes segfault.

2007-03-27 20:49  castaglia

	* src/parser.c:
	  Cleanup pr_parser_cleanup().	First, return EPERM if the parser
	  stack is not in a state when it can be properly cleaned up.
	  Second, reset stack pointers to NULL even when there is no parser
	  pool provided.

2007-03-27 20:33  castaglia

	* src/parser.c:
	  Tag the temporary pool right after its creation, not after it has
	  been used.

2007-03-27 20:24  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2913 - TYPE command does not clear ASCII flag from LIST/NLST
	  commands.

2007-03-27 19:58  castaglia

	* contrib/mod_rewrite.c:
	  Updating coding style in a few places.  No functional change.

2007-03-26 17:35  castaglia

	* config.guess, config.sub, contrib/mod_load/config.guess,
	  contrib/mod_load/config.sub, lib/libltdl/config.guess:
	  Updated the config.guess and config.sub scripts, used by the
	  configure script for platform detection, to the versions shipped
	  with autoconf-2.61.

2007-03-21 20:54  castaglia

	* src/dirtree.c:
	  Formatting tweaks, no functional change.

2007-03-09 11:01  castaglia

	* sample-configurations/: anonymous.conf, basic.conf,
	  complex-virtual.conf, mod_sql.conf:
	  Update the example config files to use DisplayChdir, rather than
	  the deprecated DisplayFirstChdir directive.

2007-03-09 08:20  castaglia

	* modules/mod_core.c:
	  Bar configurations like:

	    PassivePorts 2222 2222

	  where the max and min port numbers are the same; it's a useless
	  configuration.

2007-03-06 10:30  castaglia

	* doc/contrib/mod_ban.html:
	  Add a FAQ about using a delay, rather than session termination,
	  for banned clients, and why that is a bad idea.

2007-03-06 09:55  castaglia

	* README.PAM:
	  Typo.

2007-03-01 08:07  castaglia

	* NEWS:
	  Fix typo noted by Sven.

2007-02-21 15:04  jwm

	* contrib/mod_ldap.c: - bump version - previous commit wrt LDAPAttr
	  fetching was submitted by TJ Saunders   <tj@castaglia.org>; got a
	  little fresh with my editor and missed the paste

2007-02-21 15:02  jwm

	* contrib/mod_ldap.c: fetch attribute redefinitions (LDAPAttr)
	  before using any attribute names, such as when generating the
	  default search filters

2007-02-21 14:58  jwm

	* contrib/mod_ldap.c: wordwrap, error message tweak

2007-02-20 14:01  castaglia

	* doc/contrib/: mod_quotatab_radius.html, mod_radius.html:
	  Fix the documentation for the RadiusQuotaInfo.

2007-02-20 09:07  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#2906 - RewriteCondition backreferences not properly
	  substituted.

2007-02-19 20:46  castaglia

	* NEWS, modules/mod_xfer.c: Bug#2902 - Stack read overrun in
	  mod_xfer on 32bit platform.  Use an explicit compiler cast to
	  ensure that the proper data type size is used in the arguments
	  for a variadic function.

2007-02-19 20:39  castaglia

	* contrib/mod_quotatab_radius.c: Need to include mod_quotatab.h,
	  which includes the ProFTPD headers, before doing the ProFTPD
	  version check.

2007-02-16 08:36  castaglia

	* doc/howto/TLS.html:
	  Add FAQ about SSL/TLS renegotiations, and how some FTPS clients
	  do not handle them well.

2007-02-15 11:02  castaglia

	* RELEASE_NOTES:
	  Note new doc for 1.3.1rc3 release, whenever that is.

2007-02-15 11:00  castaglia

	* doc/howto/: Timestamps.html, index.html:
	  Add a document talking about timestamps and chroots (see Bug
	  #2717, Bug #2896).

2007-02-15 09:56  castaglia

	* configure:
	  Updated configure.

2007-02-15 09:54  castaglia

	* lib/pr-syslog.c, src/support.c:
	  Use the feature macro to determine if tzname is actually present
	  to be guarded.

2007-02-15 09:52  castaglia

	* config.h.in, configure.in:
	  We're really only concerned with the tzname global variable, not
	  with the timezone and daylight global variables.  For now,
	  anyway.

2007-02-15 09:48  castaglia

	* config.h.in, configure.in:
	  Be defensive, and add autoconf detection for the tzname,
	  timezone, and daylight global variables.

2007-02-15 09:01  castaglia

	* contrib/mod_quotatab.c, contrib/mod_radius.c,
	  contrib/mod_rewrite.c, contrib/mod_sql.c, contrib/mod_tls.c,
	  contrib/mod_wrap2/mod_wrap2.c, modules/mod_ctrls.c,
	  src/support.c, src/trace.c:
	  Replace calls to localtime(3) throughout the proftpd code with
	  calls to pr_localtime().

2007-02-15 08:54  castaglia

	* src/log.c:
	  Missed a call to localtime(3) that needs to replaced with
	  pr_localtime().

2007-02-15 08:46  castaglia

	* modules/mod_log.c, src/ftpdctl.c, src/log.c:
	  Update mod_log and the core logging to use pr_localtime(), which
	  guards against localtime(3) resetting the tzname global variable
	  to an unexpected/wrong timezone (i.e. GMT) in a chrooted process.

2007-02-15 08:43  castaglia

	* src/support.c:
	  Update pr_localtime() so that it no longer requires a pool.  If a
	  pool is provided, it will be used, otherwise, the struct tm *
	  from localtime(3) will be returned as is.

2007-02-14 17:40  castaglia

	* src/support.c:
	  For functions which use pr_localtime() (and there should be more
	  of them), protect the tzname global variable values, to guard
	  against localtime(3) twiddling with the tzname variable.  This
	  twiddling causes weird values once the process is chrooted.

2007-02-14 17:31  castaglia

	* modules/mod_log.c:
	  Remove a section of code which relies on a macro, HAVE_GMTOFF,
	  which has not be defined by proftpd's configure script in who
	  knows how long.

	  This investigation was prompted by looking into Bug #2896.

2007-02-14 17:23  castaglia

	* src/: ftpdctl.c, log.c:
	  When writing to the log fd, check for errors, and specifically
	  try the write(2) call again if the call was interrupted.

2007-02-13 08:29  castaglia

	* modules/mod_xfer.c:
	  Forgot to log one of the reasons for not using sendfile():
	  UseSendfile set to 'off'.

2007-02-13 08:17  castaglia

	* modules/mod_xfer.c:
	  Add debug logging, level 10, showing when sendfile is used, or
	  isn't used.  And if sendfile isn't used, log the reason.

2007-02-13 08:00  castaglia

	* src/dirtree.c:
	  Fix typo.

2007-02-12 11:43  castaglia

	* src/dirtree.c:
	  A further optimization, suggested by Glenn Nielsen.  In the
	  find_best_dir() function, the paths being compared always come
	  from c->name, which means that it's actually OK to do direct
	  pointer comparison, rather than using strcmp().  Only time will
	  tell whether this is a too-clever optimization.

2007-02-12 11:28  castaglia

	* src/dirtree.c:
	  Make some minor optimizations to the dir_match_path() function.
	  Specifically, call strlen() only once when necessary (rather than
	  multiple times), and reorder checks such that strcmp() checks,
	  the most expensive of the checks, are done *last*, rather than
	  first.  The goal is to scan the directory path string as few
	  times as possible; given many such directory path strings, each
	  scan adds up.

2007-02-12 09:16  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#2897 - mod_quotatab subtracts size of deleted file from
	  bytes-transferred tally.

2007-02-08 11:11  castaglia

	* modules/mod_auth.c:
	  Add explanatory comment about checks for session.gids,
	  session.groups.

2007-02-08 09:24  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2893 - ProFTPD can use the wrong group data if the user name
	  changes.

2007-01-19 15:01  castaglia

	* NEWS, modules/mod_lang.c:
	  Bug#2883 - Problem with locale and SQL database queries.

2007-01-19 14:52  castaglia

	* locale/files.txt:
	  Update the list of source files in locale/files.txt.

2007-01-19 14:51  castaglia

	* locale/Makefile.in:
	  Fixed typos in command used to generate files.txt.

2007-01-19 13:59  castaglia

	* NEWS, include/modules.h, modules/mod_core.c, modules/mod_lang.c,
	  src/main.c, src/modules.c:
	  Bug#2881 - ProFTPD does not support OPTS UTF8 command when
	  --enable-nls is used.

2007-01-18 08:08  castaglia

	* src/trace.c:
	  The list of channel names should be named 'trace_channels', not
	  'trace_levels'.  What was I thinking?

2007-01-17 18:48  castaglia

	* NEWS, include/conf.h, include/lastlog.h, include/log.h:
	  Bug#2878 - Error compiling proftpd on Solaris 2.9 using
	  --with-lastlog.

2007-01-17 18:14  castaglia

	* contrib/mod_tls.c:
	  Update mod_tls to use the pr_env_* functions.  This also
	  eliminates a lot of #ifdef PR_USE_DEVEL checks in the mod_tls
	  code -- hooray!

2007-01-17 18:11  castaglia

	* include/env.h, src/env.c:
	  Add some documentation to the pr_env_* functions in the header.
	  Also beef up the code in env.c, such that it is prepared for
	  memory checker programs (e.g. Valgrind) in cases where
	  --enable-devel is used.  This makes it possible to clean up some
	  ugly #ifdef checks elsewhere (e.g.  mod_tls).

2007-01-17 11:50  castaglia

	* contrib/mod_sql.c:
	  Update mod_sql.c to use pr_env_get() rather than getenv(3).

2007-01-17 11:38  castaglia

	* configure:
	  Updated configure.

2007-01-17 11:32  castaglia

	* contrib/mod_tls.c, configure.in, src/main.c, src/proctitle.c:
	  The proper macro to use is PR_USE_DEVEL, not PR_DEVEL.

2007-01-17 10:48  castaglia

	* configure:
	  Updated configure.

2007-01-17 10:34  castaglia

	* configure.in:
	  Add printing of "checking for" messages when scanning for the
	  list of usual suspects of lastlog locations.

	  Related to Bug #2878.

2007-01-17 10:16  castaglia

	* configure:
	  Updated configure.

2007-01-17 10:12  castaglia

	* configure.in:
	  Fix the configure script to properly use the pr_lastlog_path
	  variable (it was using spaces around the '=' operator, which the
	  shell may not like).

	  Part of Bug #2878.

2007-01-17 09:44  castaglia

	* include/lastlog.h:
	  Error out of the build process if PR_LASTLOG_PATH has not been
	  defined in one form or another.  Include a slightly more
	  informative error message, so that it's better than some cryptic
	  compiler error later, when compiling lastlog.c.

	  Part of the fixes for Bug #2878.

2007-01-17 07:39  castaglia

	* NEWS, src/inet.c:
	  Bug#2877 - ServerType 'inetd' results in "getnameinfo error:
	  ai_family not supported" errors in log.

2007-01-16 21:33  castaglia

	* src/main.c: Remove the redundant is_standalone variable; it can
	  be replaced with checks against the global variable ServerType.

2007-01-16 11:58  castaglia

	* Makefile.in:
	  The -lsupp LIBS flag is now populated in the UTILS_LIBS variable,
	  so there is no need for the hardcoded flag as well.

2007-01-16 11:54  castaglia

	* src/main.c:
	  A bad patch mixed up the ordering of settings displayed via
	  show_settings().

2007-01-16 11:53  castaglia

	* src/env.c:
	  Fix bug in pr_env_set() on systems that have putenv(3) rather
	  than setenv(3).

2007-01-15 15:55  castaglia

	* configure: Updated configure.

2007-01-15 15:51  castaglia

	* configure.in: Do not scan a mod_foo.h.in file, assuming a
	  module-specific subdirectory, for build system hints.  A .in file
	  needs to be processed (as via the module's own configure script),
	  and should not be scanned until after that processing.

2007-01-15 15:49  castaglia

	* NEWS: Forgot to list Bug #2875 in the NEWS file.

2007-01-15 14:21  castaglia

	* modules/mod_ctrls.c: Use a socklen_t, rather than a size_t, for
	  accept(2).

2007-01-14 17:33  castaglia

	* configure: Updated configure.

2007-01-14 17:30  castaglia

	* configure.in: Bug#2875 - Malformed getopt checks cause
	  compilation errors in getopt.c.

2007-01-13 16:18  castaglia

	* configure: Updated configure.

2007-01-13 16:16  castaglia

	* configure.in: There's no need to define PR_USE_SENDFILE as zero.

2007-01-12 22:12  castaglia

	* include/proctitle.h, src/main.c, src/proctitle.c: Move the
	  proctitle functions into the 'pr_' namespace, just to be safe
	  (and consistent).

2007-01-12 20:29  castaglia

	* doc/contrib/mod_quotatab.html:
	  Specify what I mean when I say "groups" and "classes".

2007-01-12 20:16  castaglia

	* include/pidfile.h, src/main.c, src/pidfile.c:
	  Move the pidfile functions into the 'pr_' namespace, so that they
	  don't collide with functions of the same names on systems whose
	  <libutil.h> system header defines them (with conflicting
	  prototypes).	Yay portability.

2007-01-12 20:14  castaglia

	* locale/.cvsignore:
	  Another .cvsignore file for locale/.

2007-01-12 10:54  castaglia

	* contrib/: mod_load/.cvsignore, mod_wrap2/.cvsignore:
	  Add .cvsignore files for the mod_load/ and mod_wrap2/
	  directories.

2007-01-12 10:51  castaglia

	* include/version.h:
	  Back to CVS status, for the next RC release.

2007-01-12 09:52  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2007-01-12 09:49  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for 1.3.1rc2 release.

2007-01-12 09:44  castaglia

	* RELEASE_NOTES:
	  Adding release notes for 1.3.1rc2.

2007-01-12 09:33  castaglia

	* doc/howto/TLS.html:
	  Add a mod_tls FAQ about the "no shared cipher" error.

2007-01-11 23:01  castaglia

	* src/fsio.c: In the case of successful chown() and chmod() calls,
	  clear the statcache, as the cached data may now be stale.

2007-01-11 21:40  castaglia

	* src/: env.c, pidfile.c, proctitle.c: Correct the license wording
	  to mention The ProFTPD Project as primary copyright holder.

2007-01-11 17:30  castaglia

	* Make.rules.in, include/conf.h, include/env.h, include/support.h,
	  src/env.c, src/support.c:
	  Refactored the pr_env_* routines into their own source and header
	  files.

2007-01-11 15:43  castaglia

	* src/ftpdctl.c:
	  Since src/ftpdctl.c has its own copy of sstrcat() and sstrncpy()
	  (itself a bad sign), it needs to have the same paranoid checks
	  added to those functions as were added to the core
	  implementations.

2007-01-11 15:08  castaglia

	* contrib/mod_ctrls_admin.c:
	  When 'ftpdctl shutdown' is used, include the number of sessions
	  being summarily terminated (after a grace period) in the
	  ControlsLog message.

2007-01-11 13:36  castaglia

	* Make.rules.in, include/conf.h, include/pidfile.h, src/main.c,
	  src/pidfile.c:
	  More refactoring of src/main.c.  Now the PID file routines
	  (writing and removing the pidfile) are separated out.

2007-01-11 11:16  castaglia

	* Make.rules.in, include/conf.h, include/proctitle.h, src/main.c,
	  src/proctitle.c:
	  The src/main.c file is a bit hairy mess, and in desperate need of
	  refactoring.	This moves the process title functions into their
	  own proctitle.c file, with accompanying header.

2007-01-11 10:21  castaglia

	* contrib/mod_sql.c:
	  Another in the series of patches for Bug#2869, this one makes
	  sure that sites which use the 'fast' parameter in SQLAuthenticate
	  still operate properly.

2007-01-10 20:09  castaglia

	* src/pool.c:
	  The bytes_in_block_list() function should be #ifdef'd as well
	  behind PR_USE_DEVEL.

2007-01-10 20:05  castaglia

	* include/compat.h, include/dirtree.h, include/fsio.h,
	  include/pool.h, src/dirtree.c, src/fsio.c, src/main.c,
	  src/pool.c:
	  Move a lot of functions, either existing or new, behind
	  PR_USE_DEVEL checks, since a lot of functions are meant only for
	  the debugging purposes of proftpd developers.  (Hopefully this
	  will make the resulting proftpd executable slightly smaller.)
	  There will be more such debugging functions added; they are meant
	  as hooks utilized by a mod_debug module (again, only for
	  developer use).

	  The only user-visible change in this is that the SIGUSR2 signal,
	  when sent to a proftpd process, would cause that process to print
	  out a trace of its memory pool usage.  Now, a SIGUSR2 signal will
	  cause an event to be generated -- but the printing of the memory
	  pool usage is gone.  I may add that back at some point, if/when
	  there is a hue and cry raised.

2007-01-09 20:55  castaglia

	* configure:
	  Updated configure.

2007-01-09 19:45  castaglia

	* configure.in:
	  Thinko.

2007-01-09 19:19  castaglia

	* Make.rules.in, lib/Makefile.in:
	  Put the declarations for ar and ranlib in a place that's visible
	  to contrib modules (namely, Make.rules).  Update the lib/Makefile
	  to use that location; while I'm at it, remove the stale
	  dependency listings from lib/Makefile.

2007-01-09 19:17  castaglia

	* configure:
	  Updated configure.

2007-01-09 19:16  castaglia

	* contrib/mod_load/: config.guess, config.sub:
	  The configure script for the mod_load module requires the
	  config.sub and config.guess helper scripts.

2007-01-09 19:07  castaglia

	* configure.in:
	  Check for the existence of the file before trying to cat it.

2007-01-09 18:25  castaglia

	* configure:
	  Updated configure.

2007-01-09 18:19  castaglia

	* Make.rules.in, Makefile.in, configure.in:
	  Even more build system magic.  With this change, we add support
	  for a new "hint" tag: $Archive$.  This particular tag is *only*
	  honored in a very particular situation: the contrib module uses
	  its own subdirectory (e.g.  contrib/mod_foo/) *and* that module
	  is being built as a static module.  Contrib modules built as
	  shared modules fall into different linking rules.

	  The purpose of this $Archive$ tag is to allow the Makefile for
	  that mod_foo module to be built from multiple source files, which
	  would result in multiple object files.  All of those object files
	  would need to be part of the command to link the final `proftpd'
	  executable.  (A shared module would not need to present for this
	  link step.)

	  Rather than have multiple object files from contrib modules, it
	  involves less files (though at the cost of more complexity) to
	  use a single archive file, e.g. mod_foo.a.  The Makefile for the
	  contrib module, for its "static" target, will thus need to
	  assemble a mod_foo.a archive from the various .o files.  When
	  this happens, the contrib module uses the $Archive$ hint (similar
	  to the $Libraries$ hint) to let proftpd's module build system
	  know to expect that archive file.

2007-01-09 12:08  castaglia

	* configure:
	  Updating configure.

2007-01-09 12:04  castaglia

	* configure.in:
	  More build system magic.  This allows contrib module developers,
	  who use their own module-specific subdirectory e.g.
	  contrib/mod_foo/, to have the $Libraries$ tags in their
	  mod_foo.c, mod_foo.h, or mod_foo.h.in files be properly picked up
	  by proftpd's build system, just as happens for a module in
	  contrib/mod_foo.c.

2007-01-08 20:19  castaglia

	* configure:
	  Updating configure.

2007-01-08 20:16  castaglia

	* contrib/: mod_load/Makefile.in, mod_wrap2/Makefile.in:
	  There's no need to redefine LIBS, then use it in the link
	  command.  Just use SHARED_MODULE_LIBS directly, and don't
	  obfuscate the matter.

2007-01-08 20:14  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Add DSO and lastlog support to the RPM spec.

2007-01-08 20:09  castaglia

	* Make.rules.in, configure.in, contrib/mod_load/Makefile.in,
	  contrib/mod_wrap2/Makefile.in:
	  Tweak the build system so that any LIBS specified on the
	  command-line are picked up when building shared modules whose
	  sources are in their own directory (e.g. mod_load, mod_wrap2).
	  This may sound like a bit of an edge case, but I suspect that it
	  will become a necessity once proftpd supports having contrib
	  modules that come with their own message catalogs (i.e. NLS
	  support), and thus may need to be linked against the libintl
	  library (which provides gettext() support).

2007-01-08 19:31  castaglia

	* src/modules.c:
	  Set errno to EINVAL, when appropriate, in a few places.

2007-01-08 18:14  castaglia

	* src/parser.c:
	  Paranoid checking of signals within a while loop, in case the
	  loop should decide to continue endlessly.

2007-01-08 14:59  castaglia

	* src/auth.c:
	  Make sure that dispatch_auth() does not loop endlessly, if there
	  are never any ERROR or HANDLED returns from the auth module
	  handlers.  Simply keep track of the starting table, and watch the
	  iterator table; when the two match, we have looped through the
	  auth handlers, and will assume that the entire auth command has
	  been DECLINED.

2007-01-08 11:58  castaglia

	* modules/Makefile.in, src/Makefile.in, utils/Makefile.in:
	  Remove crufty, outdated, and unnecessary dependency listings.

2007-01-08 11:50  castaglia

	* configure:
	  Updated configure.

2007-01-08 11:47  castaglia

	* config.h.in, configure.in, include/support.h, lib/getopt.h:
	  I discovered last night that proftpd's build system was not doing
	  as advertised.  Specifically, it continued to build the bundled
	  getopt implementation regardless of whether the host system had
	  its own getopt support.  (I discovered this on Mac OS X, whose
	  linker is apparently more picky that the one on my Linux machine,
	  and which was complaining of multiply defined _opt* symbols.)

	  This changes updates the build system so that it does as stated:
	  if the host system does not have getopt support, we use our own.

2007-01-07 22:52  castaglia

	* src/auth.c: Yet another while loop in need of signal handling.

2007-01-07 12:48  castaglia

	* contrib/dist/rpm/proftpd.spec: Add controls support to the RPM
	  spec.

2007-01-07 12:42  castaglia

	* contrib/dist/rpm/proftpd.spec: Include the installed header files
	  in the RPM spec.

	  Add ability for specifying mod_quotatab_file.

2007-01-05 19:25  castaglia

	* doc/howto/TLS.html:
	  Add documentation mentioning the CCC command, and how to
	  configure mod_tls such that command is allowed for FTPS clients.

2007-01-05 16:07  castaglia

	* contrib/mod_tls.c:
	  If the TLSRequired setting is such that the control connection
	  *cannot* be unprotected, then be sure to deny any CCC commands.

2007-01-03 23:26  castaglia

	* src/support.c: Fix dir_abs_path() such that it does not tack on
	  redundant directories to the end of a relative path.

2007-01-03 14:57  castaglia

	* modules/mod_auth_file.c:
	  Remember to use PR_DECLINED rather than DECLINED.

2007-01-03 14:06  castaglia

	* modules/mod_auth_file.c:
	  Paranoid checking for a NULL return value from crypt(3), just in
	  case.  One user's debug logs suggest a segfault in
	  mod_auth_file's "check" routine.  Might end up be a red herring,
	  but this code is still useful.

2007-01-03 10:24  castaglia

	* contrib/mod_sql.c:
	  Make sure that "SQLAuthenticate groupset" works properly.

2007-01-02 18:54  castaglia

	* Make.rules.in:
	  Make sure the LIBS environment variable is honored when linking
	  the utility programs (i.e. ftptop, ftpwho).

2007-01-02 14:27  castaglia

	* doc/contrib/mod_quotatab_ldap.html:
	  Minor clarification.

2006-12-28 09:52  castaglia

	* NEWS, src/mkhome.c: Bug#2872 - CreateHome doesn't recreate
	  symlinks from skeleton properly.

2006-12-26 17:59  castaglia

	* src/parser.c: Fix a nasty bug where a <Directory> section which
	  contained a <Limit> section, but no other directives, e.g.:

	    <Directory /path>
	      <Limit LIST>
		DenyAll
	      </Limit>
	    </Directory>

	  was handled as being "empty", and thus ignored; the <Limit> would
	  not take effect.

2006-12-22 12:23  castaglia

	* contrib/mod_sql.c:
	  Paranoid NULL termination of vararg lists to the
	  sql_prepare_where() variadic function.

2006-12-22 11:52  castaglia

	* contrib/mod_sql.c:
	  Additional work toward Bug #2869, trying to preserve the
	  functionality added for Bug #2828.  (That is, make sure that
	  variables within the user-defined SQLGroupWhereClause are still
	  processed/resolved properly.)

2006-12-22 10:48  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2869 - mod_sql botches WHERE clauses.

2006-12-21 14:19  castaglia

	* contrib/mod_ratio.c, include/dirtree.h, src/dirtree.c:
	  It's past time to get rid of get_param_int().  This function was
	  very naught, and used the size of a void * for storing int
	  values.  The rest of the proftpd code has been cleansed of its
	  use (replaced with get_param_ptr()); mod_ratio was the last
	  holdout.

2006-12-21 10:01  castaglia

	* src/dirtree.c:
	  "Temporary" fix has been in place for years; remove the
	  misleading comment and commented-out code, since it's proven
	  itself to not be needed.

2006-12-20 10:39  castaglia

	* contrib/mod_load/install-sh, contrib/mod_wrap2/install-sh,
	  include/install-sh, locale/install-sh, modules/install-sh:
	  For platforms which don't have a standard `install' program, we
	  provide the install-sh script.  On those platforms, though, this
	  script needs to be in the same directories as the Makefiles which
	  use install, rather than just in the top-level directory.

2006-12-20 10:28  castaglia

	* modules/mod_core.c, src/trace.c:
	  Fixing two issues with this change:

	  1) Once set in a config file, the Trace/TraceLog directives were
	  always    being honored, even after those directives had been
	  removed from the    config file and proftpd restarted.

	  2) After a restart, the TraceLog fd would often be the same as
	  used for    connected clients, with the result that the clients
	  would receive    some of the trace log messages.  To address
	  this, we need to ensure    that the TraceLog fd is never one of
	  the major three (stdin, stdout,    or stderr).

2006-12-19 15:54  castaglia

	* src/: parser.c, trace.c:
	  Adding tracing of the parser, using the 'config' trace channel.

2006-12-19 13:36  castaglia

	* src/netaddr.c:
	  More tracing of netaddr functions, particularly in the reverse
	  DNS resolution code.

2006-12-18 19:26  castaglia

	* modules/mod_auth_pam.c:
	  Adding tracing of PAM.

2006-12-18 19:11  castaglia

	* src/netaddr.c:
	  Adding tracing of netaddr functions, using the trace channel name
	  'dns'.

2006-12-18 18:42  castaglia

	* modules/mod_facl.c, src/trace.c:
	  Adding tracing of POSIX ACLs.

2006-12-18 18:38  castaglia

	* contrib/mod_quotatab.c:
	  Make sure we remove mod_quotatab's custom FS, if registered, when
	  the module is being unloaded (as a shared module).

2006-12-18 17:29  castaglia

	* NEWS, src/event.c:
	  Bug#2857 - Failure to properly unregister event handlers leads to
	  segfault after restarts.

	  When scanning the lists of event handlers to find the handlers to
	  remove, we need to make sure we cover all lists, not
	  short-circuit out when we don't find any matching handlers on the
	  first list examined.

2006-12-18 15:09  castaglia

	* src/netacl.c:
	  Adding tracing of NetACLs.

2006-12-18 14:43  castaglia

	* src/ident.c:
	  Add tracing of ident lookups.

2006-12-18 12:04  castaglia

	* contrib/mod_ban.c:
	  Get in the habit of setting pools to NULL after destroying them.

	  Update to use newer Timer API.

2006-12-18 11:27  castaglia

	* modules/mod_core.c:
	  The handling of TraceLog was done well; after a restart, the
	  TraceLog might very well have opened on a low-numbered fd, one
	  assumed to be used for a connecting client.  This means that
	  after a restart, connecting clients might inadvertently receive
	  TraceLog messages on their client, as if they were FTP response
	  messages from proftpd.  Oops.

2006-12-18 10:33  castaglia

	* src/inet.c:
	  FreeBSD 7 on its way.

2006-12-18 10:09  castaglia

	* src/support.c:
	  The pickier compiler on my Linux laptop caught this thinko.

2006-12-17 15:37  castaglia

	* modules/mod_auth.c, modules/mod_log.c, src/parser.c: Use
	  pr_env_get() rather than getenv(3).

2006-12-17 15:28  castaglia

	* contrib/mod_wrap2/mod_wrap2.c, modules/mod_auth.c,
	  modules/mod_core.c: Update modules to use pr_env_set() rather
	  than setenv().  This is mostly for the benefit of systems which
	  may provide putenv() rather than setenv().

2006-12-17 15:27  castaglia

	* configure: Updated configure.

2006-12-17 15:24  castaglia

	* config.h.in, configure.in, include/support.h, src/support.c:
	  Rather than using setenv(3) and unsetenv(3) directly, provide
	  pr_env() wrappers.  This is particularly useful for Solaris
	  systems, which may not provide setenv(3) but *do* provide
	  putenv(3); pr_env_set() handles this transparently.  (If present,
	  setenv(3) is used, otherwise if putenv(3) is present, that is
	  used, otherwise ENOSYS.)

2006-12-15 17:13  castaglia

	* modules/mod_ctrls.c, src/ctrls.c:
	  Add tracing of controls.

2006-12-15 15:24  castaglia

	* modules/mod_dso.c:
	  Adding tracing of DSO modules.

2006-12-15 15:10  castaglia

	* doc/contrib/mod_ctrls_admin.html:
	  Documentation for the 'trace info' ftpctl action.

2006-12-15 15:07  castaglia

	* contrib/mod_ctrls_admin.c:
	  Fix the handling of a 'trace info' control action, so that the
	  list of trace channels and their respective log levels is
	  comprehensibly displayed.

2006-12-15 14:32  castaglia

	* src/fsio.c:
	  Add more handling of possible signals within while() loops.

2006-12-15 14:25  castaglia

	* modules/mod_ls.c:
	  Style changes, and some additional pr_signals_handle() calls in
	  while() loops.

2006-12-15 14:17  castaglia

	* src/event.c:
	  Use tracing for logging of events, rather than debug logging.

2006-12-15 11:49  castaglia

	* src/fsio.c:
	  Add tracing of the FSIO API, no longer using pr_log_debug().

2006-12-15 11:35  castaglia

	* src/auth.c:
	  Moving more logging out of the main error log, and into the
	  TraceLog.  A lot of this level detail isn't always necessary.

2006-12-15 11:32  castaglia

	* doc/contrib/mod_ctrls_admin.html:
	  Add docs for the 'trace' control action.

2006-12-15 11:05  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2849 - Error msg "Not owner" returned by "SIZE in ASCII mode"
	  is misleading.

2006-12-15 10:51  castaglia

	* src/utf8.c:
	  Make sure that utf8_init() and utf8_free() are present for use by
	  the linker, even if they return ENOSYS.

2006-12-15 10:46  castaglia

	* lib/getopt.c:
	  Make sure to reference the gettext() function only when NLS
	  support has been requested.  Otherwise, confusing linker errors
	  result.

2006-12-14 16:21  castaglia

	* src/timers.c:
	  Add timer tracing.

2006-12-14 16:06  castaglia

	* include/: compat.h, timers.h:
	  Compatibility macros should all be collected in compat.h.

2006-12-14 15:15  castaglia

	* locale/Makefile.in:
	  Using the --sort-by-file option when generating message catalogs.

2006-12-14 15:12  castaglia

	* modules/mod_delay.c:
	  Move a lot of the debug logging in mod_delay out of proftpd's
	  main error log into the TraceLog using tracing.

2006-12-14 14:18  castaglia

	* src/inet.c:
	  Use tracing to log when we have successfully bound an
	  address/port to a socket.

2006-12-14 08:37  castaglia

	* configure:
	  Updated configure.

2006-12-14 08:27  castaglia

	* Make.rules.in, Makefile.in, configure.in:
	  The utilities (ftptop, ftpwho, etc) also need to be linked with
	  libintl, if NLS support is enabled and libintl is present.

2006-12-13 14:54  castaglia

	* NEWS, contrib/mod_radius.c, doc/contrib/mod_radius.html:
	  Bug#2856 - Support for RADIUS NAS-Identifier attribute.

2006-12-13 10:19  castaglia

	* configure:
	  Updated configure.

2006-12-13 10:16  castaglia

	* configure.in:
	  Better checking for the required libintl support when
	  --enable-nls is selected.  If the requisite functions (e.g.
	  bindtextdomain(), gettext()) aren't found in libintl, then libc
	  is checked.  If not there either, then configure will abort.

2006-12-13 10:04  castaglia

	* modules/mod_ls.c:
	  Use strcoll(3) both when NLS is enabled and when strcoll(3) is
	  actually present.

2006-12-13 09:44  castaglia

	* modules/mod_lang.c:
	  Make sure that mod_lang can compile if libintl support is absent.

2006-12-13 09:40  castaglia

	* src/utf8.c:
	  Make sure utf8.c can compile and run, even when iconv support is
	  lacking.

2006-12-12 10:44  castaglia

	* doc/modules/mod_delay.html:
	  Typo.

2006-12-12 10:24  castaglia

	* include/version.h:
	  Back to CVS mode, for the next RC release.

2006-12-12 09:02  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2006-12-12 09:00  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for 1.3.1rc1 release.

2006-12-12 08:52  castaglia

	* RELEASE_NOTES:
	  Finish polishing up these release notes.

2006-12-12 08:34  castaglia

	* NEWS, src/ctrls.c:
	  Bug#2867 - Local authorized user buffer overflow in Controls
	  request handling.

2006-12-11 15:11  castaglia

	* src/var.c:
	  Handle the case where the retrieved variable is NULL.

2006-12-11 14:42  castaglia

	* modules/mod_ls.c:
	  More pedantic checks for NULL pointers.

2006-12-11 14:40  castaglia

	* contrib/mod_sql.c:
	  Use pr_log_debug() to handle cases where the database-specific
	  SQL backend module is chosen, as a SQLLogFile may not have been
	  opened at the time of backend selection.

2006-12-11 13:45  castaglia

	* doc/howto/TLS.html:
	  Add a mod_tls FAQ about linker errors related to libdl.

2006-12-11 12:06  castaglia

	* modules/mod_core.c:
	  More safety checking of possibly NULL return values.

2006-12-11 11:58  castaglia

	* modules/mod_core.c:
	  Move the check for a NULL path earlier, before we actually try to
	  use path by calling pr_fsio_fstat() on it.

2006-12-11 11:53  castaglia

	* src/log.c:
	  Handle a possible return value of NULL from localtime(3).

2006-12-11 11:05  castaglia

	* src/fsio.c:
	  Check for NULL return values from strdup(3).

2006-12-11 10:59  castaglia

	* src/dirtree.c:
	  Paranoid checks for NULL pointers, to ensure we don't
	  accidentally pass them to library functions (e.g. strstr(3) or
	  substr(3)).

2006-12-11 09:07  castaglia

	* src/trace.c:
	  Off by one.

2006-12-11 09:03  castaglia

	* src/fsio.c, modules/mod_ls.c, modules/mod_site.c:
	  Off by one.

2006-12-11 00:20  castaglia

	* lib/glibc-glob.c: Paranoid null pointer check.  Useful, since we
	  do use the ALTDIRFUNC flag.

2006-12-11 00:12  castaglia

	* src/fsio.c: Make sure pr_fs_dircat() doesn't attempt to operate
	  on NULL pointers.

2006-12-11 00:02  castaglia

	* modules/mod_log.c: More insurance that a possible NULL value
	  isn't passed to a library call, e.g. strftime(3).

2006-12-10 23:59  castaglia

	* modules/mod_log.c: Ensure we don't inadvertently attempt to
	  lookup a NULL environment variable name, or copy a NULL
	  environment variable value.

2006-12-10 23:55  castaglia

	* src/trace.c: Paranoid check for improper indices into the
	  allocated buffer.

2006-12-10 23:52  castaglia

	* src/support.c: Ensure that we don't accidentally go past the end
	  of the allocated array.

2006-12-10 23:40  castaglia

	* modules/mod_site.c: Another possible negative array index catch.

2006-12-10 23:37  castaglia

	* modules/mod_ls.c: Catch another possible situation where the
	  index used may inadvertently be -1.

2006-12-10 23:21  castaglia

	* src/fsio.c: Pedantically fix some edge cases where an index of -1
	  might accidentally be used.

2006-12-07 09:18  castaglia

	* src/main.c:
	  I think that the majority of sites don't use Classes so much, so
	  move the log message about connections from unknown classes up a
	  few debug log levels.

2006-12-06 16:10  castaglia

	* modules/mod_ls.c:
	  If sorting of directory listings by file name is requested, and
	  NLS support is enabled, be sure to use the locale-sensitive
	  strcoll(3) function for comparison, rather than strcmp(3).

2006-12-06 10:56  castaglia

	* configure:
	  Updated configure.

2006-12-06 10:55  castaglia

	* config.h.in, configure.in, include/conf.h:
	  NLS support requires checking for the locale.h header, and
	  including it if necessary.

2006-12-05 21:15  castaglia

	* doc/howto/DisplayFiles.html:
	  Renamed DisplayFirstChdir to DisplayChdir, and added mention of
	  the new DisplayFileTransfer.

2006-12-05 20:29  castaglia

	* include/display.h, src/display.c:
	  Add the ability to display files via filehandles, using
	  pr_display_fh(), in addition to displaying files via paths using
	  pr_display_file().

	  Why would we want pr_display_fh()?  Many sites, especially those
	  with lots of users, like DisplayLogin, but they also want to
	  chroot their users.  The handling of DisplayLogin could be
	  changed to open a filehandle prior to the chroot, if necessary,
	  and thus continue to display a file whilst allowing chrooted
	  users.  That's the goal, anyway.

2006-12-05 20:22  castaglia

	* src/display.c:
	  Use tracing, rather than debug level 10, for logging about
	  unresolved variables in Display files.

2006-12-05 20:21  castaglia

	* src/trace.c:
	  Add a default trace channel for logging from the Variables API
	  layer.

2006-12-05 20:05  castaglia

	* lib/sstrncpy.c:
	  Include the library support header libsupp.h, at least, since
	  that is what its purpose is.

2006-12-05 19:57  castaglia

	* lib/sstrncpy.c:
	  No need to pull in all of proftpd's configuration for sstrncpy().

2006-12-05 13:44  castaglia

	* contrib/mod_wrap2/mod_wrap2.c:
	  More updates to the current APIs.

2006-12-05 12:05  castaglia

	* contrib/: mod_ban.c, mod_wrap2/mod_wrap2.c:
	  Updating mod_ban, mod_wrap2 to use newer module API names and
	  macros.

2006-12-05 11:00  castaglia

	* include/log.h:
	  Use GCC pragmas for checking callers of pr_log_writefile() as
	  well.

2006-12-05 10:54  castaglia

	* modules/mod_ls.c:
	  Since the sendline() arguments were giving us such trouble, I
	  decided to make use of GCC's attribute pragma to warn about
	  printf-like functions, as is done in other places in the proftpd
	  code (e.g. the Response API header).

2006-12-05 09:47  castaglia

	* src/support.c:
	  Typo.

2006-12-05 09:44  castaglia

	* src/trace.c:
	  Add 'data' as one of the built-in trace channel names.

2006-12-04 17:07  castaglia

	* contrib/mod_tls.c:
	  Add some comments reminding me why I see gibberish in the debug
	  logging, depending on the mod_tls configuration.

2006-12-04 14:33  castaglia

	* contrib/mod_tls.c:
	  Rather than logging when CRLs have not been configured, log when
	  CRLs *are* present and being used.

2006-12-04 14:31  castaglia

	* contrib/mod_tls.c:
	  More paranoia.  Also some minor style changes.

2006-12-04 14:16  castaglia

	* contrib/mod_tls.c:
	  Increase the size of the buffer used to log X509 names from the
	  client cert to 1KB

	  If the client certificate cannot be verified because of an
	  invalid purpose, log the purposes of the client certificate.

2006-12-04 13:56  castaglia

	* contrib/mod_tls.c:
	  X509_STORE_CTX_init() did not return a value in versions of
	  OpenSSL prior to 0.9.7.

	  Also conditionalize the use of the tls_crypto_device variable as
	  per supporting OpenSSL version.

2006-12-04 11:31  castaglia

	* modules/mod_ls.c:
	  Correct one case where sendline() was being called with two
	  format parameters but only one argument (led to garbage being
	  sent to client in directory listing).  Also, make sure that all
	  callers of sendline() use NULL as the last argument, as is proper
	  for any variadic function.

2006-12-04 11:27  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2862 - NLST / returns a listing of the current directory.

2006-12-04 11:24  castaglia

	* modules/mod_ls.c:
	  More paranoia.  Make sure that the length returned from
	  readlink() isn't too large for our buffers.

2006-12-04 11:11  castaglia

	* src/support.c:
	  More defensive checking of input arguments, in pr_memscrub() and
	  sstrcat().

2006-12-04 10:25  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2863 - LIST of nonexistent file causes RST on data channel.
	  As with a similar issue with the NLST command, make sure the data
	  channel is opened before closing it, lest the client receive a
	  RST on their end of the data channel.

2006-12-04 10:07  castaglia

	* locale/Makefile.in:
	  Be more specific about the language support right now: en_US
	  instead of en.

2006-12-01 19:26  castaglia

	* RELEASE_NOTES:
	  More release notes.

2006-12-01 19:17  castaglia

	* doc/contrib/mod_sql.html:
	  Document the SQLOptions directive.

2006-12-01 18:24  castaglia

	* locale/Makefile.in:
	  Don't forget to include the step that actually compiles a .po
	  into a machine-readable .mo file.  The .mo file is what will be
	  installed into the locale/ directory, and used by the gettext
	  library.

2006-12-01 18:13  castaglia

	* modules/mod_lang.c:
	  Call bindtextdomain(3), using the configured LangPath (or
	  PR_LOCALE_DIR if not configured), in order to use the translated
	  message catalogs for proftpd there.

2006-12-01 17:08  castaglia

	* RELEASE_NOTES:
	  More documentation for the release notes.

2006-12-01 16:06  castaglia

	* configure:
	  Updating configure.

2006-12-01 15:46  castaglia

	* Make.rules.in, Makefile.in, configure.in:
	  Only try to build the locale-related message catalogs etc if the
	  --enable-nls configure option is used.

2006-12-01 15:42  castaglia

	* RELEASE_NOTES:
	  Start adding more substance to the release notes, in preparation
	  for a release.

2006-12-01 11:33  castaglia

	* locale/Makefile.in:
	  Make errors with creating translation catalogs non-fatal during
	  the build process.

2006-12-01 11:29  castaglia

	* locale/: Makefile.in, files.txt:
	  More work on the Makefile for generating the template message
	  catalog for translation.

2006-11-30 14:31  castaglia

	* contrib/ftpquota:
	  If opening a quota table for displaying records only, open the
	  table in read-only mode, rather than read-append mode.

2006-11-30 10:06  castaglia

	* src/ftpdctl.c:
	  Return a value, since the function definition requires it.

2006-11-29 09:08  castaglia

	* contrib/mod_radius.c:
	  Make sure that the attribute length for UIDs and GIDs does not
	  exceed the size of the variable used for holding the UID and GID.

2006-11-28 20:13  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2860 - Failure to check for data length in mod_tls could lead
	  to remote buffer overwriting.

	  (Also add entry for Bug #2858.)

2006-11-28 19:47  castaglia

	* contrib/mod_tls.c:
	  Prevent some possible NULL pointer dereferences by checking for
	  tls_pkey before using it.

	  Use root privileges when checking for the existence of
	  certificate and key files, during the config handler runs.  These
	  files are opened with root privs later in the module, so the
	  checks for the existence should also use root privs.

2006-11-28 19:29  castaglia

	* contrib/mod_radius.c:
	  Fix typo in declaration of static MD5_Update() function.

	  Also add paranoid check for size of attribute length, in RADIUS
	  packet, which exceeds the maximum size of the data type.

2006-11-28 11:37  jwm

	* src/support.c: use the version that was released as part of
	  1.3.0a; these integer "overflows" aren't exploitable, so there is
	  no prophylactic difference

2006-11-27 06:49  jwm

	* src/support.c: Bug #2858 - CVE-2006-5815: remote code execution
	  in ProFTPD

2006-11-17 15:42  jwm

	* src/main.c: - avoid passing a NULL pointer to pr_log_pri() as it
	  can causes segfaults	 on some platforms.  - make the 'invalid
	  CommandBufSize' error message a litle  clearer

2006-10-31 19:12  castaglia

	* lib/glibc-glob.c:
	  Catch a few cases, from code borrowed from glibc, where the
	  return value from realloc(3) was not being checked to see if it's
	  NULL before using it.

2006-10-31 19:11  castaglia

	* lib/sstrncpy.c, src/support.c, utils/misc.c:
	  Prevent sstrcat() and sstrncpy() from working on buffers if the
	  length argument is zero.

2006-10-31 18:36  castaglia

	* modules/mod_ls.c:
	  Since readlink(2) is not guaranteed to NUL-terminate the provided
	  buffer, we need to save space for the NUL terminator.

2006-10-31 18:35  castaglia

	* src/netio.c:
	  Require that callers of pr_netio_gets() and
	  pr_netio_telnet_gets() specify a non-zero buffer length.

2006-10-31 18:34  castaglia

	* lib/pwgrent.c, modules/mod_auth_file.c:
	  Check if realloc(3) returned NULL or not before blindly assigning
	  the return value to our pointer.

2006-10-31 14:49  castaglia

	* src/main.c:
	  Fix an issue where the cmd_buf_size variable, for the size of the
	  buffer used for reading FTP commands sent by clients, was not
	  being properly set to the size configured via the
	  CommandBufferSize directive.

2006-10-30 14:07  castaglia

	* doc/howto/SQL.html:
	  Add an example of using Python to generate an OpenSSL-encoded
	  mod_sql password string.

2006-10-25 09:05  castaglia

	* src/ftpdctl.c:
	  Add stub for pr_trace_msg(), so that linking ftpdctl does not
	  fail.

2006-10-24 10:47  castaglia

	* src/event.c:
	  Allocate a larger event pool (ref Bug #2850).

2006-10-24 09:43  castaglia

	* NEWS, src/pool.c:
	  Bug#2850 - Small event pool allocation on 64-bit machine leads to
	  segfault on startup.	See the bug report for an excellent
	  analysis of the issue.

2006-10-24 09:13  castaglia

	* src/: ctrls.c, event.c:
	  Add tracing of when control action handlers and event handlers
	  are registered and unregistered.

2006-10-23 19:40  castaglia

	* contrib/mod_ban.c:
	  Update the mod_ban module to be better behaved as a shared
	  module.

2006-10-23 19:32  castaglia

	* src/trace.c:
	  Be sure to set the trace table pointer to NULL after clearing the
	  pool from which it was allocated.

2006-10-23 18:34  castaglia

	* contrib/mod_wrap2/: mod_wrap2.c, mod_wrap2.h.in:
	  Updated mod_wrap2 to be better behaved when compiled as a shared
	  module.

2006-10-19 19:18  jwm

	* contrib/mod_ldap.c: add much more extensive debugging output

2006-10-13 08:00  castaglia

	* src/parser.c:
	  Treat a trailing LF as the eol marker; no need to treat any CRs
	  before that LF as eol markers.

2006-10-13 07:53  castaglia

	* src/parser.c:
	  Typo.

2006-10-13 07:51  castaglia

	* src/parser.c:
	  If we don't find an end-of-line marker (LF or CRLF) in the line
	  of configuration data read in, issue a warning, so that the admin
	  knows that any configuration error may be caused by data
	  truncation.

2006-10-11 09:47  castaglia

	* doc/modules/mod_facl.html:
	  Add small doc for the mod_facl module.

2006-10-11 09:37  castaglia

	* RELEASE_NOTES, modules/mod_facl.c:
	  Add a runtime directive for disabling mod_facl, if needed.

2006-10-05 11:01  castaglia

	* src/parser.c:
	  Style cleanup.  Sprinkle more "pr_signals_handle()" around within
	  the while loops, too.

2006-10-05 10:57  castaglia

	* NEWS, src/parser.c:
	  Bug#2848 - Unable to properly parse config files using
	  Windows-style line endings.

2006-10-04 14:06  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2847 - HiddenStores files not properly removed if data
	  transfer times out.

2006-09-29 09:41  castaglia

	* RELEASE_NOTES:
	  A little more about UseIPv6, and the command-line options.

2006-09-29 09:38  castaglia

	* NEWS, RELEASE_NOTES, include/netaddr.h, modules/mod_core.c,
	  src/bindings.c, src/dirtree.c, src/inet.c, src/main.c,
	  src/netacl.c, src/netaddr.c, src/proftpd.8.in:
	  Bug#2817 - Ability to disable IPv6 support at runtime.

2006-09-27 08:58  castaglia

	* src/main.c:
	  Reset the handler for the SIGUSR2 signal (and NOT the SIGHUP
	  signal) in the sig_evnt() handler.

2006-09-18 09:55  castaglia

	* configure:
	  Updating configure.

2006-09-18 09:48  castaglia

	* Makefile.in, configure.in, locale/Makefile.in:
	  Renaming the po/ directory to locale/.

2006-09-14 11:02  castaglia

	* NEWS, src/fsio.c:
	  Bug#2842 - Filesystem statcache is not correctly caching return
	  value of stat().

2006-09-13 13:49  castaglia

	* configure:
	  Updated configure.

2006-09-13 13:32  castaglia

	* Makefile.in, configure.in:
	  Start of a po/Makefile, for building .po files (localised message
	  strings).  Part of the support for RFC2640.

2006-09-11 19:38  castaglia

	* modules/mod_auth.c:
	  If MaxLoginAttempts is exceeded, mention in the generated log
	  message that we are refusing the client's connection.

2006-09-11 18:31  castaglia

	* doc/contrib/mod_sql.html:
	  Remove mention of SQLHomedirOnDemand, as that directive is now
	  deprecated.

2006-09-11 17:51  castaglia

	* NEWS, RELEASE_NOTES:
	  There is no 'SQLWhereClause' directive.  Oops.

2006-09-11 17:48  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql.c:
	  Bug#2828 - Support variables in SQL Where directives.

2006-09-11 14:58  castaglia

	* doc/contrib/mod_sql.html:
	  Document the syntax for refering to environment variables in a
	  SQLNamedQuery.

2006-09-11 14:52  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql.c:
	  Bug#2799 - SQLNamedQuery should support environment variables.

2006-09-11 11:42  castaglia

	* doc/contrib/mod_tls.html:
	  Add documentation for the new TLSPassPhraseProvider directive.

2006-09-11 11:33  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_tls.c:
	  Bug#2756 - Support for TLSPassPhraseProvider.

2006-09-11 11:30  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2839 - ProFTPD seems to re-read the file two times in RETR
	  command.

2006-09-11 10:58  castaglia

	* configure:
	  Updating configure.

2006-09-11 10:55  castaglia

	* Make.rules.in, Makefile.in, config.h.in, configure.in:
	  Add support for a PR_LOCALE_DIR, which will contain the localised
	  string files for different locales.  The location of this
	  directory can be set, at compile-time, using the --datadir
	  configure option.  Run-time configuration of this path is done
	  using mod_lang's LangPath directive.

2006-09-08 18:15  castaglia

	* README.modules, doc/modules/mod_lang.html:
	  Add mostly-done documentation for mod_lang module, and mention
	  mod_lang in the README.modules file.	(Note that I still need to
	  write README.NLS.)

2006-09-08 17:51  castaglia

	* configure:
	  Updated configure.

2006-09-08 17:48  castaglia

	* RELEASE_NOTES, configure.in, modules/mod_lang.c:
	  Adding mod_lang to the mix, for supporting the LANG command, as
	  part of implementing RFC2640.

2006-09-08 09:41  castaglia

	* NEWS, include/dirtree.h, modules/mod_core.c, src/dirtree.c,
	  src/main.c:
	  Bug#2837 - Defines improperly persist across daemon restarts.

2006-09-08 08:46  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#2835 - Group quotas not honored for supplemental group
	  membership.

2006-09-07 09:04  castaglia

	* RELEASE_NOTES:
	  Typo.

2006-09-06 20:06  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2825 - SSL/TLS CRLs are not working properly.

2006-09-06 19:56  castaglia

	* contrib/mod_ldap.c:
	  Check for PR_USE_OPENSSL as well as HAVE_OPENSSL.

2006-09-06 19:53  castaglia

	* contrib/mod_sql.c:
	  Correct the checks for HAVE_OPENSSL and PR_USE_OPENSSL in
	  mod_sql.

2006-09-06 19:49  castaglia

	* contrib/mod_radius.c:
	  Make the ordering of OpenSSL header inclusion a little more
	  legible.

2006-09-06 19:47  castaglia

	* contrib/mod_radius.c:
	  When proftpd has been compiled to use OpenSSL, then mod_radius
	  has no need for using it's own MD5 routines; we can use those
	  from OpenSSL instead.

2006-09-06 19:27  castaglia

	* configure:
	  Updated configure.

2006-09-06 19:24  castaglia

	* configure.in:
	  Make sure the USE_OPENSSL macro is set if mod_tls is compiled in.

2006-09-06 18:57  castaglia

	* src/bindings.c:
	  Style changes; no functional change.

2006-09-06 17:30  castaglia

	* NEWS:
	  Added mod_wrap2 to the distro.

2006-09-06 17:23  castaglia

	* README.modules, RELEASE_NOTES:
	  Updating docs for mention of mod_wrap2.  Needs to fleshed out
	  more.

2006-09-06 17:16  castaglia

	* contrib/mod_wrap2/configure:
	  Adding configure script for mod_wrap2.

2006-09-06 17:15  castaglia

	* contrib/: mod_wrap2_file.c, mod_wrap2_sql.c:
	  Adding mod_wrap2 submodules.

2006-09-06 16:11  castaglia

	* contrib/mod_wrap2/: Makefile.in, configure.in, mod_wrap2.c,
	  mod_wrap2.h.in:
	  Adding mod_wrap2 to the contrib/ area.

2006-09-06 16:09  castaglia

	* doc/contrib/: index.html, mod_wrap2.html, mod_wrap2_file.html,
	  mod_wrap2_sql.html:
	  Adding documentation for the mod_wrap2 et al modules.

2006-09-05 10:04  castaglia

	* include/modules.h:
	  The privdata structure is no longer used.

2006-08-23 19:29  castaglia

	* contrib/mod_sql.c:
	  When determining the backend database module to use, mod_sql was
	  using the *first* entry in the list of backends, rather than the
	  *last*, as is documented.  Updated the default behavior to
	  properly use the last entry (which is the first module loaded).

2006-08-17 09:05  castaglia

	* modules/mod_ls.c:
	  Fix an issue noticed by Daniel, using lftp (but not ftp).

	  When handling an NLST command on an empty directory, lftp would
	  receive a TCP RST from proftpd, rather than the more polite FIN.
	  This would happen because proftpd did a lazy opening of the data
	  connection; the connection would be opened only when proftpd,
	  when listing the contents of the directory, encountered something
	  to list.  In the case of an empty directory, there would be
	  nothing to list.  Hence no accept(2) for the client's data
	  connection, followed by a close() on the socket.  In the TCP
	  world, this is "slamming the connection closed", and hence the
	  client would receive a RST -- the initial handshake was not
	  completed before the socket was closed.

	  The fix, then, is trivial: always open the data connection,
	  regardless of whether there is data to be sent, when handling
	  NLST commands.  (For some reason this issue does not seem to
	  affect the LIST command.)

2006-08-16 11:42  jwm

	* contrib/mod_ldap.c: fix debug message format (thanks to mathew
	  <meta@pobox.com>)

2006-08-09 08:39  castaglia

	* modules/mod_core.c:
	  Prevent users from misconfiguring their servers silently by
	  trying to use something like "<Global ~user>" in their
	  proftpd.conf.

2006-08-04 08:11  castaglia

	* doc/howto/Limit.html:
	  Mention that <Limit LOGIN> does not work as expected within
	  <Directory> sections.

2006-08-02 11:26  castaglia

	* NEWS, include/options.h, src/main.c:
	  Bug#2774 - Idle clients exhibit excessive usage of system
	  resources.

2006-07-19 19:15  castaglia

	* RELEASE_NOTES, include/fsio.h, modules/mod_core.c, src/fsio.c:
	  At Michael's suggestion, add a UseUTF8 directive, for run-time
	  disabling of UTF8 support.

2006-06-29 10:16  castaglia

	* modules/mod_auth_unix.c:
	  Not only was the persistent_passwdf variable never used, neither
	  was the _get_ppw_info() function.

2006-06-29 09:00  castaglia

	* Makefile.in:
	  Fix missing dependency of the `install-proftpd' target on the
	  $(includedir).  There was a dependency already on
	  $(includedir)/proftpd -- but that is not the same.

2006-06-28 09:32  castaglia

	* NEWS, contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c:
	  Bug#2809 - conf.h should be included before mysql.h in
	  mod_sql_mysql.c.  The mod_sql_postgres module was similarly
	  updated.

2006-06-28 09:16  castaglia

	* NEWS, modules/mod_auth_file.c:
	  Bug#2803 - mod_auth_file does not properly iterate through
	  AuthUserFile entries.  The issue was one of rewinding an already
	  open AuthUserFile, every time pr_auth_getpwent() was called.	The
	  mod_auth_file module has been restructured to avoid this.  The
	  code was also substantially changed, removing a lot of dead code
	  for a never-used feature (that of supporting multiple
	  AuthUserFiles within the same server context).

2006-06-28 09:10  castaglia

	* NEWS, contrib/mod_wrap.c:
	  Bug#2810 - Incorrect use of assignment instead of comparison in
	  mod_wrap.

2006-06-22 13:37  castaglia

	* include/lastlog.h, src/lastlog.c:
	  Oops.  Forgot to check these files in.  They're for Bug #2610.

2006-06-22 12:48  jwm

	* modules/mod_ctrls.c: auth_(uid|gid)2name have become
	  pr_auth_(uid|gid)2name

2006-06-22 10:06  castaglia

	* include/proftpd.h, modules/mod_auth_unix.c:
	  There's absolutely no reason for the pwdfname and grpfname
	  variables to be visible outside of mod_auth_unix.

2006-06-22 09:08  castaglia

	* modules/mod_auth_pam.c:
	  Explicitly set the size of the authtable array.  Some picky
	  compilers apparently don't like array declarations without the
	  size.

2006-06-20 09:54  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2807 - mod_sql processes SQLLog QUIT query twice.

2006-06-16 14:35  castaglia

	* modules/mod_auth_unix.c:
	  Remove unused variables and simplify the code.

2006-06-16 10:02  castaglia

	* contrib/mod_ldap.c:
	  auth_check() -> pr_auth_check()

2006-06-16 10:00  castaglia

	* contrib/mod_sql.c:
	  Style cleanup.

2006-06-15 19:54  castaglia

	* configure:
	  Updating configure.

2006-06-15 19:52  castaglia

	* config.h.in, configure.in, src/main.c:
	  Enhance the -V output to include the CFLAGS, LDFLAGS, and LIBS
	  used to compile proftpd.

2006-06-15 19:33  castaglia

	* contrib/mod_site_misc.c:
	  Updating mod_site_misc to handle UTF8-encoded paths.

2006-06-15 19:30  castaglia

	* NEWS:
	  Bug#2626 - "ERROR" macro collision can cause compiler errors on
	  HP-UX.

2006-06-15 19:28  castaglia

	* Makefile.in:
	  There is no real need to clean the include/ directory.

2006-06-15 19:22  castaglia

	* contrib/: mod_ban.c, mod_ctrls_admin.c, mod_ifsession.c,
	  mod_ldap.c, mod_quotatab.c, mod_radius.c, mod_ratio.c,
	  mod_readme.c, mod_rewrite.c, mod_site_misc.c, mod_sql.c,
	  mod_sql_mysql.c, mod_sql_postgres.c, mod_tls.c, mod_wrap.c:
	  Updating contrib modules to use PR_ERROR, PR_DECLINED, and
	  PR_HANDLED.

2006-06-15 19:10  castaglia

	* contrib/mod_load/mod_load.c.in:
	  Update mod_load to use PR_HANDLED.

2006-06-15 18:40  castaglia

	* modules/: mod_auth.c, mod_auth_file.c, mod_auth_pam.c,
	  mod_auth_unix.c, mod_cap.c, mod_core.c, mod_ctrls.c, mod_delay.c,
	  mod_dso.c, mod_log.c, mod_ls.c, mod_site.c, mod_xfer.c:
	  Updating the core modules to use the PR_ERROR, PR_DECLINED, and
	  PR_HANDLED macros.  Also includes style changes.

2006-06-15 18:11  castaglia

	* doc/mod_sample.c:
	  Updating the sample module to reflect ongoing changes in the core
	  code.

2006-06-15 17:53  castaglia

	* modules/mod_auth.c:
	  To enable lastlog support requires --with-lastlog, not
	  --enable-lastlog.

2006-06-15 17:48  castaglia

	* include/: compat.h, dirtree.h, modules.h:
	  Start work towards Bug #2626 -- renaming the ERROR macro to
	  PR_ERROR, to avoid namespace collisions on some platforms (i.e.
	  HP-UX).  The DECLINED and HANDLED macros will be similarly
	  renamed to PR_DECLINED and PR_HANDLED.

	  Compatibility redefines in compat.h will help to make the
	  transition transparent (hopefully).

2006-06-15 17:37  castaglia

	* src/main.c:
	  Forgot a few places where SIG_REHASH was renamed to SIG_RESTART.

2006-06-15 17:36  castaglia

	* configure:
	  Updating configure.

2006-06-15 17:36  castaglia

	* include/proftpd.h, src/main.c:
	  Remove all the old "struct rehash" callback stuff.  Replace
	  mention of "rehash" with "restart".

2006-06-15 17:32  castaglia

	* include/proftpd.h, src/main.c:
	  Remove the deprecated pr_rehash_register_handler() function.
	  This functionality is now available via the Events API, by
	  registering an event handler for the 'core.restart' event.

2006-06-15 17:26  castaglia

	* Make.rules.in, Makefile.in, NEWS, configure.in,
	  include/Makefile.in:
	  Bug#2719 - ProFTPD should install its header files into the
	  installation location.

2006-06-15 16:00  castaglia

	* include/.cvsignore:
	  Preparing to ignore the generated Makefile that will appear in
	  the include/ directory.

2006-06-15 14:40  castaglia

	* configure:
	  Updating configure.

2006-06-15 13:53  castaglia

	* Make.rules.in, NEWS, RELEASE_NOTES, config.h.in, configure.in,
	  include/conf.h, modules/mod_auth.c, src/main.c:
	  Bug#2610 - Support for logging to /var/log/lastlog.

2006-06-14 19:39  castaglia

	* src/dirtree.c:
	  Change fixup_globals() so that it operates on the same list as
	  given to fixup_servers(), rather than using the global
	  server_list variable.  (There are cases where the two lists may
	  not be the same.)

2006-06-14 18:54  castaglia

	* include/pool.h, src/pool.c:
	  Removing unused pool code.

2006-06-14 18:43  castaglia

	* doc/contrib/mod_sql.html:
	  Update the mod_sql docs, as per changes for Bug #2784.

	  Remove the list of deprecated directives from ancient mod_sql
	  versions.

2006-06-14 18:39  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql_mysql.c:
	  Bug#2784 - Ability to specify MySQL Unix domain socket path.

2006-06-14 17:26  castaglia

	* NEWS, RELEASE_NOTES, modules/mod_core.c:
	  Bug#2798 - MDTM should return time in GMT.

2006-06-14 16:50  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql.c:
	  Bug#2687 - Support for more efficient group table schema.

2006-06-14 16:33  castaglia

	* src/utf8.c:
	  Use "C" as a default local character set, if we cannot determine
	  a better one.

2006-06-14 13:42  castaglia

	* src/utf8.c:
	  Add a trace message of the character set to which UTF8 conversion
	  will be done.

2006-06-14 10:53  castaglia

	* src/netaddr.c:
	  Use separate log messages for the cases where getaddrinfo(3) and
	  getnameinfo(3) fail, to differentiate between syscall errors (in
	  which case, log errno) and errors with the functions themselves
	  (in which case, use gai_strerror(3)).

2006-06-14 08:10  castaglia

	* NEWS, src/log.c:
	  Bug#2801 - Error compiling proftpd on NetBSD 3.0/sparc64.

2006-06-14 08:04  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2800 - free_proc_title() in developer build tries to free
	  strings from pool allocated by mod_tls.

2006-06-13 15:14  castaglia

	* src/scoreboard.c:
	  Silence compiler warning (seen under --enable-devel) by renaming
	  variable.

2006-06-12 09:03  castaglia

	* doc/howto/DSO.html:
	  Update example Makefile to include DESTDIR.

2006-06-12 09:02  castaglia

	* contrib/mod_load/Makefile.in:
	  Make sure that mod_load's Makefile honors DESTDIR.  Thanks to Ken
	  Zalewski for pointing this out.

2006-06-09 11:29  castaglia

	* doc/contrib/mod_sql.html:
	  Typo.

2006-06-09 10:24  castaglia

	* RELEASE_NOTES:
	  Updating the release notes.

2006-06-09 10:21  castaglia

	* NEWS, contrib/mod_ctrls_admin.c,
	  doc/contrib/mod_ctrls_admin.html, include/scoreboard.h,
	  modules/mod_core.c, src/scoreboard.c:
	  Bug#2797 - Add ability to force cleaning the scoreboard.

2006-06-08 12:07  castaglia

	* contrib/mod_sql.c:
	  Restore the use of CF_MERGEDOWN_MULTI on SQLLog and SQLShowInfo
	  directives, but only when mod_ifsession is in use.

2006-06-08 12:00  castaglia

	* contrib/mod_sql.c:
	  No need to set CF_MERGEDOWN_MULTI on directives that cannot
	  appear in <Directory> sections, i.e. SQLLog and SQLShowInfo.

2006-06-08 10:51  castaglia

	* configure:
	  Updating configure.

2006-06-08 10:46  castaglia

	* configure.in:
	  Fixing typo in handling of --enable-devel=profile configure
	  option.

2006-06-07 09:50  castaglia

	* doc/howto/Chroot.html:
	  Bug#1323: DefaultRoot not working with nfs root squash +
	  protected directories.

2006-05-26 10:29  castaglia

	* configure:
	  Updated configure script.

2006-05-26 10:20  castaglia

	* modules/mod_core.c:
	  Modify mod_core for handling UTF8 paths, and mark it for i18n.

2006-05-26 10:16  castaglia

	* config.h.in, configure.in, include/fsio.h, modules/mod_ls.c,
	  modules/mod_site.c, modules/mod_xfer.c, src/fsio.c, src/main.c,
	  src/netio.c:
	  Marking more places in the source for gettext manipulation.
	  Added two new functions, pr_fs_decode_path() and
	  pr_fs_encode_path(), which are to be used for encoding to/from
	  UTF8 paths (or not).

2006-05-26 09:59  castaglia

	* src/trace.c:
	  Change the format of the TraceLog: The log entry does not need to
	  contain any server information.

2006-05-26 09:43  castaglia

	* src/: table.c, trace.c:
	  Miscellaneous improvements: when dumping a table, include the
	  length of the value data (for cases where the value is binary,
	  and not a string); when adding new trace channels, make a copy of
	  the channel name, as callers will not do so.

2006-05-26 08:35  castaglia

	* NEWS:
	  Correct a bug number.

2006-05-25 10:01  castaglia

	* configure:
	  Updating configure.

2006-05-25 09:55  castaglia

	* Make.rules.in, config.h.in, configure.in, include/conf.h,
	  include/dirtree.h, include/utf8.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_ls.c, modules/mod_site.c,
	  modules/mod_xfer.c, src/data.c, src/help.c, src/main.c,
	  src/utf8.c:
	  Adding UTF8 encoding/decoding functions.  Marking source,
	  preparing it for use with the gettext utilities.

	  Part of the work towards making the proftpd source i18n/l10n
	  ready.

2006-05-25 08:46  castaglia

	* NEWS, RELEASE_NOTES, modules/mod_log.c:
	  Bug#2793 - LogFormat variable for the ProFTPD version.

2006-05-25 08:44  castaglia

	* NEWS, RELEASE_NOTES, modules/mod_xfer.c:
	  Bug#2775 - Support for DisplayFileTransfer directive.

2006-05-24 08:00  castaglia

	* README.AIX:
	  Updating the AIX notes with remarks about gcc versions which do
	  and don't work.

2006-05-23 10:34  castaglia

	* NEWS, modules/mod_ctrls.c:
	  Bug#2792 - ProFTPD fails after SIGHUP signal when Controls
	  support is enabled.

2006-05-23 10:31  castaglia

	* src/dirtree.c:
	  Style tweaks.  Add handling of signals to a while() loop.

2006-05-23 08:06  castaglia

	* configure:
	  Updating configure script.

2006-05-23 08:02  castaglia

	* configure.in:
	  Fix the --without-getopt configure option so that it properly
	  disables checks for the getopt_long() function and getopt.h
	  header, in addition to disabling the check for the getopt()
	  function.  This was causing a problem on FreeBSD 4.x builds,
	  where the libgnugetopt package would install a getopt.h header
	  (picked up by proftpd's configure script) that had a conflicting
	  redefinition of the getopt struct.

2006-05-23 07:55  castaglia

	* configure.in:
	  Fix a bug, reported via the Debian bug system, where the paths
	  from which proftpd would look for shared libraries included the
	  --sbindir.

	  The issue was the use of the -rpath linker parameter when linking
	  the proftpd executable; it is not necessary.	Loading of DSO
	  modules does not seem to be affected by the removal of that
	  -rpath.

2006-05-22 09:45  castaglia

	* contrib/mod_tls.c:
	  Remove Perlism causing a broken module.  Add handling of signals
	  to a potentially long-running while loop.

2006-05-22 09:22  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2514 - Trouble with mod_tls and DSA certificates.

2006-05-19 15:07  castaglia

	* src/netaddr.c:
	  Fix some compiler warnings, and a syntax error.

2006-05-18 09:45  castaglia

	* src/trace.c:
	  If pr_trace_msg() is used with an unknown channel, return -1
	  rather than 0.

2006-05-18 08:57  castaglia

	* configure:
	  Updating configure script.

2006-05-18 08:38  castaglia

	* Make.rules.in, NEWS, RELEASE_NOTES, config.h.in, configure.in,
	  contrib/mod_ctrls_admin.c, include/conf.h, include/trace.h,
	  modules/mod_core.c, src/main.c, src/response.c, src/trace.c:
	  Bug#2506 - Better ability to configure what sort of debug output
	  to generate.

2006-05-17 17:47  castaglia

	* src/netaddr.c:
	  Add debug logging (level 10) of when the ACL comparison functions
	  pr_netaddr_cmp() and pr_netaddr_ncmp() are comparing an IPv4
	  address against an IPv4-mapped IPv6 address.

2006-05-17 09:18  castaglia

	* NEWS, README.IPv6, src/netacl.c, src/netaddr.c:
	  More work on Bug#2785.

2006-05-15 14:42  castaglia

	* doc/howto/DSO.html:
	  Make note of some of the errors you might encounter when using
	  DSO modules.

2006-05-15 09:32  castaglia

	* NEWS, README.IPv6, README.PAM, README.classes, RELEASE_NOTES,
	  modules/mod_core.c, modules/mod_xfer.c, src/netacl.c:
	  Getting the restored SourceForge devel CVS repository back up to
	  sync, after their hard disk failure.	Joy.

2006-05-12 14:53  castaglia

	* README.AIX:
	  Document that some versions of AIX have sendfile issues.

2006-05-05 09:02  castaglia

	* contrib/mod_tls.c:
	  Clean up the handling of the TLSCACertificatePath directive.

2006-04-21 09:37  castaglia

	* contrib/mod_quotatab.c, doc/contrib/mod_quotatab.html:
	  Forgot to add the description for the QuotaExcludeFilter
	  directive.

2006-04-21 09:26  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_quotatab.c,
	  contrib/mod_quotatab.h, doc/contrib/mod_quotatab.html,
	  doc/howto/Quotas.html:
	  Bug#2713 - Ability to check a user's existing disk bytes/files
	  usage and update tally accordingly.

2006-04-20 19:04  castaglia

	* contrib/mod_sql.h:
	  Update the mod_sql header.  Crufty information, and a typo.

2006-04-20 19:02  castaglia

	* include/feat.h, src/feat.c:
	  Change the way the Feat API stores features to be listed, from
	  using an array to using a table.  This makes it much easier to
	  remove features from the listing.

2006-04-20 18:59  castaglia

	* contrib/: mod_sql.c, mod_sql_mysql.c, mod_sql_postgres.c:
	  Expanding the HOOKs exposed by mod_sql, so that other contrib
	  modules can run their own SQL statements without having to
	  reinvent mod_sql's wheel.

2006-04-20 18:32  castaglia

	* NEWS, README.modules, RELEASE_NOTES, contrib/mod_ban.c,
	  doc/contrib/mod_ban.html:
	  Adding mod_ban.

2006-04-20 10:03  castaglia

	* NEWS, src/inet.c:
	  Bug#2733 - IP TOS not being set for data transfers.

2006-04-19 19:28  castaglia

	* src/parser.c:
	  Adding some sanity checks for NULL pointers, pointed out by
	  Coverity scans.  Also remove some unnecessary conditionals.

2006-04-19 19:24  castaglia

	* modules/mod_log.c:
	  "writeable" -> "writable".

2006-04-19 19:06  castaglia

	* modules/mod_xfer.c:
	  Clean up dead code spotted by Coverity scan.

2006-04-19 19:01  castaglia

	* modules/mod_auth.c:
	  Clean up dead code spotted by Coverity scan.	Also fixup some
	  formatting issues while I'm here.

2006-04-19 18:46  castaglia

	* src/data.c, modules/mod_auth_file.c:
	  Clean up dead code spotted by Coverity scan.

2006-04-19 18:42  castaglia

	* contrib/mod_sql.c:
	  Clean up dead code spotted by Coverity.

2006-04-19 16:10  castaglia

	* RELEASE_NOTES, modules/mod_xfer.c:
	  Get the ball rolling on deprecating HiddenStor, in favor of
	  HiddenStores.

2006-04-19 09:59  castaglia

	* configure:
	  Updating configure.

2006-04-19 09:56  castaglia

	* NEWS, configure.in:
	  As part of addressing Bug #2447, make use of the --enable-openssl
	  autoconf option automatically add libssl and libcrypto to the
	  library list.

2006-04-19 09:44  castaglia

	* NEWS, config.h.in, configure.in, contrib/mod_ldap.c,
	  contrib/mod_sql.c, src/main.c:
	  Bug#2447 - HAVE_OPENSSL should be managed in configure.

2006-04-17 15:48  castaglia

	* NEWS, RELEASE_NOTES, modules/mod_log.c:
	  Bug#2651 - LogFormat should support variable for logging the
	  response message.

2006-04-17 15:38  castaglia

	* doc/contrib/: mod_quotatab.html, mod_quotatab_radius.html:
	  Update mod_quotatab docs with links to RADIUS submodule.

2006-04-17 15:35  castaglia

	* NEWS, README.modules, RELEASE_NOTES,
	  contrib/mod_quotatab_radius.c, contrib/mod_radius.c,
	  doc/contrib/mod_quotatab_radius.html:
	  Bug#2627 - Support for RADIUS quotatab module.

2006-04-17 15:23  castaglia

	* NEWS, contrib/mod_sql.c:
	  Mention in NEWS that CreateHome should be used instead of
	  SQLHomedirOnDemand.  Mark the SQLHomedirOnDemand config handler
	  as deprecated in the mod_sql source.

2006-04-17 15:22  castaglia

	* modules/mod_core.c:
	  As per the warnings in the 1.3.0 release cycle, the Bind
	  directive was deprecated, and is now removed.

2006-04-17 15:20  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql.c:
	  Bug#2628 - SQLHomedirOnDemand should be deprecated.

2006-04-17 14:01  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_tls.c, doc/contrib/mod_tls.html:

	  Bug#2686 - Allow CCC command but still require SSL/TLS protection
	  during authentication.

2006-04-17 11:52  castaglia

	* NEWS, RELEASE_NOTES, modules/mod_auth.c,
	  doc/howto/CreateHome.html, doc/howto/index.html, src/mkhome.c:
	  Bug#2611 - CreateHome should allow non-root-owned parent
	  directories.

2006-04-17 11:39  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_tls.c, doc/contrib/mod_tls.html:

	  Bug#2599 - Support for using OpenSSL "engines".

2006-04-17 10:53  castaglia

	* configure:
	  Updating configure.

2006-04-17 10:04  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_auth_pam.c:
	  Bug#2769 - mod_auth_pam needs a patch to allow pam_group to work.

2006-04-17 09:48  castaglia

	* NEWS, doc/modules/mod_delay.html, modules/mod_delay.c:
	  Bug#2664 - Add 'delay info' ftpdctl action for showing DelayTable
	  values.

2006-04-17 09:20  castaglia

	* NEWS, src/inet.c:
	  Bug#2777 - ProFTPD does handle data sockets properly on FreeBSD
	  6.

2006-04-16 16:18  castaglia

	* modules/mod_xfer.c:
	  At some point in the future, proftpd will support the MODE Z
	  command.  When that happens, mod_xfer will need to not use
	  sendfile() if MODE Z has been requested.

2006-04-16 16:08  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2740 - TYPE command not allowed before USER/PASS, causes
	  problem for `ftp -n'.

2006-04-16 16:01  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2654 - FEAT command should be subject to <Limit>.

2006-04-16 15:51  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2753 - CCC not closing SSL/TLS connection correctly.

2006-04-16 15:45  castaglia

	* NEWS, include/dirtree.h, include/table.h, src/dirtree.c,
	  src/table.c:
	  Bug#2535 - Compare directives using integer comparisons when
	  possible to improve performance.

2006-04-16 15:41  castaglia

	* NEWS, modules/mod_auth_unix.c:
	  Bug#2721 - mod_auth_unix does not behave properly when first in
	  AuthOrder.

2006-04-16 15:39  castaglia

	* NEWS, modules/mod_auth_file.c, modules/mod_auth_unix.c:
	  Bug#2714 - mod_auth_file munges AuthUserFile, AuthGroupFile
	  records.

2006-04-16 15:35  castaglia

	* doc/howto/Debugging.html:
	  Adding mention of the stack trace logging to the Debugging howto.

2006-04-16 15:25  castaglia

	* configure:
	  Updating configure.

2006-04-16 15:23  castaglia

	* NEWS, RELEASE_NOTES, config.h.in, configure.in,
	  include/options.h, src/main.c:
	  Bug#2766 - Support for automatic stack trace if SIGSEGV is
	  received.

2006-04-16 15:12  castaglia

	* include/version.h:
	  Now that 1.3.0 is out, we can start on 1.3.1.

2006-04-16 14:39  castaglia

	* ChangeLog:
	  Updating the ChangeLog.

2006-04-16 14:36  castaglia

	* contrib/dist/rpm/proftpd.spec, include/version.h, NEWS:
	  Preparing for release of 1.3.0-final.

2006-04-10 09:41  castaglia

	* lib/glibc-mkstemp.c:
	  Fix typo in mkstemp() implementation, noted by Charles Seeger.

2006-04-07 18:20  castaglia

	* doc/howto/ConfigFile.html:
	  Update the description of the User/Group directives to mention
	  effective versus real privs, and how some programs report on real
	  instead of effective privs.

2006-03-22 14:10  castaglia

	* NEWS, lib/glibc-glob.c, lib/pwgrent.c, src/fsio.c:
	  Quell several compiler warnings:

	  Bug#2770 - FreeBSD compiler warning that "__GLIBC__" is not
	  defined.  Bug#2771 - FreeBSD compiler warning about undeclared
	  fgetpwent/fgetgrent		 functions.  Bug#2772 - FreeBSD
	  compiler warning that "_FILE_OFFSET_BITS" is not defined.

2006-03-22 13:45  castaglia

	* Make.rules.in, NEWS:
	  Bug#2733 - libtool requires sh/bash.

2006-03-22 10:51  castaglia

	* utils/: ftptop.c, scoreboard.c:
	  Minor fixes to ftptop: use snprintf(3) rather than sprintf(3),
	  and make sure that any scoreboard path set via the -f
	  command-line option actually exists.

2006-03-18 12:15  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2006-03-18 12:13  castaglia

	* NEWS, RELEASE_NOTES, contrib/dist/rpm/proftpd.spec,
	  include/version.h:
	  Rolling up RC5 release.

2006-03-17 10:52  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#2723 - mod_delay causes process to hang on OS X when proftpd
	  exits.

2006-03-16 18:12  castaglia

	* RELEASE_NOTES:
	  Updating the release notes for the RC5 release.

2006-03-16 10:06  castaglia

	* README.controls, doc/howto/Controls.html:
	  Make notes about how Controls are affected by ServerType.

2006-03-15 11:41  castaglia

	* src/main.c:
	  We need to copy the session addresses into memory after any
	  reverse DNS resolution is performed, not before.

2006-03-14 19:56  castaglia

	* NEWS, modules/mod_log.c, modules/mod_xfer.c, src/main.c:
	  Bug#2765 - Child process segfaults while handling a SIGTERM.	A
	  field from a structure whose memory had been freed by the time
	  the field was referenced was tickling the segfault.

2006-03-14 18:49  castaglia

	* modules/mod_auth.c:
	  Remove slightly misleading (and outdated) comment.

2006-03-14 18:47  castaglia

	* NEWS, modules/mod_auth.c:
	  Make the workaround for Bug#2717 be specific to glibc-2.3 or
	  greater, not to Linux in general.

2006-03-14 18:09  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2717 - Wrong timestamp in logs for chrooted processes.

2006-03-13 19:18  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2764 - REST command does not return an error for negative
	  numbers.

2006-03-11 16:16  castaglia

	* include/privs.h:
	  Remove some duplicating logging in the PRIVS_RELINQUISH macro
	  definition.

2006-03-11 09:27  castaglia

	* include/version.h:
	  Forgot to change the status back to "CVS", for now.

2006-03-09 10:50  castaglia

	* doc/contrib/mod_sql.html:
	  Add description of the SQLBackend directive.

2006-03-09 10:20  castaglia

	* configure:
	  Updating configure.

2006-03-09 10:12  castaglia

	* configure.in:
	  Updating changes made for fixing Bug#2759 so that the libsupp
	  library can be found.

2006-03-08 11:11  castaglia

	* configure:
	  Updating configure.

2006-03-08 11:06  castaglia

	* NEWS, configure.in:
	  Bug#2759 - Adding --with-includes to configure can cause problems
	  when building with other packages.

2006-03-06 13:49  castaglia

	* doc/howto/NAT.html:
	  Add a description of what can happen if the configured
	  PassivePorts range is too small.

2006-03-06 10:17  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec:
	  Bug#2757 - Add support for quota modules to RPM spec.

2006-03-01 09:00  castaglia

	* RELEASE_NOTES:
	  Updating release notes.

2006-03-01 08:45  castaglia

	* ChangeLog, NEWS, contrib/dist/rpm/proftpd.spec,
	  include/version.h:
	  Preparing for release of 1.3.0rc4.

2006-02-23 15:01  castaglia

	* doc/rfc/: draft-murray-auth-ftp-ssl-15.txt, rfc4217.txt:
	  The old IETF Draft which defined FTPS was finally upgraded to a
	  full-fledged RFC in Nov 2005, as RFC4217.

2006-02-23 14:42  castaglia

	* doc/howto/SQL.html:
	  Added FAQ about libz linker errors to SQL howto.

2006-02-21 09:51  castaglia

	* modules/mod_delay.c:
	  Add more debug logging, level 10, for when mod_delay mmaps or
	  munmaps.  This is for tracking down Bug #2723.  Also handle the
	  case where munmap(2) fails.

2006-02-20 22:55  castaglia

	* NEWS, modules/mod_core.c: Bug#2752 - FEAT reply not RFC 2389
	  compliant.

2006-02-07 17:25  castaglia

	* NEWS, src/data.c:
	  Bug#2746 - Data transfer function does not return error condition
	  in case of read errors.  Now the pr_data_xfer() loop will error
	  out if there is an error returned by pr_netio_read(), just as is
	  already done if there is an error returned by pr_netio_write().

2006-01-11 05:55  castaglia

	* doc/howto/: index.html, AuthFiles.html:
	  Added the AuthFiles howto (it was referenced by the ConfigFile
	  howto).

2006-01-04 05:31  castaglia

	* modules/mod_xfer.c:
	  Fix a warning about an unused variable.  The tcp_level variable
	  is really only used if TCP_CORK is defined; thus it should be
	  declared within an #ifdef TCP_CORK block.

2005-12-27 10:29  castaglia

	* RELEASE_NOTES:
	  Mention the OSX tweaks in the Release Notes.

2005-12-26 19:04  castaglia

	* src/main.c: Initialise the session.proc_prefix string upon client
	  connection.  There was a strange edge case, involving
	  mod_wrap-2.0.x, where proftpd was calling set_proc_title() using
	  a NULL session.proc_prefix.  GNU libc handles printfs of NULLs
	  gracefully, but other libc implementations (e.g. Solaris) are not
	  as forgiving; this edge case was leading to segfaults on those
	  platforms.

2005-12-19 10:59  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2735 - Allow REST 0 in ASCII mode.

2005-12-13 09:54  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2709 - mod_sql improperly strips spaces from names, allowing
	  for confusing authentication.

2005-12-07 14:15  castaglia

	* NEWS, modules/mod_auth_pam.c:
	  Bug#2729 - Authorative PAM authentication doesn't work.

2005-12-05 11:17  castaglia

	* RELEASE_NOTES, doc/howto/Quotas.html, doc/howto/index.html:
	  Adding Quotas howto to doc/ area.

2005-12-02 10:34  jwm

	* contrib/mod_ldap.c: some overdue cleanup: - use braces
	  everywhere. honestly, i don't know why i wrote code this way.  -
	  now that we're using strtoul() sanity checking on default
	  [UG]IDs, we	don't need the isdigit() checking - use
	  get_param_ptr for single-argument directives instead of
	  find_config() - if a directive is present (get_param_ptr()
	  returns non-NULL), assign its   value to the config variable; we
	  don't want to assume default values	in the variable
	  initialization as well as the getconf handler.

2005-12-02 09:04  jwm

	* contrib/mod_ldap.c: - complain about invalid default [UG]IDs -
	  only allocate enough arguments in the config_rec for LDAPDoAuth
	  and	LDAPDoUIDLookups to cover the arguments specified

2005-12-02 08:51  jwm

	* contrib/mod_ldap.c: - remove get_param_int() usage; store values
	  in an allocated pointer intsead - config handlers now take their
	  directive name from c->argv[0], saving   a few bytes of static
	  strings

2005-11-29 10:19  castaglia

	* doc/contrib/mod_tls.html:
	  Adding more specific instructions for what a
	  TLSCertificateChainFile should contain.

2005-11-28 18:42  castaglia

	* NEWS, src/inet.c:
	  Bug#2374 revisited, for the sake of updated Mac OSX releases.
	  When is a regression not a regression?  When it's the fault of
	  the host system, not the application code.  Sigh.

2005-11-19 11:44  castaglia

	* doc/howto/DSO.html:
	  Adding more comments to the DSO howto, based on user
	  feedback/questions.

2005-11-16 08:04  jwm

	* contrib/mod_ldap.c: release 2.8.16

2005-11-15 12:01  castaglia

	* doc/contrib/mod_quotatab.html:
	  Formatting changes.

2005-11-15 11:44  castaglia

	* doc/contrib/mod_quotatab.html:
	  Improve the mod_quotatab doc, emphasizing the definitions of
	  limit and tally tables.  Also add HTML anchors, for easier
	  referencing from the upcoming Quotas howto.

2005-11-14 09:47  castaglia

	* doc/contrib/mod_tls.html:
	  Update description of AllowDotLogin TLSOption, as proftpd now
	  will not prompt for a password if none is required.

2005-11-14 08:33  castaglia

	* NEWS, include/pr-syslog.h, lib/pr-syslog.c, src/log.c:
	  Bug#2705 - proftpd fails to log anything to syslog after dropping
	  privs on Solaris.

	  Since proftpd has custom syslog routines, we can simply add an
	  accessor function for setting the static log_facility variable.
	  libc-based syslogging cannot do this; proftpd used libc syslog
	  routines in the past, hence the need to call openlog() again if
	  the facility changed.

	  Thanks to Kostantinos Koukopoulos for the patch.

2005-11-12 10:25  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2712 - DisplayFirstChdir directive does not work.

2005-11-11 13:05  castaglia

	* NEWS, include/ctrls.h, modules/mod_ctrls.c, src/ctrls.c:
	  Bug#2711 - Controls socket detection broken.

2005-11-10 11:14  castaglia

	* src/ctrls.c:
	  Copy the full length of the socket path, including the
	  terminating NUL.

2005-11-08 09:59  castaglia

	* contrib/mod_tls.c:
	  Make the log messages generated during certificate verification a
	  little cleaner.  Also add explicit handling of the
	  INVALID_PURPOSE error case.

2005-11-08 08:13  castaglia

	* configure:
	  Updating configure.

2005-11-08 08:06  castaglia

	* NEWS, configure.in:
	  Bug#2708 - configure cannot detect some headers.

2005-11-04 08:36  castaglia

	* NEWS, src/log.c:
	  Bug#2706 - utmp/wtmp logging on NetBSD needs some tweaks.

2005-11-04 08:34  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2703 - Disk quota exceeded for small files not being
	  triggered.

2005-10-31 15:23  castaglia

	* include/version.h:
	  Bump version to 1.3.0rc4 (hopefully will turn out to be
	  1.3.0-stable).

2005-10-31 09:45  castaglia

	* ChangeLog:
	  One more update.

2005-10-31 09:39  castaglia

	* src/fsio.c:
	  Correct usage of pr_fsio_readlink().

2005-10-31 09:34  castaglia

	* NEWS, include/version.h, contrib/dist/rpm/proftpd.spec:
	  Preparing for 1.3.0rc3 roll.

2005-10-31 09:32  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2005-10-28 08:54  castaglia

	* RELEASE_NOTES:
	  Updating release notes.

2005-10-26 16:36  castaglia

	* src/fsio.c:
	  Drat.  Forgot to replace all occurrences of ->readlink() with
	  pr_fsio_readlink().

2005-10-26 09:53  castaglia

	* modules/mod_facl.c:
	  Use direct pointer assignment rather than acl_copy_entry(); the
	  latter is not needed.  Patch supplied by Patrick McHardy.

2005-10-26 09:34  castaglia

	* src/fsio.c:
	  When cleaning the path in pr_insert_fs(), only add a trailing
	  path separator if the original path had one _and_ the current
	  cleaned path does _not_ have one.  Thanks to Patrick McHardy for
	  pointing this out.

2005-10-26 09:19  castaglia

	* src/fsio.c:
	  Patrick McHardy pointed out that in a couple of places, the FSIO
	  API uses the readlink function pointer, registered for an fs_t,
	  directly.  However, it is not required for registered fs_ts to
	  provide any particular FSIO function.  Thus pr_fsio_readlink(),
	  which iterates through the fs layers in order to find the first
	  that does provide a readlink function, should be used.

2005-10-23 14:50  castaglia

	* contrib/mod_sql.c:
	  Fix a segfault expanding the '%h' sequence for an SQLLog EXIT
	  command by using the proper API.  Related to Bug #2695.

2005-10-20 08:33  castaglia

	* doc/contrib/mod_tls.html:
	  Fixed example installation instructions for mod_tls.

2005-10-19 16:33  castaglia

	* configure:
	  Updating configure.

2005-10-19 16:28  castaglia

	* configure.in, config.h.in, include/ctrls.h, modules/mod_ctrls.c,
	  src/ctrls.c:
	  Change the location of the logic used to determine whether the
	  platform prefers S_ISFIFO or S_ISSOCK for detecting Unix domain
	  sockets.  Rather than using a test program as part of the
	  configure script, move the check into the init_ctrls() code, so
	  that it can be done at run-time.

2005-10-18 16:27  castaglia

	* contrib/mod_sql.c, modules/mod_log.c:
	  Fix handling of the %f log variable for the RNTO command.  Both
	  mod_log and mod_sql were using session.xfer.path for %f, when in
	  the case of RNTO, the %f that is desired is actually the argument
	  of the command, cmd->arg, not session.xfer.path.

2005-10-18 11:30  castaglia

	* contrib/mod_sql.c, modules/mod_log.c:
	  When expanding the %J log variable (for command arguments), be
	  sure to hide the arguments for the PASS command.

2005-10-10 10:58  castaglia

	* README.IPv6, src/netacl.c:
	  Only use the full range of characters which appear in an IPv6
	  (and IPv4) address when IPv6 support is enabled.

	  Also, document the case where, when IPv6 support *is* enabled,
	  certain DNS names are not handled as one would expect, due to the
	  heuristics used by the ACL parser.

2005-10-08 13:51  castaglia

	* RELEASE_NOTES, doc/howto/Filters.html, doc/howto/Regex.html,
	  doc/howto/index.html:
	  Add the regular expression tutorial to the doc/howto/ area.

2005-10-08 13:34  castaglia

	* RELEASE_NOTES:
	  Add some notes to the RELEASE_NOTES file for the upcoming
	  1.3.0rc3 release.

2005-10-08 13:16  castaglia

	* configure:
	  Updating configure.

2005-10-08 13:14  castaglia

	* config.h.in, configure.in, modules/mod_ctrls.c:
	  Add an autoconf check to see if the platform prefers S_ISFIFO or
	  S_ISSOCK for Unix domain sockets.  It seems that some systems
	  (e.g. UnixWare) prefer S_ISFIFO, even though the file is
	  created/bound using socket(2)/bind(2) rather than mknod(2).
	  Isn't portability grand.

	  The added test defines a PR_ISSOCK_UNIX macro, defined to the
	  appropriate S_IS* macro, for use in proftpd code.

2005-09-28 11:50  castaglia

	* doc/howto/Limit.html:
	  Style.

2005-09-27 19:06  castaglia

	* src/: dirtree.c, support.c:
	  Style.

2005-09-27 09:22  castaglia

	* src/response.c:
	  Style.

2005-09-27 09:11  castaglia

	* NEWS, src/response.c:
	  Bug#2692 - R_DUP response messages can break the FTP protocol
	  responses.

2005-09-27 09:08  castaglia

	* NEWS, include/privs.h:
	  Bug#2682 - Signals can interrupt privilege switching.  To guard
	  against this, the PRIVS macros now all contain
	  pr_signals_block()/pr_signals_unblock() guards.

2005-09-26 16:36  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2697 - Improper SSL session shutdown sequence used for some
	  FTPS clients.

2005-09-21 10:40  castaglia

	* modules/mod_core.c:
	  Clean up the debug logging done when handling config directive
	  regexes.  No need to report on the memory location for the
	  allocated regex.

2005-09-20 18:08  castaglia

	* doc/contrib/mod_tls.html:
	  Typo.

2005-09-20 18:04  castaglia

	* doc/contrib/mod_tls.html:
	  Use of the StdEnvVars TLSOption does not necessarily increase the
	  process memory footprint; it depends on the various memory
	  allocator caching strategies involved.

2005-09-20 15:45  castaglia

	* doc/contrib/mod_tls.html:
	  Enhancing the explanations of the TLSCACertificateFile and
	  TLSRandomSeed directives.

2005-09-20 11:33  castaglia

	* doc/contrib/mod_tls.html:
	  Minor updates to mod_tls doc.

2005-09-19 14:35  castaglia

	* NEWS, contrib/mod_radius.c, contrib/mod_sql.c, include/netaddr.h,
	  src/log.c, src/main.c, src/netaddr.c:
	  Bug#2695 - Client IP/host is not logged when client exits.

2005-09-19 10:14  castaglia

	* modules/mod_xfer.c:
	  Style.

2005-09-08 11:36  castaglia

	* README.modules:
	  Minor corrections to the location of contrib module
	  documentation, thanks to Sven Hoexter.

2005-09-08 09:39  castaglia

	* contrib/mod_tls.c:
	  Log in the TLSLog when mod_tls denies FTP commands because of the
	  configured security policy.

2005-09-04 17:05  castaglia

	* src/netaddr.c:
	  When reporting DNS resolution errors, report the type of address
	  requested, i.e. IPv4 or IPv6.

2005-09-04 16:57  castaglia

	* NEWS, include/parser.h, src/main.c, src/parser.c:
	  Bug#2689 - Parser does not complain about unclosed configuration
	  sections.

2005-08-29 18:45  castaglia

	* RELEASE_NOTES:
	  Fix typo.

2005-08-28 11:01  castaglia

	* src/fsio.c:
	  After cleaning the path given to pr_insert_fs(), we make sure it
	  has a trailing '/' path separator character.	However, this is
	  only necessary if the path being inserted is not '/' itself.
	  Check for that case, and make sure to not add the trailing '/' if
	  it is not needed.

2005-08-25 10:53  castaglia

	* contrib/mod_tls.c:
	  The mod_tls version information was missing from a couple of log
	  messages.

2005-08-24 09:10  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2685 - ListOptions' max parameters cannot be set higher than
	  255.

2005-08-23 09:50  castaglia

	* modules/mod_auth.c, modules/mod_core.c, src/main.c:
	  Log, at debug level 6, if there was an error displaying a Display
	  file.

2005-08-23 09:25  castaglia

	* src/dirtree.c:
	  Add explanatory comment.  When researching a problem earlier, I
	  was a bit confused by the reuse of a pool variable; the comment
	  is a reminder of what is going on.

2005-08-16 09:06  castaglia

	* INSTALL:
	  Update the section of the INSTALL doc that talks about xinetd
	  configuration; as of xinetd-2.3.11, the 'RECORD' logging option
	  has been deprecated.

2005-08-10 09:08  jwm

	* README.LDAP: update README.LDAP; oops, i've been forgetting about
	  this

2005-08-07 09:35  castaglia

	* modules/mod_core.c:
	  When reporting on use or nonuse of <IfModule> and <IfDefine>
	  sections, correctly report the "!" character.  Otherwise, the
	  reporting is confusing.

2005-08-07 09:01  castaglia

	* contrib/mod_tls.c:
	  When handling any error returned by SSL_shutdown(3) (after it has
	  been called the second time), and the error is not explicitly
	  handled by the switch statement, log the error code.	This will
	  help in debugging certain cases where tls_get_error() returns
	  "(unknown)", which possibly indicates no error occurred.

2005-08-07 08:46  castaglia

	* configure:
	  Updating configure.

2005-08-07 08:44  castaglia

	* NEWS, configure.in:
	  Bug#2676 - configure option --disable-ipv6 enables IPv6.

2005-08-04 14:06  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2674 - mod_sql string escape problem during group lookups.

2005-08-03 10:08  castaglia

	* contrib/mod_radius.c:
	  Pad the size of the radius_packet_t structure.

2005-08-03 10:06  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#2669 - mod_radius segfaults if PASS command sent with no USER
	  command.

2005-08-02 16:38  castaglia

	* doc/howto/ListOptions.html:
	  Fix documentation for "-a" ListOption.

2005-08-02 08:53  castaglia

	* NEWS, modules/mod_ctrls.c:
	  Bug#2668 - mod_ctrls fails to open socket during SIGHUP.

2005-08-01 18:34  castaglia

	* modules/mod_facl.c:
	  Add debugging output, level 6, showing when mod_facl has
	  successfully registered its FS handler.

2005-08-01 13:49  castaglia

	* modules/mod_ctrls.c:
	  Display the mod_ctrls version when using `proftpd -vv'.

2005-07-31 20:16  castaglia

	* src/ftpdctl.c:
	  Display the name of the socket path being contacted when `ftpdctl
	  -v' is used.

2005-07-31 20:15  castaglia

	* NEWS:
	  Bug#2667 - mod_tls handles SIGHUP badly.  Stop registering the
	  handler for the "core.postparse" event in the "core.restart"
	  event handler; such multiple registrations cause the
	  "core.postparse" event handler to be invoked multiple times.

2005-07-30 18:25  castaglia

	* contrib/mod_tls.c:
	  The "core.restart" event handler for mod_tls was registering a
	  handler for the "core.postparse" event; however, one was already
	  being registered.  The duplicate "core.postparse" registrations
	  would cause the handler to be called repeatedly, leading to
	  locking of key passphrases into memory multiple times and other
	  unintended funniness.

2005-07-27 11:45  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2662 - OpenSolaris/Solaris 11 has TCP_CORK but not SOL_TCP.

2005-07-27 10:48  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec:
	  Bug#2660 - Add mod_facl in rpm spec file.

2005-07-26 19:08  castaglia

	* contrib/mod_tls.c:
	  Explicitly mention that $SSL_CERT_DIR is an environment variable.

2005-07-24 12:25  castaglia

	* include/version.h:
	  Updating version.

2005-07-24 11:21  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2005-07-24 11:15  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for release of 1.3.0rc2.

2005-07-24 11:08  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#2658 - Segfault in mod_radius when using long password.

2005-07-21 15:00  castaglia

	* RELEASE_NOTES:
	  Fix typo.

2005-07-20 17:43  castaglia

	* contrib/mod_tls.c:
	  Slight paranoia about calling BIO_free() on possibly NULL
	  pointer.

2005-07-20 17:40  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2657 - Segfault in tls_get_error() function in mod_tls.

2005-07-18 17:30  castaglia

	* doc/howto/: Classes.html, SQL.html:
	  Updating Class and SQL howtos.

2005-07-15 15:13  castaglia

	* NEWS:
	  Minor rewording of NEWS, with respect to POSIX ACLs.

2005-07-08 08:53  castaglia

	* RELEASE_NOTES:
	  Updating the release notes.

2005-07-08 08:26  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2653 - When MaxStoreFileSize is reached, error should be
	  EDQUOT rather than EPERM.

2005-07-07 07:45  castaglia

	* NEWS, src/data.c:
	  Bug#2560 - Reporting errors when user filesystem quota is
	  exceeded.

2005-07-07 00:10  castaglia

	* modules/mod_log.c:
	  With the fixing of Bug #1965, the mod_log module no longer needs
	  a PRE_CMD handler in order to properly log the QUIT command; the
	  POST_CMD C_ANY handler suffices.  In fact, the PRE_CMD C_QUIT
	  handler currently in place means that the QUIT command would be
	  logged twice in an ExtendedLog.

2005-07-05 09:11  castaglia

	* doc/howto/: DNS.html, VirtualUsers.html, index.html:
	  Adding DNS, VirtualUsers howtos.

2005-07-05 08:49  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2645 - SQLShowInfo format string vulnerability.

2005-07-05 08:42  castaglia

	* NEWS, src/response.c:
	  Bug#2646 - ftpshut format string vulnerability.

2005-07-03 11:52  castaglia

	* contrib/mod_ldap.c, contrib/mod_radius.c, contrib/mod_sql.c,
	  contrib/mod_tls.c, modules/mod_auth.c, modules/mod_auth_file.c,
	  modules/mod_auth_pam.c, modules/mod_auth_unix.c:
	  Update the auth modules to set the session.auth_mech member with
	  the name of the module which successfully authenticates a user.

2005-07-03 11:13  castaglia

	* NEWS:
	  Bug#2375 - Slow directory listing with several blank .ftpaccess
	  files.

2005-07-03 11:08  castaglia

	* src/dirtree.c:
	  When parsing .ftpaccess files, check that the size of the
	  .ftpaccess file is non-zero before handling it.  This is related
	  to Bug #2375, if not _the_ culprit.  I suspect that there are
	  more improvements to be made with regards to .ftpaccess file
	  processing, though.

2005-07-02 11:41  castaglia

	* NEWS, contrib/mod_sql.c:
	  Fix segfault where using SQLLog to execute a SQLNamedQuery (which
	  uses %L or %a) for the EXIT command would attempt to use freed
	  memory.

2005-07-02 11:06  castaglia

	* modules/mod_xfer.c:
	  Set the current working directory, in the FSIO layer, before an
	  open() call.	This may be the cause of some strange behaviors
	  seen with some of my FSIO modules (i.e. mod_md5).

2005-07-02 10:59  castaglia

	* modules/mod_delay.c:
	  More bounds checking in mod_delay, as part of an investigation
	  into Bug #2621 using valgrind.

2005-06-29 17:39  castaglia

	* NEWS, include/conf.h:
	  Bug#2647 - Improper "socklen_t" redefine for HP-UX when using
	  X/Open.

2005-06-29 12:11  castaglia

	* doc/modules/mod_delay.html:
	  This document covers mod_delay, not mod_dso.	Fix typo.

2005-06-27 13:40  castaglia

	* NEWS, contrib/mod_sql_mysql.c:
	  Bug#2644 - mod_sql_mysql should handle old MySQL password format
	  more gracefully.

2005-06-26 22:38  castaglia

	* configure:
	  Updating configure.

2005-06-26 22:25  castaglia

	* config.h.in, configure.in:
	  Check for the size of a time_t.  We do not need this immediately,
	  but we will soon.

2005-06-23 16:23  castaglia

	* contrib/mod_quotatab_sql.c:
	  Fix a rather broken assignment.  Newer versions of gcc, being
	  less lenient, choke on this assignment whereas older versions of
	  gcc let it pass.

2005-06-22 13:56  castaglia

	* contrib/mod_tls.c:
	  Always set the tls_pkey_list pointer to NULL after scrubbing the
	  list.  Also, be sure to scrub that list at session initialization
	  time if TLSEngine is not on for the session.

2005-06-22 10:22  castaglia

	* src/fsio.c:
	  The changes in the FSIO API to support chained FS objects changed
	  some things; the lookup_file_fs() function made assumptions which
	  were broken by those changes.  Update lookup_file_fs() to
	  properly deal with FS objects whose stat or lstat function
	  pointers may be NULL.

2005-06-21 18:58  castaglia

	* src/fsio.c:
	  Off by one in my calculation; PR_TUNABLE_PATH_MAX-1 is the last
	  usable index in the buffer.  Of course, I may still be wrong
	  here, but I'd rather be wrong by too large of a difference,
	  rather than too small.

2005-06-21 16:11  castaglia

	* src/fsio.c:
	  Tracking down a bug in my crufty mod_md5fs module revealed the
	  cause to be a subtle bug in pr_insert_fs().  The path provided by
	  the caller was being cleaned via pr_fs_clean_path(), which would
	  remove any trailing path separators.	However, in the case of
	  FSIO FS objects, that trailing separator is important.  Re-add it
	  if it was there.

2005-06-21 15:06  castaglia

	* configure:
	  Update configure.

2005-06-21 13:54  castaglia

	* src/bindings.c:
	  The ipv6_supported variable need only be defined if --enable-ipv6
	  is used.

2005-06-21 11:49  castaglia

	* configure.in:
	  If the --enable-ctrls configure option is used, mod_ctrls will be
	  built as a static module.  To get mod_ctrls to be built as a
	  shared module, use --enable-ctrls and list mod_ctrls in the
	  --with-shared list.  However, I have not tested how well
	  mod_ctrls behaves as a shared module...

2005-06-21 11:27  castaglia

	* src/main.c:
	  Display the default libexec/ directory for the -V option, if DSO
	  support is enabled.

2005-06-21 10:22  castaglia

	* configure:
	  Updating configure.

2005-06-21 10:02  castaglia

	* configure.in, src/bindings.c:
	  Undo yesterday's autoconf change for IPv6 support detection.
	  Instead, move that detection into init_bindings(), although I
	  suspect that it will be needed in other places of the code as
	  well.  At least this way, though, a proftpd compiled using
	  --enable-ipv6 on an IPv4 box will still start up properly and
	  accept connections.

2005-06-21 06:54  castaglia

	* NEWS:
	  Update the description of Bug #2573, making note of the changed
	  behavior and how to address it (as per Bug #2640).

2005-06-20 15:57  castaglia

	* configure:
	  Updating configure.

2005-06-20 15:35  castaglia

	* configure.in:
	  Have autoconf check for IPv6 support when the --enable-ipv6
	  configure option is used.  It is completely possible for an
	  IPv4-only box to be used to compile a proftpd configured using
	  --enable-ipv6.  When that proftpd is started on the IPv4-only
	  box, it would choke inexplicably.  This is due to changes made
	  for Bug #2758.

2005-06-20 15:16  castaglia

	* src/netaddr.c:
	  Log when we are looking for IPv4 addresses via DNS, and when
	  we're looking for IPv6 addresses.

2005-06-19 22:41  castaglia

	* src/mkhome.c:
	  Make sure to reset the umask in the case where mkdir() could
	  fail.  Otherwise, the umask of the process will be left in the
	  wrong state.

2005-06-19 19:05  castaglia

	* doc/contrib/mod_ifsession.html:
	  Updating mod_ifsession docs.

2005-06-18 14:05  castaglia

	* contrib/mod_tls.c:
	  OpenSSL 0.9.8 changed some macro names (and did not document it
	  *sigh*).  Update mod_tls to use the new names as necessary.

2005-06-18 11:16  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#2630 - Use of mmap in mod_delay may be problematic on HP-UX.

2005-06-16 14:27  castaglia

	* include/table.h, src/table.c:
	  Add a new table flag, PR_TABLE_FL_USE_CACHE.	By default, this
	  flag is off.	The caching behavior of previously-looked up keys
	  in the table accessors was a bit confusing (which itself
	  indicates the need for better table documentation).  Make use of
	  that lookup cache disabled by default, so that the behavior is
	  least surprising to developers.  Callers that require higher
	  performance tables can enable the flag as needed.

2005-06-16 11:58  castaglia

	* src/table.c:
	  Added some missing pr_signals_handle() calls in while loops.

2005-06-15 10:38  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2639 - HiddenStores does not work.

2005-06-15 08:40  castaglia

	* src/dirtree.c:
	  Set a valid errno for pr_is_boolean().

2005-06-14 11:11  castaglia

	* src/auth.c:
	  Add debugging, level 10, of retrieved user/group names and
	  UIDs/GIDs, similar to what is done during in pr_auth_getgroups().

2005-06-13 18:23  castaglia

	* contrib/mod_radius.c, contrib/mod_sql.c, contrib/mod_tls.c,
	  include/compat.h, include/log.h, modules/mod_core.c,
	  modules/mod_ctrls.c, modules/mod_log.c, src/log.c, src/xferlog.c:

	  Move the LOG_* macros (for indicating writable dirs, symlinks,
	  and permission modes) into the PR_ namespace.  Provide
	  compatibility macros for source compatibility for other modules,
	  for now.

2005-06-13 15:01  castaglia

	* include/log.h, modules/mod_core.c, modules/mod_log.c, src/log.c:
	  Move the log_str2sysloglevel() function into the 'pr_' namespace.

2005-06-13 09:27  castaglia

	* NEWS, modules/mod_xfer.c, src/data.c:
	  Bug#2636 - Data connection failure when handling STOR does not
	  trigger error response.

2005-06-11 21:42  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2637 - <Limit STAT> does not work.

2005-06-11 17:36  castaglia

	* include/: compat.h, dirtree.h:
	  Moving some macro (name redefinitions) into the more appropiate
	  compat.h header.

2005-06-11 16:46  castaglia

	* contrib/mod_tls.c:
	  Style consistency and cleanup.

2005-06-11 15:18  castaglia

	* contrib/mod_tls.c:
	  Comment typo.

2005-06-10 10:21  castaglia

	* contrib/mod_tls.c, include/auth.h, modules/mod_auth.c,
	  src/auth.c:
	  Removing the overloaded use of pr_auth_authenticate() in mod_auth
	  for allowing RFC2228 modules to authenticate a user using
	  non-PASS means.

	  Instead, there is a new Auth API function,
	  pr_auth_requires_pass().  All modules have a chance to provide
	  handlers for this auth command; if any module can successfully
	  authenticate the client without requiring the PASS command, then
	  pr_auth_requires_pass() will return FALSE.  If and only if
	  pr_auth_requires_pass() returns FALSE will mod_auth send the 232
	  response code to the client, indicating that no PASS command is
	  required.

2005-06-10 10:06  castaglia

	* NEWS, lib/pr-syslog.c:
	  Bug#2632 - Invalid application of `sizeof' to an incomplete type
	  on AIX.

2005-06-10 09:25  castaglia

	* doc/howto/NAT.html:
	  Provide an example configuration for the LAN/WAN
	  MasqueradeAddress issue.

2005-06-09 06:14  castaglia

	* doc/howto/SQL.html:
	  Fix typo.

2005-06-08 11:33  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#2631 - Segfault when using RadiusAcctServer.

2005-06-08 09:21  castaglia

	* doc/howto/SQL.html:
	  Grgoire COLBERT contributed a snippet of PHP code that can be
	  used to generate base64-encoded MD5-digested password strings,
	  suitable for use by mod_sql.

2005-06-07 11:58  castaglia

	* contrib/mod_radius.c:
	  Minor style cleanup.

2005-06-06 10:45  castaglia

	* doc/contrib/mod_rewrite.html:
	  No need for the trailing /, as the closing } serves as the
	  delimiter.

2005-06-06 10:40  castaglia

	* doc/contrib/mod_rewrite.html:
	  The example RewriteRule directive provided had a problem.  One of
	  its parameters contained an embedded whitespace, and the example
	  did not enclose that parameter in quotations, which meant that
	  the config parser would split that parameter incorrectly.

2005-06-05 11:26  castaglia

	* NEWS, README.FreeBSD:
	  Bug#2250 - Add ports, compiling info to FreeBSD README.

2005-06-05 11:20  castaglia

	* README:
	  Updated README to use "1.3.x" as ProFTPD version, rather than
	  "1.2.x".

2005-06-03 00:12  castaglia

	* NEWS, include/fsio.h:
	  Bug#2624 - "fh_data" macro collision causes compiler error on
	  Tru64 V5.1A.

2005-06-02 08:25  castaglia

	* contrib/mod_radius.c:
	  Since mod_radius is distributed with the proftpd source, it
	  should not have an "RC" version.  It will now be officially
	  version 0.8.

2005-06-01 21:43  castaglia

	* modules/mod_delay.c:
	  Bug#2622 - Segfault seen randomly in mod_delay.

	  This patch changes the bounds check for the j variable, which is
	  decrementing, to be as necessary.

2005-06-01 16:21  castaglia

	* modules/mod_core.c:
	  Add better logging of when PORT, PASV, EPRT, and EPSV are denied
	  because of <Limit> configurations.  Minor code style changes.

2005-06-01 14:07  castaglia

	* doc/contrib/mod_radius.html:
	  Remove extraneous space.

2005-06-01 14:03  castaglia

	* doc/contrib/mod_radius.html:
	  Updating mod_radius documentation.

2005-06-01 13:52  castaglia

	* README.Solaris2.5x:
	  Use "ProFTPD", not "ProFTP".

2005-06-01 13:50  castaglia

	* contrib/mod_radius.c:
	  More strict checking of the number of parameters for the
	  RadiusLog directive.

	  In general, this a problem with the CHECK_ARGS macro.  It allows
	  >= n parameters, where it should check strictly for == n.

2005-06-01 10:21  castaglia

	* NEWS, src/bindings.c, src/netaddr.c:
	  Bug#2578 - ProFTPD does not listen on IPv6 addresses on FreeBSD.

2005-05-31 16:40  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#2622 - Segfault seen randomly in mod_delay.

2005-05-31 09:15  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#2601 - mod_delay sometimes delays for a long time.

2005-05-20 19:16  castaglia

	* modules/mod_auth.c:
	  If we are unable to resolve a user's home directory, try to
	  interpolate it (as when the home dir is "~"), in order to provide
	  a more informative log message to the admin.	This will greatly
	  help in debugging.

2005-05-10 09:35  castaglia

	* NEWS, lib/pr-syslog.c:
	  Bug#2585 - Proftpd does not write RFC 3164 compliant messages
	  into /dev/log.

2005-05-08 13:42  castaglia

	* configure:
	  Updated configure.

2005-05-08 13:37  castaglia

	* NEWS, configure.in:
	  Bug#2598 - Build system should check for duplicate module
	  requests.

2005-05-07 12:19  castaglia

	* Makefile.in, modules/Makefile.in:
	  Make the use of `test' in the Makefiles non-silent, to aid in
	  debugging build issues.

2005-05-07 10:52  castaglia

	* contrib/mod_load/Makefile.in:
	  Make mod_load's Makefile portable.  Related to Bug#2589.

2005-05-07 10:38  castaglia

	* NEWS:
	  Wrong bug number.

2005-05-07 10:38  castaglia

	* NEWS, modules/Makefile.in:
	  Bug#2589 - Makefile in modules/ directory is not portable.

2005-05-07 10:01  castaglia

	* src/netaddr.c:
	  Typo; we were checking the wrong variable, which causes the wrong
	  error message to (possibly) be displayed if there were resolver
	  errors.

2005-05-05 22:53  castaglia

	* NEWS, modules/mod_core.c, modules/mod_ctrls.c, src/table.c:
	  Bug#2605 - Compiler warnings/errors about missing typecasts on
	  HP-UX.

2005-05-05 22:33  castaglia

	* contrib/mod_tls.c:
	  Bug#2607 - Compiler warnings about missing typecasts in mod_tls
	  on HP-UX.

2005-05-05 22:24  castaglia

	* contrib/mod_rewrite.c:
	  Bug#2606 - Compiler warnings about missing typecasts in
	  mod_rewrite on HP-UX.

2005-04-30 17:04  castaglia

	* src/netaddr.c:
	  Log, at debug level 10, if we're returning an IP address when a
	  DNS name was requested because of the UseReverseDNS setting.

2005-04-30 16:32  castaglia

	* configure:
	  Updating configure.

2005-04-30 16:27  castaglia

	* configure.in:
	  Removed --disable-auth-unix configure option.  It isn't very
	  useful; trying to actually use a proftpd compiled with that
	  option would not work well.  Perhaps it will come back later, in
	  a better/more usable fashion.

2005-04-30 12:59  castaglia

	* NEWS, contrib/mod_ctrls_admin.c,
	  doc/contrib/mod_ctrls_admin.html:
	  Add new 'dns' control action to mod_ctrls_admin, for setting
	  UseReverseDNS at runtime.

2005-04-30 12:07  castaglia

	* src/bindings.c:
	  Add debugging denoting when there is no exactly matching vhost
	  configured for an incoming connection and we end up using the
	  DefaultServer.

2005-04-30 11:03  castaglia

	* NEWS, modules/mod_auth_unix.c:
	  Bug#2582 - ProFTPD on Tru64 with SIA does not call
	  sia_ses_estab().

2005-04-29 09:34  castaglia

	* configure:
	  Updating configure.

2005-04-29 09:26  castaglia

	* configure.in, config.h.in, modules/mod_auth_unix.c:
	  Systems with shadow library support (e.g. Solaris) may require
	  that the setspent(3) function be called prior to calling
	  getspent(3) et al.

2005-04-27 14:04  castaglia

	* configure:
	  Updating configure.

2005-04-27 14:01  castaglia

	* NEWS, config.h.in, configure.in:
	  Bug#2588 - AIX requires _USE_IRS #define to use hstrerror().

2005-04-25 15:12  castaglia

	* src/bindings.c:
	  It's possible for pr_ipbind_listen() to be called without any
	  calls to pr_ipbind_create().	The ipbind_pool was being
	  initialized in pr_ipbind_create() if it didn't already exist.
	  pr_ipbind_listen() tries to use ipbind_pool, but did not check to
	  see if ipbind_pool was initialized.  So when pr_ipbind_listen()
	  was called without any prior calls to pr_ipbind_create(), proftpd
	  would segfault.  Oops.

2005-04-24 14:48  castaglia

	* config.h.in:
	  Typo.

2005-04-23 15:54  castaglia

	* modules/mod_delay.c:
	  Have mod_delay log the random value it adds to the delay factor,
	  at debug level 10.  Is this where the extra-long delays are
	  coming from?	Perhaps...

2005-04-23 11:03  castaglia

	* contrib/mod_quotatab.c:
	  More formatting tweaks for mod_quotatab's display in response to
	  a SITE QUOTA command.

2005-04-23 09:13  castaglia

	* contrib/mod_quotatab.c:
	  Fix minor formatting/spacing issue seen when QuotaDisplayUnits is
	  set to something other than 'b' and the number of units to be
	  displayed is not "unlimited".

2005-04-23 08:53  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2596 - STAT command can cause segfault.

2005-04-22 09:26  castaglia

	* contrib/mod_sql.c:
	  Be consistent in the style/formatting of the "cache hit for"
	  messages by quoting the group name, too.

2005-04-21 10:58  castaglia

	* NEWS, modules/Makefile.in:
	  Bug#2593 - `make install-modules' does not honour DESTDIR
	  enviroment variable.

2005-04-21 10:33  jwm

	* .cvsignore, lib/libltdl/.cvsignore: update for libtool

2005-04-21 10:08  jwm

	* modules/.cvsignore: - ignore libtool-generated files -
	  mod_linuxprivs is gone

2005-04-17 10:12  castaglia

	* NEWS, modules/mod_delay.c, modules/mod_xfer.c:
	  Bug#2590 - AIX uses unsigned int for ULONG_MAX, causing printf
	  format warning Bug#2591 - wrong argument type in call to
	  pr_log_debug in mod_delay.c on AIX

2005-04-15 14:18  castaglia

	* NEWS, src/dirtree.c:
	  Bug#2587 - HideNoAccess does not work for DefaultRoot/<Anonymous>
	  logins.

2005-04-14 22:55  castaglia

	* include/: auth.h, compat.h, conf.h, log.h:
	  Add a header whose role is to hold preprocessor directives for
	  backward compatibility.  Function renames, macro changes, etc,
	  that sort of thing.

2005-04-11 10:02  castaglia

	* NEWS, contrib/mod_sql_postgres.c:
	  Bug#2584 - mod_sql_postgres missing end-of-comment character.

2005-04-11 09:47  castaglia

	* include/version.h:
	  Update version.

2005-04-10 16:21  castaglia

	* NEWS:
	  Updating release date for 1.3.0rc1.

2005-04-10 16:19  castaglia

	* src/data.c:
	  As per comments in Bug #2509, it seems that Linux x86_64
	  environments do not support sendfile() for more than 2^31 bytes.
	  I don't know if Solaris suffers from the same design.

	  Have I ever mentioned how much I find the sendfile API to be
	  broken?

2005-04-10 16:15  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#2554 - mod_delay gets segfault-signal on several logins.

2005-04-04 13:40  castaglia

	* NEWS, modules/mod_auth_unix.c:
	  Bug#2580 - ProFTPD on Tru64 with SIA allows login with blank
	  password.

2005-03-26 13:10  castaglia

	* NEWS, include/version.h, contrib/dist/rpm/proftpd.spec,
	  ChangeLog:
	  Preparing for release of 1.3.0rc1.

2005-03-26 12:53  jwm

	* RELEASE_NOTES: mod_ldap is now 2.8.15

2005-03-26 12:48  castaglia

	* RELEASE_NOTES:
	  Updating release notes, preparing for release of 1.3.0rc1.

2005-03-25 08:41  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2493 - mod_tls should support CCC command.

2005-03-18 10:25  castaglia

	* NEWS, src/support.c:
	  Bug#2576 - PWD command does not handle " character properly.

2005-03-16 23:12  castaglia

	* modules/mod_auth.c:
	  Call PRIVS_ROOT before PRIVS_REVOKE, to make absolutely sure that
	  the real and effective UIDs are as needed in order for privs
	  revocation to work.

2005-03-16 08:16  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2551 - Recursive LIST with symlinked directories gives
	  duplicate results.

2005-03-15 22:16  castaglia

	* modules/mod_ls.c:
	  Cruft removal.

2005-03-12 09:36  castaglia

	* modules/mod_ls.c:
	  Fix an unreported bug where attempting to use the -t directory
	  listing option would trigger a segfault.

2005-03-11 12:44  jwm

	* contrib/mod_ldap.c: [no log message]

2005-03-08 09:06  castaglia

	* NEWS, src/pool.c:
	  Bug#2567 - Segmentation fault with 64-bit binary due to structure
	  layout difference.

2005-03-05 22:03  castaglia

	* contrib/mod_quotatab.c:
	  More consistent log messages.

2005-03-05 15:02  castaglia

	* contrib/mod_quotatab.c:
	  Fixed quotatab_fsio_write() to check the xfer limit as well as
	  the upload limit.

2005-03-05 14:55  castaglia

	* NEWS, contrib/mod_quotatab.c:
	  Bug#2515 - mod_quotatab should enforce hard limits at the
	  filesystem level.

2005-03-05 09:46  castaglia

	* NEWS, contrib/mod_tls.c, modules/mod_auth.c, src/auth.c:
	  Bug#2164 - Support non-PASS response codes.

2005-03-05 09:33  castaglia

	* NEWS, src/inet.c:
	  Bug#2559 - IPv6 socket option should be set for ServerType inetd.

2005-03-04 09:01  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug #2573 - TLSProtocol directive in proftpd.conf is ignored.

2005-03-02 12:33  castaglia

	* modules/mod_delay.c:
	  Allow for <IfClass>-based tweaks of the DelayEngine directive.

2005-02-27 18:50  castaglia

	* README.DSO:
	  Mention the DSO howto.

2005-02-27 11:23  castaglia

	* README.modules:
	  List mod_facl in the modules README.

2005-02-27 11:21  castaglia

	* README.facl:
	  Fleshing out the POSIX ACL doc.

2005-02-27 09:46  castaglia

	* README.DSO:
	  Update the DSO doc with information on where to find more
	  documentation for the mod_dso module.

2005-02-26 18:37  castaglia

	* README.DSO:
	  Adding more substance to the DSO doc.

2005-02-26 12:22  castaglia

	* RELEASE_NOTES:
	  Mention the new --enable-facl configure option, mod_facl module
	  in the release notes.

2005-02-26 09:55  castaglia

	* src/fsio.c:
	  Fix missing variable declaration.

2005-02-26 09:39  castaglia

	* configure:
	  Updating configure.

2005-02-26 09:28  castaglia

	* NEWS, README.facl, config.h.in, configure.in, include/conf.h,
	  include/dirtree.h, include/fsio.h, include/privs.h,
	  include/proftpd.h, include/support.h, modules/mod_auth.c,
	  modules/mod_facl.c, modules/mod_ls.c, src/dirtree.c, src/fsio.c,
	  src/main.c, src/support.c:
	  Bug #2331: Proftpd does not honor POSIX ACLs.

2005-02-24 18:01  castaglia

	* NEWS, contrib/mod_sql_mysql.c:
	  Bug #2563: Linking fails on Solaris with libz and libmysqlclient.

2005-02-24 16:00  castaglia

	* ChangeLog:
	  Updated ChangeLog.

2005-02-15 13:54  jwm

	* contrib/dist/rpm/proftpd.spec: i don't have access to red hat
	  machines anymore, so i'm no longer maintaining this

2005-02-07 10:15  castaglia

	* include/inet.h, src/inet.c:
	  Use "const char *" where appropriate.

2005-02-04 15:54  castaglia

	* NEWS, src/fsio.c:
	  Bug#2556: Rename of directory across devices fails.

2005-01-25 11:30  castaglia

	* NEWS, lib/libcap/cap_sys.c:
	  Bug#2503 - Bundled libcap library does not compile on IA64
	  machine.

2005-01-12 16:19  castaglia

	* modules/mod_ls.c:

	  The fix for Bug #2229 (rev 1.119 of modules/mod_ls.c)
	  inadvertently broke globbing; it was calling globfree(3) on a
	  struct whose members had been allocated from memory that was not
	  obtained via glob(3).  This is a bad combination.

2005-01-06 15:39  castaglia

	* contrib/mod_load/mod_load.c.in, contrib/mod_radius.c,
	  modules/mod_delay.c:
	  Fix compiler warnings (generated by gcc-3.4.2 on an AMD64 machine
	  running Linux 2.6.9).

2005-01-06 10:55  castaglia

	* src/bindings.c:
	  Fix segfault caused by a NULL listener_list.

2005-01-02 21:36  castaglia

	* doc/howto/Stopping.html:
	  Updating FAQ URL.

2005-01-02 16:21  castaglia

	* INSTALL:
	  Apparently configure scripts don't pass env vars very well to
	  sub-configure scripts.

2005-01-02 13:00  jwm

	* lib/glibc-hstrerror.c: silence ranlib's 'object contains no
	  symbols' warning if the host OS already has hstrerror()

2005-01-02 00:01  castaglia

	* RELEASE_NOTES:
	  Make a note to describe the addition of mod_delay to the module
	  list.

2005-01-01 12:15  castaglia

	* doc/contrib/mod_load.html:
	  Updating the mod_load docs to mention the provided Display
	  variables.

2005-01-01 12:06  castaglia

	* doc/howto/DisplayFiles.html:
	  Mention that other modules can add their own Display variables.

2005-01-01 12:04  castaglia

	* contrib/mod_load/mod_load.c.in:
	  Enhance mod_load to use the Variables API.

2005-01-01 11:42  castaglia

	* contrib/mod_load/configure:
	  Updating configure.

2005-01-01 11:41  castaglia

	* doc/contrib/mod_load.html:
	  Eliminated the need for Solaris users to do anything special when
	  building mod_load; its configure script handles everything.

2005-01-01 11:39  castaglia

	* contrib/mod_load/: configure.in, getloadavg.c, mod_load.c,
	  mod_load.c.in:
	  Modified the configure script to detect when additional libraries
	  are needed, and to generate mod_load.c from mod_load.c.in, with
	  the $Libraries$ tag properly populated.

	  Note that newer autoconf treatment of the AC_FUNC_GETLOADAVG
	  macro requires that a getloadavg.c file be present, even if
	  empty.  How annoying.

2005-01-01 11:13  castaglia

	* contrib/mod_load/mod_load.c:
	  No need for mod_load's getloadavg() function to be visible
	  outside of the source file.

2005-01-01 11:02  castaglia

	* contrib/mod_load/mod_load.c:
	  Fix some compiler warnings about formats.

	  Add an empty $Libraries$ tag.  Soon, mod_load's configure script
	  will process the mod_load source, and substitute in a list of
	  libraries that mod_load conditionally requires (e.g. libkstat on
	  Solaris).

2005-01-01 10:55  castaglia

	* contrib/mod_load/mod_load.c:
	  Slightly prettier code organization.

2005-01-01 10:49  castaglia

	* contrib/mod_load/mod_load.c:
	  Updating mod_load source style.

2005-01-01 10:42  castaglia

	* doc/contrib/index.html:
	  Update doc/contrib index to include mod_load reference.

2005-01-01 10:40  castaglia

	* README.modules, RELEASE_NOTES:
	  Add mod_load to the list of modules.

2005-01-01 10:37  castaglia

	* NEWS, contrib/mod_load/Makefile.in, contrib/mod_load/configure,
	  contrib/mod_load/configure.in, contrib/mod_load/mod_load.c,
	  contrib/mod_load/mod_load.h.in, doc/contrib/mod_load.html:
	  Bug#1651 - Add contrib module to limit connection acceptance
	  based on system load.

2005-01-01 10:36  castaglia

	* configure:
	  Updating configure.

2005-01-01 10:20  castaglia

	* modules/Makefile.in:
	  Fix the install target when handling only shared modules that
	  install themselves.

2004-12-31 19:02  castaglia

	* .autom4te.cfg, Make.rules.in, Makefile.in, NEWS, configure.in,
	  modules/Makefile.in:
	  Bug#2549 - Allow contrib modules to be built from multiple source
	  files.

2004-12-31 11:17  castaglia

	* doc/howto/FTP.html:
	  Updating the list of SITE commands supported by ProFTPD.

2004-12-31 10:55  castaglia

	* doc/howto/FTP.html:
	  Updating the list of FTP commands supported by ProFTPD.

2004-12-30 15:08  castaglia

	* contrib/mod_sql_mysql.c:
	  Log if mod_sql_mysql fails to authenticate a password using the
	  'backend' SQLAuthType because of a password mismatch.

2004-12-30 14:51  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2541 - <Directory ~user> path resolved at startup time,
	  rather than at session time.

2004-12-30 14:23  castaglia

	* NEWS, modules/mod_delay.c:
	  Bug#2540 - Fails to disable mod_delay if no DelayTable file
	  exists.

2004-12-23 12:17  castaglia

	* modules/: mod_auth.c, mod_core.c, mod_log.c:
	  More prettification of error messages.

2004-12-23 11:55  castaglia

	* contrib/mod_sql.c:
	  Makes for nicer error messages.

2004-12-22 22:58  castaglia

	* INSTALL:
	  Updating the installation notes.

2004-12-17 15:14  castaglia

	* modules/Makefile.in:
	  Make the Makefile for the modules/ directory nicer, so that when
	  developing shared modules within the source directory, make picks
	  up on the updated source file and does The Right Thing.

2004-12-17 13:56  castaglia

	* modules/mod_dso.c:
	  Avoid compiler warning about unused function.

2004-12-17 10:24  castaglia

	* NEWS, contrib/mod_ifsession.c:
	  Bug#2536 - mod_ifsession does not properly merge in all
	  directives.

2004-12-16 17:58  castaglia

	* src/sets.c:
	  Update xaset_insert_end() so that it updates the 'next' field of
	  the previous member in the set.

2004-12-16 17:25  castaglia

	* contrib/mod_ifsession.c:
	  Hide some of the label strings used by mod_ifsession by prefacing
	  their names with an underscore.  Such names are not displayed by
	  pr_config_dump().

2004-12-16 16:03  castaglia

	* contrib/mod_ldap.c:
	  Typo.

2004-12-16 15:54  castaglia

	* contrib/mod_ctrls_admin.c:
	  Support being unloaded as a shared module.

2004-12-16 15:37  castaglia

	* contrib/mod_rewrite.c:
	  Support being unloaded as a shared module.

2004-12-16 15:26  castaglia

	* contrib/mod_radius.c:
	  Add code to support being unloaded as a shared module.

2004-12-16 14:55  castaglia

	* contrib/: mod_quotatab.c, mod_quotatab.h, mod_quotatab_file.c,
	  mod_quotatab_ldap.c, mod_quotatab_sql.c:
	  Add a new quotatab_unregister_backend() function to the
	  mod_quotatab API, and rename quotatab_register() to
	  quotatab_register_backend().	This makes it consistent with
	  mod_sql's backend API, and also makes it possible to unregister a
	  quotatab backend module.

	  Adds support for graceful unloading of mod_quotatab et al as
	  shared modules.

2004-12-16 11:38  castaglia

	* contrib/mod_tls.c:
	  Add code to mod_tls to support being unloaded as a shared module.

2004-12-16 10:33  castaglia

	* modules/mod_dso.c, src/main.c:
	  Rather than having the core engine unload modules during a
	  restart, have them unloaded by mod_dso.  That's only fair, since
	  a) mod_dso was responsible for loading the modules in the first
	  place, and b) mod_dso also handles the unloaded of the handles
	  from libltdl, about which the core engine knows nothing.

2004-12-16 10:17  castaglia

	* contrib/: mod_sql.c, mod_sql_mysql.c, mod_sql_postgres.c:
	  Tweak the SQL modules to better handle being built as shared
	  modules.

2004-12-16 10:13  castaglia

	* src/main.c:
	  During a restart (e.g. SIGHUP), unload all non-static modules,
	  i.e. all shared modules that have been dynamically loaded.  This
	  is to handle the case where an admin removes a LoadModule
	  directive from proftpd.conf, then issues a SIGHUP.

	  Note that this requires changes to shared modules, to make sure
	  they unload themselves properly.  Such changes for the contrib/
	  modules will follow shortly.

2004-12-15 19:01  castaglia

	* include/event.h, src/event.c:
	  Tweak the Event API to allow blanket unregistration of all a
	  module's event listeners in one pr_event_unregister() call.

	  Gracefully avoid a possible segfault during pr_event_register().

2004-12-15 18:30  castaglia

	* src/auth.c:
	  'login' is a global variable somewhere, so compiling under
	  --enable-devel kicks up compiler warnings.

2004-12-15 18:23  castaglia

	* Makefile.in:
	  The shell's test function prefers to operate on single strings,
	  so enclose the expanded $SHARED_MODULE_OBJS list within
	  quotations.

2004-12-15 16:54  castaglia

	* doc/howto/DisplayFiles.html:
	  Updating the DisplayFiles doc with the newly added Display
	  variables.

2004-12-15 16:50  castaglia

	* doc/howto/: DisplayFiles.html, index.html:
	  Adding a doc covering the Display directives.

2004-12-12 15:55  castaglia

	* doc/howto/DSO.html:
	  Grammatical nicety.

2004-12-12 15:03  castaglia

	* doc/howto/ListOptions.html:
	  Updating URL for current location under doc/howto/.

2004-12-12 15:01  castaglia

	* doc/howto/: ListOptions.html, index.html:
	  Adding the ListOptions howto to the source distribution.

2004-12-12 14:57  castaglia

	* RELEASE_NOTES:
	  Update the release notes.

2004-12-12 14:56  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2534 - Add suport for -S ListOption, for sorting files by
	  file size.

2004-12-12 14:00  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2229 - NLST and LIST behave differently e.g. when listing an
	  empty directory.  Make the behavior between LIST and LIST
	  consistent with respect to empty directories, and when listing
	  nonexistent directories.

2004-12-12 13:52  castaglia

	* doc/howto/: DSO.html, index.html:
	  Adding DSO howto to source distribution.

2004-12-12 11:27  castaglia

	* doc/contrib/mod_sql.html:
	  Add documentation for the SQLEngine directive.

2004-12-12 09:53  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql.c:
	  Bug#2406 - Add a SQLEngine directive.

2004-12-11 21:59  castaglia

	* modules/: mod_ctrls.c, mod_site.c:
	  Use the Auth API functions in the 'pr_' namespace.

2004-12-11 16:14  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2027 - Add log message for timed out passive transfers.

2004-12-08 14:30  castaglia

	* doc/contrib/mod_quotatab.html:
	  Explicitly mention that only one type of limit is in effect at a
	  time, and that applicable limits for a given user are not
	  combined.

2004-12-05 00:12  castaglia

	* src/main.c:
	  Yet another place where main_server needs to be set to NULL
	  before calling free_pools().	Only affects servers built using
	  the --enable-devel=nodaemon option.

2004-12-05 00:03  castaglia

	* src/main.c:
	  If main_server is not set to NULL before freeing all of the pools
	  (from which main_server is allocated), segfaults can occur if
	  something tries to log a message.  Note that this only happens if
	  the --enable-devel configure option is used, so it doesn't affect
	  most users.

2004-12-04 23:58  castaglia

	* src/main.c:
	  Properly set session.c and session.d to NULL once we've closed
	  them.

2004-12-04 22:38  castaglia

	* doc/howto/Authentication.html:
	  Correct the RequireValidShell FAQ URL.

2004-12-04 21:50  castaglia

	* include/auth.h, modules/mod_auth.c, src/auth.c:
	  Move that code responsible for looking up the anonymous
	  configuration for a given user name, if applicable, out of
	  mod_auth.c and into the Auth API.  The main reason for this is to
	  allow contrib modules that may need to determine whether a given
	  login is to be handled anonymously (e.g.  mod_wrap, mod_sql) the
	  ability to use the same code as mod_auth, rather than having to
	  duplicate it themselves.  A nice side benefit as that the Auth
	  API function added, pr_auth_get_anon_config(), more legibly
	  describes what the function does.  This will help to make the
	  mod_auth code slightly easier to understand (for some value of
	  "easier").

2004-12-04 20:25  castaglia

	* doc/howto/Limit.html:
	  Add examples of blocking PORT or PASV commands.

2004-12-04 11:17  castaglia

	* doc/howto/: Upgrade.html, index.html:
	  Add an Upgrade mini-HOWTO to doc/howto/.

2004-12-04 01:20  castaglia

	* doc/contrib/mod_quotatab.html:
	  Fix up the links to the quotatab submodule docs.

2004-12-04 01:13  castaglia

	* doc/contrib/mod_quotatab.html:
	  Update the mod_quotatab installation instructions.

2004-12-03 23:52  castaglia

	* contrib/mod_quotatab.c, contrib/mod_quotatab.h,
	  doc/contrib/mod_quotatab.html:
	  Add some Display variables for mod_quotatab:

	    %{mod_quotatab.limit.bytes_in}
	    %{mod_quotatab.limit.bytes_out}
	    %{mod_quotatab.limit.bytes_xfer}
	    %{mod_quotatab.limit.files_in}
	    %{mod_quotatab.limit.files_out}
	    %{mod_quotatab.limit.files_xfer}
	    %{mod_quotatab.tally.bytes_in}
	    %{mod_quotatab.tally.bytes_out}
	    %{mod_quotatab.tally.bytes_xfer}
	    %{mod_quotatab.tally.files_in}
	    %{mod_quotatab.tally.files_out}
	    %{mod_quotatab.tally.files_xfer}

	  These are documented in the mod_quotatab documentation under
	  doc/contrib/.

2004-12-03 23:43  castaglia

	* src/var.c:
	  Pass the exact pointers provided by callers of pr_var_set(),
	  rather than copies of the pointed-to data.

2004-12-03 23:40  castaglia

	* modules/mod_core.c:
	  Reduce complexity of code needed for displaying byte/file
	  Variables by reducing the number of callbacks to two (as opposed
	  to six).

2004-12-03 23:39  castaglia

	* src/display.c:
	  Fix displaying of variables.

2004-12-03 23:02  castaglia

	* RELEASE_NOTES:
	  Mention the new Display variables in the release notes.

2004-12-03 22:59  castaglia

	* NEWS, include/proftpd.h, modules/mod_core.c, modules/mod_xfer.c,
	  src/display.c:
	  Bug#2170 - Add byte count variables, similar to the file count
	  Display variables.

2004-12-03 17:16  castaglia

	* modules/mod_core.c:
	  Handle the case where there's only one name provided in the
	  Allow/Deny rule.

2004-12-02 15:15  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2528 - Incorrect username 'and' parsing in AllowUser.

2004-12-01 17:45  castaglia

	* src/main.c:
	  Close the control and data connections before running any
	  registered 'core.exit' event handlers.

2004-12-01 17:24  castaglia

	* contrib/mod_tls.c:
	  Unregister the NetIO streams registered by mod_tls during its
	  'core.exit' handler.	This prevents segfaults that can happen
	  when a session is exiting (as when ABORting an in-progress data
	  transfer).

2004-12-01 10:08  castaglia

	* contrib/mod_rewrite.c, modules/mod_core.c, modules/mod_xfer.c:
	  Correct a few lingering cases where pr_log_pri() was being called
	  with a log level that wasn't in the PR_ namespace.

2004-11-29 14:28  castaglia

	* src/dirtree.c:
	  Style cleanup.

2004-11-28 16:26  castaglia

	* doc/howto/Debugging.html:
	  Updating URL.

2004-11-25 11:03  jwm

	* modules/mod_delay.c: include signal.h to fix the build under
	  Solaris 8

2004-11-24 12:38  castaglia

	* src/support.c:
	  More old-style exit handler cruft.

2004-11-22 19:43  castaglia

	* src/display.c:
	  Extraneous #include (and at the bottom of a file).

2004-11-22 19:30  castaglia

	* modules/mod_core.c:
	  We were calling pr_display_file() on DisplayQuit files with the
	  arguments in the wrong order.

2004-11-21 22:09  castaglia

	* doc/contrib/mod_ctrls_admin.html:
	  Fix the mod_ctrls_admin documentation.  First, there was a
	  duplicate entry for the 'down' control action.  Second, the
	  'shutdown' entry had gone completely missing.

2004-11-21 21:36  castaglia

	* NEWS:
	  Bug#2510 - Use of ExportCertData TLSOption leads to segfault.

2004-11-21 21:21  castaglia

	* contrib/mod_tls.c:
	  Since we stuff an SSL * in the strm_data slot for each NetIO
	  stream, and there are two streams for a connection, when closing
	  a connection, we want to call tls_end_session() (which ends up
	  freeing that SSL *) only once per connection.  I chose to do this
	  always for the write stream of a connection.	Should help with
	  some of the OpenSSL reference counter issues we've been seeing.

	  This patch is also part of the solution for Bug #2313.

2004-11-21 17:37  castaglia

	* contrib/mod_tls.c:
	  Adding some missing logic; pointers that have been free()'d
	  should always be set to NULL afterwards.

2004-11-21 16:34  castaglia

	* Makefile.in:
	  As per Michael's suggestion, remove the .libs/ directory, and
	  libtool, during the 'distclean' target.

2004-11-21 16:27  castaglia

	* src/support.c:
	  More old-style exit handler cruft.

2004-11-21 16:26  castaglia

	* src/main.c:
	  Straggler run_exit_handlers() call.  Be gone with ye!

2004-11-21 16:21  castaglia

	* include/support.h, src/main.c, src/support.c:
	  No more support for the old-style exit handlers.

2004-11-21 15:36  castaglia

	* modules/mod_delay.c:
	  Allow SIGTERM to interrupt mod_delay.

2004-11-21 12:26  castaglia

	* modules/mod_delay.c:
	  Since mod_delay uses mmap(), any updates it makes to the
	  DelayTable won't be reflected in the mtime field of the file's
	  metadata.  To help alleviate this perception, add a 'core.exit'
	  event handler that explicitly writes out the DelayTable to disk.

	  Fix up some memory problems spotted under valgrind.  Also, if the
	  expected DelayTable is smaller than the current table, make sure
	  we truncate the file.

2004-11-21 11:16  castaglia

	* doc/contrib/mod_ifsession.html:
	  Forgot to list MaxInstances as not being alterable by
	  mod_ifsession.

2004-11-21 11:09  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2520 - Turning on AuthAliasOnly disables MaxClientsPerHost.
	  ProFTPD was not using the TOPLEVEL_CONF macro, as it should have
	  been.

2004-11-20 14:35  castaglia

	* NEWS, include/timers.h, src/main.c, src/timers.c:
	  Bug#2516 - Getting "421 Login Timeout" immediately upon connect.
	  The child processes were inheriting the values of static Timer
	  API variables, including the parent's timer list.  This causes
	  problems when, in the parent process, one of those static
	  variables stops being properly updated.  I'm not convinced that
	  the root cause of this bug has been found, but this patch
	  addresses the problematic behavior, so that at least session
	  processes aren't affected so badly.

2004-11-20 13:20  castaglia

	* src/timers.c:
	  Be a little more paranoid: don't set the indispatch flag until
	  after alarms have been blocked.

2004-11-20 12:38  castaglia

	* README.IPv6:
	  Remove mention of the Bind directive.  We want it gone.

2004-11-20 12:32  castaglia

	* NEWS, README.IPv6, RELEASE_NOTES, include/bindings.h,
	  modules/mod_core.c, src/bindings.c, src/dirtree.c:
	  Bug#2454 - Extend <VirtualHost> to honor multiple addresses.

2004-11-19 19:15  castaglia

	* RELEASE_NOTES:
	  Adding a comment about how use of sendfile() causes download
	  transfer speeds not to be displayable.

2004-11-17 09:58  castaglia

	* doc/howto/Controls.html:
	  Mention that only primary groups, not supplemental groups, are
	  used.

2004-11-17 09:33  castaglia

	* configure:
	  Updating configure.

2004-11-17 09:28  castaglia

	* configure.in:
	  Tweak the configure script to always use our bundled version of
	  getaddrinfo() on HP-UX 11.x, since HP-UX's getaddrinfo() (among
	  many other things) is busted.

2004-11-14 17:39  castaglia

	* README.modules:
	  Updating README.modules.

2004-11-14 16:21  castaglia

	* modules/: mod_core.c, mod_xfer.c:
	  Deny the SIZE command if we're in ASCII mode, as we do for REST.
	  Be sure to add debug logging for both of these cases.

2004-11-14 15:58  castaglia

	* modules/mod_core.c:
	  Check that a scoreboard entry's PID is non-zero before sending
	  the zero signal to that PID.

2004-11-14 15:45  castaglia

	* NEWS, doc/howto/ASCII.html, doc/howto/index.html,
	  modules/mod_xfer.c:
	  Bug#2471 - Restart command (REST) is not working correctly for
	  text files.

2004-11-14 13:03  castaglia

	* doc/howto/: Scoreboard.html, index.html:
	  Adding a ScoreboardFile mini-HOWTO.

2004-11-13 15:01  castaglia

	* ltmain.sh:
	  Increase the max allowed command line length in the libtool
	  script to be 4K.  I'd rather we encounter the system limit before
	  an arbitrarily imposed one.

2004-11-13 14:47  castaglia

	* include/fsio.h, src/fsio.c:
	  Beginnings of support for stackable FSIO layers.  Rather than
	  allowing only a one-to-one mapping between paths and FS objects,
	  this patch allows for one-to-many mappings, linking FS objects
	  together in a linked list for the same path.

	  At present, only the top layer on the stack, for a given FSIO
	  operation, will be used.  I anticipate that it will be the
	  responsibility of the called FSIO handler to decide whether it
	  wants to act as a filter handler, and pass the parameters farther
	  down the stack, or whether it wants to act as a source/sink
	  handler and handle the parameters entirely by itself.  This
	  behavior allows for backward compatibility with existing FSIO
	  modules.

2004-11-13 14:41  castaglia

	* modules/mod_delay.c:
	  Use proper grammar.

2004-11-11 10:58  castaglia

	* RELEASE_NOTES, modules/mod_log.c:
	  Make "SECURE" an alias for "SEC" when configuring ExtendedLog
	  logging classes.

2004-11-10 18:44  castaglia

	* include/table.h, src/main.c, src/table.c:
	  Add a function, pr_table_nalloc(), to the Table API which allows
	  for allocating a table with the given number of chains.
	  Previously, callers would need to call pr_table_alloc(), then
	  pr_table_ctl() to resize the number of chains, and in doing so
	  there would be a slight memory leak.	Now such callers can
	  allocate the number of chains (usually smaller than the default
	  of 32) as they need.

2004-11-10 10:54  castaglia

	* configure:
	  Updating configure.

2004-11-10 10:34  castaglia

	* RELEASE_NOTES:
	  Mention the new UseSendfile directive.

2004-11-10 10:32  castaglia

	* NEWS, configure.in, modules/mod_xfer.c:
	  Bug#2507 - Enable use of sendfile by default.

2004-11-10 10:19  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_tls.c, include/modules.h,
	  modules/mod_log.c:
	  Bug#2518 - Ability to log SSL/TLS commands in an ExtendedLog.

2004-11-09 19:26  castaglia

	* src/timers.c:
	  Prevent callers from providing a negative number of seconds when
	  adding a timer.

2004-11-09 11:17  castaglia

	* NEWS:
	  Add a header to the NEWS file indicating the Bugzilla URL to use
	  for looking up the mentioned bug reports.

2004-11-08 19:07  castaglia

	* modules/mod_delay.c:
	  Use PR_RUN_DIR, not RUN_DIR.

2004-11-08 18:46  castaglia

	* configure:
	  Updating configure.

2004-11-08 18:45  castaglia

	* NEWS:
	  Bug#2480 - Remote users discovery.

2004-11-08 18:41  castaglia

	* configure.in:
	  Make mod_delay one of the default modules.

2004-11-08 18:37  castaglia

	* modules/mod_delay.c, doc/modules/mod_delay.html:
	  Adding mod_delay to the distribution.  Part of Bug #2480.

2004-11-07 17:43  castaglia

	* modules/Makefile.in:
	  Found a case where make(1) was not providing $(RM).  How
	  annoying.

2004-11-06 13:25  castaglia

	* configure:
	  Updating configure.

2004-11-06 13:21  castaglia

	* configure.in:
	  I prefer, if possible, to see the functions checked in
	  alphabetical order.

2004-11-04 21:12  castaglia

	* README.DSO:
	  Adding reminder note.

2004-11-04 16:49  castaglia

	* configure:
	  Updated configure.

2004-11-04 16:43  castaglia

	* configure.in, config.h.in:
	  Check for the fdatasync(2) function.

2004-11-04 14:48  castaglia

	* NEWS, include/data.h, modules/mod_xfer.c, src/data.c:
	  Bug#2509 - sendfile() usage fails with > 2GB files.

2004-11-04 14:17  castaglia

	* doc/GetConf:
	  Removing crufty old file.

2004-11-04 11:25  castaglia

	* configure:
	  Updating configure.

2004-11-04 11:11  castaglia

	* config.h.in, configure.in:
	  Add checks for iconv() and nl_langinfo(), which will be needed
	  for i18n support.

2004-11-03 12:11  castaglia

	* doc/contrib/index.html:
	  Adding an index to the doc/contrib/ directory.

2004-11-03 11:37  castaglia

	* doc/contrib/: ftpasswd.html, ftpquota.html, mod_ctrls_admin.html,
	  mod_ifsession.html, mod_quotatab.html, mod_quotatab_file.html,
	  mod_quotatab_ldap.html, mod_quotatab_sql.html, mod_radius.html,
	  mod_rewrite.html, mod_site_misc.html, mod_sql.html, mod_tls.html,
	  mod_wrap.html:
	  Moving the HTML documentation from contrib/ to doc/contrib/.

2004-11-03 11:37  castaglia

	* contrib/: ftpasswd.html, ftpquota.html, mod_ctrls_admin.html,
	  mod_ifsession.html, mod_quotatab.html, mod_quotatab_file.html,
	  mod_quotatab_ldap.html, mod_quotatab_sql.html, mod_radius.html,
	  mod_rewrite.html, mod_site_misc.html, mod_sql.html, mod_tls.html,
	  mod_wrap.html:
	  Moving the HTML documentation from contrib/ into doc/contrib/.

2004-11-03 08:53  castaglia

	* modules/: mod_auth_pam.c, mod_core.c, mod_ls.c, mod_xfer.c:
	  Removing deprecated directives.

2004-11-03 08:44  castaglia

	* contrib/mod_sql.c:
	  Cleaning up the style of code in mod_sql.  It still needs work,
	  as it's inconsistent and thus harder to read and maintain.

2004-11-02 19:18  castaglia

	* config.h.in, configure.in:
	  Check for, and record, the size of a size_t.

2004-11-02 17:54  castaglia

	* include/table.h, src/table.c:
	  When removing keys and entries from the table, rather than
	  destroying their pools, add them to free lists, associated with
	  the table itself.  Check these free lists when adding new keys
	  and entries.	Thus the total memory for a table is proportional
	  to the total number of entries ever used at one time, and we
	  don't have as much memory churn from the destroying of pools.
	  The pool members of the key and entry structs have thus been
	  removed.

	  Also handle signals while iterating through the table chains in
	  pr_table_empty().

2004-11-02 16:40  castaglia

	* include/default_paths.h:
	  Remove an unused macro, and its accompanying crufty comment.

2004-11-02 10:18  castaglia

	* config.h.in, configure.in, contrib/mod_ctrls_admin.c,
	  contrib/mod_radius.c, include/conf.h, include/default_paths.h,
	  include/mod_ctrls.h, include/netaddr.h, include/scoreboard.h,
	  modules/mod_auth.c, modules/mod_auth_unix.c, modules/mod_core.c,
	  modules/mod_ctrls.c, modules/mod_dso.c, src/ctrls.c,
	  src/dirtree.c, src/ftpdctl.c, src/inet.c, src/log.c, src/main.c,
	  src/netacl.c, src/netaddr.c, src/scoreboard.c, src/support.c,
	  utils/ftpcount.c, utils/ftpshut.c, utils/ftptop.c,
	  utils/ftpwho.c, utils/scoreboard.c, utils/utils.h:
	  Moving many of the macros defining default paths into the 'PR_'
	  namespace.  This isn't an issue now, but will become one when
	  proftpd installs its header files into the production location,
	  which will allow DSO modules to be built outside of the proftpd
	  source tree.	When that happens, the likelihood of symbol
	  collisions between ProFTPD macros/names and other files
	  increases.

2004-11-01 20:01  castaglia

	* Makefile.in:
	  No need to invoke modules/Makefile's 'shared-modules' target if
	  there are no shared module to build.

2004-11-01 19:35  castaglia

	* Makefile.in, lib/Makefile.in, modules/Makefile.in:
	  More tweaks to get builds using just --with-modules to work
	  again.

2004-11-01 19:23  castaglia

	* configure:
	  Updating configure.

2004-11-01 19:15  castaglia

	* Makefile.in, configure.in, lib/Makefile.in, modules/Makefile.in:
	  Need to properly handle the case where the user might specify
	  --with-modules, and no --with-shared.  In this case, the
	  $(SHARED_MODULE_OBJS) variable will be empty, which was not being
	  handled.

2004-11-01 09:48  castaglia

	* NEWS, README.DSO:
	  Mention the addition of DSO support in NEWS, and start on an
	  accompanying README.DSO.  There will eventually appear a DSO
	  mini-HOWTO as well.

2004-11-01 09:42  castaglia

	* configure:
	  Updating configure.

2004-11-01 09:38  castaglia

	* Make.rules.in, Makefile.in, configure.in, modules/Makefile.in:
	  Adding support for a --with-shared configure option, for building
	  DSO (aka shared) modules.

2004-11-01 09:30  castaglia

	* modules/mod_dso.c:
	  Calling lt_dlexit() in a 'core.exit' event handler caused proftpd
	  to segfault when shutting down.  All of the stashed module *m
	  pointers for dynamically loaded modules become invalid after a
	  call to lt_dlexit(), and those pointers can be used after
	  mod_dso's exit handler.  The solution (though not clean) is to
	  not call lt_dlexit().

2004-11-01 09:21  castaglia

	* src/display.c:
	  Bad reuse of variable name.

2004-11-01 09:12  castaglia

	* include/var.h:
	  Forgot to declare the pr_var_delete() function.

2004-10-31 14:39  castaglia

	* modules/mod_dso.c:
	  The dso_unload_module() function is only used if the 'rmmod'
	  control action is used, which means that it requires Controls
	  support.  Otherwise, we don't need it.

2004-10-31 14:36  castaglia

	* modules/mod_dso.c:
	  Remove an unnecessary function.

2004-10-31 14:27  castaglia

	* modules/mod_core.c:
	  Report the line number of the <IfDefine>, <IfModule> sections
	  used or skipped.

2004-10-31 14:26  castaglia

	* include/parser.h, src/parser.c:
	  Add a function to the Parser API for getting the current line
	  number.  This is useful for better reporting.

2004-10-31 14:11  castaglia

	* modules/mod_dso.c:
	  Some of the loop variables are only used if Controls support is
	  enabled.

2004-10-31 14:03  castaglia

	* configure:
	  Updating configure.

2004-10-31 14:00  castaglia

	* aclocal.m4:
	  Update our local autoconf macros, specifically those dealing with
	  libtool.  This should fix the warning:

	    libtool: link: warning: `AC_LIBTOOL_DLOPEN' not used. Assuming
	  no dlopen support.

	  that I was seeing.

2004-10-31 13:22  castaglia

	* src/table.c:
	  Quell a compiler warning about "use of cast expressions as
	  lvalues" by being explicit.

2004-10-31 13:06  castaglia

	* config.h.in, include/conf.h:
	  The configure script was checking for <inttypes.h>, but we were
	  not recording whether it was present or not, or including the
	  header if it was present.  Shame on us.

2004-10-31 12:58  castaglia

	* modules/Makefile.in:
	  The building of modules should require the libltdl header or
	  library.  Just libtool to handle the linking.

2004-10-31 12:56  castaglia

	* src/main.c:
	  Add the display of PR_TUNABLE_RCVBUFSZ, PR_TUNABLE_SNDBUFSZ to
	  the -V output.

2004-10-31 12:49  castaglia

	* configure:
	  Updating configure.

2004-10-31 12:46  castaglia

	* configure.in, Makefile.in:
	  Attempting to get a DSO-enabled proftpd to link properly on
	  platforms other than Linux by linking with libltdl as an object
	  file, rather than linking against it as a library.

2004-10-31 12:24  castaglia

	* modules/mod_log.c:
	  Since we're using %ld as a format, explicitly cast the value as a
	  long int, rather than as a time_t.

2004-10-31 12:19  castaglia

	* configure:
	  Updating configure.

2004-10-31 12:16  castaglia

	* Make.rules.in, configure.in:
	  Let's move the definition of HAVE_CONFIG_H into Make.rules.  The
	  ordering of HAVE_CONFIG_H in the flags is therefore nicer.

2004-10-31 12:13  castaglia

	* configure:
	  Updating configure.

2004-10-31 12:11  castaglia

	* configure.in:
	  Define HAVE_CONFIG_H when compiling proftpd.	Some of the files
	  under lib/ require this, in order to pull in <config.h>, and
	  subsequently some of the system headers needed.

2004-10-31 12:06  castaglia

	* lib/Makefile.in:
	  If LIB_DEPS happens to be the empty string (as needed for
	  Solaris), provide a target for it which does nothing.  Otherwise
	  make will be cranky.

2004-10-31 12:01  castaglia

	* configure:
	  Updating configure.

2004-10-31 11:58  castaglia

	* src/var.c:
	  Quell a compiler warning about a label with no expressions.

2004-10-31 11:57  castaglia

	* config.h.in, configure.in:
	  Check for the <string.h> header.

2004-10-31 11:54  castaglia

	* configure:
	  Updating configure.

2004-10-31 11:51  castaglia

	* configure.in:
	  Initialize the socket buffer sizes, just to be safe.

2004-10-31 11:37  castaglia

	* RELEASE_NOTES, include/version.h:
	  As Daniel noted, it should be "1.3.0", not just "1.3".

2004-10-31 11:35  castaglia

	* configure:
	  Updating configure.

2004-10-31 11:31  castaglia

	* configure.in:
	  Bourne shell tests on Solaris don't like testing empty values;
	  they prefer the empty string if nothing else.

2004-10-31 11:12  castaglia

	* configure:
	  Updating configure.

2004-10-31 11:09  castaglia

	* config.h.in, configure.in, include/options.h, src/data.c,
	  src/dirtree.c:
	  First, fix a bug where session.xfer.buf was allocated as
	  PR_TUNABLE_BUFFER_SIZE, rather than PR_TUNABLE_XFER_BUFFER_SIZE.

	  Next, try to be smarter about the default value for
	  PR_TUNABLE_XFER_BUFFER_SIZE.	The configure script now runs a
	  small test program that uses getsockopt(2) to determine the sizes
	  of a TCP socket's send and receive buffers.  The smaller of the
	  two buffer sizes is used as the default value for
	  PR_TUNABLE_XFER_BUFFER_SIZE; the --enable-transfer-buffer-size
	  option will override this test.  The test program also records
	  those send/receive buffer sizes in PR_TUNABLE_RCVBUFSZ and
	  PR_TUNABLE_SNDBUFSZ, which were previously hardcoded to be 8K.

2004-10-31 11:03  castaglia

	* modules/mod_xfer.c, src/data.c:
	  Style nits: struct stat variables should be named 'st', and the
	  'xlate' name for the ASCII handling routines is not appropriate
	  in light of the i18n translation we will be needing.	It's more
	  of a transformation, really.

2004-10-31 10:53  castaglia

	* NEWS:
	  Updating NEWS.

2004-10-31 10:53  castaglia

	* Make.rules.in, include/conf.h, include/display.h,
	  include/modules.h, include/var.h, modules/mod_auth.c,
	  modules/mod_core.c, src/display.c, src/main.c, src/var.c:
	  Bug#2701 - Add Variables API.

	  This also separates the code used for handling Display* files
	  into its own file; src/main.c was calling into modules/mod_core.c
	  for that function, which is bad design.  Core code should not be
	  using functions implemented in modules.

2004-10-31 10:45  castaglia

	* config.h.in, configure.in, src/main.c:
	  Make sure that if --enable-dso is used, it shows up when the -V
	  command-line option is used.

2004-10-30 19:14  castaglia

	* RELEASE_NOTES:
	  Updating the release notes.  These still need some work.

2004-10-30 18:57  castaglia

	* src/inet.c:
	  Typo.

2004-10-30 18:39  castaglia

	* src/parser.c:
	  Update the license to reflect the proper original copyright
	  holder(s).

2004-10-30 18:32  castaglia

	* Make.rules.in, contrib/mod_ifsession.c, include/conf.h,
	  include/dirtree.h, include/parser.h, modules/mod_core.c,
	  src/dirtree.c, src/main.c, src/parser.c:
	  Separating the parser code out from src/dirtree.c into its own
	  file, src/parser.c, with a proper header file documenting the API
	  (include/parser.h).  Update the rest of the core code to use the
	  new API as needed.

2004-10-30 17:57  castaglia

	* contrib/mod_ifsession.c:
	  There is not enough information to call resolve_deferred_dirs()
	  at session init time.  This function is usually for expanding the
	  tilde in path names, and at session init time, we don't know the
	  user name for expansion.

2004-10-30 16:18  castaglia

	* src/main.c:
	  Use pr_auth_getgroups(), not auth_getgroups().

2004-10-30 16:16  castaglia

	* contrib/mod_tls.c, contrib/mod_wrap.c, src/dirtree.c, src/fsio.c,
	  src/support.c:
	  Use the Auth API functions in the 'pr_' namespace.

2004-10-30 16:14  castaglia

	* modules/mod_core.c:
	  Use the Auth API functions in the 'pr_' namespace rather than
	  relying on the compatibility macros.

2004-10-30 15:11  castaglia

	* configure:
	  Updating configure.

2004-10-30 15:06  castaglia

	* configure.in:
	  Tweaking the configure script a bit, providing more complete path
	  information in flags, etc.  Not really needed for the default
	  build process which we all know and love, but will become
	  necessary when building DSO modules.

2004-10-30 14:55  castaglia

	* src/timers.c:
	  This struct is no longer typedef'd.

2004-10-30 14:01  castaglia

	* include/timers.h:
	  Include some redefines for supporting legacy modules that may not
	  have been updated to use the 'pr_' namespace Timer API.

2004-10-30 13:57  castaglia

	* contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c,
	  contrib/mod_tls.c, modules/mod_ctrls.c:
	  Update the contrib/ modules to use the Timer API in the 'pr_'
	  namespace (and mod_ctrls, too).

2004-10-30 13:45  castaglia

	* include/timers.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_xfer.c, src/data.c, src/ident.c, src/inet.c,
	  src/main.c, src/timers.c:
	  Moving the Timer API into the 'pr_' namespace.

2004-10-30 13:44  castaglia

	* include/ftp.h:
	  In the near future, a module will implement support for RFC2640's
	  LANG command.

2004-10-30 13:42  castaglia

	* include/version.h:
	  With the addition of DSO support, ProFTPD is now moving into the
	  1.3.x series.  Whee!

2004-10-29 15:56  castaglia

	* ltmain.sh:
	  Yet another bug in GNU's ltmain.sh script -- yet another
	  undeclared variable.

2004-10-29 15:33  castaglia

	* doc/modules/mod_dso.html:
	  Typo (spotted by Michael).

2004-10-29 15:23  castaglia

	* doc/modules/mod_dso.html:
	  Adding documentation for mod_dso.

2004-10-29 14:46  castaglia

	* src/event.c:
	  As a comment to myself indicated, it is necessary to pstrdup()
	  the name of the event for which a listener is being registered,
	  rather than stashing a pointer to the given name directly.  This
	  was causing a segfault when the pointer to the name given was
	  part of a dynamically loaded module.

2004-10-29 12:17  castaglia

	* modules/mod_core.c:
	  The DebugLevel configuration handler was not recognizing 10 as a
	  valid debug level.

2004-10-29 09:08  castaglia

	* doc/modules/mod_ctrls.html:
	  Grammar fix.

2004-10-29 08:29  castaglia

	* modules/mod_dso.c:
	  Removing debugging cruft.

2004-10-29 08:21  castaglia

	* configure:
	  Updating configure.

2004-10-28 23:01  castaglia

	* lib/libltdl/Makefile.in:
	  Disable the actions that try to use autoheader and automake.
	  These aren't installed on every system, and we don't really use
	  them.

2004-10-28 22:51  castaglia

	* configure.in, lib/Makefile.in:
	  Only configure, build, and clean the libltdl/ directory if
	  --enable-dso is selected.  Otherwise, let the build proceed as
	  usual, and let the normal 'clean' target work without throwing an
	  error.

2004-10-28 22:33  castaglia

	* configure:
	  Updating configure.

2004-10-28 22:28  castaglia

	* Make.rules.in, Makefile.in, config.h.in, configure.in,
	  include/default_paths.h, lib/Makefile.in, modules/Makefile.in:
	  More DSO support changes.

2004-10-28 22:21  castaglia

	* ltmain.sh, modules/mod_dso.c:
	  Adding a (slightly modified) copy of ltmain.sh, which is
	  responsible for creating the libtool executable.  Also adding
	  mod_dso.c.  All part of the preparations for adding DSO support
	  to ProFTPD.

2004-10-28 22:19  castaglia

	* aclocal.m4:
	  Adding GNU libtool M4 definitions to our aclocal.m4.

2004-10-28 22:17  castaglia

	* lib/libltdl/: COPYING.LIB, Makefile.am, Makefile.in, README,
	  acinclude.m4, aclocal.m4, config-h.in, config.guess, config.sub,
	  configure, configure.ac, install-sh, ltdl.c, ltdl.h, ltmain.sh,
	  missing:
	  Adding GNU libtool's libltdl files to ProFTPD.

2004-10-28 18:10  castaglia

	* modules/mod_core.c:
	  The checks for <IfDefine>, </IfDefine>, <IfModule>, and
	  </IfModule>, within the respective directive handlers, need to be
	  case-insensitive.

2004-10-28 12:11  castaglia

	* NEWS, utils/ftptop.c:
	  Bug#2484 - Better ftptop formatting.

2004-10-26 18:49  castaglia

	* modules/mod_xfer.c:
	  Typo.

2004-10-26 16:24  castaglia

	* include/dirtree.h, include/modules.h, include/proftpd.h,
	  modules/mod_site.c, modules/mod_xfer.c, src/main.c,
	  src/modules.c:
	  Removing old privdata_t structures in favor of table entries,
	  using the new Table API.

2004-10-26 15:28  castaglia

	* configure:
	  Updating configure.

2004-10-26 15:19  castaglia

	* config.h.in, configure.in:
	  Define CONFIG_DIR to point to the hardcoded directory containing
	  the proftpd.conf file.

2004-10-26 15:14  castaglia

	* Make.rules.in, include/conf.h, include/table.h, src/table.c:
	  Adding the Table API source.

2004-10-19 18:32  castaglia

	* contrib/mod_tls.c:
	  It is possible for SSL_read() to return SSL_ERROR_WANT_WRITE as
	  well, so handle that case the same way as handling
	  SSL_ERROR_WANT_READ: select() on the socket until it is available
	  for writing, then call SSL_read() again.

	  Note that this happens (ideally) only when a renegotiation is
	  occuring on the underlying SSL session.  So set the
	  SSL_MODE_AUTO_RETRY mode too (if the OpenSSL version supports
	  it), which will hopefully keep renegotiations from causing
	  SSL_read() to return SSL_ERROR_WANT_WRITE.

2004-10-18 09:42  castaglia

	* modules/mod_xfer.c:
	  A few cases where log_pri() was being used, rather than
	  pr_log_pri().

2004-10-17 16:42  castaglia

	* doc/howto/Directory.html:
	  Mention using quotations to enclose directory paths that contain
	  spaces.

2004-10-17 16:29  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#1965 - Change timing of handling of QUIT command.

2004-10-17 12:09  castaglia

	* contrib/mod_sql.c:
	  Extraneous redeclaration of a variable.

2004-10-17 10:47  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Fixing bad reuse of variable name from outer scope.

2004-10-16 18:21  castaglia

	* RELEASE_NOTES:
	  Mention the new MaxConnectionsPerHost directive in the release
	  notes.

2004-10-16 18:10  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2273 - Ability to limit number of unauthenticated clients
	  from a single host.

2004-10-15 17:43  castaglia

	* NEWS, modules/mod_auth_pam.c:
	  Bug#2497 - Users can login without password if pam_start() fails.

2004-10-15 10:07  castaglia

	* NEWS, src/auth.c, src/dirtree.c:
	  Bug#2499 - make_cmd() does not NULL-terminate cmd->argv[].

2004-10-14 19:43  castaglia

	* modules/mod_auth.c:
	  Move the handling of the AccessGrantMsg and DisplayLogin
	  directives into the POST_CMD handler for PASS, rather than in the
	  CMD handler.	This is aesthetically where such handling should
	  occur, and it makes it possible for future enhancements where
	  contrib modules can add their own variables to be interpolated
	  into the DisplayLogin file.

2004-10-11 20:07  castaglia

	* src/inet.c:
	  Nicer error message.

2004-10-11 10:03  castaglia

	* src/bindings.c:
	  Avoid an infinite loop problem with Bind is used by stashing
	  pointers to the bindings to use, when accepting a client
	  connection, in an array_header, rather than overloading the
	  'next' field in the conn_t struct.

2004-10-11 09:33  castaglia

	* src/dirtree.c:
	  Fix case where the config tree was not dumped if the server_rec
	  had an empty set of config_recs.  The name of the server_rec
	  should still be dumped in such cases.

2004-10-09 15:34  castaglia

	* doc/howto/TLS.html:
	  Update link to FTPS Draft.

2004-10-09 15:24  castaglia

	* src/dirtree.c:
	  The parser internals are crufty, and are in need of rewriting and
	  prettification.  Until then, make the code a little more legible
	  (to me, at least).

2004-10-09 13:46  castaglia

	* NEWS, include/inet.h, include/netio.h, src/data.c, src/inet.c,
	  src/netio.c:
	  Bug#2494 - ABOR problem with Cisco routers copy ftp flash.

2004-10-09 13:44  castaglia

	* src/main.c:
	  Generate a 'core.connect' event after a client has connected and
	  we've forked, but before we lookup the server_rec for the
	  session.

2004-10-08 18:16  jwm

	* contrib/mod_ldap.c: release 2.8.14

2004-10-07 14:17  castaglia

	* contrib/ftpasswd:
	  Explicitly mention "RequireValidShell off" if the given shell is
	  not in /etc/shells.

2004-10-07 11:59  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2496 - NLST off-by-one bug when handling relative paths in a
	  chrooted session.

2004-10-07 11:35  castaglia

	* contrib/mod_sql.html:
	  Remove mention of the PERCALL parameter of SQLConnectInfo, until
	  the feature actually works.

2004-10-07 08:53  castaglia

	* modules/mod_ls.c:
	  Use the Auth API in the 'pr_' namespace.

2004-10-06 11:42  castaglia

	* contrib/mod_sql.html:
	  Removing mention of SQLAuthenticate's "*" suffix, as it was
	  deprecated in the 1.2.10 release cycle.

2004-10-02 13:22  castaglia

	* contrib/mod_tls.c:
	  Handle signals when in potentially infinite gotos, so that the
	  process can be interrupted.

	  Expand the TLSLog entry for refused PROT commands a little more,
	  to explain why the PROT command was refused (e.g. 'PROT C' was
	  sent, but TLSRequired setting requires data protection).

2004-10-02 13:05  castaglia

	* doc/howto/TLS.html:
	  Adding two more FAQs to the TLS howto.

2004-10-01 22:48  castaglia

	* doc/rfc/: draft-murray-auth-ftp-ssl-13.txt,
	  draft-murray-auth-ftp-ssl-15.txt:
	  Updating the FTPS Draft to the current version.

2004-10-01 21:24  castaglia

	* contrib/mod_tls.c:
	  Fix the logic when reporting on syscall errors, so that the
	  errors are properly reported.

2004-10-01 20:34  castaglia

	* modules/mod_auth.c:
	  Stop sending 232 as a response code to the PASS command; it is
	  valid only in response to a USER command.  Part of Bug #2164.

2004-10-01 20:30  castaglia

	* contrib/mod_tls.c:
	  Remove code that is never compiled.

2004-09-30 17:43  castaglia

	* NEWS, modules/mod_auth_pam.c:
	  Bug#2492 - Off-by-one error in FreeBSD PAM username length check.

2004-09-29 14:04  castaglia

	* NEWS, src/dirtree.c:
	  Bug#2490 - <Limit ALL> affects PORT command.	The EPRT, EPSV,
	  PORT, and PASV commands are now explicitly excluded from the ALL
	  command group.

2004-09-27 18:25  jwm

	* NEWS, contrib/mod_ldap.c: new mod_ldap 2.8.13

2004-09-27 10:12  castaglia

	* contrib/mod_quotatab_ldap.c:
	  mod_ldap now looks for a HOOK, rather than a CMD, for the
	  mod_quotatab_ldap lookup symbol, as per John's request.

2004-09-26 14:12  castaglia

	* modules/mod_auth_file.c:
	  Use the 'pr_' namespace of the Auth API.

2004-09-26 14:07  castaglia

	* modules/mod_auth_unix.c:
	  Use the 'pr_' namespace of the Auth API.

2004-09-26 13:23  castaglia

	* modules/mod_auth.c:
	  Removing code that should not have been committed.  Oops.

2004-09-26 13:11  castaglia

	* include/auth.h, include/conf.h, include/modules.h,
	  modules/mod_auth.c, src/auth.c:
	  Moving the Auth API into the 'pr_' namespace, and creating a
	  separate header file defining the pr_auth function prototypes.

2004-09-26 11:24  castaglia

	* NEWS, contrib/mod_sql.c, contrib/mod_sql_mysql.c,
	  contrib/mod_sql_postgres.c:
	  Bug#2485 - SQL backend modules close all open connections too
	  early.

2004-09-26 11:17  castaglia

	* NEWS:
	  Mention the new init.d script for SuSE.

2004-09-26 11:09  castaglia

	* NEWS, RELEASE_NOTES, contrib/mod_sql.c, contrib/mod_sql.h,
	  contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c:
	  Bug#2392 - mod_sql needs better handling of its backend modules.

2004-09-26 10:57  castaglia

	* src/mkhome.c:
	  Generate a 'core.create-home' event when creating a home
	  directory; the event_data is currently the name of the user whose
	  home is being created.  And correct a typo.

2004-09-25 16:47  jwm

	* contrib/dist/rpm/proftpd.init.d.suse: suse init script Submitted
	  by: Daniel Weuthen <dw@megabit.net>

2004-09-23 14:37  castaglia

	* NEWS, include/privs.h:
	  Bug#2488 - Wrong order of privs calls on HP generates "unable to
	  setregid()" error.

2004-09-18 12:08  castaglia

	* contrib/mod_quotatab.c:
	  When handling the 'core.restart' event, do not bounce the log
	  file descriptor.  Restarts are processed by the daemon process,
	  and mod_quotatab only logs in session processes; bouncing the log
	  descriptor in the daemon process was causing mod_quotatab to open
	  a descriptor onto stdout, which then wreaked havoc with the rest
	  of the system.

2004-09-17 17:40  castaglia

	* src/proftpd.8.in:
	  Document the new -N option in the proftpd(8) man page.

2004-09-17 17:38  castaglia

	* NEWS, include/proftpd.h, modules/mod_core.c, src/main.c:
	  Bug#2468 - Ability to disable address/port collision checking.

2004-09-17 10:50  castaglia

	* contrib/mod_quotatab.c:
	  Explicitly use the more modern 'pr_log_openfile' symbol.

2004-09-14 18:01  castaglia

	* include/conf.h:
	  Typo (log -> long).

2004-09-14 10:49  castaglia

	* NEWS, contrib/mod_ldap.c, contrib/mod_radius.c,
	  contrib/mod_sql.c, include/conf.h, include/modules.h,
	  modules/mod_auth.c, modules/mod_auth_file.c,
	  modules/mod_auth_unix.c, modules/mod_core.c, modules/mod_ctrls.c,
	  modules/mod_log.c, modules/mod_ls.c, modules/mod_site.c,
	  modules/mod_xfer.c, src/auth.c, src/data.c, src/xferlog.c:
	  Bug#2389 - 64-bit compilation warnings.

2004-09-12 18:47  castaglia

	* src/support.c:
	  Add an explicit typecast to quell warnings on 64-bit platforms.

2004-09-12 18:43  castaglia

	* modules/mod_auth_pam.c:
	  Quell a compiler warning on Solaris with an explicit typecast.

2004-09-12 17:12  castaglia

	* doc/howto/Limit.html:
	  Add example of using <Class> and mod_ifsession to configure a
	  user so that they can only login from a certain IP range.

2004-09-12 16:36  castaglia

	* doc/howto/FXP.html:
	  Add text noting the ISPs may filter FTP ports, blocking FXP.

2004-09-11 16:43  castaglia

	* contrib/UPGRADE.mod_sql:
	  Removing crufty old file.

2004-09-11 10:53  castaglia

	* src/main.c:
	  Typo.

2004-09-07 17:40  castaglia

	* contrib/mod_quotatab.c:
	  Add logging of the non-ENOENT cases when the uploaded file has
	  disappeared.

2004-09-07 15:34  castaglia

	* src/main.c:
	  Settings display format tweak.

2004-09-07 15:29  castaglia

	* src/main.c:
	  Add --settings option to the long getopt() list.

2004-09-07 15:23  castaglia

	* src/main.c:
	  Update the long descriptions for the -n, -d command-line
	  parameters.

2004-09-07 15:18  castaglia

	* include/proftpd.h:
	  Removing cruft.

2004-09-07 12:41  castaglia

	* contrib/mod_quotatab.c:
	  Handle the case where, after an upload, the file to which bytes
	  have been added has disappeared (as when MaxStoreFileSize and
	  DeleteAbortedStores are in effect).

2004-09-07 12:22  castaglia

	* src/proftpd.8.in:
	  Mention debug level 10 in the proftpd(8) man page.

2004-09-05 15:42  castaglia

	* src/event.c:
	  More graceful handling of NULL evh->module pointers.

2004-09-05 15:01  castaglia

	* doc/mod_sample.c:
	  Update the sample module to include registering the module
	  version.

2004-09-05 14:36  castaglia

	* configure:
	  Updating configure script.

2004-09-05 14:36  castaglia

	* src/main.c:
	  Display the --enable-scoreboard-updates setting in the -V output.

2004-09-05 14:34  castaglia

	* NEWS, config.h.in, configure.in:
	  Add autoconf support for a --enable-scoreboard-updates option.

2004-09-05 14:29  castaglia

	* NEWS, include/options.h, modules/mod_xfer.c:
	  Bug#2455 - Allow fine-tuning of how often mod_xfer updates the
	  scoreboard.

2004-09-05 14:24  castaglia

	* RELEASE_NOTES:
	  Update release notes for 1.2.11 release cycle.

2004-09-05 14:21  castaglia

	* src/proftpd.8.in:
	  Remove extra space.

2004-09-05 14:16  castaglia

	* src/proftpd.8.in:
	  Document the new -V command-line option in the proftpd(8) man
	  page.

2004-09-05 14:12  castaglia

	* configure:
	  Updating configure script.

2004-09-05 14:10  castaglia

	* NEWS, config.h.in, configure.in, src/main.c:
	  Add support for a -V command-line option, which displays various
	  compile-time settings, a la Apache.

2004-09-04 19:37  castaglia

	* config.h.in, include/conf.h:
	  Move the HPUX socklen_t bug fix to include/conf.h, a header file
	  that is not preprocessed by autoconf.  The autoconf preprocessing
	  was causing the #undef in the generated config.h header file to
	  be commented out, which would result in complaints from stringent
	  compilers.

2004-09-04 19:23  castaglia

	* contrib/: mod_sql.c, mod_sql_mysql.c, mod_sql_postgres.c:
	  Remove the _MOD_VERSION #define from mod_sql, as it was not doing
	  as was intended, I think.  Much better, cleaner, and more
	  explicit to have each module #define its own VERSION string, and
	  to use that version string consistently within the module.

2004-09-04 17:53  castaglia

	* modules/mod_log.c:
	  Convert mod_log to use the Events API.

2004-09-04 17:43  castaglia

	* contrib/mod_rewrite.c:
	  Convert mod_rewrite to use the Events API.

2004-09-04 17:38  castaglia

	* src/regexp.c:
	  The Regexp API need not use the core_module pointer for
	  registering its callbacks; registered events can have a NULL
	  module pointer.

2004-09-04 17:36  castaglia

	* src/regexp.c:
	  Convert the Regexp API to use the Events API for cleanup.

2004-09-04 17:36  castaglia

	* modules/mod_xfer.c:
	  Update mod_xfer to use the Events API a little more.

2004-09-04 17:31  castaglia

	* modules/mod_auth_unix.c:
	  Convert mod_auth_unix to use the Events API.

2004-09-04 17:31  castaglia

	* modules/mod_auth_pam.c:
	  Convert mod_auth_pam to use the Events API.

2004-09-04 17:19  castaglia

	* contrib/mod_sql.c:
	  Convert mod_sql to use the Events API.

2004-09-04 17:16  castaglia

	* contrib/mod_radius.c:
	  Convert mod_radius to use the Events API.

2004-09-04 17:15  castaglia

	* contrib/mod_quotatab.c:
	  Convert mod_quotatab to using the Events API.

2004-09-04 16:05  castaglia

	* NEWS, src/fsio.c:
	  Bug#2476 - Incorrect detection of symbolic link loop across
	  devices.  The algorithm used for loop detection relied solely on
	  the inode number, which does not account for the possibility that
	  different devices may reuse inode numbers.  This patch adds the
	  device number to the detection algorithm.

2004-09-04 15:56  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2463 - mod_xfer doesn't check how many bytes it has written
	  to disk.

2004-09-04 15:53  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2458 - Bad handling of CreateHome parameters.

2004-09-04 15:51  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2457 - Directory listing provides bad info when path ends
	  with /.

2004-09-04 15:46  castaglia

	* NEWS, src/main.c:
	  Bug#2449 - ProFTPD silently ignores extra command-line
	  parameters.

2004-09-04 14:21  castaglia

	* include/version.h:
	  Update version, indicating CVS status once more.

2004-09-04 11:54  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2004-09-04 11:50  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing to release 1.2.10-final.

2004-08-25 11:08  castaglia

	* src/data.c:
	  When using sendfile(), only reset the transmission timers if
	  bytes have actually been written out.  sendfile() can return
	  zero, indicating that it wrote zero bytes -- we do not want to
	  reset the timers in this case, for it could indicate other issues
	  with the file descriptor from which data are being read.

	  This fixes an endless loop seen at a particular site involving
	  use of sendfile() and NFS/SAN-shared files.

2004-08-24 15:24  castaglia

	* modules/mod_xfer.c:
	  Reset the 'have_prot' flag to false when a successful PROT C
	  command is processed.

2004-08-12 16:24  castaglia

	* modules/mod_xfer.c:
	  Update to patch to mod_xfer for Bug #2444: the PROT command is
	  allowed before authentication.  The patch was required
	  authentication first, causing issutes for FTPS clients that sent
	  PROT before USER.

2004-08-07 15:22  castaglia

	* NEWS, src/log.c, src/main.c:
	  Bug#2427 - proftpd gets a memory fault when run from ssh batch
	  mode.

2004-08-07 15:21  castaglia

	* src/main.c:
	  Two more cases where the IP address contacted by the client
	  should be used, if present, rather than the ServerAddress field
	  of the relevant server_rec.

2004-08-07 13:58  castaglia

	* src/main.c:
	  Fix a minor bug in the reporting of ServerIdent, where the wrong
	  IP address may be displayed.	For example, with the following
	  configuration:

	    <VirtualHost 127.0.0.1>
	      Bind 1.2.3.4
	      ...
	    </VirtualHost>

	  a client connecting to 1.2.3.4 should see "[127.0.0.1]" at the
	  tail end of the default ServerIdent displayed, rather than the
	  more appropriate "[1.2.3.4]".  The fix is to use the IP address
	  to which the client connected, rather than the ServerAddress
	  field of the server_rec to which the client connected.  As the
	  case with Bind shows, multiple IP addresses may be associated
	  with the same server_rec, and the IP address displayed to the
	  connecting client should not "leak" this fact.

2004-08-05 19:16  castaglia

	* src/main.c:
	  Reorder the timing of calling pr_ident_lookup(), making it occur
	  after modules have been initialized.	This makes it possible for
	  mod_ifsession, for example, to alter if ident lookups will be
	  enabled, e.g.:

	    <IfClass foo>
	      IdentLookups off
	    </IfClass>

	  so that ident lookups can be enabled/disabled selectively.

2004-08-05 17:58  castaglia

	* doc/howto/Limit.html:
	  Add description of applying <Limit> sections to SITE commands.

2004-08-05 12:12  castaglia

	* RELEASE_NOTES:
	  Updating the release notes.

2004-08-04 11:52  castaglia

	* NEWS, modules/mod_core.c:
	  Add support for automatically scrubbing the scoreboard for stale
	  sessions on session init time, for inetd proftpds.  Scrubbing is
	  already done periodically for standalone proftpds.

2004-08-03 16:17  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2444 - Use of sendfile() does not interoperate well with
	  RFC2228 security mechanisms.

2004-08-02 17:44  castaglia

	* contrib/mod_sql.c:
	  Convert mod_sql to using ProFTPD's sstrcat() function, rather
	  than strcat(3).

2004-08-01 12:02  castaglia

	* NEWS, modules/mod_auth_file.c:
	  Bug#2445 - AuthUserFile in <Global> context overrides
	  <VirtualHost> setting.  Note that this bug will be revisited in
	  the next release cycle, and fixed The Right Way(tm).

2004-07-30 18:35  castaglia

	* modules/mod_core.c:
	  Store the original name configured by a MasqueradeAddress
	  directive in the config_rec, along with the resolved netaddr
	  object.  This will make it possible to re-resolve the original
	  name at a later date.

2004-07-30 17:07  castaglia

	* doc/howto/Limit.html:
	  Add example <Limit LOGIN> configuration that allows only
	  anonymous logins.

2004-07-30 10:42  castaglia

	* modules/mod_core.c:
	  Make certain that all occurrences of an environment variable are
	  removed when handling the UnsetEnv directive; a environment
	  variable can appear multiple times in the environ array.

2004-07-28 13:41  castaglia

	* doc/howto/Authentication.html:
	  Updating the section on "Resolving ~", fixing mention of
	  mod_auth_pam.

2004-07-22 14:49  castaglia

	* NEWS, modules/mod_auth_pam.c:
	  Bug#2442 - Segfault in FreeBSD PAM library with long login names.

2004-07-22 13:53  castaglia

	* README.PAM:
	  Update the PAM docs about AuthPAMAuthoritative, and add an Issues
	  section.

2004-07-21 17:11  castaglia

	* contrib/: mod_ldap.c, mod_sql.c:
	  Apply the same criteria for including <crypt.h> to mod_ldap and
	  mod_sql as are used for mod_auth_unix and mod_auth_file.

2004-07-21 16:58  castaglia

	* NEWS, modules/mod_auth_file.c, modules/mod_auth_unix.c:
	  Bug #2411 - AIX5 portability bug with mod_auth_unix,
	  mod_auth_file.  Using gcc on AIX5, these files compile without
	  complaint.  However, using the IBM compiler and following the
	  instructions in README.AIX, they will fail on AIX5.  The fix is
	  to extend for AIX5 the portability hack that is done for AIX4.

2004-07-20 10:39  castaglia

	* NEWS, include/modules.h, modules/mod_core.c, src/auth.c:
	  Bug #2440 - Unable to use PAM authentication properly.  As
	  explained in the bug report, the deprecation of all
	  *Authoritative directives causes an issue with modules like
	  mod_auth_pam.  This patch makes use of an unused flag variable in
	  the authtable structure in order to implement the setting of auth
	  module authoritativeness via the AuthOrder directive.

2004-07-14 17:08  castaglia

	* modules/mod_ctrls.c:
	  We were forgetting to remove our previous timer before adding a
	  new one.

2004-07-14 17:07  castaglia

	* src/timers.c:
	  Prevent add_timer() from adding multiple timers that use the same
	  timerno.

2004-07-14 14:51  castaglia

	* modules/mod_ctrls.c:
	  We don't want child processes handling these events for
	  mod_ctrls.

2004-07-13 17:20  castaglia

	* include/version.h:
	  Let's try this again.

2004-07-13 16:58  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2004-07-13 16:57  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  How embarassing.  A typo broke 1.2.10rc2, necessitating a release
	  of rc3.

2004-07-13 16:51  castaglia

	* modules/mod_core.c:
	  Typo.

2004-07-13 15:19  castaglia

	* include/version.h:
	  Bump version for CVS checkouts.

2004-07-13 11:34  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2004-07-13 11:32  castaglia

	* NEWS, include/version.h, contrib/dist/rpm/proftpd.spec:
	  Preparing for release of 1.2.10rc2.

2004-07-13 10:56  castaglia

	* modules/mod_core.c:
	  Variable name collision from different scopes; fix to quell a
	  compiler warning.

2004-07-13 10:53  castaglia

	* src/support.c:
	  Quell a warning about reusing a global symbol name 'dup'.

2004-07-13 09:54  castaglia

	* modules/mod_core.c:
	  Rest of patch for Bug#2439.

2004-07-11 14:52  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2439 - <Limit CWD> doesn't work.

2004-07-09 11:24  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2438 - Display variable %z not expanded properly.

2004-07-08 14:38  castaglia

	* contrib/mod_ifsession.c:
	  Only perform <Limit LOGIN> checks if we've actually merged
	  something in.  Also, when performing this check, use the
	  TOPLEVEL_CONF macro (which correctly handles <Anonymous>
	  contexts) to avoid inadvertently checking the wrong <Limit LOGIN>
	  block.

2004-07-06 10:32  castaglia

	* doc/howto/TLS.html:
	  Update the link to the most current FTPS Draft.

2004-07-06 10:31  castaglia

	* doc/rfc/: draft-murray-auth-ftp-ssl-10.txt,
	  draft-murray-auth-ftp-ssl-13.txt:
	  Updating the FTPS Draft to the current version.

2004-06-30 19:00  castaglia

	* src/dirtree.c:
	  Fix pr_expr_eval_class_and() and pr_expr_eval_class_or() to
	  properly handle the case where session.class may be NULL (as when
	  there is no <Class> definition that matches the connecting
	  client).  Previously, if there was no matching <Class> for a
	  client, a rule such as:

	    <IfClass !name>

	  would evaluate to false.  It _should_ evaluate to true; this
	  change makes it so.

	  This fixes a problem Michael was encountering with mod_ifsession
	  and Classes.

2004-06-30 18:52  castaglia

	* src/dirtree.c:
	  When handling <Global> contexts in fixup_globals(), only handle
	  contexts that have both the right config_type (CONF_GLOBAL) _and_
	  the right name ("<Global>").	Contrib modules (e.g.
	  mod_ifsession) might create their own contexts that use the
	  CONF_GLOBAL flag; in the case of mod_ifsession, the fact that
	  fixup_globals() was handling the mod_ifsession-created context
	  config_recs was causing a bug when <If*> sections were used
	  within <Global> contexts.

	  This change also includes some style cleanup.

2004-06-30 18:17  castaglia

	* src/dirtree.c:
	  Style.

2004-06-30 18:06  castaglia

	* contrib/mod_tls.c:
	  Improve mod_tls' error reporting by displaying the paths that are
	  given in the configuration data for various files, in the cases
	  where mod_tls determines that those paths do not exist.

2004-06-30 11:25  castaglia

	* contrib/mod_tls.html, doc/howto/TLS.html:
	  Updating the mod_tls docs, and the TLS howto, to mention the new
	  AllowPerUser TLSOption, and the risks involved in its use.

2004-06-30 10:52  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2419 - Ability to disable TLSRequired on per-user basis (e.g.
	  for anonymous logins).

2004-06-29 19:42  castaglia

	* NEWS, src/class.c, src/netacl.c, src/netaddr.c:
	  Bug#2303 - Problem evaluating multiple <Class> rules.

2004-06-23 10:47  castaglia

	* contrib/mod_sql.html:
	  Typo.

2004-06-22 17:04  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2431 - mod_sql does not use UID/GID properly in cache
	  lookups.  For the most part this is an issue only if you define a
	  user account with UID of zero, or a group account with GID of
	  zero, in your SQL user tables.

2004-06-21 10:34  castaglia

	* contrib/mod_ifsession.html:
	  Add ExtendedLog to the list of directives that mod_ifsession does
	  not handle.

2004-06-18 14:29  castaglia

	* contrib/mod_tls.html:
	  Typo.

2004-06-17 13:34  castaglia

	* NEWS, include/dirtree.h, src/dirtree.c, src/main.c:
	  Bug#2418 - chmod returns 550 with filename containing multiple
	  spaces.

2004-06-16 17:06  castaglia

	* NEWS:
	  Typo.

2004-06-15 09:45  castaglia

	* src/netio.c:
	  Style.

2004-06-11 19:03  castaglia

	* src/modules.c:
	  Removal of symbols (e.g. AuthOrder) was not working properly
	  without this change.

2004-06-11 14:19  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2422 - %v not working in SQLNamedQuery.

2004-06-10 14:51  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2411 - Caching effects cause RNTO to fail if AllowOverwrite
	  is off and target path does not exist.

2004-06-10 11:30  castaglia

	* contrib/mod_sql.c:
	  Remove debugging cruft.

2004-06-10 11:27  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2424 - SQLDefaultHomedir overrides column value.

2004-06-08 16:08  castaglia

	* doc/howto/ServerType.html:
	  ProFTPD is now IPv6-capable; it simply needs the proper configure
	  option.  Update the ServerType howto to reflect this (relevant
	  for Solaris users).

2004-06-07 16:00  castaglia

	* contrib/: mod_quotatab.h, mod_sql.c:
	  Increment versions of mod_quotatab, mod_sql.

2004-06-07 15:58  castaglia

	* NEWS, contrib/mod_quotatab_sql.c, contrib/mod_sql.c,
	  include/support.h, src/support.c:
	  Bug#2420 - Name field is not escaped before querying database.

	  This patch fixes mod_quotatab_sql to escape the name string used.
	   To do this, several changes were made: the _sql_strip_spaces()
	  function of mod_sql.c was made a public ProFTPD API string
	  function (pr_str_strip), so that that code need not be duplicated
	  in both mod_sql.c and mod_quotatab_sql.c, a new HOOK to mod_sql's
	  sql_escapestring function was added, under the symbol
	  'sql_escapestr', to avoid further code duplication, and
	  mod_quotatab_sql was updated to make use of the new API.

2004-06-05 18:14  castaglia

	* contrib/mod_tls.c:
	  Fix scrubbing of passphrases when a session process exits.

2004-06-03 10:32  castaglia

	* contrib/mod_tls.html:
	  Adding required OpenSSL clauses.

2004-05-31 15:07  castaglia

	* include/dirtree.h, include/event.h, src/dirtree.c, src/event.c:
	  Add a pr_event_dump() function, for dumping internal Events info.
	  Adjust config-dumping function names to match (i.e.
	  pr_config_dump()).

2004-05-31 14:49  castaglia

	* contrib/mod_ctrls_admin.c:
	  Removing the 'dump' control action from mod_ctrls_admin.  A new
	  module, mod_dumper, will implement this control action.  I
	  anticipate the audience for mod_dumper to be much smaller than
	  for mod_ctrls_admin.

2004-05-31 14:47  castaglia

	* src/modules.c:
	  Slightly cleaner structure.

2004-05-31 14:20  castaglia

	* src/dirtree.c:
	  Attempting to dump the config for a minimally configured
	  server_rec (i.e.  server_rec->conf is NULL) would segfault.

2004-05-31 12:33  castaglia

	* src/modules.c:
	  When iterating through the stash for removing symbols, be sure to
	  pass in the previously-found entry, not NULL.  Otherwise, symbols
	  can inadvertently be skipped.

2004-05-31 11:58  castaglia

	* src/modules.c:
	  Fix removal of a module from the loaded_modules list.

2004-05-31 10:54  castaglia

	* src/modules.c:
	  Fix a bug introduced in the handling of HOOK vs CMD symbols.	Fix
	  handling of loaded_modules pointer when unloading a module.  Add
	  signal handling where appropriate.

2004-05-31 10:47  castaglia

	* src/modules.c:
	  Missed a case where the PR_SYM_CONF hashing needed to be handled
	  differently.

2004-05-30 18:51  castaglia

	* src/modules.c:
	  The changes made earlier, to have processing of configuration
	  directives use the stash directly, caused a problem.	The prior
	  structure allowed for case-insensitive comparisons between the
	  directive name in the config file and the name defined by the
	  processing module.  By switching to doing lookups from the stash
	  directly, such case-insensitive comparisons became difficult.

	  So, for now, whenever a PR_SYM_CONF symbol is added or requested
	  from the stash, its hash value is calculated not from the symbol
	  name directly, but from a lowercased version of the name (and
	  only for PR_SYM_CONF symbols).  In order to make this work, there
	  is now special-case handling of PR_SYM_CONF, and the
	  stash_lookup() functions use strcasecmp() rather than strcmp().
	  I hope this doesn't cause any problems with other symbols.

	  In the future, when the proposed Tables API is complete, I'd like
	  to have completely separate tables for the different symbol
	  types.  This will (hopefully) make lookups faster (smaller
	  namespace to search) and allow customized hashing/comparison
	  functions (PR_SYM_CONF symbols needing different treatment from
	  other symbols in this case) on a per-table basis.

2004-05-30 15:46  castaglia

	* contrib/mod_ctrls_admin.c, include/modules.h, modules/mod_core.c,
	  src/modules.c:
	  Add pr_module_load() and pr_module_unload() functions, for
	  loading and unloading modules (and their symbols) from the stash.
	  Rework the rest of the code to work with the changes (i.e.
	  removed crufty globals).

2004-05-30 14:54  castaglia

	* NEWS:
	  Bug#2125 - -vv command line switch should list versions of
	  modules.

2004-05-30 14:50  castaglia

	* modules/mod_cap.c, src/main.c:
	  Minor formatting tweak.  Update mod_cap to report its version.
	  Other modules will follow.

2004-05-30 14:48  castaglia

	* src/main.c:
	  Typo.

2004-05-30 14:45  castaglia

	* src/main.c:
	  Bug#2125 - -vv command line switch should list versions of
	  modules.

	  With this change, modules _can_ report their version (or other
	  short descriptor)in such a way that it will be listed if the -vv
	  command line option is used.	It is not required for modules to
	  do so; if they do not, just the module name is displayed.

2004-05-30 14:34  castaglia

	* include/modules.h:
	  Extend the module structure to include fields for module version,
	  and an opage handle for the module (for libltdl pointers).  This
	  extension do not break the currently-defined module structures in
	  module files.

2004-05-29 19:39  castaglia

	* contrib/mod_ctrls_admin.c, src/dirtree.c, src/modules.c,
	  src/sets.c:
	  More prep work for loadable modules.	This change removes use of
	  the m_conftable global variable, shifting the users of that
	  variable to using the stash directly, via pr_stash_get_symbol().
	  For example, mod_ctrls_admin was using m_conftable for supporting
	  the 'get directives' control action.	Now that handler iterates
	  through the stash directly for PR_SYM_CONF symbols (which
	  required some adjusting of the stash internals to allow for such
	  interating).

2004-05-29 16:38  castaglia

	* src/event.c:
	  Make pr_event_unregister() function as documented if given a NULL
	  callback argument.

2004-05-29 16:02  castaglia

	* include/modules.h, modules/glue.sh, modules/mod_core.c,
	  src/modules.c:
	  More fun with the loaded_modules list.  Initially, the
	  loaded_modules linked list will be NULL; it is the job of
	  modules_init() to initialize the modules in the static_modules
	  list, and add a pointer to the loaded module to the
	  loaded_modules list.

	  More work needs to be done on abstracting the process of loading
	  of a module.

2004-05-29 15:31  castaglia

	* modules/mod_ctrls.c:
	  Clean up the ControlsLog entries when encountering a stale
	  connection: we don't need to know the full timestamps, just the
	  difference as compared to the ControlsAuthFreshness.

2004-05-29 14:02  castaglia

	* include/modules.h, src/main.c, src/modules.c:
	  Use "modules", plural, to indicate that the function acts on
	  multiple modules, not just one.

2004-05-29 13:13  castaglia

	* src/modules.c:
	  Add sane errno values.

2004-05-29 13:03  castaglia

	* include/modules.h, modules/glue.sh, modules/mod_core.c,
	  modules/mod_ctrls.c, src/main.c, src/modules.c:
	  Beginning work on supporting loadable modules.  The
	  modules/glue.sh file autogenerates a file that defines the
	  static_modules array, which contains the module structure
	  pointers from all the statically compiled modules.  This list
	  cannot be modified.  For loadable modules, we need a modifiable
	  list, which I've added to the script: loaded_modules.  Initially,
	  loaded_modules is identical to static_modules.  A pr_module_get()
	  function has been added, to lookup a module pointer given its
	  name.

2004-05-29 12:52  castaglia

	* modules/mod_ctrls.c:
	  Add more info to the ControlsLog when the ControlsAuthFreshness
	  is exceeded, to help in debugging why this happens.

2004-05-29 11:55  castaglia

	* contrib/mod_tls.c:
	  Typo (thanks John!).

2004-05-28 21:22  castaglia

	* doc/howto/Directory.html:
	  Wording update.

2004-05-28 21:19  castaglia

	* contrib/mod_tls.c:
	  Fix handling of memory passed to mlock(2).  It seems that
	  mlock(2) is very picky, and wants a page-aligned address only.
	  malloc(3)/calloc(3) do not return page-aligned addresses by
	  default (although FreeBSD's man page suggests that for a
	  sufficient size request, they will), so we help them along by
	  adding some page-alignment code.  We still want to stash the
	  pointer returned by malloc(), not the aligned address, so that we
	  can properly free the allocated memory later.

	  Also use pr_log_debug(), rather than logging to the TLSLog, when
	  locking passphrases into memory, for at that point in the server
	  lifecycle, the TLSLog has not yet been opened.

2004-05-28 18:56  castaglia

	* contrib/mod_tls.c:
	  Silence a compiler warning by providing a default value.

2004-05-28 18:55  castaglia

	* contrib/mod_tls.c:
	  Typo.

2004-05-28 17:28  castaglia

	* src/scoreboard.c:
	  Unblock signals properly.

2004-05-28 09:46  castaglia

	* README.modules:
	  Update this README.

2004-05-27 10:20  castaglia

	* contrib/mod_tls.c:
	  Registering for the wrong event: we want 'core.postparse', not
	  'core.restart'.  Close the TLSLog during a restart, so that it
	  can be rolled.  The TLSLog will be reopened by the next session.

2004-05-26 12:25  castaglia

	* src/ctrls.c:
	  Make sure that the destination ctrl object has a valid temporary
	  pool from which to copy arguments.

2004-05-26 11:54  castaglia

	* src/dirtree.c:
	  Reset the sid (server ID) counter when preparing to parse a
	  configuration.

2004-05-25 19:17  castaglia

	* configure:
	  Updating configure script.

2004-05-25 19:15  castaglia

	* config.h.in, configure.in:
	  Check if intptr_t is defined.

2004-05-25 16:31  castaglia

	* modules/mod_ctrls.c:
	  When closing fds, set them to -1, to make sure that a cached fd
	  value is not inadvertently used somewhere it shouldn't be.  Also,
	  block alarms when handling the 'core.restart' event.

2004-05-25 16:00  castaglia

	* contrib/mod_tls.c:
	  Check the return value of SSL_CTX_set_default_verify_locations(),
	  and log the error (if any).

2004-05-25 10:41  castaglia

	* doc/howto/BCP.html:
	  Wording.

2004-05-25 10:17  castaglia

	* src/main.c:
	  Make sure that fixup_servers() happens before generating the
	  'core.postparse' event (mod_tls' 'core.postparse' handler was
	  tickling a segfault because one of the server_recs had a NULL
	  ServerName field; fixup_servers() sets all of the server_rec
	  fields appropriately).

2004-05-24 16:27  castaglia

	* modules/mod_ctrls.c:
	  Fix a problem when restarting a proftpd with mod_ctrls.  Some
	  variables were allocated from the module pool, and then being
	  used after that pool had been destroyed/reallocated.	This meant
	  that different configurations and interactions might (or might
	  not) work.

2004-05-24 14:35  castaglia

	* lib/pr-syslog.c:
	  Mention the Sun bug number that caused the /dev/log kernel memory
	  leak.

2004-05-22 17:11  castaglia

	* contrib/mod_quotatab_sql.c:
	  Typo.

2004-05-22 16:59  castaglia

	* contrib/mod_quotatab_sql.c:
	  Don't complain about being unable to delete a nonexistent
	  QuotaLock.

2004-05-21 10:46  castaglia

	* RELEASE_NOTES:
	  Style.

2004-05-21 10:35  castaglia

	* RELEASE_NOTES:
	  Update the release notes with mention of TimeoutLinger.

2004-05-21 10:19  castaglia

	* NEWS, include/data.h, modules/mod_core.c, src/data.c:
	  Add a TimeoutLinger option.  It's just simpler to change this
	  value via the config file, for those sites that encounter
	  troubles with lingering closes, rather than requiring a
	  reconfigure and recompile.

2004-05-20 10:28  castaglia

	* contrib/mod_ctrls_admin.c:
	  Check for signals while waiting for all kids to end when handling
	  a graceful shutdown.

2004-05-19 20:39  castaglia

	* doc/howto/: Controls.html, index.html:
	  Add a Controls howto.

2004-05-19 14:44  castaglia

	* modules/mod_auth.c:
	  Make sure a Class has been assigned before attempting to use it.

2004-05-19 10:07  castaglia

	* NEWS, lib/pr-syslog.c, src/main.c:
	  Bug#2336 - Use of /dev/log on Solaris leads to kernel memory
	  leak.

2004-05-18 19:32  castaglia

	* src/dirtree.c:
	  Style.

2004-05-18 16:22  castaglia

	* contrib/mod_ctrls_admin.html:
	  Typo.

2004-05-18 15:43  castaglia

	* contrib/mod_ctrls_admin.html:
	  Document that 'ftpdctl get' accepts both 'config' and
	  'directives' parameters.

2004-05-17 11:24  castaglia

	* modules/mod_auth.c, modules/mod_xfer.c, src/data.c, src/main.c:
	  Generate events when the Timeout* callbacks cause the session to
	  time out.

2004-05-15 10:25  castaglia

	* src/data.c:
	  Fix an edge case when handling ASCII translation: if this buffer
	  ends in a CR, and the next buffer starts with an LF, we need not
	  add a CR in front of the LF.	Prior to this change, though,
	  proftpd would forget about that dangling CR in the previous
	  buffer, treat the LF as a bare LF, and add a CR, resulting in a
	  CR-CR-LF sequence in the output stream rather than the proper
	  CR-LF.

2004-05-13 07:01  castaglia

	* contrib/mod_tls.c, include/modules.h, src/main.c, src/modules.c:
	  Remove the explicit postparse callback registration code in favor
	  of the new Events API.

2004-05-12 19:58  castaglia

	* contrib/mod_tls.c:
	  Use more future-proof APIs to access the X509v3 subjectAltNames
	  in the client cert.  Properly NUL-terminate strings obtained from
	  memory BIOs.

2004-05-12 18:13  castaglia

	* NEWS, modules/mod_auth.c, src/mkhome.c:
	  Bug#2410 - CreateHome always copies skel directory.

2004-05-11 19:20  castaglia

	* src/main.c:
	  I don't think this is valid anymore, if it ever was.	The
	  IPV6_ADDRFORM socket option is not supported on FreeBSD or
	  Solaris, and looks to be deprecated (if not removed entirely) in
	  later Linux kernels.

2004-05-11 16:37  castaglia

	* NEWS, modules/mod_auth_file.c, modules/mod_auth_unix.c:
	  Bug#2407 - mod_auth_file does not allow for proper cascading of
	  "end" and "set" auth requests

2004-05-11 09:56  castaglia

	* include/modules.h, src/main.c, src/modules.c:
	  Removing the daemon startup registration handlers; these have
	  been superceded by Events (e.g. the "core.startup" event).

2004-05-10 10:50  castaglia

	* NEWS, src/main.c:
	  Bug#2332 - SO_OOBINLINE error after upgrading proftpd from 1.2.6
	  to 1.2.9.  Attempt to fix by moving the setting of these socket
	  options to happen earlier in the session.

2004-05-09 13:05  castaglia

	* src/data.c:
	  When opening a data connection, check for the ESPV ALL mode as
	  well.

2004-05-08 18:07  castaglia

	* src/fsio.c:
	  When looking up the FS to use for a path, always start with the
	  root FS ("/") as the best FS to handle the path.  This fixes a
	  bug where the FS handlers registered by modules like mod_md5fs or
	  mod_gzipfs were being used for paths other than those for which
	  they were registered.

	  Also fix a bug where an FS that did not start with a '/', such as
	  one used by mod_conf_sql, would cause the FSIO API to prepend the
	  current location when it shouldn't have; the FSIO API simply
	  needed to use the proper check for whether the given path was an
	  absolute path or not.

2004-05-07 20:21  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Style cleanup of the SQL backend modules.  Also updating them to
	  use an event handler for the "core.exit" event.

	  Fixed their session initialization routines to always allocate a
	  new conn_pool and a new conn_cache.  Eventually the mod_sql API
	  will be revamped to handle these structures a little better.

2004-05-07 14:31  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2366 - Add support for -h list option.

2004-05-07 11:17  castaglia

	* modules/mod_ls.c:
	  Redeclaring a variable isn't a good thing to do.

2004-05-06 20:36  castaglia

	* src/child.c:
	  Include <signal.h> so that the kill(2) function prototype is
	  visible.

2004-05-06 08:35  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2405 - "LIST *" should not list dotfiles.

2004-05-05 10:49  castaglia

	* src/child.c:
	  Fix the logic determining when to create a new child list.  Also,
	  when creating that list, use a subpool of the child_pool, rather
	  than passing child_pool itself; the list allocator assigns the
	  given pool into the list's 'pool' member, rather than creating a
	  subpool from the given pool and allocating the list from what
	  (which is how I would expect it to be done).

2004-05-04 09:54  castaglia

	* lib/glibc-glob.c:
	  The buffer length should be PR_TUNABLE_LOGIN_MAX + 1.

2004-05-03 19:59  castaglia

	* lib/glibc-glob.c:
	  Patch the bundled glob implementation to use PR_TUNABLE_LOGIN_MAX
	  when the _SC_LOGIN_MAX sysconf variable is not available.  This
	  brings the implementation more in line with the rest of proftpd.

2004-05-03 10:25  castaglia

	* NEWS, include/class.h, src/class.c, src/main.c:
	  Bug#2403 - Sending SIGHUP to proftpd stops it when using Classes.

2004-05-02 08:05  castaglia

	* NEWS, contrib/mod_rewrite.c, contrib/mod_rewrite.html:
	  Bug#2082 - Add mod_rewrite "replaceall" builtin function.

2004-05-01 22:42  castaglia

	* NEWS, contrib/mod_ctrls_admin.c, contrib/mod_ctrls_admin.html:
	  Bug#2399 - Rename start/stop control actions to up/down.

2004-05-01 20:39  castaglia

	* include/glibc-glob.h:
	  Quell some warnings seen on FreeBSD by checking that a
	  preprocessor symbol (_FILE_OFFSET_BITS) is defined before using
	  its value in a comparison.

2004-05-01 11:44  castaglia

	* contrib/mod_tls.c:
	  Only report the version of OpenSSL being used at debug level 2 or
	  higher.

2004-05-01 11:27  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2401 - MaxClientsPerClass only checks first directive in
	  config file.

2004-05-01 11:01  castaglia

	* NEWS, src/class.c:
	  Bug#2400 - <Class> search order is wrong.

2004-04-30 12:01  castaglia

	* NEWS, contrib/mod_ctrls_admin.c, contrib/mod_ctrls_admin.html,
	  include/child.h, src/child.c, src/main.c:
	  Bug#2034 - Add support for a "graceful shutdown" signal.
	  Includes adding a convenience function to the Child API,
	  child_signal(), for sending a given signal to all child
	  processes.

2004-04-29 13:09  castaglia

	* contrib/mod_ctrls_admin.html:
	  Typo.

2004-04-29 12:28  castaglia

	* Make.rules.in, include/child.h, include/conf.h, src/child.c,
	  src/main.c:
	  Move the handling of child objects into their own file.  This
	  will help by letting modules be able to know how many existing
	  sessions there are.  However, the child list routines will not be
	  in the public "pr_" namespace, as they are not currently suitable
	  for general consumption.

2004-04-28 20:35  castaglia

	* contrib/mod_ldap.c, include/sets.h, modules/mod_auth_unix.c,
	  src/dirtree.c, src/main.c, src/sets.c, src/support.c:
	  Rename crufty 'mempool' symbol to be 'pool', which is more
	  consistent with the pool members of other proftpd structures.

2004-04-28 20:35  castaglia

	* README.IPv6:
	  Note the sysctl names that affect handling of wildcard sockets
	  and IPv6 binds.  The current code should override these sysctl
	  settings, but it is still good to have the sysctl names noted for
	  reference.

2004-04-28 18:55  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2396 - NLST command doesn't understand options.

2004-04-28 14:29  castaglia

	* modules/mod_core.c:
	  When using pr_fs_copy_file() to handle RNFR/RNTO across device
	  mounts, make sure to unlink the source path.

2004-04-28 14:00  castaglia

	* include/version.h:
	  Set version back to CVS status for rc2.

2004-04-28 10:54  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2004-04-28 10:52  castaglia

	* NEWS, include/version.h, contrib/dist/rpm/proftpd.spec:
	  Preparing to roll 1.2.10rc1 tarball.

2004-04-28 10:43  castaglia

	* README, RELEASE_NOTES:
	  Add a RELEASE_NOTES file (name may change in the future) that
	  will track the sort of comments usually mentioned in the release
	  announcement email, including new and deprecated configuration
	  directives, new and deprecated modules, upgrade notes, etc.

	  Add a note about RELEASE_NOTES to the README.

2004-04-27 13:49  castaglia

	* contrib/mod_sql.html:
	  Update mod_sql installation instructions.

2004-04-27 09:58  castaglia

	* modules/mod_xfer.c:
	  Make the error message returned here consistent with the other
	  occurrences of 500 responses in mod_xfer.

2004-04-26 16:33  castaglia

	* include/dirtree.h, src/dirtree.c:
	  Split the Boolean checking code into a public function, so that
	  it can be used for checking strings from sources other than
	  cmd_recs.

2004-04-23 18:17  castaglia

	* modules/mod_auth.c:
	  Do not warn about a successful root login until after root has
	  indeed successfully logged in.

2004-04-23 18:13  castaglia

	* doc/modules/mod_auth_pam.html:
	  Add HTML docs for mod_auth_pam.

2004-04-23 14:29  castaglia

	* modules/mod_ls.c:
	  The prior fix for Bug#2367 has some unintended (i.e. _bad_)
	  consequence, spotted by Michael.  This fixes it up properly
	  (hopefully for good).

2004-04-23 13:46  castaglia

	* src/netacl.c:
	  The '{' character is also used in globs.

2004-04-23 11:35  castaglia

	* modules/mod_ls.c:
	  Write a debug message, level 1, when NLST commands with options
	  (as from ncftp) are received.

2004-04-22 18:32  castaglia

	* contrib/mod_sql.c:
	  Protect against a possible segfault that occurs when mod_sql
	  assumes that a query has data, by checking for a valid data
	  pointed in the returned modret_t object.

2004-04-21 18:32  castaglia

	* src/inet.c:
	  Only set the TOS (Type Of Service) flags on IPv4 sockets; IPv6
	  sockets don't support TOS flags, as far as I know.  This should
	  fix the

	    error setting write fd IP_TOS: Option not supported by protocol

	  errors seen on some platforms (e.g. Solaris).

2004-04-21 14:29  castaglia

	* doc/howto/: index.html, Classes.html:
	  Add a howto for the new <Class> format.

2004-04-20 18:23  castaglia

	* src/main.c:
	  Style cleanup.

2004-04-20 18:15  castaglia

	* src/main.c:
	  Capture the actual errno value, rather than assuming that
	  intervening functions will not change errno.

2004-04-20 16:26  castaglia

	* doc/howto/Limit.html:
	  Consistency of style is a Good Thing.

2004-04-20 13:57  castaglia

	* contrib/mod_ctrls_admin.c:
	  If the 'dump classes' control action is requested, make sure that
	  the Class dump output includes the Satisfy setting.

2004-04-19 19:05  castaglia

	* src/log.c:
	  Fix the logging of IP addresses in the utmp/wtmp log on Linux.
	  Formatting cleanup.

2004-04-19 16:59  castaglia

	* include/class.h, modules/mod_core.c, src/class.c:
	  Add a Satisfy directive.  Note that this directive does NOT
	  function like Apache's Satisfy directive.  This current
	  implementation is to be used when defining a class, to specify
	  how to evaluate all of the rules of the class: any, or all.

	  Future work will overload this directive to work as users would
	  like (see Bug#1898) for the <Limit> context.

2004-04-19 16:33  castaglia

	* src/dirtree.c:
	  Report line numbers when parsing .ftpaccess files, too.

2004-04-18 10:00  castaglia

	* src/dirtree.c:
	  Have the fatal messages reported during configuration parsing
	  report the line number and configuration file, for easier fixing
	  of broken configs.

2004-04-16 09:33  castaglia

	* NEWS, include/privs.h:
	  Bug#2317 - Wrong order of privs calls on HP generates "unable to
	  setregid()".	error.	The problem turned out to be a call to
	  setregid() before a call to setreuid(), but only in the HP privs
	  code (non-seteuid() case).  The fix was trivial: call setreuid()
	  first, to make sure the proper UIDs are set, then call
	  setregid().

2004-04-15 18:08  castaglia

	* NEWS:
	  Mention in NEWS the new doc/modules/ directory.

2004-04-15 17:54  castaglia

	* doc/modules/mod_ctrls.html:
	  Updating mod_ctrls' installation instructions.

2004-04-15 17:36  castaglia

	* doc/modules/: mod_auth_file.html, mod_cap.html, mod_ctrls.html:
	  Add a 'doc/modules/' directory, for core module documentation.
	  Add the docs for mod_auth_file, mod_cap, and mod_ctrls.

2004-04-15 17:19  castaglia

	* contrib/: mod_ifsession.html, mod_quotatab.html, mod_radius.html,
	  mod_sql.html, mod_tls.html, mod_wrap.html:
	  Formatting fixups.

2004-04-15 16:16  castaglia

	* include/ctrls.h:
	  These changes should've been part of an earlier commit.

2004-04-15 15:19  castaglia

	* contrib/mod_rewrite.html:
	  The features listed under "future work" have been implemented.

2004-04-15 15:14  castaglia

	* contrib/mod_tls.c:
	  Much improved handling of OpenSSL's error queue, so that the
	  TLSLog can properly show all of the errors in the queue (rather
	  than just the top error, which is usually not too helpful in
	  pinpointing the actual problem).

2004-04-15 14:31  castaglia

	* contrib/mod_rewrite.html:
	  Document the flags parameters for RewriteCondition, RewriteRule.
	  Also document the possible pattern variants allowed for
	  RewriteCondition.  Add an example of using mod_rewrite to make
	  all uploaded files have uppercased filenames.

2004-04-15 11:46  castaglia

	* sample-configurations/basic.conf:
	  The default configuration file should not allow use of SITE
	  CHMOD.

2004-04-15 10:33  castaglia

	* contrib/mod_rewrite.html:
	  Formatting typo.

2004-04-14 19:47  castaglia

	* src/main.c:
	  Cleanup the error reported if the PidFile cannot be opened.

2004-04-14 13:25  castaglia

	* modules/mod_core.c:
	  Michael suggested that this log message be at the INFO level.

2004-04-14 11:11  castaglia

	* contrib/mod_ctrls_admin.c, modules/mod_ctrls.c, src/ctrls.c:
	  Remove the unused 'set' control action from mod_ctrls_admin.
	  Make the 'lsctrl' control action list only enabled control
	  actions.  Initialize the ControlsSocketACL such that access to
	  the socket is allowed to everyone by default; access to
	  individual control actions still defaults to "deny" unless access
	  is explicitly granted via configuration.

2004-04-13 13:19  castaglia

	* doc/howto/Filters.html:
	  Emphasize _not_ using both an Allow and a Deny Filter at the same
	  time.

2004-04-13 10:55  castaglia

	* include/privs.h:
	  Revert part of my previous update to privs.h; it included a
	  possible fix for Bug#2317, but that fix is not ready to be
	  committed just yet.

2004-04-13 10:52  castaglia

	* NEWS, include/privs.h:
	  Bug#2387 - PRIVS_USER macro should set effective GID to user's
	  primary GID.

2004-04-13 09:48  castaglia

	* include/dirtree.h, src/dirtree.c:
	  Add a SID (Server ID) to every server_rec.  This SID is a unique
	  ID that is automatically assigned to each generated server_rec
	  when proftpd parses its configuration.  SIDs are useful for
	  tracking purposes, particularly for contrib modules that want to
	  track which vhost caused something to happen.

	  Format/style cleanups, removed unused CLASS_USER #define.

2004-04-13 09:46  castaglia

	* contrib/mod_ctrls_admin.c:
	  Update the proftpd version required by mod_ctrls_admin.

2004-04-12 10:41  castaglia

	* modules/mod_auth.c:
	  Have AnonRejectPasswords generate an event.

2004-04-12 10:35  castaglia

	* modules/mod_ctrls.c:
	  Consistent use of strcmp().  Use ANY_MODULE where appropriate,
	  rather than NULL.

2004-04-12 10:14  castaglia

	* src/fsio.c:
	  Fix pr_fsio_getline() to handle the case where a config line,
	  broken across several lines in the config file using line
	  continuations, has one of the lines commented out, e.g.:

	     SomeDirective \
	       foo \
	     #	bar \
	       baz

	  Without this patch, pr_fsio_getline() would return the '#'
	  character, which is not what most people would think would
	  happen.

2004-04-12 10:09  castaglia

	* src/dirtree.c:
	  Be a little more strict when checking for "${env:...}" strings in
	  the config file.

	  Format/style cleanup.

2004-04-11 15:50  castaglia

	* doc/howto/: BCP.html, Globbing.html, index.html:
	  Add the Globbing and BCP howtos.

2004-04-11 15:38  castaglia

	* include/options.h:
	  Updating outdated comments.

2004-04-11 15:13  castaglia

	* modules/mod_xfer.c:
	  Typo.

2004-04-11 15:03  castaglia

	* modules/mod_xfer.c:
	  Make the 'core.signal.USR2' event handler check for new
	  TransferRates when involved in any of the file data transfer
	  commands (APPE, RETR, STOR, STOU), not just RETR.  Update
	  comments as well.

2004-04-11 13:42  castaglia

	* NEWS, modules/mod_ctrls.c, src/ctrls.c:
	  Bug#2383 - mod_ctrls.c: ctrls_listen(): Invalid size in bind()
	  argument.

2004-04-11 13:35  castaglia

	* modules/mod_xfer.c:
	  Add a handler for the event 'core.signal.USR2' to mod_xfer.  The
	  handler causes mod_xfer, if and only if the RETR command is
	  currently being handled, to rescan the config tree for
	  TransferRate entries.

	  The 'core.signal.USR2' event is only generated when Controls have
	  been enabled, so in most cases this won't change anything.  Its
	  purpose is mainly to help the mod_shaper module be able to change
	  the TransferRate for a session in mid-transfer.

2004-04-11 13:27  castaglia

	* include/dirtree.h, src/dirtree.c:
	  Add a new merge flag, CF_SILENT.  Unlike the rest of the CF_
	  flags, this flag is handled by fixup_dirs(); the other CF_ flags
	  are handled by the internal _reorder_dirs() function.  When
	  fixup_dirs() sees CF_SILENT, it will not print a debug
	  configuration dump, which is its default behavior.

2004-04-11 13:22  castaglia

	* src/event.c:
	  Make sure that the order of event registration matches module
	  load order.  This helps when the same event may be handled by
	  multiple modules, and the order of handling is important.

2004-04-11 13:12  castaglia

	* modules/mod_core.c:
	  This copy of copy_file() is no longer needed.

2004-04-10 13:55  castaglia

	* contrib/: ftpasswd.html, ftpquota.html, mod_ctrls_admin.html,
	  mod_ifsession.html, mod_quotatab.html, mod_quotatab_file.html,
	  mod_quotatab_ldap.html, mod_quotatab_sql.html, mod_radius.html,
	  mod_rewrite.html, mod_site_misc.html, mod_sql.html, mod_tls.html,
	  mod_wrap.html:
	  Minor formatting change (removed extraneous <br>).

2004-04-10 13:42  castaglia

	* doc/howto/: FXP.html, index.html:
	  Add FXP howto.

2004-04-10 13:37  castaglia

	* doc/howto/: NAT.html, index.html:
	  Add NAT howto.

2004-04-10 13:11  castaglia

	* doc/howto/SQL.html:
	  Update the SQL howto to mention using SQLLogFile.

2004-04-10 12:02  castaglia

	* doc/howto/index.html:
	  Add an index page for these howtos.

2004-04-10 11:44  castaglia

	* doc/howto/Directory.html:
	  Typo.

2004-04-10 11:33  castaglia

	* doc/howto/Directory.html:
	  Add paragraph describing how the * glob within a path is matched
	  (i.e.  only for single directory level, not multiple directory
	  levels).

2004-04-10 11:01  castaglia

	* doc/howto/: Authentication.html, Chroot.html, ConfigFile.html,
	  Debugging.html, Directory.html, FTP.html, Filters.html,
	  Limit.html, SQL.html, ServerType.html, Stopping.html, TLS.html,
	  Umask.html, Vhost.html:
	  Standardize on "Last Updated" in the footer.

2004-04-10 10:59  castaglia

	* doc/howto/Logging.html:
	  Add Logging doc.

2004-04-10 10:42  castaglia

	* doc/howto/: Authentication.html, ConfigFile.html, Filters.html,
	  Limit.html, ServerType.html, Stopping.html, Vhost.html:
	  Modifying links in docs to reference other docs in this area,
	  rather than the pages on www.castaglia.org.

2004-04-10 10:29  castaglia

	* doc/howto/Stopping.html:
	  Add doc for starting/stopping proftpd.

2004-04-10 10:23  castaglia

	* doc/howto/FTP.html:
	  Add doc covering FTP commands supported by proftpd.

2004-04-10 10:16  castaglia

	* doc/howto/ServerType.html:
	  Adding ServerType doc.

2004-04-09 19:30  castaglia

	* modules/mod_auth_unix.c:
	  When compiling on a HP-UX box which supports bigcrypt(), the
	  following warning is seen:

	    passing arg 1 of `bigcrypt' discards qualifiers from pointer
	  target type

	  Quell this warning by explicitly casting the arguments to
	  bigcrypt() to be char *.

2004-04-09 19:01  castaglia

	* doc/howto/SSH.html:
	  Add FTP-over-SSH mini-HOWTO.

2004-04-09 17:34  castaglia

	* doc/howto/: Authentication.html, Chroot.html, ConfigFile.html,
	  Debugging.html, Directory.html, Filters.html, Limit.html,
	  SQL.html, TLS.html, Umask.html, Vhost.html:
	  Adjusting footers for consistency.

2004-04-09 17:19  castaglia

	* doc/howto/Umask.html:
	  Add the Umask mini-HOWTO.

2004-04-09 11:49  castaglia

	* doc/howto/Filters.html:
	  Add the Filters mini-HOWTO to the source distro.

2004-04-09 10:19  castaglia

	* contrib/: mod_ctrls_admin.c, mod_ctrls_admin.html:
	  Add ability to kick entire Classes via the 'kick' action.

2004-04-09 09:58  castaglia

	* include/fsio.h, modules/mod_core.c, src/fsio.c, src/mkhome.c:
	  The CreateHome code also included a static copy_file() function.
	  This change refactors the code so that both CreateHome and the
	  rename-across-mount-points code both use the same function, added
	  to the FSIO code as pr_fs_copy_file().  Code reuse good.

2004-04-09 09:54  castaglia

	* contrib/mod_ifsession.c:
	  Removing this HOOK, as it won't work as intended.  May re-add in
	  the future.

2004-04-08 17:23  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2385 - Renames fail with error "Invalid cross-device link".
	  In the case of EXDEV from rename(2), mod_core now manually copies
	  the file from the source to the destination location.  Any
	  content existing at the destination location is lost.

2004-04-08 15:50  castaglia

	* contrib/mod_ifsession.html:
	  Add note about making sure that mod_ifsession is last in the
	  --with-modules list.

2004-04-07 19:54  castaglia

	* contrib/mod_ctrls_admin.html:
	  Updating author, copyright info.

2004-04-07 19:43  castaglia

	* contrib/mod_ctrls_admin.html:
	  Add mod_ctrls_admin docs for the 'kick' action.

2004-04-07 19:39  castaglia

	* contrib/mod_ctrls_admin.c:
	  Add the 'kick' action to mod_ctrls_admin, for disconnecting
	  clients by user or host names.

2004-04-07 13:12  castaglia

	* doc/howto/Authentication.html:
	  Add note about avoiding use of mod_auth.c and mod_auth_pam.c in
	  AuthOrder directives.

2004-04-07 12:55  castaglia

	* contrib/mod_quotatab.html:
	  Add comment about per-session settings in mod_quotatab docs.

2004-04-07 12:02  castaglia

	* contrib/mod_quotatab.c:
	  Add a QuotaLog message warning that when per_session is true, the
	  QuotaTallyTable will not be updated.

2004-04-06 16:17  castaglia

	* NEWS, config.h.in:
	  Bug#2221 - proftpd on hp-ux 11.22.  Override the default
	  socklen_t detection on HP-UX 11 to be an int.  APR suffers from
	  this same problem (the bug is ultimately an HP-UX problem).

2004-04-05 18:50  castaglia

	* src/ctrls.c:
	  Fix a format warning on Solaris.

2004-04-05 16:01  castaglia

	* contrib/mod_tls.c:
	  Make sure and clear the relevant bits in tls_flags when the
	  control and data channels are closed.

2004-04-05 11:01  castaglia

	* src/ctrls.c:
	  Remove a hardcoded maximum limit on the size of request strings
	  that can be sent using the Controls API.  Uncovered when trying
	  to send messages larger than 8 Kb via SysV message queues.

2004-04-05 10:59  castaglia

	* modules/mod_auth.c, src/scoreboard.c:
	  Check for an error return value from pr_rewind_scoreboard().

	  Keep track of the process which opened the cached scoreboard fd.
	  It's possible to have the daemon process open the fd, and then
	  fork, which means the child will have that same fd.  However, the
	  child may fdopen() another file onto that fd (e.g. if the fd is
	  0), thus losing the scoreboard fd.  This patch also prevents the
	  possibility of a file descriptor leak by having the same process
	  open the scoreboard multiple times (e.g. when multiple modules
	  call pr_open_scoreboard()).

2004-04-05 10:54  castaglia

	* NEWS:
	  Mention the adding of mini-HOWTOs in NEWS.

2004-03-25 11:22  castaglia

	* configure:
	  Updating configure.

2004-03-25 11:16  castaglia

	* configure.in:
	  Remove checks for README.mod_sql from configure.

2004-03-25 09:33  castaglia

	* contrib/mod_tls.c:
	  Report the version of OpenSSL used in server debugging output.

2004-03-24 13:57  castaglia

	* contrib/ftpasswd.html:
	  Reflect Bug#2371's new --not-previous-passsword addition in the
	  ftpasswd HTML docs.

2004-03-24 13:55  castaglia

	* NEWS, contrib/ftpasswd:
	  Bug#2371 - ftpasswd should have option to compare password
	  against value in passwd file.

2004-03-23 15:29  castaglia

	* contrib/mod_tls.c:
	  Be more explicit about the expected return value from
	  SSL_CTX_load_verify_locations(3).  Handle the cases where the
	  pointers to the CA file or CA path may be NULL, as some libcs do
	  not handling printing of NULL pointers gracefully, unlike glibc.

2004-03-23 10:40  castaglia

	* modules/mod_ls.c:
	  Add a comment explaining the fix for Bug#2367.

2004-03-23 10:37  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2367 - LIST *.* strange behaviour.

2004-03-22 11:44  castaglia

	* doc/howto/: Authentication.html, Chroot.html, ConfigFile.html,
	  Debugging.html, Directory.html, Limit.html, TLS.html, Vhost.html:

	  Adding more howtos.

2004-03-22 11:32  castaglia

	* README.mod_sql:
	  Removing this outdated README; see doc/howto/SQL.html for an
	  updated version.

2004-03-22 11:31  castaglia

	* doc/howto/SQL.html:
	  Adding an HTML SQL howto to the doc/ area, to replace the
	  README.mod_sql (which is now terribly outdated).

2004-03-19 12:22  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2369 - EPSV should not send network address when
	  MasqueradeAddress is used.  RFC 2428 is not very clear on this
	  point, for it introduces a discrepancy in the possible responses
	  to PASV versus EPSV.	Until this can be cleared up, do not honor
	  MasqueradeAddress when EPSV is used by the client.

2004-03-17 10:48  castaglia

	* contrib/mod_sql.html:
	  Removed mention of "*" for the SQLAuthenticate directive.

2004-03-16 13:46  castaglia

	* contrib/mod_sql.c:
	  Mark the SQLLog and SQLShowInfo config_recs as
	  CF_MERGEDOWN_MULTI.  This doesn't affect how mod_sql processes
	  these directives, but it does make them work properly within
	  mod_ifsession blocks.

2004-03-10 18:18  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2363 - ABOR response RFC 959 compliance.

2004-03-10 18:02  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2361 - Second USER command causes problems with chrooted
	  session.  The PRE_CMD handler for C_USER should check to see if a
	  user is already logged in before doing any processing.

2004-03-10 16:13  castaglia

	* NEWS:
	  Typos.

2004-03-09 17:31  castaglia

	* include/privs.h:
	  Typo.

2004-03-08 16:53  castaglia

	* src/netaddr.c:
	  Add some debug logging, level 10, showing when a name is being
	  resolved to its IP addresses, including when DNS is used.

	  At debug level 10, things are getting quite verbose; we should
	  start looking into debugging output masks.

2004-03-08 12:32  castaglia

	* README.controls:
	  Clarify that using --enable-ctrls means not using
	  --with-modules=mod_ctrls.

2004-03-05 10:48  castaglia

	* modules/mod_core.c:
	  On second thought, setting errno to ENOENT in these cases may not
	  be the best idea.

2004-03-05 10:36  castaglia

	* modules/mod_core.c:
	  Make sure that errno has an appropriate value in the case where a
	  resolved path may actually be NULL.  Also, report on failed paths
	  using cmd->arg, rather than cmd->argv[1], to handle the case
	  where the client may have specified a path containing whitespace
	  characters.

2004-03-05 10:22  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2321 - FTP permission checks inconsistent for DELE and RMD
	  when symlink in directory path.  For future reference, if
	  dir_canonical_path() is used to obtain a path, use
	  dir_check_canon() for checking <Limit> permissions on that
	  returned path, instead of using dir_check().	The dir_* namespace
	  could use some cleaning up, to make this sort of relationship a
	  little clearer.

2004-03-04 19:24  castaglia

	* NEWS, utils/ftptop.c:
	  Bug#2357 - ftptop should use COLS for determining display width.

2004-03-04 19:00  castaglia

	* configure:
	  Updating configure.

2004-03-04 18:13  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_xfer.c:
	  Bug#2353 - REST doesn't handle offsets greater than 2 GB.

2004-03-04 13:13  castaglia

	* modules/mod_core.c:
	  Change handling of the SetEnv, UnsetEnv directives so that that
	  they can be set on a per-vhost basis.

2004-03-03 17:41  castaglia

	* contrib/mod_tls.c:
	  Didn't mean to commit those debugging changes.  Oops.

2004-03-03 17:33  castaglia

	* contrib/mod_tls.c:
	  No need to be that verbose.

2004-03-03 13:21  castaglia

	* contrib/mod_tls.c:
	  Handle the case where mod_tls has been configured to set
	  environment variables but the client does not present a
	  certificate (e.g. when not verifying clients).  Previously, this
	  would cause a segfault.

2004-03-02 16:24  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2355 - Send error message to client when 'TLSRequired both'
	  is in effect.

2004-03-02 09:43  castaglia

	* contrib/mod_tls.c:
	  Typo.

2004-03-01 08:55  castaglia

	* include/conf.h:
	  Doesn't help to check for <utime.h> if we don't include it.

2004-03-01 08:54  castaglia

	* contrib/mod_ctrls_admin.c:
	  Typo.  Eventually, mod_ctrls_admin's dump control will handling
	  list of variables in the (as yet uncommitted) Variables API.

2004-03-01 08:47  castaglia

	* configure:
	  Updating configure.

2004-03-01 08:44  castaglia

	* config.h.in, configure.in:
	  Check for the <utime.h> system header.

2004-03-01 08:43  castaglia

	* contrib/mod_ctrls_admin.c, contrib/mod_ctrls_admin.html,
	  src/netacl.c:
	  Complete the 'dump classes' control for mod_ctrls_admin.  Also
	  adds the missing pr_netacl_get_type() function.

2004-03-01 08:42  castaglia

	* src/event.c:
	  Add some basic caching of the last valid event generated, as a
	  minor optimization.

2004-02-27 16:17  castaglia

	* contrib/mod_sql.html:
	  Add HTML docs for mod_sql.

2004-02-27 14:53  castaglia

	* modules/mod_ls.c:
	  STAT is an INFO command more than it is a DIRS command (for
	  logging purposes).

2004-02-27 14:42  castaglia

	* contrib/mod_sql.c:
	  Add handling of the %L (local IP address) and %V (local DNS name)
	  tags.  Fix formatting.

2004-02-27 11:44  castaglia

	* modules/mod_cap.c:
	  Bug#2348 prompted this addition of handling CAP_DAC_OVERRIDE and
	  CAP_DAC_READ_SEARCH, in addition to CAP_CHOWN.

2004-02-27 11:27  castaglia

	* NEWS, README.modules:
	  Bug#2257 - Add SITE SYMLINK command to mod_site.  Added a new
	  contrib module, mod_site_misc, instead.

2004-02-27 10:41  castaglia

	* contrib/: mod_site_misc.c, mod_site_misc.html:
	  New contrib module that implements miscellaneous SITE commands
	  (e.g. SITE SYMLINK, SITE UTIME, etc) that other ftpds may
	  recognize (e.g. ncftpd).

2004-02-24 12:34  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2339 - STAT command doesn't follow RFC959.

2004-02-24 12:32  castaglia

	* sample-configurations/basic.conf:
	  It's a little more efficient to have AllowOverwrite in the server
	  config context, rather than in a <Directory> context that covers
	  the entire filesystem.

2004-02-24 12:13  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2311 - MaxClients counts unauthenticated users.

2004-02-24 11:45  castaglia

	* contrib/mod_sql.c:
	  Oops.  My previous commit included my work-in-progress patch for
	  SQLShowInfo, which isn't ready yet.

2004-02-24 11:39  castaglia

	* contrib/mod_sql.c:
	  Fixed a bug in mod_sql in the show_group() function, where a
	  large list of users that belonged to a single group could tickle
	  a segfault.  There was a hardcoded buffer size of 2K that was
	  being exceeded.  Better to use pstrcat() and build up the needed
	  string.

	  Also add some typecasts to unsigned longs for reporting IDs.

2004-02-24 08:52  castaglia

	* modules/mod_core.c:
	  Typos.

2004-02-23 16:44  castaglia

	* modules/mod_xfer.c:
	  Allow uploading to FIFOs.  Should we allow uploading to symlinks,
	  too?

2004-02-23 15:27  castaglia

	* modules/mod_site.c:
	  mod_site no longer uses a configuration handler table.

2004-02-23 11:30  castaglia

	* src/dirtree.c:
	  Quell a minor compiler warning on OSX.

2004-02-23 10:34  castaglia

	* README.modules:
	  Adding mod_quotatab et al to the list of modules that accompany
	  proftpd.

2004-02-20 10:34  castaglia

	* NEWS, include/dirtree.h, modules/mod_core.c, src/dirtree.c,
	  src/main.c:
	  Bug#1696 - Include directive should support directories.

2004-02-20 09:10  castaglia

	* contrib/ftpasswd:
	  When the --not-system-password option is used, it's possible for
	  there to be no entry in the system password files for the user
	  being created, in which case $hash and $syspasswd will both be
	  the empty string -- and will match, making ftpasswd think that a
	  different password is needed.  Fix this by checking for the empty
	  strings.

2004-02-19 10:22  castaglia

	* README.IPv6:
	  Updating the IPv6 notes.

2004-02-19 10:13  castaglia

	* contrib/mod_ifsession.c:
	  Add a check for <Limit LOGIN> to mod_ifsession, after all the
	  configuration merging is done.  This allows for configurations
	  like:

	    <IfUser foo>
	      <Limit LOGIN>
		DenyAll
	      </Limit>
	    </IfUser>

2004-02-16 19:53  castaglia

	* NEWS, modules/mod_auth_pam.c:
	  Bug#2105 - Remove Authoritative directives.

2004-02-16 19:09  castaglia

	* contrib/ftpasswd.html:
	  Documenting the new --delete-user and --delete-group options.
	  Examples should be added at some point, too.

2004-02-16 19:06  castaglia

	* NEWS, contrib/ftpasswd:
	  Bug#2171 - Add delete options to ftpasswd.

2004-02-16 18:15  castaglia

	* Make.rules.in, contrib/mod_tls.c, include/conf.h, include/help.h,
	  modules/mod_auth.c, modules/mod_core.c, modules/mod_ls.c,
	  modules/mod_site.c, modules/mod_xfer.c, src/help.c:
	  Adding a new API so that modules can declare, for the HELP
	  response list, which FTP commands they support.  This makes it
	  easier/cleaner for contrib modules, e.g. mod_tls, to declare
	  their support for FTP commands that may not be handled by the
	  core code.

2004-02-16 15:05  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2237 - HiddenStores does not check for existing file in edge
	  case.

2004-02-15 14:58  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2327 - SQLNegativeCache causes unnecessary errors in server
	  logging.

2004-02-15 14:42  castaglia

	* contrib/mod_sql.c:
	  Note the directive name when warning of deprecated * usage.

2004-02-15 14:05  castaglia

	* contrib/mod_sql.c:
	  Disable the "*" functionality in SQLAuthenticate, which was used
	  to configure mod_sql to be authoritative.  This conflicts with
	  the AuthOrder configuration directive, which should be used
	  instead.

2004-02-15 11:41  castaglia

	* NEWS:
	  Mention in the NEWS file that Class and Classes are now
	  deprecated.

2004-02-13 15:37  castaglia

	* contrib/mod_quotatab.h:
	  Update mod_quotatab's PROFTPD_VERSION_NUMBER check.

2004-02-13 15:28  castaglia

	* contrib/mod_ifsession.c:
	  Update the PROFTPD_VERSION_NUMBER check.

2004-02-13 14:47  castaglia

	* contrib/mod_rewrite.c:
	  Updating mod_rewrite for Class code changes.

2004-02-13 14:45  castaglia

	* contrib/mod_quotatab.c:
	  Updating mod_quotatab for Class code changes.

2004-02-13 14:44  castaglia

	* contrib/mod_ifsession.c:
	  Updating mod_ifsession to reflect Class changes.

2004-02-12 15:46  castaglia

	* NEWS, Makefile.in:
	  Bug#2340 - Problem with parallel builds.

2004-02-11 19:48  castaglia

	* contrib/mod_radius.html:
	  Update the mod_radius installation instructions.

2004-02-11 19:47  castaglia

	* contrib/mod_radius.html:
	  Typo.

2004-02-11 19:41  castaglia

	* contrib/mod_radius.html:
	  Update the mod_radius docs.

2004-02-10 15:31  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2337 - TLSRenegotiate parameters not processed correctly.

2004-02-09 20:07  castaglia

	* contrib/mod_tls.c:
	  When walking the server_list list, we need to start with
	  server_list->xas_list, not just server_list.	This is a subtle
	  and easy to miss bug, and was causing the list-walking code to
	  attempt to access inaccessible memories (not good).

	  This highlights a need for a good list/set-iterating API, rather
	  than relying on details of the actual structures.

2004-02-07 17:55  castaglia

	* contrib/mod_readme.c:
	  Update mod_readme to use the new pr_gmtime() function.

2004-02-07 17:12  castaglia

	* NEWS, utils/ftpcount.c:
	  Bug#2306 - ftpcount output should handle case of no users.

2004-02-07 16:40  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2324 - Directories whose names contain whitespace are
	  inaccessible.  The problem was that the dir_check() call was
	  using cmd->argv[0], rather than cmd->arg; the former is the first
	  parameter of the command (where the parameters are assumed to be
	  whitespace-separated) whereas the latter is the entire parameter
	  list as a single string.  The rest of the patch cleans up the
	  formatting in the chdir() handling code.

2004-02-04 10:45  castaglia

	* src/xferlog.5.in:
	  Document in the xferlog(5) man page that any space or control
	  characters in a filename will be converted to an underscore in
	  TransferLogs.

2004-02-03 15:57  castaglia

	* NEWS, modules/mod_core.c, src/dirtree.c:
	  Bug#2315 - Overlapping virtual server causes error.

	  Also changes the collision check log messages to say "warning"
	  rather than "error".

2004-02-01 12:51  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2322 - NLST -a returns listing formatted for LIST -a.

2004-01-30 16:08  castaglia

	* src/log.c:
	  Addition of PID was redundant.  Oops.

2004-01-30 15:09  castaglia

	* src/netaddr.c:
	  "dup" is an already used global variable in some system headers.
	  How annoying.

2004-01-30 08:42  castaglia

	* src/main.c:
	  Remove an annoying "FTP session closed." message from being
	  logged when doing a simple syntax check of a proftpd.conf whose
	  ServerType is inetd.

2004-01-29 19:37  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2295 - mod_tls returns multi-line response to AUTH commands.

2004-01-29 19:09  castaglia

	* README.classes:
	  Explicitly mention that the Class and Classes directives are
	  deprecated.

2004-01-29 14:20  castaglia

	* Make.rules.in, NEWS, contrib/mod_sql.c, include/class.h,
	  include/conf.h, include/dirtree.h, include/netacl.h,
	  include/proftpd.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_log.c, src/class.c, src/dirtree.c, src/main.c,
	  src/netacl.c:
	  Bug#1925 - Clean up of Class code.

2004-01-28 19:37  castaglia

	* src/log.c:
	  If --enable-devel is used, add the PID to the server debugging
	  lines.  This might be useful enough to use all of the time, but
	  for now it'll be restricted to developer use.

2004-01-28 19:19  castaglia

	* include/netaddr.h, src/netaddr.c:
	  Add a new function, pr_netaddr_dup(), for convenience.

2004-01-28 17:03  castaglia

	* contrib/mod_quotatab.c:
	  The SITE QUOTA command should be marked as a CL_MISC class
	  command, so that ExtendedLogs that wish to log MISC commands
	  record it.

2004-01-20 16:35  cyberrobo

	* .cvsignore: adding ftpdctl to the ignorelist

2004-01-20 15:26  castaglia

	* contrib/mod_quotatab_sql.html:
	  Add FREEFORM INSERT query that is needed when talking to SQL
	  Server.

2004-01-20 09:11  castaglia

	* contrib/mod_radius.html:
	  Grammar fix.

2004-01-20 09:07  castaglia

	* contrib/mod_radius.html:
	  Make a note of some nonsensical RADIUS implementations not being
	  supported by mod_radius.

2004-01-19 10:00  castaglia

	* contrib/mod_ctrls_admin.c, modules/mod_ctrls.c:
	  No need to re-register the controls themselves, just reallocate
	  the ACLs from the new module pools.

2004-01-19 09:58  castaglia

	* contrib/mod_ctrls_admin.c, modules/mod_ctrls.c:
	  When handling the "core.restart" event, the module pools for both
	  mod_ctrls and mod_ctrls_admin are destroyed/recreated.  Since the
	  ACLs for the registered controls are allocated from these module
	  pools, the ACLs need to be recreated as well.

	  Also, when building mod_ctrls_admin, make sure that Controls
	  support has been enabled.

2004-01-19 09:42  castaglia

	* src/log.c:
	  Make pr_log_writefile() a little more robust, by checking whether
	  the given fd is valid before doing any work.

2004-01-18 11:01  castaglia

	* utils/: ftptop.c, utils.h:
	  No need to include <sys/types.h> in these files, as it is already
	  included in config.h.

2004-01-18 10:21  castaglia

	* modules/mod_ctrls.c:
	  Change the usage of PRIVS macros in some of mod_ctrls' config
	  handlers.  Michael found that this was causing problems when
	  restarting a proftpd with Controls enabled (see Bug#2242).

2004-01-18 10:11  castaglia

	* modules/mod_ctrls.c:
	  No need to log the error using root privs.

2004-01-17 22:07  cyberrobo

	* src/.cvsignore: added ftpdctl manpage to ignore list

2004-01-17 15:18  castaglia

	* configure:
	  Updating configure script.

2004-01-17 15:16  castaglia

	* NEWS, configure.in:
	  Bug#2320 - autoconf check for socklen_t doesn't work on FreeBSD
	  4.8-RELEASE.

2004-01-17 15:08  castaglia

	* NEWS, Makefile.in:
	  Bug#2319 - Build scripts have owner-only execute permission.

2004-01-17 14:57  castaglia

	* config.sub:
	  No, that didn't work.

2004-01-17 14:56  castaglia

	* config.sub:
	  Checking to see how to get permissions changed in CVS.  I think
	  CVS requires that the file itself (not just the mode) differ.

2004-01-16 12:47  castaglia

	* README.classes:
	  First draft of a README describing the new <Class> syntax.
	  Edits/additions welcome.

2004-01-15 16:45  castaglia

	* modules/mod_core.c:
	  Have the emitted vhost collision message say "warning", rather
	  than "error".

2004-01-15 16:29  castaglia

	* modules/mod_auth.c:
	  The current CreateHome description has the following examples:

	    CreateHome on skel /etc/ftpd/skel
	    CreateHome on dirmode 755
	    CreateHome on skel /etc/ftpd/skel dirmode 700

	  However, the current CreateHome implementation assumes that the
	  parameter after the Boolean will always be the mode.	This change
	  makes the config handler check for any preceding 'skel' or
	  'dirmode' keywords before trying to process that parameter as the
	  mode.  Hopefully now the examples will work properly.

2004-01-15 15:54  castaglia

	* contrib/mod_quotatab.c:
	  Christian Schulte <cs@schulte.it> noticed that the handling of
	  locks by mod_quotatab is not right.  The quotatab_write()
	  function would obtain a write-lock, then call quotatab_read() to
	  refresh its data, and quotatab_read() would degrade that
	  write-lock to a read-lock, then release it completely, leaving
	  the actual write operation unprotected by a lock.  This patch
	  fixes the contention in the locking routinese by having them
	  check and set a static variable.

2004-01-15 13:51  castaglia

	* README.controls:
	  Updating/fixing this document.

2004-01-14 12:57  castaglia

	* README.controls:
	  Add a README describing the new Controls code.  It's a work in
	  progress.

2004-01-13 20:00  castaglia

	* modules/mod_auth.c:
	  Fix compiler warning.

2004-01-13 15:47  castaglia

	* NEWS:
	  Add comment that bug 2183 is the same as bug 2165.

2004-01-12 15:13  castaglia

	* modules/mod_xfer.c:
	  Consistency.

2004-01-12 15:01  castaglia

	* modules/mod_xfer.c:
	  Report errors when closing a file that has been written.  Such
	  errors normally don't occur, but can happen with a disk is full.

	  Fix a typo.

2004-01-11 13:33  castaglia

	* NEWS, contrib/mod_sql_mysql.c:
	  Bug#2307 - MySQL 4.1.1 API change causes mod_sql_mysql
	  compilation failure.

2004-01-08 20:41  castaglia

	* src/pool.c:
	  The logic for handling new_block()'s exact argument was
	  accidentally inverted.

2004-01-08 20:23  castaglia

	* include/pool.h, src/pool.c:
	  Be consistent with the argument data types.  These probably
	  should be size_ts, but ints suffice.

2004-01-08 20:15  castaglia

	* include/pool.h, src/pool.c:
	  Adding some new functions to the Pool API.  These new functions
	  allow for pools to be allocated for a specific size, rather than
	  always having the requested size be rounded up to the nearest
	  BLOCK_MINFREE (usu. 512 bytes).  These will be handy in cases
	  where pools smaller than 512 bytes can be used (e.g. stash
	  pools).

2004-01-02 07:27  jwm

	* NEWS:
	  - Bug 2267 - Broken IP subnet matching. Added new ACL
	  parsing/matching code.

2003-12-30 15:17  castaglia

	* contrib/mod_sql.c:
	  Make mod_sql a little less noisy.  This "no SQLAuthTypes" message
	  would be logged for every connection to a vhost that has not been
	  configured for mod_sql (when mod_sql is present), which can be
	  very annoying for those configurations where only some vhosts,
	  not all, need to authenticate using SQL.

2003-12-30 14:56  castaglia

	* src/main.c:
	  Style.

2003-12-26 07:59  jwm

	* NEWS, Makefile.in: Bug 2305 - Compile Problems since > 1.2.9 Link
	  ftpdctl against libsocket and libnsl to pick up dependency
	  functions

2003-12-19 13:29  castaglia

	* contrib/mod_quotatab.c:
	  Don't subtract xfer bytes when deleting a directory.	Found and
	  fixed by Christian Schulte <cs@schulte.it>

2003-12-16 09:43  castaglia

	* NEWS, src/netio.c:
	  Bug#2300 - poll() returns 1 and read returns 0, inifinite loop.

2003-12-14 14:09  jwm

	* contrib/dist/rpm/proftpd.spec:
	  [Bug 2301] New: (s)rpms should require "/sbin/chkconfig" instead
	  of package "chkconfig"

2003-12-11 12:30  castaglia

	* contrib/mod_quotatab.h:
	  Bump the mod_quotatab version, for clarity.

2003-12-11 00:04  castaglia

	* modules/mod_auth.c:
	  Forgot to add strerror() to the DefaultRoot resolution debugging.

2003-12-10 23:59  castaglia

	* modules/mod_auth.c:
	  Add some debugging to the function which determines the actual
	  path to use for DefaultRoot.

2003-12-09 12:08  castaglia

	* contrib/mod_quotatab.c:
	  More minor quotatab bugs fixed by Christian Schulte
	  <cs@schulte.it>.

2003-12-09 11:57  castaglia

	* contrib/mod_quotatab_sql.c:
	  Bug found by Christian Schulte <cs@schulte.it>: delta values are
	  signed, and can be negative.

2003-12-02 23:43  castaglia

	* contrib/: ftpquota.html, mod_quotatab.html,
	  mod_quotatab_file.html, mod_quotatab_ldap.html,
	  mod_quotatab_sql.html:
	  Updating mod_quotatab docs to reflect the fact that the current
	  versions will now always be found in the source distribution,
	  rather than on castaglia.org/proftpd.

2003-12-02 23:39  castaglia

	* NEWS, contrib/ftpquota, contrib/ftpquota.html,
	  contrib/mod_quotatab.c, contrib/mod_quotatab.h,
	  contrib/mod_quotatab.html, contrib/mod_quotatab_file.c,
	  contrib/mod_quotatab_file.html, contrib/mod_quotatab_ldap.c,
	  contrib/mod_quotatab_ldap.html, contrib/mod_quotatab_sql.c,
	  contrib/mod_quotatab_sql.html:
	  Adding mod_quotatab to the contrib area.

2003-12-02 16:16  castaglia

	* NEWS, src/netaddr.c:
	  Bug#2288 - ServerFQDN set to 255.255.255.255 and not hostname.
	  This was due to the bundled inet_ntop() implementation not
	  correctly handling the INADDR_NONE return value.

2003-12-01 19:06  castaglia

	* modules/mod_core.c:
	  Adjust mod_core.c to use the pr_* wrappers for gmtime(),
	  localtime().

2003-12-01 18:54  castaglia

	* NEWS, include/support.h, modules/mod_ls.c, src/support.c:
	  Bug#2290 - gmtime() static storage may be overwritten by modules.
	  A portable solution is to use wrappers that memcpy() the
	  gmtime() and localtime() results.

2003-11-19 12:57  castaglia

	* include/inet.h, include/netaddr.h, src/inet.c, src/netaddr.c:
	  Moving the declaration and definition of pr_get{addr,name}info,
	  pr_freeadrinfo, pr_inet_{ntop,pton} from inet to netaddr, as
	  netaddr is the file that uses those functions most.  Also, it
	  solves some linking problems on older systems that do not have
	  the get{addr,name}info(2) functions.

2003-11-19 12:13  castaglia

	* NEWS, Makefile.in:
	  Bug#1635 - Older systems' chown(1) does not support -h option.

2003-11-17 10:58  castaglia

	* src/netaddr.c:
	  Adding comments to clarify the purpose/usage of the
	  get_v4inaddr() function.

2003-11-15 17:32  castaglia

	* src/netacl.c:
	  Forgot to change this function name.

2003-11-15 17:25  castaglia

	* src/netacl.c:
	  Typo.

2003-11-15 16:55  castaglia

	* include/netacl.h, src/dirtree.c, src/netacl.c:
	  Making the ACL type publically available via an accessor.

2003-11-15 16:49  castaglia

	* contrib/: mod_ctrls_admin.c, mod_ctrls_admin.html:
	  Split the 'debug config|memory' stuff into a new control action,
	  'dump'.  In the future, the 'dump' action will also support
	  dumping of <Class> and <Directory> information.

2003-11-15 15:49  castaglia

	* Make.rules.in, include/conf.h, include/dirtree.h,
	  include/netacl.h, include/netaddr.h, modules/mod_core.c,
	  src/dirtree.c, src/netacl.c, src/netaddr.c:
	  Adding new ACL parsing/matching code.  This is flexible enough to
	  handle IPv6 addresses, and will be used in the new <Class>
	  definition code (coming soon).  This should also fix the ACL
	  checking that was broken (Bug#2267) in 1.2.9's IPv6 changes.

2003-11-15 12:41  castaglia

	* modules/mod_core.c:
	  Need to set the ServerAddress field of the main_server as well
	  when handling the DefaultAddress directive, because
	  fixup_servers() later checks that field.

2003-11-15 12:30  castaglia

	* src/dirtree.c:
	  Bad grammar.

2003-11-15 12:27  castaglia

	* NEWS, src/dirtree.c:
	  Bug#2048 - Add ability to get configuration file values from
	  environment.

2003-11-15 11:52  castaglia

	* NEWS, include/dirtree.h, src/dirtree.c:
	  Bug#2274 - Default server only binds to one IP address of host if
	  --enable-ipv6 is used.

2003-11-15 11:43  castaglia

	* modules/mod_core.c:
	  Handle IPv4 address Binds properly for DefaultAddress when IPv6
	  is in use.

2003-11-14 18:31  castaglia

	* configure:
	  Updating configure.

2003-11-14 18:27  castaglia

	* configure.in:
	  When checking for the security and sec libs on Tru64 Unix, we
	  need to check for the libs before checking for the functions via
	  AC_CHECK_FUNC, not after.

2003-11-12 23:25  castaglia

	* src/netaddr.c:
	  Should be using pcalloc() not palloc().

2003-11-12 11:14  castaglia

	* contrib/: mod_ctrls_admin.c, mod_ctrls_admin.html:
	  Use '#' as the address/port delimiter, rather than '/'.

2003-11-12 08:20  castaglia

	* NEWS, src/inet.c:
	  Updating code for Mac OS X 10.3 (Darwin 7).

2003-11-10 13:38  castaglia

	* configure:
	  Updating configure.

2003-11-10 13:33  castaglia

	* config.h.in, configure.in:
	  Add a check for the getenv(3) function.

2003-11-09 19:56  castaglia

	* contrib/mod_ctrls_admin.html:
	  Document the 'config' option to the 'debug' action.

2003-11-09 19:55  castaglia

	* contrib/mod_ctrls_admin.c, include/dirtree.h, src/dirtree.c:
	  Rearrange the config-dumping code a little and provide a public
	  function for it, so that mod_ctrls_admin can support a 'debug
	  config' action.

2003-11-09 19:52  castaglia

	* src/pool.c:
	  Better name for this printf-like function pointer variable.

2003-11-09 19:14  castaglia

	* configure:
	  Updating configure.

2003-11-09 19:10  castaglia

	* configure.in:
	  Some systems (e.g. FreeBSD) declare getaddrinfo(2) in
	  <sys/socket.h>.

2003-11-09 16:51  castaglia

	* contrib/mod_ctrls_admin.c:
	  Update mod_ctrls_admin to use events.

2003-11-09 16:01  castaglia

	* contrib/: mod_ctrls_admin.c, mod_ctrls_admin.html:
	  Controls are useless without something implementing some control
	  actions; add the mod_ctrls_admin module (was mod_ctrls_common) to
	  contrib.

2003-11-09 15:32  castaglia

	* src/: auth.c, ctrls.c, data.c, dirtree.c, event.c, fsio.c,
	  ident.c, log.c, main.c, mkhome.c, netaddr.c, scoreboard.c,
	  support.c:
	  Updating the source code to use pr_log_debug() rather than
	  log_debug().

2003-11-09 15:10  castaglia

	* modules/: mod_auth.c, mod_auth_file.c, mod_cap.c, mod_core.c,
	  mod_ctrls.c, mod_log.c, mod_ls.c, mod_site.c, mod_xfer.c:
	  Updating modules to use pr_log_debug() rather than log_debug().

2003-11-09 14:59  castaglia

	* include/privs.h:
	  Use pr_log_debug() rather than log_debug().

2003-11-09 14:54  castaglia

	* doc/mod_sample.c:
	  Updating the sample module mod_sample.c to use pr_log_*() rather
	  than log_*().

2003-11-09 14:51  castaglia

	* modules/mod_core.c:
	  unsetenv(3) returns void, not int.

2003-11-09 14:48  castaglia

	* src/main.c:
	  Typo.

2003-11-09 14:43  castaglia

	* src/main.c:
	  Forgot to cleanup one sig_debug() reference.

2003-11-09 14:40  castaglia

	* include/proftpd.h, src/main.c:
	  Tweak the handling of SIGUSR2 a little.  If controls are not
	  enabled, keep the current behavior: the proftpd process will
	  print a memory dump.	If controls are enabled, generate a
	  "core.signal.USR2" event, which will allow modules to register
	  multiple handlers for this same event.  This way,
	  mod_ctrls_common can use SIGUSR2 to get other proftpd processes
	  to print memory dumps, and thus keeping the ability to get memory
	  dumps from any proftpd process.  Without this change, if controls
	  are enabled, we can only get a memory dump of the daemon process
	  (and most of the time, it is the session processes in which we
	  are interested).

2003-11-09 14:19  castaglia

	* Make.rules.in, include/conf.h, include/log.h, include/support.h,
	  include/xferlog.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_xfer.c, src/log.c, src/main.c, src/support.c,
	  src/xferlog.c:
	  Splitting the TransferLog routines into their own source file,
	  and moving the functions into a nonpublic xferlog_ namespace.

2003-11-09 13:35  castaglia

	* contrib/mod_ldap.c:
	  Updating mod_ldap.c to use pr_log_*() rather than log_*().

2003-11-09 13:29  castaglia

	* contrib/mod_ratio.c:
	  Updating mod_ratio.c to use pr_log_*() rather than log_*().

2003-11-09 13:28  castaglia

	* contrib/mod_wrap.c:
	  Updating mod_wrap.c to use pr_log_*() rather than log_*().

2003-11-09 13:26  castaglia

	* contrib/mod_tls.c:
	  Updating mod_tls.c to use pr_log_*() rather than log_*().

2003-11-09 13:25  castaglia

	* contrib/mod_sql_postgres.c:
	  Updating mod_sql_postgres to use pr_log_*() rather than log_*().

2003-11-09 13:24  castaglia

	* modules/mod_core.c, src/main.c:
	  The function is now pr_log_setdebuglevel(), not
	  log_setdebuglevel().

2003-11-09 13:23  castaglia

	* contrib/mod_sql_mysql.c:
	  Updating mod_sql_mysql.c to use pr_log_*() rather than log_*().

2003-11-09 13:22  castaglia

	* contrib/mod_sql.c:
	  Updating mod_sql.c to use pr_log_*() rather than log_*().

2003-11-09 13:20  castaglia

	* contrib/mod_rewrite.c:
	  Updating mod_rewrite.c to use pr_log_*() rather than log_*().

2003-11-09 13:19  castaglia

	* contrib/mod_readme.c:
	  Updating mod_readme to use pr_log_debug() rather than
	  log_debug().

2003-11-09 13:18  castaglia

	* contrib/mod_radius.c:
	  Updating mod_radius.c to use pr_log_pri() rather than log_pri().

2003-11-09 13:16  castaglia

	* contrib/mod_ifsession.c:
	  Updating mod_ifsession to use pr_log_debug() rather than
	  log_debug().

2003-11-09 13:11  castaglia

	* include/privs.h:
	  Updating privs.h to use the pr_log_* functions.  Also cleans up
	  some cruft related to checking of when session.login_uid is set.

2003-11-09 13:09  castaglia

	* include/bindings.h, include/log.h, lib/pwgrent.c,
	  modules/mod_auth.c, modules/mod_auth_file.c,
	  modules/mod_auth_pam.c, modules/mod_auth_unix.c,
	  modules/mod_cap.c, modules/mod_core.c, modules/mod_ctrls.c,
	  modules/mod_log.c, modules/mod_ls.c, modules/mod_xfer.c,
	  src/auth.c, src/bindings.c, src/ctrls.c, src/data.c,
	  src/dirtree.c, src/fsio.c, src/inet.c, src/log.c, src/main.c,
	  src/mkhome.c, src/modules.c, src/netaddr.c, src/pool.c,
	  src/regexp.c, src/scoreboard.c, src/support.c:
	  Moving the log_*() functions into the pr_ namespace.	Let the
	  terror and madness begin!  Actually, log.h includes some
	  transitional macros, so that the old symbols will be redefined
	  properly.

2003-11-09 11:53  castaglia

	* NEWS:
	  Note the affect of the logging class change for RNFR and RNTO.

2003-11-09 09:08  castaglia

	* src/ftpdctl.8.in:
	  Still not quite right.  Trying to get the action-parameters to be
	  properly shown as optional parameters to the action part of the
	  command.

2003-11-09 09:04  castaglia

	* src/ftpdctl.8.in:
	  Tweak the ftpdctl man page a little.

2003-11-09 00:02  castaglia

	* configure:
	  Updating configure.

2003-11-09 00:00  castaglia

	* Makefile.in, configure.in, src/ftpdctl.8.in:
	  Adding ftpdctl man page.

2003-11-08 23:47  castaglia

	* src/ctrls.c:
	  Tag pools allocated in the Controls API.  Style cleanup.

2003-11-08 21:38  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2046 - Change RFNR and RNTO logging class to WRITE.

2003-11-08 21:15  castaglia

	* contrib/mod_wrap.c:
	  Wrong function name.

2003-11-08 21:11  castaglia

	* modules/: mod_auth.c, mod_core.c, mod_xfer.c:
	  Updating the rest of the core code to use the newer Expressions
	  API.

2003-11-08 21:03  castaglia

	* contrib/mod_wrap.c:
	  Updating mod_wrap for the newer Expressions API.

2003-11-08 20:53  castaglia

	* contrib/mod_ifsession.c:
	  Updating mod_ifsession to use the new Expressions API.  Fixed a
	  compiler warning issued under --enable-devel.

2003-11-08 20:46  castaglia

	* include/dirtree.h, src/dirtree.c:
	  Cleaning up the API for evaluating user, group, and class
	  expressions.	This commit gives the API a consistent pr_expr_
	  prefix.  It also provides some transitional macros.

2003-11-08 20:43  castaglia

	* configure:
	  Updating configure.

2003-11-08 19:41  castaglia

	* contrib/mod_ifsession.c:
	  Adjust mod_ifsession to use the same expression indicator values
	  as the core code.

2003-11-08 19:37  castaglia

	* NEWS, include/dirtree.h, modules/mod_core.c, src/dirtree.c:
	  Bug#2015 - Add AND, OR keywords to Allow/DenyUser directives.
	  This affects the AllowGroup and DenyGroup directives as well.

2003-11-08 18:34  castaglia

	* modules/mod_ctrls.c:
	  Register a handler for the "core.exit" event, rather than using
	  pr_exit_register_handler().  The latter function will be being
	  phased out.

2003-11-08 18:29  castaglia

	* modules/mod_auth.c:
	  Generate events when the MaxClients* and MaxHostsPerUser limits
	  are hit.

2003-11-08 18:17  castaglia

	* include/event.h, src/event.c, src/main.c:
	  Add generation of "core.exit" event.	Adjust the event
	  unregistration function to handle the needs of the core code when
	  doing exit handler processing.

2003-11-08 18:08  castaglia

	* modules/mod_ctrls.c:
	  Modify mod_ctrls to use the new Event API (as all new modules
	  should).

2003-11-08 17:55  castaglia

	* Make.rules.in, Makefile.in, NEWS, config.h.in, configure.in,
	  include/bindings.h, include/conf.h, include/ctrls.h,
	  include/mod_ctrls.h, include/pool.h, modules/mod_ctrls.c,
	  src/Makefile.in, src/bindings.c, src/ctrls.c, src/ftpdctl.c,
	  src/main.c, src/modules.c, src/pool.c:
	  Bug#2072 - Add Controls API.	Still to be done: a man page for
	  ftpdctl, better documentation for mod_ctrls.

2003-11-08 16:52  castaglia

	* src/bindings.c:
	  Remove (now) unused variable.

2003-11-08 15:34  castaglia

	* NEWS, modules/mod_core.c, src/bindings.c:
	  Bug#2272 - Address/port collision check needs to handle
	  DefaultAddress. The problem was that the address assigned by
	  DefaultAddress was being assigned _after_ the addr/port collision
	  check.

2003-11-08 14:45  castaglia

	* include/fsio.h, src/fsio.c:
	  Cleanup the FSIO API a little:

	    + some of the directory operation flags were improperly
	  overloading file
	      operation flags
	    + change the prototype of the open/creat handlers to take a
	  pointer to
	      a pr_fh_t (filehandle) rather than a pointer to a pr_fs_t
	  (filesystem),
	      which allows the open/creat handlers to store file-specific
	  data in
	      the handle (fh->fh_data), which was not possible when using
	  the
	      filesystem pointer.
	    + added a new function, pr_remove_fs(), for removing a
	  filesystem from
	      the map without explicitly destroying that filesystem object
	  (as
	      pr_unregister_fs() will do automatically).
	    + some internal function stylistic renaming, which does not
	  affect any
	      code outside of this file.

2003-11-08 14:34  castaglia

	* modules/mod_auth.c, src/main.c:
	  Using the new Event API, generate some events when key limits are
	  exceeded.  Modules that register handlers for these events can
	  now take appropriate action (such as blacklisting a client that
	  has exceeded the MaxLoginAttempts).

2003-11-08 14:32  castaglia

	* src/event.c:
	  When unregistering an event handler, be sure to honor the module
	  argument, if any.

2003-11-08 14:19  castaglia

	* Make.rules.in, NEWS, include/conf.h, include/event.h,
	  modules/mod_core.c, src/event.c, src/main.c:
	  Adding Event API.

2003-11-08 12:40  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#2255 - RADIUS Service-Type should reflect attribute
	  expectations.

2003-11-08 12:30  castaglia

	* configure:
	  Updating configure.

2003-11-08 12:26  castaglia

	* NEWS, configure.in:
	  Bug#2271 - Improper autoconf check for getaddrinfo() on Tru64
	  UNIX 5.1.

2003-11-08 11:40  castaglia

	* Make.rules.in:
	  Bug#2270 - Linkers can be quite picky about the order in which
	  flags appear.

2003-11-05 20:43  castaglia

	* modules/mod_auth_file.c:
	  The new group membership debugging found a bug: mod_auth_file,
	  when scanning an AuthGroupFile, would only add the group name if
	  the ID for the group was different from the user's primary GID.
	  For GID stuff, this is fine; however, for group expressions in
	  proftpd.conf that may rely on those group names, it's a bug.

	  This allows for an interesting situation: assign a user to
	  multiple groups with different names, but the same GID.  Thus you
	  can workaround the NGROUPS_MAX system limit using a long list of
	  group names; the operating system won't notice, and proftpd will
	  happily check the names.  Nice.

2003-11-05 20:35  castaglia

	* src/auth.c:
	  Add debugging output for group name/ID retrieval.

2003-11-05 18:53  castaglia

	* src/auth.c:
	  Add debugging that shows the group IDs that end up being set via
	  setgroups().

2003-11-05 16:13  castaglia

	* configure:
	  Updating configure.

2003-11-05 16:10  castaglia

	* config.h.in, configure.in, modules/mod_core.c:
	  Some platforms don't have setenv()/unsetenv().  Bummer.

2003-11-04 12:44  castaglia

	* src/scoreboard.c:
	  When deleting the scoreboard file (usu. when a standalone proftpd
	  starts up), log a message if there is an existing scoreboard file
	  that is being unlinked.

2003-11-02 16:42  jwm

	* contrib/dist/rpm/proftpd.spec:
	  - Bug 2265 - correct path to mysql headers   Submitted by:
	  ncroiset@vdldiffusion.com (Nicolas Croiset) - note in the
	  %changelog that it isn't updated often - use the CVS	 revision
	  history

2003-11-01 00:25  castaglia

	* contrib/mod_tls.html:
	  Update the mod_tls docs, now that Bug#2135's patch has been
	  committed.

2003-11-01 00:14  castaglia

	* Makefile.in:
	  When preparing a distribution using the 'dist' target, be sure to
	  clean up the .bak files generated by the 'clean' target.

2003-10-31 23:11  castaglia

	* include/pool.h, modules/mod_core.c, modules/mod_log.c,
	  modules/mod_ls.c, src/auth.c, src/bindings.c, src/data.c,
	  src/dirtree.c, src/feat.c, src/fsio.c, src/inet.c, src/log.c,
	  src/main.c, src/modules.c, src/pool.c, src/regexp.c,
	  src/support.c:
	  Introduce a new function, pr_pool_tag().  This function is used
	  to "tag" a given pool with an arbitrary label (given as a string
	  constant).  The pool tags are shown in a pool dump (currently
	  triggered using SIGUSR2).

2003-10-31 16:12  castaglia

	* include/log.h:
	  Add 10 as a debugging level.	I plan to use this level for
	  debugging output about DNS resolution and supplemental group
	  membership issues.

2003-10-31 15:57  castaglia

	* src/dirtree.c:
	  Add to proftpd's debugging verbosity by showing the
	  dispatch/handling of configuration directives to the modules
	  which handle that directive.

2003-10-31 11:50  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2098 - Add SetEnv, UnsetEnv directives.

2003-10-31 11:41  castaglia

	* NEWS, modules/mod_auth_unix.c:
	  Bug#2174 - mod_auth_unix should not act authoritatively.

2003-10-31 11:23  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2086 - Add <Limit> support for PORT, PASV, EPRT, EPSV.

2003-10-31 10:55  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#2135 - Add ability to handle passphrase-protected server
	  keys.

2003-10-31 10:46  castaglia

	* src/: data.c, dirtree.c, fsio.c, main.c, netio.c:
	  Silencing some valgrind complaints.  Style fixups.

2003-10-31 01:14  castaglia

	* include/version.h:
	  Woohoo! The start of a new release cycle...

2003-10-31 00:22  castaglia

	* ChangeLog:
	  Preparing for 1.2.9 release.

2003-10-31 00:10  castaglia

	* NEWS, include/version.h, contrib/dist/rpm/proftpd.spec:
	  Preparing for the release of 1.2.9.

2003-10-31 00:05  castaglia

	* NEWS:
	  Mention the memory leak fixes.

2003-10-31 00:02  castaglia

	* contrib/mod_sql.c:
	  Always expand %U to the USER name given, not just when
	  session.user is NULL.

2003-10-30 23:22  castaglia

	* modules/mod_auth.c:
	  Undoing part of change made earlier: rather than removing a
	  C_USER config_rec during both the LOG_CMD (success) and
	  LOG_CMD_ERR (failure) command phases of the PASS command, only do
	  the removal in LOG_CMD_ERR, which was the originally intended
	  effect.  Doing the removal in the LOG_CMD handler causes trouble
	  for modules that may want to use %U (e.g. mod_rewrite).

2003-10-30 12:38  flyhmstr

	* doc/: Configuration.html, Configuration.sgml, faq.html:
	  ML: New userguide (html & sgml) and faq built from current pdd
	  sources     committed.

2003-10-28 10:41  castaglia

	* README.FreeBSD:
	  Adding FreeBSD package installation docs from Bug#2250.

2003-10-22 00:40  castaglia

	* src/main.c:
	  Removing duplicate sanity check.

2003-10-21 23:49  castaglia

	* src/fsio.c:
	  Fixing comments.  Have pr_insert_fs() set errno on error, for
	  reporting purposes.

2003-10-20 18:44  castaglia

	* utils/utils.h:
	  It helps to make sure that the utils (ftpcount, ftpwho, ftptop)
	  expect that the scoreboard entry has the same format as the core
	  code (cf. size of the sce_client_addr field).

2003-10-20 15:20  castaglia

	* include/scoreboard.h:
	  Forgot to increase the size of the IP address buffer in the
	  scoreboard if --enable-ipv6 is used.

2003-10-20 00:28  castaglia

	* modules/mod_log.c:
	  More paranoid checking of snprintf() usage.

2003-10-20 00:15  castaglia

	* contrib/: mod_radius.c, mod_sql.c, mod_tls.c:
	  Minor paranoia changes: make certain the buffer is NUL-terminated
	  before calling strlen() on its contents.

2003-10-20 00:02  castaglia

	* NEWS, modules/mod_ls.c:
	  Check for excessive length of symlink directory listing entries,
	  when ShowSymlinks is on.  This also requires that the platform
	  _not_ provide MAXPATHLEN.  Added some style/spacing changes as
	  well.

2003-10-19 14:45  jwm

	* NEWS, contrib/dist/rpm/proftpd.spec:
	  Bug 2197 - The RPM .spec has been updated for easy RPM builds
	  from CVS snapshots.

2003-10-19 14:40  jwm

	* contrib/dist/rpm/proftpd.spec: rpm doesn't like empty
	  BuildPreReqs, add a static dep on pam-devel

2003-10-18 16:48  castaglia

	* src/fsio.c:
	  Fixing a memory leak in the handling of structures used for
	  tracking open directories.

2003-10-18 15:14  castaglia

	* src/dirtree.c:
	  Fixing a rather major memory pool leak.  A temporary pool was
	  being allocated in dir_hide_file() (which is called rather
	  often), but in the case where no HideFiles directive was
	  configured (very common), that pool was not being destroyed.
	  Oops.

2003-10-17 08:39  castaglia

	* NEWS, include/netaddr.h, modules/mod_core.c, modules/mod_log.c,
	  src/netaddr.c:
	  Bug#2204 - More reverse DNS resolutions problems.  A previous fix
	  for systems that use gethostbyname2() (e.g. the BSDs, some Linux
	  distributions) was not properly checking the return value from
	  pr_netaddr_is_v4mapped(), and thus IPv4 addresses were not being
	  resolved to their names.

	  Bug#2242 - Parsing during rehashing was failing with an EPERM.
	  The problem was that configuration directive handlers
	  (specifically, SyslogFacility and SystemLog) were using
	  PRIVS_RELINQUISH, which caused later Includes to fail.
	  Configuration handlers should not use the PRIVS macros.

2003-10-17 06:19  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2181: fixing this bug (again) to work correctly in all cases.

2003-10-16 23:15  castaglia

	* include/fsio.h, include/inet.h, include/netio.h, src/fsio.c,
	  src/inet.c, src/main.c, src/netio.c:
	  Removing the pr_ prefix from some API initialization functions;
	  they are not really appropriate for module use.

2003-10-15 17:58  castaglia

	* include/version.h:
	  Updating the version for CVS status.

2003-10-15 12:54  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2003-10-15 12:53  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for release of 1.2.9rc3.

2003-10-15 07:15  jwm

	* contrib/dist/rpm/proftpd.spec:
	  only include xinetd support in the -xinetd RPM

2003-10-14 11:22  castaglia

	* src/netaddr.c:
	  Fixed pr_netaddr_get_dnsstr() to use the right family value when
	  calling gethostbyname2().

2003-10-14 11:17  castaglia

	* src/main.c:
	  The free_proc_title() function is currently only used when
	  --enable-devel has been configured.

2003-10-14 06:41  jwm

	* contrib/dist/rpm/proftpd.spec:
	  we're "The ProFTPD Project"

2003-10-13 00:27  castaglia

	* configure:
	  Updating configure.

2003-10-13 00:25  castaglia

	* configure.in, include/libsupp.h, lib/glibc-hstrerror.c:
	  Adding bundled glibc implementation of hsterror(), for those
	  systems that don't have it already.

2003-10-13 00:15  castaglia

	* configure:
	  Updating configure.

2003-10-13 00:12  castaglia

	* config.h.in, configure.in:
	  Not all systems have the hsterror() function, for converting
	  resolver error codes (h_errno) to strings.  Thus, we need to
	  check for it, and provide a bundled replacement if it is not
	  present.  I'll be adding the glibc implementation of hstrerror()
	  soon.

2003-10-12 22:02  castaglia

	* src/netaddr.c:
	  This get_v4inaddr() function is only called from one place (at
	  present), and all the necessary sanity checks have already been
	  performed, so there is no need to do them again.

2003-10-11 12:32  castaglia

	* src/netaddr.c:
	  Typo.

2003-10-11 12:29  castaglia

	* src/netaddr.c:
	  The retrieval of the IPv4 portion of an IPv4-mapped IPv6 address
	  is only necessary when gethostbyname2() is being used, rather
	  than gethostbyname() (I think...this may need to change in the
	  future).

2003-10-11 12:27  castaglia

	* src/netaddr.c:
	  When performing reverse DNS lookups on IPv4-mapped IPv6
	  addresses, we need to be a little more careful about which checks
	  are performed.  This change alters the call to gethostbyname2()
	  (when it is present) to be AF_INET if the netaddr is an
	  IPv4-mapped IPv6 address, rather than using AF_INET6 as was done
	  previously.  The subsequent memcmps need to be adjusted
	  accordingly.	This should hopefully resolve Bug#2204.

2003-10-11 10:01  castaglia

	* src/netaddr.c:
	  The BSDs are not the only systems that might provide
	  gethostbyname2().  It seems that some Linux kernels have been
	  patched to have that function as well.

2003-10-11 09:57  castaglia

	* include/netaddr.h, modules/mod_core.c, src/netaddr.c:
	  Since pr_netaddr_v4mappedv6() returns TRUE or FALSE (or -1 on
	  error), I've renamed it to be pr_netaddr_is_v4mappedv6().

2003-10-10 11:11  castaglia

	* src/main.c:
	  Report the cause of error if configuration parsing fails.

2003-10-10 09:07  castaglia

	* modules/mod_core.c:
	  If processing an Included file fails, log the reason.

2003-10-09 23:36  castaglia

	* src/netaddr.c:
	  Adding note about a use of gethostbyname() that may need to be
	  gethostbyname2() in the future.

2003-10-09 22:49  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2222 - Overlapping vhosts should warn instead of die.

2003-10-09 22:45  castaglia

	* src/dirtree.c:
	  No need to keep the server_recs of vhosts that cannot be
	  resolved.

2003-10-09 22:37  castaglia

	* include/netaddr.h, src/dirtree.c, src/netaddr.c:
	  Removing the pr_netaddr_get_fqdn() function.	It was only being
	  used in one place: to set the main_server->ServerFQDN member.
	  ServerFQDN is used in the logging prefix, and for vhosts, was
	  usually the IP address.  With this change, the log prefix for
	  entries generated by vhosts will be their DNS names (if
	  possible).  It also removes a call to gethostbyname() which on
	  *BSDs might not have performed as expected for IPv6 strings.

2003-10-09 18:30  castaglia

	* src/netaddr.c:
	  Make the logging of badly configured DNS name/IP address mappings
	  a little less noisy.

2003-10-09 12:44  castaglia

	* configure:
	  Updating configure.

2003-10-09 12:40  castaglia

	* NEWS, config.h.in, configure.in, src/netaddr.c:
	  Bug#2204 - Reverse DNS lookups not happening properly on
	  connected clients on FreeBSD.  We need to use gethostbyname2() on
	  FreeBSD (and possibly the other BSDs).

2003-10-09 12:34  castaglia

	* NEWS, configure.in, src/netaddr.c:
	  Bug#2188 - Wildcard sockets not properly handled on FreeBSD.
	  Need to set sin_len/sin6_len struct sockaddr members, if present,
	  for wildcard sockets.

2003-10-08 11:13  castaglia

	* NEWS, src/log.c:
	  Bug#2202 - AllowLogSymlinks check is flawed.

2003-10-07 22:38  castaglia

	* modules/mod_core.c:
	  Style cleanup (whitespace).

2003-10-07 21:48  castaglia

	* src/inet.c:
	  Adding note to pr_inet_set_proto_opts() about setsockopt()
	  problems on IPv6 sockets.

2003-10-07 20:28  castaglia

	* configure:
	  Updating configure.

2003-10-07 20:25  castaglia

	* configure.in:
	  autoconf on FreeBSD was not properly reporting the headers it
	  detected (or didn't): specifically, <netinet/in_systm.h> and
	  <netinet/ip.h> were not being reported as found and useable in
	  config.h.  The fix is to include a few more header dependencies
	  in autoconf, so that autoconf's tests pass and the headers are
	  properly reported as found.

2003-10-06 00:16  castaglia

	* contrib/mod_tls.c:
	  Be a little more careful in tls_blinding_on(): it's possible that
	  SSL_get_privatekey() returns NULL, which I didn't check for.
	  This, I think, is causing segfaults on some systems (depending on
	  the certificates used).

2003-10-05 20:53  castaglia

	* include/netaddr.h, src/data.c, src/main.c, src/netaddr.c:
	  Change pr_netaddr_reverse_dns() to be
	  pr_netaddr_set_reverse_dns(), so that it has a verb in the
	  function name (style nit, I know).  Also includes some
	  capitalization and spacing cleanup in data.c.

2003-10-05 20:14  castaglia

	* NEWS:
	  Updating NEWS so that people can see that Bug#2183 (and all its
	  friends) has been fixed.

2003-10-03 10:44  castaglia

	* Makefile.in:
	  Remove the generated 'stamp-h' file as well for the distclean
	  target.

2003-10-01 07:21  castaglia

	* NEWS, contrib/mod_sql_mysql.c:
	  Bug#2191 - Segfault in mod_sql_mysql when using 'Backend'
	  SQLAuthType.	This only happens for MySQL 4.1.  The MySQL
	  make_scrambled_password() function changed in 4.1, and the wrong
	  variable value was being used.

2003-10-01 06:16  castaglia

	* configure:
	  Updating configure.

2003-10-01 06:09  castaglia

	* config.h.in, configure.in:
	  Style cleanup in config.h.  Add check for <sys/mman.h> header
	  file (will be needed if/when something wants to use the mmap(2)
	  system call).

2003-09-30 23:35  castaglia

	* src/main.c:
	  Style cleanup, comment correction.  Also removed a double
	  signal(SIGIO) call; first one set a handler for the signal, the
	  second one caused the signal to be ignored.  Weird.

2003-09-30 23:25  castaglia

	* src/main.c:
	  Style cleanup.  Add a comment about needing PRIVS (or not) when
	  disconnecting sessions.

2003-09-29 10:25  castaglia

	* src/bindings.c:
	  Fixed thinko highlighted by Bug#2188.

2003-09-28 21:48  castaglia

	* contrib/mod_tls.html:
	  Don't know what I was thinking.

2003-09-28 21:41  castaglia

	* contrib/mod_tls.html:
	  Grammar fix, adding description.

2003-09-28 17:00  castaglia

	* include/bindings.h, src/bindings.c, src/main.c:
	  The init_bindings() and free_bindings() functions are not
	  suitable for use in modules, and so should not be in the pr_
	  namespace.

2003-09-28 16:56  castaglia

	* modules/mod_auth_unix.c:
	  It's possible for UID/GID lookups to occur outside of a session.
	  When this happens, session.pool is not valid.  Check for and
	  handle this situation.  (This was causing segfaults when I
	  attempt to use mod_ctrls.)

2003-09-28 15:43  castaglia

	* include/regexp.h, src/main.c, src/regexp.c:
	  The regexp init function shouldn't be in the pr_ namespace, as it
	  is not suitable for use in module code.

2003-09-28 13:31  castaglia

	* modules/: mod_auth.c, mod_auth_unix.c:
	  Style cleanup.

2003-09-28 10:04  castaglia

	* src/dirtree.c:
	  One of the changes I made to quell a valgrind warning (something
	  about reading possibly uninitialized memory, probably due to a
	  zero-length path variable in this case) had disastrous side
	  effects on directive lookups.  This highlights that the
	  build_dyn_config() function needs comments and/or to be rewritten
	  entirely.

	  Also includes some style cleanup.

2003-09-27 15:16  castaglia

	* configure:
	  Updating configure.

2003-09-27 15:13  castaglia

	* configure.in, src/main.c:
	  Some of the pedantic memory cleanups added in 1.2.9rc2, after
	  some time spent under valgrind, turn out to affect performance,
	  when a session exits, particularly on busy machines.	So I've
	  made these checks enabled only when proftpd is compiled using the
	  --enable-devel flag.

2003-09-27 13:48  castaglia

	* NEWS, src/bindings.c:
	  Bug#2024 - DefaultServer not functioning properly.  The addition
	  of the Bindings API in 1.2.8rc1 broke the DefaultServer directive
	  in many configurations.  For inetd-run proftpds, all configured
	  <VirtualHost> servers were being treated like they had
	  "DefaultServer on", which meant that the last such configured
	  server would be used, instead of the true DefaultServer.  For
	  both inetd- and standalone-run proftpds, if no exactly matching
	  vhost was found for a client, the localhost server (i.e. the
	  "server config" vhost) would be used before the DefaultServer
	  vhost.  Both problems are fixed by this change.

2003-09-27 11:40  castaglia

	* NEWS, src/data.c:
	  Bug#2200 - Correct segfaults with xlate_ascii_write() on IRIX.
	  Some of the last of the remaining code (whose I understood only
	  partially, such as the session.xfer.buf++ increment) is now
	  removed, as well as a potentially dangerous NUL-termination
	  statement.

2003-09-26 12:02  jwm

	* contrib/dist/rpm/proftpd.spec: Bug 2197 - Spec file enhancements
	  and fixes Submitted by: pb@bieringer.de (Dr. Peter Bieringer)

2003-09-25 23:53  castaglia

	* modules/mod_core.c:
	  Correcting a misleading/outdated comment.

2003-09-23 12:10  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2181 - Active IPv4 ftp doesn't work when using --enable-ipv6.
	  The fix was to build up an IPv6 netaddr from the PORT argument,
	  rather than an IPv4 netaddr, in the case of --enable-ipv6.

2003-09-23 08:19  castaglia

	* NEWS:
	  Mention fixing of ASCII handling exploit.

2003-09-23 08:13  castaglia

	* src/data.c:
	  Fixing remote exploit in ASCII handling, discovered by X-Force at
	  ISS:

	    http://xforce.iss.net/xforce/alerts/id/154

2003-09-23 07:45  jwm

	* contrib/dist/rpm/proftpd.spec: * Tue Sep 23 2003 Daniel Roesen
	  <dr@proftpd.org> - Added "--with ipv6" to enable IPv6 support
	  while building the RPM

2003-09-22 16:36  castaglia

	* README.IPv6:
	  Daniel has confirmed that IPv6 and FTP over SSL/TLS works just
	  fine, for both active and passive transfers.

2003-09-19 13:21  castaglia

	* NEWS, include/privs.h:
	  Bug#2179 - ROOT_UID instead of ROOT_GID used in setegid() call.
	  This affects Cygwin installations.

2003-09-18 12:21  castaglia

	* src/netaddr.c:
	  Using EPERM makes more sense, I think, than EACCES in most of the
	  pr_netaddr* cases.

2003-09-18 12:08  castaglia

	* NEWS, src/netaddr.c:
	  Bug#2176 - getnameinfo() error on Cygwin during startup.  The
	  sa_family member of some addresses was not being properly
	  initialized in some instances.

2003-09-14 13:49  castaglia

	* contrib/mod_wrap.html:
	  Typo.

2003-09-14 11:27  castaglia

	* src/scoreboard.c:
	  Actually check for error return values when locking the
	  scoreboard.  A recently reported issue with the scoreboard on
	  Solaris, under high load, may be related to this: fcntl() on
	  Solaris is known to return ENOLCK under high load, if the
	  requested lock hits the system lock limit.  By checking for the
	  return values, proftpd can at least log if this ENOLCK is indeed
	  the case.

2003-09-13 16:34  castaglia

	* configure:
	  Updating configure.

2003-09-13 16:29  castaglia

	* NEWS, README.IPv6, config.h.in, configure.in, src/netaddr.c:
	  Bug#2167 - getnameinfo() on FreeBSD doesn't support IP address
	  lookups.

	  FreeBSD's struct sockaddr_in and struct sockaddr_in6 have the
	  sin_len and sin6_len members.  The code in pr_netaddr_get_addr()
	  was not properly initializing these members, and so when those
	  structs were given to getnameinfo(), getnameinfo() didn't handle
	  them well.  Solaris and Linux don't have these _len members, so
	  the problem didn't crop up there.

	  IPv6 systems whose structs have these _len members are supposed
	  to define the SIN6_LEN symbol, by RFC design.  However, it's
	  possible that a system not support IPv6 and yet have the sin_len
	  member and the getnameinfo() function.  So rather than just rely
	  on SIN6_LEN being present, I added an autoconf check for the
	  sin_len member, and an IPv4 SIN_LEN symbol.

2003-09-12 00:56  castaglia

	* README:
	  Just some pointers/notes about user questions.

2003-09-11 20:01  castaglia

	* README.IPv6:
	  Seems that perhaps FreeBSD's getnameinfo(3) doesn't like IP
	  addresses, but it does handle DNS names correctly.  Interesting.

2003-09-11 13:11  castaglia

	* configure:
	  Updating configure.

2003-09-11 12:58  castaglia

	* configure.in:
	  Add another --enable-devel option: 'profile'.  When this option
	  is used, compiler and linker flags for generating profile output
	  (as for gprof(1)) are generated.  For this to work properly, one
	  also needs to use the 'nodaemon' and 'nofork' options as well,
	  e.g.:

	    ./configure --enable-devel=nodaemon:nofork:profile ...

2003-09-11 12:56  castaglia

	* include/version.h:
	  Updating version for CVS snapshots.

2003-09-11 06:39  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2003-09-11 06:33  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Let's get this rc2 show on the road.

2003-09-10 23:36  castaglia

	* include/conf.h:
	  Add note about possibly using sockaddr_storage in the future.

2003-09-10 07:02  castaglia

	* src/main.c:
	  Fixing PR_DEVEL_NO_DAEMON.

2003-09-09 14:15  castaglia

	* src/log.c:
	  Log the client's IP address in the brackets, not the DNS name.

2003-09-09 14:14  castaglia

	* src/netaddr.c:
	  When doing reverse DNS lookups, actually use the looked up name.
	  Oops.

2003-09-09 07:58  castaglia

	* utils/ftpshut.c:
	  Fix grammar in comment.

2003-09-09 07:57  castaglia

	* NEWS:
	  ftpshut's option -R (for remove), not -D (for delete).

2003-09-09 07:16  castaglia

	* NEWS, src/netio.c:
	  Bug#2122 - EAGAIN on Solaris can cause an infinite loop.

2003-09-08 22:37  castaglia

	* include/netaddr.h, modules/mod_core.c, src/inet.c, src/netaddr.c:

	  Rename pr_netaddr_initialize() to be pr_netaddr_clear(), as that
	  is what is really happening.

2003-09-08 19:49  castaglia

	* src/inet.c:
	  Remove duplicate comment.

2003-09-08 18:07  castaglia

	* src/inet.c:
	  Use the netaddr allocator where appropriate.

2003-09-08 18:04  castaglia

	* src/dirtree.c:
	  Remove cruft.  The multiple addresses for a server are handled
	  elsewhere.

2003-09-08 17:55  castaglia

	* include/netaddr.h, src/netaddr.c:
	  Provide a netaddr allocator.

2003-09-08 17:32  castaglia

	* include/netaddr.h, modules/mod_core.c, src/inet.c, src/netaddr.c:

	  Forgot to properly initialize pr_netaddr_t structs declared on
	  the stack.  Provide a wrapper function for this, in case any of
	  the default settings for a pr_netaddr_t need to change (in which
	  case, providing an allocator as well, for pr_netaddr_t *
	  declarations, will be necessary).

	  Also fixed some tabs that crept into inet.c.

2003-09-07 19:58  castaglia

	* configure:
	  Updating configure.

2003-09-07 19:55  castaglia

	* include/inet.h, modules/mod_core.c, src/inet.c, src/netaddr.c:
	  Bug#2162 - Move pr_inet_ntop definition to include/inet.h.  Code
	  cleanup.

2003-09-07 19:48  castaglia

	* configure.in:
	  Clean up configure.in a little, and just use LIB_OBJS (rather
	  than both pr_lib_objs and LIB_OBJS).

2003-09-07 19:39  castaglia

	* configure:
	  Updating configure.

2003-09-07 19:35  castaglia

	* NEWS, configure.in:
	  Bug#2161 - Duplicate autoconf check for sia.h.

2003-09-07 17:56  castaglia

	* src/main.c:
	  Add a function to free up the memory allocated when moving the
	  environment "out of the way" for use by setproctitle() et al;
	  valgrind was complaining about this lost memory.  Also free up
	  the permanent pool, and the free block list, when the daemon
	  shuts down.

2003-09-07 17:53  castaglia

	* modules/mod_auth_unix.c:
	  Changing permanent_pool to session.pool where appropriate.  Also
	  add a session exit callback that will call endpwent()/endgrent(),
	  freeing up any memory that may have been allocated via
	  setpwent()/setgrent().  Symmetry is a Good Thing.

2003-09-07 17:51  castaglia

	* modules/mod_auth_pam.c:
	  Removed an unnecessary check for a NULL pointer that will be
	  given to free(3): the POSIX standard says that free() can handle
	  a NULL pointer without choking.  Also, since mod_auth_pam handles
	  the password, when the buffer which holds the password is freed,
	  it should be scrubbed, rather than just using memset().

2003-09-07 17:42  castaglia

	* src/main.c:
	  Removing cruft, updating calls to subsystem initializers.

2003-09-07 17:41  castaglia

	* include/dirtree.h, src/dirtree.c:
	  Cleanup.  Fixed some timing and usages of sub pools, particularly
	  in get_dir_ctxt().  Changed permanent_pool to be session.pool
	  where appropriate.  Changed !strcmp() to be strcmp() == 0, and
	  added some checks for paths of zero length (spotted by valgrind).

2003-09-07 17:39  castaglia

	* src/auth.c:
	  Removing cruft.  Also added some comments on the difference
	  between the static make_cmd() function in this file, and the
	  public pr_cmd_alloc() function.

2003-09-07 17:37  castaglia

	* src/fsio.c:
	  Style cleanup, mostly.  Using strcmp() == 0 rather than !strcmp()
	  is a little clearer to most people.  Also fixed a bug where a
	  pool was not being destroyed at the proper time.

2003-09-07 17:36  castaglia

	* src/data.c:
	  Use memcpy() rather than memmove(), as memcpy() is a little more
	  efficient (it doesn't have to check the overlapping buffers).
	  Also, allocate one space for one more character, to account for
	  the possibility of a LF as the first character in the buffer
	  being adjusted (it would then need to be prefaced by a CR).

2003-09-07 17:33  castaglia

	* modules/: mod_auth_file.c, mod_core.c, mod_log.c:
	  Changed uses of permanent_pool to session.pool, as is more
	  appropriate in most module code.

2003-09-07 17:32  castaglia

	* modules/mod_auth.c:
	  Changed some uses of permanent_pool here to be session.pool, as
	  is more appropriate in most module code.

2003-09-07 17:31  castaglia

	* include/modules.h, src/modules.c:
	  Removing cruft.  The call_module_auth() and call_module_cmd()
	  functions were duplicates of call_module(), so there is no need
	  to keep them around.	Also fixed some of the pools being used
	  when adding symbols to the stash.  Fixed a bug where the stash
	  pool was not being properly allocated from permanent_pool
	  (valgrind found this).

2003-09-07 17:29  castaglia

	* include/pool.h, src/pool.c:
	  Cleaning up the pool interface.  The pr_ prefix for initializing
	  the pool code, as many of the subsystem initializers are not
	  meant to be called by module code; the pr_ suffix is meant to
	  denote the API for use by module authors.  Also fixed a possible
	  alarm-blocking bug in destroy_pool().

2003-09-07 17:26  castaglia

	* include/inet.h, src/inet.c:
	  Removing cruft.  The iplist/niplist members of the conn_t struct
	  were not being used anymore.	Also removed some unnecessary
	  complexities (a macro, a cleanup handler).

2003-09-07 17:25  castaglia

	* contrib/mod_ratio.c:
	  Removing some cruft from the source code, which involves removing
	  mod_ratio's use of one of the crufty functions.

2003-09-07 16:55  castaglia

	* modules/mod_cap.c:
	  A weekend with valgrind proved very enlightening.  This patch
	  corrects several small leaks that were occurring when handling
	  POSIX capabilities.

2003-09-07 16:54  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2154 - SQL query loses shell information.

2003-09-06 10:44  castaglia

	* modules/mod_ls.c:
	  Another leak fixed.  In this case, listdir() was
	  (inappropriately) setting pointers in the array--allocated and
	  returned by sreaddir()--to NULL.  Those pointers were allocated
	  using calloc() in sreaddir(), which meant that later, when
	  listdir() went to free the memory, it couldn't -- the address was
	  lost.  All better now.

2003-09-06 09:56  castaglia

	* src/data.c:
	  Fixing subtle off-by-one bug (thank you valgrind!).

2003-09-05 13:00  castaglia

	* src/pool.c:
	  Rename xmalloc, xcalloc, and xrealloc to be smalloc, scalloc, and
	  srealloc ("s" for "safe", just like sstrncpy and sstrcat).  This
	  moves these functions out of the way of dmalloc's symbols (and
	  doesn't hurt proftpd at all).

2003-09-05 12:42  castaglia

	* include/conf.h:
	  Add conditional include for <dmalloc.h>, for use when using
	  dmalloc to track memory usage.

2003-09-05 11:38  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2153 - Small error in handling PR_AUTH_RFC2228 authentication
	  code.

2003-09-03 13:18  castaglia

	* configure:
	  Updating configure.

2003-09-03 13:14  castaglia

	* NEWS, configure.in:
	  Bug#2007 - autoconf header detection problem.

2003-08-30 09:11  castaglia

	* configure:
	  Updating configure.

2003-08-30 09:07  castaglia

	* configure.in, include/libsupp.h, lib/glibc-gai_strerror.c,
	  src/netaddr.c:
	  Partial fix for issues mentioned in Bug#2143: bundling
	  gai_strerror(3) implementation (from glibc) in libsupp.a, to be
	  used if the system does not provide a gai_strerror(3) function
	  itself.

2003-08-29 10:20  castaglia

	* include/bindings.h, include/dirtree.h, src/bindings.c:
	  Add comments about the duplicate
	  ipbind->ib_server->listen/ipbind->ib_listener pointers.  Also,
	  correct the patch for Bug#2146 so that ib_server->listen is still
	  handled properly (as it prior to the patch) in the Bindings API.

2003-08-29 10:01  castaglia

	* NEWS, include/bindings.h, src/bindings.c:
	  Bug#2146 - DNS names not handled properly when --enable-ipv6 is
	  used.  As mentioned in the report, this was caused by a design
	  assumption revealed by the addition of IPv6 support: that of a
	  one-to-one association between a server_rec and its listening
	  connection.  For DNS names resolving to A and AAAA records, there
	  can be two listening connections for a given server_rec.  The fix
	  occurs in the Bindings API, where a server_rec's listeners are
	  now associated with the bindings for the server_rec, rather than
	  with the server_rec itself.  Multiple bindings can point to the
	  same server_rec.

2003-08-28 23:33  castaglia

	* src/netaddr.c:
	  Using uninitialized memory can be bad.

2003-08-28 22:44  castaglia

	* src/inet.c:
	  Only one type of IPv4 service at time: either IPTOS_LOWDELAY or
	  IPTOS_THROUGHPUT but not both.

	  Some discussion on IPng mailing list archives mention that using
	  IP_TOS may be a problem on IPv6 connections...

2003-08-27 20:17  castaglia

	* README.ports:
	  Adding FreeBSD 4.9-PRERELEASE to the list.  Apparently the source
	  works out-of-the-box.

2003-08-27 17:43  jwm

	* NEWS:
	  - Bug 2108 - IgnoreHidden should not hide dotfiles   Dotfiles are
	  now displayed when the -a argument is supplied, even when the
	  IgnoreHidden directive is enabled. To replicate the old behavior
	  of hiding   dotfiles no matter what, use either of the following
	  directives:	  ListOptions "" strict     HideFiles ^\..*

2003-08-27 17:40  jwm

	* modules/mod_ls.c:
	  Bug 2108 - IgnoreHidden should not hide dotfiles

2003-08-27 17:37  jwm

	* NEWS:
	  - Bug 1804 - RPM spec file improvements   The spec file now has
	  xinetd support, builds under newer version of RPM,   installs
	  standalone support with the main proftpd RPM, and accepts --with
	  mod_modname arguments during the build process.  - Bug 2127 -
	  Entry in the file section   The RPM spec's %files section now
	  honors the install prefix.

2003-08-27 17:36  jwm

	* contrib/dist/rpm/proftpd.spec:
	  Bug 2127 - Entry in the file section

2003-08-27 17:33  jwm

	* contrib/dist/rpm/xinetd:
	  add xinetd configuration to go with new .spec

2003-08-27 17:32  jwm

	* contrib/dist/rpm/proftpd.spec:
	  - don't reset servertype on upgrade - don't explicitly install
	  docs - %doc should include them

	  submitted by: Ivan F. Martinez <ivanfm@os2brasil.com.br> Peter
	  Bieringer <pb@bieringer.de>

2003-08-22 10:29  castaglia

	* README.ports:
	  Adding NetBSD 1.6.1 to the list.

2003-08-19 18:57  castaglia

	* README.IPv6:
	  Add note about FreeBSD 4.8 and getnameinfo(3).

2003-08-18 13:13  castaglia

	* NEWS, src/dirtree.c:
	  Bug#2141 - Glob Allow/Deny parameters cause extraneous log
	  messages when comparing addresses.

2003-08-16 10:01  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2148 - Enforce PR_TUNABLE_LOGIN_MAX.

2003-08-16 08:47  castaglia

	* sample-configurations/mod_sql.conf:
	  Add comment in mod_sql sample config about SQLAuthTypes being
	  required.

2003-08-16 08:43  castaglia

	* contrib/mod_sql.c:
	  Add log messages to session init if no SQLAuthTypes configured.

2003-08-16 08:38  castaglia

	* contrib/mod_sql.c:
	  Using mod_sql for authentication, but not configuring a
	  SQLAuthTypes directive, would result in a segfault in the session
	  process.  This patch catches the segfault, and adds a log message
	  concerning the problem.

2003-08-14 18:33  castaglia

	* NEWS, contrib/mod_ifsession.c:
	  Fixed mod_ifsession's handling of multiple configuration sets.
	  The problem was that mod_ifsession, after merging in the
	  configuration from a config_rec, would call xaset_remove() and
	  remove that config_rec from the main server's configuration sets.
	  This had the side effect of making other config_recs in the set,
	  in the set after the removed config_rec, no longer visible by the
	  iterating function.  As in Perl: don't change the items in a list
	  while iterating over it.  Instead, queue up the changes you want
	  to make while iterating, wait until finished iterating, and then
	  change the list.

2003-08-14 11:34  castaglia

	* include/netaddr.h, src/netaddr.c:
	  Rather than using typecasts to silence the compiler warnings
	  about loss of the 'const' modifier in pr_netaddr_fnmatch(),
	  simply remove the 'const' from the function signature.

2003-08-13 18:02  castaglia

	* NEWS, src/data.c:
	  Bug#2147 - Segmentation fault processing file in ASCII mode.

2003-08-13 12:11  castaglia

	* src/netaddr.c:
	  Silence some compiler warnings.

2003-08-13 11:54  castaglia

	* configure:
	  Updating configure script.

2003-08-13 11:50  castaglia

	* NEWS, configure.in:
	  Bug#2144 - Rework autoconf handling of --enable-sia option.

2003-08-13 09:04  castaglia

	* configure:
	  Updating configure script.

2003-08-12 23:26  castaglia

	* config.h.in, configure.in:
	  Check for gai_strerror(3).  We'll also need to provide an
	  implementation if gai_strerror() is not present.

2003-08-12 23:21  castaglia

	* configure:
	  Updating configure script.

2003-08-12 23:07  castaglia

	* NEWS, configure.in, include/libsupp.h, include/support.h,
	  lib/sstrncpy.c, src/support.c:
	  Bug#2142 - sstrncpy() not available to lib/vsnprintf.c.

2003-08-12 22:28  castaglia

	* src/inet.c:
	  It seems the 'sa_family' symbol is a macro on IRIX.

2003-08-12 10:07  castaglia

	* include/: conf.h, inet.h:
	  Move the conditional definitions of INET(6)_ADDRSTRLEN to conf.h,
	  so that the definition of pr_netaddr_t can use them.	Sigh.

2003-08-11 22:59  castaglia

	* include/conf.h:
	  Can't use INET6_ADDRSTRLEN until include/inet.h is included, but
	  the pr_netaddr_t needs to be typedef'd before then.  So we do it
	  manually.

2003-08-10 23:31  castaglia

	* contrib/mod_sql.c:
	  Removing use of get_param_int() from mod_sql.

2003-08-10 23:07  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#2137 - NLST and IgnoreHidden causes segfault.

2003-08-10 21:41  castaglia

	* src/main.c:
	  Oops.  Calling of the postparse callbacks should happen after all
	  the servers have been fixed up, in order to make sure that the
	  modules see the "correct" server configuration data.

2003-08-10 21:37  castaglia

	* src/main.c:
	  Postparse callbacks should be called after the configuration has
	  been parsed during a rehash, too.  Modules that wish to have
	  postparse callbacks invoked during a rehash will need to have
	  rehash handlers that register the postparse callback.

2003-08-09 09:37  castaglia

	* modules/mod_auth.c:
	  Previous changes to auth_scan_scoreboard() removed some checks
	  that really needed to be there, to prevent segfaults when using
	  configurations that did not use Classes.

2003-08-09 09:08  castaglia

	* src/inet.c:
	  Fixed function signature to match declared prototype.  Fixed
	  variable name.

2003-08-09 01:09  castaglia

	* contrib/mod_ifsession.c, include/dirtree.h, modules/mod_auth.c,
	  src/dirtree.c:
	  Spelling correction.

2003-08-09 00:50  castaglia

	* src/bindings.c:
	  Removed debugging cruft.

2003-08-09 00:22  castaglia

	* include/proftpd.h, src/netaddr.c:
	  Comment clarification, style fixups, fixing compiler warnings.

2003-08-08 15:15  castaglia

	* modules/mod_auth_file.c:
	  Fixed position of use of pr_signals() handle, so as not to occur
	  before variable declaration in the case where HAVE_FGETPWENT is
	  false/undef.

2003-08-08 08:10  castaglia

	* NEWS:
	  Fixed wrong bug report number.

2003-08-07 19:50  castaglia

	* include/netaddr.h:
	  Complete the description of pr_netaddr_fnmatch().

2003-08-07 13:16  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2130 - %y in DisplayLogin is not updated correctly.  The
	  problem was that the auth_scan_scoreboard() function, which
	  scanned the scoreboard and tallied up the variables used when
	  filling in %y/%N, was only being called if the DisplayConnect
	  directive was used.  Instead, auth_scan_scoreboard() should
	  always be called, to handle any of the Display* directives.

2003-08-07 11:24  castaglia

	* src/netaddr.c:
	  Added implementation of pr_netaddr_fnmatch().

2003-08-07 11:05  castaglia

	* include/netaddr.h, src/netaddr.c:
	  Added implementation (untested) of pr_netaddr_ncmp().  Changed
	  the pr_netaddr*() routines to return EACCES if for some reason
	  the	netaddrs on which they operate do not have a recognizable
	  family (AF_INET   or AF_INET6).

2003-08-07 08:49  castaglia

	* include/netaddr.h, src/bindings.c, src/netaddr.c:
	  Added a pr_netaddr_get_inaddr_len(), to provide sizes of struct
	  in{6}_addr, matching the pr_netaddr_get_sockaddr_len() function.

	  Added a stub for pr_netaddr_fnmatch(), to be implemented soon.

2003-08-07 00:09  castaglia

	* include/netaddr.h, src/inet.c, src/netaddr.c:
	  Changed pr_netaddr_get_addrlen() to
	  pr_netaddr_get_sockaddr_len(), to more clearly reflect the length
	  returned.

	  Added stub for pr_netaddr_ncmp(), to be implemented shortly.

2003-08-06 18:59  castaglia

	* README.IPv6:
	  Clarifying that IPv6 sockets handling IPv4 packets only occurs
	  when it is an wildcard IPv6 socket.

2003-08-06 17:55  castaglia

	* NEWS:
	  Mention the --enable-ipv6 configure option.

2003-08-06 17:42  castaglia

	* include/netaddr.h:
	  Adding descriptions of the netaddr API functions.

2003-08-06 16:05  castaglia

	* include/inet.h:
	  Add some comments about the handling of get{addr,name}info
	  symbols.  I'm not quite sure I have all the preprocessor logic
	  for these symbols done correctly yet.

2003-08-06 15:31  castaglia

	* src/netaddr.c:
	  Typos.

2003-08-06 15:08  castaglia

	* configure:
	  Updating configure.

2003-08-06 15:03  castaglia

	* ChangeLog, Make.rules.in, NEWS, README.IPv6, config.h.in,
	  configure.in, contrib/mod_ifsession.c, contrib/mod_radius.c,
	  contrib/mod_ratio.c, contrib/mod_rewrite.c, contrib/mod_sql.c,
	  contrib/mod_tls.c, include/bindings.h, include/conf.h,
	  include/dirtree.h, include/ftp.h, include/inet.h, include/log.h,
	  include/netaddr.h, include/proftpd.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_log.c, src/bindings.c,
	  src/data.c, src/dirtree.c, src/ident.c, src/inet.c, src/log.c,
	  src/main.c, src/netaddr.c, src/scoreboard.c, utils/misc.c:
	  Bug#1711 - IPv6 support.  Let the IPv6 fun begin.

2003-08-06 00:07  castaglia

	* modules/mod_auth_file.c:
	  Fix code in case where fgetgrent(3) is not present on the system.

2003-08-01 17:30  castaglia

	* contrib/mod_sql_mysql.c:
	  MySQL-4.1.0 changed the signature for the
	  make_scrambled_password() function, so we handle it by checking
	  the MySQL version.  This commit also includes some style changes.

2003-07-31 18:05  castaglia

	* modules/mod_log.c, modules/mod_ls.c, modules/mod_site.c,
	  src/data.c, src/dirtree.c, src/main.c, src/pool.c, src/support.c:

	  Style.

2003-07-31 18:03  castaglia

	* contrib/mod_radius.c, contrib/mod_rewrite.c, modules/mod_auth.c,
	  modules/mod_auth_file.c, src/netio.c:
	  Adding signal handling in while() loops.

2003-07-30 11:01  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#2118 - %F doesn't work for DELE command; %f is inconsistent.
	  This is exactly the reason why we really need a unified
	  cookie/variable handling interface.  Too much code duplicated
	  around in modules leads to out-of-sync code bugs like this.

2003-07-29 18:52  castaglia

	* contrib/mod_tls.c:
	  Removing unused code.

2003-07-29 18:34  castaglia

	* NEWS, contrib/mod_tls.c:
	  Close files that have been fopen()'d always, not just when
	  conditions mean that no errors are encountered.

2003-07-29 10:46  castaglia

	* contrib/mod_tls.html:
	  Adding description of the $SSL_CERT_DIR TLSLog message

2003-07-29 08:15  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2119 - FEAT response format does not conform to RFC2389.

2003-07-29 07:36  castaglia

	* doc/rfc/: rfc2228.txt, rfc2389.txt, rfc2428.txt:
	  Style.

2003-07-28 15:57  castaglia

	* NEWS:
	  Mention fix of mod_tls directives.

2003-07-28 15:50  castaglia

	* contrib/mod_tls.c:
	  TLSCACertificateFile and TLSCACertificatePath are documented to
	  be allowed in all server contexts, not just "server config"; the
	  code was wrong.

2003-07-24 22:36  castaglia

	* sample-configurations/: anonymous.conf, complex-virtual.conf,
	  mod_sql.conf, virtual.conf:
	  Style.

2003-07-24 18:21  jwm

	* include/pr-syslog.h: silence warning

2003-07-24 08:22  castaglia

	* NEWS, Makefile.in:
	  Bug#2115 - ftptop depends on snprintf but doesn't link in
	  lib/libsupp.a

2003-07-23 19:44  castaglia

	* doc/rfc/rfc2428.txt:
	  IPv6 support _is_ going to be added Real Soon Now(tm), so we
	  might as well as the relevant RFC.

2003-07-21 15:03  castaglia

	* NEWS, README.mod_sql, contrib/mod_sql.c:
	  Bug#2113 - mod_sql default uses mysql keyword.

2003-07-18 12:18  castaglia

	* include/proftpd.h, src/main.c:
	  Add two new members to the session struct: curr_cmd and
	  curr_phase.  These are for storing pointers to the current FTP
	  command name and current command handler phase, respectively.
	  They are useful for places like the FSIO API, where callbacks may
	  want to take conditional action depending on the FTP
	  command/phase at the time.

2003-07-16 11:48  castaglia

	* NEWS, include/dirtree.h, src/dirtree.c, src/main.c:
	  Bug#2110 - Segfault if gethostname(2) returns NULL.  When code
	  was added to simply remove a server_rec whose name could not be
	  resolved from the list, rather than halting the process there
	  (which allows a more Apache-like handling of badly configured
	  vhosts by logging/skipping, rather than choking), an edge case
	  became possible where, after looping through all the server_recs,
	  _none_ remained in the list.	This case was not being handled,
	  and lead to a segfault later in the processing.  This patch
	  checks for the case where no valid server_recs remain in the
	  list.

2003-07-15 23:16  castaglia

	* contrib/mod_sql_mysql.c:
	  Spacing nit.

2003-07-14 19:57  castaglia

	* modules/mod_xfer.c:
	  Cruft.

2003-07-10 18:51  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#2103 - AuthAliasOnly in server context causes hang.

2003-07-10 09:09  jwm

	* contrib/mod_ldap.c:
	  release 2.8.12

2003-07-07 15:59  castaglia

	* contrib/mod_sql_mysql.c:
	  Typo.

2003-07-07 13:42  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Updating module names in comments.

2003-07-07 13:15  castaglia

	* NEWS:
	  Correcting handling of mod_tls TLSCertificateChainFile directive.

2003-07-07 13:13  castaglia

	* contrib/mod_tls.c:
	  Change the semantics of TLSCertificateChainFile slightly.  Now,
	  this directive can be used to explicitly configure the chain of
	  certs given to a peer during the TLS handshake.  Any server
	  certs, configured using either CertificateFile or
	  CertificatePath, are added to the list of CAs allowed for
	  clients, but not for servers.

2003-07-07 11:27  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#2100 - Invalid domain in <VirtualHost> tag causes
	  segmentation fault.

2003-07-03 14:48  castaglia

	* sample-configurations/: anonymous.conf, complex-virtual.conf:
	  Don't forget the X-variants of FTP commands in <Limit> examples.

2003-06-28 10:14  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Add comments about provide proper escapestring implementations.
	  Failure to do so allows SQL injection.

2003-06-27 00:13  castaglia

	* modules/mod_core.c:
	  Be a little more verbose about the exact error cause of
	  log_opensyslog() fails.

2003-06-27 00:10  castaglia

	* lib/pr-syslog.c:
	  Fix some inadvertently inverted #ifdefs.

2003-06-23 18:47  castaglia

	* NEWS, contrib/mod_rewrite.c, include/conf.h:
	  Bug#2090 - mod_rewrite doesn't compile on Solaris 8.

2003-06-23 12:58  castaglia

	* contrib/mod_radius.c:
	  Use USHRT_MAX rather than 65535 (and fix a typo).

2003-06-17 13:54  castaglia

	* contrib/mod_sql_postgres.c:
	  Removing POSTGRES_NO_ESCAPESTRING #define from mod_sql_postgres.
	  See Bug#2087.

2003-06-16 18:25  castaglia

	* configure:
	  Updating configure.

2003-06-16 18:23  castaglia

	* config.h.in, configure.in, include/conf.h:
	  Configure detection/use for <netinet/in_systm.h> header; this
	  fixes compile errors on BSD platforms.  Patch contributed by
	  Daniel Svensson.

2003-06-16 13:22  castaglia

	* NEWS, src/dirtree.c, src/sets.c:
	  Bug#2088: proftpd -t segfault.  The functional change of this
	  patch is using parent_pool, rather than c_pool, in
	  start_sub_config() when allocating a new xaset *.  The rest of
	  the patch is style cleanup.

2003-06-12 16:41  castaglia

	* contrib/mod_tls.html:
	  Minor corrections.

2003-06-12 12:30  castaglia

	* contrib/mod_tls.c:
	  Better handling of too long certificate verification chains.

2003-06-11 19:08  castaglia

	* src/: inet.c, modules.c:
	  Missing $Id: ChangeLog,v 1.145.2.1 2010/07/01 15:14:59 castaglia Exp $ keyword.

2003-06-11 15:45  castaglia

	* src/ident.c:
	  Match debug levels with what's in main.c for ident lookups.

2003-06-11 15:44  castaglia

	* src/: ident.c, main.c:
	  Add some debugging routines to the ident lookups.

2003-06-11 13:46  castaglia

	* config.h.in:
	  Missing entry for <netinet/ip.h> header file, checked by
	  configure.

2003-06-09 17:38  castaglia

	* contrib/mod_tls.c:
	  Need to be consistent about names of variables used.

2003-06-09 17:33  castaglia

	* contrib/mod_tls.c:
	  Better handling of possible errors when loading certs from a
	  CertificateChainFile.

2003-06-09 17:20  castaglia

	* contrib/mod_tls.c:
	  Fixed typo that prevent TLSCertificateChainFile from working
	  properly.

2003-06-09 10:25  castaglia

	* NEWS, modules/mod_auth_file.c:
	  Bug#2083 - "550 Access denied" on group permission with
	  AuthGroupFile.

2003-06-05 17:07  castaglia

	* src/main.c:
	  Add debug output (level 6) for use/nonuse of RFC1413 lookups.

2003-06-05 12:34  castaglia

	* modules/: mod_auth.c, mod_core.c:
	  Match variable data types.

2003-06-05 12:28  castaglia

	* NEWS, modules/mod_auth.c:
	  Some inappropriate/ill-timed Class functionality check was
	  preventing %N/%y from being properly counted for DisplayConnect
	  files.

2003-06-04 16:32  castaglia

	* include/options.h:
	  Increase default PR_TUNABLE_LOGIN_MAX size (and don't use
	  _POSIX_LOGIN_NAME_MAX, even if it is defined).  Should fix
	  Bug#2079.

2003-06-04 10:03  castaglia

	* configure:
	  Updating configure.

2003-06-04 09:59  castaglia

	* configure.in, config.h.in:
	  Add autoconf checks for mlock(2), mlockall(2), munlock(2), and
	  munlockall(2).

2003-06-04 07:53  castaglia

	* src/inet.c:
	  Typo in inet_setnonblock() (Bug#2077).

2003-06-03 21:37  castaglia

	* README.mod_sql:
	  Updating example SQL hooks code for current API.

2003-06-03 19:19  castaglia

	* contrib/mod_tls.html:
	  Updating mod_tls installation instructions.

2003-06-03 13:42  castaglia

	* modules/mod_log.c, src/log.c, src/main.c:
	  Changing variable names to avoid pedantic compiler warnings
	  emitted by gcc-3.3.

2003-06-03 09:25  castaglia

	* NEWS, include/conf.h, include/fsio.h, include/options.h,
	  include/proftpd.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_ls.c, modules/mod_xfer.c, src/dirtree.c, src/fsio.c,
	  src/log.c, src/netio.c, src/response.c, src/scoreboard.c,
	  src/support.c, utils/scoreboard.c, utils/utils.h:
	  Bug#2069: Long MKD path causes truncated server response.

2003-06-03 09:17  castaglia

	* src/fsio.c:
	  Change related to Bug#2043: files always need to be opened using
	  the O_BINARY flag on Cygwin, not just for ASCII transfers.

2003-06-03 09:11  castaglia

	* configure:
	  Updating configure.

2003-06-03 09:04  castaglia

	* NEWS, config.h.in, configure.in:
	  Bug#2076 - The --enable-transfer-buffer-size configure option
	  doesn't work properly.

2003-06-02 15:16  castaglia

	* NEWS, src/fsio.c:
	  Bug#2075 - ls / fails under Cygwin.

2003-06-02 09:23  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2074: MaxStoreFileSize restriction capabilities ignored.	The
	  find_maxnbytes() function in modules/mod_xfer.c was not checking
	  the argc of the configured config_recs properly, and so was
	  ignoring any configured classifiers on
	  Max{Retrieve,Store}FileSize directives.  This also fixes the
	  handling of a single "*" configuration parameter, which is
	  documented as being allowed.

2003-05-31 09:31  castaglia

	* README.mod_sql:
	  Increasing suggested passwd column length.

2003-05-30 17:51  castaglia

	* contrib/mod_rewrite.c:
	  Changed referenced to deprecated make_named_sub_pool() to
	  make_sub_pool().

2003-05-30 17:37  castaglia

	* contrib/mod_sql.c, modules/mod_log.c:
	  Adding new LogFormat variable, %J (and mod_sql support for it).
	  This variable expands to the arguments given in an FTP command.
	  Currently, there is %m for just the command, %r for the full
	  command (command + arguments), but nothing for just the
	  arguments.  Hence the need for a new variable.

2003-05-30 17:07  castaglia

	* modules/mod_core.c:
	  Changed handling of RNTO slightly.  It would clear session.xfer.p
	  at the end of the CMD phase.	Unfortunately, this meant that for
	  ExtendedLog/SQLLog, which might want to use %f for RNTO, the path
	  allocated from that pool would be gone.  Now, a
	  LOG_CMD/LOG_CMD_ERR handler for RNTO does the clearing of
	  session.xfer.p for RNTO, thus letting mod_log/mod_sql have a
	  chance to do their stuff.

2003-05-29 09:31  castaglia

	* README.cygwin:
	  Adding note to Cygwin README to use Cygwin 1.3.22 or later, in
	  order to prevent/quell ENOTSOCK errors (Bug#2064).

2003-05-29 00:29  castaglia

	* contrib/: mod_sql_mysql.c, mod_sql_postgres.c:
	  Add some sanity checks to the backend init handlers. (Note: this
	  actually makes a difference for a different module I'm working
	  on, but the logic is still worthwhile for the existing code.)

2003-05-28 16:03  jwm

	* contrib/dist/rpm/proftpd.spec:
	  build fixup from Ivan Martinez <ivanfm@os2brasil.com.br>

2003-05-27 19:51  castaglia

	* Makefile.in:
	  Add an 'all' dependency to the install target, to catch those
	  unsuspecting admins that might skip the 'make' and go straight
	  for the 'make install'.

2003-05-27 13:42  castaglia

	* lib/pr-syslog.c:
	  UnixWare 7.1 seems to have STREAMS support for /dev/log, similar
	  to Solaris and IRIX.	It's not quite the same, though.  Patch
	  contributed by Olivier PRENANT.

2003-05-26 17:46  jwm

	* contrib/dist/rpm/proftpd.spec:
	  logrotate script should be config(noreplace)

2003-05-26 17:45  jwm

	* contrib/dist/rpm/proftpd.spec:
	  Apparently RPM doesn't like user-defined options with dashes in
	  them (--with-module -> --with)

2003-05-26 12:20  castaglia

	* src/data.c:
	  Style/spacing.

2003-05-25 18:48  jwm

	* NEWS:
	  I really should pay attention to what I'm doing when I resolve
	  conflicts...

2003-05-25 18:41  jwm

	* NEWS:
	  Bug 1804 - Permit selection of additional contrib modules when
	  building the RPM

2003-05-25 18:39  jwm

	* contrib/dist/rpm/proftpd.spec:
	  change the flag name

2003-05-25 18:17  jwm

	* contrib/dist/rpm/proftpd.spec:
	  Bug 1804 - RPM spec file improvements

2003-05-23 12:43  castaglia

	* src/log.c:
	  Make the error about logging to world-writeable directories a
	  little more prominent.

2003-05-22 12:26  castaglia

	* NEWS, src/fsio.c:
	  Bug#2043 - Proftpd converts LF to CRLF on PUT (Cygwin)

2003-05-22 08:01  castaglia

	* modules/mod_xfer.c:
	  Fix missing case for .ftpaccess files bearing
	  Max{Retrieve,Store}FileSize directives.

2003-05-20 11:00  castaglia

	* contrib/mod_sql.c:
	  Correcting thinko in mod_sql that affected proper lookup of shell
	  values.  Minor log message correction.

2003-05-19 15:28  castaglia

	* modules/mod_xfer.c:
	  Make sure that for the TransferRate, when updating the
	  scoreboard, the actual number of bytes sent (not adjusted for
	  free bytes) is used.

2003-05-19 13:12  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2051 - freebytes in TransferRate does not work properly.

2003-05-16 09:18  castaglia

	* include/version.h:
	  Bumping the version for CVS.

2003-05-15 21:28  castaglia

	* ChangeLog:
	  Updating ChangeLog.

2003-05-15 21:25  castaglia

	* NEWS, contrib/dist/rpm/proftpd.spec, include/version.h:
	  Preparing for 1.2.9rc1 release.

2003-05-14 19:21  castaglia

	* README.mod_sql:
	  Bug#2044 - PostgreSQL backend SQLConnectInfo malfunction.
	  Actually, this is merely bad documentation.

2003-05-14 17:49  castaglia

	* lib/libcap/Makefile, lib/libcap/cap_alloc.c,
	  lib/libcap/cap_text.c, lib/libcap/libcap.h,
	  lib/libcap/include/sys/capability.h, modules/mod_cap.c:
	  Bug#2000 - mod_cap should not use bundled libcap.  This patch
	  updates the bundled libcap; I won't be closing the bug report
	  just yet.

2003-05-14 12:05  castaglia

	* modules/mod_xfer.c:
	  We don't want to call regerror(3) when regexec(3) matches -- we
	  want to call regerror() when it _doesn't_ match.  Seeing
	  "Success" in the debugging output is not very useful.

2003-05-14 10:54  castaglia

	* NEWS:
	  Wrong bug report number.

2003-05-13 22:17  castaglia

	* NEWS, include/dirtree.h, modules/mod_auth.c, modules/mod_core.c,
	  src/dirtree.c:
	  Bug#1977 - Add %u variable support in configuration file.

2003-05-13 21:56  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#2031 - Add support for flags for RewriteCondition,
	  RewriteRule (a la Apache's mod_rewrite)

2003-05-13 21:43  castaglia

	* NEWS, src/dirtree.c, src/fsio.c:
	  Bug#2047 - 1024 or more chars in .ftpaccess causes lockup.

2003-05-12 11:23  castaglia

	* lib/pr-syslog.c:
	  Fix logic.

2003-05-12 11:20  castaglia

	* lib/pr-syslog.c:
	  Add an Id tag.

2003-05-09 16:57  jwm

	* lib/pr-syslog.c:
	  centralize STREAMS defines

2003-05-09 00:02  castaglia

	* configure:
	  Updating.

2003-05-08 23:58  castaglia

	* configure.in:
	  Minor wording correction/change.

2003-05-08 11:12  castaglia

	* configure:
	  Updating configure.

2003-05-08 11:10  castaglia

	* configure.in:
	  Cygwin installation patch (contributed by Jason Tishler
	  <jason@tishler.net>).

2003-05-02 11:13  castaglia

	* README.cygwin:
	  Add note about Cygwin's lack of largefile support (sizeof(off_t)
	  is only 4, rather than 8, on Cygwin).

2003-05-02 10:09  castaglia

	* configure:
	  Updating configure.

2003-05-02 10:07  castaglia

	* config.h.in, configure.in, include/conf.h:
	  Adjusting the check for %llu support a little: we only want to
	  use %llu if a) printf(3) supports it _and b) the size of off_t
	  (hopefully defined to be an unsigned long long) is 8 bytes.
	  Otherwise, use %lu.

2003-04-30 12:32  castaglia

	* include/dirtree.h, include/support.h, modules/mod_auth.c,
	  modules/mod_auth_unix.c, src/dirtree.c, src/support.c:
	  Moving the handling of authentication for Cygwin from mod_auth to
	  mod_auth_unix.

2003-04-30 11:20  castaglia

	* modules/: mod_auth.c, mod_core.c:
	  get_param_ptr() lookup logic thinkos.

2003-04-30 11:16  castaglia

	* contrib/mod_rewrite.html:
	  Add default value for RewriteEngine.

2003-04-30 11:13  castaglia

	* contrib/mod_rewrite.c:
	  More explicit handling of RewriteEngine lookup.

2003-04-30 09:12  castaglia

	* modules/mod_auth_file.c:
	  Style/placement.

2003-04-30 08:49  castaglia

	* NEWS, modules/mod_auth_file.c:
	  Bug#2032 - AuthOrder not working when first option is
	  mod_auth_file.c.

2003-04-30 00:44  castaglia

	* configure:
	  Updating.

2003-04-30 00:42  castaglia

	* config.h.in, configure.in, include/conf.h:
	  Try to determine whether %llu or %lu should be used in the
	  configure script by actually testing use of printf(3), rather
	  than relying on _FILE_OFFSET_BITS (which some platforms don't
	  use) or SIZEOF_OFFSET_T (which doesn't convey the host printf()'s
	  ability to support %llu).

2003-04-29 23:45  castaglia

	* contrib/mod_tls.c:
	  Forgot to decrement the reference count to the peer cert
	  properly.

2003-04-29 17:03  castaglia

	* modules/mod_xfer.c:
	  Fix some cases where a filehandle was not being closed properly,
	  or the wrong filehandle was being closed.  In all honesty, I
	  think this patch may be a bit paranoid, as these cases are
	  probably caught by xfer_err_cleanup().  Still, at least the code
	  will be more consistent (and less confusing if you don't know
	  where to look) with these changes.

2003-04-29 10:40  castaglia

	* NEWS:
	  Oops...wrong credit. =/

2003-04-29 10:39  castaglia

	* NEWS:
	  Add credit for AllowForeignAddress fix.

2003-04-29 10:13  castaglia

	* modules/mod_core.c, src/inet.c:
	  Transition to using get_param_ptr() instead of get_param_int()
	  resulted in bad logic when handling AllowForeignAddress.

2003-04-26 10:50  jwm

	* src/.cvsignore, utils/.cvsignore:
	  ignore autogenerated man pages

2003-04-24 21:13  castaglia

	* NEWS, README.cygwin, include/privs.h, modules/mod_auth.c,
	  src/main.c:
	  Cygwin portability fixes: on Cygwin, the root UID/GID is not 0/0,
	  but 18/544:

	    http://cygwin.com/ml/cygwin/2003-04/msg01918.html

	  Also updating the Cygwin README with feedback from Jason Tishler
	  <jason at tishler.net>.

2003-04-24 17:02  castaglia

	* NEWS, include/bindings.h, src/bindings.c, src/main.c:
	  Fixed minor fd leak/messiness where listening fds were not being
	  properly closed in a session process, when the session is first
	  starting.  Michael noticed symptoms of this manifesting as a
	  problem handling HUPs.  (I can't believe this behavior has gone
	  on for so long in the code with no one noticing...oh well).

2003-04-24 16:02  castaglia

	* contrib/mod_rewrite.c:
	  Fixing bug where a RewriteRule with no conditions was not being
	  executed properly.

2003-04-24 12:41  castaglia

	* INSTALL, README.modules:
	  Module name changes.

2003-04-23 17:27  castaglia

	* README.modules:
	  Updating the module list.

2003-04-23 11:55  castaglia

	* contrib/mod_rewrite.c:
	  Pedantic change -- bad grammar in variable name.

2003-04-22 23:56  castaglia

	* configure:
	  Updating.

2003-04-22 23:53  castaglia

	* configure.in, include/privs.h, modules/mod_auth.c,
	  modules/mod_cap.c, modules/mod_core.c, src/auth.c, src/main.c:
	  Adding more stuff to the --enable-devel option: first, the
	  ability to generate core dumps (thank you, Michael!) Second, the
	  ability to specify developer options in the configure
	  --enable-devel parameter, rather than using CFLAGS.  For example,
	  rather than doing:

	    CFLAGS="-DPR_DEVEL_NO_FORK -DPR_DEVEL_COREDUMP" ./configure
	  --enable-devel ...

	  you can now do:

	    ./configure --enable-devel=nofork:coredump ...

	  At present, only three developer options are supported: nodaemon,
	  nofork, and coredump.

2003-04-22 22:00  castaglia

	* contrib/mod_rewrite.html:
	  Typo.

2003-04-22 19:46  castaglia

	* src/pool.c:
	  Sanity checking.

2003-04-22 19:39  castaglia

	* lib/glibc-glob.c:
	  Fixing compiler warning.

2003-04-22 17:42  castaglia

	* contrib/mod_rewrite.html:
	  Adding more substance to this document (still needs more,
	  though).

2003-04-22 17:28  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#2029 - Rewrite rule may execute more than once if multiple
	  rewrite conditions exist.

2003-04-22 16:07  castaglia

	* NEWS:
	  Bug#2003 - mod_auth.c does not compile for cygwin on W2K.

2003-04-22 16:05  castaglia

	* modules/mod_auth.c:
	  Slight modification of Cygwin stuff, as per Bug#2003.  Cygwin
	  doesn't/shouldn't use the normal proftpd auth handlers for
	  checking passwords (it's done by Cygwin's cygwin_logon_user()
	  function).

2003-04-22 13:47  castaglia

	* include/proftpd.h, lib/pr_fnmatch_loop.c, modules/mod_auth.c,
	  modules/mod_auth_unix.c:
	  Bug#2003 - mod_auth.c does not compile for cygwin on W2K.  There
	  may be more work needed on this bug, but this patch at least
	  compiles correctly.

2003-04-21 20:21  castaglia

	* contrib/mod_tls.html:
	  Updating the mod_tls documentation.

2003-04-17 23:26  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#1532 - [patch] Human readable disk free.

2003-04-17 16:06  castaglia

	* src/inet.c:
	  Cruft removal.

2003-04-16 10:53  castaglia

	* src/fsio.c:
	  Add Solaris 2.5.1 to the list of Solaris versions that use struct
	  statvfs for its statvfs(2) call.

2003-04-16 00:34  castaglia

	* src/fsio.c:
	  Typo.

2003-04-16 00:00  castaglia

	* configure:
	  Updating configure script.

2003-04-15 23:56  castaglia

	* configure.in:
	  Tweaking the configure.in file to fix some things that cause
	  trouble on Tru64 Unix (and probably other picky platforms).

2003-04-15 23:09  castaglia

	* src/fsio.c:
	  Reworking the #ifdefs around statvfs a little; now, if we're a
	  Solaris 2.6 or 2.7 box, we'll use struct statvfs, otherwise,
	  statvfs_t.  We'll deal with those poor souls still using 2.5.1 or
	  older later.	(Thanks for the info about statvfs64 on Solaris
	  2.7, Noah).

2003-04-15 20:18  castaglia

	* src/fsio.c:
	  Silencing compiler warnings about statvfs64(2) on LFS-enabled
	  Solaris.

2003-04-15 15:56  castaglia

	* modules/mod_core.c:
	  "HideFiles none" config_recs did not contain the proper
	  CF_MERGEDOWN_MULTI flag, unlike their regex-bearing config_rec
	  siblings.

2003-04-14 23:42  castaglia

	* NEWS, src/main.c:
	  Bug#2021 - Inetd mode and scoreboard format changes.	Now, if
	  ServerType is inetd and the server encounters a scoreboard
	  version mismatch on startup, the old scoreboard file will be
	  unlinked and a new blank one written.

2003-04-14 23:22  castaglia

	* NEWS, modules/mod_auth.c, modules/mod_core.c:
	  Added RootRevoke configuration directive.

2003-04-14 18:08  castaglia

	* src/modules.c:
	  Minor adjustment, to make sure that PRE_CMD, POST_CMD et al are
	  not inadvertently forgotten.

2003-04-14 16:18  castaglia

	* src/modules.c:
	  HOOK commands need to be properly inserted into the stash if they
	  are to be later looked up.

2003-04-14 15:38  castaglia

	* modules/mod_xfer.c:
	  Michael found a bug where the REST position was not properly
	  being cleared between uploads/downloads.

2003-04-09 11:29  castaglia

	* src/inet.c:
	  Typo.

2003-04-08 23:39  castaglia

	* src/inet.c:
	  IRIX doesn't need this ioctl(2) call, it seems.

2003-04-08 19:53  castaglia

	* NEWS, modules/mod_core.c, modules/mod_site.c, modules/mod_xfer.c:

	  Bug#2002 - Per-<Directory> PathAllowFilter/PathDenyFilter.

2003-04-08 15:25  castaglia

	* contrib/mod_ifsession.c:
	  Fixing bug with mod_ifsession's searching/handling of multiple
	  <If*> contexts.

2003-04-08 11:49  castaglia

	* configure:
	  Updating configure.

2003-04-08 11:47  castaglia

	* config.h.in, configure.in, NEWS, include/data.h, src/data.c:
	  Bug#1813 - configure code: mistake in BSD sendfile semantic
	  detection. The autoconf test for Linux simply needed to #include
	  <sys/sendfile.h>.

	  Bug#2019 - proftpd support for Solaris 8/9 native sendfile.  A
	  native Solaris sendfile() implementation became available via
	  patch for Solaris 8, and is included by default in Solaris 9.  I
	  don't know how stable or esoteric the implementation is, so this
	  may have bugs lurking.

2003-04-08 10:18  castaglia

	* modules/mod_ls.c:
	  Fix segfault in NLST.

2003-04-07 15:53  castaglia

	* src/main.c:
	  Minor buglet: actually honor RLIM_INFINITY if USE_DEVEL is
	  defined when setting the RLIMIT_CORE rlimit.

2003-04-07 14:07  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#2018: Incorrect caching of TransferRate values.

2003-04-04 09:04  castaglia

	* lib/: pr_fnmatch.c, pr_fnmatch_loop.c:
	  Quell some compiler warnings when --enable-devel flags are used.

2003-04-03 23:30  castaglia

	* configure:
	  Updating.

2003-04-03 23:29  castaglia

	* configure.in:
	  Oops...forgot an important part. =P

2003-04-03 23:25  castaglia

	* configure:
	  Updating.

2003-04-03 23:23  castaglia

	* NEWS, configure.in, src/proftpd.8, src/proftpd.8.in,
	  src/xferlog.5, src/xferlog.5.in, utils/ftpcount.1,
	  utils/ftpcount.1.in, utils/ftpshut.8, utils/ftpshut.8.in,
	  utils/ftptop.1, utils/ftptop.1.in, utils/ftpwho.1,
	  utils/ftpwho.1.in:
	  Bug#2016 - man pages should be autogenerated to reflect the
	  --prefix used.  The man pages are now generated by the configure
	  script.

2003-04-03 15:15  castaglia

	* modules/mod_core.c:
	  Scrub the scoreboard during a rehash (SIGHUP), too.

2003-04-03 10:55  castaglia

	* configure:
	  Updating configure script for curses/ncurses library detection
	  changes.

2003-04-03 10:49  castaglia

	* configure.in:
	  Bug#2009: ncurses/ftptop linker problem on Solaris.  The system
	  in question has curses.h, libcurses, and libncurses.	The
	  configure script used libncurses when linking ftptop (as ncurses
	  is preferred if we can get it) without checking to see if
	  ncurses.h was present.  Now, the library is checked only if the
	  corresponding header is present.

2003-04-02 17:34  castaglia

	* configure:
	  Updating configure script.

2003-04-02 17:31  castaglia

	* NEWS, configure.in, config.h.in, utils/ftptop.c:
	  Added new --disable-{curses,ncurses} configure options.

2003-04-02 14:54  castaglia

	* README.PAM:
	  Updating Linux PAM configuration examples.

2003-04-02 09:45  castaglia

	* NEWS, src/main.c:
	  Bug#2011 - No "FTP session closed." msgs written to logfile.	The
	  check for when to write the message ("!is_master") only checks if
	  the current process is a child process, not an existing daemon
	  process.  This works well for standalone daemons, but not
	  inetd-run daemons, which have no "master" process.  The fix,
	  then, is to log the message if either !is_master or if the
	  servertype is inetd.

2003-04-01 15:56  castaglia

	* include/modules.h, src/modules.c:
	  Removing crufty auth_priority variable.

2003-04-01 12:22  castaglia

	* contrib/mod_sql.c:
	  Pedantic orthography correction.

2003-04-01 12:13  castaglia

	* contrib/mod_sql.c:
	  Add typecasting, to quell compiler warnings.

2003-04-01 10:11  castaglia

	* modules/mod_core.c:
	  This module needs to include signal.h, so that it picks up the
	  prototype for kill(2).

2003-03-29 15:55  castaglia

	* src/scoreboard.c:
	  Be a little more careful about interrupted system calls.  In some
	  cases, we wrap the system calls in while() loops, handling
	  EINTRs.  In others, we simply block all signals that might
	  interrupt the system call.  Also, lock the scoreboard when
	  writing a new header for it (this was not being done).

2003-03-29 15:52  castaglia

	* modules/mod_auth.c:
	  Remove spurious logged complaints about the scoreboard, causing
	  by logging on any return value from pr_open_scoreboard(), not
	  just the error return values.  Oops.

2003-03-29 11:52  castaglia

	* modules/mod_ls.c:
	  Prevent a segfault in some situations by making sure the pointer
	  exists before dereferencing it.

2003-03-29 09:12  castaglia

	* src/fsio.c:
	  Be a little more accurate when reporting the name of the FS whose
	  callback is being invoked.

2003-03-28 13:17  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#1998 - Add ListOptions for setting limits on -R listings.

2003-03-27 23:34  castaglia

	* src/main.c:
	  Every command needs to have its logging class, unless otherwise
	  explicitly set, default to CL_ALL.

2003-03-27 17:58  castaglia

	* contrib/ftpasswd:
	  Make explicit the fact that --group --member parameters are user
	  names.

2003-03-26 16:55  castaglia

	* contrib/mod_ifsession.html:
	  Adding text to the mod_ifsession docs.

2003-03-25 19:34  castaglia

	* src/mkhome.c:
	  Quell compiler warnings on Solaris by explicitly casting mode_t
	  to an unsigned int.

2003-03-25 02:41  cyberrobo

	* modules/mod_ls.c: small typo

2003-03-24 21:52  castaglia

	* NEWS, src/inet.c:
	  Bug#1997 - UnixWare 7.1.3 & port 20.

2003-03-24 15:43  castaglia

	* src/inet.c:
	  Typo.

2003-03-24 15:40  castaglia

	* src/inet.c:
	  More setsockopt(2) fun: *BSD want IPPROTO_IP for setting IP_TOS
	  options, Linux wants SOL_IP.

2003-03-24 12:26  castaglia

	* modules/mod_auth.c, src/main.c, src/scoreboard.c,
	  utils/ftpcount.c, utils/ftptop.c:
	  Fixing the messages reported when opening the scoreboard (and
	  making all such messages consistent).

	  Note: we'll need to document, probably in the release
	  announcement, when the scoreboard format (include/scoreboard.h's
	  PR_SCOREBOARD_VERSION) is increment.	For standalone-run daemons,
	  there is no problem; for inetd-run daemons, though, the old
	  scoreboard file will need to be deleted before the new daemon is
	  started, else the new daemon will complain of the scoreboard
	  being too old.  (I think this is what we are seeing now with
	  people upgrading from 1.2.7 to 1.2.8; it's the first time in who
	  knows how long that the scoreboard version number was increment.)

2003-03-24 12:02  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#1935 - mod_ls memory leak.

2003-03-23 22:14  castaglia

	* NEWS, contrib/mod_tls.c:
	  Fixing mod_tls' use of SSL_shutdown() to properly shutdown an SSL
	  session when talking to some clients that don't want to shutdown
	  properly.

2003-03-23 12:00  castaglia

	* src/netio.c:
	  A shutdown() is not a close(); shutdown should not be freeing the
	  netio stream's pool.

2003-03-23 10:15  castaglia

	* contrib/mod_sql.c:
	  More error checking when a custom SQLUserInfo query is used.

2003-03-22 11:09  castaglia

	* utils/utils.h:
	  Cruft.

2003-03-22 11:04  castaglia

	* configure:
	  Updating.

2003-03-22 11:02  castaglia

	* configure.in:
	  For now, require that --enable-ipv6 be used at configure time.
	  Once IPv6 support has had all its bugs worked out, then we can
	  make IPv6 support the default.

2003-03-22 10:19  castaglia

	* configure:
	  Updating.

2003-03-22 10:16  castaglia

	* config.h.in, configure.in, modules/mod_auth_unix.c:
	  Change AUTO_SHADOW to be USE_AUTO_SHADOW, to be more consistent.

	  Add a --disable-ipv6 configure option, and a corresponding
	  USE_IPV6 define.  Add check for getnameinfo(3) function.

2003-03-22 09:59  castaglia

	* configure:
	  Updating.

2003-03-22 09:55  castaglia

	* aclocal.m4, config.h.in, configure.in:
	  Check for a defined struct sockaddr_storage.	I don't know if
	  this is really necessary, or if we can assume that all platforms
	  will define this struct.  I think it better to have the check,
	  just in case.

2003-03-21 20:49  castaglia

	* contrib/mod_sql.c:
	  Check the number of fields in the returned set of a SQLUserInfo
	  query.  Hopefully this will quell some mod_sql/shell-related
	  segfaults.

2003-03-20 22:46  castaglia

	* NEWS:
	  Should mention mod_radius changes here.

2003-03-20 22:44  castaglia

	* contrib/mod_radius.c:
	  Changing way mod_radius looks up custom attributes in response
	  packets; now, rather than using RADIUS attribute type IDs,
	  mod_radius will use VSA IDs.	The new RadiusVendor directive is
	  used to configure the vendor for which mod_radius will search.
	  The new RadiusGroupInfo complements the existing RadiusUserInfo
	  directive; as expected, RadiusGroupInfo is used to configure
	  RADIUS user group membership information.

2003-03-20 22:00  castaglia

	* src/scoreboard.c:
	  Report the scoreboard path anyway.

2003-03-20 21:58  castaglia

	* src/scoreboard.c:
	  Add debug logging of the path used if opening the scoreboard file
	  fails.

2003-03-20 19:26  castaglia

	* src/: fsio.c, main.c:
	  Making the checking of the configuration file path actually work.

	  Getting rid of #PR_HACK_DISABLE_MEM_VHOST_FREE, and commenting
	  out the freeing code completely.  Copy-on-write semantics means
	  that that freeing of memory, which would not be used or changed
	  anyway, probably adds load unnecessarily.  I doubt anyone will
	  miss that code.

2003-03-20 15:23  castaglia

	* contrib/: mod_sql.c, mod_sql.h, mod_sql_mysql.c,
	  mod_sql_postgres.c:
	  Added the ability to construct custom user information queries
	  with mod_sql.  The mod_sql docs will be updated accordingly.
	  Various style cleanups included in this patch.

2003-03-20 13:38  castaglia

	* NEWS:
	  Typo.

2003-03-20 11:33  castaglia

	* utils/: ftpcount.1, ftptop.1, ftpwho.1:
	  Updating paths to reflect default installation locations.

2003-03-20 11:31  castaglia

	* src/proftpd.8:
	  Updating the paths in the man page to reflect the default
	  installation location.  At some point, we'll need to handle this
	  better, to generate/rewrite the man page based on the --prefix
	  used, so that the man pages properly reflect the locations of the
	  installed files.

2003-03-20 11:11  castaglia

	* src/fsio.c:
	  Minor correction of bug introduced by last night's
	  pr_fs_valid_path() addition (forgot to handle case where no
	  modules registered an FS).

2003-03-20 09:46  castaglia

	* NEWS, utils/ftptop.c:
	  Bug#1995 - ftptop: no curses or ncurses library on this system.

2003-03-19 23:54  castaglia

	* contrib/mod_sql_mysql.c:
	  One minor cast needed to compile/link without warnings against
	  MySQL-4.0 client libraries.

2003-03-19 18:19  castaglia

	* include/fsio.h, modules/mod_core.c, src/fsio.c, src/main.c:
	  Modifying the checking of configuration paths slightly.  Rather
	  than now only accepting absolute paths (criterion: string begins
	  with '/'), paths that start with any of the paths registered with
	  the FSIO layer will be accepted.  This allows FSIO modules to
	  register handlers for paths that may not necessarily be local
	  filesystem paths (e.g. "sql://" paths).  This change affects the
	  paths accepted by the Include configuration directive as well.

2003-03-19 12:05  castaglia

	* configure:
	  Updating.

2003-03-19 11:50  castaglia

	* aclocal.m4, config.h.in, configure.in:
	  More IPv6-related autoconf detection.

2003-03-19 11:00  castaglia

	* NEWS, contrib/mod_tls.c:
	  Patching mod_tls to use RSA blinding in installations of OpenSSL
	  older than 0.9.7b, in order to prevent certain RSA-based timing
	  attacks:   http://www.openssl.org/news/secadv_20030317.txt

2003-03-18 23:58  castaglia

	* modules/mod_auth.c:
	  Another off-by-one bug, this time afflicting MaxClientsPerUser.

2003-03-18 08:17  castaglia

	* contrib/mod_rewrite.html:
	  Added note about the $0 backreference.

2003-03-18 08:13  castaglia

	* src/inet.c:
	  Portability fun with socket options. =P

2003-03-18 07:57  castaglia

	* configure:
	  Updating.

2003-03-18 07:53  castaglia

	* config.h.in, configure.in:
	  Start autoconf checks for some functions we'll need for IPv6
	  support.

2003-03-18 07:19  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#1987 - mod_rewrite seems not to handle more than one
	  backreference (only $1).

2003-03-17 23:52  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#1986 - mod_rewrite backreferences not zero-based (use $1 not
	  $0?).

2003-03-17 15:48  castaglia

	* src/data.c:
	  Trying to make sure that an interrupted sendfile(2) on Linux has
	  its signals handled properly.

2003-03-17 08:48  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#1989 - SQLLog '*' doesn't match any commands.

2003-03-17 08:41  castaglia

	* modules/mod_xfer.c:
	  Add handling of signals if sendfile() is interrupted.

2003-03-14 19:33  castaglia

	* NEWS, contrib/mod_sql_mysql.c:
	  Bug#1730 - mod_mysql logging of long transfers fails.

2003-03-14 19:18  castaglia

	* NEWS, contrib/mod_rewrite.c:
	  Bug#1985 - mod_rewrite fails to build on platforms without
	  flock().

2003-03-14 10:27  castaglia

	* contrib/: mod_sql.c, mod_sql.h, mod_sql_mysql.c,
	  mod_sql_postgres.c:
	  Adding $Id: ChangeLog,v 1.145.2.1 2010/07/01 15:14:59 castaglia Exp $ tags to the mod_sql files.

2003-03-14 07:54  castaglia

	* src/dirtree.c:
	  Be a little more thorough in checking how to handle the given
	  path in get_dir_ctxt().

2003-03-14 07:51  castaglia

	* src/dirtree.c:
	  Correct get_dir_ctxt() when operating within a chroot.

2003-03-13 18:37  jwm

	* README.LDAP: forgot to update this for 2.8.11

2003-03-13 15:31  castaglia

	* NEWS, include/dirtree.h, src/dirtree.c, src/main.c:
	  Bug#1983 - filenames beginning with # fail to upload / download.

2003-03-12 18:56  castaglia

	* include/fsio.h, src/fsio.c:
	  Changing a few of the FSIO functions (close, read, write, lseek)
	  so that they operate on file handles, rather than on filesystem
	  objects.  This is done primarily so that they can get access to
	  the newly-added fh_data member of a file handle, used for storing
	  file-specific data.

	  Also added two new FSIO functions, for fstat and ftruncate.

2003-03-12 13:55  castaglia

	* NEWS, contrib/mod_sql_mysql.c:
	  Bug#1982: fixing how mod_sql_mysql reads MySQL .cnf files.  Looks
	  like there's a bug in MySQL's (undocumented) load_defaults()
	  functions.  Hrmf.

2003-03-12 13:13  castaglia

	* modules/mod_auth.c:
	  Change the timing of when C_USER is removed from the config tree;
	  this allows modules that want to lookup the USER name sent by the
	  client (e.g.	for substituting %U) a chance to do so.

2003-03-12 08:36  castaglia

	* Makefile.in:
	  Pass LDFLAGS on to ftpcount and ftpshut, too.

2003-03-11 18:46  castaglia

	* contrib/mod_ifsession.c, include/dirtree.h, modules/mod_core.c,
	  src/dirtree.c, src/sets.c:
	  Updating code that checks for empty configuration contexts, and
	  removes them.  (Empty contexts within another context were
	  causing segfaults).  Also, add code to report, upon ending of a
	  configuration context, if the ended context is being ignored (at
	  debug level 3).

2003-03-10 12:48  castaglia

	* contrib/mod_ifsession.html:
	  Updating mod_ifsession docs.

2003-03-09 15:24  castaglia

	* NEWS, include/scoreboard.h, modules/mod_auth.c,
	  modules/mod_core.c, src/scoreboard.c, utils/utils.h:
	  Bug#1915 - Unsafe pointer usage in scoreboard file format.

2003-03-09 14:40  castaglia

	* NEWS, contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c:
	  Bug#1849 - Compile can have trouble finding mysql.h.

2003-03-09 14:30  castaglia

	* configure:
	  Updating the configure script.

2003-03-09 14:28  castaglia

	* NEWS, configure.in, include/conf.h, include/dirtree.h,
	  include/inet.h, include/options.h, modules/mod_core.c,
	  modules/mod_xfer.c, src/bindings.c, src/data.c, src/dirtree.c,
	  src/inet.c, src/main.c:
	  Bug#1921 - Socket-level performance tweaks.

2003-03-09 08:53  castaglia

	* src/inet.c:
	  Portability fix for letting active/inetd function properly on Mac
	  OSX (Darwin).

2003-03-09 08:23  castaglia

	* src/main.c, utils/ftpcount.c, utils/ftpwho.c:
	  Minor change: list the short form of options first, then the long
	  form.

2003-03-08 20:19  castaglia

	* NEWS, include/options.h, modules/mod_core.c:
	  Bug#1969 - Add scoreboard-scrubbing timer.

2003-03-08 19:55  castaglia

	* src/main.c:
	  Oops.  Had these function calls, for running through the
	  registered daemon startup callbacks, in the inetd startup code --
	  not too useful there.  Now in the standalone startup code, where
	  they belong.

2003-03-08 19:16  castaglia

	* modules/mod_core.c:
	  Actually, let's hold off on the idea of barring use of 0.0.0.0,
	  for now.  We can revisit it later.

2003-03-08 19:09  castaglia

	* include/modules.h, src/main.c, src/modules.c:
	  Adding yet another module callback registration set of functions.
	  This set is for allowing modules to register callbacks that are
	  invoked just before the daemon starts up, after it has (possibly)
	  daemonized.  One would want to have something done at this point
	  when you want to make sure that the daemon process is affected,
	  e.g. adding a timer.	Calling alarm(3) in a module_init function
	  won't work for standalone daemons, for part of the daemonizing
	  process involves forking() twice (to dissociate the process
	  completely from the terminal), and all pending alarms are cleared
	  for a child process.

2003-03-08 18:25  castaglia

	* NEWS:
	  Making note of new handling/checking for IP address/port
	  collisions.

2003-03-08 18:24  castaglia

	* modules/mod_core.c:
	  This patch prevents two specific vhost misconfigurations: 1)
	  trying to use "0.0.0.0", which no client could ever reach, and 2)
	  IP address/port collisions.  The second is the more likely of the
	  misconfigurations, particularly when DNS names, rather than IP
	  addresses, are used in <VirtualHost> lines (as when new proftpd
	  uses think to configure name-based vhosts).

2003-03-08 18:06  castaglia

	* contrib/mod_tls.c, include/feat.h, modules/mod_core.c,
	  src/feat.c:
	  Pedantic namespace change: pr_{add,get}_feat ->
	  pr_feat_{add,get}.  This provides consistency in the pr_*
	  function namespace.

2003-03-08 17:35  castaglia

	* README.ports:
	  Updating.

2003-03-08 17:04  castaglia

	* include/modules.h:
	  Cruft.

2003-03-08 16:56  castaglia

	* include/proftpd.h:
	  Cruft.

2003-03-07 15:11  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#1932 - Make Max* checks a PASS POST_CMD handler.

2003-03-06 09:48  castaglia

	* contrib/mod_sql_postgres.c:
	  Postgres added a string-escaping function at some point, so just
	  as mod_sql_mysql does, now mod_sql_postgres will make use of its
	  library-provided function.

	  Note that a manual #define had to be used, to ensure backward
	  compatibility with Postgres installations that don't have the
	  escape function.  Ideally a configure script could check for the
	  function; this is yet another case for having proftpd's build
	  system support per-module build directories and scripts.

2003-03-05 18:18  jwm

	* contrib/mod_ldap.c:
	  upgrade to 2.8.11

2003-03-05 18:15  castaglia

	* NEWS, contrib/mod_ifsession.c, contrib/mod_ifsession.html:
	  Bug#1933 - Add mod_ifsession contrib module.

2003-03-05 16:11  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#1980 - Login with incorrect password POSSIBLE when using
	  mod_radius.

2003-03-05 13:55  castaglia

	* NEWS, utils/ftpcount.1, utils/ftpcount.c, utils/ftptop.1,
	  utils/ftptop.c, utils/ftpwho.1, utils/ftpwho.c:
	  Bug#1869 - Add option "--server/-s" to ftpwho&ftpcount&ftptop.

2003-03-05 11:23  castaglia

	* NEWS, contrib/mod_tls.c:
	  Bug#1979 - Add TLSTimeoutHandshake directive.

2003-03-05 11:20  castaglia

	* NEWS, include/scoreboard.h, src/main.c, src/scoreboard.c,
	  utils/ftptop.c, utils/ftpwho.c, utils/utils.h:
	  Bug#1794 - Scoreboard format changes.  This commit splits the cmd
	  (i.e. the FTP command used) from the command arguments in the
	  scoreboard.

2003-03-04 18:05  castaglia

	* modules/mod_auth.c:
	  Fixing shadowing variable name.

2003-03-04 17:23  castaglia

	* include/privs.h:
	  Make the PRIVS_ROOT macro change the egid to 0 as well as the
	  euid, to be consistent.

2003-03-04 15:32  castaglia

	* modules/mod_xfer.c:
	  Re-add the missing setsockopt(TCP_CORK) to uncork the socket
	  after sending data.

2003-03-04 15:22  castaglia

	* modules/mod_xfer.c:
	  Still working on this.

2003-03-04 15:14  castaglia

	* modules/mod_xfer.c:
	  Fixing use of TCP_CORK.

2003-03-04 13:46  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#1972 - %T not correctly shows time at performance of a
	  command "rename".

2003-03-04 13:30  castaglia

	* NEWS, utils/ftpshut.c, utils/ftpshut.8:
	  Added -D option to ftpshut, to be used to delete the /etc/shutmsg
	  file (rather than having to manually remove it).

2003-03-04 12:03  castaglia

	* modules/mod_xfer.c, src/inet.c:
	  Add use of TCP_CORK setsockopt(2) option on platforms that define
	  it (e.g.  Linux).

2003-03-04 11:55  castaglia

	* contrib/mod_sql.c, include/modules.h, src/modules.c:
	  Formalizing the use of "hooks", which are custom cmdtable entries
	  that contrib modules can add.  mod_sql started the trend with its
	  "sql_lookup" and "sql_change" hooks.	This patch makes sure that
	  any such hooks will not be accidentally used; it was possible, if
	  a custom hook was entered that has an all uppercase name, for a
	  client to send an FTP command that matched that name, leading to
	  a possible bad interaction.

	  This patch avoids the above scenario by defining a new symbol
	  tag, PR_SYM_HOOK, to be used for "hook" cmdtable entries.  I'll
	  add documentation about this in the Developer's Guide as
	  appropriate.

2003-03-04 11:50  castaglia

	* NEWS, modules/mod_auth.c:
	  Added AnonRejectPasswords.

2003-03-04 11:28  castaglia

	* NEWS, include/scoreboard.h, modules/mod_auth.c,
	  modules/mod_auth_unix.c, src/main.c, src/scoreboard.c,
	  utils/ftpcount.c, utils/ftptop.c, utils/ftpwho.c,
	  utils/scoreboard.c, utils/utils.h:
	  Bug#1967: Add display of uptime to ftpwho, ftptop.

2003-03-04 11:24  castaglia

	* NEWS, contrib/mod_sql_mysql.c, include/version.h,
	  modules/mod_core.c:
	  Bugs 1828 and 1960.

2003-03-03 21:26  castaglia

	* ChangeLog:
	  Updating.

2003-03-03 21:25  castaglia

	* NEWS, include/version.h, contrib/dist/rpm/proftpd.spec:
	  Preparing for release of 1.2.8.

2003-03-03 18:58  castaglia

	* README.PAM:
	  Updating PAM information for FreeBSD.

2003-03-03 12:13  castaglia

	* README.mod_sql:
	  Updating.

2003-03-02 20:21  castaglia

	* src/inet.c:
	  Fixed #if check.

2003-03-02 18:21  castaglia

	* src/main.c:
	  Changing code back to its original setting; when doing the
	  modifications for mod_unixpw -> mod_auth_unix, this code was
	  incorrectly modified.

2003-03-02 16:42  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#1976 - Login hangs, spawned process runs in endless loop in
	  mod_auth.

2003-03-02 16:31  castaglia

	* NEWS, src/inet.c:
	  Adding FreeBSD-5.0 to the #defines for the socket/privs fun.

2003-03-01 10:41  castaglia

	* contrib/mod_tls.c:
	  Playing with logged messages...

2003-03-01 10:39  castaglia

	* contrib/mod_tls.c:
	  Bad grammar.

2003-03-01 10:31  castaglia

	* contrib/mod_tls.c:
	  Pedantic changes of "SSL" to "TLS" adding logging for when
	  mod_tls starts a TLS handshake on the data connection

2003-02-25 20:49  castaglia

	* src/inet.c:
	  Modify the use of ioctl() such that it will be used on platforms
	  known to use STREAMS (i.e. Solaris and IRIX, at present).

2003-02-25 20:30  castaglia

	* include/dirtree.h, src/dirtree.c:
	  Added pr_class_and_expression(), for symmetry (and yes, there are
	  cases where having a list of class names evaluated in a Boolean
	  AND fashion can be useful).

2003-02-25 11:00  castaglia

	* configure:
	  Updating configure script.

2003-02-25 10:56  castaglia

	* NEWS, config.h.in, configure.in, include/conf.h, lib/pr-syslog.c,
	  src/inet.c, src/netio.c:
	  Bug#1964 - When uploading to an NFS mounted file system in
	  passive mode read() get EAGAIN and closes connection.

2003-02-24 17:39  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#1937 - transfer hangs when using transferrate limits on a
	  resumed download.

2003-02-24 15:47  castaglia

	* modules/mod_xfer.c:
	  Cleanup of missed code for Bug#1970.

2003-02-24 10:39  castaglia

	* NEWS, modules/mod_xfer.c, utils/ftptop.c, utils/ftpwho.c:
	  Bug#1970 - Transfer time wraps around and causes problems with
	  transfer speed calculation.

2003-02-24 10:15  castaglia

	* modules/mod_ls.c:
	  Removing unused cruft.

2003-02-24 10:13  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#1953 - STAT -R does not work.

2003-02-24 08:06  castaglia

	* NEWS, src/inet.c:
	  Bug#1966 - SCO OpenServer 5.0.5 and inetd (not passive mode).

2003-02-23 18:37  castaglia

	* NEWS, modules/mod_log.c, src/dirtree.c:
	  Bug#1908 - ExtendedLog to work properly in <Anonymous> context.

2003-02-19 23:48  castaglia

	* NEWS, utils/ftpwho.c:
	  Bug#1958 - ftpwho -o oneline has newlines when client is idle.

2003-02-18 16:01  castaglia

	* modules/mod_xfer.c:
	  Minor variable name change; seems to collide with variable used
	  in Tru64 5.1b's headers.

2003-02-18 10:01  castaglia

	* configure:
	  Updating configure script.

2003-02-18 09:55  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_auth_unix.c,
	  modules/mod_ls.c:
	  Bug#1941 - SCO OpenServer 5.0.5

2003-02-18 00:16  castaglia

	* sample-configurations/basic.conf:
	  Adding some comments to the default config file.  Hopefully this
	  will stem some of the more common questions on the users mailing
	  list.

2003-02-17 17:45  jwm

	* configure:
	  update

2003-02-17 17:41  jwm

	* configure.in:
	  typo

2003-02-17 17:28  jwm

	* configure:
	  update

2003-02-17 17:25  jwm

	* configure.in:
	  expend as little effort as possible if mod_cap is explicitly
	  disabled

2003-02-17 15:41  castaglia

	* configure:
	  Updating configure script.

2003-02-17 15:40  castaglia

	* configure.in:
	  Add to output at end of configure --help instructions describing
	  LIBS environment variable.

2003-02-16 16:56  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#1956 - Upload transfer rate broken.

2003-02-14 07:47  castaglia

	* NEWS, contrib/mod_tls.c:
	  Added FTPS FEAT responses, as per the Draft.

2003-02-12 16:02  castaglia

	* modules/mod_xfer.c:
	  Helps if I get the variable names right...

2003-02-12 15:54  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#1948 - mod_xfer relinquishes privs before chmod takes place.

2003-02-12 11:03  castaglia

	* NEWS, include/log.h, modules/mod_xfer.c, src/data.c, src/log.c:
	  Bug#1916 - Transfers hang with strange transfertime in logfile.

2003-02-12 00:46  castaglia

	* src/netio.c, src/pool.c, src/sets.c, include/ident.h,
	  include/timers.h:
	  Adding more $Id: ChangeLog,v 1.145.2.1 2010/07/01 15:14:59 castaglia Exp $ keywords.

2003-02-11 23:34  castaglia

	* src/feat.c:
	  Added $Id: ChangeLog,v 1.145.2.1 2010/07/01 15:14:59 castaglia Exp $ keyword.

2003-02-10 15:34  castaglia

	* contrib/mod_sql.c, modules/mod_auth.c:
	  Add logging of the problem if an admin configured a valid shell
	  column in a SQL table, but the value of the shell in the table
	  was NULL.

2003-02-10 10:02  castaglia

	* NEWS, src/dirtree.c:
	  Bug#1952 - Umask Bug: Server Not Honoring VirtualHost Umask.

2003-02-10 08:53  castaglia

	* configure:
	  Updating configure script.

2003-02-10 08:51  castaglia

	* NEWS, aclocal.m4, configure.in, modules/mod_xfer.c:
	  Bug#1949 - Compiler warns of 'long double' usage on OSX.

2003-02-07 12:46  castaglia

	* README:
	  Add a line to the REAME pointing out the doc/ directory.  Not
	  that anyone will notice.  *sigh*

2003-02-06 08:40  castaglia

	* configure:
	  Updated configure script.

2003-02-06 08:38  castaglia

	* NEWS, aclocal.m4, config.h.in, configure.in,
	  modules/mod_auth_unix.c:
	  Bug#1950 - OSX setgrent(3) returns int, causing compiler warning.

2003-02-05 13:14  castaglia

	* include/privs.h:
	  Oops.  I said DEBUG9, but had DEBUG0.  Should've been DEBUG9 in
	  code.  Fixed.

2003-02-05 13:11  castaglia

	* include/privs.h:
	  Add debug output, level 9, for PRIVS macros when they are
	  disabled (will help cut down on confusion when proftpd is built
	  on Linux, and admins forget that mod_cap is now enabled by
	  default, and that mod_cap will disable id switching).

2003-02-01 10:11  castaglia

	* NEWS, include/glibc-glob.h:
	  Bug#1943 - Unable to install on FreeBSD 5.0.

2003-01-31 12:48  castaglia

	* configure:
	  Updating configure script.

2003-01-31 09:28  castaglia

	* configure.in:
	  Only check for the linux/capability.h header if mod_cap has not
	  already been explicitly disabled in the configure options.

2003-01-30 11:05  jwm

	* NEWS, configure, configure.in:
	  Bug 1863 - Unable to build under UnixWare 7

2003-01-30 08:15  castaglia

	* modules/mod_xfer.c:
	  Changed TransferRate handler to use strtod() rather than
	  strtoul() when parsing the kbps rate parameter.  strtold() would
	  be better...but FreeBSD doesn't seem to have strtold().  *sigh*

2003-01-29 18:11  castaglia

	* include/version.h:
	  Updating version.h for CVS status.

2003-01-29 17:25  jwm

	* Makefile.in:
	  build deps before we get rid of the Makefiles we need to generate
	  them :-)

2003-01-29 09:27  flyhmstr

	* doc/Configuration.html: ML: updated build of configuration.html

2003-01-29 07:25  castaglia

	* NEWS, include/version.h, contrib/dist/rpm/proftpd.spec:
	  Marking Bug#1911 fixed (I think the fix was committed when I was
	  working on Bug#1931).  Also updating the version and spec files,
	  preparing for rc2 release.

2003-01-28 14:00  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#1939 - RLimitMemory seems broken.

2003-01-25 12:51  castaglia

	* src/dirtree.c:
	  Michael noticed that the parse_config_file() function was failing
	  to close the opened configuration file handle, leaking
	  descriptors.	This started happening in 1.2.8rc1, with the
	  introduction of the FSIO patch.  Fixed.  Good catch, Michael!

2003-01-24 18:38  castaglia

	* NEWS, src/support.c:
	  Bug#1938 - upload to root directory fails.

2003-01-23 22:52  castaglia

	* contrib/mod_radius.c:
	  Fixed misordered parameters to pr_rehash_register_handler() call.

2003-01-23 15:25  castaglia

	* src/modules.c:
	  Actually check for a negative return value from the module
	  initialization callback, if one is provided, and report an error
	  if the initialization failed.  Previously, the code would only
	  check for a -1 return value, and would silently load the module
	  to the internal lists if the returned value was not -1; just as
	  silently would -1 returns be handled.

2003-01-22 21:48  castaglia

	* include/conf.h:
	  Wrapping _GNU_SOURCE definition in an #ifndef.  It's possible
	  that, depending on the CFLAGS options given, some other included
	  file may already define it, in which case the compiler will throw
	  an "already defined" warning.

2003-01-21 22:12  castaglia

	* modules/mod_ls.c:
	  As discovered when looking into Bug#1931, some of the response
	  codes used when handling NLST are not legal viz. RFC959.  This
	  patch changes the 550s to 450s.

2003-01-20 22:46  castaglia

	* src/inet.c:
	  Fixing inet_getname() so that, when doing reverse DNS checks, the
	  two related calls, gethostbyaddr() and gethostbyname(), don't
	  overwrite the same data.  This was happening under Tru64 Unix,
	  and could have happened under Linux.

2003-01-19 18:18  jwm

	* NEWS, modules/mod_auth.c:
	  Bug 1734 - Cygwin - Unable to set uid

2003-01-18 15:28  castaglia

	* Make.rules.in, NEWS, include/conf.h, include/mkhome.h,
	  modules/mod_auth.c, src/mkhome.c:
	  Bug#1241 - Additional functionality: HomedirOnDemand.  Added as
	  CreateHome directive.

2003-01-18 11:29  castaglia

	* configure:
	  Updating configure, again. =P

2003-01-18 11:26  castaglia

	* configure.in:
	  Argh.  John had it right the first time.  My mistake. =P

2003-01-18 11:23  castaglia

	* configure:
	  Updating configure script.

2003-01-18 11:19  castaglia

	* configure.in:
	  Changing check of UnixWare's libgen a little, to add -lgen to
	  LIBS if libgen is present.

2003-01-18 11:09  castaglia

	* config.h.in:
	  Adding HAVE_LIBGEN to config.h, corresponding to added
	  AC_CHECK_LIB(gen) in configure.in.

2003-01-17 22:06  castaglia

	* modules/mod_auth_file.c, src/auth.c:
	  Adding proper UID/GID->name translation to mod_auth_file.c

2003-01-17 18:33  castaglia

	* NEWS, modules/mod_auth_file.c:
	  Bug#1918 - AuthUserFile not works normally.

2003-01-17 16:13  castaglia

	* src/fsio.c:
	  Some of the FSIO routines are manually returning ENOENT, rather
	  than letting errno propagate up properly.

2003-01-17 13:47  castaglia

	* modules/mod_auth_file.c, modules/mod_core.c, src/modules.c:
	  Fixed broken pr_stash_remove_symbol() (AuthOrder still wasn't
	  working quite right).  Removed devel cruft from mod_auth_file,
	  and added some more debugging output to it.

2003-01-17 08:46  castaglia

	* NEWS, contrib/mod_ratio.c, contrib/mod_sql.c, include/dirtree.h,
	  include/modules.h, modules/mod_core.c, src/auth.c, src/main.c,
	  src/modules.c:
	  Bug#1926 - AuthOrder doesn't work.

	  Also did a lot of style cleanup along the way.

2003-01-16 19:41  castaglia

	* NEWS, utils/ftptop.1, utils/ftptop.c:
	  Adding displaying of transfer rates to ftptop.

2003-01-16 00:28  castaglia

	* Make.rules.in:
	  The patch for Bug#1904 added building of utils/misc.o for ftpwho
	  rather than ftptop.  ftptop may need it, but it doesn't link
	  against -lsupp, whereas ftpwho does.

2003-01-15 22:08  castaglia

	* src/regexp.c:
	  Missing Id keyword.

2003-01-15 18:04  castaglia

	* NEWS, contrib/mod_sql_mysql.c, include/support.h,
	  modules/mod_core.c, modules/mod_log.c, src/dirtree.c,
	  src/support.c, utils/misc.c:
	  Bug#1922 - Server allows RNTO an existing file even with
	  AllowOverwrite turned off

	  Some logging bugs in mod_log also corrected.

2003-01-13 21:22  castaglia

	* include/inet.h, src/data.c, src/inet.c, src/main.c:
	  Adding checking for, and logging of, errors when calling
	  setsockopt(2).

2003-01-13 20:43  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#1923 - %N magic cookie reports incorrectly.

2003-01-13 19:31  castaglia

	* NEWS, modules/mod_log.c:
	  Fixing problem with using %f for DELE logging, as mentioned on
	  -user.

2003-01-13 11:22  castaglia

	* NEWS:
	  Forgot to mention tcp{Receive,Send}Window fix in NEWS.

2003-01-13 11:20  castaglia

	* src/data.c:
	  Fixing the timing of setting of socket options.  The
	  tcpReceiveWindow and tcpSendWindow configuration directives were
	  not taking effect properly because setsockopt(2) was being
	  called, for the data connection, _after_ the TCP handshake was
	  done.  As it is during the handshake when such things as window
	  sizes are negotiated, this timing rendered any configuration
	  settings useless.

2003-01-13 10:25  castaglia

	* src/main.c:
	  As John pointed out, it's better to have run-time generated
	  files, much like coredumps, to be under RUN_DIR
	  (/var/run/proftpd), or CORE_DIR (although CORE_DIR is #defined to
	  be RUN_DIR).	So now, the profiling gmon.out and bb.out files
	  will be found there, rather than /tmp.

	  Thanks, John! =)

2003-01-12 21:38  castaglia

	* Make.rules.in, modules/mod_core.c, src/main.c:
	  Added DEVEL_NO_DAEMON define, and changed other DEBUG_* defines
	  to match.  The purpose for these is to be able to build a proftpd
	  daemon that can be profiled.	Now, one can have a configure
	  statement such as:

	    CFLAGS="-DDEVEL_NO_DAEMON -DDEVEL_NO_FORK -g -pg -a" \
	      LIBS="-pg" ./configure ...

	  The resulting daemon will only handle one session.  The bb.out
	  and gmon.out profiling files will be written to /tmp.

2003-01-12 21:17  castaglia

	* configure:
	  Updating configure script.

2003-01-12 20:31  castaglia

	* configure.in:
	  Removing -Wfloat-equal, for now.  This warning flag was
	  introduced with gcc-3.0, and so we'll need to check the gcc
	  version being used (if indeed it is gcc being used) before using
	  this flag.

2003-01-12 20:25  castaglia

	* modules/mod_xfer.c:
	  Floating point numbers are best compared using greater/less than,
	  not equals.  Thanks to Steve Grubb for pointing this out.

2003-01-12 20:21  jwm

	* NEWS:
	  Add -Wundef and -Wfloat-equal to CFLAGS (Suggested by Steve Grubb
	  <linux_4ever@yahoo.com>)

2003-01-12 20:16  jwm

	* configure:
	  update with autoconf 2.57; I'm curious if this changes the LFS
	  problems I'm currently working on

2003-01-12 20:15  castaglia

	* configure.in:
	  Add -Wfloat-equal and -Wundef to the warning flags enabled by
	  using the --enable-devel configure option.

2003-01-12 20:09  jwm

	* configure:
	  update

2003-01-12 17:27  castaglia

	* NEWS, modules/mod_core.c, src/main.c:
	  Bug#1910 - ProFTPD hangs on SIGHUP.

2003-01-10 16:26  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#1919 - <Directory> section already configured for $dir needs
	  clarification.

2003-01-08 20:28  jwm

	* configure:
	  update

2003-01-08 20:27  jwm

	* modules/mod_cap.c:
	  EnableCapabilities -> CapabilitiesSet

2003-01-08 20:25  jwm

	* README.capabilities, configure.in:
	  OS-neutrality

2003-01-08 12:44  castaglia

	* contrib/mod_radius.c:
	  Corrected typo in session accouting variables.  Bumped version
	  number.

2003-01-07 16:12  castaglia

	* NEWS, lib/pr-syslog.c:
	  Bug#1891 - SGI syslog isn't being written to.

2003-01-07 10:45  castaglia

	* contrib/mod_radius.c:
	  Use cmd->arg, rather than cmd->argv[1], from the C_PASS command.

2003-01-07 09:30  castaglia

	* modules/mod_core.c, src/timers.c:
	  Correcting minor bugs.

2003-01-07 09:14  castaglia

	* configure:
	  Updated configure script.

2003-01-07 09:05  castaglia

	* configure.in:
	  Add enable/disable configure option, for excluding mod_cap from
	  Linux builds, for those sites that wish to have minimalist builds
	  (e.g. every automatic inclusion should have an optional switch
	  for disabling that inclusion).

2003-01-05 09:33  jwm

	* NEWS:
	  style nit

2003-01-04 20:00  jwm

	* NEWS, Make.rules.in:
	  Bug 1904 - Tru64 UNIX 4.0D and sstrncpy()

2003-01-04 19:48  jwm

	* modules/glue.sh:
	  style

2003-01-04 19:48  jwm

	* configure:
	  update

2003-01-04 19:47  jwm

	* Make.modules.in, Make.rules.in, Makefile.in, NEWS, configure.in,
	  lib/Makefile.in, modules/Makefile.in, src/Makefile.in,
	  utils/Makefile.in:
	  Bug 1826 - Makefiles are a bit icky. This gives the build system
	  a nice tidying up; I don't seem to have broken anything.

	  The only noticable change is that the dist/distclean/cvsclean
	  targets have been cleaned up:

	  cvsclean: is no more. Use distclean instead.	distclean: return
	  the source tree to its pristine condition (don't touch
	  CVS state directories).  dist: prepare the source tree for
	  distribution. Move the RPM spec file	     into place and blow
	  away any CVS state directories.

2003-01-04 18:26  jwm

	* config.guess, config.sub:
	  part of Bug 1826 - Makefiles are a bit icky: updated
	  config.{guess,sub}

2003-01-04 18:20  jwm

	* Makefile.in:
	  Part of #1826 - ftptop doesn't need to link against $(LIBS)

2003-01-04 18:19  jwm

	* configure:
	  update

2003-01-04 18:18  jwm

	* NEWS:
	  credit for #1893

2003-01-04 18:18  jwm

	* NEWS, configure.in:
	  Bug 1893 - Apple likes to move things

2003-01-04 17:29  jwm

	* modules/mod_auth.c, modules/mod_auth_file.c, modules/mod_core.c,
	  modules/mod_ls.c, modules/mod_site.c, lib/glibc-mkstemp.c,
	  lib/pr-syslog.c, lib/pwgrent.c, lib/strsep.c, lib/vsnprintf.c,
	  utils/ftpcount.c, utils/ftpshut.c, utils/ftptop.c,
	  utils/ftpwho.c, utils/misc.c, utils/scoreboard.c:
	  nuke trailing whitespace

2003-01-02 20:31  jwm

	* NEWS:
	  credit where credit is due

2003-01-02 20:16  jwm

	* src/: Makefile.in, utils.c:
	  utils.c doesn't seem to be needed anymore...

2003-01-02 20:00  jwm

	* NEWS:
	  mod_cap announcement

2003-01-02 19:53  jwm

	* README.capabilities, README.linux-privs,
	  contrib/dist/rpm/proftpd.spec:
	  mod_linuxprivs -> mod_cap

2003-01-02 19:50  jwm

	* README.modules:
	  mod_linuxprivs is now the official module mod_cap

2003-01-02 19:47  jwm

	* contrib/dist/rpm/proftpd.spec:
	  we don't have to explicitly include mod_linuxprivs anymore;
	  mod_cap will be included automatically

2003-01-02 19:44  jwm

	* configure:
	  update

2003-01-02 19:43  jwm

	* config.h.in, configure.in, modules/mod_cap.c:
	  fix the build :-) This now autodetects and cleanly builds mod_cap
	  into proftpd if the host OS (Linux) supports it

2003-01-02 19:09  jwm

	* configure:
	  update

2003-01-02 19:08  jwm

	* config.h.in, configure.in:
	  fixing linux/capability.h detection

2003-01-02 19:03  jwm

	* configure:
	  update

2003-01-02 19:02  jwm

	* modules/mod_cap.c:
	  removing debugging cruft

2003-01-02 19:02  jwm

	* configure.in, modules/mod_cap.c:
	  removing last Linux-specific bits of mod_cap

2003-01-02 18:47  jwm

	* modules/mod_cap.c:
	  getting rid of some linux references

2003-01-02 18:39  jwm

	* configure:
	  update

2003-01-02 18:36  jwm

	* configure.in, contrib/README, modules/mod_cap.c:
	  mod_linuxprivs -> mod_cap

2003-01-02 18:16  jwm

	* README.linux-privs, configure.in, contrib/mod_linuxprivs.c,
	  contrib/mod_linuxprivs.html, lib/libcap/.cvsignore,
	  lib/libcap/Makefile, lib/libcap/_makenames.c,
	  lib/libcap/cap_alloc.c, lib/libcap/cap_extint.c,
	  lib/libcap/cap_file.c, lib/libcap/cap_flag.c,
	  lib/libcap/cap_proc.c, lib/libcap/cap_sys.c,
	  lib/libcap/cap_text.c, lib/libcap/libcap.h,
	  lib/libcap/include/sys/capability.h:
	  Turning mod_linuxprivs into a core module, mod_cap. This is by no
	  means complete.

2003-01-02 13:09  castaglia

	* contrib/mod_sql.c:
	  Added handling of %U to mod_sql, so that it can be used in
	  SQLNamedQuery directives; part of the addition of Bug#1482.

2003-01-02 10:53  jwm

	* doc/license.txt:
	  update copyright year

2003-01-02 10:27  castaglia

	* configure:
	  Updated configure script.

2003-01-02 10:25  castaglia

	* config.h.in, configure.in, contrib/mod_linuxprivs.c,
	  contrib/mod_radius.c, contrib/mod_rewrite.c, contrib/mod_sql.c,
	  contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c,
	  contrib/mod_tls.c, include/data.h, include/ident.h,
	  include/pool.h, include/proftpd.h, include/response.h,
	  include/support.h, modules/mod_auth.c, modules/mod_auth_pam.c,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_xfer.c, src/bindings.c, src/data.c, src/ident.c,
	  src/inet.c, src/main.c, src/netio.c, src/pool.c, src/regexp.c,
	  src/response.c, src/scoreboard.c, src/support.c, src/timers.c,
	  src/utils.c:
	  More namespace/API changes, for consistency:

	    data_*() -> pr_data_*()
	    register_rehash() ->  pr_rehash_register_handler()
	    add_exit_handler() -> pr_exit_register_handler()
	    (un)block_alarms() -> pr_alarms_(un)block()
	    (un)block_signals() -> pr_signals_(un)block()
	    pr_handle_signals() -> pr_signals_handle()

	  The distinction for which I am striving is to have all the
	  functions that module developers should use to be prefixed with
	  pr_; public functions may be available without a pr_ prefix, but
	  such functions will be intended for use by the core code only.

	  Also, more in the RFC2228 support department:

	    session_t has a new field, rfc2228_mech.  This is to be filled
	  in by
	    the RFC2228 module that handles an AUTH command, so that other
	    RFC2228 modules, should they be higher in the module load
	  order, know
	    not to process RFC2228 commands meant for the handling module.

	    The response formatting callback function now takes an
	  additional
	    parameter, a pool pointer, as the first argument.  The pool
	  that will
	    be passed to that function will be the same pool used by the
	  other
	    response functions.

2003-01-02 09:28  castaglia

	* configure.in, contrib/ftpasswd, contrib/mod_radius.c,
	  contrib/mod_readme.c, contrib/mod_rewrite.c, contrib/mod_tls.c,
	  contrib/mod_wrap.c, doc/mod_sample.c, include/bindings.h,
	  include/conf.h, include/data.h, include/default_paths.h,
	  include/dirtree.h, include/feat.h, include/fsio.h, include/ftp.h,
	  include/ident.h, include/inet.h, include/libsupp.h,
	  include/log.h, include/modules.h, include/netio.h,
	  include/options.h, include/pool.h, include/pr-syslog.h,
	  include/privs.h, include/proftpd.h, include/regexp.h,
	  include/response.h, include/scoreboard.h, include/sets.h,
	  include/support.h, include/timers.h, modules/mod_auth.c,
	  modules/mod_auth_file.c, modules/mod_auth_unix.c,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_site.c, modules/mod_xfer.c, src/auth.c,
	  src/bindings.c, src/data.c, src/dirtree.c, src/feat.c,
	  src/fsio.c, src/ident.c, src/inet.c, src/log.c, src/main.c,
	  src/modules.c, src/netio.c, src/pool.c, src/proftpd.8,
	  src/regexp.c, src/response.c, src/scoreboard.c, src/sets.c,
	  src/support.c, src/timers.c, src/utils.c, src/xferlog.5,
	  utils/ftpcount.1, utils/ftpcount.c, utils/ftpshut.c,
	  utils/ftptop.c, utils/ftpwho.1, utils/ftpwho.c, utils/misc.c,
	  utils/scoreboard.c, utils/utils.h:
	  Updating the copyright notice in the file headers for the new
	  year.

2003-01-02 08:31  castaglia

	* Makefile.in, utils/ftptop.1:
	  Adding man page for ftptop.

2003-01-01 16:37  jwm

	* contrib/mod_linuxprivs.c:
	  the docs say to use the full capability name: CAP_CHOWN

2002-12-31 17:24  castaglia

	* NEWS, contrib/mod_sql.c, contrib/mod_sql.h,
	  contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c:
	  Bug#1671 - new directive SQLLogFile.

2002-12-31 16:35  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#1272 - Requested Addition: DenyFilter by User or DenyFilter
	  by Directory.

2002-12-31 14:35  castaglia

	* utils/ftptop.c:
	  Actually calculate and display the TIME value (duration of
	  session, in seconds).

2002-12-31 13:18  castaglia

	* src/main.c:
	  Make sure that the configuration file specified using the -c
	  command-line option is an absolute path.  Bug noted by Michael
	  Renner.

2002-12-31 12:05  castaglia

	* NEWS, src/fsio.c:
	  Bug#1894 - Double chdir into self-referencing symlink fails with
	  "No such file or directory".

2002-12-31 12:00  castaglia

	* include/scoreboard.h, modules/mod_auth.c, src/scoreboard.c,
	  utils/ftptop.c, utils/ftpwho.c, utils/utils.h:
	  Portion of changes requested in Bug#1794.

2002-12-30 16:37  castaglia

	* modules/mod_auth.c:
	  Yet another missing word ("the").

2002-12-30 16:35  castaglia

	* modules/mod_auth.c:
	  Missing "of" in message string (noted by Michael).

2002-12-28 12:52  castaglia

	* contrib/mod_linuxprivs.html:
	  Forgot to add documentation for the mod_linuxprivs directives
	  before releasing 1.2.8rc1.  With this file, the
	  README.linux-privs doc can probably be retired.

2002-12-28 12:51  castaglia

	* include/version.h:
	  Updating version for CVS.

2002-12-28 10:23  castaglia

	* ChangeLog, NEWS, contrib/dist/rpm/proftpd.spec,
	  include/version.h:
	  Preparing for 1.2.8rc1 release.

2002-12-27 09:23  castaglia

	* configure:
	  Updating configure script.

2002-12-27 09:21  castaglia

	* NEWS, configure.in:
	  Bug#1906 - Add description strings to AC_DEFINE

2002-12-27 08:27  jwm

	* NEWS:
	  style, date formatting

2002-12-27 08:21  jwm

	* src/: auth.c, data.c, dirtree.c, inet.c, log.c, main.c,
	  modules.c, pool.c, support.c, timers.c:
	  style

2002-12-27 08:13  jwm

	* NEWS:
	  whitespace cleanup

2002-12-27 08:12  jwm

	* configure:
	  update

2002-12-27 08:08  jwm

	* NEWS, configure.in:
	  Bug 1863 - Unable to build under UnixWare 7

2002-12-27 08:04  jwm

	* Makefile.in, NEWS:
	  Bug 1903 - ftpwho depends on snprintf but doesn't link in
	  lib/libsupp.a

2002-12-27 07:47  jwm

	* NEWS, src/timers.c, utils/ftptop.c:
	  Bug 1905 - AIX needs "config.h" included before *anything* else.

2002-12-26 18:36  castaglia

	* src/main.c:
	  Removing the internal_abort() code, which was only enabled by
	  using the --enable-devel switch.  It's more useful to use gdb in
	  this case.

2002-12-26 17:25  jwm

	* contrib/README:
	  cruft removal, cleanup, style, grammar

2002-12-26 17:05  castaglia

	* NEWS, contrib/mod_linuxprivs.c:
	  Bug#1888: Increase mod_linuxprivs configurability.

2002-12-26 16:52  castaglia

	* src/main.c:
	  Change the reporting of "Invalid argument" when deleting a
	  scoreboard slot to be DEBUG1.  This message can appear for
	  reasons other than scoreboard issues (e.g. a module bars a client
	  from completely connecting, misconfigurations, etc).

2002-12-26 14:26  jwm

	* modules/mod_auth_file.c:
	  silence compiler warning about crypt()

2002-12-26 12:18  castaglia

	* NEWS, utils/ftpwho.c:
	  Bug#1900 - ftpwho's output on uploads.

2002-12-26 11:45  castaglia

	* modules/mod_xfer.c:
	  Add debug call when failing to open a file for writing/uploading.
	  This should help pinpoint upload failures.

2002-12-20 12:20  castaglia

	* modules/: mod_auth_file.c, mod_core.c, mod_xfer.c:
	  Style cleanups.

2002-12-19 13:53  castaglia

	* configure:
	  Updating configure script.

2002-12-19 13:52  castaglia

	* modules/mod_auth_file.c:
	  Putting the copyright in the project's name.

2002-12-19 13:47  castaglia

	* NEWS:
	  Forgot to update NEWS with description of Bug#1837/mod_auth_file
	  addition.

2002-12-19 13:45  castaglia

	* config.h.in, configure.in, modules/mod_auth_file.c,
	  modules/mod_auth_pam.c, modules/mod_auth_unix.c,
	  modules/mod_core.c, modules/mod_pam.c, modules/mod_unixpw.c,
	  src/main.c:
	  Bug#1837 - Add module specifically for handling Auth*Files,
	  providing finer-grained control.  This patch also renames
	  mod_unixpw.c to mod_auth_unix.c, and mod_pam.c to mod_auth_pam.c.
	  Configure options have --disable-auth-file, --disable-auth-unix,
	  --enable-auth-pam, as appropriate.

2002-12-19 13:20  castaglia

	* contrib/: mod_sql.c, mod_sql_mysql.c, mod_sql_postgres.c,
	  mod_tls.c:
	  Cleaning up some warnings, seen under --enable-devel, in some
	  contrib modules.  Pointed out by Michael.

	  Just to note: a lot of the warnings generated by mod_tls
	  (specifically, by the OpenSSL files #include'd by mod_tls) cannot
	  be fixed by us.  Quite a few of the warnings are about function
	  prototypes; the OpenSSL developers don't have complete prototype
	  declarations for a lot of the function pointer callback struct
	  slots.  Oh well.

2002-12-19 13:02  castaglia

	* src/dirtree.c:
	  In tracking down an unrelated bug last night, I discovered that,
	  at present, proftpd's parser will gladly handle empty contexts,
	  such as when:

	    <Directory blah>
	    </Directory>

	  or

	    <Global>
	    </Global>

	  appear in the configuration file.  These empty sets are useless,
	  and serve only to use up memory unnecessarily; that memory usage
	  is compounded when directives are merged down into these sets.

	  This patch checks for such empty contexts (in end_sub_config()),
	  and removes them from the configuration tree.

2002-12-19 10:32  castaglia

	* contrib/mod_tls.c:
	  Forgot a parameter to tls_log().

2002-12-19 10:26  castaglia

	* contrib/mod_tls.c:
	  Change handling of PROT in tls_prot() slightly.

2002-12-19 09:51  castaglia

	* contrib/mod_tls.c:
	  More instances where mod_tls was being impolite, and returning
	  ERROR where it should be returning DECLINED, in order to allow
	  other modules a chance at handling some of the RFC2228 commands.

2002-12-19 09:45  castaglia

	* contrib/mod_tls.c:
	  Changed mod_tls' handling of AUTH command to allow other RFC2228
	  modules a change at processing that command.

2002-12-19 09:28  castaglia

	* modules/mod_ls.c, src/dirtree.c, src/main.c:
	  Minor style/formatting changes.

2002-12-18 12:12  castaglia

	* configure:
	  Updating configure script.

2002-12-18 12:09  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_unixpw.c:
	  Bug#1667 - Integrate ProFTPD with C2/SIA on Tru64 Unix.

2002-12-18 10:27  castaglia

	* contrib/: mod_radius.c, mod_radius.html:
	  Fixing several bugs in mod_radius' accounting code.

2002-12-17 19:03  jwm

	* src/proftpd.8: forgot to update the man page for Bug 1885

2002-12-17 18:59  jwm

	* NEWS, src/main.c: Bug 1885 - -q/--quiet option for use with the
	  -n/--nodaemon flag. Useful for running proftpd from inittab or
	  with daemontools.

2002-12-17 15:11  castaglia

	* modules/mod_auth.c:
	  The cleanup of variable names done by the adding of the
	  --enable-devel option caused a problem here, where a variable "c"
	  was used a little too often, causing MaxClients/MaxHosts* lookups
	  to fail.  Thanks to Michael Renner for the help in tracking this
	  one down.

2002-12-17 08:06  castaglia

	* include/modules.h, include/privs.h, src/main.c, src/modules.c:
	  The module init dispatch functions aren't public, and hence do
	  not need the pr_ prefix.

	  Change the debug level for privs changes to 9 (was 8).

2002-12-17 07:18  jwm

	* include/: conf.h, data.h, default_paths.h, dirtree.h, ftp.h,
	  ident.h, inet.h, libsupp.h, modules.h, netio.h, options.h,
	  privs.h, proftpd.h, sets.h: nuke trailing whitespace

2002-12-16 17:52  castaglia

	* modules/mod_core.c:
	  Add the RFC2228 commands to the HELP output, but listed as "not
	  supported".  A means for RFC2228 modules (e.g. mod_tls, mod_gss)
	  to change the supported flag from FALSE to TRUE for these
	  commands is needed.

2002-12-16 17:12  castaglia

	* modules/mod_core.c:
	  Oops.  Not quite ready to commit these changes yet.

2002-12-16 17:06  castaglia

	* contrib/mod_rewrite.c, modules/mod_core.c, modules/mod_ls.c,
	  src/dirtree.c, src/support.c, utils/ftpcount.c, utils/ftptop.c,
	  utils/ftpwho.c:
	  Changed some buffers to use PR_TUNABLE_BUFFER_SIZE (and not to
	  use hardcoded numbers).

2002-12-16 11:07  castaglia

	* include/modules.h:
	  Returning ERROR from an auth handler (specifically, in an "auth"
	  or a "check" auth handler) will not produce the desired result;
	  the ERROR macro sets a value of 1, and the switch() case in
	  mod_auth looks for negative values.  So, to handle this case,
	  I've added PR_AUTH_ERROR return value (-1) for auth handlers that
	  encounter errors, and adjusted the other PR_AUTH_* values
	  accordingly.

2002-12-16 10:45  castaglia

	* include/modules.h, src/main.c:
	  Make the function for dispatching commands a public function:
	  pr_cmd_dispatch().  Some RFC2228 modules may need to "unwrap"
	  encrypted commands and then dispatch the unwrapped commands
	  themselves.  (This also allows for greater games to be played by
	  third-party modules...muahahaha...) *grin*

2002-12-16 10:38  castaglia

	* src/main.c:
	  Changing buffer used for storing commands read in from client to
	  be of PR_TUNABLE_BUFFER_SIZE, rather than hardcoded to 1024.

2002-12-16 07:15  jwm

	* src/main.c: er, yeah. pointer and all that.

2002-12-16 07:12  jwm

	* src/main.c: cleanup

2002-12-15 10:08  jwm

	* configure: updated configure

2002-12-15 10:05  jwm

	* NEWS, acconfig.h, config.h.in, configure.in, src/inet.c: Bug 1883
	  - socklen_t patch. Thanks to Andy Igoshin <ai@vsu.ru> for the
	  patch.

2002-12-13 11:33  castaglia

	* src/: dirtree.c, fsio.c, inet.c, modules.c:
	  Being pedantic, and making sure that pcalloc() is used, to make
	  sure that memory is zeroed before use (helps to cut down on heap
	  bugs).

2002-12-13 11:13  castaglia

	* utils/ftpwho.c:
	  Correcting placement of newline (from Bug#1886).

2002-12-13 09:25  castaglia

	* Make.rules.in, contrib/mod_ratio.c, contrib/mod_readme.c,
	  contrib/mod_sql.c, contrib/mod_tls.c, doc/mod_sample.c,
	  include/conf.h, include/dirtree.h, include/proftpd.h,
	  include/response.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_log.c, modules/mod_ls.c, modules/mod_site.c,
	  modules/mod_xfer.c, src/data.c, src/main.c, src/response.c:
	  Reworking of response functions.

2002-12-12 11:57  castaglia

	* NEWS, contrib/mod_radius.c:
	  Bug#1875 - same radius packet id for start- and stop-accounting
	  record.

2002-12-12 11:56  jwm

	* utils/ftptop.c: make the display a bit prettier and make the best
	  use of an 80-column screen

2002-12-12 10:17  castaglia

	* NEWS, utils/ftpwho.c:
	  Bug#1886 - Ftpwho uses too many lines when authenticating.

2002-12-12 10:01  castaglia

	* include/options.h, lib/glibc-glob.c:
	  These changes make it possible to tune the maximum number of
	  recursion levels supported when globbing.  A better way of
	  dealing with possible DoS attacks via globbing is via the RLimit*
	  directives, or to disable globbing support altogether by using
	  the UseGlobbing directive.  However, in some cases it may be
	  necessary to support globbing, but to do so in as restrictive a
	  manner as possible.

	  The default maximum number of levels supported by GNU's globbing
	  is 8.  This patch keeps that default, but allows the
	  administrator, if need be, to tune that level lower by means of
	  the PR_TUNABLE_GLOBBING_MAX macro, defined in include/options.h.
	  When compiling proftpd, it can be defined to some lower value,
	  e.g.:

	    CFLAGS="-DPR_TUNABLE_GLOBBING_MAX=2" ./configure ...

2002-12-12 09:05  castaglia

	* include/modules.h:
	  Set PR_AUTH_RFC2228_OK to be 2, to avoid the value 1 (that is
	  used by the ERROR macro).

2002-12-12 08:24  castaglia

	* contrib/mod_tls.c, include/netio.h, src/netio.c:
	  Added a shutdown callback to the NetIO API, allowed netio modules
	  (e.g.  mod_gss) to perform a shutdown as they needed, rather than
	  simply calling shutdown(2).

2002-12-12 07:41  jwm

	* modules/mod_auth.c: typo Noticed by: Mihai RUSU <dizzy@roedu.net>

2002-12-11 15:35  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#1881 - Bug in Function MaxClients.

2002-12-11 15:33  castaglia

	* modules/mod_auth.c, modules/mod_core.c, src/support.c:
	  Some of these files' handling of configuration parameters was not
	  thorough with respect to get_param_int() to get_param_ptr()
	  changes (shame on me), and it was causing a segfault when
	  handling some Display* files.

2002-12-11 15:28  castaglia

	* contrib/mod_wrap.c, include/dirtree.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_xfer.c, src/dirtree.c:
	  Forgot to prefix the expression functions with pr_.

2002-12-11 15:17  castaglia

	* NEWS, modules/mod_site.c:
	  Bug#1882 - SITE chmod 777 file<space>name.

2002-12-11 08:49  castaglia

	* NEWS, contrib/mod_wrap.c, include/dirtree.h, include/modules.h,
	  modules/mod_auth.c, modules/mod_core.c, modules/mod_site.c,
	  modules/mod_xfer.c, src/dirtree.c:
	  Bug#1507 - regex pattern matching in [Allow/Deny][User/Group].
	  This patch also adjusts the handling of user- and
	  class-expressions, so that they are evaluated as OR expression,
	  rather than as AND expression (AND evaluation for users and
	  classes do not make sense).

2002-12-10 17:09  jwm

	* doc/: Configuration.html, Configuration.sgml: updated docs

2002-12-10 13:15  castaglia

	* configure:
	  Updating configure script.

2002-12-10 13:12  castaglia

	* configure.in:
	  Forgot a comma.

2002-12-10 13:05  castaglia

	* configure:
	  Updating configure script.

2002-12-10 13:01  castaglia

	* Makefile.in, NEWS, config.h.in, configure.in, include/dirtree.h,
	  include/fsio.h, include/libsupp.h, include/log.h,
	  include/modules.h, include/netio.h, include/pool.h,
	  include/support.h, include/timers.h, lib/glibc-glob.c,
	  lib/glibc-mkstemp.c, lib/pr_fnmatch.c, lib/vsnprintf.c,
	  modules/mod_auth.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_site.c, modules/mod_unixpw.c, modules/mod_xfer.c,
	  src/bindings.c, src/dirtree.c, src/fsio.c, src/inet.c, src/log.c,
	  src/main.c, src/modules.c, src/netio.c, src/regexp.c,
	  src/scoreboard.c, src/sets.c, src/support.c, utils/ftpwho.c,
	  utils/utils.h:
	  This patch adds an --enable-devel configure option, which does
	  the following:

	    install won't use -s, so that object files aren't stripped
	    core dumps should be allowed (although I'm having trouble
	  producing
	      them...I'm sure I'm missing something obvious)
	    CFLAGS is changed to use quite a few of the -W options

	  The rest of the patch is code cleanup, fixing things brought to
	  light by the -W options.  The one remaining warning is about the
	  K&R style pam function in mod_pam.c -- I think that may be
	  required.

2002-12-10 10:14  castaglia

	* configure:
	  Updating configure script.

2002-12-10 07:16  castaglia

	* NEWS, modules/mod_core.c, src/main.c:
	  Bug#1858 - move "session closed" logging from graceful quit to
	  child exit sequence.

2002-12-09 06:39  jwm

	* lib/vsnprintf.c: silence compiler warning

2002-12-09 06:38  jwm

	* lib/vsnprintf.c: style

2002-12-09 06:37  jwm

	* lib/vsnprintf.c: need ctype.h for is*()

2002-12-09 06:36  jwm

	* lib/pr_fnmatch_loop.c: need to include ctype.h for is*()

2002-12-08 08:57  jwm

	* modules/mod_unixpw.c: style

2002-12-07 14:09  jwm

	* NEWS: credit where credit is due

2002-12-07 14:02  jwm

	* src/dirtree.c, src/main.c, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_pam.c, modules/mod_site.c, modules/mod_unixpw.c,
	  src/auth.c, src/inet.c, src/modules.c, src/pool.c, src/sets.c,
	  src/support.c, src/utils.c: style

2002-12-07 13:57  jwm

	* NEWS, acconfig.h, config.h.in, configure.in, include/data.h,
	  src/data.c: AIX sendfile support

2002-12-07 13:50  jwm

	* contrib/dist/rpm/proftpd.init.d: * add /usr/local/sbin/ to $PATH
	  * don't assume ftpshut is in /usr/sbin/, let the shell's PATH
	  figure it out * style

2002-12-07 13:45  jwm

	* src/: auth.c, bindings.c, data.c, dirtree.c, feat.c, fsio.c,
	  ident.c, inet.c, log.c, main.c, modules.c, netio.c, pool.c,
	  regexp.c, scoreboard.c, sets.c, support.c, timers.c, utils.c:
	  style

2002-12-07 13:43  jwm

	* modules/: mod_auth.c, mod_core.c, mod_log.c, mod_ls.c, mod_pam.c,
	  mod_site.c, mod_unixpw.c, mod_xfer.c: nuke trailing whitespace,
	  style

2002-12-07 13:25  jwm

	* src/bindings.c: trailing whitespace

2002-12-07 13:21  castaglia

	* modules/mod_xfer.c:
	  Inadvertently changed the default handling of
	  AllowRetrieveRestart in the get_param_int() -> get_param_ptr()
	  changes.

2002-12-07 13:12  castaglia

	* NEWS, contrib/mod_tls.c, include/log.h, modules/mod_core.c,
	  modules/mod_log.c, src/log.c, src/main.c:
	  Bug#1515 - Enable mod_log to log into default log / syslog.

2002-12-07 08:29  jwm

	* src/bindings.c: Fix bidings for DefaultServer-affected and
	  localhost connections.

	  pr_ipbind_get_server() would never find the default server
	  because it was hashing an address (say, 127.0.0.1) different from
	  the address used by the main server (0.0.0.0). Instead, store a
	  pointer to the default and localhost bindings and fall back to
	  them if the explicit lookup fails.

2002-12-06 18:38  castaglia

	* src/dirtree.c:
	  Removing a get_param_int() that crept back in (probably from the
	  Bindings patch).

2002-12-06 16:48  castaglia

	* Make.rules.in, NEWS, include/bindings.h, include/conf.h,
	  include/dirtree.h, include/inet.h, modules/mod_core.c,
	  src/bindings.c, src/dirtree.c, src/main.c:
	  Committing the Bindings API.

2002-12-06 15:45  castaglia

	* include/ftp.h, include/proftpd.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_ls.c, modules/mod_xfer.c,
	  src/data.c, src/main.c:
	  More RFC2228 support.

2002-12-06 15:13  castaglia

	* modules/: mod_core.c, mod_xfer.c:
	  Provide configuration handlers that remark on deprecated
	  directives, rather than simply having those directives removed
	  (for now).

2002-12-06 15:08  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#1789 - Add ability to block recursive directory listings.

2002-12-06 13:43  jwm

	* include/proftpd.h:
	  tabs -> spaces

2002-12-06 13:37  castaglia

	* src/fsio.c:
	  *sigh* One of these days I'll get this correct. =P

2002-12-06 13:32  castaglia

	* src/fsio.c:
	  The FS API patch had some of the older, broken code w.r.t BSD and
	  statfs().

2002-12-06 13:25  castaglia

	* NEWS, include/scoreboard.h, modules/mod_xfer.c, src/scoreboard.c,
	  utils/ftpwho.c, utils/utils.h:
	  Committing TransferRate patch to CVS.

2002-12-06 13:04  castaglia

	* contrib/mod_radius.c, contrib/mod_sql.c, include/proftpd.h,
	  modules/mod_auth.c, modules/mod_core.c, modules/mod_log.c,
	  modules/mod_ls.c, modules/mod_site.c, modules/mod_xfer.c,
	  src/data.c, src/dirtree.c, src/inet.c, src/log.c, src/main.c:
	  A stack of changes, related to removing get_param_int() from the
	  core code, in favor of get_param_ptr().  I tried to test each
	  affected directive as I went, but, of course, there may be bugs
	  still lingering...

2002-12-06 07:49  castaglia

	* contrib/mod_sql.c:
	  Removed erroneous/extraneous #include "fs.h"

2002-12-05 18:41  jwm

	* lib/pwgrent.c:
	  fix the build (PR_LOG_ERR isn't defined here because this is in
	  libsupp)

2002-12-05 17:03  castaglia

	* modules/mod_log.c:
	  Use C_* command macros.

2002-12-05 16:50  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#1605 - MKD and RMD do not log filepaths with %f or %F option
	  in ExtendedLog.

2002-12-05 15:38  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#1403 - per-server system logs via ServerLog directive.

2002-12-05 15:16  castaglia

	* NEWS, contrib/mod_rewrite.c, contrib/mod_rewrite.html:
	  Adding mod_rewrite to the mix.

2002-12-05 14:53  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#1205 - Add debug option to SystemLog.

2002-12-05 14:47  castaglia

	* NEWS, include/modules.h, include/options.h, modules/mod_core.c,
	  src/main.c, src/modules.c:
	  Bug#1788 - Add ability to configure auth module checking order.

2002-12-05 14:16  castaglia

	* configure:
	  Updated configure script.

2002-12-05 14:13  castaglia

	* configure.in:
	  Update configure.in to use AC_HELP_STRING macro for
	  pretty-printing of --enable and --with options.

2002-12-05 13:57  castaglia

	* NEWS:
	  Adding thanks (well deserved!) to Peter Runestig for his work on
	  mod_tls.

2002-12-05 13:46  castaglia

	* NEWS, contrib/mod_tls.c, contrib/mod_tls.html,
	  doc/rfc/draft-murray-auth-ftp-ssl-10.txt:
	  Bug#1712 - TLS support.

2002-12-05 13:16  castaglia

	* Make.rules.in, NEWS, contrib/mod_ldap.c, contrib/mod_ratio.c,
	  contrib/mod_readme.c, contrib/mod_sql.c, contrib/mod_wrap.c,
	  include/conf.h, include/dirtree.h, include/fs.h, include/fsio.h,
	  include/netio.h, include/proftpd.h, include/support.h,
	  lib/Makefile.in, modules/Makefile.in, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_ls.c, modules/mod_site.c,
	  modules/mod_xfer.c, src/Makefile.in, src/dirtree.c, src/fs.c,
	  src/fsio.c, src/main.c, src/netio.c, src/support.c,
	  utils/Makefile.in:
	  Bug#1653 - Complete the FS API abstraction implementation.

2002-12-05 12:53  castaglia

	* NEWS, include/proftpd.h, modules/mod_core.c, modules/mod_xfer.c:
	  Bug#1743 - No magic cookie for number of files transfered.

2002-12-05 12:37  castaglia

	* NEWS, include/modules.h, include/version.h, src/main.c,
	  src/modules.c, src/support.c:
	  Bug#1833 - Add ability to have add'l module initialization
	  callback.

2002-12-05 12:30  castaglia

	* Make.rules.in, NEWS, doc/rfc/rfc2389.txt, include/conf.h,
	  include/dirtree.h, include/feat.h, include/ftp.h,
	  include/modules.h, include/regexp.h, lib/Makefile.in,
	  modules/Makefile.in, modules/mod_core.c, src/Makefile.in,
	  src/dirtree.c, src/feat.c, src/main.c, src/modules.c:
	  Bug#1806 - Add RFC2389 support.

2002-12-05 12:18  castaglia

	* NEWS, contrib/mod_ldap.c, contrib/mod_radius.c,
	  contrib/mod_sql.c, contrib/mod_sql_mysql.c,
	  contrib/mod_sql_postgres.c, include/modules.h,
	  modules/mod_auth.c, modules/mod_pam.c, modules/mod_unixpw.c,
	  src/auth.c:
	  Bug#1825 - AUTH macro namespace cleanup.

2002-12-05 12:08  castaglia

	* contrib/mod_linuxprivs.c, contrib/mod_radius.c,
	  contrib/mod_sql.c, contrib/mod_wrap.c, include/privs.h,
	  lib/pwgrent.c, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_log.c, modules/mod_pam.c, modules/mod_unixpw.c,
	  modules/mod_xfer.c, src/main.c:
	  Making sure that all LOG_* macros have PR_ prefix, for
	  consistency.

2002-12-05 11:48  castaglia

	* NEWS, src/dirtree.c:
	  Bug#1683 - Handling of VirtualHosts on startup.

2002-12-05 11:20  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#1482 - Add new %U meta to LogFormat, for logging original
	  username.

2002-12-05 11:15  castaglia

	* configure:
	  Updated configure script.

2002-12-05 11:11  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_pam.c,
	  modules/mod_unixpw.c:
	  Bug#1597 - Problems with HP-UX 10/11 trusted systems, mod_pam,
	  and mod_unixpw.

2002-12-05 11:03  castaglia

	* include/version.h:
	  Now that 1.2.7 has been released, update the version info in CVS.

2002-12-05 10:47  castaglia

	* doc/mod_sample.c:
	  Correcting typos.

2002-12-05 08:08  castaglia

	* contrib/dist/rpm/proftpd.spec:
	  Updating version for 1.2.7 release.

2002-12-05 07:30  castaglia

	* ChangeLog, NEWS, include/version.h:
	  Preparing for release of 1.2.7.

2002-12-04 11:14  castaglia

	* modules/mod_auth.c:
	  Patching to fix off-by-one bug in MaxHostsPerUser directive
	  handling.

2002-12-04 07:26  castaglia

	* NEWS, include/support.h, modules/mod_auth.c, src/support.c:
	  Adding memory scrubber for memset() issue mentioned here:

	    http://online.securityfocus.com/archive/1/298598

2002-12-03 07:57  castaglia

	* NEWS, utils/ftpcount.c:
	  Bug#1868 - Wrong cmdopts in ftpcount.c

2002-12-02 13:57  jwm

	* contrib/dist/rpm/.cvsignore: this shouldn't be ignoring
	  proftpd.spec anymore

2002-12-02 10:29  castaglia

	* NEWS, utils/ftpwho.c:
	  Bug#1861 - 'ftpwho -v -o oneline' print all connections in one
	  line.

2002-12-02 10:18  castaglia

	* src/dirtree.c:
	  Minor preprocessor changes.

2002-12-02 10:16  castaglia

	* src/dirtree.c:
	  Removed unused variable.

2002-12-02 09:04  castaglia

	* NEWS, modules/mod_xfer.c, src/pool.c:
	  Bug#1846 - File overwrites fail.  Thanks to Sergei Rozinov for
	  tracking down this bug.

2002-11-26 10:54  castaglia

	* src/support.c:
	  Minor style change: use macros for FTP commands.

2002-11-26 09:28  castaglia

	* NEWS, lib/pr-syslog.c:
	  Bug#1853 - SyslogFacility: unable to open syslog.

2002-11-25 13:28  castaglia

	* modules/mod_auth.c:
	  Moving hcur increment to a more appropriate location.  There
	  still seems to be lingering issues with these limits, though.
	  Yay.

2002-11-25 13:12  castaglia

	* modules/mod_core.c:
	  Oops.  A little too zealous on the previous change -- mg_size
	  should always be filled, even if get_fs_size() is not supported
	  on the host.

2002-11-25 13:02  castaglia

	* modules/mod_core.c:
	  Adjust core_display_file() to use get_param_ptr() when looking up
	  a MaxClients setting to display.  The MaxClients configuration
	  handler had been changed to storing a pointer, but this function
	  hadn't been updated to reflect that configuration handler change.

2002-11-25 10:28  castaglia

	* include/dirtree.h:
	  Removing unused struct members.

2002-11-25 09:33  castaglia

	* contrib/mod_radius.c, modules/mod_auth.c, modules/mod_ls.c,
	  src/dirtree.c, src/ident.c, src/support.c, utils/ftpshut.c:
	  Removed use of UCHAR cast from core code.  It is meant
	  specifically for the fnmatch code, and is a #define to an
	  unsigned char -- but the ANSI C standards define the parameter to
	  many of the is*() functions to be an int, and the UCHAR cast was
	  being used with those is*() functions.  Instead, those UCHAR
	  casts have been replaced with int casts.

2002-11-25 09:22  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#1856 - TimesGMT acts like default is 'off'.

2002-11-25 09:08  castaglia

	* modules/mod_xfer.c:
	  %lu crept back in when PR_LU is needed...

2002-11-25 08:18  castaglia

	* NEWS, modules/mod_site.c:
	  Bug#1852 - Proftpd gets signal 11 on "quote site".

2002-11-25 08:04  castaglia

	* doc/mod_sample.c, include/fs.h, include/netio.h, src/ident.c,
	  src/netio.c:
	  Updating my documentation this weekend,  and came across some
	  minor inconsistencies...

2002-11-25 07:52  castaglia

	* modules/mod_xfer.c:
	  Datatype overflow.

2002-11-23 10:39  jwm

	* modules/mod_ls.c, utils/ftpshut.c, utils/ftptop.c:
	  Silence remaining compiler warnings under Solaris 8 (save for the
	  utmp code, bug Bug 1824 will address that).

	  The nlink_t/pid_t casts will be unnecessary once the Solaris
	  _LP64 ABI is the default (see sys/isa_defs.h for more info on the
	  Solaris ABIs). I didn't want to move from _ILP32 (the historical
	  default) to _LP64 because I wasn't sure of the ramifications. We
	  don't have any DSOs to worry about, but I'm not sure what else
	  would change/break.

2002-11-22 21:20  jwm

	* NEWS, contrib/dist/rpm/proftpd.init.d: Bug 1680 - Error in
	  startup script

2002-11-22 11:21  jwm

	* configure: updated configure

2002-11-22 11:19  jwm

	* config.h.in, configure.in, NEWS, src/support.c: Bug 1839 -
	  undefined reference to `get_fs_size'

2002-11-21 16:19  castaglia

	* NEWS, utils/ftptop.c:
	  Bug#1848 - undefined reference to `halfdelay'.

2002-11-21 08:20  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#1812 - Double logging lines for ExtendedLog.

2002-11-19 09:57  castaglia

	* NEWS, include/dirtree.h, modules/mod_auth.c, modules/mod_core.c,
	  src/dirtree.c:
	  Bug#1838 - Since 1.2.6: in add_useralias() setting flag
	  CF_MERGEDOWN breaks aliased anonymous functionality.

2002-11-18 12:03  castaglia

	* modules/mod_xfer.c:
	  Minor problem with HiddenStores (related to the making of
	  HiddenStores a synonym for HiddenStor, with the eventual goal of
	  deprecating HiddenStor in favor of HiddenStores).

2002-11-18 09:15  castaglia

	* modules/mod_auth.c:
	  Handling of ShowSymlinks in this module still used
	  get_param_int() rather than get_param_ptr().

2002-11-18 08:15  castaglia

	* NEWS, modules/mod_core.c:
	  Bug#1844 - DisplayLogin %y macro is off by 1.

2002-11-18 08:02  castaglia

	* NEWS, include/pr-syslog.h:
	  Bug#1840 - Problem with syslog default destination on HP-UX.

2002-11-16 17:15  jwm

	* utils/.cvsignore:
	  ignore ftptop

2002-11-16 17:14  jwm

	* lib/pr-syslog.c:
	  cast the return value from getpid() to silence a compiler warning
	  under solaris

2002-11-15 09:09  jwm

	* contrib/dist/rpm/proftpd.spec: d'oh - /etc/logrotate.d/ should
	  exist in $RPM_BUILD_ROOT before I try to put stuff in it...

2002-11-15 08:45  castaglia

	* ChangeLog, NEWS, include/version.h:
	  Ramping up for 1.2.7rc3 release.

2002-11-15 08:37  castaglia

	* modules/mod_pam.c:
	  More timing/pam_end() fixes specific to the Solaris flavor of
	  PAM.

2002-11-15 08:11  castaglia

	* utils/ftptop.c:
	  Portability/compiler warning hack.  *sigh*

2002-11-15 08:03  castaglia

	* modules/mod_xfer.c:
	  Necessary typecasts to avoid compiler warnings (seen on Solaris
	  2.8).

2002-11-15 07:46  castaglia

	* modules/mod_log.c:
	  Style cleanup.

2002-11-14 09:57  castaglia

	* modules/mod_auth.c:
	  More hassle/work with MaxClientsPerHost (see Bug#1830, Bug#1831).

2002-11-14 09:09  castaglia

	* contrib/ftpasswd:
	  Forgot to increment the displayed $version.

2002-11-14 08:56  castaglia

	* NEWS:
	  Attributing proper credit. =)

2002-11-14 08:55  castaglia

	* contrib/: ftpasswd, ftpasswd.html:
	  Minor doc change.

2002-11-14 08:53  castaglia

	* NEWS, contrib/ftpasswd, contrib/ftpasswd.html:
	  Adding/changing ftpasswd error exit values.

2002-11-14 06:49  jwm

	* Makefile.in:
	  we don't need to worry about removing the autoconf-processed
	  proftpd.spec anymore (this wasn't even the right path to it,
	  anyway)

2002-11-13 13:15  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#1830 - MaxClientsPerHost (small) Bug.

2002-11-13 08:32  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#1810 - Wrong permissions assigned to uploaded file

2002-11-13 06:55  castaglia

	* NEWS, utils/ftpwho.c:
	  Bug#1815 - Patch to add class information to ftpwho (with verbose
	  on)

2002-11-13 06:37  castaglia

	* src/dirtree.c:
	  Add debugging output mentioning the configuration file being
	  parsed at debug level 2.

2002-11-12 14:27  castaglia

	* modules/: mod_auth.c, mod_core.c, mod_xfer.c:
	  Fix handling/lookup of Timeouts.

2002-11-12 08:42  castaglia

	* configure:
	  Updating configure script.

2002-11-12 08:38  castaglia

	* configure.in:
	  Minor whitespace quibble.

2002-11-12 08:28  jwm

	* .cvsignore:
	  ignore ftptop, autom4te.cache

2002-11-12 08:28  jwm

	* configure:
	  updated configure

2002-11-12 08:23  jwm

	* Make.rules.in, configure.in:
	  oops, accidentally reverted TJ's changes

2002-11-12 08:19  jwm

	* Makefile.in, Make.rules.in, NEWS, configure.in:
	  Only link ftptop with lib{n,}curses - it isn't needed in any
	  other binaries

2002-11-12 08:19  castaglia

	* configure:
	  Updating the configure script.

2002-11-12 08:10  castaglia

	* Make.rules.in, NEWS, configure.in:
	  Bug#1703 - mod_sql_mysql compile error.

2002-11-12 07:24  castaglia

	* modules/mod_core.c, modules/mod_xfer.c, NEWS:
	  Bug#1760 - AllowOverwrite not operational.

2002-11-11 15:57  jwm

	* utils/.cvsignore:
	  ignore Makefile, object and editor backup files

2002-11-11 15:44  jwm

	* modules/mod_unixpw.c: OS X also has a setgrent() that returns
	  void; make a note to update autoconf for a generic check for this

2002-11-05 11:06  jwm

	* NEWS, include/modules.h, modules/mod_auth.c, src/auth.c:
	  Bug 1818 - proftpd doesn't compile on hpux11

2002-11-03 16:53  jwm

	* configure:
	  updated configure

2002-11-03 16:41  jwm

	* NEWS, utils/ftptop.c, config.h.in, configure.in:
	  ftptop can now use either curses or ncurses

	  Based on a submission by: Ayamura KIKUCHI <ayamura@ayamura.org>

2002-11-03 08:40  jwm

	* NEWS, src/scoreboard.c:
	  Bug 1814 - class names are truncated in scoreboard entry

2002-11-02 14:47  jwm

	* contrib/dist/rpm/proftpd.spec:
	  forgot to add logrotate to %files

2002-11-02 14:44  jwm

	* NEWS:
	  update

2002-11-02 14:44  jwm

	* contrib/dist/rpm/: proftpd.logrotate, proftpd.spec:
	  Bug 1398 - there is no log rotate for /var/log/xferlog

2002-11-02 14:32  jwm

	* modules/mod_auth.c:
	  style, whitespace

2002-11-02 14:10  jwm

	* contrib/mod_ratio.c:
	  clean up compiler warnings

2002-11-02 14:01  jwm

	* NEWS, contrib/dist/rpm/proftpd.spec:
	  Bug 1772 - Docs fixup in RPM spec file

2002-11-02 14:01  jwm

	* configure:
	  update configure

2002-11-02 13:49  jwm

	* configure.in:
	  don't preprocess the rpm spec

2002-11-02 13:48  jwm

	* contrib/dist/rpm/: proftpd.spec, proftpd.spec.in:
	  having autoconf process proftpd.spec.in is silly - it's only that
	  way to substitute the @VERSION@ tag.

2002-11-02 13:42  jwm

	* NEWS:
	  update

2002-11-02 13:41  jwm

	* README.PAM, config.h.in, modules/mod_pam.c:
	  Bug 1805 - PAM support under Mac OS X

2002-11-02 13:38  jwm

	* README.PAM:
	  style

2002-11-02 13:34  jwm

	* NEWS, config.h.in, configure.in, include/conf.h:
	  Bug 1803 - Check for SIZEOF_UNSIGNED_LONG_LONG to determine LFS
	  support breaks some Linux installations

2002-10-30 11:29  castaglia

	* NEWS:
	  Typo.

2002-10-30 11:10  castaglia

	* NEWS, contrib/mod_wrap.c:
	  Bug#1800 - Proftpd child segfaults when ussing a PASS without no
	  USER first.

2002-10-29 17:47  castaglia

	* NEWS:
	  Typos.

2002-10-29 17:23  castaglia

	* NEWS, modules/mod_auth.c:
	  Fixing broken AuthAliasOnly, so that it does as described in the
	  docs (it had been broken by Bug#1567).

2002-10-29 10:06  castaglia

	* utils/: ftpcount.c, ftpwho.c, utils.h:
	  Modifying the handling of struct option in these files.  A change
	  had been made earlier in CVS to get these utilities to compile
	  properly under IRIX (which has a <getopt.h> that does not define
	  struct option); unfortunately, that change made it such that on
	  Solaris, the utilities did not compile.  The modifications
	  committed bring the handling of struct option in the utilities to
	  be like that of the main proftpd binary, which consequently is
	  handled properly under Solaris, IRIX, BSD, and Linux.  Hopefully
	  this concludes this getopt issue in the utilities.

2002-10-29 08:41  castaglia

	* modules/: mod_auth.c, mod_core.c:
	  More get_param_int() cleanup (this function will cause grief on
	  LP64 architectures, where pointer sizes are different and passing
	  pointers to stack values is a Bad Thing).  This patch moves all
	  the MaxClients*/MaxHosts* directives into mod_auth, makes them
	  all consistently use pointers, and corrects a small datatype
	  underflow bug that crept in with the introduction of
	  MaxClientsPerUser (oops).

2002-10-29 07:51  jwm

	* src/data.c: * style * Make sure session.xfer uses cleared memory
	  so unset structure members   won't contain random values.

2002-10-29 07:51  jwm

	* NEWS: Make sure session.xfer uses cleared memory so unset
	  structure members won't contain random values.

2002-10-28 14:32  castaglia

	* configure:
	  Updating configure script.

2002-10-28 14:30  castaglia

	* NEWS, config.h.in, configure.in, include/support.h,
	  modules/mod_core.c, src/support.c:
	  Bug#1722 - Can't work magic cookie %F on FreeBSD.

2002-10-28 09:28  castaglia

	* src/data.c:
	  Removed unnecessary log_debug() calls from data_sendfile().  Part
	  of this is because of the headache involved with getting the
	  proper format specifiers into the log_debug() calls -- too much
	  effort for little return.

2002-10-28 08:51  castaglia

	* modules/mod_xfer.c, src/dirtree.c, src/inet.c, src/log.c,
	  src/main.c, utils/ftpcount.c, utils/ftptop.c, utils/ftpwho.c:
	  Added typecast to int in is*() functions for picky Solaris.

2002-10-28 08:19  castaglia

	* include/conf.h:
	  Adding some necessary function prototypes for AIX, when compiled
	  using -D_NO_PROTO.

2002-10-26 15:57  castaglia

	* modules/mod_auth.c, utils/utils.h:
	  Fixing signedness variable check in mod_auth Fixed a missing
	  definition in utils/utils.h which afflicted systems that don't
	  have the getopt_long() function.

2002-10-25 09:54  castaglia

	* include/modules.h, modules/mod_log.c, src/main.c,
	  utils/ftpcount.c:
	  Fixing some function pointer scopes, removing unused variables --
	  general cleanup due to compiler complaints on IRIX.

2002-10-25 09:18  castaglia

	* src/main.c:
	  Re-adding logging of SIGSEGVs.

2002-10-24 15:19  castaglia

	* modules/mod_auth.c:
	  Correcting an off-by-one error concerning the enforcement of
	  MaxClients.

2002-10-24 13:03  castaglia

	* NEWS:
	  Forgot to note that Bug#1745 was fixed in 1.2.7rc1.

2002-10-24 10:22  castaglia

	* configure:
	  Updating configure script.

2002-10-24 10:16  castaglia

	* NEWS, configure.in:
	  Bug#1287 - Error compile with autoshadow option

2002-10-24 09:32  castaglia

	* configure:
	  Updating configure script.

2002-10-24 09:28  castaglia

	* configure.in:
	  Fixing up the configure script to handle the case where the admin
	  forgets to (or just plain doesn't) provide a value for the new
	  --enable-* tunable configure options.  It was simply writing the
	  "yes"/"no" strings into the headers -- not what I wanted.  Now,
	  configure will emit a warning if no values are explicitly
	  provided, and will use the default numbers.  Otherwise, it will
	  use the value provided.

2002-10-24 08:49  castaglia

	* README.AIX:
	  Adding remark reminding AIX users to avoid use of
	  --enable-autoshadow and --enable-shadow in their configure
	  options.

2002-10-23 16:56  castaglia

	* configure:
	  Updating configure script to match changes/fixes to configure.in.

2002-10-23 16:53  castaglia

	* NEWS, config.h.in, configure.in, include/options.h,
	  include/scoreboard.h, utils/utils.h:
	  Fixed configure script handling of ncurses detection (was not
	  #define'ing	HAVE_LIBNCURSES properly) Added
	  --enable-scoreboard-buffer-size option to the other "tunable"
	  configure   options, for tuning the size of sce_cmd, sce_cwd.

2002-10-23 10:27  castaglia

	* modules/mod_site.c:
	  Fixing requirement of auth chk for SITE commands CHGRP and CHMOD.

2002-10-22 12:14  castaglia

	* include/version.h:
	  Making CVS look ready for rc3.

2002-10-22 11:27  castaglia

	* ChangeLog, NEWS, include/version.h:
	  Preparing for release of 1.2.7rc2.

2002-10-21 11:40  castaglia

	* contrib/mod_wrap.c:
	  Fixed a minor file descriptor leak in mod_wrap (affects only the
	  child process, not the daemon process).

2002-10-21 10:10  castaglia

	* configure:
	  Updating configure script for added --enable* options.

2002-10-21 10:06  castaglia

	* NEWS, config.h.in, configure.in, contrib/mod_radius.c,
	  contrib/mod_ratio.c, contrib/mod_sql.c, contrib/mod_sql_mysql.c,
	  contrib/mod_sql_postgres.c, doc/license.txt, include/dirtree.h,
	  include/options.h, include/pool.h, lib/pr-syslog.c,
	  lib/pwgrent.c, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_ls.c, modules/mod_pam.c, modules/mod_site.c,
	  modules/mod_unixpw.c, modules/mod_xfer.c, src/data.c,
	  src/dirtree.c, src/fs.c, src/ident.c, src/inet.c, src/log.c,
	  src/main.c, src/modules.c, src/netio.c, src/pool.c, src/regexp.c,
	  src/support.c:
	  Large style cleanup:	 - added PR_ prefix to TUNABLE_ macros	 -
	  renamed command handlers in some modules (from cmd_* to
	  <module-name>_*)     in order to better exemplify module
	  namespace conventions   - removed extraneous
	  make_named_sub_pool() (added macro for backward     compatibility
	  for contrib modules)	 - lots of trivial whitespace changes

	  Hopefully I didn't break anything too major with this.

2002-10-19 08:16  flyhmstr

	* doc/faq.html: ML: new FAQ issue

2002-10-18 15:20  castaglia

	* src/auth.c:
	  Fixed a bad bug, introduced with the Cygwin changes (I think).
	  setgid() will not be called if the platform doesn't have
	  setgroups() due to the placement of the HAVE_SETGROUPS #ifdefs.
	  I don't know if this change will break stuff under Cygwin, but
	  the current placement of those #ifdefs won't do.

2002-10-18 12:50  castaglia

	* NEWS, modules/mod_core.c:
	  Fixed typo in NEWS Added handler for ScoreboardPath directive,
	  which will report on the  deprecated nature of the directive, and
	  inform the admin of using the  newer ScoreboardFile instead.
	  Hopefully this will help ease (somewhat)  the upgrade to 1.2.7.

2002-10-18 12:43  castaglia

	* NEWS, utils/ftptop.c:
	  Bug#1778 - 1.2.7rc1 fails to link on OpenBSD 3.2-current

2002-10-18 10:59  flyhmstr

	* doc/Configuration.html: ML: updated to include mod_radius stuff

2002-10-18 10:15  flyhmstr

	* doc/: Configuration.html, faq.html: ML: updated directivelist and
	  faq

2002-10-18 08:14  castaglia

	* NEWS, modules/mod_ls.c, src/fs.c:
	  Bug#1785 - Bad handling of symlinks

2002-10-16 17:37  castaglia

	* src/: auth.c, data.c, dirtree.c, inet.c, log.c, main.c,
	  modules.c, pool.c, regexp.c, scoreboard.c, support.c:
	  Cleanliness/style: changing core code to use PR_LOG_* instead of
	  LOG_*.  Contrib modules may need to be changed to use PR_LOG_* in
	  the future.

2002-10-16 11:14  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#1644 - LogFormat local IP and FQDN tags missing

2002-10-15 15:18  castaglia

	* README.AIX:
	  Updating this README with the CFLAGS that seem to work with the
	  newer proftpd versions.

2002-10-15 10:08  castaglia

	* modules/mod_xfer.c:
	  Missed the assignment of session.xfer.path in cmd_stor() in the
	  previous commit.

2002-10-15 10:01  castaglia

	* include/proftpd.h, modules/mod_xfer.c, src/data.c:
	  Removing some cruft from session.xfer, fixing some whitespace
	  styling.  Significant change is moving session.xfer.path so that
	  it is not allocated from session.xfer.p (a pool with a bad name
	  =P), but rather is the string originally allocated in the PRE_CMD
	  handler, from cmd->pool.  There is no reason for the path to be
	  reallocated again from session.xfer.p (unless any functions
	  manipulate that buffer, which they shouldn't, and which none
	  currently do), and, in some cases, ASCII CRLF handling was
	  causing corruption of that buffer.

2002-10-14 17:11  castaglia

	* src/log.c:
	  Make sure log_openfile() returns the same error values as
	  #defined in include/log.h.

2002-10-14 17:04  castaglia

	* src/auth.c:
	  Need to handle case in set_groups() where suppl_gids might be
	  non-NULL, but the contained number of gids (suppl_gids->nelts) is
	  zero.  This was causing a segfault, for memory was being
	  allocated (of length zero) which was then being cleared.

2002-10-14 11:26  castaglia

	* NEWS, modules/mod_auth.c, modules/mod_unixpw.c, src/main.c,
	  src/modules.c:
	  Changing place in code where switching to the User/Group for a
	  vhost occurs, so that it happens prior to the calling of any
	  modules' session initialization callbacks.

2002-10-10 08:00  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#1770 - Forgetting to check for no IP in string

2002-10-09 09:55  castaglia

	* NEWS, modules/mod_auth.c, src/auth.c, src/dirtree.c,
	  src/support.c:
	  Bug#1769 - Lack of supplemental groups can cause segfault.

2002-10-09 09:12  flyhmstr

	* doc/Configuration.html: ML: updated directive list ready for
	  1.2.7rc2

2002-10-08 14:19  castaglia

	* modules/mod_xfer.c:
	  Oops.  Should always use the FS API functions for FS operations.

2002-10-08 08:05  castaglia

	* modules/mod_xfer.c:
	  Clean up files created by mkstemp(3) if other checks (e.g.
	  <Limit>) fail.  Discrepancy noticed by Joao Gouveia
	  <tharbad@kaotik.org>.

2002-10-08 07:35  castaglia

	* NEWS, src/main.c:
	  Bug#1759 - ftpwho shows much more connections than realy is.

2002-10-07 18:04  jwm

	* README, README.AIX, README.modules:
	  style nit

2002-10-07 17:18  castaglia

	* CREDITS, INSTALL, Makefile.in, README, README.AIX,
	  README.linux-privs, README.mod_sql, README.modules, README.ports:

	  Updating documentation, fixing 'make clean' target.  Thanks to
	  Michael Renner for these patches.

2002-10-07 14:40  castaglia

	* INSTALL, README.modules:
	  Removing references to crufty old mod_test.

2002-10-07 10:17  castaglia

	* INSTALL:
	  Changing mention of ScoreboardPath to ScoreboardFile.

2002-10-07 10:14  castaglia

	* sample-configurations/complex-virtual.conf:
	  Updating more example configs.

2002-10-07 10:01  castaglia

	* sample-configurations/PFTEST.shadow:
	  Match username 'proftpd' in the test passwd file.

2002-10-07 09:59  castaglia

	* sample-configurations/PFTEST.conf.in:
	  Updating config for 1.2.7 release cycle (ScoreboardPath ->
	  ScoreboardFile).

2002-10-04 15:51  castaglia

	* utils/ftptop.c:
	  Adding kludge to ftptop that scans the config file for a
	  non-default ScoreboardFile directive.

2002-10-04 12:08  castaglia

	* src/scoreboard.c:
	  Amend the addition of using fchmod() on the scoreboard to make
	  the mode 0644, rather than 0444.  This allows for non-root
	  daemons to still be able to use the scoreboard.  Thanks to
	  Michael Renner for noting this.

2002-10-04 07:41  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#1735 - Proftpd 1.2.6 compiled on FreeBSD 4.6.2 exits on
	  signal 11

2002-10-03 17:36  castaglia

	* src/scoreboard.c:
	  Addition borne of paranoia inspired by recent Apache
	  scoreboarding vulnerability.

2002-10-03 12:15  castaglia

	* modules/mod_auth.c:
	  Fixing off-by-one error in MaxClientsPerHost check.

2002-10-03 08:44  castaglia

	* CREDITS:
	  Adding thanks/credits for unnamed users who contribute to the
	  project.

2002-10-03 08:30  castaglia

	* modules/mod_site.c, src/main.c:
	  Some style-related cleanups.	Still working on that HELP SITE
	  code - had the tertiary operator parameters in the wrong order
	  (and it was apparently causing a segfault).

2002-10-02 13:49  castaglia

	* NEWS, src/netio.c:
	  Bug#1757 - non-ANSI Syntax in netio.c

2002-10-02 13:35  castaglia

	* include/version.h:
	  Updating the version, preparing for the next CVS/release.

2002-10-02 11:13  castaglia

	* modules/mod_site.c:
	  Fixing support for 'HELP SITE' (common) in addition to 'SITE
	  HELP' (proper).

2002-10-02 09:18  castaglia

	* src/main.c:
	  Cleaning up a badly-written preprocessor directive (my fault).

2002-10-02 08:19  castaglia

	* utils/scoreboard.c:
	  Prevent egregious ENOENT error when reading the scoreboard.

2002-10-01 11:59  castaglia

	* ChangeLog, NEWS, include/version.h:
	  Preparing for release of 1.2.7rc1.

2002-10-01 09:23  castaglia

	* modules/mod_auth.c:
	  Minor wording correction for default MaxClientsPerUser message.

2002-10-01 09:19  castaglia

	* NEWS, modules/mod_auth.c:
	  Bug#1675 - add new MaxClientsPerUser configuration option.  Works
	  just like	       MaxHostsPerUser.

2002-10-01 08:50  jwm

	* configure: updated configure

2002-10-01 08:43  jwm

	* configure.in: Fix for broken headers in OS X 10.1 Submitted by:
	  Thomas Ganter <tganter@mac.com>

2002-09-30 13:57  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#1694 - SQLLog QUIT doesn't execute on connection close.

	  With the various changes to mod_sql (SQLNegativeCache, etc), I'm
	  bumping its version to 4.10.

2002-09-30 13:52  castaglia

	* NEWS:
	  Forgot to note that Bug#1748 had been fixed.

2002-09-30 08:56  castaglia

	* NEWS, include/modules.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_site.c, src/main.c:
	  Bug#1475 - Minor changes to SITE command handling.

2002-09-27 19:04  castaglia

	* modules/mod_site.c:
	  Helps if I put the full code from the fix in CVS, doesn't it?

2002-09-27 19:01  castaglia

	* include/privs.h, modules/mod_site.c:
	  Casting and variable type fun (based on compiler complaints).

2002-09-27 18:42  castaglia

	* modules/mod_pam.c:
	  Confirmed -- it's a Solaris-specific thing.  Fixed to (hopefully)
	  not generate error messages when working with Linux/FreeBSD' PAM
	  libraries.

2002-09-27 18:13  castaglia

	* modules/mod_pam.c:
	  Seems there's a slight discrepancy between the Solaris and Linux
	  PAM implementations with regard to the order of calling
	  pam_end().  I don't know about FreeBSD PAM yet, though; don't
	  have root privs on a FreeBSD box to verify.

2002-09-27 17:28  castaglia

	* utils/ftptop.c:
	  With the addition of the sce_server_addr field to the scoreboard
	  entry struct, ftptop no longer needs to use inet_ntoa(3) to
	  stringify the server IP address.

2002-09-27 13:58  castaglia

	* NEWS, modules/mod_pam.c:
	  Bug#1572 - Need to use pam_end() to close session on Solaris 8.
	  The cause turned out to be a need to always call pam_end() after
	  pam_authenticate().

2002-09-27 13:51  castaglia

	* include/scoreboard.h, src/scoreboard.c, utils/utils.h:
	  Seems that gcc-3 has some quirks when it comes to variadic
	  functions.  Adjusting to compensate.

2002-09-27 13:17  castaglia

	* src/scoreboard.c:
	  Try to handle cases where NULLs might be (inappropriately) sent
	  to pr_scoreboard_update_entry().

2002-09-27 13:01  castaglia

	* utils/: ftptop.c, utils.h:
	  Make sure that the utils compile on platforms that don't have
	  <getopt.h>

2002-09-26 10:52  castaglia

	* include/scoreboard.h, modules/mod_auth.c, src/scoreboard.c,
	  utils/ftptop.c, utils/ftpwho.c, utils/utils.h:
	  Adding display of server (IP address/port) string to ftpwho (when
	  -v is used).

2002-09-26 10:20  castaglia

	* utils/ftptop.c:
	  Removed an unused variable.

2002-09-26 10:17  castaglia

	* utils/utils.h:
	  Keeping this in sync with include/scoreboard.h

2002-09-26 10:09  castaglia

	* src/main.c:
	  Make clearing the scoreboard slot one of the first things that
	  happens when a child exits.

2002-09-26 09:59  castaglia

	* utils/ftpwho.c:
	  Adjusting the spacing of ftpwho fields, trying to make the output
	  prettier.

2002-09-26 09:47  castaglia

	* include/scoreboard.h, src/main.c, src/scoreboard.c:
	  Adjusting some of the scoreboard entry sizes to be smaller (we
	  can always make them larger later, if need be).  Also adding the
	  clearing of a scoreboard slot in the case of a SIGSEGV in the
	  signal handler itself.

2002-09-25 18:11  castaglia

	* NEWS, contrib/mod_radius.c, contrib/mod_radius.html:
	  Bug#1687 - Add contrib module for RADIUS authentication,
	  accounting

2002-09-25 18:05  castaglia

	* NEWS, src/dirtree.c:
	  Bug#1732 - No checking for NULL at inet_ascii and pr_fnmatch.
	  The fix for this now allows for "inline" comments in the lines of
	  a proftpd.conf file, e.g.:

	      Port 21 # Some comment here

	  whereas before, that "# Some comment here" would be tokenized and
	  treated as normal input into the configuration directive handler.

2002-09-25 17:36  castaglia

	* NEWS, include/privs.h:
	  Bug#1395 - Check return values in PRIVS calls

2002-09-25 17:04  castaglia

	* src/: ftpcount.1, ftpcount.c, ftpshut.8, ftpshut.c, ftpwho.1,
	  ftpwho.c:
	  Removing these files from src/, as they now appear under utils/

2002-09-25 17:01  castaglia

	* src/main.c:
	  No need to complain of scoreboard slot cleaning error when we're
	  not a child process (e.g. when the daemon is shutting down).

2002-09-25 16:56  castaglia

	* configure:
	  And the necessary delayed commit of the new configure script, to
	  match the configure.in tweaks.

2002-09-25 16:53  castaglia

	* configure.in:
	  Needing to tweak this, in order to get the timestamps on
	  configure.in and configure files in the CVS repository to be what
	  we need them to be.

2002-09-25 16:45  castaglia

	* utils/: Makefile.in, ftpcount.1, ftpcount.c, ftpshut.8,
	  ftpshut.c, ftptop.c, ftpwho.1, ftpwho.c, misc.c, scoreboard.c,
	  utils.h:
	  Populating the new utils/ sub-directory with the source code
	  files for the ftpcount, ftpwho, ftptop, ftpshut utilities.

2002-09-25 16:43  castaglia

	* NEWS:
	  Forgot to update the NEWS file for the scoreboard changes.

2002-09-25 16:43  castaglia

	* Make.rules.in, Makefile.in, config.h.in, configure, configure.in,
	  contrib/mod_sql.c, include/conf.h, include/log.h,
	  include/privs.h, include/scoreboard.h, include/version.h,
	  lib/Makefile.in, modules/Makefile.in, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_xfer.c, src/Makefile.in,
	  src/log.c, src/main.c, src/scoreboard.c, src/support.c:
	  Bug#1713 - Scoreboard changes.  This simple statement covers
	  quite a few changes.

2002-09-24 19:13  jwm

	* modules/mod_xfer.c: * style * silence a compiler warning with a
	  cast (the Cast Nazi yields ground: film   at eleven)

2002-09-24 19:11  jwm

	* src/sets.c: style

2002-09-24 19:11  jwm

	* lib/: glibc-mkstemp.c, strsep.c, vsnprintf.c: * style * silence
	  ranlib warnings if the host OS already has the appropriate
	  functions

2002-09-23 09:17  castaglia

	* src/main.c:
	  Corrections in comments.

2002-09-23 08:30  castaglia

	* src/main.c:
	  Make necessary modification to handling of SIGCHLD, in order to
	  prevent nasty segfaults under non-POSIX, SVR4 systems (e.g.
	  IRIX).  Explanatory comments in sig_child() handler.

2002-09-20 19:12  jwm

	* README.LDAP:
	  * update for 2.8.10 * postcard-ware

2002-09-20 19:09  jwm

	* contrib/mod_ldap.c:
	  mod_ldap is now postcard-ware

2002-09-19 12:26  castaglia

	* sample-configurations/basic.conf:
	  Fix the grammar in the default configuration file a little, and
	  make a minor optimization: <Directory /*> is not really needed,
	  as <Directory /> suffices.

2002-09-16 13:45  castaglia

	* contrib/mod_sql.c:
	  Changed this logging level, so that it does not show up at DEBUG0
	  (which is the default log level, or at least included in the
	  default logging levels).

2002-09-15 13:50  jwm

	* Makefile.in, NEWS:
	  Bug 1726 - Cygwin's Makefile inconsistency

2002-09-13 16:14  castaglia

	* Make.rules.in, NEWS, include/conf.h, include/inet.h,
	  include/io.h, include/netio.h, lib/Makefile.in,
	  modules/Makefile.in, modules/mod_core.c, modules/mod_ls.c,
	  modules/mod_xfer.c, src/Makefile.in, src/data.c, src/fs.c,
	  src/ident.c, src/inet.c, src/io.c, src/main.c, src/netio.c:
	  Adding the NetIO API.

2002-09-13 15:59  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#1736 - RETR does not handle an inappropriate REST

2002-09-13 15:51  castaglia

	* NEWS, include/dirtree.h, modules/mod_core.c, modules/mod_ls.c,
	  src/dirtree.c:
	  Bug#1737 - Enhance file hiding via regular expressions

2002-09-13 15:01  castaglia

	* contrib/mod_sql.c:
	  Make this particular mod_sql log message a little less urgent.

2002-09-13 14:35  castaglia

	* modules/mod_auth.c:
	  Slight correction in the config context used for looking up any
	  configured TimeoutSession.

2002-09-13 13:21  castaglia

	* NEWS, modules/mod_auth.c, modules/mod_core.c, modules/mod_xfer.c,
	  src/data.c, src/dirtree.c:
	  Bug#1436 - Feature Enhancement: Timeouts on a <Virtualhost> basis

2002-09-13 12:58  castaglia

	* modules/mod_auth.c:
	  When unable to chdir to a directory, when logging in, add
	  reporting of errno.

2002-09-13 12:33  castaglia

	* NEWS, include/proftpd.h, modules/mod_core.c, src/main.c:
	  Bug#1658 - Separate session/daemon resource limit settings.

2002-09-13 07:30  jwm

	* configure:
	  Updated configure from last configure.in commit

2002-09-12 18:19  jwm

	* configure.in:
	  You can't explicitly include sys/sendfile.h when compiling with
	  large file support.

	  Submitted by: Jan Kasprzak <kas@informatics.muni.cz>
	  http://www.geocrawler.com/lists/3/SourceForge/9189/0/9566710/

2002-09-12 18:10  jwm

	* contrib/mod_ratio.c:
	  * anonymous ratios are now looked up by the e-mail address used *
	  make sure g.user is defined so the ratio is recorded for
	  *something*

	  Submitted by: Benjamin Schieder <bs1544@bingo-ev.de>
	  http://www.geocrawler.com/lists/3/SourceForge/9190/75/9539913/

2002-09-12 18:02  jwm

	* contrib/dist/rpm/proftpd.spec.in:
	  Documentation improvements

	  Submitted by: Magnus Stenman <stone@hkust.se>
	  http://www.geocrawler.com/lists/3/SourceForge/9189/0/9564251/

2002-09-12 16:23  castaglia

	* modules/mod_log.c:
	  Missed a Boolean...

2002-09-12 16:20  castaglia

	* modules/mod_log.c:
	  Fixed minor problem with duplicate logging: mod_log was a)
	  looking in the wrong context, and b) recursing through
	  configuration subsets in an attempt to fix its wrong context
	  starting point.  Should be remedied now.

2002-09-11 11:59  castaglia

	* doc/mod_sample.c:
	  Updating the code in the mod_sample.c file to demonstrate things
	  a little better.

2002-09-10 16:26  castaglia

	* modules/mod_xfer.c:
	  Helps if uploads/downloads actually work...oops. =P

2002-09-10 12:36  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#1065 - Added MaxRetrieveFileSize, MaxStoreFileSize
	  directives.

2002-09-10 11:50  castaglia

	* NEWS, modules/mod_log.c:
	  Bug#1669 - Filename meta (%f) not correctly expanded for some
	  commands	      in WRITE logging class.  This will
	  necessitate discussion on the 	   current state of
	  proftpd's logging variables.

2002-09-10 10:26  castaglia

	* src/main.c:
	  Removed an unused variable.

2002-09-10 09:29  castaglia

	* src/fs.c:
	  No need for this cast (I don't think...).

2002-09-10 09:07  jwm

	* modules/mod_xfer.c:
	  fixup

2002-09-10 09:01  castaglia

	* NEWS, include/fs.h, include/io.h, modules/mod_core.c,
	  modules/mod_ls.c, src/data.c, src/fs.c, src/io.c, src/support.c:
	  Bug#1486 - lots of changes made to code, adding buffers in an
	  attempt to		optimize directory listings and ASCII file
	  translation.	We'll		 see how many bugs are added with
	  this commit =).

2002-09-10 08:06  castaglia

	* NEWS, include/conf.h, src/fs.c:
	  Bug#1662 - #define _GNU_SOURCE, which will quell some compiler
	  warnings	      (e.g. the crypt() warning when using
	  mod_sql).

2002-09-10 04:35  jwm

	* modules/mod_xfer.c:
	  minor format-type fixups

2002-09-09 16:05  jwm

	* src/main.c:
	  style

2002-09-09 15:43  castaglia

	* src/main.c:
	  No comment.

2002-09-09 15:35  castaglia

	* src/main.c:
	  Spoke too soon. =P

2002-09-09 15:33  castaglia

	* src/main.c:
	  Don't forget to append the "proftpd: " prefix for
	  non-setproctitle(2) platforms.  Hopefully this ends our fun with
	  Bug#1649.

2002-09-09 13:03  uid43859

	* lib/pr-syslog.c:
	  Solaris doesn't have the macro LOG_PRI()

2002-09-09 13:01  uid43859

	* src/main.c:
	  fixed & cleaned up #defines

2002-09-09 07:40  jwm

	* src/main.c:
	  Fixing the fix for Bug#1649 - the #ifdefs didn't actually change
	  anything

2002-09-07 12:08  castaglia

	* lib/pr-syslog.c:
	  Forgot to bracket use of __progname in #ifdefs, as not every
	  platform's libc supports __progname.

2002-09-07 12:02  castaglia

	* src/main.c:
	  Need to match datatypes for the unixpw_persistent variable in
	  main.c and mod_unixpw.c

2002-09-07 10:37  castaglia

	* NEWS:
	  Oops.  Wrong bug number.

2002-09-06 17:25  castaglia

	* modules/mod_core.c:
	  Oops.  Forgot to cleanup my debugging/logging.

2002-09-06 11:51  castaglia

	* NEWS, modules/mod_core.c, src/main.c:
	  Bug#1652 - add a MaxConnectionRate directive, for configuration a
		     connection rate limiting mechanism.  This mechanism is
	  really only		 effective when running proftpd in
	  standalone mode; if using	       inet/xinetd, those daemons
	  have their own connection rate	    limiting mechanisms.

2002-09-06 11:05  castaglia

	* NEWS, src/main.c:
	  Bug#1432 - adding check to function handling FTP commands
	  received from 	   clients to be more strictly
	  RFC959-compliant: leading whitespace		  before the FTP
	  command is now not allowed.

2002-09-06 09:13  castaglia

	* NEWS, modules/mod_core.c, src/main.c:
	  Bug#1253 - added a DefaultAddress directive, for explicitly
	  configuring the	     IP address to which the "default"
	  server listens.

2002-09-06 08:18  castaglia

	* NEWS, src/dirtree.c:
	  Bug#1725 - Still fixing the bugs I introduced into match_ip() as
	  a consequence 	   of Bug#1701.  This particular bug was
	  caused by an assumption;	      I'd forgotten to take into
	  account globbing characters attached		  to address
	  strings in the case of a '.' suffix/prefix.  The
	  manipulated string was used as an argument to inet_getaddr(),
		 which returns a pointer.  I forgot to check for that
	  pointer being 	   NULL.

2002-09-05 18:06  castaglia

	* NEWS, modules/mod_core.c, modules/mod_site.c:
	  Bug#1663 - Add SITE CHGRP command

2002-09-05 17:59  castaglia

	* NEWS, include/ftp.h, include/modules.h, modules/mod_auth.c,
	  src/auth.c:
	  Bug#1719 - Adding RFC2228-defined FTP commands and response
	  codes; made minor	       adjustments to allow future RFC2228
	  modules (will not change	      current/default behavior).

2002-09-05 17:42  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#1593 - added a new mod_sql directive, SQLNegativeCache, to
	  toggle whether	    mod_sql caches negative lookups.
	  Documentation to be forthcoming.

2002-09-05 17:38  castaglia

	* contrib/: mod_sql.c, mod_sql.h, mod_sql_mysql.c,
	  mod_sql_postgres.c:
	  Correcting the OpenSSL exemption clause to list the proper
	  copyright holder for these files.

2002-09-05 16:04  castaglia

	* NEWS, modules/mod_pam.c:
	  Bug#1724 - The AuthPAM* directive lookups were using
	  TOPLEVEL_CONF as their   config context lookup, but the
	  directives themselves were only allowed in   the server config
	  contexts ("server config", <VirtualHost>, and <Globa>).    This
	  had the consequence of those directives not being properly seen
	  when doing <Anonymous> logins.  The fix was to use
	  main_server->conf as	  the lookup context, rather than
	  TOPLEVEL_CONF.

2002-09-05 14:13  castaglia

	* NEWS, modules/mod_auth.c, modules/mod_core.c, src/dirtree.c:
	  Bug#1076 - Adding an AllowOverride directive, to provide
	  finer-grained 	   control over which users, if any, have
	  their .ftpaccess files	    parsed/honored.

2002-09-05 13:09  castaglia

	* Make.rules.in, NEWS, include/conf.h, include/log.h,
	  include/pr-syslog.h, lib/pr-syslog.c, modules/mod_core.c,
	  src/log.c, src/main.c, src/utils.c:
	  Bug#1682 - Use of chroot(2) and external libraries made necessary
	  the		 implementing of an internal syslog client routine
	  for use by		proftpd.

2002-09-04 12:27  castaglia

	* Makefile.in, NEWS:
	  Bug#1654 - Add DESTDIR in Makefile

2002-09-04 11:55  castaglia

	* NEWS, include/version.h, src/auth.c, src/main.c:
	  Starting in on the work for the 1.2.7 version:

	  Bug#1649 - setproctitle() prepends and appends process name. This
	  is a		  FreeBSD-specific bug (yay portability).  Bug#1666
	  - Auth modules can return duplicate supplemental groups

2002-09-04 09:10  flyhmstr

	* doc/Configuration.html: ML: more fixme's gone

2002-09-04 07:54  castaglia

	* ChangeLog, NEWS, include/version.h:
	  Ramping up for the release of 1.2.6.

2002-09-04 00:07  flyhmstr

	* doc/Configuration.html: ML: updated directive list

2002-09-02 13:16  castaglia

	* NEWS, src/io.c:
	  Note version increment of mod_ldap; add processing of signals in
	  the io_poll() loop.

2002-08-30 17:48  jwm

	* contrib/mod_ratio.c:
	  openssl exemption

2002-08-30 17:45  jwm

	* contrib/mod_ldap.c:
	  2.8.10 - replacement for ldap_build_filter()

2002-08-30 17:08  jwm

	* src/main.c:
	  would someone please give me an elementary lesson in checking
	  what exactly i'm committing before committing it?

2002-08-30 17:06  jwm

	* src/: main.c, pool.c:
	  style, removing cruft

2002-08-29 16:25  castaglia

	* contrib/mod_readme.c:
	  Added OpenSSL exemption clause to this contrib module's license.

2002-08-28 09:00  castaglia

	* NEWS, src/dirtree.c:
	  Fixed bug introduced by bad use of inet_ntoa(3) in fix for
	  Bug#1701.

2002-08-24 08:18  jwm

	* contrib/dist/rpm/proftpd.spec.in:
	  bloody fscking stupid thing...

2002-08-24 08:15  jwm

	* contrib/: mod_ldap.c, dist/rpm/proftpd.spec.in:
	  * openssl exemption * version bump to 2.8.9

2002-08-18 18:38  jwm

	* doc/Configuration.sgml:
	  adding the sgml version of the directive docs

2002-08-15 08:02  castaglia

	* ChangeLog, NEWS, include/version.h:
	  Preparing to release 1.2.6rc2

2002-08-15 07:45  castaglia

	* NEWS, src/dirtree.c:
	  Bug#1701 - Reverse lookups not working

2002-08-14 09:25  castaglia

	* modules/: mod_log.c, mod_ls.c, mod_site.c, mod_unixpw.c:
	  Updating copyright notices.

2002-08-14 09:17  castaglia

	* include/inet.h, include/proftpd.h, modules/mod_core.c,
	  modules/mod_ls.c, modules/mod_xfer.c, src/data.c, src/inet.c,
	  src/io.c, src/main.c, src/support.c:
	  Code cleanup:  - moved ShowSymlinks from mod_core to mod_ls  -
	  changed PassivePorts, AllowForeignAddress, ShowSymlinks, TimesGMT
	  to not    use get_param_int() (which uses addresses of stack
	  variables instead of	  heap variables), and using
	  get_param_ptr() instead.   - minor renaming

2002-08-14 08:14  jwm

	* contrib/dist/rpm/proftpd.spec.in:
	  Packager: update

2002-08-14 08:10  jwm

	* contrib/dist/rpm/proftpd.spec.in:
	  Added removal of build leftover directory in %clean.	Submitted
	  by: Christian Pelealu <kurisu@mweb.co.id>

2002-08-13 15:52  castaglia

	* src/log.c:
	  Added minor, but necessary check when reading the scoreboard
	  header on AIX platforms.  Portability is a PITA.

2002-08-12 10:30  castaglia

	* modules/mod_ls.c, src/main.c:
	  Added signal processing for recursive directory listings Added
	  masking of SIGCHLD in the SIGCHLD processing function Added debug
	  logging, at level 7, of module session initialization callbacks

2002-08-05 10:06  castaglia

	* config.sub:
	  Added case to handle ELF NetBSD on a shark.

2002-08-01 16:13  castaglia

	* src/log.c:
	  Added logging of TransferLog file opening at level 6; this will
	  aid in debugging errors involving the default TransferLog
	  ("/var/log/xferlog") on systems which may have troubles (e.g. no
	  /var/log directory, which shows up in the logs as "unable to
	  stat() /var/log" -- not indicative of the culprit [TransferLog]).

2002-08-01 15:11  castaglia

	* modules/mod_unixpw.c:
	  AIX portability/broken-ness changes.

2002-08-01 15:08  castaglia

	* include/dirtree.h, src/dirtree.c:
	  Minor fix, matching up datatypes in function declaration to
	  actual datatype used (caused a complaint under AIX's xlc).

2002-07-26 10:08  castaglia

	* src/main.c:
	  Minor cleanup from previous commit.

2002-07-26 10:02  castaglia

	* src/: dirtree.c, main.c, support.c:
	  Fixed minor HUP memory leak, caused by use of schedule() to
	  schedule an invocation of main_rehash().  A sched_t object is
	  allocated for the scheduling from permanent_pool, but that object
	  is never freed.  The fix was to add a pool member to the sched_t
	  struct, allocated a subpool from permanent_pool, allocate the
	  sched_t struct from that subpool, and assign the subpool to the
	  struct's pool member.  That way, the sched_t object can be
	  destroyed once the scheduled callback has been invoked.  Also
	  cleaned up some of the main_rehash() code, to make it more
	  legible.

2002-07-25 08:21  jwm

	* include/regexp.h:
	  typo/style

2002-07-24 15:20  castaglia

	* Make.rules.in, NEWS, include/conf.h, include/pool.h,
	  modules/mod_core.c, src/inet.c, src/main.c, src/pool.c,
	  include/regexp.h, src/regexp.c:
	  Bug#1697 - Memory leak involving regexp and SIGHUP

2002-07-22 16:18  castaglia

	* modules/: mod_auth.c, mod_core.c:
	  Oops.  Realized that DeferWelcome should've stayed in mod_core.

2002-07-22 15:17  castaglia

	* modules/: mod_auth.c, mod_core.c, mod_xfer.c:
	  Rearranging the placement of several configuration directive
	  handlers, placing the handler functions in the module that
	  actually uses the configured directive (many were bunched into
	  mod_core).

2002-07-20 01:29  flyhmstr

	* contrib/UPGRADE.mod_sql: ML: updated mod_sql homepage url

2002-07-19 14:25  castaglia

	* NEWS, lib/pwgrent.c:
	  Bug#1674 - fgetbufline passes NULL pointer to fgets()

2002-07-18 16:01  castaglia

	* modules/mod_core.c, modules/mod_pam.c, modules/mod_unixpw.c,
	  src/main.c:
	  Miscellaneous configuration handler cleanup.

2002-07-15 08:50  castaglia

	* NEWS, modules/mod_xfer.c:
	  Bug#1645 - HiddenStor should close file before renaming

2002-07-15 08:39  castaglia

	* NEWS, modules/mod_core.c, src/dirtree.c:
	  Bug#1681 - Multiple Include directives in a single file do not
	  get parsed

2002-07-09 15:20  castaglia

	* include/proftpd.h, include/support.h, include/timers.h,
	  src/main.c, src/support.c, src/timers.c:
	  Committed the latest patch attached to Bug#1556.

2002-07-02 17:30  jwm

	* configure:
	  new configure

2002-07-02 17:25  jwm

	* Makefile.in, README.cygwin, configure.in:
	  attach 1428 to bug 1569 - cygwin EXEEXT fixups

2002-07-02 11:25  castaglia

	* ChangeLog, NEWS, include/version.h:
	  Preparing for release of 1.2.6rc1

2002-07-02 10:01  castaglia

	* include/inet.h, include/io.h, include/options.h, src/data.c,
	  src/inet.c, src/io.c:
	  Fixing consequences of Bug#1502 and ABOR causing some clients to
	  wait indefinitely.

2002-07-01 11:28  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#1543 - Usernames with spaces, problems to authenticate

2002-07-01 11:18  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#1628 - group mods (DefaultRoot) only work for primary group
	  w/mysql

2002-06-30 09:48  castaglia

	* src/inet.c:
	  Fixed potential loop problem I inadvertently introduced in the
	  previous check-in.  Oops.

2002-06-28 11:43  castaglia

	* include/proftpd.h, modules/mod_xfer.c, src/data.c, src/inet.c,
	  src/io.c, src/main.c:
	  Fixing consequences of signal handler changes of Bug#1556,
	  allowing for child processes to process their received signals as
	  well (all noted in the bug report).

2002-06-27 20:16  castaglia

	* contrib/mod_sql.c:
	  Correctly check cmap.grpgidfield, rather than cmap.gidfield, when
	  looking up groups by ID.  This was my fault.

2002-06-27 15:39  castaglia

	* configure:
	  Updated configure script

2002-06-27 15:36  castaglia

	* NEWS, config.h.in, configure.in, modules/mod_unixpw.c:
	  Bug#1667 - Move USESHADOW, AUTOSHADOW defines from command line
	  into config.h

2002-06-27 15:09  castaglia

	* contrib/mod_sql.c:
	  Convert some of the configuration handlers to allocating memory
	  for passing numeric values, rather than squeezing them into void
	  *.  This fixes a border case where using 0 as the value for
	  SQLDefault{UID,GID} or SQLMinUser{ID,UID,GID} would cause that
	  directive setting to not be honored; a value of zero cast as a
	  void * means that that void * would most likely be interpreted as
	  NULL upon retrieval.

2002-06-27 14:18  castaglia

	* contrib/mod_sql.c:
	  Removed extraneous parameters from logging calls (caught by
	  __attribute__).

2002-06-27 12:27  castaglia

	* NEWS, contrib/mod_quota.c:
	  Removed mod_quota.c due to lack of maintainership, bugs.

2002-06-27 12:24  flyhmstr

	* doc/ShowUndocumented: ML: removing the showundocumented script as
	  it's no longer useful in this repository

2002-06-27 12:23  flyhmstr

	* doc/Configuration.html: ML:	Updated directive list

2002-06-27 11:35  flyhmstr

	* modules/mod_core.c: ML: fixing minor typo :)

2002-06-27 00:31  castaglia

	* include/log.h, include/proftpd.h, modules/mod_auth.c,
	  modules/mod_xfer.c:
	  Committed the use of gcc's __attribute__ pragma for printf-style
	  function argument checking from Bug#1643.  Fixed the minor printf
	  issues this pragma subsequently found in the TimeoutSession code,
	  throttling code.

2002-06-26 19:33  castaglia

	* NEWS, contrib/mod_sql.c:
	  Bug#1664 - mod_sql segfaults on cache miss for bogus user.

2002-06-26 16:10  castaglia

	* src/inet.c:
	  Use the IPPROTO_TCP macro (that's what it's there for!) for
	  initializing the value of tcp_proto, instead of manually setting
	  it to 6.

2002-06-26 10:32  jwm

	* Makefile.in:
	  #1569 - EXEEXT support

2002-06-25 19:54  castaglia

	* NEWS, include/inet.h, include/io.h, src/data.c, src/inet.c,
	  src/io.c:
	  Bug#1502 - 226 Transfer Complete sent out before data connection
	  is closed

2002-06-25 14:58  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#1655 - Add -n listing option to mod_ls

2002-06-25 13:56  castaglia

	* config.h.in:
	  Solaris already defines _FILE_OFFSET_BITS in its system headers
	  (at least 2.8 does); check for a defined _FILE_OFFSET_BITS before
	  redefining it.

2002-06-25 13:42  castaglia

	* src/: main.c, support.c:
	  Put proper #ifdefs around things to avoid some compiler warnings.

2002-06-25 10:56  castaglia

	* config.h.in:
	  Added lines for endprotoent, setgroups, setprotoent detection
	  performed by autoconf, removed duplicate HAVE_SETPROCTITLE line.

2002-06-25 10:35  castaglia

	* include/conf.h:
	  Add checking of SIZEOF_UNSIGNED_LONG_LONG to the list of macros
	  used for determining when to use %lu and when to use %llu.
	  FreeBSD does not require the other macros used (_FILE_OFFSET_BITS
	  or _LARGE_FILES), and so this additional check (which assumes
	  that if the size of an unsigned long long is 8 bytes, the
	  underlying platform will support use of %llu -- and we all know
	  what happens when one assumes) is required for proper LFS
	  detection and support on FreeBSD (and perhaps other platforms?).

2002-06-25 10:17  castaglia

	* contrib/mod_sql.c:
	  Added LFS-specific format macro, fixed NULL/'\0' comparison (was
	  causing a compiler warning).

2002-06-25 09:52  castaglia

	* modules/mod_xfer.c:
	  One more minor LFS-related modification.

2002-06-25 09:37  castaglia

	* src/auth.c:
	  Fixed minor indentation/spacing.

2002-06-24 21:27  jwm

	* contrib/mod_ldap.c:
	  #1659 - LDAP config handlers should use c->pool instead of
	  permanent_pool

2002-06-24 17:38  castaglia

	* modules/mod_unixpw.c:
	  Fixed compiler warning on FreeBSD concerning return value of the
	  setgrent(3) function.

2002-06-24 16:24  castaglia

	* modules/: mod_auth.c, mod_core.c:
	  Changed use of permanent_pool to c->pool in configuration
	  handlers where appropriate.

2002-06-24 08:23  castaglia

	* modules/mod_ls.c:
	  Forgot to remove the ShowDotFiles configuration handler function.

2002-06-24 08:19  castaglia

	* NEWS, modules/mod_ls.c, modules/mod_site.c:
	  Removed the deprecated AllowChmod and ShowDotFiles directives.

2002-06-23 15:14  castaglia

	* NEWS, include/dirtree.h, src/dirtree.c:
	  Bug#1171 - Add ability to handle backslash-escaped lines in
	  configuration file

2002-06-23 15:12  jwm

	* NEWS:
	  where the hell did I get 1304? this is #1569...

2002-06-23 15:10  jwm

	* NEWS:
	  updates

2002-06-23 14:56  castaglia

	* NEWS:
	  Noting addition/work on Cygwin stuff.

2002-06-23 12:09  castaglia

	* README.cygwin:
	  Minor spelling correction.

2002-06-23 12:07  jwm

	* configure:
	  updated configure for #1304 - Cygwin support

2002-06-23 12:06  jwm

	* README.cygwin:
	  #1304 - README.cygwin Thanks to Stanislav Sinyagin
	  <ssinyagin@yahoo.com>

2002-06-23 12:03  castaglia

	* include/conf.h, include/data.h, include/default_paths.h,
	  include/dirtree.h, include/fs.h, include/ident.h, include/inet.h,
	  include/io.h, include/libsupp.h, include/log.h,
	  include/modules.h, include/options.h, include/pool.h,
	  include/privs.h, include/proftpd.h, include/sets.h,
	  include/support.h, include/timers.h, src/auth.c, src/data.c,
	  src/dirtree.c, src/fs.c, src/ftpcount.c, src/ftpshut.c,
	  src/ftpwho.c, src/ident.c, src/inet.c, src/io.c, src/log.c,
	  src/main.c, src/modules.c, src/pool.c, src/sets.c, src/support.c,
	  src/timers.c, src/utils.c:
	  Updated copyrights.

2002-06-23 11:56  jwm

	* src/log.c, configure.in, src/inet.c, src/auth.c:
	  cleaned up versions of #1304 - Cygwin support

2002-06-22 13:17  jwm

	* modules/mod_xfer.c:
	  minor LFS fix

2002-06-22 11:13  jwm

	* config.guess, config.sub:
	  update config.guess and config.sub from
	  http://subversions.gnu.org/cgi-bin/viewcvs/config/config/;
	  parisc-linux support wasn't in our copies

2002-06-22 00:02  castaglia

	* src/: ftpcount.1, ftpshut.8, ftpwho.1, proftpd.8:
	  Minor corrections to man pages.

2002-06-21 18:06  castaglia

	* NEWS, lib/Makefile.in, lib/glibc-glob.c, src/data.c,
	  src/dirtree.c, src/ftpcount.c, src/io.c, src/log.c, src/main.c,
	  src/pool.c, src/timers.c:
	  Bug#1650 - Code cleanup

2002-06-21 17:54  castaglia

	* modules/mod_auth.c:
	  Fixed bad patching of the new TimeoutSession code.

2002-06-21 17:47  castaglia

	* NEWS, include/proftpd.h, modules/mod_auth.c:
	  Bug#1306 - Add timeout for entire session

2002-06-21 17:24  castaglia

	* modules/mod_auth.c, modules/mod_core.c, modules/mod_log.c,
	  modules/mod_ls.c, modules/mod_site.c, modules/mod_xfer.c,
	  src/dirtree.c:
	  In the aftermath of Bug#1650, I went through most of the
	  configuration directive handlers, looking for similar possible
	  mergedown bugs.  I corrected the lurking mergedown bugs I saw,
	  and fixed other cases where merging down was inappropriately
	  being requested.  More cleanup and code consolidation is
	  possible, and indeed recommended.

2002-06-21 12:36  castaglia

	* modules/mod_core.c:
	  Fixed instance of pstrcat() call that did not properly have NULL
	  as the last argument.

2002-06-21 11:54  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#1650 - LsDefaultOptions doesn't work inside anon context

2002-06-20 17:40  castaglia

	* NEWS, modules/mod_ls.c:
	  Bug#1647 - Unnecessary use of umode_t in mod_ls

2002-06-14 09:41  jwm

	* Makefile.in:
	  these symlinks aren't needed

2002-06-14 09:36  jwm

	* contrib/mod_ldap.c:
	  LDAPHomedirOnDemand cleanup/fixes

2002-06-14 09:19  castaglia

	* Makefile.in:
	  Added .cvsignore files to the list of files cleaned up by 'make
	  distclean'

2002-06-14 08:55  jwm

	* doc/: API, development.notes:
	  removing old cruft

2002-06-12 12:11  castaglia

	* modules/mod_ls.c:
	  Corrected spacing

2002-06-11 10:13  castaglia

	* configure:
	  Updated configure script for LFS support detection.

2002-06-11 10:09  castaglia

	* NEWS, config.h.in, configure.in, include/conf.h, include/data.h,
	  include/log.h, include/proftpd.h, include/support.h,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_xfer.c, src/data.c, src/log.c, src/support.c:
	  Bug#1534 - Large File Support

2002-06-11 09:19  castaglia

	* configure:
	  Updated configure script

2002-06-11 09:18  castaglia

	* Make.rules.in, NEWS, config.h.in, configure.in,
	  include/libsupp.h, include/proftpd.h, lib/glibc-mkstemp.c,
	  modules/mod_core.c, modules/mod_xfer.c, src/data.c:
	  Bug#1258 - STOU not implemented

2002-06-11 08:34  castaglia

	* NEWS, src/auth.c:
	  Bug#1463 - Add auth handler dispatch reporting at new debug level
	  (level 6)

2002-06-11 07:54  castaglia

	* src/main.c:
	  Removed relic function prototype (not needed).

2002-06-11 07:49  castaglia

	* NEWS, include/options.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_ls.c, modules/mod_xfer.c, src/dirtree.c, src/log.c,
	  src/main.c, src/pool.c:
	  Bug#1556 - Signal handlers use unsafe functions

2002-06-11 07:36  castaglia

	* NEWS, include/dirtree.h, include/modules.h, modules/mod_core.c,
	  src/dirtree.c, src/main.c, src/modules.c, src/proftpd.8:
	  Added Define, <IfDefine>, <IfModule> configuration directives, -D
	  command-line option

2002-06-11 07:30  castaglia

	* NEWS, include/version.h, modules/mod_xfer.c, src/data.c:

	  Bug#1407 - ftp protocol differences

2002-06-08 19:55  castaglia

	* NEWS: Fixed version number.  Sheesh.

2002-06-08 19:40  castaglia

	* ChangeLog:
	  Updated ChangeLog

2002-06-08 19:38  castaglia

	* NEWS, contrib/mod_sql.c, contrib/mod_sql_mysql.c,
	  include/version.h:

	  Bug#1379 - Replace bzero/bcopy with memset/memcpy Bug#1576 -
	  SQLHomedirOnDemand segfaults in certain circumstances Bug#1586 -
	  Bad row count assumption in _sql_getgroup() Bug#1625 - Compile
	  problem with mod_sql module

	  Preparing for release of 1.2.5 (stable).

2002-06-06 09:14  castaglia

	* NEWS, contrib/mod_sql.c:

	  Added the mod_sql-4.08 from Andrew's site

2002-05-30 14:09  castaglia

	* NEWS:

	  Updated NEWS

2002-05-30 13:13  castaglia

	* include/version.h:

	  Damn, I forgot to update this file.

2002-05-30 13:07  castaglia

	* ChangeLog:

	  Updating ChangeLog

2002-05-30 09:22  castaglia

	* NEWS, contrib/xferstats.holger-preiss:

	  Bug#1394: ftpstats program is not working, cust says "There was
	  no data to	       process."

2002-05-30 09:06  jwm

	* contrib/mod_ldap.c:
	  a few memory management fixes

2002-05-28 18:09  jwm

	* doc/rfc/: draft-ietf-ftpext-mlst-12.txt,
	  draft-ietf-ftpext-mlst-15.txt:
	  new version of mlst draft. the changes don't appear to change
	  anything we currently implement.

2002-05-26 19:31  jwm

	* contrib/: README.ratio, mod_ratio.c:
	  new mod_ratio from James Dogopoulos

2002-05-22 10:08  flyhmstr

	* doc/Configuration.html: ML: replacing the directive guide

2002-05-21 13:47  castaglia

	* NEWS, contrib/mod_readme.c, include/data.h, include/dirtree.h,
	  include/fs.h, include/ident.h, include/inet.h, include/io.h,
	  include/libsupp.h, include/log.h, include/modules.h,
	  include/pool.h, include/proftpd.h, include/sets.h,
	  include/support.h, include/timers.h, lib/glibc-glob.c,
	  modules/mod_auth.c, modules/mod_core.c, modules/mod_log.c,
	  modules/mod_ls.c, modules/mod_pam.c, modules/mod_site.c,
	  modules/mod_unixpw.c, modules/mod_xfer.c, src/data.c,
	  src/dirtree.c, src/fs.c, src/inet.c, src/io.c, src/log.c,
	  src/main.c, src/modules.c, src/pool.c, src/support.c,
	  src/timers.c, src/utils.c:

	  Bug#1379 - Replace bzero/bcopy with memset/memcpy Bug#1521 -
	  Function prototype cleanup

2002-05-21 11:59  castaglia

	* NEWS, src/timers.c:

	  Bug#1627 - Sessions not timing out

2002-05-21 11:29  castaglia

	* configure:

	  TJ: updated configure script to match configure.in (necessary
	  delay in     commits *sigh*)

2002-05-21 11:26  castaglia

	* configure.in:

	  TJ: changing configure script to check for $Libraries$ line in
	  mod_<name>.h	   files, if present, as well as mod_<name>.c files
	  (which are currently	   scanned)

2002-05-19 13:50  castaglia

	* NEWS, modules/mod_xfer.c:

	  TJ: Bug#1595 - ProFTPD closes connection when accessed from Lynx
	  browser

2002-05-19 13:45  castaglia

	* NEWS, include/proftpd.h, src/log.c, src/main.c:

	  TJ: Bug#1612 - missing/broken ident logging

2002-05-19 07:38  jwm

	* contrib/dist/rpm/proftpd.spec.in:
	  oops, that wasn't ready for commit yet. reverting to 1.12.

2002-05-19 07:35  jwm

	* Makefile.in, contrib/mod_ldap.c,
	  contrib/dist/rpm/proftpd.spec.in:
	  #1626 - install_user is not used everywhere

2002-05-18 08:06  jwm

	* contrib/dist/rpm/ftp.pamd:
	  language cleanup/clarification

2002-05-18 07:59  jwm

	* contrib/dist/rpm/proftpd.init.d:
	  cleanup

2002-05-18 07:48  jwm

	* contrib/dist/rpm/proftpd.spec.in:
	  fixing a typo (' -> `)

2002-05-15 05:55  jwm

	* contrib/mod_ldap.c:
	  2.8.4: fix for segfaults when optional arguments are omitted from
	  LDAPDoGIDLookups directive

2002-05-13 07:07  castaglia

	* ChangeLog:

	  TJ: latest ChangeLog

2002-05-13 07:05  castaglia

	* NEWS, include/version.h:

	  TJ: updated NEWS, version.h with date of 1.2.5rc2 release

2002-05-12 22:16  castaglia

	* configure:

	  TJ: here's the new configure to go with the configure.in

2002-05-12 22:15  castaglia

	* configure.in:

	  TJ: being pedantic, changing the order of functions check to be
	  alphabetical.      Also, I need to check configure.in separately
	  from, and before, configure.	    This is so that when users
	  download from CVS, and run ./configure && make,      the make
	  program's check of the timestamp on configure.in shows an
	  earlier date on configure.in than on configure (if both
	  configure.in and	configure are checked into CVS
	  simultaneously, they will have the same      timestamps, and make
	  will cause the configure script to be run again).	 What a
	  pain.

2002-05-12 22:03  castaglia

	* configure.in:

	  TJ: updated configure.in's copyright information

2002-05-12 16:22  castaglia

	* contrib/README.mod_wrap:

	  TJ: updated README for mod_wrap-1.2.3.

2002-05-12 15:43  castaglia

	* CREDITS:

	  TJ: updated PGP key fingerprint

2002-05-12 14:02  flyhmstr

	* doc/: Configuration.html, faq.html: ML: updated directive list
	  and FAQ for rc2

2002-05-12 13:48  castaglia

	* config.h.in, configure, configure.in, include/io.h,
	  include/proftpd.h, modules/mod_xfer.c:

	  TJ: Added missing checks for functions/headers to configure,
	  needed/used by     include/glibc-glob.c.  Also made small
	  amendments to code (volatility     of flag variables and minor
	  spacing).

2002-05-11 06:49  flyhmstr

	* doc/Configuration.html: ML: updated directive list

2002-05-11 02:55  flyhmstr

	* CREDITS, NEWS: ML: updated NEWS and CREDITS

2002-05-11 02:26  flyhmstr

	* NEWS: ML: news update

2002-05-11 02:25  flyhmstr

	* doc/faq.html: ML: adding new format FAQ

2002-05-10 13:14  castaglia

	* NEWS:

	  Bug#1580 - RPM can't be built by non-root user

2002-05-10 13:08  castaglia

	* contrib/dist/rpm/proftpd.spec.in:

	  Bug#1580 - RPM can't be built by non-root user

2002-05-10 10:59  flyhmstr

	* CREDITS, NEWS: ML: updated credits and news

2002-05-10 10:53  castaglia

	* NEWS, configure, configure.in:

	  Bug#1546 - PF_ARGV_WRITABLE, PF_ARGV_WRITEABLE are used mixed.

2002-05-10 10:28  castaglia

	* NEWS, modules/mod_core.c, src/dirtree.c:

	  Bug#1608 - src/dirtree.c produces two unnecessary warnings
	  Bug#1610 - compiling mod_core.c gives an unneeded/dazzling msg

2002-05-10 10:04  flyhmstr

	* NEWS: ML: updating NEWS

2002-05-10 09:52  flyhmstr

	* include/ftp.h: ML: updating licence

2002-05-10 09:50  flyhmstr

	* doc/: Changes-1.2.0pre3, FAQ-config.html, Undocumented.txt,
	  license.txt, mod_sample.c:
	  ML:	Removed legacy files   The FAQ is removed because it's
	  superceed by the main FAQ.

	    Updated the base licence text with additional copyright info,
	    consistancy typo and the SSL exclusion clause.

2002-05-10 06:00  jwm

	* NEWS:
	  updating for mod_ldap 2.8.3 release

2002-05-10 06:00  jwm

	* ChangeLog:
	  updating changelog

2002-05-10 05:51  jwm

	* contrib/mod_ldap.c:
	  updating to 2.8.3

2002-05-10 05:49  jwm

	* README.LDAP:
	  new mod_ldap README

2002-05-10 01:05  castaglia

	* src/: ident.c, inet.c:

	  TJ: dealing with consequences of Bug#1588 fix, which happens to
	  affect     identd lookups.  Hopefully these changes clear up any
	  remaining	difficulties while still retaining the efficacy of
	  Bug#1588's patch.

2002-05-09 15:59  castaglia

	* src/ident.c:

	  TJ: cleaned up get_ident(), adding proper
	  cleanup/resource-freeing code     at various exit points from the
	  function

2002-05-09 14:29  castaglia

	* src/ident.c:

	  TJ: fixed get_ident() to check for NULL return value from
	  inet_openrw();     this was causing segfaults in the case where
	  an identd server was not     returning a response

2002-05-09 13:42  castaglia

	* src/main.c:

	  TJ: mistakenly changed default setting of IdentLookups to "off"
	  with prior	 changes, setting default back to "on"

2002-05-09 13:15  castaglia

	* modules/mod_auth.c, modules/mod_core.c, src/main.c, src/timers.c:


	  TJ: fixed remove_timer() call to check for NULL timers list
	  before cycling       through the list     changed IdentLookups
	  handler to use pointers (and thus avoid compiler	 warnings
	  about typecasts)     minor reformatting

2002-05-09 10:42  castaglia

	* NEWS:

	  TJ: updated NEWS

2002-05-09 10:36  castaglia

	* configure, configure.in, include/log.h, include/modules.h,
	  include/privs.h, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_unixpw.c, src/dirtree.c, src/main.c:

	  #1544 - Daemon does not switch to configured User/Group identity
	  in	     <VirtualHost> as documented #1581 - uid_t and
	  get_param_int result size

2002-05-08 13:55  flyhmstr

	* NEWS: ML: news update

2002-05-08 13:51  flyhmstr

	* doc/Configuration.html: ML: adding new version of the directive
	  list

2002-05-08 13:50  flyhmstr

	* doc/Configuration.html: ML: removing old version of directive
	  list

2002-05-08 13:34  castaglia

	* ChangeLog:

	  Updated ChangeLog

2002-05-08 12:44  castaglia

	* NEWS:

	  TJ: added NEWS entries for recently committed patches for
	  (fixed?) bug	   reports

2002-05-08 12:21  castaglia

	* modules/mod_auth.c, src/dirtree.c, src/inet.c, src/main.c,
	  src/pool.c:

	  #1523 - "Umask" presented in <Global> block messes up file
	  permissions #1566 - FXP not working properly #1578 - RootLogin
	  directive does not mergedown properly

2002-05-08 11:39  castaglia

	* contrib/dist/rpm/proftpd.init.d, modules/mod_auth.c,
	  modules/mod_core.c, src/dirtree.c, src/inet.c:

	  #1563 - Proftpd 1.2.4. keeps core dumping sig11 on start #1567 -
	  AuthAliasOnly parsed incorrectly #1570 - MasqueradeAddress
	  contexts do not match documentation #1579 - Contrib init.d script
	  makes inappropriate use of ftpshut #1588 - Port scan of TCP/21
	  causes segmentation fault #1601 - Rename terminates ProFTPD
	  (signal 11)

2002-03-06 08:56  flood

	* ChangeLog: Updated ChangeLog.

2002-03-06 08:56  flood

	* NEWS, doc/Configuration.html, modules/mod_core.c, src/main.c:
	  #1445: PID file contents change when attempting to start
	  the daemon a second time #1539: losing SGID bit on created
	  directories w/ {User,Group}Owner	  in effect #1537: doc
	  update

2002-02-28 18:49  flood

	* src/log.c: possible sigsegv introduced by patch for bug 1520

2002-02-28 11:43  flood

	* NEWS, src/dirtree.c: #1468 - segfault with empty .ftpaccess

2002-02-28 11:32  flood

	* ChangeLog: Updated ChangeLog.

2002-02-28 11:30  flood

	* NEWS, doc/Configuration.html, include/privs.h, lib/getopt.c,
	  lib/getopt.h, lib/getopt1.c, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_unixpw.c, src/dirtree.c,
	  src/main.c, src/support.c: #1459 - server fails to send response
	  in some cases #1533 - use memset correctly #1517 - doc update
	  #1461 - modules/mod_unixpw.c pw_getgroups() makes dangerous
	  assumption #1512 - Minor credentials cleanups #1516 - wrong
	  response to CDUP/XCUP/XCWD #1451 - add_config_param_str() no
	  longer uses permanent_pool #1523 - umask allocation in <Global>
	  moved to permanent_pool #1380 - updated getopt library for
	  Tru64/AIX

2002-02-28 11:13  flood

	* NEWS, doc/Configuration.html, include/dirtree.h, include/log.h,
	  lib/pwgrent.c, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_log.c, modules/mod_xfer.c, src/dirtree.c, src/log.c:
	  #1476 doc updates #1520 security checks for TransferLogs #1435
	  AccessDenyMsg for <Anonymous> not working #1492 Bad interaction
	  between HiddenStor and UserOwner #1493 incorrect parsing of
	  AuthUserFile #1485 Adds CF_MERGEDOWN_MULTI config_rec flag

2002-02-26 09:35  flood

	* NEWS, include/glibc-glob.h, lib/glibc-glob.c, modules/mod_auth.c,
	  src/data.c, src/dirtree.c, src/fs.c, src/inet.c, src/log.c,
	  src/main.c, src/support.c: #1378 Replace alloca stuff in
	  glibc-glob.c with something more standard #1498 <Limit LOGIN>
	  block failing with mod_ldap #1381 include/glibc-glob.h fix for
	  Tru64 UNIX #1465 can't bind to port that hasn't been closed by
	  forked child	     process #1379 replace bzero/bcopy with
	  memset/memcpy

2002-02-14 08:50  flood

	* NEWS, contrib/ftpasswd, contrib/ftpasswd.html: added
	  contrib/ftpasswd utility script (contributed by TJ)

2002-02-14 08:39  flood

	* NEWS, contrib/INSTALL.mod_wrap, contrib/README.mod_wrap,
	  contrib/genuser.pl, contrib/mod_wrap.c, contrib/mod_wrap.html:
	  New mod_wrap (1.2.3) removed contrib/genuser.pl (per TJ)

2002-01-23 16:22  flood

	* ChangeLog: Updated ChangeLog.

2002-01-23 16:21  flood

	* NEWS, src/data.c, src/dirtree.c, src/timers.c: #1318 sendfile()
	  semantics incorrect under Linux #1450 Timers removed
	  immediately/alarm() return no longer used for timing #1446
	  DefaultServer overrides SocketBindTight

2001-12-18 08:21  flood

	* ChangeLog: Updated ChangeLog.

2001-12-18 08:21  flood

	* NEWS, include/version.h: bumped version

2001-12-18 08:14  flood

	* NEWS, doc/Configuration.html, modules/mod_ls.c: New Directive:
	  UseGlobbing, allows glibc-based filepath globbing to be disabled.

2001-12-17 12:39  flood

	* ChangeLog: Updated ChangeLog.

2001-12-17 12:39  flood

	* ChangeLog, NEWS, modules/mod_xfer.c: - Check retr_file for
	  validity when RESToring

2001-12-17 12:36  flood

	* NEWS, modules/mod_xfer.c: - Bug 1391 - ABOR handler now clears
	  session.xfer

2001-12-17 12:07  flood

	* NEWS, modules/mod_ls.c, modules/mod_xfer.c, src/data.c: - Bug
	  1392 - Added LOG_CMD_ERR cleanup handler for LIST/NLST/RETR/
		  STOR/APPE/STOU, to defer clearing of transfer counters.

2001-12-17 09:58  flood

	* NEWS, README.LDAP, contrib/mod_ldap.c: New mod_ldap (2.8.1)

2001-12-13 12:37  flood

	* ChangeLog: Updated ChangeLog.

2001-12-13 12:35  flood

	* NEWS, configure, configure.in, doc/Configuration.html,
	  include/modules.h, include/support.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_pam.c, modules/mod_unixpw.c, modules/mod_xfer.c,
	  src/auth.c, src/dirtree.c, src/fs.c, src/inet.c, src/main.c,
	  src/support.c, src/timers.c: - Bug 1364 - Immediate chown() after
	  file creation - Bug 1415 - Change allowed contexts for Include -
	  Bug 1430 - Possible bad handling of Directory contexts - Bug 1426
	  - sigsegv on `ls ///////////' - Bug 1360 - Add getgroups
	  abstraction for auth modules - Bug 1289 - Increase information
	  passed to timer callbacks - Bug 1341 - Bad tracking of forked
	  processes - Bug 1400 - Improper use of MODRET_HASDATA macro - Bug
	  1416 - PidFile in <Global> context is unnecessary, even wasteful
	  - Bug 1429 - Trivial fixes to dispatch reporting - Bug 1419 -
	  Remove unnecessary colons from PRIVS_ macros - Bug 1418 - Slight
	  change to exithandler handling to allow module
	  finalization slot

2001-12-13 08:15  flood

	* contrib/mod_sql.h: forgot to add contrib/mod_sql.h in previous
	  commit

2001-11-30 09:34  flood

	* ChangeLog: updated ChangeLog

2001-11-30 09:34  flood

	* NEWS, README.mod_sql, contrib/UPGRADE.mod_sql, contrib/mod_sql.c,
	  contrib/mod_sql_mysql.c, contrib/mod_sql_postgres.c,
	  sample-configurations/mod_sql.conf: new mod_sql (4.07)

2001-11-29 10:54  flood

	* NEWS, include/dirtree.h, modules/mod_core.c, src/dirtree.c,
	  src/main.c, src/support.c: #1396 DenyFilter works only in server
	  config scope #1410 SIGIO now conditionally compiled #1281
	  Improper checking of server context

2001-11-29 10:20  flood

	* ChangeLog: updated ChangeLog

2001-11-29 10:20  flood

	* NEWS, include/modules.h, modules/mod_core.c, src/dirtree.c,
	  src/main.c: #1368 umask bug hopefully squashed for good #1389
	  fixed hang on PWD #1355 added POST_CMD_ERR handler to API

2001-11-08 09:30  flood

	* NEWS, configure, configure.in: #1113-Make.rules for HPUX
	  incorrectly generated

2001-11-08 09:28  flood

	* NEWS, contrib/README.mod_wrap, contrib/mod_wrap.c: new mod_wrap
	  (1.2.2) from tj

2001-11-08 09:24  flood

	* NEWS, modules/mod_auth.c: #1334-MaxClients none forbids connect

2001-10-19 08:31  flood

	* ChangeLog: Updated ChangeLog.

2001-10-19 08:28  flood

	* include/version.h: 1.2.4

2001-10-19 08:27  flood

	* NEWS, modules/mod_core.c, src/dirtree.c: 1348-umask argument not
	  stored correctly

2001-10-18 10:13  flood

	* ChangeLog: Updated ChangeLog

2001-10-18 10:13  flood

	* NEWS, include/version.h: 1.2.3-release

2001-10-18 10:11  flood

	* ChangeLog: Updated ChangeLog.

2001-10-18 10:10  flood

	* NEWS, doc/Configuration.html, modules/mod_core.c,
	  modules/mod_log.c, modules/mod_site.c, src/main.c:
	  1344-ExtendedLog now logs QUIT command 1332-Doc patch 1335-Doc
	  patch 1334-Max* none fix 1343-better reporting of command
	  dispatching 1242-more verbose logging of regex

2001-10-18 09:51  flood

	* NEWS, src/dirtree.c: #1247 - Fix Allow/Deny boolean logic.

2001-09-26 08:35  flood

	* NEWS, modules/mod_core.c: #1327 AllowForeignAddress mergedown

2001-09-26 08:34  flood

	* NEWS, include/dirtree.h, modules/mod_core.c, src/dirtree.c: #1280
	  datatype fixups

2001-09-26 08:32  flood

	* NEWS, modules/mod_ls.c: #1311 - sigsegv under DirFake* directives

2001-09-26 08:00  flood

	* NEWS, include/conf.h: #1305 - limits.h now included

2001-09-26 07:58  flood

	* NEWS, src/inet.c: #1331 - forward-resolve reverse dns

2001-08-24 10:33  flood

	* src/main.c: patched to not display PASS password on proctitle

2001-08-17 08:43  flood

	* ChangeLog: Updated ChangeLog.

2001-08-17 08:43  flood

	* NEWS, include/version.h: 1.2.2-final

2001-08-16 13:00  flood

	* include/conf.h: Double license in header conf.h

2001-08-16 12:58  flood

	* ChangeLog: Updated ChangeLog.

2001-08-16 12:58  flood

	* ChangeLog, NEWS, contrib/mod_test.c, doc/Configuration.html:
	  Updated docs, moved mod_test.c to attic

2001-08-16 12:54  flood

	* NEWS, modules/mod_ls.c, modules/mod_xfer.c, src/support.c: 1273 -
	  DirFakeGroup merges down 1286 - mod_ls displays set[ug]id bits
	  1266 - APPE could corrupt files 1278 - access_check() does not
	  set errno properly

2001-08-16 11:54  flood

	* NEWS, contrib/mod_sql.c: new mod_sql

2001-08-01 08:18  flood

	* ChangeLog: Updated ChangeLog.

2001-08-01 08:18  flood

	* NEWS, README.mod_sql: README.mod_sql update from author

2001-08-01 08:17  flood

	* INSTALL, NEWS, contrib/mod_quota.c, doc/Configuration.html,
	  modules/mod_ls.c, src/xferlog.5: #1187 Upstream update to
	  mod_quota #1217,1262,1111,1216 Documentation updates #1145
	  DirFakeUser now applies to STAT as well as LIST/NLST

2001-08-01 08:03  flood

	* NEWS, include/proftpd.h, modules/mod_core.c, modules/mod_xfer.c,
	  src/dirtree.c, src/main.c: #1219 - gcc 3.0 fix #1232 - UserOwner
	  changes both uid and gid

2001-07-04 08:28  flood

	* ChangeLog: Updated ChangeLog.

2001-07-04 08:28  flood

	* NEWS, src/log.c: #1230 - size mismatch struct utmpx in Solaris 8
	  (sparcv9)

2001-07-03 07:51  flood

	* NEWS, modules/mod_auth.c: #1098 - Non~* DefaultRoot bug

2001-07-03 07:49  flood

	* NEWS, modules/mod_xfer.c: #1234 ABOR must always return 226

2001-07-02 11:56  flood

	* NEWS, contrib/mod_sql.c: New mod_sql

2001-06-19 18:23  flood

	* ChangeLog: Updated ChangeLog.

2001-06-19 18:23  flood

	* NEWS, include/version.h: Bump version, final commit for 1.2.2rc3

2001-06-19 18:19  flood

	* NEWS, src/main.c: #1215 - Removes setpgid from fork_server

2001-06-19 18:17  flood

	* NEWS, modules/mod_ls.c: #1145 - DirFakeUser can display currently
	  logged in user

2001-06-19 18:13  flood

	* NEWS, doc/Configuration.html: #1164,1020,1134,1190,1207 - Doc
	  updates

2001-06-19 11:51  flood

	* NEWS, src/data.c: #1210 Possible silent truncation in net-ascii
	  mode

2001-06-18 11:02  flood

	* NEWS, modules/mod_ls.c, src/dirtree.c: #1212 Special files in
	  directory listings

2001-06-18 10:40  flood

	* ChangeLog: Updated ChangeLog.

2001-06-18 10:39  flood

	* NEWS, modules/mod_core.c: #1189 Directory dups allowed in
	  Anonymous

2001-06-18 10:35  flood

	* NEWS, modules/mod_auth.c, modules/mod_core.c, modules/mod_ls.c,
	  src/dirtree.c, src/fs.c, src/main.c, src/support.c: #1155 - non
	  rfc behavior #1193 ~ files not handled correctly #1203 - '!' ACL
	  negation logic changed #1161 - %F displays free space on CWD
	  #1151 - <Limit> searching fix for Anon/Vhost root

2001-06-18 10:13  flood

	* ChangeLog: Updated ChangeLog.

2001-06-18 10:12  flood

	* NEWS, contrib/mod_linuxprivs.c, include/conf.h, include/data.h,
	  include/default_paths.h, include/dirtree.h, include/fs.h,
	  include/ident.h, include/inet.h, include/io.h, include/libsupp.h,
	  include/log.h, include/modules.h, include/options.h,
	  include/pool.h, include/privs.h, include/proftpd.h,
	  include/sets.h, include/support.h, include/timers.h,
	  modules/mod_auth.c, modules/mod_core.c, modules/mod_log.c,
	  modules/mod_ls.c, modules/mod_pam.c, modules/mod_site.c,
	  modules/mod_unixpw.c, modules/mod_xfer.c, src/auth.c, src/data.c,
	  src/dirtree.c, src/fs.c, src/ftpcount.c, src/ftpshut.c,
	  src/ftpwho.c, src/ident.c, src/inet.c, src/io.c, src/log.c,
	  src/main.c, src/modules.c, src/pool.c, src/sets.c, src/support.c,
	  src/timers.c, src/utils.c: Updated Copyright/License to allow
	  linking to OpenSSL

2001-06-03 08:17  flood

	* ChangeLog: Updated ChangeLog.

2001-06-03 08:17  flood

	* NEWS, modules/mod_auth.c, modules/mod_core.c, src/main.c: #1185 -
	  homedir symlink dereference #1189 - duplicated <Directory>
	  contexts not allowed #1183 - removed redundant find_class()

2001-06-03 06:38  flood

	* NEWS, contrib/xferstats.holger-preiss,
	  contrib/dist/rpm/proftpd.init.d, include/glibc-glob.h,
	  modules/mod_core.c, src/main.c: #1201 - Feature addition to
	  contrib/xferstats.holger-preiss #1132 - glibc2.0 compilation
	  #1090 - ExtendedLog not reporting errors on all events #1149 -
	  Modification in rpm init script

2001-05-31 09:08  flood

	* ChangeLog: Updated ChangeLog.

2001-05-31 09:08  flood

	* NEWS, README.mod_sql, contrib/mod_sql.c, contrib/mod_sql_mysql.c,
	  contrib/mod_sql_postgres.c: New mod_sql and friends

2001-05-21 14:15  flood

	* ChangeLog: Updated ChangeLog.

2001-05-21 14:14  flood

	* NEWS, contrib/mod_readme.c, include/conf.h, modules/mod_core.c,
	  modules/mod_readme.c: Bug 1175 - GNU HURD portability Bug 1177 -
	  mod_readme.c moved to contrib/ Bug 1176 - PWD/XPWD now G_DIRS and
	  limitable

2001-05-21 13:48  flood

	* NEWS, lib/glibc-glob.c: Bug 1155 - conditional HPUX headers in
	  glibc-glob.c

2001-05-16 20:22  flood

	* ChangeLog: Updated ChangeLog

2001-05-16 20:22  flood

	* NEWS, include/proftpd.h, lib/getopt.c, lib/pr_fnmatch.c,
	  lib/pr_fnmatch_loop.c, modules/mod_auth.c, src/inet.c,
	  src/main.c: #1156 - usernames w/ spaces #1160 - svr4.2mp;UX/4800
	  has bsd root socket semantics #1168 - cleanup #1169 -
	  DefaultRoot/DefaultChdir no longer mutually exclusive #1170 -
	  cleanup #1172 - cleanup

2001-05-16 07:35  flood

	* NEWS, src/inet.c: Bug #1152 - integer array overflow w.r.t.
	  PassivePorts

2001-04-23 20:36  flood

	* NEWS, modules/mod_ls.c: Bug 1137 - NLST displayed hidden files

2001-04-23 11:18  flood

	* NEWS: Final NEWS update for 1.2.2rc2 (old)

2001-04-20 08:20  flood

	* ChangeLog: Updated ChangeLog.

2001-04-20 08:20  flood

	* NEWS, include/version.h, src/main.c: Bug 1112 - removed in_addr
	  cast for better compilation on IRIX 6.2.

2001-04-20 05:31  flood

	* NEWS, modules/mod_site.c: Log warning when AllowChmod is used.

2001-04-18 08:45  flood

	* src/data.c: Ooops.  sendfile() Linux subtraction was backwards.
	  ;)

2001-04-18 08:40  flood

	* ChangeLog: Updated ChangeLog.

2001-04-18 08:40  flood

	* NEWS, src/data.c: Bug #1128 - Incorrect sendfile() semantics.

2001-04-13 11:32  flood

	* modules/mod_core.c: Fixed sigsegv on SITE bug, only in cvs
	  versions.

2001-04-11 13:20  flood

	* modules/mod_log.c, src/dirtree.c, src/log.c: small fixes to dr's
	  case insensitivity patch.  case sensitivity is actually required
	  in some places. ;)

2001-04-11 12:10  flood

	* NEWS, lib/glibc-glob.c, src/main.c: Bug 1119 - IRIX6 fix for
	  glibc-glob.c Bug 1090 - logging now works with PRE_CMD failed
	  handlers

2001-04-11 12:00  flood

	* ChangeLog: Updated ChangeLog.

2001-04-11 12:00  flood

	* src/dirtree.c: MasqueradeAddress now prints LOG_INFO message.

2001-04-11 11:57  flood

	* NEWS, contrib/mod_quota.c, include/log.h, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_unixpw.c, src/dirtree.c, src/ftpcount.c,
	  src/ftpshut.c, src/log.c: Bug #1093 - world writable
	  log/symlinked log files Bug #1094 - Auth{User,Group}File disallow
	  relative paths Bug #1096 - Case insensitivity/RLimit* args

2001-03-26 19:12  flood

	* ChangeLog: Updated ChangeLog.

2001-03-26 19:12  flood

	* doc/Configuration.html: Bugs #1088, 1058 & 1041 - Doc updates for
	  1.2.2.

2001-03-26 18:57  flood

	* NEWS: Updated NEWS version

2001-03-24 07:59  flood

	* ChangeLog: Final commit for 1.2.2rc1.

2001-03-24 07:59  flood

	* include/version.h: Bumped version number to 1.2.2rc1.

2001-03-24 07:56  flood

	* ChangeLog: Updated ChangeLog.

2001-03-24 07:56  flood

	* NEWS, modules/mod_auth.c: Bug #1085: better logging of two auth
	  messages in mod_auth.

2001-03-24 07:46  flood

	* NEWS, doc/Configuration.html, modules/mod_xfer.c: Bug #1043:
	  Possible inf. loop in throttle code.	Bug #1074: Doc fixes Bug
	  #1070: Doc fixes

2001-03-23 05:17  flood

	* NEWS, README.mod_sql, contrib/mod_sql.c, contrib/mod_sql_mysql.c,
	  include/proftpd.h, modules/mod_core.c, src/dirtree.c, src/main.c:
	  Bug #1075 - Fix for short copy of sub-contexts from <Global> New
	  mod_sql and mod_sql docs from maintainer New RLimit* directives
	  used to control resource limits

2001-03-23 04:54  flood

	* modules/mod_core.c, src/auth.c, src/main.c: Slightly better
	  handling of uid/gid type casts and conversions.

2001-03-22 13:43  flood

	* NEWS, modules/mod_auth.c: Bug #1049 - passwd/group files are now
	  close/re-opened at USER/PASS.

2001-03-22 12:56  flood

	* src/dirtree.c: Added debugging to umask code.

2001-03-21 16:12  flood

	* include/glibc-glob.h: glibc glob header should now be more
	  portable

2001-03-17 12:34  flood

	* Make.rules.in, NEWS, acconfig.h, config.h.in, configure,
	  configure.in, include/conf.h, include/glibc-glob.h,
	  include/libsupp.h, lib/glibc-glob.c, lib/glob.c, lib/glob.h,
	  src/fs.c: Bug #1066 - new GNU glob which protects against DoS
	  attacks.

2001-03-12 16:23  flood

	* ChangeLog: Updated ChangeLog.

2001-03-12 16:22  flood

	* contrib/mod_sql.c: New mod_sql from maintainer.

2001-03-11 06:23  flood

	* ChangeLog: Updated ChangeLog.

2001-03-11 06:23  flood

	* NEWS, modules/mod_core.c, src/main.c: Added MasqueradeAddress
	  feature.

2001-03-09 10:49  flood

	* NEWS, modules/mod_auth.c, modules/mod_core.c: Bug #1044 - New
	  directive: AccessDenyMsg

2001-03-09 10:16  flood

	* src/main.c: Bug #1056 (second part) - SIGSEGV is no longer
	  handled when inside the SIGSEGV handler.

2001-03-09 08:14  flood

	* NEWS, src/ftpcount.c: Bug #1055 - ftpwho/ftpcount scan
	  proftpd.conf for scoreboard path.

2001-03-09 05:54  flood

	* NEWS, config.h.in, configure, configure.in,
	  contrib/dist/rpm/proftpd.spec.in, src/ftpcount.1, src/ftpshut.8,
	  src/ftpwho.1, src/pool.c, src/proftpd.8, src/xferlog.5: Bug #1042
	  - Directory matching for / Bug #1051 - man pages reference
	  proftpd.net instead of .org New proftpd.spec.in from RPM
	  maintainer configure now tests for the limits.h header file

2001-03-01 08:00  flood

	* ChangeLog: Updated ChangeLog.

2001-03-01 08:00  flood

	* NEWS: New NEWS

2001-03-01 07:49  flood

	* ChangeLog: Updated ChangeLog.

2001-03-01 07:48  flood

	* README, README.mod_sql, README.ports: Updated READMEs.

2001-02-28 19:18  flood

	* NEWS, configure, configure.in, contrib/mod_sql.c,
	  contrib/mod_sql_mysql.c, include/version.h, modules/mod_core.c:
	  New mod_sql maintainer stuff.  Attempting to use classes without
	  "Classes On" emits a warning.

2001-02-28 15:01  flood

	* doc/rfc/draft-ietf-ftpext-mlst-08.txt,
	  doc/rfc/draft-ietf-ftpext-mlst-12.txt, include/pool.h,
	  modules/mod_auth.c, src/inet.c, src/pool.c: Bug #1037 - Fix for
	  netbsd sockets.  Bug #1039 - proper copying of session.groups New
	  MLST draft proposal

2001-02-28 09:07  flood

	* NEWS, configure, configure.in, modules/mod_xfer.c: Bug #1036 -
	  --disable-shadow now works.  More informative message for REST w/
	  HiddenStor.  Default CFLAGS changed from -O6 to -O2

2001-02-27 13:19  flood

	* contrib/: mod_ldap.c, mod_sql.c, dist/rpm/proftpd.spec.in:
	  Updated RPM spec (again) as well as new mod_ldap and mod_sql
	  contrib modules.

2001-02-27 11:20  flood

	* contrib/mod_sql.c, contrib/dist/rpm/proftpd.spec.in,
	  include/version.h: New RPM .spec and mod_sql.c

2001-02-26 12:14  flood

	* ChangeLog: Updated ChangeLog.

2001-02-26 12:13  flood

	* Makefile.in, NEWS, include/version.h: Final commit to 1.2.0-final
	  release

2001-02-26 09:59  flood

	* src/support.c: access_check() always succeeds for root now.

2001-02-26 09:50  flood

	* ChangeLog: Updated ChangeLog.

2001-02-26 09:50  flood

	* contrib/mod_ldap.c: New mod_ldap.c

2001-02-24 18:13  flood

	* contrib/mod_sql.c: Patch from mod_sql maintainer.

2001-02-24 16:40  flood

	* CREDITS, doc/Configuration.html: Bug #1034 - Final clean-up for
	  docs.  CREDITS - added Chuck

2001-02-23 20:11  flood

	* Makefile.in, configure, configure.in, contrib/README.mod_sql,
	  modules/mod_auth.c: Bug #1033 - access denied text fix Minor
	  tweaks to configure, updates distclean rule in Makefile

2001-02-23 19:53  flood

	* README.mod_sql, configure, configure.in, contrib/README.mod_sql,
	  contrib/mod_sql.c: Bug #1031 - update from mod_sql maintainer New
	  README.mod_sql configure no longer duplicates additional modules'
	  libraries.

2001-02-23 18:37  flood

	* ChangeLog: Updated ChangeLog.

2001-02-23 18:37  flood

	* CREDITS, README.mod_sql-3.0, contrib/README.mod_sql-3.0,
	  contrib/README.mod_sqlpw: Removed mod_sql docs per AAH.  New docs
	  will be added with more appropriate filenames.

2001-02-23 15:35  flood

	* CREDITS, README, README.ports, configure, configure.in,
	  contrib/mod_ratio.c, contrib/mod_sql.c,
	  contrib/mod_sql_postgres.c, lib/Makefile.in: Bug #1024 - minor
	  doc changes.	Bug #1025 - stop assuming the system has ranlib.
	  Bug #1028 - mod_sql_postgres.c patch from maintainer.  Bug #1029
	  - mod_sql.c patch from maintainer.  Bug #1030 - mod_ratio.c
	  should compile again.

2001-02-22 19:08  flood

	* ChangeLog: Updated ChangeLog.

2001-02-22 18:47  flood

	* NEWS, config.h.in, configure, configure.in, include/modules.h,
	  include/proftpd.h, modules/mod_auth.c, src/auth.c, src/dirtree.c,
	  src/main.c: Bug #259 - supplemental groups should now work better
	  for anonymous logins.

2001-02-22 16:59  flood

	* include/inet.h, src/inet.c, src/main.c: Bug #370 - race condition
	  under heavy load at child startup

2001-02-22 16:53  flood

	* contrib/mod_sql.c: New mod_sql 3.01 from Andrew Houghton
	  <aah@acm.org>

2001-02-22 16:36  flood

	* ChangeLog: Updated ChangeLog.

2001-02-22 16:35  flood

	* INSTALL, README, README.AIX, README.FreeBSD, README.modules,
	  README.ports, configure, configure.in, doc/Configuration.html,
	  sample-configurations/PFTEST.conf.in,
	  sample-configurations/PFTEST.group,
	  sample-configurations/PFTEST.install,
	  sample-configurations/PFTEST.passwd,
	  sample-configurations/PFTEST.shadow: Bug #1006 - Fixes in
	  configure.in	Bug #1022 - Docs updated for mod_sql. Bug #1024 -
	  Updated INSTALL, README and new READMEs and PFTEST files.

2001-02-22 15:32  flood

	* modules/mod_ls.c: Bug #1016 - Listing "." files should work again
	  + tweak to IgnoreHidden.

2001-02-22 14:39  flood

	* ChangeLog: Updated ChangeLog.

2001-02-22 14:39  flood

	* NEWS, include/dirtree.h, modules/mod_core.c, modules/mod_ls.c,
	  modules/mod_xfer.c, src/dirtree.c: Bug #1023 - Fix for
	  IgnoreHidden boolean patch problem introduced in rc2.

2001-02-21 20:51  flood

	* ChangeLog: Updated ChangeLog.

2001-02-21 20:51  flood

	* Make.rules.in, Makefile.in, include/.cvsignore,
	  include/version.h, modules/mod_unixpw.c, src/main.c: Build
	  timestamp is now reported at startup and with --version-status.
	  Removing includes from CFLAGS (CPPFLAGS is enough), changed
	  uid/gid cast from unsigned long long to unsigned long.

2001-02-21 18:48  flood

	* configure: configure needs a new timestamp :)

2001-02-21 18:44  flood

	* ChangeLog: Updated ChangeLog, re-ran autoconf

2001-02-21 17:48  flood

	* NEWS, src/log.c: Logging is now done with a single write()
	  syscall

2001-02-21 17:09  flood

	* modules/mod_core.c, src/main.c: Bug #1009 - FTP logins are now
	  logged to match logouts.

2001-02-21 14:33  flood

	* ChangeLog: Updated ChangeLog.

2001-02-21 14:33  flood

	* CREDITS, src/log.c: Bug #1021 - fix for ftpwho/ftpcount not
	  working (_pid_exists() in log.c)

2001-02-20 19:17  flood

	* modules/: mod_unixpw.c, mod_xfer.c: Bug #1015 - Format string for
	  long long uids.  REST command now returns failure message if used
	  where HiddenStor is enabled.

2001-02-20 18:40  flood

	* ChangeLog, NEWS: Updated NEWS

2001-02-20 18:33  flood

	* NEWS, doc/Configuration.html, include/ftp.h, modules/mod_xfer.c,
	  src/log.c: Bug #1003/1017 documentation fixes.  Bug #463 - no
	  longer possible to REST past the end of a file.
	  kill(pid,SIGCONT) in log.c switched to kill(pid,0)

2001-02-20 12:34  flood

	* configure, configure.in, include/version.h, src/main.c: Added
	  --version-status which displays extended version information.

2001-02-19 20:50  flood

	* src/main.c: Timeout and normal logout syslog messages are now
	  logged at LOG_INFO instead of LOG_NOTICE.

2001-02-19 19:26  flood

	* ChangeLog: Updated ChangeLog.

2001-02-19 19:26  flood

	* modules/mod_xfer.c: Bug #1012 - Fixed "Unable to throttle
	  bandwidth: Interrupted system call" issue.

2001-02-19 13:07  flood

	* README.mod_sql-3.0, contrib/README.mod_sql-3.0,
	  contrib/mod_sql.c, contrib/mod_sql_mysql.c,
	  contrib/mod_sql_postgres.c: Added AAH's newly-maintained mod_sql
	  3.0 back in to CVS.

2001-02-18 08:19  flood

	* ChangeLog: Updated ChangeLog.

2001-02-18 08:18  flood

	* contrib/dist/rpm/proftpd.spec.in: Bug #1005 - New RPM .spec.in
	  from droesen

2001-02-15 17:21  flood

	* ChangeLog: Updated ChangeLog.

2001-02-15 17:21  flood

	* modules/mod_core.c, src/dirtree.c: Bug #1008 - Port 21 is now
	  default w/out Port directive.

2001-02-15 06:24  flood

	* src/data.c: spurious #ifdef removed, sendfile() should compile
	  again

2001-02-13 20:13  flood

	* ChangeLog: Updated ChangeLog.

2001-02-13 20:12  flood

	* acconfig.h, config.h.in, configure, configure.in, src/data.c:
	  sendfile configure code fixed, HP/UX support for sendfile removed
	  because HP/UX's implementation is just plain wrong.  Might be
	  added back in 1.3.

2001-02-13 17:06  flood

	* ChangeLog: Updated ChangeLog.

2001-02-13 17:05  flood

	* modules/mod_xfer.c: Bug #462 - sendfile works again on freebsd

2001-02-12 19:05  flood

	* modules/mod_ls.c, src/dirtree.c: Bug #1007 - IgnoreHidden can now
	  be turned off.

2001-02-05 14:30  flood

	* ChangeLog: Updated ChangeLog.

2001-02-05 14:29  flood

	* CREDITS, INSTALL, NEWS, README, contrib/dist/rpm/proftpd.spec.in,
	  doc/Configuration.html: Minor doc changes

2001-02-05 11:48  flood

	* ChangeLog: Updated ChangeLog.

2001-02-05 11:48  flood

	* NEWS, contrib/README.mod_sqlpw, contrib/mod_mysql.c,
	  contrib/mod_pgsql.c, contrib/mod_sqlpw.c, contrib/mod_test.c,
	  modules/mod_tar.c, modules/mod_test.c: moved mod_tar.c,
	  mod_sqlpw.c, mod_mysql.c and mod_pgsql.c to attic, mod_test.c to
	  contrib/.  Adjusted README.sqlpw accordingly.

2001-02-05 11:37  flood

	* configure, configure.in, contrib/mod_ratio.c,
	  contrib/dist/rpm/proftpd.spec.in, modules/mod_auth.c,
	  modules/mod_xfer.c: Bug #279 - Correct use of sendfile. #29 -
	  updated rpm spec. #433 - initial .ftpaccess in cwd. #453
	  mod_ratio now uses new dir_check().  initgroups/getgroups use now
	  requires --enable-initgroups.

2001-02-05 10:28  flood

	* ChangeLog: Updated ChangeLog.

2001-02-05 10:28  flood

	* src/log.c: Bug #455 - SyslogLevel now works as documented.

2001-02-05 10:16  flood

	* README, configure, configure.in, lib/Makefile.in: Bug #293 -
	  Compilation under OSX.

2001-02-02 18:59  flood

	* src/data.c: Minor fixes to bug 399's patch. ;)

2001-02-02 15:12  flood

	* ChangeLog: Updated ChangeLog.

2001-02-02 15:11  flood

	* modules/mod_core.c: Bug #407 - Include pathnames must now be
	  absolute

2001-02-02 15:09  flood

	* include/options.h, modules/mod_xfer.c, src/data.c, src/fs.c,
	  src/io.c: Bug #399 - incorrect handling of CRs during ascii
	  transfers, also made default buffer size a macron in options.h:
	  TUNABLE_BUFFER_SIZE

2001-02-01 19:12  flood

	* CREDITS, INSTALL, NEWS: Updated minor documentation

2001-02-01 14:58  flood

	* ChangeLog: Updated ChangeLog.

2001-02-01 14:58  flood

	* include/version.h, src/auth.c: Bug #435 - uid/gid checking for
	  -1, updated version string to 1.2.0rc3

2001-02-01 11:52  flood

	* ChangeLog: Updated ChangeLog.

2001-02-01 11:52  flood

	* src/main.c: Bug #451 - check uid/gid after PRIVS_SETUP

2001-01-31 19:05  flood

	* modules/mod_pam.c: Bug #363 - mod_pam now handles blank usernames
	  and passwords without segfaulting.

2001-01-31 13:39  flood

	* ChangeLog: Updated ChangeLog.

2001-01-31 13:39  flood

	* configure, configure.in, modules/mod_xfer.c: Bug #35 - call
	  _aborT() funcs in exit handler.  sendfile() support is now
	  disabled by default, enable with --enable-sendfile

2001-01-31 12:52  flood

	* ChangeLog: Updated ChangeLog.

2001-01-31 12:51  flood

	* include/dirtree.h, modules/mod_core.c, modules/mod_ls.c,
	  modules/mod_xfer.c, src/dirtree.c: Bug #410 - IgnoreHidden fix
	  and cleanup/changes of hiding code.

2001-01-31 10:43  flood

	* modules/: mod_auth.c, mod_core.c, mod_unixpw.c: Bug #422 - fixed
	  handling of get_boolean() in config handles #410 - HideNoAccess
	  now takes boolean argument

2001-01-28 18:23  flood

	* ChangeLog: Updated ChangeLog.

2001-01-28 18:16  flood

	* contrib/mod_ldap.c: New mod_ldap.c from jwm@horde.net

2001-01-28 18:15  flood

	* ChangeLog: Updated ChangeLog.

2001-01-28 18:14  flood

	* modules/mod_core.c, src/dirtree.c: Bug #353 - Allows use of '!'
	  negation operator in Allow/Deny.

2001-01-28 16:26  flood

	* ChangeLog: Updated ChangeLog.

2001-01-28 16:23  flood

	* doc/Configuration.html, include/inet.h, modules/mod_core.c,
	  modules/mod_tar.c, modules/mod_test.c, src/inet.c, src/main.c:
	  Bug #188 - Removed use of NAME_MAX in mod_tar and mod_test.  #349
	  - Final implementation of PassivePorts.

2001-01-28 10:34  flood

	* ChangeLog: Updated ChangeLog.

2001-01-28 10:33  flood

	* modules/mod_core.c: Bug #436 - MaxClients* directives now merge
	  downward.

2001-01-28 10:25  flood

	* ChangeLog: Updated ChangeLog.

2001-01-28 10:25  flood

	* doc/Configuration.html, modules/mod_auth.c, modules/mod_unixpw.c,
	  src/main.c: Bug #350 - Enabling classes but not defining a class
	  no longer segfaults. #360 - Proftpd now logs if passwd/group
	  files cannot be opened. #417 - Command filter regexps no longer
	  apply to the PASS command.

2001-01-26 15:24  flood

	* ChangeLog: Updated ChangeLog.

2001-01-26 15:15  flood

	* modules/mod_core.c: Bug #390 - Added ifdef to regex code in
	  mod_core

2001-01-26 15:10  flood

	* contrib/dist/rpm/proftpd.init.d: Bug #347 - RPM problem in
	  contrib/

2001-01-26 15:06  flood

	* src/dirtree.c: Bug #397 - Fixed problem with incorrect config
	  file line count

2001-01-26 14:30  flood

	* src/support.c: Bug #441 - off-by-one error when reading month
	  from /etc/shutmsg

2001-01-26 14:26  flood

	* doc/Configuration.html: Bug #429 - Documentation changes

2001-01-26 13:51  flood

	* src/: inet.c, main.c: Bug #398 - overwriting file descriptor in
	  inet_openrw()

2001-01-25 10:04  flood

	* ChangeLog: Updated ChangeLog.

2001-01-24 22:16  flood

	* ChangeLog, configure: Updated ChangeLog.

2001-01-24 21:53  flood

	* config.h.in, configure.in, modules/mod_auth.c: Bug #365 - Removed
	  jail() code from mod_auth.c

2001-01-24 21:27  flood

	* ChangeLog: Updated ChangeLog.

2001-01-24 21:22  flood

	* ChangeLog: Updated ChangeLog.

2001-01-24 21:13  flood

	* ChangeLog: [no log message]

2001-01-24 21:13  flood

	* contrib/README.mod_sqlpw: Added README.mod_sqlpw

2001-01-24 14:51  flood

	* ChangeLog: [no log message]

2001-01-24 14:50  flood

	* ChangeLog, contrib/mod_ratio.c, src/main.c: Bug #430 - format
	  string fixes in log_pri and mod_ratio.

2001-01-24 14:02  flood

	* src/: dirtree.c, log.c, main.c: Bug #408 (1) - add_config_set fix
	  to prevent USER/pool overwrite DoS Bug #408 (2) - scoreboard
	  memory leak in log_open_run fixed Bug #408 (3) - Fixed potential
	  format string bug in main.c Bug #434	   - Added pool to pidrec_t
	  to fix large server memory leak

2000-10-08 15:24  macgyver

	* acconfig.h, config.h.in, configure, configure.in,
	  include/support.h, modules/mod_ls.c, src/support.c: Correctly use
	  NAME_MAX and fpathconf() when appropriate.

2000-10-08 15:11  macgyver

	* src/ftpshut.c: Handle the month calculation correctly.

2000-10-08 14:45  macgyver

	* contrib/mod_sqlpw.c: Use salt values correctly.

2000-10-08 14:36  macgyver

	* contrib/: README.mod_wrap, mod_wrap.c, mod_wrap.html: Added in
	  mod_wrap into contrib.

2000-10-08 14:22  macgyver

	* modules/mod_core.c: Correctly log the full path of deleted files.

2000-10-08 14:11  macgyver

	* modules/: mod_auth.c, mod_core.c: Added in support for
	  MaxHostsPerUser and fixed a problem with AnonRequirePassword.

2000-10-08 13:55  macgyver

	* src/inet.c: Lots of little cleanups.

2000-10-08 13:54  macgyver

	* contrib/mod_ratio.c: Fixed a bounds issue when checking the SITE
	  command.

2000-08-19 12:02  macgyver

	* configure, configure.in: Fixed ordering in library duplication
	  detection code.

2000-08-18 13:25  macgyver

	* NEWS: Updates.

2000-08-18 13:25  macgyver

	* ChangeLog: Updated ChangeLog.

2000-08-18 13:16  macgyver

	* README.PAM: Updated PAM documentation for FreeBSD.

2000-08-18 08:54  macgyver

	* src/dirtree.c: Don't only partially match directory names.  This
	  annoying bug allowed for directory-level configurations to
	  sometimes not work right.

2000-08-17 23:02  macgyver

	* configure, configure.in: Fixed a small typo in PAM detection.

2000-08-17 22:44  macgyver

	* acconfig.h, config.h.in, configure, configure.in: PAM and path
	  modifications.

2000-08-17 22:26  macgyver

	* modules/mod_pam.c: Updated to use HAVE_PAM.

2000-08-13 08:19  macgyver

	* Make.rules.in, acconfig.h, config.h.in, configure, configure.in,
	  include/conf.h: Some configure and compilation cleanups.

2000-08-13 03:36  macgyver

	* contrib/mod_quota.c: Cleaned up use of lstat() to fs_lstat() to
	  be more portable.

2000-08-07 17:54  macgyver

	* include/data.h, modules/mod_xfer.c, src/data.c: Cleaned up
	  sendfile() implementation to make it simpler and more managable.

2000-08-07 16:17  macgyver

	* modules/mod_core.c: Fixed a typo in set_sysloglevel.

2000-08-04 21:44  macgyver

	* modules/mod_auth.c: Be a little more anal retentive about
	  cleaning up after ourselves when it comes to USER/PASS attempts.

2000-08-04 21:43  macgyver

	* src/data.c: Formatting cleanups.

2000-08-04 21:42  macgyver

	* modules/mod_xfer.c: Removed spurious #if 0.

2000-08-04 08:17  macgyver

	* configure, configure.in: Updated HP/UX sendfile() to only
	  actually check on HP/UX platforms. :)

2000-08-04 08:07  macgyver

	* ChangeLog: Updated ChangeLog.

2000-08-04 08:07  macgyver

	* doc/Undocumented.txt: Updated undocumented functions list (none
	  left! :)).

2000-08-04 08:05  macgyver

	* doc/: GetConf, ShowUndocumented: Small updates to configuration
	  scripts.

2000-08-04 07:57  macgyver

	* doc/Configuration.html: Updated documentation.

2000-08-03 08:40  macgyver

	* doc/Undocumented.txt: Updated undocumented functions list.

2000-08-03 08:39  macgyver

	* contrib/: README.ratio, mod_ratio.c: Updated to mod_ratio.

2000-08-03 08:36  macgyver

	* contrib/mod_ldap.c: Updated to mod_ldap 2.7.3 to remove
	  LDAPSearchFilter.

2000-08-03 08:24  macgyver

	* modules/mod_auth.c: Oops...more compilation fixes for jail(). :)

2000-08-03 07:10  macgyver

	* doc/Undocumented.txt: Updated undocumented functions...only two
	  left, wow!

2000-08-03 07:09  macgyver

	* doc/Configuration.html: Updated documentation.

2000-08-03 07:05  macgyver

	* modules/mod_auth.c: Correctly obtain the IP address in jail().

2000-08-02 22:50  macgyver

	* modules/mod_auth.c: Typos in jail() support.

2000-08-02 20:01  macgyver

	* ChangeLog: Updated ChangeLog.

2000-08-02 19:59  macgyver

	* modules/mod_auth.c: Added some debug logging to lockdown().

2000-08-02 19:46  macgyver

	* NEWS, config.h.in, configure, configure.in, modules/mod_auth.c:
	  Added in support for jail() on platforms that support it
	  (currently FreeBSD 4.x+).

2000-08-02 18:35  macgyver

	* modules/mod_pam.c: More Solaris tweaks.

2000-08-02 18:30  macgyver

	* ChangeLog, NEWS: Updated ChangeLog and NEWS.

2000-08-02 18:29  macgyver

	* src/fs.c: Fixed a problem where files that began with ~ weren't
	  being handled properly.

2000-08-02 16:36  macgyver

	* contrib/mod_quota.c: Fixed a crash when using mod_quota and not
	  defining QuotaExempt.

2000-08-02 16:34  macgyver

	* doc/Configuration.html: Updated documentation.

2000-08-02 16:28  macgyver

	* ChangeLog, NEWS: Updated NEWS and ChangeLog.

2000-08-02 16:26  macgyver

	* Make.rules.in, configure, configure.in: Added in --with-libraries
	  for posterity.

2000-08-02 16:13  macgyver

	* configure.in: Added copyright info to the configure scripts.

2000-08-02 16:07  macgyver

	* src/log.c: Only log to WTMP or WTMPX, not both.  Modern systems
	  should all use WTMPX.

2000-08-02 15:57  macgyver

	* modules/mod_pam.c: Updated Solaris compatibility fix for mod_pam.

2000-08-02 15:38  macgyver

	* stamp-h.in: Added in stamp-h.in support.

2000-08-02 15:38  macgyver

	* .cvsignore, Makefile.in, configure, configure.in: Added support
	  for stamp-h.in and automagic rebuilds whenever configure is
	  updated.

2000-08-02 14:46  macgyver

	* acconfig.h, config.h.in, configure, configure.in: More sendfile
	  detection tweaks. :)

2000-08-02 14:46  macgyver

	* modules/mod_core.c: Forgot to return HANDLED in add_sysloglevel.

2000-08-02 06:58  macgyver

	* ChangeLog: Updated ChangeLog.

2000-08-01 23:44  macgyver

	* configure, configure.in: Reworked sendfile detection to be
	  cleaner and better cached.

2000-08-01 23:18  macgyver

	* Make.rules.in, NEWS, configure, configure.in: Added in
	  --with-includes and made the PAM check for -ldl cache its
	  results.

2000-08-01 22:28  macgyver

	* modules/mod_pam.c: ifdef out the PAM_TTY code needed for Solaris
	  so other systems don't have to work around this issue.

2000-08-01 22:25  macgyver

	* NEWS, include/conf.h, include/data.h, include/default_paths.h,
	  include/dirtree.h, include/fs.h, include/ftp.h, include/ident.h,
	  include/inet.h, include/io.h, include/libsupp.h, include/log.h,
	  include/modules.h, include/options.h, include/pool.h,
	  include/privs.h, include/proftpd.h, include/sets.h,
	  include/timers.h, modules/mod_core.c, src/log.c, src/utils.c:
	  Added SyslogLevel directive, and cleaned up some header files.

2000-08-01 15:20  macgyver

	* modules/mod_core.c, src/main.c: Added support for the PidFile
	  directive, to make ProFTPD more Apache-like.

2000-08-01 14:52  macgyver

	* ChangeLog: Updated ChangeLog.

2000-08-01 14:51  macgyver

	* include/proftpd.h, modules/mod_auth.c, src/main.c:
	  AnonRequirePassword should prevent the password from being
	  displayed in ftpwho/ftpcount/ps.

2000-08-01 14:30  macgyver

	* ChangeLog: Updated ChangeLog.

2000-08-01 14:30  macgyver

	* modules/mod_pam.c: Give ProFTPD it's own entry under /dev.

2000-08-01 14:23  macgyver

	* NEWS, modules/mod_log.c: Honor ExtendedLog NONE.

2000-08-01 13:41  macgyver

	* NEWS, doc/Configuration.html, modules/mod_site.c: AllowChmod
	  defaults to 'on' now, to be backward compatible.

2000-08-01 13:41  macgyver

	* modules/mod_pam.c: More information about PAM and Solaris
	  interaction.

2000-08-01 13:20  macgyver

	* ChangeLog: Updated ChangeLog.

2000-08-01 13:13  macgyver

	* NEWS, modules/mod_auth.c: Moved code around to eliminate a race
	  with MaxClients.

2000-08-01 12:51  macgyver

	* NEWS, contrib/mod_ratio.c, modules/mod_site.c: Fixed a minor bug
	  in SITE HELP.

2000-08-01 11:59  macgyver

	* NEWS, modules/mod_core.c, modules/mod_xfer.c: Added in
	  DeleteAbortedStores and did some minor cleanups.

2000-08-01 11:43  macgyver

	* contrib/mod_quota.c: unlink should never be called directly --
	  use fs_unlink instead.

2000-08-01 11:32  macgyver

	* NEWS, modules/mod_pam.c: Solaris requires you to have PAM_TTY and
	  PAM_RHOST defined before you call pam_open_session.  No, it
	  doesn't make sense to me either. :)

2000-07-28 15:27  macgyver

	* lib/pr_fnmatch.c: Optimizations for fnmatch() implementation.

2000-07-28 15:17  macgyver

	* contrib/mod_ldap.c: Updated mod_ldap to 2.7.2.

2000-07-28 14:56  macgyver

	* modules/mod_xfer.c: Don't check for PORT in cmd_stor if we're in
	  passive mode.

2000-07-28 06:50  macgyver

	* NEWS, modules/mod_site.c: AllowChmod now works in almost any
	  context.

2000-07-27 23:47  macgyver

	* ChangeLog: Updated ChangeLog.

2000-07-27 22:52  macgyver

	* NEWS, modules/mod_site.c: AllowChmod works right now.

2000-07-27 22:47  macgyver

	* NEWS, acconfig.h, config.h.in, configure, configure.in,
	  src/data.c: Added --disable-pam, allowing you to disable PAM at
	  configure-time.  Reorganized sendfile detection a bit and added
	  support for HP/UX.

2000-07-27 09:07  macgyver

	* modules/mod_auth.c: Work around HP/UX's broken compiler in
	  _do_user_counts().

2000-07-26 21:14  macgyver

	* contrib/mod_ldap.c: Updated mod_ldap to latest/greatest.

2000-07-26 16:47  macgyver

	* modules/mod_pam.c: Moved around PAM calls to be Sun
	  Compliant(tm), since anything that isn't strictly in that order
	  seems to cause Solaris environments to puke.

	  Set PAM_RHOST, when we can.

2000-07-26 16:09  macgyver

	* src/main.c: Remove spurious \r\n from various send_response()s.

2000-07-26 04:12  macgyver

	* src/main.c: Be verbose about /etc/shutmsg.

2000-07-26 04:03  macgyver

	* include/proftpd.h, modules/mod_core.c, modules/mod_ls.c,
	  modules/mod_xfer.c, src/data.c, src/io.c, src/log.c: Fixed a
	  crash when STOR called before PORT being issued.  Fixed a crash
	  related to STAT.

2000-07-26 02:49  macgyver

	* lib/pwgrent.c: Fixed some warnings on FreeBSD.

2000-07-26 02:36  macgyver

	* src/main.c: Better checking for empty strings before attempting
	  to call a regex.  Handle empty commands cleaner.

2000-07-26 01:21  macgyver

	* README.LDAP, contrib/mod_ldap.c: Updated mod_ldap to 2.7.1.

2000-07-26 01:19  macgyver

	* lib/: pr_fnmatch.c, pr_fnmatch_loop.c: fnmatch.c was renamed to
	  pr_fnmatch.c, as well as importing the new fnmatch code from
	  glibc.

2000-07-26 01:18  macgyver

	* lib/fnmatch.c: fnmatch.c has now become pr_fnmatch.c.

2000-07-26 01:16  macgyver

	* Make.rules.in, config.h.in, configure, configure.in,
	  include/libsupp.h, lib/Makefile.in, lib/glob.c,
	  modules/Makefile.in, src/Makefile.in, src/dirtree.c, src/fs.c:
	  New fnmatch code in ProFTPD.	Updated from the latest and
	  greatest glibc code.	ProFTPD now always uses our builtin fnmatch
	  to eliminate problems with incompatible implementations as well
	  as namespace collisions.

2000-07-26 00:36  macgyver

	* contrib/mod_ratio.c: Transitioned to the new fnmatch() function,
	  and corrected an error where hosts were being treated in a
	  case-sensitive fashion.

2000-07-25 21:41  macgyver

	* configure, configure.in: Made fnmatch check more robust and
	  cleaned up gcc detection a bit.

2000-07-25 21:11  macgyver

	* configure, configure.in, src/dirtree.c: Hostname checks should be
	  case insensitive.  Added FNM_CASEFOLD to fnmatch check.

2000-07-25 20:48  macgyver

	* doc/ShowUndocumented: Make the grep case insensitive.

2000-07-25 20:42  macgyver

	* config.guess, config.sub: Updated config.guess and config.sub
	  scripts.

2000-07-21 11:45  macgyver

	* ChangeLog: Updated changelog.

2000-07-21 11:44  macgyver

	* ChangeLog, NEWS, config.h.in, configure, configure.in,
	  modules/mod_auth.c, modules/mod_unixpw.c: Portability fixes and
	  additions on various platforms.  Also corrected a problem in
	  configure where a piece of code was completely bypassed.

2000-07-20 23:19  macgyver

	* doc/Configuration.html: Updated configuration documentation.

2000-07-20 23:11  macgyver

	* src/main.c: Check for getopt_long was backwards.

2000-07-20 23:09  macgyver

	* src/ftpcount.c: Handle systems without getopt_long properly.

2000-07-20 22:59  macgyver

	* modules/mod_core.c: Removed unused variables thanks to gcc -Wall.

2000-07-20 22:57  macgyver

	* src/main.c: Removed 2 printfs that were just plain wrong in a
	  situation where a site is administratively shutdown (ala shutmsg,
	  etc).  Also corrected a getopt_long related issue in show_usage.

2000-07-20 22:38  macgyver

	* modules/mod_pam.c: Don't close PAM handle until we exit so we
	  survive across jailed environments.

2000-07-20 22:37  macgyver

	* NEWS: Updated news.

2000-07-20 22:37  macgyver

	* ChangeLog: Updated changelog.

2000-07-20 22:18  macgyver

	* src/main.c: Command line options are constants.

2000-07-20 22:18  macgyver

	* src/main.c: Be mindful of systems without getopt_long.

2000-07-20 22:06  macgyver

	* modules/mod_pam.c: Typo with AuthPAMConfig and PAMConfig.

2000-07-20 22:05  macgyver

	* configure, configure.in: Added in better PAM detection for -ldl.

2000-07-20 21:58  macgyver

	* README.LDAP, contrib/mod_ldap.c, doc/Configuration.html: Latest
	  LDAP updates (mod_ldap 2.7).

2000-07-20 21:52  macgyver

	* src/data.c: Added many more descriptions around various error
	  conditions for better RFC compliance.

2000-07-20 21:52  macgyver

	* modules/mod_pam.c: Fix potential strdup madness.

2000-07-20 21:47  macgyver

	* modules/mod_unixpw.c: Reworked UID/GID hash tables to be more
	  portable across implementations with different sizes for UID and
	  GID fields.

2000-07-11 11:44  macgyver

	* modules/mod_core.c: Fixed a minor typo when there is no regex
	  engine around.

2000-07-11 07:13  macgyver

	* ChangeLog: Updated ChangeLog.

2000-07-11 07:10  macgyver

	* NEWS, src/data.c, src/main.c: Don't ignore ServerUseReverseDNS.

2000-07-11 06:36  macgyver

	* ChangeLog, contrib/mod_ldap.c, contrib/mod_quota.c,
	  contrib/mod_ratio.c, contrib/mod_sqlpw.c, lib/pwgrent.c,
	  lib/vsnprintf.c, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_log.c, modules/mod_ls.c, modules/mod_pam.c,
	  modules/mod_readme.c, modules/mod_site.c, modules/mod_tar.c,
	  modules/mod_test.c, modules/mod_unixpw.c, modules/mod_xfer.c,
	  src/auth.c, src/dirtree.c, src/fs.c, src/ftpcount.c, src/ident.c,
	  src/inet.c, src/io.c, src/log.c, src/pool.c, src/support.c: Minor
	  updates and buffer cleanups.

2000-07-11 06:35  macgyver

	* include/default_paths.h, src/main.c: Added in support for core
	  file debugging.

2000-07-11 06:31  macgyver

	* doc/Configuration.html: Latest and greatest documentation
	  updates.

2000-07-09 00:01  macgyver

	* include/log.h, modules/mod_core.c, modules/mod_xfer.c, src/log.c,
	  src/xferlog.5: Added in support for a completion field in
	  xferlog.

2000-07-09 00:01  macgyver

	* doc/Configuration.html: Updated LDAP documentation.

2000-07-08 23:59  macgyver

	* contrib/mod_ldap.c: Added in -lresolv.

2000-07-08 23:59  macgyver

	* modules/mod_pam.c: Added a little more sanity cleanup.

2000-07-08 23:58  macgyver

	* src/support.c: Try to address potential memory issues with people
	  trying to overflow large path buffers.

2000-07-08 09:26  macgyver

	* modules/mod_pam.c: Forgot to add in AuthPAM to the configuration
	  tables.

2000-07-08 01:15  macgyver

	* src/inet.c: Added in some sanity checking so things like
	  getsockname() don't crash on Solaris when called with invalid
	  descriptors.

2000-07-08 01:02  macgyver

	* modules/mod_pam.c: I must be braindamaged to have let someone
	  else convince me my original code and logic was incorrect about
	  mod_pam.  There was no aforementioned memory leak, and PAM does
	  work exactly as advertised.

2000-07-07 14:11  macgyver

	* contrib/mod_sqlpw.c: Fixed a bug in SQLAuthoritative detection.

2000-07-07 00:12  macgyver

	* ChangeLog, include/version.h: Updated ChangeLog as well as
	  version.

2000-07-07 00:09  macgyver

	* contrib/: README.ratio, mod_ratio.c: Updated to mod_ratio.

2000-07-06 23:41  macgyver

	* NEWS, modules/mod_ls.c, modules/mod_tar.c, src/auth.c,
	  src/data.c, src/fs.c, src/log.c, src/support.c: Fixed various
	  MAXPATHLEN buffers.

2000-07-06 23:21  macgyver

	* modules/mod_ls.c: Use access_check to properly check permissions.
	  More consistent handling of '.' and '..'.  I can't wait to
	  rewrite this module.

2000-07-06 23:18  macgyver

	* modules/mod_core.c, src/support.c: Handle symlinks more
	  appropriately...follow the link, not the file.

2000-07-06 18:19  macgyver

	* NEWS, include/support.h, src/dirtree.c, src/support.c: Added
	  access_check() to handle correct permission checking.

2000-07-06 17:26  macgyver

	* src/auth.c: Minor correction to auth_uid_name and auth_gid_name.

2000-07-06 17:00  macgyver

	* src/log.c: Documented design decision behind utmp entries and
	  strings.

2000-07-06 16:44  macgyver

	* doc/Configuration.html: Updates to documentation.

2000-07-06 16:42  macgyver

	* modules/Makefile.in: Removed mod_mysql.h dependency.

2000-07-06 13:19  macgyver

	* contrib/mod_sqlpw.c: Added SQLKeyField, SQLKey and
	  SQLAuthoritative directives.

2000-07-06 13:08  macgyver

	* NEWS, doc/Configuration.html, include/proftpd.h,
	  modules/mod_core.c, modules/mod_xfer.c: Fixed GroupOwner and
	  added UserOwner.

2000-07-06 12:29  macgyver

	* NEWS, config.h.in, configure, configure.in, src/main.c,
	  modules/mod_auth.c: Added in support to handle large groups
	  efficiently.	This should take care of the 'hangs forever on
	  login' bug.

2000-07-06 11:33  macgyver

	* modules/mod_auth.c: Fixed a bug when classes weren't enabled and
	  DisplayConnect is used.

2000-07-06 06:33  macgyver

	* include/inet.h, src/data.c, src/inet.c: AllowForeignAddress
	  directives now work on passive connections as well.

2000-07-06 05:58  macgyver

	* modules/mod_site.c: Typo in AllowChmod implementation. :)

2000-07-06 05:44  macgyver

	* Make.rules.in: Minor cleanups.

2000-07-05 23:59  macgyver

	* src/main.c: Added in set_proc_title duirng login.

2000-07-05 23:53  macgyver

	* modules/: mod_auth.c, mod_core.c, mod_xfer.c: Stubs for
	  unimplemented commands.  Bleh...we need to overhaul this
	  protocol.

2000-07-05 23:46  macgyver

	* doc/Configuration.html: Updated classes documentation.

2000-07-05 23:45  macgyver

	* NEWS, modules/mod_xfer.c: Minor typo in cmd_stor.

2000-07-05 23:42  macgyver

	* modules/mod_auth.c: Fixed a minor race condition in classes.

2000-07-05 23:18  macgyver

	* NEWS, modules/mod_ls.c: Fixed a minor permissions display problem
	  when DirFakeMode is not in use.

2000-07-05 23:13  macgyver

	* src/proftpd.8: Added documentation for -t option.

2000-07-05 23:08  macgyver

	* src/main.c: Fixed use of 500 instead of R_500.

2000-07-05 22:58  macgyver

	* NEWS, config.h.in, configure, configure.in, lib/vsnprintf.c,
	  src/ftpcount.c: Made portable *snprintf libraries more so by
	  supporting floating point operations and updated ftpcount
	  accordingly.

2000-07-05 22:57  macgyver

	* modules/mod_pam.c: Added in session control management.

2000-07-05 21:51  macgyver

	* lib/pwgrent.c: A fix for dealing with FreeBSD's (IMO **BROKEN**)
	  passwd scheme that allows comments and blank lines in passwd
	  files.

2000-07-05 21:41  macgyver

	* NEWS, modules/mod_site.c: Added AllowChmod directive.

2000-07-05 21:24  macgyver

	* NEWS, doc/Configuration.html, modules/mod_ls.c,
	  modules/mod_readme.c: DisplayReadme now accepts patterns.

2000-07-05 20:55  macgyver

	* Make.rules.in, NEWS, include/default_paths.h, src/main.c,
	  src/proftpd.8: A PID file is now created in standalone mode.

2000-07-05 20:32  macgyver

	* acconfig.h, config.h.in, configure, configure.in, include/conf.h,
	  modules/mod_ls.c: Fixed a POSIX issue regarding NAME_MAX usage.

2000-07-05 20:31  macgyver

	* NEWS: Updated news.

2000-07-05 20:31  macgyver

	* INSTALL: Updated documentation.

2000-07-03 11:25  macgyver

	* modules/mod_ls.c: Fixed potential buffer problem in dolist().

2000-07-03 09:25  macgyver

	* modules/mod_log.c: Cleaned up mod_log slightly, and added in some
	  comments about potential buffer problems to be fixed after 1.2.0.

2000-07-03 09:03  macgyver

	* README.PAM: Updated PAM documentation to reflect AuthPAM.

2000-07-03 08:55  macgyver

	* modules/mod_pam.c: Changed PAMConfig to AuthPAMConfig for
	  compatability reasons going forward.	Added in AuthPAM directive
	  to selectively activate/deactivate PAM.  Cleaned up PAM functions
	  a bit and made some checks more strict.  Removed a minor
	  potential memory leak.

2000-07-03 07:30  macgyver

	* src/main.c: Security fix in setproctitle().

2000-05-15 08:08  macgyver

	* contrib/mod_sqlpw.c: Fixed the 'password shows up instead of the
	  username' problem with SQL passwords

2000-03-05 23:11  macgyver

	* CREDITS: Updated CREDITS

2000-03-05 22:44  macgyver

	* INSTALL: An even cooler INSTALL file

2000-03-05 22:38  macgyver

	* INSTALL, doc/Configuration.html: Documentation updates

2000-03-05 22:25  macgyver

	* NEWS, modules/mod_ls.c: Added in -L option for things like mirror
	  to work with symlinks

2000-03-05 21:32  macgyver

	* configure, configure.in: Fixed a bug in link-testing for -ldl

2000-03-03 13:10  macgyver

	* config.h.in, configure, configure.in, modules/mod_pam.c: Minor
	  cleanups of configure scripts to remove dependencies on -ldl

2000-03-02 07:32  macgyver

	* src/: ftpcount.1, ftpshut.8, ftpwho.1, proftpd.8, xferlog.5:
	  Cleaned up man pages a bit.  Lots more work still needed, though.

2000-02-29 22:13  macgyver

	* NEWS, modules/mod_ls.c: Put in a better optimized sreaddir
	  function

2000-02-29 22:13  macgyver

	* modules/mod_auth.c: Cleanup of a couple of typos, and removed
	  some redundant code

2000-02-29 22:12  macgyver

	* include/conf.h, modules/mod_tar.c: Moved the NAME_MAX stuff into
	  conf.h, for portability

2000-02-29 22:11  macgyver

	* src/pool.c: Commented out references to symbol information in
	  pool allocations

2000-02-28 23:25  macgyver

	* NEWS, acconfig.h, config.h.in, configure, configure.in,
	  src/main.c: Added in support for tzset, to preserve timezone
	  information across a chroot

2000-02-28 23:25  macgyver

	* src/ftpcount.c: Cleaned up a couple of compile-time warnings

2000-02-28 17:11  macgyver

	* NEWS, lib/vsnprintf.c, src/log.c: Removed spurious alloca calls

2000-02-28 16:30  macgyver

	* modules/mod_tar.c: Make mod_tar more portable

2000-02-28 12:19  macgyver

	* NEWS, doc/Configuration.html, modules/mod_auth.c,
	  modules/mod_log.c: Added in %A, %F, and %m to LogFormat so we can
	  do CLF-style logs now

2000-02-28 12:02  macgyver

	* ChangeLog, NEWS, src/dirtree.c, src/main.c: Added -t option to
	  allow for syntax checking of a config file and made config file
	  errors give line and file information on failure

2000-02-28 11:06  macgyver

	* modules/: mod_auth.c, mod_core.c: Minor cosmetic cleanups

2000-02-28 10:57  macgyver

	* NEWS, modules/mod_core.c: Add %k directive to show amount of data
	  in a user-friendly way in DisplayQuit

2000-02-28 10:56  macgyver

	* modules/mod_auth.c: Make root logins louder

2000-02-28 03:15  macgyver

	* NEWS, README.Unixware, config.guess, config.sub: Unixware support
	  and updated config.guess, config.sub files

2000-02-28 02:50  macgyver

	* NEWS, src/inet.c: FreeBSD 4.0 support added

2000-02-28 02:46  macgyver

	* modules/: mod_pam.c, mod_unixpw.c: Fixed a minor typo in pw_auth

2000-02-28 02:42  macgyver

	* NEWS, contrib/mod_quota.c: Added mod_quota

2000-02-28 02:37  macgyver

	* modules/mod_xfer.c: Include sys/sendfile.h

2000-02-28 02:32  macgyver

	* modules/mod_core.c: Minor cleanups of unused variables

2000-02-28 02:25  macgyver

	* NEWS, modules/mod_log.c: Logging of transfer times is more
	  precise

2000-02-28 02:19  macgyver

	* modules/mod_core.c: Fixed a typo that called VirtualHost a
	  VirtualServer

2000-02-28 02:16  macgyver

	* NEWS, modules/mod_log.c: Add a warning for invalid classes in
	  ExtendedLog

2000-02-28 02:14  macgyver

	* NEWS, src/main.c: Save environment before doing anything with
	  set_proc_title.

2000-02-26 13:34  macgyver

	* NEWS, contrib/mod_ldap.c: Updated mod_ldap to 2.5.2.

2000-02-26 13:31  macgyver

	* NEWS, modules/mod_xfer.c: Updated bandwidth code to use select
	  instead of usleep.

2000-02-15 16:33  macgyver

	* NEWS, src/dirtree.c: Fixed Umask handling for directories.

2000-02-15 16:09  macgyver

	* NEWS, modules/mod_xfer.c: Correct the case where there is no
	  second argument to TYPE L X.

2000-02-15 15:48  macgyver

	* src/support.c: Correct calc_fs to actually make the right
	  calculation when using statvfs.

2000-02-01 08:59  macgyver

	* modules/mod_auth.c: Fixed a NULL dereference when AuthUsingAlias
	  is used outside of <Anonymous> directives.

2000-01-23 21:59  macgyver

	* NEWS, modules/mod_auth.c: Fixed a small group permissions
	  problem.

2000-01-23 21:47  macgyver

	* src/: dirtree.c, main.c: Removed references to the fastpathing of
	  limits.  This topic is too complex to deal with for 1.2.0.

2000-01-23 17:15  macgyver

	* src/main.c: This is a stupid message...just disabled my
	  fastpath...needs more work, and I need to step out for a while.
	  :)

2000-01-23 17:03  macgyver

	* src/main.c: Added a fastpath for denying commands in the dispatch
	  loop.

2000-01-23 16:46  macgyver

	* include/proftpd.h, modules/mod_auth.c, modules/mod_core.c,
	  src/ftpcount.c: Support for class listing in ftpcount.  Support
	  for full use of % options in DisplayConnect.

2000-01-23 15:37  macgyver

	* doc/Undocumented.txt: Updated Undocumented.txt.

2000-01-23 15:37  macgyver

	* doc/Configuration.html: Documentation for Include directive.

2000-01-23 15:31  macgyver

	* modules/mod_core.c: Added 'Include' directive.

2000-01-23 15:12  macgyver

	* modules/mod_pam.c: Re-add -ldl to mod_pam.

2000-01-23 14:55  macgyver

	* modules/mod_core.c: DisplayConnect now supports all the %
	  options.  Correct a bug with %z printing in classes.

2000-01-23 14:49  macgyver

	* modules/mod_ls.c: Added TimesGMT, and made our listing output
	  more consistent.

2000-01-23 14:48  macgyver

	* doc/Configuration.html: Added documentation for Class/Classes and
	  TimeGMT.

2000-01-23 10:38  macgyver

	* NEWS, modules/mod_ls.c: Fix a stupid dereference in mod_ls.

2000-01-17 19:16  macgyver

	* CREDITS: Added a CREDITS file.

2000-01-17 19:15  macgyver

	* README: Updated with new web site.

2000-01-17 19:14  macgyver

	* contrib/dist/rpm/proftpd.spec.in: Updated for new web site.

2000-01-17 19:08  macgyver

	* ChangeLog: Updated for pre10.

2000-01-17 19:04  macgyver

	* include/version.h: Updated for pre10.

2000-01-17 19:01  macgyver

	* NEWS: Updated for pre10 release.

2000-01-17 18:07  macgyver

	* doc/Configuration.html, include/dirtree.h, modules/mod_core.c,
	  src/dirtree.c: Corrected some errors in .ftpaccess handling.

2000-01-17 18:00  macgyver

	* config.sub: Recognize BSDI on an UltraSPaRC

2000-01-17 16:41  macgyver

	* NEWS, src/inet.c: inet_getname no longer returns NULL in bad host
	  entry cases.

2000-01-17 16:27  macgyver

	* NEWS, src/fs.c: Corrected ~ reporting.

2000-01-15 14:54  macgyver

	* lib/pwgrent.c: Corrected an allocation error in pwgrent.

2000-01-03 13:28  macgyver

	* include/privs.h, include/proftpd.h, modules/mod_auth.c: Added
	  Simon's patch to handle chdir-ing properly into user accounts.

2000-01-03 12:17  macgyver

	* modules/mod_xfer.c: Handle a case with a zero-length file for
	  BSD.

1999-12-30 11:06  macgyver

	* src/data.c: Fixed total calculation.

1999-12-30 10:41  macgyver

	* NEWS, include/dirtree.h, modules/mod_auth.c, modules/mod_core.c:
	  Fixed error messages in cases where it's an invalid number of
	  arguments.

1999-12-29 22:27  macgyver

	* ChangeLog, src/data.c: Added a fix for BSD's strange sendfile
	  behavior.

1999-12-29 12:08  macgyver

	* src/data.c: Minor correction to sendfile() semantics on FreeBSD.

1999-12-28 07:54  macgyver

	* contrib/mod_linuxprivs.c, contrib/mod_sqlpw.c,
	  modules/mod_auth.c, modules/mod_core.c, modules/mod_log.c,
	  modules/mod_ls.c, modules/mod_readme.c, modules/mod_site.c,
	  modules/mod_xfer.c: Ensured that cmdtable structs remained static
	  to the files they're defined in.

1999-12-28 07:43  macgyver

	* ChangeLog: Updated ChangeLog.

1999-12-28 07:43  macgyver

	* src/: support.c, utils.c: Cleaned up sstrncpy properly and backed
	  out previous incorrect cleanup.

1999-12-27 23:45  macgyver

	* NEWS: Updated again.

1999-12-27 23:43  macgyver

	* NEWS: Updated NEWS.

1999-12-27 23:33  macgyver

	* src/: support.c, utils.c: Cleaned up the implementation of
	  sstrncpy slightly.

1999-12-27 23:27  macgyver

	* modules/mod_xfer.c: Disable sendfile() if we're using bandwidth
	  control.

1999-12-27 23:18  macgyver

	* modules/mod_auth.c: Fixed a missing variable in a log_auth entry.

1999-12-27 22:32  macgyver

	* INSTALL, README, doc/Configuration.html: Updated documentation to
	  reflect new web site.

1999-12-27 22:26  macgyver

	* configure, configure.in: Fixed the detection of hpsecurity.h

1999-12-27 22:24  macgyver

	* modules/mod_readme.c: A minor Y2K correction in handling READMEs.

1999-12-26 19:03  macgyver

	* NEWS, README.LDAP, contrib/mod_ldap.c, doc/Configuration.html:
	  Updated mod_ldap.

1999-12-26 18:53  macgyver

	* configure, configure.in: Fixed a minor typo in a test case.

1999-12-26 18:48  macgyver

	* modules/mod_auth.c: Group handling fixed for complex groups.

1999-12-26 18:43  macgyver

	* modules/mod_xfer.c: Corrected a minor misdefinition in
	  xfer_init_parent.

1999-12-22 22:05  macgyver

	* NEWS, lib/pwgrent.c: Generate a meaningful error for bad group
	  entries.

1999-12-22 22:04  macgyver

	* modules/mod_xfer.c: Added more caught cases in sendfile().

1999-12-09 06:54  macgyver

	* src/support.c: Small Y2K fix.

1999-11-28 21:26  macgyver

	* NEWS, src/data.c: sendfile() doesn't log spurious errors unless
	  in debug mode.

1999-10-27 13:45  macgyver

	* configure, configure.in: Corrected intall_group handling.

1999-10-27 13:43  macgyver

	* modules/mod_xfer.c: Minor optimization in sendfile() detection on
	  Linux.

1999-10-26 23:26  macgyver

	* modules/mod_xfer.c: Minor log cleanup for data_sendfile.

1999-10-26 23:24  macgyver

	* modules/mod_xfer.c: Moved around some logging for data_sendfile.

1999-10-26 22:45  macgyver

	* contrib/.cvsignore: Updated for proftpd.spec.

1999-10-26 22:45  macgyver

	* contrib/dist/rpm/.cvsignore: New file.

1999-10-26 22:44  macgyver

	* modules/mod_xfer.c: sendfile() should take a more graceful and
	  tolerant approach to slow connections.  It seems that the problem
	  is that its too fast.

1999-10-26 22:43  macgyver

	* Makefile.in: Minor path correction for proftpd.spec.

1999-10-26 20:06  macgyver

	* ChangeLog: Updated.

1999-10-26 20:01  macgyver

	* NEWS, contrib/dist/rpm/proftpd.spec.in: Minor cleanups.

1999-10-26 19:36  macgyver

	* NEWS, README.LDAP, doc/Configuration.html, include/version.h:
	  Documentation updates and version bump to pre9.

1999-10-26 19:20  macgyver

	* contrib/dist/rpm/proftpd.spec.in: Updated to reflect new paths.

1999-10-26 18:58  macgyver

	* modules/mod_xfer.c: Added support for TYPE L for RFC 959
	  compliance.

1999-10-26 18:43  macgyver

	* doc/rfc/: draft-bonachea-sftp-00.txt,
	  draft-ietf-ftpext-mlst-08.txt,
	  draft-ietf-ftpext-sec-consider-02.txt, rfc0959.txt, rfc2228.txt:
	  Added RFCs to the documentation.

1999-10-26 18:08  macgyver

	* configure, configure.in: Fixed my stupid typo in FreeBSD
	  setpassent.

1999-10-26 18:02  macgyver

	* doc/: Configuration.html, Undocumented.txt: Added more
	  directives.

1999-10-25 13:13  macgyver

	* doc/: Configuration.html, ShowUndocumented, Undocumented.txt:
	  More additions, courtesy of Ben Ritcey.

1999-10-22 22:24  macgyver

	* NEWS: Added AuthUsingAlias.

1999-10-22 22:18  macgyver

	* doc/Configuration.html, modules/mod_auth.c, modules/mod_core.c:
	  Added in AuthUsingAlias.

1999-10-22 21:07  macgyver

	* configure, configure.in, contrib/ftp.pamd,
	  contrib/proftpd.spec.in, contrib/dist/rpm/ftp.pamd,
	  contrib/dist/rpm/proftpd.init.d,
	  contrib/dist/rpm/proftpd.spec.in, doc/Undocumented.txt: Moved
	  around RPM build files.

1999-10-22 20:53  macgyver

	* ChangeLog: Updated.

1999-10-22 20:52  macgyver

	* NEWS, modules/mod_xfer.c: Minor updates.

1999-10-22 20:39  macgyver

	* contrib/proftpd.spec.in: Updated spec file to produce standalone
	  and inetd packages.

1999-10-22 20:21  macgyver

	* NEWS, README, acconfig.h, config.h.in, configure, configure.in,
	  modules/mod_auth.c: Updates for FreeBSD's brokenness with respect
	  to setpassent.

1999-10-22 20:21  macgyver

	* modules/mod_xfer.c: FreeBSD cleanups for sendfile().

1999-10-22 19:48  macgyver

	* contrib/mod_ldap.c: Updated mod_ldap.

1999-10-20 21:37  macgyver

	* modules/mod_pam.c: Minor cleanups/updates.

1999-10-20 21:36  macgyver

	* doc/: Configuration.html, ShowUndocumented, Undocumented.txt:
	  Updated configuration documentation.

1999-10-17 22:12  macgyver

	* NEWS, doc/Configuration.html, include/dirtree.h,
	  modules/mod_core.c, src/dirtree.c: Added a second argument to the
	  Umask directive to handle directories.

1999-10-17 22:11  macgyver

	* modules/mod_xfer.c: sendfile() now deprecates politely on Linux
	  2.0.x.

1999-10-17 13:09  macgyver

	* doc/Configuration.html: Added in documentation for DisplayReadme.

1999-10-17 12:11  macgyver

	* contrib/genuser.pl: Added in genuser.pl to facilitiate the
	  creation of username:password AuthUserFile entries.

1999-10-11 22:28  macgyver

	* src/ftpwho.c: Added in ftpwho.c.

1999-10-11 20:40  macgyver

	* modules/mod_pam.c: Fixed AuthPAMAuthoritative.

1999-10-11 04:14  macgyver

	* contrib/: mod_pgsql.c, mod_sqlpw.c: Minor code cleanups.

1999-10-11 00:28  macgyver

	* NEWS, config.h.in, configure, configure.in, include/conf.h: Added
	  in support for setgroupent.

1999-10-11 00:20  macgyver

	* modules/mod_auth.c: Fixed the 'no names, just UIDs' bug.

1999-10-10 22:07  macgyver

	* ChangeLog: Updated.

1999-10-10 21:45  macgyver

	* Make.rules.in, Makefile.in, NEWS, src/Makefile.in,
	  src/ftpcount.c: Corrected a couple of grammatical errors in
	  ftpcount/ftpwho, and seperated them into their own binaries.

1999-10-10 20:13  macgyver

	* NEWS, configure, contrib/mod_ldap.c, contrib/mod_linuxprivs.c,
	  contrib/mod_ratio.c, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_log.c, modules/mod_ls.c, modules/mod_pam.c,
	  modules/mod_readme.c, modules/mod_xfer.c, src/log.c, src/main.c,
	  src/utils.c: Updated logging to be more consistent, and generally
	  be more informative.

1999-10-10 20:10  macgyver

	* README.PAM: Updated some information for FreeBSD, SuSE, and
	  others.

1999-10-10 11:33  macgyver

	* NEWS, configure.in: install_group slightly more portable.

1999-10-10 03:05  macgyver

	* contrib/mod_ldap.c: Updated author/copyright info.

1999-10-10 03:01  macgyver

	* contrib/mod_ldap.c, doc/Configuration.html: Added in mod_ldap.

1999-10-07 11:10  macgyver

	* NEWS: Updated.

1999-10-07 11:10  macgyver

	* modules/mod_pam.c: Removed Log RCS ID.

1999-10-06 20:25  macgyver

	* modules/mod_auth.c, modules/mod_core.c, src/main.c: Added in some
	  better/clearer logging support.

1999-10-05 22:26  macgyver

	* NEWS, README.PAM: Fixed FreeBSD documentation.

1999-10-05 20:48  macgyver

	* modules/mod_auth.c: Fixed potential segfault in
	  group_expression().

1999-10-05 20:47  macgyver

	* doc/Configuration.html: Removed Bandwidth from docs.

1999-10-05 20:40  macgyver

	* NEWS: Updated.

1999-10-05 20:39  macgyver

	* modules/mod_pam.c: AuthPAMAuthoritative now defaults to False.

1999-10-04 22:39  macgyver

	* NEWS: Added a news file.

1999-10-04 22:37  macgyver

	* acconfig.h, config.h.in, configure, configure.in,
	  doc/Undocumented.txt, include/data.h, src/data.c: Added in
	  support for sendfile on BSD platforms.

1999-10-04 21:28  macgyver

	* ChangeLog, Makefile.in, doc/Undocumented.txt, doc/mod_sample.c,
	  modules/mod_sample.c: Miscellaneous reshuffling.

1999-10-04 17:07  macgyver

	* configure, configure.in: Fixed a small typo.

1999-10-04 16:58  macgyver

	* ChangeLog: Updated.

1999-10-04 16:58  macgyver

	* ChangeLog: [no log message]

1999-10-04 16:57  macgyver

	* changelog, doc/Changes-1.2.0pre3: Moved the old changelog to
	  doc/Changes-1.2.0pre3 to avoid any confusion.

1999-10-04 16:54  macgyver

	* ChangeLog: Updated the ChangeLog.

1999-10-04 16:41  macgyver

	* contrib/mod_pgsql.c: Fixed a bad path in includes.

1999-10-04 16:39  macgyver

	* contrib/mod_ratio.c: Fixed a typo in an snprintf.

1999-10-04 16:35  macgyver

	* include/version.h: Updated to pre8.

1999-10-04 16:35  macgyver

	* configure, configure.in: Enhanced configure to automagically
	  create the necessary symlinks.

1999-10-04 16:34  macgyver

	* contrib/: mod_mysql.c, mod_pgsql.c: Fixed references to absolute
	  paths.

1999-10-04 16:09  macgyver

	* contrib/: mod_mysql.c, mod_mysql.h, mod_pgsql.c, mod_ratio.c,
	  mod_sqlpw.c: Added in Johnie Ingram's latest mod_*sql patches,
	  along with some slight buffer fixes of my own.

1999-10-01 16:52  macgyver

	* src/support.c: Fixed a typo with statvfs.

1999-10-01 08:57  macgyver

	* doc/Undocumented.txt: Updated undocumented directives.

1999-10-01 01:13  macgyver

	* ChangeLog: Moved to cvs2cl generation of ChangeLogs.

1999-10-01 00:58  macgyver

	* ChangeLog: Updated ChangeLog

1999-10-01 00:57  macgyver

	* config.h.in, configure, configure.in, include/data.h,
	  include/dirtree.h, include/log.h, include/proftpd.h,
	  modules/mod_auth.c, modules/mod_core.c, modules/mod_log.c,
	  modules/mod_xfer.c, src/io.c, src/log.c, src/main.c: Added
	  classes support, new bandwidth support, and sendfile support.

1999-10-01 00:55  macgyver

	* src/data.c: Added support for sendfile().

1999-09-30 21:08  macgyver

	* doc/Undocumented.txt: Regenerated the undocumented directives.

1999-09-30 20:49  macgyver

	* include/privs.h, modules/mod_auth.c: Added in support for
	  setresuid on HP/UX.

1999-09-30 20:36  macgyver

	* doc/Configuration.html, modules/mod_xfer.c: Added new Bandwidth
	  code and documentation.

1999-09-30 20:35  macgyver

	* modules/mod_auth.c: Corrected a tricky bug with parsing of
	  configuration files.	Thanks Klaus.

1999-09-30 20:34  macgyver

	* modules/mod_ls.c: Fixed a silly typo with snprintf.

1999-09-30 20:33  macgyver

	* modules/mod_unixpw.c: Added support for HP/UX-style security.

1999-09-30 20:33  macgyver

	* modules/mod_core.c: Removed old and naieve bandwidth code.

1999-09-30 20:32  macgyver

	* src/dirtree.c, include/dirtree.h: Remove old and naieve bandwidth
	  code.

1999-09-30 20:31  macgyver

	* config.h.in, configure, configure.in: HP/UX security detection
	  added.

1999-09-29 23:10  macgyver

	* modules/mod_auth.c: Fix a potential security hole.

1999-09-29 23:10  macgyver

	* modules/mod_ls.c: DirFakeMode available inside <Directory>
	  blocks.

1999-09-29 23:04  macgyver

	* configure, configure.in: Corrected configure portability issues.

1999-09-29 23:03  macgyver

	* modules/mod_ls.c: Corrected static declarations.

1999-09-29 22:54  macgyver

	* contrib/mod_linuxprivs.c: Added support for PowerPC
	  architectures.

1999-09-29 22:54  macgyver

	* src/dirtree.c: Corrected a couple of problems related to IP LIMIT
	  directives.

1999-09-29 22:28  macgyver

	* contrib/mod_readme.c: Deleted spurious mod_readme file.

1999-09-29 22:13  macgyver

	* modules/mod_core.c: Fixed compliance with RFC 929 with respect to
	  RNTO.

1999-09-29 13:46  macgyver

	* modules/: mod_auth.c, mod_ls.c: Minor bug fixes.

1999-09-29 13:45  macgyver

	* src/dirtree.c: Fixed a bug in match_ip that was causing some
	  LIMIT directives to fail.

1999-09-28 16:09  macgyver

	* src/inet.c: Corrected an incorrect call to inet_validate in
	  inet_getaddr.

1999-09-26 14:42  macgyver

	* doc/Configuration.html: Fixed a small typo.

1999-09-26 10:03  macgyver

	* ChangeLog: Added in a real ChangeLog.

1999-09-26 03:02  macgyver

	* doc/Undocumented.txt, modules/mod_core.c: Added in
	  CommandBufferSize.

1999-09-25 23:00  macgyver

	* src/log.c: Corrected minor syslog errors.

1999-09-25 22:36  macgyver

	* src/dirtree.c: Fixed a C++ style comment.

1999-09-25 22:32  macgyver

	* src/utils.c: Compilation issues on other Unix platforms
	  addressed.

1999-09-25 22:08  macgyver

	* doc/Configuration.html: Added in updated configuration
	  directives.

1999-09-18 11:26  macgyver

	* src/: dirtree.c, fs.c: Cleaned up usage of fs_readlink.

1999-09-18 11:25  macgyver

	* src/log.c: Code cleanups.

1999-09-18 11:25  macgyver

	* src/: pool.c, support.c: Minor code beautification.

1999-09-18 11:23  macgyver

	* modules/mod_ls.c: Fixed some bad code calling fs_readlink.

1999-09-17 00:36  macgyver

	* Makefile.in: Fixed symbolic link installation.

1999-09-17 00:31  macgyver

	* contrib/mod_mysql.c, contrib/mod_ratio.c, include/support.h,
	  modules/mod_auth.c, modules/mod_core.c, modules/mod_log.c,
	  modules/mod_ls.c, modules/mod_pam.c, modules/mod_tar.c,
	  modules/mod_test.c, modules/mod_xfer.c, src/auth.c,
	  src/dirtree.c, src/fs.c, src/ftpcount.c, src/log.c, src/main.c,
	  src/pool.c, src/support.c, src/utils.c: Implemented sstrncpy to
	  handle proper buffer copying issues on all platforms.

1999-09-16 21:14  macgyver

	* modules/mod_ls.c: gcc cleanups.

1999-09-16 21:14  macgyver

	* modules/mod_log.c: Eliminated some potential problems with
	  logging.

1999-09-16 21:13  macgyver

	* modules/mod_xfer.c: gcc cleanups and a more informative error
	  message added.

1999-09-16 21:06  macgyver

	* src/log.c: More intelligent handling of logfiles to avoid a
	  potential race condition.

1999-09-16 21:05  macgyver

	* modules/mod_core.c: General regex cleanups.  Added
	  AllowFilter/DenyFilter.  More intelligent handling of logfiles.
	  gcc cleanups.  wu-ftp style logging of deleted files.

1999-09-16 21:00  macgyver

	* src/pool.c: Fixed gcc warnings.

1999-09-16 20:59  macgyver

	* src/main.c: Added AllowFilter/DenyFilter.  Fixed a small typo
	  with newlines.  Corrected a slight problem with memory debugging.
	  Fixed several gcc warnings.

1999-09-16 20:57  macgyver

	* src/utils.c: Check for bad DNS entries.

1999-09-16 20:56  macgyver

	* include/inet.h, src/inet.c: Check for any potential DNS spoofing
	  attacks from the outside.

1999-09-16 20:55  macgyver

	* include/version.h: Bumped version number.

1999-09-16 20:54  macgyver

	* sample-configurations/complex-virtual.conf: Added in a new sample
	  configuration.

1999-09-16 20:53  macgyver

	* contrib/proftpd.spec.in: Added in mod_readme.

1999-09-16 20:45  macgyver

	* .cvsignore, contrib/.cvsignore: Added some more files to ignore.

1999-09-16 10:20  macgyver

	* src/main.c: Changed an argument reversal.

1999-09-16 00:45  macgyver

	* src/log.c: Cleaned up some ugly code.

1999-09-16 00:42  macgyver

	* src/main.c: Fixed a silly, yet insidious, way to overflow a
	  buffer.

1999-09-14 11:36  macgyver

	* modules/mod_xfer.c: Corrected a minor typo .in -> .in.

1999-09-14 01:43  macgyver

	* changelog, include/proftpd.h, modules/mod_core.c,
	  modules/mod_xfer.c: Implemented HiddenStor.

1999-09-12 14:11  macgyver

	* README.Solaris2.5x: Additional information regarding Solaris
	  2.5.x systems added.

1999-09-12 13:28  macgyver

	* config.h.in, configure, configure.in, include/conf.h, src/log.c:
	  Added in support for utmpx under Solaris and like-minded
	  platforms.

1999-09-12 10:04  macgyver

	* doc/: Configuration.html, FAQ-config.html, GetConf,
	  ShowUndocumented, Undocumented.txt: Added configuration
	  documentation and 'un' documentation.

1999-09-12 09:30  macgyver

	* contrib/mod_ratio.c, doc/GetConf, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_readme.c, modules/mod_sample.c: Initial import of
	  GetConf, and slight cleanup in all modules.

1999-09-11 17:08  macgyver

	* changelog, src/ftpcount.1, src/ftpshut.8, src/ftpwho.1,
	  src/proftpd.8: Corrected mailing list addresses.

1999-09-11 17:05  macgyver

	* contrib/proftpd.spec.in, include/version.h: Corrected versioning
	  info.

1999-09-11 13:50  macgyver

	* configure, configure.in: Forgot the 'id' issue.

1999-09-11 13:45  macgyver

	* contrib/proftpd.spec.in: Cleanup of spec file.

1999-09-11 13:44  macgyver

	* configure, configure.in: A couple of more configure fixes.

1999-09-10 14:17  macgyver

	* README.PAM, src/log.c: Added PAM README, and modified log.c to
	  handle log_xfer more like WU-FTPd.

1999-09-10 13:17  macgyver

	* INSTALL, README, contrib/mod_pam.c, modules/mod_pam.c: Moved PAM
	  into the main module set.  It's now a 'core' feature.

1999-09-10 12:49  macgyver

	* src/main.c: Added CommandBufferSize option.

1999-09-10 12:08  macgyver

	* configure, configure.in: Fixed a small typo with shadow use.

1999-09-10 01:21  macgyver

	* configure, configure.in: Updated support for Solaris, and made
	  PAM sleep quietly when told to do so.

1999-09-10 00:46  macgyver

	* src/support.c: Fixed remaining buffer issues in sreplace.

1999-09-09 22:36  macgyver

	* src/pool.c: Corrected alignment issues on 64-bit platforms.
	  Thanks to Todd C. Miller <millert@ee.ethz.ch> for the patch.

1999-09-09 22:27  macgyver

	* src/ftpshut.c: Cleaned up ftpshut options to return more
	  meaningful errors.

1999-09-09 20:44  macgyver

	* src/pool.c: Fix for improper strncpy.

1999-09-08 20:18  macgyver

	* src/support.c: Corrected a length bug in sreplace.

1999-09-08 01:35  macgyver

	* configure, configure.in, contrib/mod_pam.c: Updates to
	  auto-configuring for PAM on *BSD.

1999-09-08 01:03  macgyver

	* configure, configure.in: Fixed setproctitle detection on *BSD
	  platforms.

1999-09-08 00:48  macgyver

	* configure, configure.in: Fixed an extra 'fi' statement.

1999-09-08 00:43  macgyver

	* configure, configure.in: Fixed a small typo in PAM detection.

1999-09-08 00:42  macgyver

	* Make.rules.in, config.h.in: Added memory debugging support.

1999-09-08 00:15  macgyver

	* contrib/: mod_mysql.c, mod_mysql.h: Initial import of mod_mysql,
	  with some buffer fixes.

1999-09-08 00:09  macgyver

	* modules/Makefile.in: Updated for mod_mysql.

1999-09-08 00:06  macgyver

	* config.guess: Added in StrongARM support.

1999-09-07 23:59  macgyver

	* src/main.c: Added in some debugging code to assist in tracking
	  down memory problems.

1999-09-07 23:58  macgyver

	* src/pool.c: Fixed a couple of bugs introduced by silly typos.

1999-09-07 23:57  macgyver

	* src/log.c: Minor buffer cleanups.

1999-09-07 23:55  macgyver

	* src/inet.c: Added a helper message for people who misconfigure
	  their servers.

1999-09-07 16:29  macgyver

	* Makefile.in, config.h.in, configure, configure.in,
	  include/dirtree.h, include/fs.h, include/version.h, lib/glob.c,
	  src/dirtree.c, src/fs.c, src/ftpcount.c, src/inet.c, src/log.c,
	  src/main.c, src/modules.c, src/pool.c, src/support.c: Removed
	  lots of unsafe buffer copies, as well as addressed a couple of
	  Y2K issues.

1999-09-07 16:22  macgyver

	* contrib/.cvsignore: Removed README.linux-privs

1999-09-07 16:17  macgyver

	* contrib/: ftp.pamd, proftpd.spec.in: Added in RPM spec and
	  ProFTPD PAM file.

1999-09-07 16:14  macgyver

	* contrib/mod_linuxprivs.c: Updated capabilities code to newer
	  release.

1999-09-07 16:13  macgyver

	* contrib/mod_ratio.c: Fixed some potential buffer issues.

1999-09-07 16:13  macgyver

	* contrib/mod_pam.c: Some minor security updates to fix potential
	  buffer problems.

1999-09-07 16:09  macgyver

	* modules/: mod_auth.c, mod_log.c, mod_ls.c, mod_site.c, mod_tar.c,
	  mod_test.c, mod_unixpw.c, mod_xfer.c: Removed unsafe buffer
	  copies that may have been potential problems.  Implemented the
	  'real' patch for the MKD/log security issues.

1999-09-07 16:08  macgyver

	* modules/mod_core.c: Added in Bandwidth patch for bandwidth
	  control.  Security cleanups -- removed lots of unsafe buffer
	  copies.

1999-09-07 16:06  macgyver

	* modules/Makefile.in: Updated Makefile for new capabilities code.

1999-08-30 18:31  flood

	* changelog, contrib/mod_linuxprivs.c, include/options.h,
	  include/pool.h, modules/mod_core.c, modules/mod_ls.c,
	  modules/mod_xfer.c, src/log.c, src/main.c, src/modules.c,
	  src/pool.c: Mucho patches.

1999-03-11 17:58  flood

	* changelog, modules/mod_xfer.c: TYPE A N

1999-03-11 17:37  flood

	* changelog, src/inet.c: OpenBSD SO_REUSEADDR patch.

1999-03-09 17:19  flood

	* changelog, include/version.h: Version 1.2.0pre3

1999-03-07 09:18  flood

	* changelog, include/proftpd.h, modules/mod_core.c, src/dirtree.c,
	  src/main.c: Added `MultilineRFC2228' directive and changed
	  `ServerIdent'.

1999-03-05 09:55  flood

	* modules/mod_xfer.c, src/timers.c: Oops.  Last nights commit
	  royally screwed timers.

1999-03-04 19:34  flood

	* Make.rules.in, Makefile.in, acconfig.h, changelog, config.h.in,
	  configure, configure.in, contrib/mod_pam.c, include/proftpd.h,
	  modules/Makefile.in, modules/mod_core.c, src/data.c, src/main.c:
	  MacGyver's patch to do argv[] rewriting the Right Way<tm>, and
	  some minor socket error handling fixes.

1999-03-04 18:53  flood

	* changelog, include/io.h, modules/mod_xfer.c, src/ident.c,
	  src/io.c, src/main.c: Fixed ident & i/o (hanging) problems.

1999-03-04 16:44  flood

	* changelog, modules/mod_xfer.c: what did I fix?

1999-03-04 16:29  flood

	* include/timers.h, modules/mod_auth.c, src/main.c, src/support.c,
	  src/timers.c: timer code fixed

1999-02-13 18:36  flood

	* modules/mod_ls.c: Ugg.. Yet another mod_ls quickfix.

1999-02-13 17:47  flood

	* modules/mod_auth.c: Ooops.  add_userdir should have tested for >
	  0.

1999-02-13 16:55  flood

	* changelog, include/version.h: Version 1.2.0pre2

1999-02-12 11:37  flood

	* Makefile.in, changelog, modules/mod_auth.c, modules/mod_core.c,
	  modules/mod_ls.c, modules/mod_xfer.c, src/main.c, src/proftpd.8:
	  Mondo changes.

1999-01-27 14:06  flood

	* changelog, include/support.h, modules/mod_ls.c, src/fs.c,
	  src/support.c: More possibly MKD/CWD 'sploits fixed, and mod_ls
	  workin well.

1999-01-21 08:32  flood

	* modules/mod_ls.c, src/ident.c: NLST now works properly! woo!

1999-01-18 19:00  flood

	* modules/mod_readme.c: mod_readme.c added to CVS

1999-01-18 17:34  flood

	* changelog, include/data.h, modules/mod_ls.c, src/data.c,
	  src/fs.c, src/io.c, src/main.c: Still working on NLST RFC959
	  compliane issue.  ncftp client still showing problems.

1998-11-01 11:08  flood

	* changelog, configure, configure.in, contrib/README,
	  contrib/mod_pam.c, contrib/mod_ratio.c, contrib/mod_readme.c,
	  include/proftpd.h, modules/mod_core.c, modules/mod_sample.c,
	  modules/mod_xfer.c, src/dirtree.c: APPE, mod_pam & mod_readme
	  added

1998-10-29 17:38  flood

	* changelog, include/proftpd.h, modules/mod_log.c, src/main.c: Fix
	  Debian bug #28641

1998-10-29 16:59  flood

	* changelog, modules/mod_core.c, src/data.c: Fixes to PASV/PORT.

1998-10-26 17:53  flood

	* changelog, modules/mod_log.c: %{} argument fix in mod_log.c

1998-10-23 04:21  flood

	* changelog, include/pool.h, modules/mod_ls.c, src/main.c,
	  src/pool.c: memory leak in mod_ls fixed

1998-10-17 19:24  flood

	* .cvsignore, COPYING, INSTALL, Make.modules.in, Make.rules.in,
	  Makefile.in, README, README.Solaris2.5x, README.linux-privs,
	  acconfig.h, changelog, config.guess, config.h.in, config.sub,
	  configure, configure.in, install-sh, contrib/.cvsignore,
	  contrib/README, contrib/mod_linuxprivs.c, contrib/mod_ratio.c,
	  contrib/xferstats.holger-preiss, doc/API, doc/development.notes,
	  doc/license.txt, include/conf.h, include/data.h,
	  include/default_paths.h, include/dirtree.h, include/fs.h,
	  include/ftp.h, include/ident.h, include/inet.h, include/io.h,
	  include/libsupp.h, include/log.h, include/modules.h,
	  include/options.h, include/pool.h, include/privs.h,
	  include/proftpd.h, include/sets.h, include/support.h,
	  include/timers.h, include/version.h, lib/.cvsignore,
	  lib/Makefile.in, lib/fnmatch.c, lib/getopt.c, lib/getopt.h,
	  lib/getopt1.c, lib/glob.c, lib/glob.h, lib/pwgrent.c,
	  lib/strsep.c, lib/vsnprintf.c, modules/.cvsignore,
	  modules/Makefile.in, modules/glue.sh, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_sample.c, modules/mod_site.c, modules/mod_tar.c,
	  modules/mod_test.c, modules/mod_unixpw.c, modules/mod_xfer.c,
	  modules/module_glue.c.tmpl, sample-configurations/anonymous.conf,
	  sample-configurations/basic.conf,
	  sample-configurations/virtual.conf, src/.cvsignore,
	  src/Makefile.in, src/auth.c, src/data.c, src/dirtree.c, src/fs.c,
	  src/ftpcount.1, src/ftpcount.c, src/ftpshut.8, src/ftpshut.c,
	  src/ftpwho.1, src/ident.c, src/inet.c, src/io.c, src/log.c,
	  src/main.c, src/modules.c, src/pool.c, src/proftpd.8, src/sets.c,
	  src/support.c, src/timers.c, src/utils.c, src/xferlog.5: Imported
	  source for proftpd 1.2.0

1998-10-17 19:24  flood

	* .cvsignore, COPYING, INSTALL, Make.modules.in, Make.rules.in,
	  Makefile.in, README, README.Solaris2.5x, README.linux-privs,
	  acconfig.h, changelog, config.guess, config.h.in, config.sub,
	  configure, configure.in, install-sh, contrib/.cvsignore,
	  contrib/README, contrib/mod_linuxprivs.c, contrib/mod_ratio.c,
	  contrib/xferstats.holger-preiss, doc/API, doc/development.notes,
	  doc/license.txt, include/conf.h, include/data.h,
	  include/default_paths.h, include/dirtree.h, include/fs.h,
	  include/ftp.h, include/ident.h, include/inet.h, include/io.h,
	  include/libsupp.h, include/log.h, include/modules.h,
	  include/options.h, include/pool.h, include/privs.h,
	  include/proftpd.h, include/sets.h, include/support.h,
	  include/timers.h, include/version.h, lib/.cvsignore,
	  lib/Makefile.in, lib/fnmatch.c, lib/getopt.c, lib/getopt.h,
	  lib/getopt1.c, lib/glob.c, lib/glob.h, lib/pwgrent.c,
	  lib/strsep.c, lib/vsnprintf.c, modules/.cvsignore,
	  modules/Makefile.in, modules/glue.sh, modules/mod_auth.c,
	  modules/mod_core.c, modules/mod_log.c, modules/mod_ls.c,
	  modules/mod_sample.c, modules/mod_site.c, modules/mod_tar.c,
	  modules/mod_test.c, modules/mod_unixpw.c, modules/mod_xfer.c,
	  modules/module_glue.c.tmpl, sample-configurations/anonymous.conf,
	  sample-configurations/basic.conf,
	  sample-configurations/virtual.conf, src/.cvsignore,
	  src/Makefile.in, src/auth.c, src/data.c, src/dirtree.c, src/fs.c,
	  src/ftpcount.1, src/ftpcount.c, src/ftpshut.8, src/ftpshut.c,
	  src/ftpwho.1, src/ident.c, src/inet.c, src/io.c, src/log.c,
	  src/main.c, src/modules.c, src/pool.c, src/proftpd.8, src/sets.c,
	  src/support.c, src/timers.c, src/utils.c, src/xferlog.5: Initial
	  revision