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
|
OpenVPN Change Log
Copyright (C) 2002-2021 OpenVPN Inc <sales@openvpn.net>
2021.10.04 -- Version 2.5.4
Antonio Quartulli (3):
route.c: pass the right parameter to IN6_IS_ADDR_UNSPECIFIED
configure: search also for rst2{man, html}.py
networking: add networking API net_addr_ll_set() and use it on Linux
Arne Schwabe (1):
Move examples into openvpn-examples(5) man page
David Korczynski (1):
Fix argv leaks in add_route() and add_route_ipv6()
David Sommerseth (2):
doc: Use generic rules for man/html generation
man: Clarify IV_HWADDR
Gert Doering (1):
Add error reporting to get_console_input_win32().
Lev Stipakov (3):
Fix console prompts with redirected log
Add building man page on Windows
GitHub Actions: remove Ubuntu 16.04 environment
Max Fillinger (1):
Update Fox e-mail address in copyright notices
Selva Nair (1):
Minor doc correction: tls-crypt-v2 key generation
2021.06.17 -- Version 2.5.3
Arne Schwabe (3):
Add missing free_key_ctx for auth_token
Add github actions
Implement auth-token-user
David Sommerseth (1):
Update copyrights
Lev Stipakov (8):
openvpnmsica: properly schedule reboot in the end of installation
msvc: add ARM64 configuration
msvc: standalone building
contrib/vcpkg-ports: add pkcs11-helper port
vcpkg-ports: restore trailing whitespaces in .patch files
GitHub actions: add MSVC build
crypto_openssl.c: disable explicit initialization on Windows (CVE-2121-3606)
contrib/vcpkg-ports: add openssl port with --no-autoload-config option set (CVE-2121-3606)
Matthias Andree (1):
Fix SIGSEGV (NULL deref) receiving push "echo"
Max Fillinger (1):
Fix build with mbedtls w/o SSL renegotiation support
Selva Nair (2):
Improve documentation of AUTH_PENDING related directives
Apply the connect-retry backoff to only one side of a connection
2021.04.20 -- Version 2.5.2
Arne Schwabe (10):
Avoid generating unecessary mbed debug messages
Restore also ping related options on a reconnect
Cleanup print_details and add signature/ED certificate print
Always disable TLS renegotiations
Also restore/save route-gateway options on SIGUSR1 reconnects
Move context_auth from context_2 to tls_multi and name it multi_state
Fix condition to generate session keys
Move auth_token_state from multi to key_state
Ensure auth-token is only sent on a fully authenticated session
Ensure key state is authenticated before sending push reply
Gert Doering (2):
Fix potential NULL ptr crash if compiled with DMALLOC
Max Fillinger (2):
In init_ssl, open the correct CRL path pre-chroot
Abort if CRL file can't be stat-ed in ssl_init
Richard Bonhomme (1):
Do not print Diffie Hellman parameters file to log file
Simon Rozman (1):
openvpnserv: Cache last error before it is overridden
Vladislav Grishenko (1):
Fix IPv4 default gateway with multiple route tables
2021.02.24 -- Version 2.5.1
Arne Schwabe (5):
Fix auth-token not being updated if auth-nocache is set
Remove auth_user_pass.wait_for_push variable
Fix port-share option with TLS-Crypt v2
Zero initialise msghdr prior to calling sendmesg
Fix tls-auth mismatch OCC message when tls-cryptv2 is used.
David Sommerseth (1):
build: Fix missing install of man page in certain environments
Domagoj Pensa (3):
Fix too early argv freeing when registering DNS
Remove 1 second delay before running netsh
Skip DHCP renew with Wintun adapter
Gert Doering (6):
Change travis build scripts to use https when fetching prerequisites.
Fix line number reporting on config file errors after <inline> segments
Clarify --block-ipv6 intent and direction.
Document common uses of 'echo' directive, re-enable logging for 'echo'.
Make OPENVPN_PLUGIN_ENABLE_PF failures FATAL
clean up / rewrite sample-plugins/defer/simple.c
Greg Cox (5):
Fix naming error in sample-plugins/defer/simple.c
Documentation fixes around openvpn_plugin_func_v3 in openvpn-plugin.h.in
Update openvpn_plugin_func_v2 to _v3 in sample-plugins/defer/simple.c
More explicit versioning compatibility in sample-plugins/defer/simple.c
Explain structver usage in sample defer plugin.
Richard Bonhomme (1):
Man page sections corrections
Selva Nair (1):
Quote the domain name argument passed to the wmic command
Steffan Karger (2):
tls-crypt-v2: fix server memory leak
tls-crypt-v2: also preload tls-crypt-v2 keys (if --persist-key)
2020.10.27 -- Version 2.5.0
(no changes relative to v2.5_rc3)
2020.10.15 -- Version 2.5_rc3
Arne Schwabe (2):
Allow 'none' cipher being specified in --data-ciphers
Add function for common env setting of verify user/pass calls
David Sommerseth (1):
compat/lz4: Update to v1.9.2
Gert Doering (2):
Fix redirecting of IPv4 default gateway if connecting over IPv6.
Avoid passing NULL to argv_printf_cat() in temp_file error case.
Jan Seeger (1):
Added 'route_ipv6_metric_NN' environment variable for IPv6 route metric.
Richard Bonhomme (1):
Improve error msg when all TAP adapters are in use 'or disabled'
Steffan Karger (1):
networking_iproute2: fix memory leak in net_iface_mtu_set()
Vladislav Grishenko (2):
Selectively reformat too long lines
Speedup TCP remote hosts connections
2020.09.30 -- Version 2.5_rc2
Lev Stipakov (1):
Alias ADAPTER_DOMAIN_SUFFIX to DOMAIN
Selva Nair (2):
Set DNS Domain using iservice
Improve documentation of --username-as-common-name
Simon Rozman (4):
netsh: Specify interfaces by index rather than name
netsh: Clear existing IPv6 DNS servers before configuring new ones
netsh: Delete WINS servers on TUN close
openvpnmsica: Simplify find_adapters() to void return
Vladislav Grishenko (1):
Fix update_time() and openvpn_gettimeofday() coexistence
2020.09.21 -- Version 2.5_rc1
David Sommerseth (4):
man: Add missing --server-ipv6
man: Improve --remote entry
sample-plugins: Partially autotoolize the sample-plugins build
build: Fix make distclean/distcheck
Gert Doering (10):
Fix handling of 'route remote_host' for IPv6 transport case.
Replace 'echo -n' with 'printf' in tests/t_lpback.sh
Fix description of --client-disconnect calling convention in manpage.
Handle NULL returns from calloc() in sample plugins.
Fix --show-gateway for IPv6 on NetBSD/i386.
socks.c: fix alen for DOMAIN type addresses, bump up buffer sizes
Fix netbits setting (in TAP mode) for IPv6 on Windows.
If IPv6 pool specification sets pool start to ::0 address, increment.
Add demo plugin that excercises "CLIENT_CONNECT" and "CLIENT_CONNECT_V2" paths
Fix combination of --dev tap and --topology subnet across multiple platforms.
Lev Stipakov (1):
msvc: better support for 32bit architecture
Selva Nair (2):
Add a remark on dropping privileges when --mlock is used
Allow --dhcp-option in config file when windows-driver is wintun
Vladislav Grishenko (1):
Fix fatal error at switching remotes (#629)
2020.09.10 -- Version 2.5_beta4
Gert Doering (3):
Document that --push-remove is generally more suitable than --push-reset
Fix error detection / abort in --inetd corner case.
Fix TUNSETGROUP compatibility with very old Linux systems.
Lev Stipakov (1):
openvpnmsica: make adapter renaming non-fatal
Selva Nair (1):
In tap.c use DiInstallDevice to install the driver on a new adapter
Vladislav Grishenko (1):
Fix best gateway selection over netlink
2020.08.31 -- Version 2.5_beta3
Arne Schwabe (1):
Fix client NCP OCC fallback when server and client cipher are identical
2020.08.26 -- Version 2.5_beta2
Arne Schwabe (1):
Fix client's poor man NCP fallback
Eric Thorpe (1):
Fixes a bug in management_callback_send_cc_message, should be strlen instead of sizeof
Gert Doering (2):
Fix stack overflow in OpenSolaris NEXTADDR()
Workaround FreeBSD 12+ race condition on tun/tap open with IPv6.
Lev Stipakov (1):
tun.c: enable using wintun driver under SYSTEM
Magnus Kroken (2):
doc: fix typos in cipher-negotiation.rst
Changes.rst: fix mistyped option names
Selva Nair (1):
Improve the documentation for --dhcp-option
2020.08.12 -- Version 2.5_beta1
Adam Ciarcin?ski (1):
Fix subnet topology on NetBSD.
Antonio Quartulli (113):
attempt to add IPv6 route even when no IPv6 address was configured
fix redirect-gateway behaviour when an IPv4 default route does not exist
CRL: use time_t instead of struct timespec to store last mtime
ignore remote-random-hostname if a numeric host is provided
Ignore auth-nocache for auth-user-pass if auth-token is pushed
crypto: correct typ0 in error message
use M_ERRNO instead of explicitly printing errno
don't print errno twice
ntlm: avoid useless cast
ntlm: unwrap multiple function calls
route: improve error message
management: preserve wait_for_push field when asking for user/pass
tls-crypt: avoid warnings when --disable-crypto is used
ntlm: convert binary buffers to uint8_t *
ntlm: restyle compressed multiple function calls
ntlm: improve code style and readability
OpenSSL: remove unreachable call to SSL_CTX_get0_privatekey()
make function declarations C99 compliant
remove unused functions
use NULL instead of 0 when assigning pointers
add missing static attribute to functions
ntlm: avoid breaking anti-aliasing rules
remove the --disable-multi config switch
rename mroute_extract_addr_ipv4 to mroute_extract_addr_ip
route: avoid definition of unused variables in certain configurations
fix a couple of typ0s in comments and strings
fragment.c: simplify boolean expression
tcp-server: ensure AF family is propagated to child context
Remove ENABLE_CRYPTO
Remove option to disable crypto engine
Remove ENABLE_PUSH_PEER_INFO
Remove SSL_LIB_VER_STR
Remove MD5SUM
reload HTTP proxy credentials when moving to the next connection profile
Allow learning iroutes with network made up of all 0s (only if netbits < 8)
mbedtls: fix typ0 in comment
manpage: fix simple typ0
pool: restyle ipv4/ipv6 members to improve readability
pool: convert pool 'type' to enum
tun: ensure gc and argv are properly handled
tun: always pass a valid tt pointer
tun: get rid of tt->did_ifconfig member
tun: ensure interface can be configured with IPv6 only
add support for %lu in argv_printf and prevent ASSERT
windows: properly configure TAP driver when no IPv4 is configured
socket: make stream_buf_* functions static
crypto: always reload tls-auth/crypt key contexts
make tls-auth and tls-crypt per-connection-block options
pf: restyle pf_c2c/addr_test() to make them 'struct context' agnostic
merge *-inline.h files with their main header
ensure function declarations are compiled with their definitions
buffer_list: add functions documentation
ifconfig-ipv6(-push): allow using hostnames
tls-crypt: properly cast time_t to uint64_t
implement platform generic networking API
implement networking API for iproute2
introduce sitnl: Simplified Interface To NetLink
tun.c: use new networking API to handle tun interface on Linux
travis.yml: add test for iproute2 net implementation
route.c: use new networking API to handle routing table on Linux
unit tests: implement test for sitnl
t_net.sh: make bash dep explicit and run only if SITNL is compiled
t_net.sh: properly perform sudo check and print test steps
route.c: fix windows build by removing mismatching function parameter
t_net.sh: fixes for the networking test script
route.c: use sitnl to implement get_default_gateway_ipv6()
networking/best_gw: remove useless prefixlen parameter
sitnl: harden strncpy() by forcing arguments to have the same length
mbedtls: fix segfault by calling mbedtls_cipher_free() in cipher_ctx_free()
networking: extend API for better memory management
tun.c: undo_ifconfig_ipv4/6 remove useless gc argument
networking_sitnl.c: uncrustify file
route.c: simplify ifdef logic
t_net.sh: wait for NO-CARRIER bit to settle before starting test
t_net.sh: execute sleep after checking exit code of previous command
maddr: create helper function to populate maddr object from eth_addr
VLAN: add basic VLAN tagging support
maddr: export VLAN ID from client context to maddr object
VLAN: filter multicast and client-to-client unicast traffic
is_ipv_X: add support for parsing IP header inside a 802.1q frame
VLAN: implement support for forwarding only pre-tagged VLAN packets
VLAN: allow forwarding tagged and untagged packets on the server TAP device
VLAN: add documentation to manpage
socks: use the right function when printing struct openvpn_sockaddr
add -Wno-stringop-truncation to CFLAGS on linux
get rid of 'broadcast' argument when configuring the tun device
auth_token_kt: ensure key_type object is initialized
auth.c: make cast explicit in the crypto API
travis: compile with -Werror on Linux
travis: fix CFLAGS assignment error and add -Werror only when compiling on Linux for Linux
sitnl: fix failure reporting by keeping error negative
sitnl: fix TUN/TAP confusion in error messages
sitnl: fix ignoring EEXIST when sending a netlink command
t_net.sh: use dummy interface instead of tun
remove bogus file check on --genkey argument
t_net.sh: assign MAC address directly during interface creation
convert *_inline attributes to bool
options: fix inlining auth-gen-token-secret file
tls-crypt-v2: fix testing of inline key
get rid of INLINE_FILE_TAG constant
pool: prevent IPv6 pools to be larger than 2^16 addresses
pool: allow to configure an IPv6-only ifconfig-pool
allow usage of --server-ipv6 even when no --server is specified
pool: add support for ifconfig-pool-persist with IPv6 only
route: warn on IPv4 routes installation when no IPv4 is configured
options: enable IPv4 redirection logic only if really required
ipv6-pool: get rid of size constraint
pool: remove useless 'options.h' include
multi: skip IPv4 logic in multi_select_virtual_addr() if no pool is configured
multi.c: use mi->cc_config instead of config variable
options: don't leak inline'd key material in logfile
t_net.sh: drop hard dependency on t_client.rc
travis: don't run t_net.sh test
Arne Schwabe (124):
Set tls-cipher restriction before loading certificates
Print ec bit details, refuse management-external-key if key is not RSA
Replace buffer backed strings for management_android_control with simple stack variables
Treat dhcp-option DNS6 and DNS identical
show the right string for key-direction
Add MTU to Android IFCONFIG6 control command
Properly free tuntap struct on android when emulating persist-tun
Add OpenSSL compat definition for RSA_meth_set_sign
Skip error about ioctl(SIOCGIFCONF) failed on Android
Factor out convert_tls_list_to_openssl method
Remove AUTO_USERID feature
Remove MANAGMENT_EXTERNAL_KEY, MANAGMENT_IN_EXTRA, ENABLE_CLIENT_CR
Add support for tls-ciphersuites for TLS 1.3
Add better support for showing TLS 1.3 ciphersuites in --show-tls
Use right function to set TLS1.3 restrictions in show-tls
Refuse mbed TLS external key with non RSA certificates
Add message explaining early TLS client hello failure
Add tls-crypt-v2 to the list of supported inline options
Implement block-ipv6
Fallback to password authentication when auth-token fails
Fix loading inline tls-crypt-v2 keys with mbed TLS
Refactor tls_crypt_v2_write_server_key_file into crypto.c
Add send_control_channel_string_dowork variant
Rename tls_crypt_v2_read_keyfile into generic pem_read_key_file
Fix poll.h logic in syshead.h
Write key to stdout if filename is not given
Implement --genkey type keyfile syntax and migrate tls-crypt-v2
Add generate_ephemeral_key that allows a random ephermal key
Remove -no-cpp-precomp flag from Darwin builds
Fix check if iface name is set
Adjust Android code after sitnl patch merge
Rewrite auth-token-gen to be based on HMAC based tokens
Implement a permanent session id in auth-token
Sent indication that a session is expired to clients
Implement unit tests for auth-gen-token
Make tls_version_max return the actual maximum version
Add support for OpenSSL TLS 1.3 when using management-external-key
Document tls-ciphersuites also in --help output
Only announce IV_NCP=2 when we are willing to support these ciphers
Add strsep compat function
Implement dynamic NCP negotiation
Warn about insecure ciphers also in init_key_type
Move NCP related function into a seperate file and add unit tests
Normalise ncp-ciphers option and restrict it to 127 bytes
Fetch OpenSSL versions via source/old links
Fix OpenSSL error stack handling of tls_ctx_add_extra_certs
Fix off-by-one in tls-crypt-v2 client wrapping with custom metadata
Fix OpenSSL 1.1.1 not using auto elliptic curve selection
Refactor counting number of element in a : delimited list into function
Minor style change to improve code style
Another round of uncrustify code cleanup.
Fix tls_ctx_client/server_new leaving error on OpenSSL error stack
Add tls-crypt-v2 test writing metadata
Use crypto library functions for const time memcmp when possible
Fix session id in env missing first byte
Document reneweal mechanic of auth-token in manual
Fix session id and initial timestamp not being preserved
Do not write extra 0 byte for --gen-key with auth-token/tls-crypt-v2
Refuse server mode on Android
Add .git-blame-ignore-revs with reformat commits
Make cipher_kt_name always return normalised cipher name
Make cipher_kt_get also accept OpenVPN config cipher name
Implement parsing and sending INFO and INFO_PRE control messages
Implement support for signalling IV_SSO to server
Implement sending response to challenge via CR_RESPONSE
Implement sending AUTH_PENDING challenges to clients
Implement forwarding client CR_RESPONSE messages to management
Add unit test for cipher name translations
Make compression asymmetric by default and add warnings
Reformat files using uncrustify
Remove parameter config from multi_client_connect_mda
Remove push_reply_deferred variable
Remove did_open_context, defined and connection_established_flag
merge key_state->authenticated and key_state->auth_deferred
Simplify multi_connection_established.
Deprecate ncp-disable and add improved ncp to Changes.rst
Make key_state->authenticated more state machine like
Extract process_incoming_push_reply from process_incoming_push_msg
Removed unused definition
Code cleanup: remove superflous variable
Move protocol option negotiation from push_prepare to new function
Generate data channel keys after connect options have been parsed
Cleanup: Remove special case code for old poor man's NCP.
Allow changing fallback cipher from ccd files/client-connect
client-connect: Change cas_context from int to enum
client-connect: Move adding inotify watch into its own function
reformat multi_client_generate_tls_keys according to uncrustify
client-connect: Add CC_RET_DEFERRED and cope with deferred client-connect
Remove CAS_PARTIAL state
client-connect: Use inotify for the deferred client-connect status file
client-connect: Implement deferred connect support for plugin API v2
Drop support for OpenSSL 1.0.1
Require AEAD support in the crypto library
Remove key-method 1
Remove ENABLE_OCC #define
Implement tls-groups option to specify eliptic curves/groups
Avoid sending --cipher to clients not supporting NCP
Indicate that a client is in pull mode in IV_PROTO
Deprecate --inetd
Include utun device number in utun error messages
Simplify calling logic of check_connection_established_dowork
Avoid sending push request after receving push reply
Rename ncp-ciphers to data-ciphers
Add a note that ncp-ciphers is replaced by data-ciphers
client-connect: Add documentation for the deferred client connect feature
Rework NCP compability logic and drop BF-CBC support by default
Document different behaviour of dynamic cipher negotiation
Minor cleanup in push.c
Clean up a number of leftover C89 initialisations in ssl.c
Remove buf argument from link_socket_set_outgoing_addr
Remove a number of check/do_work wrapper calls from coarse_timers
Split pf_check_reload check and check timer in process_coarse_timers
Rename check_ping_restart_dowork to trigger_ping_timeout_signal
Eliminate check_fragment function
Eliminate check_incoming_control_channel wrapper function
Eliminate check_tls wrapper function
Merge check_coarse_timers and check_coarse_timers_dowork
Skip existing interfaces on opening the first available utun on macOS
Move parsing IV_PROTO to separate function
Remove S_OP_NORMAL key state.
Document comp-lzo no and compress being incompatible
Refactor/Reformat tls_pre_decrypt
Cleanup tls_pre_decrypt_lite and tls_pre_encrypt
Improve sections about older OpenVPN clients in cipher-negotiation.rst
Bertrand Bonnefoy-Claudet (1):
Fix typo in error message: "optione" -> "option"
Christian Ehrhardt (1):
systemd: extend CapabilityBoundingSet for auth_pam
Christian Hesse (7):
man: fix formatting for alternative option
systemd: Use automake tools to install unit files
systemd: Do not race on RuntimeDirectory
systemd: Add more security feature for systemd units
Clean up plugin path handling
plugin: Remove GNUism in openvpn-plugin.h generation
fix typo in notification message
Christopher Schenk (3):
Set the correct mtu on windows based systems
Log a note if someone wants to set a MTU below 1280 on IPv6
Unified success messages for setting mtu
Conrad Hoffmann (2):
Use provided env vars in up/down script.
Document down-root plugin usage in client.down
David Sommerseth (64):
docs: Further enhance the documentation related to SWEET32
man: Remove references to no longer present IV_RGI6 peer-info
build: Ensure Changes.rst is shipped and installed as a doc file
management: >REMOTE operation would overwrite ce change indicator
management: Remove a redundant #ifdef block
git: Merge .gitignore files into a single file
systemd: Move the READY=1 signalling to an earlier point
dev-tools: Simple tool which automates rebasing LZ4 compat library
dev-tools: lz4-rebaser tool carried a typo
plugin: Improve the handling of default plug-in directory
cleanup: Remove faulty env processing functions
auth-token: Ensure tokens are always wiped on de-auth
docs: Fixed man-page warnings discoverd by rpmlint
Make --cipher/--auth none more explicit on the risks
Require minimum OpenSSL 1.0.1
Fix broken ./configure on systems without openssl.pc
plugin: Fix documentation typo for type_mask
plugin: Export secure_memzero() to plug-ins
crypto: Enable SHA256 fingerprint checking in --verify-hash
copyright: Update GPLv2 license texts
dev-tools: Script generating the source releases in an automated fashion
auth-token with auth-nocache fix broke --disable-crypto builds
doc: The CRL processing is not a deprecated feature
cleanup: Move write_pid() to where it is being used
contrib: Remove keychain-mcd code
cleanup: Move init_random_seed() to where it is being used
Highlight deprecated features
Use consistent version references
docs: Replace all PolarSSL references to mbed TLS
systemd: Ensure systemd shuts down OpenVPN in a proper way
systemd: Enable systemd's auto-restart feature for server profiles
lz4: Move towards a newer LZ4 API
lz4: Fix confused version check
lz4: Fix broken builds when pkg-config is not present but system library is
Remove references to keychain-mcd in Changes.rst
lz4: Rebase compat-lz4 against upstream v1.7.5
systemd: Add and ship README.systemd
Update copyright to include 2018 plus company name change
man: Add .TQ groff support macro
man: Reword --management to prefer unix sockets over TCP
management: Warn if TCP port is used without password
plugin: Export base64 encode and decode functions
build: Fix build warnings related to get_random()
build: Fix another compile warning in console_systemd.c
cleanup: Remove RPM openvpn.spec build approach
docs: Update INSTALL
build: Package missing mock_msg.h
auth-token: Fix building with --disable-server
auth-token: Fix compiler complaints with --disable-management
Improve the comments related to auth-token-hmac patches
Documented all the argv related code with minor refactoring
build: Remove --disable-server from ./configure
options: Fix failing inline tls-auth/crypt with persist-key
options: Restore --tls-crypt-v2 inline file capability
doc/man: convert openvpn.8 to split-up .rst files
doc/man: Mark compression options as deprecated
doc/man: Adopt compression documentation
doc/man: Documentation for --bind-dev / VRFs on Linux
doc/man: Add misssing renegotiation.rst to Makefile.am
Remove --no-iv
doc/man: Do not install man *.rst files
travis: Fix make distcheck failure
Remove --ifconfig-pool-linear
Remove --client-cert-not-required
Domagoj Pensa (2):
Fix linking issues on MinGW
Skip DNS address validation
Emmanuel Deloget (20):
OpenSSL: check for the SSL reason, not the full error
OpenSSL: don't use direct access to the internal of X509_STORE_CTX
OpenSSL: don't use direct access to the internal of SSL_CTX
OpenSSL: don't use direct access to the internal of X509_STORE
OpenSSL: don't use direct access to the internal of X509_OBJECT
OpenSSL: don't use direct access to the internal of RSA_METHOD
OpenSSL: SSLeay symbols are no longer available in OpenSSL 1.1
OpenSSL: use EVP_CipherInit_ex() instead of EVP_CipherInit()
OpenSSL: don't use direct access to the internal of X509
OpenSSL: don't use direct access to the internal of EVP_PKEY
OpenSSL: don't use direct access to the internal of RSA
OpenSSL: don't use direct access to the internal of DSA
OpenSSL: force meth->name as non-const when we free() it
OpenSSL: don't use direct access to the internal of EVP_MD_CTX
OpenSSL: don't use direct access to the internal of EVP_CIPHER_CTX
OpenSSL: don't use direct access to the internal of HMAC_CTX
OpenSSL: remove pre-1.1 function from the OpenSSL compat interface
OpenSSL: remove EVP_CIPHER_CTX_new() from the compat layer
OpenSSL: remove EVP_CIPHER_CTX_free() from the compat layer
OpenSSL: check EVP_PKEY key types before returning the pkey
Eric Thorpe (1):
Fix Building Using MSVC
Fabian Knittel (7):
client-connect: Split multi_connection_established into separate functions
client-connect: Refactor multi_client_connect_source_ccd
client-connect: Move multi_client_connect_setenv into early_setup
client-connect: Refactor to use return values instead of modifying a passed-in flag
client-connect: Refactor client-connect handling to calling a bunch of hooks in a loop
client-connect: Add deferred support to the client-connect script handler
client-connect: Add deferred support to the client-connect v1 plugin handler
Gert Doering (50):
Remove IV_RGI6=1 peer-info signalling.
Add openssl_compat.h to openvpn_SOURCES
Fix '--dev null'
Fix installation of IPv6 host route to VPN server when using iservice.
Make ENABLE_OCC no longer depend on !ENABLE_SMALL
Fix NCP behaviour on TLS reconnect.
Remove erroneous limitation on max number of args for --plugin
proxy.c refactoring: remove always-NULL gc parameter
Fix edge case with clients failing to set up cipher on empty PUSH_REPLY.
Fix potential 1-byte overread in TCP option parsing.
Fix remotely-triggerable ASSERT() on malformed IPv6 packet.
Update Changes.rst with relevant info for 2.4.3 release.
Remove warning on pushed tun-ipv6 option.
Fix removal of on-link prefix on windows with netsh
Fix potential double-free() in Interactive Service (CVE-2018-9336)
Add %d, %u and %lu tests to test_argv unit tests.
Extend push-remove to also handle 'ifconfig'.
Print lzo_init() return code in case of errors
Uncrustify sample-plugin sources according to code style
uncrustify openvpnserv/ sources
uncrustify openvpn/ sources
Add 'printing of port number' to mroute_addr_print_ex() for v4-mapped v6.
Stop complaining about IPv6 routes without gateway address.
Copy one byte less in strncpynt()
Remove cmocka submodule, rely on system-wide installation instead.
Increase listen() backlog queue to 32
repair tap mode on OpenSolaris/OpenIndiana
Fix IPv6 routes on tap interfaces on OpenSolaris/OpenIndiana
OpenSolaris/OpenIllumos: use /bin/bash if available for test scripts.
Force combinationation of --socks-proxy and --proto UDP to use IPv4.
Uncrustify the tests/unit_tests/ part of our tree.
Change client side of t_lpback.sh configs to use inline material.
Simplify pool size handling, fix possible array overrun on pool reading.
Change timestamps in file-based logging to ISO 8601 time format.
Depreciation warning for --topology net30 on servers with IPv4 pools.
Convert plugin/auth-pam.c from stderr logging to plugin_log().
Add c1ff8f247f91c88a2df5502eeedf42857f9a6831 (engine, pool, SSO) to .git-blame-ignore-revs
Linux: do not change --txqueuelen OS default if not configured.
Fix 'engine' unit test on FreeBSD (specifically 'not GNU make')
t_client.sh: correctly report all failed instances in summary
Remove --writepid file on program exit.
Handle connecting clients without NCP or OCC without crashing.
Add deferred authentication support to plugin-auth-pam
Separate handling of non-deferred return values for client-connect-scripts.
Repair --inetd
Fix sequence of events for async plugin v1 handler.
Abort client-connect handler loop after first handler sets 'disable'.
Add depreciation notice for --ncp-disable to protocol-options.rst
Changes.rst updates in preparation to 2.5_beta1
Preparing release 2.5_beta1
Gert van Dijk (7):
Warn that DH config option is only meaningful in a tls-server context
Add generated openvpn.doxyfile to .gitignore
manpage: improve description of --status and --status-version
Add negotiated cipher to status file format 2 and 3
Minor reliability layer documentation fixes
Make second parameter to reliable_send_purge() const
Remove unneeded newline in debug message in reliable.c
Gisle Vanem (2):
Crash in options.c
Wrong FILETYPE in .rc files
Guido Vranken (6):
refactor my_strupr
Fix 2 memory leaks in proxy authentication routine
Fix memory leak in add_option() for option 'connection'
Ensure option array p[] is always NULL-terminated
Fix a null-pointer dereference in establish_http_proxy_passthru()
Prevent two kinds of stack buffer OOB reads and a crash for invalid input data
Heiko Hund (3):
re-implement argv_printf_*()
argv: do fewer memory re-allocations
Add gc_arena to struct argv to save allocations
Hilko Bengen (1):
Do not set pkcs11-helper 'safe fork mode'
Hristo Venev (1):
Fix extract_x509_field_ssl for external objects, v2
Ilya Shipitsin (18):
Resolve several travis-ci issues
github: Add PR template with contributor related information
travis-ci: add 'make distcheck' to test scenario, V2
travis-ci: remove unused files
v4, travis-ci: add 2 mingw "build only" configurations
travis-ci: added gcc and clang openssl-1.1.0 builds
travis-ci: update openssl to 1.0.2l, update mbedtls to 2.5.1
travis-ci: update pkcs11-helper to 1.22
travis-ci: add brew cache, remove ccache
travis-ci: modify openssl build script to support openssl-1.1.0
travis-ci: cleanup, refactor, upgrade ssl libraries
travis-ci: add "linux-ppc64le" to build matrix
travis-ci: change trusty image to xenial
travis-ci: update osx to xcode9.4 and modernize brew management
configure.ac: fix compile-time error in argv_testdriver
travis-ci: fix osx builds
travis-ci: update components versions
travis-ci: add arm64, s390x builds.
James Bekkema (2):
Resolves small IV_GUI_VER typo in the documentation.
Adds support for setting the default IPv6 gateway for routes using the route-ipv6-gateway option.
James Bottomley (7):
autoconf: Fix engine checks for openssl 1.1
openssl: add engine method for loading the key
crypto_openssl: add initialization to pick up local configuration
crypto_openssl: add include for openssl/conf.h
Add unit tests for engine keys
Fix make distcheck for new engine key unit test
engine-key tests: make check_engine_keys.sh work with --enable-small
Jan Just Keijser (1):
Added support for DHCP option 119 (dns search suffix list) for Windows.
Jeremie Courreges-Anglas (5):
Cast time_t to long long in order to print it.
Print time_t as long long and suseconds_t as long
Cast and print another suseconds_t as long
Use long long to format time_t-related environment variables
Fix build with LibreSSL
Jeremy Evans (1):
Switch assertion failure to returning false
Jonathan K. Bullard (1):
Clarify and expand management interface documentation
Jonathan Tooker (1):
Fix various spelling mistakes
Joost Rijneveld (1):
Make return code external tls key match docs
Jérémie Courrèges-Anglas (2):
Fix an unaligned access on OpenBSD/sparc64
Missing include for socket-flags TCP_NODELAY on OpenBSD
Kyle Evans (1):
tests/t_lpback.sh: Switch sed(1) to POSIX-compatible regex.
Lev Stipakov (46):
win: support for Visual Studio 2017
Refactor NCP-negotiable options handling
init.c: refine functions names and description
openvpnserv: clarify return values type
crypto.h: remove unused function declaration
interactive.c: fix usage of potentially uninitialized variable
options.c: fix broken unary minus usage
Introduce openvpn_swprintf() with nul termination guarantee
Wrap openvpn_swprintf into Windows define
test_tls_crypt.c: fix global-buffer-overflow found by AddressSanitizer
crypto_openssl.c: fix heap-buffer-overflow found by AddressSanitizer
Fix various compiler warnings
Fix broken fragment/mssfix with NCP
crypto.c: fix Visual Studio build
tun.h: change tun_set() return value type to void
tun.h: remove TUN_PASS_BUFFER define
tapctl: add optional 'hardware id' parameter
vcxproj: add missing source files
push.c: fix Visual Studio build
Visual Studio: make it easier to build with VS
msvc: OpenSSL 1.1.x support
travis: add Visual Studio build
Visual Studio: upgrade project files to VS2019
wintun: add --windows-driver config option
wintun: implement opening wintun device
travis: bump MSVC to 2019
travis: bump clang version
wintun: ring buffers based I/O
wintun: interactive service support
wintun: set adapter properties via interactive service
wintun: clear adapter settings on tun close
tun.c: refactor open_tun() implementation
tun.c: do not add/remove on-link IPv4 route on tun open/close
options.c: do not force route delay when not using DHCP
configure.ac: simplify AC_CHECK_FUNCS statements
cryptoapi.c: fix run-time check failure in msvc debugger
interactive.c: remove unused function
tun.c: fix 'use after free' error
Fix building with --enable-async-push in FreeBSD
Fix broken async push with NCP is used
Fix illegal client float (CVE-2020-11810)
msvc: fix various level2 warnings
tap.c: fix adapter renaming
Improve Windows version detection with manifest
wintun: remove SYSTEM elevation hack
Fix compilation with --disable-lzo and --disable-lz4
Matthias Andree (3):
Make openvpn-plugin.h self-contained again.
Merge Makefile.am's AUTOMAKE_OPTIONS into configure.ac's AM_INIT_AUTOMAKE.
Fix stack buffer overruns in NEXTADDR() macro:
Maxim Plotnikov (1):
OpenSSL: Fix --crl-verify not loading multiple CRLs in one file
Maximilian Wilhelm (1):
Add --bind-dev option.
Michal Soltys (1):
man: correct the description of --capath and --crl-verify regarding CRLs
Mykola Baibuz (1):
Fix typo in NTLM proxy debug message
Olivier Wahrenberger (1):
Fix building with LibreSSL 2.5.1 by cleaning a hack.
Richard Bonhomme (3):
man: Corrections to doc/openvpn.8
Ignore --pull-filter for --mode server
doc/man: Update --txqueuelen default setting (Now OS default)
Richard van den Berg via Openvpn-devel (1):
Fix error message when using RHEL init script
Rosen Penev (2):
Remove wrong poll.h include
openssl: Fix compilation without deprecated OpenSSL 1.1 APIs
Samy Mahmoudi (1):
man: correct a --redirection-gateway option flag
Santtu Lakkala (1):
Fix OpenSSL private key passphrase notices
Selva Nair (55):
Fix push options digest update
Always release dhcp address in close_tun() on Windows.
Add a check for -Wl, --wrap support in linker
Fix user's group membership check in interactive service to work with domains
In auth-pam plugin clear the password after use
Pass correct buffer size to GetModuleFileNameW()
Check whether in pull_mode before warning about previous connection blocks
Avoid illegal memory access when malformed data is read from the pipe
Fix missing check for return value of malloc'd buffer
Return NULL if GetAdaptersInfo fails
Use RSA_meth_free instead of free
Bring cryptoapi.c upto speed with openssl 1.1
Add SSL_CTX_get_max_proto_version() not in openssl 1.0
TLS v1.2 support for cryptoapicert -- RSA only
Refactor ssl_openssl.c in prep for external EC key support
Refactor get_interface_metric to return metric and auto flag separately
Add management client version
Prompt for signature using '>PK_SIGN' if the client supports it
Allow external EC key through --management-external-key
Ensure strings read from registry are null-terminated
Make most registry values optional
Use lowest metric interface when multiple interfaces match a route
Move code to free cd to a function CAPI_DATA_free()
Disable external ec key support when building with libressl
Adapt to RegGetValue brokenness in Windows 7
Fix format spec errors in Windows builds
Move setting private key to a function in prep for EC support
Support EC certificates with cryptoapicert
Delete the IPv6 route to the "connected" network on tun close
Management: warn about password only when the option is in use
Avoid overflow in wakeup time computation
Replace M_DEBUG with D_LOW as the former is too verbose
Correct the declaration of handle in 'struct openvpn_plugin_args_open_return'
Parse static challenge response in auth-pam plugin
Bump version of openvpn plugin argument structs to 5
Accept empty password and/or response in auth-pam plugin
Pass the hash without the DigestInfo header to NCryptSignHash()
Move get system directory to a separate function
Enable dhcp on tap adapter using interactive service
Refactor sending commands to interactive service
Declare Windows version of openvpn_execve() before use
White-list pull-filter and script-security in interactive service
Move OpenSSL vs CNG signature digest type mapping to a function
Handle PSS padding in cryptoapicert
Better error message when script fails due to script-security setting
Correct the return value of cryptoapi RSA signature callbacks
Fix ACL_CHECK_ADD_COMPILE_FLAGS to work with clang
Swap the order of checks for validating interactive service user
Skip expired certificates in Windows certificate store
Allow unicode search string in --cryptoapicert option
Fix possibly uninitialized return value in GetOpenvpnSettings()
Fix possible access of uninitialized pipe handles
Move querying username/password from management to a function
When auth-user-pass file has no password query the management interface (if available).
Persist management-query-remote and proxy prompts
Simon Matter (2):
Fix segfault when using crypto lib without AES-256-CTR or SHA256
Add per session pseudo-random jitter to --reneg-sec intervals
Simon Rozman (67):
Local functions are not supported in MSVC. Bummer.
Mixing wide and regular strings in concatenations is not allowed in MSVC.
RtlIpv6AddressToStringW() and RtlIpv4AddressToStringW() require mstcpip.h
Simplify iphlpapi.dll API calls
Fix local #include to use quoted form
Document ">PASSWORD:Auth-Token" real-time message
Fix typo in "verb" command examples
Uniform swprintf() across MinGW and MSVC compilers
MSVC meta files added to .gitignore list
openvpnserv: Review MSVC down-casting warnings
openvpnserv: Add support for multi-instances
Document missing OpenVPN states
Add Interactive Service developer documentation
Change quoted to angled form when #including external .h files
Signed/unsigned warnings of MSVC resolved
Reference msvc-generate from compat to assure correct build order
msvc: Move common project settings to reusable property sheets
msvc: Unify Unicode/MultiByte string setting across all cfg|plat
Introduce tapctl.exe utility and openvpnmsica.dll MSI CA
Set output name to libopenvpnmsica.dll in MSVC builds too
Prevent __stdcall name mangling of MSVC
Define _WIN32_WINNT=_WIN32_WINNT_VISTA in MSVC
Add MSI custom action for reliable Windows 10 detection
Detect TAP interfaces with root-enumerated hardware ID
Change C++ to C comments
Make MSI custom action debug pop-up more informative
Delete TAP interface before the TAP driver is uninstalled
Add detection of active VPN connections for MSI packages
Add a MSI custom actions to close and relaunch OpenVPN GUI
Make DriverCertification MSI property public
Extend FindSystemInfo custom action to detect OpenVPNService state
Uncrustify tapctl and openvpnmsica
Strip _stdcall suffixes (@nn) for 32-bit builds
Detect missing TAP driver and bail out gracefully
Disambiguate thread local storage references from TLS
Add NULL checks
Add user manual and developer notes URL for tapctl.exe
Refactor OpenVPNService state detection code
Add developer notes URL for openvpnmsica.dll
Limit tapctl.exe and openvpnmsica.dll to TAP-Windows6 adapters only
msvc: Add vlan.c/h
tun.c: make Windows device lookup functions more general
tun.c: upgrade get_device_guid() to return the Windows driver type
tun.c: make wintun_register_ring_buffer() non-fatal on failures
wintun: register ring buffers when iterating adapters
wintun: add support for --dev-node
tun.c: reword the at_least_one_tap_win() error
wintun: stop sending TAP-Windows6 ioctls to NDIS device
wintun: refactor code to use enum driver type
tun.c: refactor driver detection and make it case-insensitive
tun.c: uncrustify
wintun: check for conflicting options
openvpnmsica: Remove required Windows driver certification detection
openvpnmsica: Fix TAPInterface.DisplayName field interpretation
tapctl: Update documentation
wintun: upgrade error message in case of ring registration failure
tun.c: reorder IPv6 ifconfig on Windows
tapctl: Add functions for enabling/disabling adapters
openvpnmsica: Revise MSI custom actions interop
openvpnmsica: Simplify static function names
openvpnmsica, tapctl: "interface" => "adapter"
openvpnmsica: "TAP" => "TUN/TAP"
openvpnmsica: Extend to support arbitrary HWID network adapters
openvpnmsica, tapctl: Revise default hardware ID management
openvpnmsica: Merge FindTUNTAPAdapters into FindSystemInfo
tapctl: Support multiple hardware IDs
tun.c: revise the IPv4 ifconfig flow on Windows
Stefan Strogin (1):
Use correct ifdefs for LibreSSL support
Steffan Karger (122):
Document that RSA_SIGN can also request TLS 1.2 signatures
man: encourage user to read on about --tls-crypt
Textual fixes for Changes.rst
Remove deprecated --no-iv option
More broadly enforce Allman style and braces-around-conditionals
Use SHA256 for the internal digest, instead of MD5
OpenSSL: 1.1 fallout - fix configure on old autoconf
Fix types in WIN32 socket_listen_accept()
Remove duplicate X509 env variables
Fix non-C99-compliant builds: don't use const size_t as array length
Deprecate --ns-cert-type
Be less picky about keyUsage extensions
cleanup: merge packet_id_alloc_outgoing() into packet_id_write()
Don't run packet_id unit tests for --disable-crypto builds
Fix Changes.rst layout
Fix memory leak in x509_verify_cert_ku()
mbedtls: correctly check return value in pkcs11_certificate_dn()
Restore pre-NCP frame parameters for new sessions
Always clear username/password from memory on error
Document tls-crypt security considerations in man page
Don't assert out on receiving too-large control packets (CVE-2017-7478)
Drop packets instead of assert out if packet id rolls over (CVE-2017-7479)
Log the negotiated (NCP) cipher
Avoid a 1 byte overcopy in x509_get_subject (ssl_verify_openssl.c)
Skip tls-crypt unit tests if required crypto mode not supported
openssl: fix overflow check for long --tls-cipher option
Add a DSA test key/cert pair to sample-keys
Fix mbedtls fingerprint calculation
mbedtls: fix --x509-track post-authentication remote DoS (CVE-2017-7522)
mbedtls: require C-string compatible types for --x509-username-field
Fix remote-triggerable memory leaks (CVE-2017-7521)
Restrict --x509-alt-username extension types
Fix potential double-free in --x509-alt-username (CVE-2017-7521)
Fix typo in extract_x509_extension() debug message
init_key_ctx: key and iv arguments can (now) be const
Move adjust_power_of_2() to integer.h
Undo cipher push in client options state if cipher is rejected
Remove strerror_ts()
Move openvpn_sleep() to manage.c
fixup: also change missed openvpn_sleep() occurrences
Always use default keysize for NCP'd ciphers
Move create_temp_file() out of #ifdef ENABLE_CRYPTO
sample-plugins: fix ASN1_STRING_to_UTF8 return value checks
Deprecate --keysize
Move run_up_down() to init.c
tls-crypt: introduce tls_crypt_kt()
crypto: create function to initialize encrypt and decrypt key
Add coverity static analysis to Travis CI config
tls-crypt: don't leak memory for incorrect tls-crypt messages
travis: reorder matrix to speed up build
Fix bounds check in read_key()
buffer_list_aggregate_separator(): add unit tests
doxygen: add make target and use relative paths
Simplify and inline clear_buf()
Add --tls-cert-profile option.
pf: clean up temporary files if plugin init fails
pf: reject client if PF plugin is configured, but init fails
Don't throw fatal errors from create_temp_file()
create_temp_file/gen_path: prevent memory leak if gc == NULL
Use P_DATA_V2 for server->client packets too
Fix memory leak in buffer unit tests
travis: use clang's -fsanitize=address to catch more bugs
Don't throw fatal errors from verify_cert_export_cert()
buffer_list_aggregate_separator(): update list size after aggregating
buffer_list_aggregate_separator(): don't exceed max_len
buffer_list_aggregate_separator(): prevent 0-byte malloc
Fix types around buffer_list_push(_data)
ssl_openssl: fix compiler warning by removing getbio() wrapper
Fix --tls-version-min and --tls-version-max for OpenSSL 1.1+
Add support for TLS 1.3 in --tls-version-{min, max}
tls_ctx_set_tls_versions: move verify_flags to where it is used
Plug memory leak if push is interrupted
Log pre-handshake packet drops using D_MULTI_DROPPED
Enable stricter compiler warnings by default
reliable: remove reliable_unique_retry()
Get rid of ax_check_compile_flag.m4
mbedtls: don't use API deprecated in mbed 2.7
Warn if tls-version-max < tls-version-min
Check for more data in control channel
Move env helper functions into their own module/file
man: add security considerations to --compress section
openssl: don't use deprecated SSLEAY/SSLeay symbols
openssl: add missing #include statements
Move file-related functions from misc.c to platform.c
Move execve/run_script helper functions to run_command.c
Add crypto_pem_{encode,decode}()
Introduce buffer_write_file()
mbedtls: print warning if random personalisation fails
Fix memory leak after sighup
Remove unused void_ptr_hash_function and void_ptr_compare_function
Do not load certificate from tls_ctx_use_external_private_key()
mbedtls: make external signing code generic
mbedtls: remove dependency on mbedtls pkcs11 module
Fix memory leak in SSL_CTX_use_certificate
travis: add OpenSSL 1.1 Windows build
Fix use-after-free in tls_ctx_use_management_external_key
Simplify --genkey option syntax
Don't print OCC warnings about 'key-method', 'keydir' and 'tls-auth'
Add support for CHACHA20-POLY1305 in the data channel
List ChaCha20-Poly1305 as stream cipher
mbedtls: don't print unsupported ciphers in insecure cipher list
Fix mbedtls unit tests
buffer_list_aggregate_separator(): simplify code
tls-crypt-v2: add specification to doc/
tls-crypt-v2: generate tls-crypt-v2 keys
tls-crypt-v2: add unwrap_client_key
tls-crypt-v2: add P_CONTROL_HARD_RESET_CLIENT_V3 opcode
tls-crypt-v2: implement tls-crypt-v2 handshake
tls-crypt-v2: add script hook to verify metadata
tls-crypt-v2: clarify --tls-crypt-v2-genkey man page section
tls-crypt-v2: fix client reconnect bug
Remove deprecated --compat-x509-names and --no-name-remapping
Extend tls-crypt-v2 unit tests
Fix tls-auth/crypt in connection blocks with --persist-key
cmocka: use relative paths
tests: remove dependency on base64
configure.ac: add lzo CFLAGS/LIBS to the test flags
Update sample configs to use modern cipher, remove static key examples
mbedtls: add RFC 5705 keying material exporter support
Move keying material exporter check from syshead.h to configure.ac
Make openvpn --version exit with exit code 0
Gently push users towards --data-ciphers in --show-ciphers output
Steven McDonald (1):
Fix gateway detection with OpenBSD routing domains
Szilárd Pfeiffer (1):
OpenSSL: Always set SSL_OP_CIPHER_SERVER_PREFERENCE flag
Thomas Quinot (1):
Fix documentation of tls-verify script argument
Thomas Veerman via Openvpn-devel (1):
Fix socks_proxy_port pointing to invalid data
Tom van Leeuwen (1):
mbedTLS: Make sure TLS session survives move
ValdikSS (1):
Set a low interface metric for tap adapter when block-outside-dns is in use
Vladislav Grishenko (1):
Log serial number of revoked certificate
WGH (1):
docs: Add reference to X509_LOOKUP_hash_dir(3)
hashiz (1):
Fix '--bind ipv6only'
tincanteksup (1):
Correct error message for --tls-crypt-v2-genkey client
2016.12.16 -- Version 2.4_rc2
David Sommerseth (9):
Fix wrong configure.ac parsing of --enable-async-push
Changes: Further improve systemd unit file updates
systemd: Intermediate --chroot fix with the new sd_notify() implementation
Further enhance async-push feature description
Changes.rst: Mainatiner update on C99
dev-tools: Add reformat-all.sh for code style unification
The Great Reformatting - first phase
Merge 'reformatting' branch into master
auth-gen-token: Hardening memory cleanup on auth-token failuers
Gert Doering (1):
Refactor setting close-on-exec for socket FDs
Lev Stipakov (2):
Arm inotify only in server mode
Add "async push" feature to Changes.rst
Magnus Kroken (1):
mbedtls: include correct net/net_sockets header according to version
Selva Nair (2):
Correctly state the default dhcp server address in man page
Unhide a line in man page by fixing a typo
Steffan Karger (4):
Fix (and cleanup) crypto flags in combination with NCP
Deprecate --no-iv
man: mention that --ecdh-curve does not work on mbed TLS builds
Don't reopen tun if cipher changes
2016.12.01 -- Version 2.4_rc1
Antonio Quartulli (1):
reload CRL only if file was modified
Christian Hesse (3):
update year in copyright message
Use systemd service manager notification
Refuse to daemonize when running from systemd
Gert Doering (1):
Fix windows path in Changes.rst
Samuli Seppänen (1):
Mention that OpenVPN 2.4 requires Windows Vista or higher
Selva Nair (4):
Map restart signals from event loop to SIGTERM during exit-notification wait
When parsing '--setenv opt xx ..' make sure a third parameter is present
Force 'def1' method when --redirect-gateway is done through service
Do not restart dns client service as a part of --register-dns processing
Steffan Karger (4):
tls_process: don't set variable that's never read
Unconditionally enable TLS_AGGREGATE_ACK
Clean up format_hex_ex()
Introduce and use secure_memzero() to erase secrets
2016.11.24 -- Version 2.4_beta2
Arne Schwabe (5):
Document that tls-crypt also supports inline
Fix warning that RAND_bytes is undeclared
Remove compat-stdbool.h.
Fix various compiler warnings
Handle DNS6 option on Android
David Sommerseth (2):
Changes.rst: Fixing wrong formatting
Document the --auth-token option
Gert Doering (2):
Remove remaining traces of compat-stdbool.h
Stub implementation of "--dhcp-option DNS6 <v6addr>"
Selva Nair (3):
Do not set ipv6 address if '--ip-win32 manual' is used
Handle --dhcp-option DNS6 on Windows using netsh
Set IPv6 DNS servers using interactive service
Steffan Karger (6):
multi_process_float: revert part of c14c4a9e
--tls-crypt fixes
Change cmocka remote to use https in stead of git protocol
generate_key_expansion: make assumption explicit, use C99 features
Poor man's NCP for non-NCP peers
Refactor data channel key generation API
2016.11.17 -- Version 2.4_beta1
Arne Schwabe (1):
Make Changes.rst nicer for 2.4 release
David Sommerseth (16):
Update .mailmap to unify and clean up odd names and e-mail addresses
cleanup: Remove NOP code sections in ssl.c:tls_process()
Remove last rest of INSTALL-win32.txt references
auth-gen-token: Add --auth-gen-token option
auth-gen-token: Generate an auth-token per client
auth-gen-token: Push generated auth-tokens to the client
auth-gen-token: Authenticate generated auth-tokens when client re-authenticates
Fix builds with --disable-crypto
man: Improve the --keepalive section
console: Fix compiler warning
systemd: Improve the systemd unit files
tun: Fix compiler warnings
file checks: Merge warn_if_group_others_accessible() into check_file_access()
tun: Fix weird commit error causing a double assignment
options: Remove --tls-remote
Remove unused variable in argv_printf_arglist()
Gert Doering (10):
openvpn version line: remove [IPv6], add [AEAD] if available
clean up *sig_info handling in link_socket_init_phase2()
check c->c2.link_socket before calling do_init_route_ipv6_list()
Check previously-unchecked buf_alloc_write() call in crypto self-test.
Fix potential division by zero in shaper_reset()
Repair topology subnet on FreeBSD 11
Repair topology subnet on OpenBSD
Add in_port_t check to configure.ac
Fix compilation on MinGW with -std=c99
Replace WIN32 by _WIN32
Heiko Hund (4):
put argv_* functions into own file, add unit tests
Remove unused and unecessary argv interfaces
remove unused system_str from struct argv
Factor out %sc handling from argv_printf()
Lev Stipakov (1):
Drop recursively routed packets
Samuli Seppänen (6):
Remove INSTALL-win32.txt that is now hosted in openvpn-build
Fix update_t_client_ips.sh for out of tree builds
Make sure that all relevant files under test go to release tarballs
Allow passing extra arguments to fping/fping6 in t_client.rc
Prevent generation of duplicate EXPECT_IFCONFIG entries
Fix a logic problem in handling of --up scripts in t_client.sh
Selva Nair (2):
Support --block-outside-dns on multiple tunnels
Unbreak windows build
Steffan Karger (19):
Fix use-after-free bug in prepare_push_reply()
Remove verbose msg() from send_push_reply()
Limit --reneg-bytes to 64MB when using small block ciphers
Add a revoked cert to the sample keys
Fix --tls-version-max in mbed TLS builds
Don't deference type-punned pointers
Fix builds on compilers without anonymous union support
Refactor static/tls-auth key loading
Add missing includes in error.h
Make argv unit tests obey {MBEDTLS, OPENSSL}_{LIBS, CFLAGS}
Move private file access checks to options_postprocess_filechecks()
Deprecate key-method 1
Refactor CRL handling
Remove unneeded check for extra_certs_file_inline
Fix missing return value checks in multi_process_float()
Restore pre-NCP cipher options on SIGUSR1
Remove unused variables from do_init_crypto_static()
Add control channel encryption (--tls-crypt)
Add --tls-crypt unit tests
2016.10.19 -- Version 2.4_alpha2
David Sommerseth (1):
Update .mailmap to unify and clean up odd names and e-mail addresses
Steffan Karger (1):
Fix use-after-free bug in prepare_push_reply()
2016.10.17 -- Version 2.4_alpha1
Adriaan de Jong (2):
Fixed a bug where PolarSSL gave an error when using an inline file tag.
Fix --show-pkcs11-ids (Bug #239)
Alexander Pyhalov (1):
Default gateway can't be determined on illumos/Solaris platforms
Alon Bar-Lev (1):
pkcs11: use generic evp key instead of rsa
Andris Kalnozols (3):
Fix some typos in the man page.
Do not upcase x509-username-field for mixed-case arguments.
extract_x509_extension(): hide status message during normal operation.
Arne Schwabe (100):
Document man agent-external-key
Options parsing demands unnecessary configuration if PKCS11 is used
Error message if max-routes used incorrectly
Properly require --key even if defined(MANAGMENT_EXTERNAL_KEY)
Remove dnsflags_to_socktype, it is not used anywhere
Fix the proto is used inconsistently warning
Remove dead code path and putenv functionality
Remove unused function xor
Move static prototype definition from header into c file
Remove unused function no_tap_ifconfig
Add the client id (CID) to the output of the status command
Print client id only if compiled with man agent support. Otherwise print an empty string.
Allow routes to be set before opening tun, similar to ifconfig before opening tun
Add ability to send/receive file descriptors via management interface
Android platform specific changes.
Emulate persist-tun on Android
Document the Android implementation in OpenVPN
Only print script warnings when a script is used. Remove stray mention of script-security system.
Fix #ifdefs for P2MP_SERVER
Move settings of user script into set_user_script function
Move checking of script file access into set_user_script
Fix another #ifdef/#if P2MP_SERVER
PATCHv3 Remove unused variables or put them to the defines they are being used in
Add support of utun devices under Mac OS X
Add support to ignore specific options.
Add a note what setenv opt does for OpenVPN < 2.3.3
Implement custom HTTP header for http-proxy, and always send user-agent:
Add reporting of UI version to basic push-peer-info set.
Change the type of all ports in openvpn to const char* and let getaddrinfo resolve the port together with the hostname.
Fix compile error in ssl_openssl introduced by polar external-management patch
Simplify print_sockaddr_ex function, merge duplicate ipv4/ipv6 logic.
Split the PROTO_UDP_xx options into AF_INET/AF_INET6 and PROTO_TCP/PROTO_UDP part.
Fix two instances of asserting AF_INET
Fix assertion when SIGUSR1 is received while getaddrinfo is successful
Split link_socket_init_phase1 and link_socket_init_phase2 into smaller more managable/readable functions. No functional changes
Change proto_remote() function to return a constant string
Remove the ip-remote-hint option.
change the type of 'remote' to addrinfo*, and rename to 'remote_list'.
When resolving fails print the error message from socket layer
Implement dual stack client support for OpenVPN
Move ASSERT so external-key with OpenSSL works again
Implement listing on IPv4/IPv6 dual socket on all platform
Add warning for using connection block variables after connection blocks
Update IPv6 related readme files
Introduce safety check for http proxy options
Fix warning for max-routes: do not quit when parsing an old configuration. Format the message to be more like the other deprecated options
Fix connecting to localhost on Android
Move the initialization of the environment to the top so c2.es is initialized
Workaround broken Android 4.4 VpnService API for persist-tun mode
Implement an easy parsable log output that allows access to flags of the log message
Introduce an option to resolve dns names in advance for --remote, --local and --http-proxy
Fix for server selecting address family
Don't show the connection profile store in options->ce if there is a connection_list defined.
Add gateway and device to android control messages
Clean up of socket code.
Fix assert when using port-share
Work around Solaris getaddrinfo() returing ai_protocol=0
Fix man page and OSCP script: tls_serial_{n} is decimal
Remove ENABLE_BUFFER_LIST
Fix server routes not working in topology subnet with --server [v3]
Always enable http-proxy and socks-proxy
Remove deprecated --max-routes option from manual
Add documentation for PERSIST_TUN_ACTION (Android specific)
Remove possibility of using --tls-auth with non OpenVPN Static key files
Remove unused function sock_addr_set
Document the default for tls-cipher.
Report missing end-tags of inline files as errors
Fix commit e473b7c if an inline file happens to have a line break exactly at buffer limit
Show extra-certs in current parameters, fix clang warning and logic error in preresolve
Remove unused function h_errno_msg
Add support for requesting the fd again to rebind to the next interface.
Don't redirect the gateway on Android even if requested
Fix loglevel of protect socket message
Extend network-change command to allow reprotecting on the same network (for short connection losses)
Use pseudo gw as default gw on Android as a workaround for not being able to read /proc/net/route
Remove #ifdefs for client nat support.
Do not install a host route for the VPN on Android
Fix commit c67acea173dc9ee37220f5b9ff14ede081181992
Do not set the buffer size by default but rely on the operation system default.
Start Changes.rst that lists changes in 2.4.0
Remove --enable-password-save option
Reflect enable-password-save change in documentation
Also remove second instance of enable-password-save in the man page
Detect config lines that are too long and give a warning/error
Implement the compression V2 data format for stub and lz4.
Fix assert when comp is called with unknown algorithm, always call comp init method
Ignore stamp-h2 we generate during build process
Implement inlining of crl files
Complete push-peer-info documentation and allow IV_PLAT_VER for other platforms than Windows if the client UI supplies it.
Remove http-proxy-timeout, socks timeout and set default of server-poll-timeout to 120s
Add documentation for http-proxy-user-pass option
Remove http-proxy-retry and socks-proxy-retry.
Update android documentation to match source code
Use AES ciphers in our sample configuration files and add a few modern 2.4 examples
Fix ENABLE_CRYPTO_OPENSSL set to YES even with --disable-crypto set
Prefer RECVDSTADDR to PKTINFO for IPv4 in OS X since it actually works (unlike PKTINFO)
Incorporate the Debian typo fixes where appropriate and make show_opt default message clearer
Enable TCP non-linear packet ID
Change the hold command to communicate the time that OpenVPN would wait to the UI.
Remove tun-ipv6 Option. Instead assume that IPv6 is always supported.
Boris Lytochkin (1):
Log serial number of revoked certificate
Christian Hesse (1):
fix build with automake 1.13(.1)
Christian Niessner (1):
Fix corner case in NTLM authentication (trac #172)
Christos Trochalakis (1):
Adjust server-ipv6 documentation
Cristian Rodriguez (1):
Use SSL_MODE_RELEASE_BUFFERS if available
Daniel Hahler (1):
options: fix option check for "plugin"
Daniel Kubec (4):
Added support for TLS Keying Material Exporters [RFC-5705]
Added document for TLS Keying Material Exporters [RFC-5705]
sample-plugin: TLS Keying Material Exporter [RFC-5705] demonstration plug-in
Fix buffer size parameter for exported keying material.
David Sommerseth (44):
Make git ignore some more files
Remove the support for using system() when executing external programs or scripts
Fix double-free issue in pf_destroy_context()
Reset the version.m4 version for the master branch
Avoid recursion in virtual_output_callback_func()
The get_default_gateway() function uses warn() instead of msg()
Improve the git revision tracking
man page: Update man page about the tls_digest_{n} environment variable
Remove the --disable-eurephia configure option
plugin: Extend the plug-in v3 API to identify the SSL implementation used
autoconf: Fix typo
t_client.sh: Check for fping/fping6 availability
t_client.sh: Write errors to stderr and document requirements
t_client.sh: Add prepare/cleanup possibilties for each test case
Fix file checks when --chroot is being used
Adjusted autotools files to build more cleanly on newer autoconf/automake versions
Improve error reporting on file access to --client-config-dir and --ccd-exclusive
Don't let openvpn_popen() keep zombies around
Don't try to use systemd-ask-password if it is not available
Clean up the pipe closing in openvpn_popen()
Add systemd unit file for OpenVPN
systemd: Use systemd functions to consider systemd availability
systemd: Reworked the systemd unit file to handle server and client configs better
autotools: Fix wrong ./configure help screen default values
down-root plugin: Replaced system() calls with execve()
down-root: Improve error messages
plugin, down-root: Fix compiler warnings
sockets: Remove the limitation of --tcp-nodelay to be server-only
plugins, down-root: Code style clean-up
Provide compile time OpenVPN version information to plug-ins
Provide OpenVPN runtime version information to plug-ins
Avoid partial authentication state when using --disabled in CCD configs
Only build and run cmocka unit tests if its submodule is initialized
Another fix related to unit test framework
Remove NOP function and callers
Revert "Drop recursively routed packets"
Fix client connection instant timeout
t_client.sh: Make OpenVPN write PID file to avoid various sudo issues
t_client.sh: Add support for Kerberos/ksu
t_client.sh: Improve detection if the OpenVPN process did start during tests
Rework the user input interface to make it more modular
Re-implement the systemd support using the new query user API
systemd: Do not mask usernames when querying for it via systemd-ask-password
Move memcmp_constant_time() to crypto.h
David Woodhouse (2):
pkcs11: Load p11-kit-proxy.so module by default
Make 'provider' option to --show-pkcs11-ids optional where p11-kit is present
Davide Brini (2):
Provide more accurate warning message
Document authfile for socks server
Dmitrij Tejblum (1):
Fix is_ipv6 in case of tap interface.
Dorian Harmans (1):
Add CHACHA20-POLY1305 ciphersuite IANA name translations.
Felix Janda (1):
Use OPENVPN_ETH_P_* so that <netinet/if_ether.h> is unecessary
Fish (1):
Add lz4 support to MSVC.
Gert Doering (110):
Implement --mssfix handling for IPv6 packets.
Fix option inconsistency warnings about "proto" and "tun-ipv6"
Fix parameter type for IP_TOS setsockopt on non-Linux systems.
Fix client crash on double PUSH_REPLY.
Update README.IPv6 to match what is in 2.3.0
Repair "tcp server queue overflow" brokenness, more <stdbool.h> fallout.
Permit pool size of /64.../112 for ifconfig-ipv6-pool
Add MIN() compatibility macro
Fix directly connected routes for "topology subnet" on Solaris.
Print "Virtual IPv6 Address" on management interface queries [v4]
Use constrain_int() instead of MIN()+syshead.c compat definition - v2.
Fix NULL-pointer crash in route_list_add_vpn_gateway().
Fix usage of 'compression ...' from global config.
Make push-peer-info visible in "normal" per-instance environment.
Fix problem with UDP tunneling due to mishandled pktinfo structures.
Improve documentation and help text for --route-ipv6.
Fix argument type warning introduced by http extra proxy header patch.
Fix IPv6 examples in t_client.rc-sample
Fix slow memory drain on each client renegotiation.
t_client.sh: ignore fields from "ip -6 route show" output that distort results.
Fix IPv6_V6ONLY logic.
Implement LZ4 compression.
Provide LZ4 sources in src/compat/ and use if no system lz4 library found.
Document "lz4" argument to "compress" config option.
Make code and documentation for --remote-random-hostname consistent.
Reduce IV_OPENVPN_GUI_VERSION= to IV_GUI_VER=
remove some 'unused variable' warnings
Cleanup ir6->netbits handling.
Document issue with --chroot, /dev/urandom and PolarSSL.
Rename 'struct route' to 'struct route_ipv4'
Replace copied structure elements with including <net/route.h>
Add "test-driver" and "compile" to .gitignore
Fix crash when using --inetd.
IPv6 address/route delete fix for Win8
Add SSL library version reporting.
Minor t_client.sh cleanups
Repair --multihome on FreeBSD for IPv4 sockets.
Rewrite manpage section about --multihome
More IPv6-related updates to the openvpn man page.
Conditionalize calls to print_default_gateway on !ENABLE_SMALL
Merge get_default_gateway() implementation for all 4+1 BSD variants.
Drop incoming fe80:: packets silently now.
Recognize AIX, define TARGET_AIX
Add tap driver initialization and ifconfig for AIX.
implement adding/deleting routes on AIX, for IPv4 and IPv6
Make t_client.sh work on AIX.
Fix t_lpback.sh platform-dependent failures
Call init script helpers with explicit path (./)
Fix windows build on older mingw versions.
New approach to handle peer-id related changes to link-mtu.
Print remote IPv4 address on a dual-stack v6 socket in IPv4 format
Fix incorrect use of get_ipv6_addr() for iroute options.
Remove count_netmask_bits(), convert users to use netmask_to_netbits2()
Fix leftover 'if (false) ;' statements
Print helpful error message on --mktun/--rmtun if not available.
explain effect of --topology subnet on --ifconfig
Add note about file permissions and --crl-verify to manpage.
repair --dev null breakage caused by db950be85d37
assume res_init() is always there.
Correct note about DNS randomization in openvpn.8
Disallow usage of --server-poll-timeout in --secret key mode.
slightly enhance documentation about --cipher
Enforce "serial-tests" behaviour for tests/Makefile
Revert "Enforce "serial-tests" behaviour for tests/Makefile"
On signal reception, return EAI_SYSTEM from openvpn_getaddrinfo().
Use configure.ac hack to apply serial_test AM option only if supported.
Use EAI_AGAIN instead of EAI_SYSTEM for openvpn_getaddrinfo().
Move res_init() call to inner openvpn_getaddrinfo() loop
Fix FreeBSD ifconfig for topology subnet tunnels.
Produce a meaningful error message if --daemon gets in the way of asking for passwords.
Document --daemon changes and consequences (--askpass, --auth-nocache).
Fix build on OpenSolaris (non-gmake)
Un-break --auth-user-pass on windows
refactor struct route_ipv6, bring in line with struct route_ipv4 again
refactor struct route_ipv6_list, bring in line with struct route_list again
Add route_ipv6_gateway* data structures for rgi6 support.
Create basic infrastructure for IPv6 default gateway handling / redirection.
Make client delay less before sending PUSH_REQUEST
get_default_gateway_ipv6(): Linux / Netlink implementation.
Implement handling of overlapping IPv6 routes with IPv6 remote VPN server address
Implement '--redirect-gateway ipv6'
get_default_gateway_ipv6(): *BSD / MacOS / Solaris PF_ROUTE implementation
Fix IPv6 host routes to LAN gateway on OpenSolaris
Replace unaligned 16bit access to TCP MSS value with bytewise access
Repair test_local_addr() on WIN32
Add custom check for inet_pton()/inet_ntop() on MinGW/WIN32
get_default_gateway_ipv6(): Win32 implementation using GetBestRoute2()
Remove support for snappy compression.
Fix info.af == AF_UNSPEC case for server with --mtu-disc
Fix FreeBSD-specific mishandling of gc arena pointer in create_arbitrary_remote()
remove unused gc_arena in FreeBSD close_tun()
Un-break compilation on *BSD
Fix isatty() check for good.
Fix openserv/validate.o linking issues on mingw.
Fix library order in -lmbedtls test.
Implement push-remove option to selectively remove pushed options.
Upgrade bundled compat-lz4 to upstream release r131.
Change --enable-pedantic to use -std=c99 and not -ansi (C90).
Fix problems with NCP and --inetd.
Do not abort t_client run if OpenVPN instance does not start.
Fix IP_PKTINFO related compilation failure on NetBSD 7.0
Show compile-time variant for --multihome in --version output.
Fix win32 building with C99 mode
Fix t_client runs on OpenSolaris
make t_client robust against sudoers misconfiguration
add POSTINIT_CMD_suf to t_client.sh and sample config
Fix --multihome for IPv6 on 64bit BSD systems.
Enable -D_SVR4_2 for compilation on Solaris
Revert "Enable -D_SVR4_2 for compilation on Solaris"
Enable -D_XPG4_2 for compilation on Solaris
Guy Yur (1):
Fix --redirect-private in --dev tap mode.
Heikki Hannikainen (1):
Always load intermediate certificates from a PKCS#12 file
Heiko Hund (20):
Fix display of plugin hook types
Support UTF-8 --client-config-dir
close more file descriptors on exec
Ignore UTF-8 byte order mark
reintroduce --no-name-remapping option
make --tls-remote compatible with pre 2.3 configs
add new option for X.509 name verification
Support non-ASCII TAP adapter names on Windows
Support non-ASCII characters in Windows tmp path
make sure sa_family_t is defined
convert struct signal_info element
grow route lists dynamically
fix route struct name
refine assertion to allow other modes than CBC
Fix compilation on Windows
fix warnings on Windows
extend management interface command "state"
put virtual IPv6 addresses into env
interactive service v3
Windows: do_ifconfig() after open_tun()
Holger Kummert (1):
Del ipv6 addr on close of linux tun interface
Hubert Kario (2):
ocsp_check - signature verification and cert staus results are separate
ocsp_check - double check if ocsp didn't report any errors in execution
Ilya Shipitsin (3):
initial travis-ci support
skip t_lpback.sh and t_cltsrv.sh if openvpn configured --disable-crypto
enable "--disable-crypto" build configuration for travis
Ivo Manca (1):
Plug memory leak in mbedTLS backend
James Bekkema (1):
Fix socket-flag/TCP_NODELAY on Mac OS X
James Geboski (1):
Fix --askpass not allowing for password input via stdin
James Yonan (14):
Added support for the Snappy compression algorithm
Always push basic set of peer info values to server.
TLS version negotiation
Added "setenv opt" directive prefix. If present, and if the directive that follows is recognized, it will be processed as if the "setenv opt" prefix was absent. If present and if the directive that follows is not recognized, the directive will be ignored rather than cause a fatal error.
MSVC fixes
Set SSL_OP_NO_TICKET flag in SSL context for OpenSSL builds, to disable TLS stateless session resumption.
Use native strtoull() with MSVC 2013.
Define PATH_SEPARATOR for MSVC builds.
Fixed some compile issues with show_library_versions()
Added flags parameter to format_hex_ex.
Extended x509-track for OpenSSL to report SHA1 fingerprint.
Fixed port-share bug with DoS potential
Added directive to specify HTTP proxy credentials in config.
Bind to local socket before dropping privileges
Jan Just Keijser (5):
man page patch for missing options
make 'explicit-exit-notify' pullable again
include ifconfig_ environment variables in --up-restart env set
Author: Jan Just Keijser <janjust@nikhef.nl>
Make certificate expiry warning patch (091edd8e299686) work on OpenSSL 1.0.1 and earlier.
Jann Horn (1):
Remove quadratic complexity from openvpn_base64_decode()
Jeffrey Cutter (1):
Update contrib/pull-resolv-conf/client.up for no DOMAIN
Jens Neuhalfen (6):
Make intent of utun device name validation clear
Fix buffer overflow by user supplied data
ignore the local config file t_client.rc in git
Prevent integration test timeout bc. of sudo
Add unit testing support via cmocka
Add a test for auth-pam searchandreplace
Jens Wagner (1):
Fix spurious ignoring of pushed config options (trac#349).
Jesse Glick (1):
Allow use of NetBeans without saving nbproject/ directory.
Joachim Schipper (5):
doc/management-notes.txt: fix typo
Fix typo in ./configure message
Refactor tls_ctx_use_external_private_key()
--management-external-key for PolarSSL
external_pkcs1_sign: Support non-RSA_SIG_RAW hash_ids
Jonathan K. Bullard (3):
Fix mismatch of fprintf format specifier and argument type
Fix null pointer dereference in options.c
Fail if options have extra parameters [v2]
Josh Cepek (7):
Fix parameter listing in non-debug builds at verb 4
(updated) [PATCH] Warn when using verb levels >=7 without debug
Fix proto tcp6 for server & non-P2MP modes
Fix Windows script execution when called from script hooks
Correct error text when no Windows TAP device is present
Require a 1.2.x PolarSSL version
Push an IPv6 CIDR mask used by the server, not the pool's size
Julien Muchembled (1):
Fix --mtu-disc option with IPv6 transport
Kenneth Rose (1):
Fix v3 plugins to support returning values back to OpenVPN.
Klee Dienes (1):
tls_ctx_load_ca: Improve certificate error messages
Leon Klingele (1):
Add link to bug tracker
Leonardo Basilio (1):
Correctly report TCP connection timeout on windows.
Lev Stipakov (26):
Peer-id patch v7
Add the peer-id to the output of the status command
Prevent memory drain for long lasting floating sessions
Disallow lameduck's float to an address taken by another client
Fix NULL dereferencing
Fix mssfix default value in connection_list context
This fixes MSVS 2013 compilation.
Continuation of MSVS fixes
Fast recovery when host is in unreachable network
Fix compilation error with --disable-crypto
Send push reply right after async auth complete
Fix compilation with --disable-server
Refine float logging
Generate openvpn-plugin.h for MSVC build
Replace variable length array with malloc
Use adapter index instead of name for windows IPv6 interface config
Notify clients about server's exit/restart
Use adapter index for add/delete_route_ipv6
Pass adapter index to up/down scripts
Detecting and logging Windows versions
Report Windows bitness
Fix "implicit declaration" compiler warning
Drop recursively routed packets
Support for disabled peer-id
Exclude peer-id from pulled options digest
Use separate list for per-client push options
Lukasz Kutyla (1):
Fix privilege drop if first connection attempt fails
Matthias Andree (1):
Enable TCP_NODELAY configuration on FreeBSD.
Max Muster (1):
Remove duplicate cipher entries from TLS translation table.
Michael McConville (1):
Fix undefined signed shift overflow
Michal Ludvig (1):
Support for username-only auth file.
Mike Gilbert (2):
Add configure check for the path to systemd-ask-password
Include systemd units in the source tarball (make dist)
Niels Ole Salscheider (1):
Fix build with libressl
Peter Sagerson (1):
Fix configure interaction with static OpenSSL libraries
Philipp Hagemeister (2):
Add topology in sample server configuration file
Implement on-link route adding for iproute2
Phillip Smith (1):
Use bob.example.com and alice.example.com to improve clarity of documentation
Robert Fischer (1):
Updated manpage for --rport and --lport
Samuel Thibault (1):
Ensure that client-connect files are always deleted
Samuli Seppänen (15):
Removed ChangeLog.IPv6
Added cross-compilation information INSTALL-win32.txt
Updated README
Cleaned up and updated INSTALL
Fix to --shaper documentation on the man-page
Properly escape dashes on the man-page
Improve documentation in --script-security section of the man-page
Add CONTRIBUTING.rst
Update CONTRIBUTING.rst to allow GitHub PRs for code review purposes
Clarify the fact that build instructions in README are for release tarballs
Mention tap-windows6 in INSTALL file
Use an up-to-date easy-rsa URL on the man-page
Clarify which Windows versions require which TUN/TAP driver
Deprecate the automatic part of openvpnserv.exe in favor of openvpnserv2.exe
Automatically cache expected IPs for t_client.sh on the first run
Selva Nair (26):
Fix termination when windows suspends/sleeps
Do not hard-code windows systemroot in env_block
Handle ctrl-C and ctrl-break events on Windows
Unbreak read username password from management
Restrict options/configs for startup through interactive service
Send stdout and stderr of OpenVPN started by interactive service to NUL
Handle localized Administrators group name in windows
Fix interactive service ignoring stop command if openvpn is running
Use appropriate buffer size for WideCharToMultiByte output in interactive.c
Refactor and move the block-outside-dns code to a new file (block_dns.[ch])
Add support for block-outside-dns through the interactive service
Ensure input read using systemd-ask-password is null terminated
Support reading the challenge-response from console
Make error non-fatal while deleting address using netsh
Add support for register-dns through interactive service
Fix handling of out of memory error in interactive service
Fix the comparison of pull options hash on restart
Set WFP engine handle to NULL in win_wfp_uninit()
Make block-outside-dns work with persist-tun
Add an option to filter options received from server
Ignore SIGUSR1/SIGHUP during exit notification
Fix management-external-cert option parsing error
Return process id of openvpn from interactive service to client
Exponentially back off on repeated connect retries
Promptly close the netcmd_semaphore handle after use
Avoid format specifier %zu for Windows compatibility
Steffan Karger (180):
PolarSSL-1.2 support
Improve PolarSSL key_state_read_{cipher, plain}text messages
Improve verify_callback messages
Config compatibility patch. Added translate_cipher_name.
Switch to IANA names for TLS ciphers.
Fixed autoconf script to properly detect missing pkcs11 with polarssl.
Use constant time memcmp when comparing HMACs in openvpn_decrypt.
Fixed tls-cipher translation bug in openssl-build
Fixed usage of stale define USE_SSL to ENABLE_SSL
Do not pass struct tls_session* as void* in key_state_ssl_init().
Require polarssl >= 1.2.10 for polarssl-builds, which fixes CVE-2013-5915.
Also update TLSv1_method() calls in support code to SSLv23_method() calls.
Update TLSv1 error messages to SSLv23 to reflect changes from commit 4b67f98
If --tls-cipher is supplied, make --show-tls parse the list.
Remove OpenSSL tmp_rsa_callback. Removes support for ephemeral RSA in TLS.
Make tls_ctx_restrict_ciphers accept NULL as char *cipher_list.
Disable export ciphers by default for OpenSSL builds.
Fix compiler warning for unused result of write()
Remove unused variables from ssl_verify_polarssl.c's x509_get_serial()
Fix compiler warnings in ssl_polarssl.c
Bump minimum OpenSSL version to 0.9.8
Add openssl-specific common cipher list names to ssl.c.
Disable unsupported TLS cipher modes by default, cleans --show-tls output.
configure.ac: check for SSL_OP_NO_TICKET flag in OpenSSL
configure.ac: use CPPFLAGS for SSL_OP_NO_TICKET check
Upgrade to PolarSSL 1.3
Improve error reporting during key/cert loading with PolarSSL.
Update openvpn-plugin.h for PolarSSL 1.3.
Add support for elliptic curve diffie-hellmann key exchange (ECDH)
Add an elliptic curve testing cert chain to the sample keys
Change signedness of hash in x509_get_sha1_hash(), fixes compiler warning.
Fix OCSP_check.sh to also use decimal for stdout verification.
Make serial env exporting consistent amongst OpenSSL and PolarSSL builds.
Fix build system to accept non-system crypto library locations for plugins.
Remove function without effect (cipher_ok() always returned true).
Remove unneeded wrapper functions in crypto_openssl.c
Remove unneeded defines (were needed for pre-0.9.7 OpenSSL).
Fix merge error in a6c573d, the ssl ctx is now abstracted.
Use generic openvpn_x509_cert_t in ssl_verify_polarssl.c
Fix ssl.c, ssl_verify_* includes
Move #include "ssl_verify.h" from ssl.h to the source files that need it.
Remove dependency on manage.h from ssl_verify.h
Remove unused variable 'proxy' from socket_restart_pause()
Add (default disabled) --enable-werror option to configure
Fix --disable-ssl builds, were broken by cleanup in 63dc03d.
configure.ac: fix SSL_OP_NO_TICKET check
Fix bug that incorrectly refuses oid representation eku's in polar builds
Update README.polarssl
cleanup: remove #if 0'ed function initiate_untrusted_session() from ssl.c.
Rename ALLOW_NON_CBC_CIPHERS to ENABLE_OFB_CFB_MODE, and add to configure.
Add proper check for crypto modes (CBC or OFB/CFB)
Improve --show-ciphers to show if a cipher can be used in static key mode
Extend t_lpback tests to test all ciphers reported by --show-ciphers
Don't issue warning for 'translate to self' tls-ciphers
Don't exit daemon if opening or parsing the CRL fails.
Define dummy SSL_OP_NO_TICKET flag if not present in OpenSSL.
Fix typo in cipher_kt_mode_{cbc, ofb_cfb}() doxygen.
Fix some unintialized variable warnings
Fix clang warning in options.c
Fix compiler warnings in ssl_polarssl.c.
Fix regression with password protected private keys (polarssl)
Remove unused variables from ssl_verify_openssl.c extract_x509_extension()
Fix assertion error when using --cipher none
Add --tls-version-max
Modernize sample keys and sample configs
Drop too-short control channel packets instead of asserting out.
Really fix '--cipher none' regression
Update doxygen (a bit)
Set tls-version-max to 1.1 if cryptoapicert is used
openssl: add crypto_msg(), to easily log openssl errors
openssl: add more descriptive message for 'no shared cipher' error
Remove ENABLE_SSL define (and --disable-ssl configure option)
openssl: use crypto_msg(), get rid of openssl-specific code in error.c
Add option to disable Diffie Hellman key exchange by setting '--dh none'
Account for peer-id in frame size calculation
Disable SSL compression
Use tls-auth in sample config files
Fix frame size calculation for non-CBC modes.
Get rid of old OpenSSL workarounds.
polarssl: make sure to always null-terminate the cn
Allow for CN/username of 64 characters (fixes off-by-one)
Change float log message to include common name, if available.
Remove unneeded parameter 'first_time' from possibly_become_daemon()
Remove size limit for files inlined in config
polarssl: remove code duplication in key_state_write_plaintext{, _const}()
Improve --tls-cipher and --show-tls man page description
polarssl: disable 1/n-1 record splitting
cleanup: remove md5 helper functions
Re-read auth-user-pass file on (re)connect if required
Clarify --capath option in manpage
Call daemon() before initializing crypto library
write pid file immediately after daemonizing
Increase control channel packet size for faster handshakes
Make __func__ work with Visual Studio too
fix regression: query password before becoming daemon
Fix using management interface to get passwords.
reintroduce md5_digest wrapper struct to fix gcc warnings
Fix out-of-tree builds; openvpn-plugin.h should be in AC_CONFIG_HEADERS
Fix overflow check in openvpn_decrypt()
Replace strdup() calls for string_alloc() calls
Check return value of ms_error_text()
polarssl: add easy logging for PolarSSL errors
polarssl: Improve PolarSSL logging
openssl: be less verbose about cipher translation errors
hardening: add insurance to exit on a failed ASSERT()
Fix memory leak in auth-pam plugin
openssl: remove usage of OPENSSL_malloc() from show_available_curves
polarssl: fix --client-cert-not-required
polarssl: add --verify-client-cert optional support
Fix (potential) memory leak in init_route_list()
Add macro to ensure we exit on fatal errors
polarssl: also allocate PKCS#11 certificate object on demand
polarssl: don't use deprecated functions anymore
polarssl: require >= 1.3.8
Fix memory leak in add_option() by simplifying get_ipv6_addr
remove nonsense const specifier in nonfatal() return value
openssl: properly check return value of RAND_bytes()
Fix rand_bytes return value checking
Fix openssl builds with custom-built library: specify most-dependent first
Support duplicate x509 field values in environment
Warn user if their certificate has expired
Disable certificate notBefore/notAfter sanity check on OpenSSL < 1.0.2
Make assert_failed() print the failed condition
cleanup: get rid of httpdigest.c type warnings
Fix regression in setups without a client certificate
polarssl: actually use polarssl debug logging
polarssl: optimize polar_ok() for non-errors
Update manpage: OpenSSL might also need /dev/urandom inside chroot
polarssl: use wrappers to access md_info_t member functions
polarssl: remove now redundant 128-bit blowfish key override
socks.c: fix check on get_user_pass() return value(s)
configure.ac: simplify crypto library configuration
configure.ac: fix polarssl autodetection
Allow NULL argument in cipher_ctx_get_cipher_kt()
Remove reuse of key_type during init of data channel auth and tls-auth
Move crypto_options into key_state and stop using context in SSL-mode.
Move key_ctx_bi into crypto_options
Move packet_id into crypto_options
Change openvpn_encrypt() to append to work buffer only
Create separate function for replay check
Add AEAD cipher support (GCM)
Add cipher name translation for OpenSSL.
Add preliminary server-side support for negotiable crypto parameters
Minor AEAD patch cleanup
Clean up get_tls_handhake_key()
Fix OCSP_check.sh
Make AEAD modes work with OpenSSL 1.0.1-1.0.1c
hardening: add safe FD_SET() wrapper openvpn_fd_set()
Only include aead encrypt/decrypt functions if AEAD modes are supported
Fix potential null-pointer dereference
Fix memory leak in argv_extract_cmd_name()
Replace MSG_TEST() macro for static inline msg_test()
fixup: change init_key_type() param name in declaration too
Further restrict default cipher list
PolarSSL x509_get_sha1_hash now returns correct SHA1 fingerprint.
Implemented x509-track for PolarSSL.
Migrate to mbed TLS 2.x
Rename files with 'polarssl' in the name to 'mbedtls'
configure.ac: link to all mbed TLS libs during library detection
mbedtls: check that private key and certificate match on start
mbedtls: improve error reporting in tls verify callback
Remove trailing newline from verify callback error messages
Don't limit max incoming message size based on c2->frame
cleanup: remove alloc_buffers argument from multi_top_init()
mbedtls: don't set debug threshold if compiled without MBEDTLS_DEBUG_C
Add client-side support for cipher negotiation
Add options to restrict cipher negotiation
Add server-side support for cipher negotiation
Allow ncp-disable and ncp-ciphers to be specified in ccd files
Fix '--cipher none --cipher' crash
Discourage using 64-bit block ciphers
Fix unittests for out-of-source builds
Fix --mssfix when using NCP
Drop gnu89/c89 support, switch to c99
cleanup: remove code duplication in msg_test()
Add SHA256 fingerprint support
Make sure options->ciphername and options->authname are always defined
Update cipher-related man page text
Fix duplicate PUSH_REPLY options
Check --ncp-ciphers list on startup
TDivine (1):
Fix "code=995" bug with windows NDIS6 tap driver.
Tamas TEVESZ (1):
Add support for client-cert-not-required for PolarSSL.
Thomas Veerman (2):
Fix "." in description of utun.
Update expiry date in management event loop
ValdikSS (4):
Add Windows DNS Leak fix using WFP ('block-outside-dns')
Clarify mssfix documentation
Clarify --block-outside-dns documentation
Update --block-outside-dns to work on Windows Vista
Vasily Kulikov (1):
Mac OS X Keychain management client
Yawning Angel (1):
Fix SOCKSv5 method selection
Yegor Yefremov (3):
socket: remove duplicate expression
polarssl: fix unreachable code
cert_data: fix memory leak
janjust (1):
Fix "White space before end tags can break the config parser"
kangsterizer (1):
Fix typo in sample build script to use LDFLAGS
svimik (1):
Fix segfault when enabling pf plug-ins
2012.09.12 -- Version 2.3_beta1
Arne Schwabe (7):
Fixes error: --key fails with EXTERNAL_PRIVATE_KEY: No such file or directory if --management-external-key is used
Merge almost identical create_socket_tcp and create_socket_tcp6
Document the inlining of files in openvpn and document key-direction
Merge getaddr_multi and getaddr6 into one function
Document --management-client and --management-signal a bit better
Document that keep alive will double the second value in server mode and give a short explanation why the value is chosen.
Add checks for external-key-managements
David Sommerseth (1):
Fix reconnect issues when --push and UDP is used on the server
Gert Doering (4):
Reduce --version string detail about IPv6 to just "[IPv6]".
Put actual OpenVPN command line on top of corresponding log file.
Keep pre-existing tun/tap devices around on *BSD
make "ipv6 ifconfig" on linux compatible with busybox ifconfig
Heiko Hund (6):
fix regression with --http-proxy[-*] options
add x_msg_va() log function
add API for plug-ins to write to openvpn log
remove stale _openssl_get_subject() prototype
remove unused flag SSLF_NO_NAME_REMAPPING
Add --compat-names option
2012.07.20 -- Version 2.3_alpha3
Arne Schwabe (1):
Fix compiling with --disable-management
Gert Doering (1):
Repair "tap server" mode brokenness caused by <stdbool.h> fallout
Heiko Hund (4):
make non-blocking connect work on Windows
don't treat socket related errors special anymore
remove unused show_connection_list debug function
add option --management-query-proxy
2012.06.29 -- Version 2.3_alpha2
Adriaan de Jong (11):
Fixed off-by-one in serial length calculation
Migrated x509_get_subject to use of the garbage collector
Migrated x509_get_serial to use the garbage collector
Migrated x509_get_sha1_hash to use the garbage collector
Ensure sys/un.h autoconf detection includes sys/socket.h
Added support for new PolarSSL 1.1 RNG
Added a configuration option to enable prediction resistance in the PolarSSL random number generator.
Use POLARSSL_CFLAGS instead of POLARSSL_CRYPTO_CFLAGS in configure.ac
Removed support for PolarSSL < 1.1
Updated README.polarssl with build system changes.
Removed stray "Fox-IT hardening" string.
Alon Bar-Lev (94):
build: version should not contain '-'
package: rpm: strip should be handled by package management
cleanup: options.c: remove redundant include
cleanup: remove C++ warnings
cleanup: win32.c: wrong printf format
cleanup: remove redundant ';'
cleanup: crypto_openssl.c: remove support for pre-openssl-0.9.6
cleanup: tun.c: fix incorrect option in message (ip-win32)
cleanup: memcmp.c: remove unused source
fixup: init.c: add missing conditional for ENABLE_CLIENT_CR
build: correct place to alter WINVER is at build system
Update .gitignore
build: handle printf style format in mingw
build: rename plugin directory to plugins
build: plugins: properly use CC, CFLAGS and LDFLAGS
build: we need the sample.ovpn in future
Remove install-win32
Remove easy-rsa
Remove tap-win32
cleanup: rename tap-windows function from win32 to win
build: remove windows specific build system
build: split acinclude.m4 into m4/*
build: m4/ax_varargs.m4: cleanup
build: m4/ax_emptyarray.m4: cleanup
build: m4/ax_socklen_t.m4: cleanup
build: autotools: first pass of trivial autotools changes
build: autoconf: remove OPENVPN_ADD_LIBS useless macro
build: remove awk and non-standard autoconf output processing
build: standard directory layout
build: add libtool + windows resources for executables
build: autoconf: commands as environment
build: libdl usage
build: properly detect and use socket libs
build: autoconf: minor cleanups
build: proper selinux detection and usage
build: distribute pkg.m4
build: proper pkcs11-helper detection and usage
build: properly process lzo-stub
build: proper lzo detection and usage
build: proper crypto detection and usage
build: autoconf: update defaults for options
build: win-msvc: msbuild format
build: move out config.h include from syshead
build: split out compat
build: move gettimeofday() emulation to compat
build: move daemon() emulation into compat
build: move inet_ntop(), inet_pton() emulation into compat
cleanup: move console related function into its own module
build: move wrappers into platform module
build: windows: install version.sh to allow installer read version
build: distribute samples in windows
build: use tap-windows.h as external dependency
build: ax_varargs.m4: fixups
build: autoconf: misc sockets fixups
build: enable lzo by default
build: windows: set vendor to openvpn project + cleanups
build: assume dlfcn is available on all supported platforms
build: openbsd: detect netinet/ip.h correctly
build: tap: search for tap header
build: msvc: upgrade to Visual Studio 2010 + fixups
Enable pedantic in windows compilation
cleanup: flags should not be bool
cleanup: avoid using ~0 - generic
cleanup: avoid using ~0 - ipv6
cleanup: avoid using ~0 - netmask
cleanup: avoid using ~0 - windows
cleanup: gc usage
build: fix some statement left from conversion
build: properly detect netinet/ip.h structs
build: properly detect TUNSETPERSIST
cleanup: plugin: support C++ plugin
cleanup: remove C++ comments
cleanup: add .gitattributes to control eol style explicitly
crash: packet_id_debug_print: sl may be null
build: use stdbool.h if available
build: fix typo in --enable-save-password
build: windows: convert resources to UTF-8
build: check minimum polarssl version
cleanup: update .gitignore
cleanup: spec: make space/tab consistent
build: spec: we support openssl >= 0.9.7
build: insall README* document using build system
build: detect sys/wait.h required for *bsd
build: add git revision to --version output if build from git repository
build: cleanup: yet another forgotten brackets
build: update INSTALL to recent changes
build: support platforms that does not need explicit tun headers
build: do not support <polarssl-1.1.0
build: add --with-special-build to provide special build string
cleanup: pkcs11.c: resolve wanings
build: integrate plugins build into core build
build: plugins: set defaults based on platform
cleanup: windows: convert argv (UCS-2 to UTF-8) at earliest
build: msvc: chdir with change drive to script location
Arne Schwabe (7):
Add the query to the error message.
Explain that route-nopull also causes the client to ignore dhcp options.
Add the name of the context where option is not allowed to the error message.
Only use tmpdir if tmp_dir is really used.
Completely remove ancient IANA port warning.
Remove ENABLE_INLINE_FILES conditionals
Remove ENABLE_CONNECTIONS ifdefs
David Sommerseth (5):
Clean-up: Presume that Linux is always IPv6 capable at build time
Simplify check_cmd_access() function
Change version to indicate the master branch is not a version
Some filesystems don't like ':', which is a path 'make dist' would use
Remove two unused functions
Frank de Brabander (1):
Fix reported compile issues on OSX 10.6.8
Gert Doering (10):
repair t_client.sh test after build system revolution
t_client.sh iproute2 script fixes
t_client.sh - fix for iproute2, print summary line
Implement search for "first free" tun/tap device on Solaris
cleanup and redefine metric handling for IPv6 routes
remove "*option" element in "struct route_ipv6"
Remove warning about explicit support for IPv6 support not provided MacOS X
Add missing pieces to IPv6 route gateway handling.
Update TODO.IPv6 list
Remove #include "config.h" from ssl_polarssl.h
Heiko Hund (3):
remove wrapper code for Windows CryptoAPI function
fix warnings in event.c when building for win32-64
remove the --auto-proxy option from openvpn
Igor Novgorodov (1):
Remove calls to OpenSSL when building with --disable-ssl
Jonathan K. Bullard (2):
Fix file access checks on commands
Clarified the docs and help screen about what a 'cmd' is
Samuli Seppänen (1):
Added notes about upgrading from 2.3-alpha1 and earlier to INSTALL-win32.txt
2012.02.21 -- Version 2.3-alpha1
Adriaan de Jong (127):
Added Doxygen doxyfile
Changed configure to accept --with-ssl-type=openssl
Refactored to rand_bytes for OpenSSL-independency
Refactored OpenSSL-specific constants
Refactored maximum cipher and hmac length constants
Refactored show_available_* functions
Refactored SSL_clear_error()
Refactored crypto initialisation functions
Refactored DES key manipulation functions
Refactored NTLM DES key generation
Refactored message digest type functions
Refactored message digest functions
Refactored HMAC functions
Refactored cipher key types
Refactored cipher functions
Added PRNG doxygen
Refactored: Moved crypto.h inline functions to end of file
Removed stale OpenSSL defines from crypto.h
Added a check for Openssl or PolarSSL defines
Refactored: Added stubs for new files
Refactored SSL initialisation functions
Refactored TLS_PRF to new hmac and md primitives
Refactored tls_show_available_ciphers
Refactored get_highest_preference_tls_cipher
Refactored root SSL context initialisation
Refactored new external key code
Refactored DH paramater loading
Refactored root TLS option settings
Refactored PKCS#12 key loading
Refactored PKCS#11 loading
Refactored windows cert loading
Refactored load certificate functions
Refactored private key loading code
Refactored external key loading from management
Refactored CA and extra certs code
Refactored cipher restriction code
Refactored tls_options, key_state, and key_source data structures
Refactored initalisation of key_states
Refactored key_state free code
Refactored print_details
Refactored key_state read code (including bio_read())
Refactored key_state write functions
Refactored: Moved BIO debug functions to OpenSSL backend
Refactored: removed ks and ks_lame macro for clarity
Refactored: moved write_empty_string function back
Refactored Doxygen for tls_multi functions
Migrated data structures needed by verification functions to ssl_common.h
Refactored client_config_dir_exclusive function
Refactored certificate hash lock checks
Refactored common name locking functions
Refactored username and password authentication code
Add some extra comments
Refactored: split verify_callback into two parts
Added function to extract and verify the subject from a certificate
Added function to verify and extract the username
Refactored: removed global x509_username_field
Refactored: separated environment setup during verification
Refactored: Netscape certificate type verification
Refactored key usage verification code
Refactored EKU verification
Refactored tls-remote checking
Refactored tls-verify-plugin code
Refactored tls-verify script code
Refactored CRL checks
Minor cleanup in verify_cert:
Refactored: Moved verify_cert to ssl_verify
Cleaned up ssl.h
Refactored: made M_SSL dependent on USE_OPENSSL
Refactored: renamed X509 functions from verify_*
Separated OpenSSL-specific parts of the PKCS#11 driver
Modified base64 code in preparation for PolarSSL merge
Final cleanup before PolarSSL addition:
Refactored X509 track feature to be contained within the openssl backend
Added PolarSSL support:
Fixed a missing include in ssl_backend.h
Fixed a bug in the hash generation in ssl_verify_openssl.c
Added SHA_DIGEST_SIZE definition
Changed PolarSSL crypto backend to support v0.99-pre5
Updated ssl_polarssl.c to work with 0.99-pre5
Fixed a compilation warning for size_t key sizes
Added a warning that the PolarSSL library does not support pkcs12 files.
Added warning that --capath is not available with PolarSSL
Disable CryptoAPI when not using OpenSSL, and document that fact.
Removed support for management external keys in PolarSSL
Removed stray X509_free from ssl.c
Refactored (and disabled for PolarSSL) support for writing external cert files in scripts
Added an extra define to allow building without PKCS#11
Added SSL library to title string
Disabled X.509 track and username selection for PolarSSL
Hardening: periodically reset the PRNG's nonce value
Fixes for the plugin system:
Further improvements to plugin support:
Fixed an unintentional change in the options calculated key size.
Moved print messages back to generic crypto.c from cipher backends
Moved HMAC prints back to main crypto module
Added back checks for ks->authenticated in verify_user_pass
Moved gc_new and gc_free to begin end of function
Fixed a bug in the return value of ssl_verify when pre_verify failed
Unified verification function return values:
Removed a stray Fox-IT tag
Fixed a typo: print the subject instead of the serial for verification errors
Made SSL_CIPHER const in print_details, to fix warning
Moved to PolarSSL 1.0.0:
Added missing #ifdef to allow --disable-managent to work again
Fixed disabling crypto and SSL
Got rid of a few magic numbers in ntlm.c
Removed obsolete des_cblock and des_keyschedule
Further removal of des_old.h based calls
Fixed missing comma in plugin.h
Moved prng_uninit out of crypto_uninit_lib
Moved CryptoAPI header include to the ssl_openssl.c
Reordered functions to ensure warning-free Windows build
Added options to switch between OpenSSL and PolarSSL and PKCS11...
Moved from strsep to strtok, for Windows compatibility
Minor cleanup to enable warning-free Windows build:
Fixed a typo when initialising cryptoapi certs
Minor code cleanup: cleaned up error handling in verify_cert.
Moved out of memory prototype to error.h, as the definition is in error.c
Removed support for calling gc_malloc with a NULL gc_arena struct
(The follwing patches from Adriaan was mistakenly merged with
the wrong commit author in the git tree)
Doxygen: Added data channel crypto docs
Added control channel crypto docs
Added compression docs
Added reliability layer documentation
Added memory management documentation
Added data channel fragmentation docs
Added main/control docs
Moved doxygen-specific files to a separate directory
Byron Ellacott (1):
autoconf fixes for building on OSX
David Sommerseth (50):
Provide 'dev_type' environment variable to plug-ins and script hooks
Define the new openvpn_plugin_{open,func}_v3() API
Implement the core v3 plug-in function calls.
Extend the v3 plug-in API to send over X509 certificates
Added a simple plug-in demonstrating the v3 plug-in API.
Separate the general plug-in version constant and v3 plug-in structs version
Use a version-less version identifier on the master branch
Fix the --client-cert-not-required feature
Change the default --tmp-dir path to a more suitable path
Improve the mysprintf() issue in openvpnserv.c
Add a simple comment regarding openvpn_snprintf() is duplicated
Merge branch 'feat_ipv6_transport'
Merge branch 'feat_ipv6_payload'
Merge branch 'svn-branch-2.1' into merge
Solved hidden merge conflicts between master and svn-branch-2.1
Fix const declarations in plug-in v3 structs
Merge remote-tracking branch 'cron2/feat_ipv6_payload_2.3'
Don't define ENABLE_PUSH_PEER_INFO if SSL is not available
Fix compiling issues with pkcs11 when --disable-management is configured
Remove support for Linux 2.2 configuration fallback
Revert "Add new openssl.cnf to easy-rsa/Windows"
Merge remote branch SVN 2.1 into the git tree
Merge branch 'svn-merger'
Fix Microsoft Visual Studio incompatibility in plugin.c
Fixed compile issues on FreeBSD and Solaris
Fix PolarSSL and --pkcs12 option issues
Fix FreeBSD/OpenBSD/NetBSD compiler warnings in get_default_gateway()
Make '--win-sys env' default
Do some file/directory tests before really starting openvpn
Fix bug after removing Linux 2.2 support
Don't look for 'stdin' file when using --auth-user-pass
Fix compiling with --disable-crypto and/or --disable-ssl
Fix a couple of issues in openvpn_execve()
Move away from openvpn_basename() over to platform provided basename()
Enable access() when building in Visual Studio
New Windows build fixes
Fix compilation errors on Linux platforms without SO_MARK
autotools ./configure don't like compat.h
Fix pool logging when IPv6 is not enabled
Don't check for file presence on inline files
Add --route-pre-down/OPENVPN_PLUGIN_ROUTE_PREDOWN script/plug-in hook
Enhance the error handling in _openssl_get_subject()
Fix assert() situations where gc_malloc() is called without a gc_arena object
Fix compile issues when plug-ins are disabled.
Remove --show-gateway if debug info is not enabled (--disable-debug)
Fix compile issues with status.c
Connection entry {tun,link}_mtu_defined not set correctly
Makefile.am referenced a now non-existing config-win32.h
Makefile.am was missing ssl_common.h
Revamp check_file_access() checks in stdin scenarios
Davide Guerri (1):
New feauture: Add --stale-routes-check
Frank de Brabander (1):
Fixed wrong return type of cipher_kt_mode
Frederic Crozat (1):
Add support to forward console query to systemd
Gert Doering (45):
Add more detailed explanation regarding the function of "--rdns-internal"
Enable IPv6 Payload in OpenVPN p2mp tun server mode. 20100104-1 release.
remove NOTES file from commit - private scribbling
NetBSD fixes - on 4.0 and up, use multi-af mode.
new feature: "ifconfig-ipv6-push" (from ccd/ config)
add some TODOs to TODO.IPv6
undo accidential duplication of existing "--iroute" line in the help text
basic documentation of IPv6 related options and their syntax
Enable IPv6 Payload in OpenVPN p2mp tun server mode.
remove NOTES file from commit - private scribbling
env_block(): if PATH is not set, add standard PATH setting to env
add IPv6 route add / route delete code for windows (using "netsh")
- Win32 IPv6 ifconfig support, using "netsh" calls
drop "book ipv6" from open_tun() and tuncfg() prototypes
document recent changes and open TODOs, adapt --version info, tag release
Win32: set next-hop for IPv6 routes according to TUN/TAP mode
when deleting a route on win32, also add gateway address
WIN32: if IPv6 requested in TUN mode, check if TUN/TAP driver < 9.7
revert unconditionally-enabling of setenv_es() logging
implement IPv6 ifconfig + route setup/deletion on OpenBSD
full "VPN client connect" test framework for OpenVPN t_client.rc-sample
renamed t_client.sh to t_client.sh.in
2.2-beta3 has a signed TAP driver with the IPv6 code - test for 9.8
correct URL for "more information about IPv6 patch is *here*"
bugfix for linux/iproute2: IPv6 ifconfig code block was not called for "dev tun"+"topology subnet"
bump IPv6 version number (openvpn --version) to 20100922-1
Implement "ipv6 ifconfig" for TAP interfaces on Solaris interfaces
rebased to 2.2RC2 (beta 2.2 branch)
Windows IPv6 cleanup - properly remove IPv6 routes and interface config
For all accesses to "struct route_list * rl", check first that rl is non-NULL
Replace 32-bit-based add_in6_addr() implementation by an 8-bit based one
Platform cleanup for NetBSD
Move block for "stale-routes-check" config inside #ifdef P2MP_SERVER block
add missing break between "case IPv4" and "case IPv6"
bump tap driver version from 9.8 to 9.9
log error message and exit for "win32, tun mode, tap driver version 9.8"
work around inet_ntop/inet_pton problems for MSVC builds on WinXP
Fix build-up of duplicate IPv6 routes on reconnect.
Fix list-overrun checks in copy_route_[ipv6_]option_list()
add "print test titles" and "use sudo" functionality to t_client.rc
Platform cleanup for FreeBSD
Implement IPv6 interface config with non-/64 prefix lengths.
Fix RUN_SUDO functionality for t_client.sh
Document IPv6-related environment variables.
Platform cleanup for OpenBSD
Gisle Vanem (1):
Avoid re-defining uint32_t when using mingw compiler
Gustavo Zacarias (1):
Fix compile issues when using --enable-small and --disable-ssl/--disable-crypto
Heiko Hund (16):
add .gitignore to official repository
remove function is_proto_tcp()
remove legacy code to query IE proxy information
lowercase include header name in syshead.h
define IN6_ARE_ADDR_EQUAL macro for WIN32
add --mark option to set SO_MARK sockopt
Windows UTF-8 input/output
UTF-8 X.509 distinguished names
set Windows environment variables as UCS-2
handle Windows unicode paths
replace check for TARGET_WIN32 with WIN32
do not use mode_t on Windows
use the underscore version of stat on Windows
make MSVC link against shell32 as well
move variable declaration to top of function
define access mode flag X_OK as 0 on Windows
Igor Novgorodov (1):
The code blocks enabled by ENABLE_CLIENT_CR depends on management
James Yonan (57):
Added "management-external-key" option.
Minor addition of logging info before and after execution of Windows net commands.
Misc fixes to r6708.
Added --x509-track option.
* added --management-up-down option to allow management interface to be notified of tunnel up/down events.
Fixed minor compile issue triggered on builds where MANAGEMENT_DEF_AUTH is not enabled.
Implemented get_default_gateway_mac_addr for Mac OS X
Fixes to r6925.
Properly handle certificate serial numbers > 32 bits.
Added "client-nat" option for stateless, one-to-one NAT on the client side.
Renamed branch to reflect that it is no longer beta.
env_filter_match now includes the serial number of all certs
Fixed issue where a client might receive multiple push replies from a server
Fixed bug introduced in r7031 that might cause this error message:
Extended "client-kill" management interface command (server-side)
Client will now try to reconnect if no push reply received within handshake-window seconds.
Version 2.1.3n
Fixed compiling issues when using --disable-crypto
Added "management-external-key" option.
Misc fixes to r6708.
win/sign.py now accepts an optional tap-dir argument.
Added "auth-token" client directive
Added ./configure --enable-osxipconfig option for Mac OS X
Added more packet ID debug info at debug level 3 for debugging false positive packet replays.
Fixed bug that incorrectly placed stricter TCP packet replay rules on UDP sessions
Fixed bug in port-share that could cause port share process to crash
For Mac OSX, when DARWIN_USE_IPCONFIG is defined, retry ipconfig command on failure
Version 2.1.3t
Revert r7092 and r7151, i.e. remove --enable-osxipconfig configure option.
Added 'dir' flag to "crl-verify" (see man page for info).
Added new "extra-certs" and "verify-hash" options
Fixed compile issues on Windows.
Added --enable-lzo-stub configure option to build an OpenVPN client without LZO
Added optional journal directory argument to "port-share" directive
Reduce log verbosity at level 3, with a focus on removing excessive log verbosity generated by port-share activity.
env_filter_match now includes the serial number of all certs in chain
Added support for static challenge/response protocol.
r7316 fixes.
Added redirect-gateway block-local flag, with support for Linux, Mac OS X
Extended x509-track to allow SHA1 certificate hash to be extracted
Added "management-query-remote" directive (client) to allow the management interface to override the "remote" directive.
Version 2.1.5.
Fixed MSVC compile error related to r7408.
Redact "echo" directive strings from log, since these strings (going forward) could conceivably contain security-sensitive data.
Modified sanitize_control_message to remove redacted data from control string rather than blotting it out with "_" chars.
Changed CC_PRINT character class to allow UTF-8 chars.
Increased the --verb threshold for "PID_ERR replay" messages to 4 from 3.
Fixed issue where redirect-gateway block-local code was not correctly calculating...
CC_PRINT character class now allows any 8-bit character value >= 32.
"status" management interface command (version >= 2) will now include the username for each connected user.
Minor fix to CC_PRINT char class
Fixed management interface bug where >FATAL notifications were not being output properly
Raised D_PID_DEBUG_LOW from level 3 to 4 to reduce replay error verbosity at level 3.
Added "memstats" option to maintain real-time operating stats in a memory-mapped file.
Fixed client issues with DHCP Router option extraction/deletion when using layer 2 with DHCP proxy:
Allow "tap-win32 dynamic <offset>" to be used in topology subnet mode.
Added support for "on-link" routes on Linux client
Jan Just Keijser (1):
Made some options connection-entry specific
Joe Patterson (1):
common_name passing in auth_pam plugin
JuanJo Ciarlante (40):
* rebased openvpn-2.1_rc1b.jjo.20061206.d.patch
* created getaddr6(), use it from resolve_remote()
* migrated all getaddrinfo() to getaddr6
* socket.c: use USE_PF_INET6 in switch constructs to actually toss them out,
* support --disable-ipv6 build properly:
* important fix for tcp6 reconnection was incorrectly creating a PF_INET socket
* added README.ipv6.txt
* fixed win32 non-ipv6 build
* ipv6 on win32 "milestone": 1st snapshot that passes all unittests
* document ipv6 milestone status
* doc update w/unittests results
* make possible to x-compile openvpn/win32 in Linux
* correctly setup hints.ai_socktype for getaddrinfo(), althought sorta hacky, see TODO.ipv6.
* renamed README.ipv6{.txt,}
* updated {README,TODO}.ipv6 from feedback at openvpn-devel mlist
* init.c: document the ENABLE_MANAGEMENT place to work on
* init.c: small in-doc tweaks
* fix multi-tcp crash (corrected assertion)
* TODO.ipv6 update
* socket.c: better buf logic in print_sockaddr_ex
* fixed segfault for undef address family in print_sockaddr_ex (thanks Marcel!)
* doc updates
* openbsd: no IFF_MULTICAST, #ifdef around it
* no new funcionality, just small cleanups
* (prototype) fix for supporting "redirect-gateway" for tunneled ipv4 over ipv6 endpoints
* polished redirect-gateway (ipv4 on ipv6 endpoints) support
* updated doc
* fix --disable-ipv6 build
* doc updates
* rebased to v2.1.1 release
* undo mroute.c changes related to ipv6 payload
* fix --multihome for ipv4
* fix --multihome for ipv6
* ipv6-0.4.14: fix xinetd usage
* ipv6-0.4.15: add --multihome support to xBSD
* ipv6-0.4.15b: rebase over openvpn-testing-master
* ipv6-0.4.16: fix mingw32 build
* make ipv6_payload compile under windowze
USE_PF_INET6 by default for v2.3
fix ipv6 compilation under macosx >= 1070 - v3
Markus Koetter (1):
Add extv3 X509 field support to --x509-username-field
Matthew L. Creech (1):
Fix 2.2.0 build failure when management interface disabled
Matthias Andree (1):
Skip rather than fail test in addressless FreeBSD jails.
Robert Fischer (8):
Update man page with info about --capath
Update man page with info about --connect-timeout
Added info about --show-proxy-settings
Documented --x509-username-field option
Documented --errors-to-stderr option
Documented --push-peer-info option
Update man page with info about --remote-random-hostname
Added man page entry for --management-client
Samuli Seppänen (19):
Add man page entry for --redirect-private
Change all CRLF linefeeds to LF linefeeds
Fix a bug in devcon source code handling
Removed Win2k from supported platforms list in INSTALL and win/openvpn.nsi
Fixed copying of tapinstall.exe to dist/bin when using prebuilt TAP-drivers
Fixed a bug with GUI icon deletion on upgrade from 2.2-RC or earlier
Fix a build-ca issue on Windows
Add new openssl.cnf to easy-rsa/Windows
Updated "easy-rsa" for OpenSSL 1.0.0
Made domake-win builds to use easy-rsa/2.0/openssl-1.0.0.cnf
Fixes to easy-rsa/2.0
Merged TODO.IPv6 with TODO.ipv6 and README.IPv6 with README.ipv6
Fixed a number of fatal build errors on Visual Studio 2008
Fix a Visual Studio 2008 build issue in socket.c
Additional Visual Studio 2008 build fixes to tun.c
Fixed a typo in win32.h that prevented building with Visual Studio
Fixed a regression causing VS2008/Python build failure
Fix a Visual Studio 2008 build error in tun.c
Fix a Visual Studio 2008 build error in options.c
Simon Matter (1):
Fix issues with some older GCC compilers
Stefan Hellermann (2):
plugin.h: update prototype of plugin_call dummy in !ENABLE_PLUGIN case
Fixed typo in plugin.h
chantra (1):
Clarify --tmp-dir option
smos (1):
Change the netsh.exe command from "add" to "set".
2011.12.25 -- Version 2.x-master
James Yonan (1):
Added support for "on-link" routes on Linux client -- these are
routes where the gateway is specified as an interface rather than
an address. This allows redirect-gateway to work on Linux clients
whose connection to the internet is via a point-to-point link
such as PPP.
Note that at the moment, this capability is incompatible with
the "redirect-gateway block-local" directive -- this is because
the block-local directive blocks all traffic from the local LAN
except for the local and gateway addresses. Since a PPP link
is essentially a subnet of two addresses, local and remote (i.e.
gateway), the set of addresses that would be blocked by block-local
is empty. Therefore, the "redirect-gateway block-local" directive
will be ignored on PPP links.
To view the OpenVPN client's current determination of the default
gateway, use this command:
./openvpn --show-gateway
2011.03.24 -- Version 2.2-RC2
Alon Bar-Lev (1):
Windows cross-compile cleanup
David Sommerseth (2):
Open log files as text files on Windows
Clarify default value for the --inactive option.
Gert Doering (1):
Implement IPv6 in TUN mode for Windows TAP driver.
Samuli Seppänen (6):
Added support for prebuilt TAP-drivers. Automated embedding manifests.
Fixes to win/openvpn.nsi
Replaced config-win32.h with win/config.h.in
Updated INSTALL-win32.txt
Fixes to Makefile.am
Clarified --client-config-dir section on the man-page.
Ville Skyttä (1):
Fix line continuation in chkconfig init script description.
2011.02.28 -- Version 2.2-RC
David Sommerseth (3):
Make the --x509-username-field feature an opt-in feature
Fix compiler warning when compiling against OpenSSL 1.0.0
Fix packaging of config-win32.h and service-win32/msvc.mak
James Yonan (1):
Minor addition of logging info before and after execution of Windows net commands.
Matthias Andree (1):
Change variadic macros to C99 style.
Samuli Seppänen (15):
Added ENABLE_PASSWORD_SAVE to config-win32.h
Added a nmake makefile for openvpnserv.exe building
Moved TAP-driver version info to version.m4. Cleaned up win/settings.in.
Added helper functionality to win/wb.py
Added support for viewing config-win32.h paramters to win/show.py
Added comments and made small modifications to win/msvc.mak.in
Added command-line switch to win/build_all.py to skip TAP driver building
Added configure.h and version.m4 variable parsing to win/config.py
Added openvpnserv.exe building to win/build.py
Added comments to win/build_ddk.py
Several modifications to win/make_dist.py to allow building the NSI installer
Copied install-win32/setpath.nsi to win/setpath.nsi
Added first version of NSI installer script to win/openvpn.nsi
Changes to buildsystem patchset
Temporary snprintf-related fix to service-win32/openvpnserv.c
2010.11.25 -- Version 2.2-beta5
Samuli Seppänen (1):
Fixed an issue causing a build failure with MS Visual Studio 2008.
2010.11.18 -- Version 2.2-beta4
David Sommerseth (10):
Clarified --explicit-exit-notify man page entry
Clean-up: Remove pthread and mutex locking code
Clean-up: Remove more dead and inactive code paths
Clean-up: Removing useless code - hash related functions
Use stricter snprintf() formatting in socks_username_password_auth() (v3)
Fix compiler warnings about not used dummy() functions
Fixed potential misinterpretation of boolean logic
Only add some functions when really needed
Removed functions not being used anywhere
Merged add_bypass_address() and add_host_route_if_nonlocal()
Gert Doering (3):
Integrate support for TAP mode on Solaris, written by Kazuyoshi Aizawa <admin2@whiteboard.ne.jp>.
Make "topology subnet" work on Solaris
Improved man page entry for script_type
James Yonan (5):
Fixed initialization bug in route_list_add_default_gateway (Gert Doering).
Implement challenge/response authentication support in client mode
Make base64.h have the same conditional compilation expression as base64.c.
Fixed compiling issues when using --disable-crypto
In verify_callback, the subject var should be freed by OPENSSL_free, not free
Jesse Young (1):
Remove hardcoded path to resolvconf
Lars Hupel (1):
Add HTTP/1.1 Host header
Pierre Bourdon (1):
Adding support for SOCKS plain text authentication
Samuli Seppänen (2):
Added check for variable CONFIGURE_DEFINES into options.c
Added command-line option parser and an unsigned build option to build_all.py
2010.08.21 -- Version 2.2-beta3
* Attempt to fix issue where domake-win build system was not properly
signing drivers and .exe files.
Added win/tap_span.py for building multiple versions of the TAP driver
and tapinstall binaries using different DDK versions to span from Win2K
to Win7 and beyond.
* Community patches
David Sommerseth (2):
Test framework improvment - Do not FAIL if t_client.rc is missing
More t_client.sh updates - exit with SKIP when we want to skip
Gert Doering (4):
Fix compile problems on NetBSD and OpenBSD
Fix <net/if.h> compile time problems on OpenBSD for good
full "VPN client connect" test framework for OpenVPN
Build t_client.sh by configure at run-time.
chantra (1):
Fixes openssl-1.0.0 compilation warning
2010.08.16 -- Version 2.2-beta2
* Windows security issue:
Fixed potential local privilege escalation vulnerability in
Windows service. The Windows service did not properly quote the
executable filename passed to CreateService. A local attacker
with write access to the root directory C:\ could create an
executable that would be run with the same privilege level as
the OpenVPN Windows service. However, since non-Administrative
users normally lack write permission on C:\, this vulnerability
is generally not exploitable except on older versions of Windows
(such as Win2K) where the default permissions on C:\ would allow
any user to create files there.
Credit: Scott Laurie, MWR InfoSecurity
* Added Python-based based alternative build system for Windows using
Visual Studio 2008 (in win directory).
* When aborting in a non-graceful way, try to execute do_close_tun in
init.c prior to daemon exit to ensure that the tun/tap interface is
closed and any added routes are deleted.
* Fixed an issue where AUTH_FAILED was not being properly delivered
to the client when a bad password is given for mid-session reauth,
causing the connection to fail without an error indication.
* Don't advance to the next connection profile on AUTH_FAILED errors.
* Fixed an issue in the Management Interface that could cause
a process hang with 100% CPU utilization in --management-client
mode if the management interface client disconnected at the
point where credentials are queried.
* Fixed an issue where if reneg-sec was set to 0 on the client,
so that the server-side value would take precedence,
the auth_deferred_expire_window function would incorrectly
return a window period of 0 seconds. In this case, the
correct window period should be the handshake window
period.
* Modified ">PASSWORD:Verification Failed" management interface
notification to include a client reason string:
>PASSWORD:Verification Failed: 'AUTH_TYPE' ['REASON_STRING']
* Enable exponential backoff in reliability layer
retransmits.
* Set socket buffers (SO_SNDBUF and SO_RCVBUF) immediately after
socket is created rather than waiting until after connect/listen.
* Management interface performance optimizations:
1. Added env-filter MI command to perform filtering on env vars
passed through as a part of --management-client-auth
2. man_write will now try to aggregate output into larger blocks
(up to 1024 bytes) for more efficient i/o
* Fixed minor issue in Windows TAP driver DEBUG builds
where non-null-terminated unicode strings were being
printed incorrectly.
* Fixed issue on Windows with MSVC compiler, where TCP_NODELAY support
was not being compiled in.
* Proxy improvements:
Improved the ability of http-auth "auto" flag to dynamically detect
the auth method required by the proxy.
Added http-auth "auto-nct" flag to reject weak proxy auth methods.
Added HTTP proxy digest authentication method.
Removed extraneous openvpn_sleep calls from proxy.c.
* Implemented http-proxy-override and http-proxy-fallback directives to make it
easier for OpenVPN client UIs to start a pre-existing client config file with
proxy options, or to adaptively fall back to a proxy connection if a direct
connection fails.
* Implemented a key/value auth channel from client to server.
* Fixed issue where bad creds provided by the management interface
for HTTP Proxy Basic Authentication would go into an infinite
retry-fail loop instead of requerying the management interface for
new creds.
* Added support for MSVC debugging of openvpn.exe in settings.in:
# Build debugging version of openvpn.exe
!define PRODUCT_OPENVPN_DEBUG
* Implemented multi-address DNS expansion on the network field of route
commands.
When only a single IP address is desired from a multi-address DNS
expansion, use the first address rather than a random selection.
* Added --register-dns option for Windows.
Fixed some issues on Windows with --log, subprocess creation
for command execution, and stdout/stderr redirection.
* Fixed an issue where application payload transmissions on the
TLS control channel (such as AUTH_FAILED) that occur during
or immediately after a TLS renegotiation might be dropped.
* Added warning about tls-remote option in man page.
2009.12.11 -- Version 2.1.1
* Fixed some breakage in openvpn.spec (which is required to build an
RPM distribution) where it was referencing a non-existent
subdirectory in the tarball, causing it to fail (patch from
David Sommerseth).
2009.12.11 -- Version 2.1.0
* Fixed a couple issues in sample plugins auth-pam.c and down-root.c.
(1) Fail gracefully rather than segfault if calloc returns NULL.
(2) The openvpn_plugin_abort_v1 function can potentially be called
with handle == NULL. Add code to detect this case, and if so, avoid
dereferencing pointers derived from handle (Thanks to David
Sommerseth for finding this bug).
* Documented "multihome" option in the man page.
2009.11.20 -- Version 2.1_rc22
* Fixed a client-side bug on Windows that occurred when the
"dhcp-pre-release" or "dhcp-renew" options were combined with
"route-gateway dhcp". The release/renew would not occur
because the Windows DHCP renew function is blocking and
therefore must be called from another process or thread
so as not to stall the tunnel.
* Added a hard failure when peer provides a certificate chain
with depth > 16. Previously, a warning was issued.
2009.11.12 -- Version 2.1_rc21
* Rebuilt OpenVPN Windows installer with OpenSSL 0.9.8l to address
CVE-2009-3555. Note that OpenVPN has never relied on the session
renegotiation capabilities that are built into the SSL/TLS protocol,
therefore the fix in OpenSSL 0.9.8l (disable SSL/TLS renegotiation
completely) will not adversely affect OpenVPN mid-session SSL/TLS
renegotation or any other OpenVPN capabilities.
* Added additional session renegotiation hardening. OpenVPN has always
required that mid-session renegotiations build up a new SSL/TLS
session from scratch. While the client certificate common name is
already locked against changes in mid-session TLS renegotiations, we
now extend this locking to the auth-user-pass username as well as all
certificate content in the full client certificate chain.
2009.10.01 -- Version 2.1_rc20
* Fixed a bug introduced in 2.1_rc17 (svn r4436) where using the
redirect-gateway option by itself, without any extra parameters,
would cause the option to be ignored.
* Fixed build problem when ./configure --disable-server is used.
* Fixed ifconfig command for "topology subnet" on FreeBSD (Stefan Bethke).
* Added --remote-random-hostname option.
* Added "load-stats" management interface command to get global server
load statistics.
* Added new ./configure flags:
--disable-def-auth Disable deferred authentication
--disable-pf Disable internal packet filter
* Added "setcon" directive for interoperability with SELinux (Sebastien
Raveau).
* Optimized PUSH_REQUEST handshake sequence to shave several seconds
off of a typical client connection initiation.
* The maximum number of "route" directives (specified in the config
file or pulled from a server) can now be configured via the new
"max-routes" directive.
* Eliminated the limitation on the number of options that can be pushed
to clients, including routes. Previously, all pushed options needed
to fit within a 1024 byte options string.
* Added --server-poll-timeout option : when polling possible remote
servers to connect to in a round-robin fashion, spend no more than
n seconds waiting for a response before trying the next server.
* Added the ability for the server to provide a custom reason string
when an AUTH_FAILED message is returned to the client. This
string can be set by the server-side managment interface and read
by the client-side management interface.
* client-kill management interface command, when issued on server, will
now send a RESTART message to client.
This feature is intended to make UDP clients respond the same as TCP
clients in the case where the server issues a RESTART message in
order to force the client to reconnect and pull a new options/route
list.
2009.07.16 -- Version 2.1_rc19
* In Windows TAP driver, refactor DHCP/ARP packet injection code to
use a DPC (deferred procedure call) to defer packet injection until
IRQL < DISPATCH_LEVEL, rather than calling NdisMEthIndicateReceive
in the context of AdapterTransmit. This is an attempt to reduce kernel
stack usage, and prevent EXCEPTION_DOUBLE_FAULT BSODs that have been
observed on Vista. Updated TAP driver version number to 9.6.
* In configure.ac, use datadir instead of datarootdir for compatibility
with <autoconf-2.60.
2009.06.07 -- Version 2.1_rc18
* Fixed compile error on ./configure --enable-small
* Fixed issue introduced in r4475 (2.1-rc17) where cryptoapi.c change
does not build on Windows on non-MINGW32.
2009.05.30 -- Version 2.1_rc17
* Reduce the debug level (--verb) at which received management interface
commands are echoed from 7 to 3. Passwords will be filtered.
* Fixed race condition in management interface recv code on
Windows, where sending a set of several commands to the
management interface in quick succession might cause the
latter commands in the set to be ignored.
* Increased management interface input command buffer size
from 256 to 1024 bytes.
* Minor tweaks to Windows build system.
* Added "redirect-private" option which allows private subnets
to be pushed to the client in such a way that they don't accidently
obscure critical local addresses such as the DHCP server address and
DNS server addresses.
* Added new 'autolocal' redirect-gateway flag. When enabled, the OpenVPN
client will examine the routing table and determine whether (a) the
OpenVPN server is reachable via a locally connected interface, or (b)
traffic to the server must be forwarded through the default router.
Only add a special bypass route for the OpenVPN server if (b) is true.
If (a) is true, behave as if the 'local' flag is specified, and do not
add a bypass route.
The new 'autolocal' flag depends on the non-portable test_local_addr()
function in route.c, which is currently only implemented for Windows.
The 'autolocal' flag will act as a no-op on platforms that have not
yet defined a test_local_addr() function.
* Increased TLS_CHANNEL_BUF_SIZE to 2048 from 1024 (this will allow for
more option content to be pushed from server to client).
* Raised D_MULTI_DROPPED debug level to 4 from 3 to filter out (at debug
levels <=3) a common and usually innocuous warning.
* Fixed issue of symbol conflicts interfering with Windows CryptoAPI
functionality (Alon Bar-Lev).
* Fixed bug where the remote_X environmental variables were not being
set correctly when the 'local' option is specifed.
2009.05.17 -- Version 2.1_rc16
* Windows installer changes:
1. ifdefed out the check Windows version code which is causing
problems on Windows 7
2. don't define SF_SELECTED if it is already defined
3. Use LZMA instead of BZIP2 compression for better compression
4. Upgraded OpenSSL to 0.9.8k
* Added the ability to read the configuration file
from stdin, when "stdin" is given as the config
file name.
* Allow "management-client" directive to be used
with unix domain sockets.
* Added errors-to-stderr option. When enabled, fatal errors
that result in the termination of the daemon will be written
to stderr.
* Added optional "nogw" (no gateway) flag to --server-bridge
to inhibit the pushing of the route-gateway parameter to
clients.
* Added new management interface command "pid" to show the
process ID of the current OpenVPN process (Angelo Laub).
* Fixed issue where SIGUSR1 restarts would fail if private
key was specified as an inline file.
* Added daemon_start_time and daemon_pid environmental variables.
* In management interface, added new ">CLIENT:ESTABLISHED" notification.
* Build fixes:
1. Fixed some issues with C++ style comments that leaked into the code.
2. Updated configure.ac to work on MinGW64.
3. Updated common.h types for _WIN64.
4. Fixed issue involving an #ifdef in a macro reference that breaks early gcc
compilers.
5. In cryptoapi.c, renamed CryptAcquireCertificatePrivateKey to
OpenVPNCryptAcquireCertificatePrivateKey to work around
a symbol conflict in MinGW-5.1.4.
2008.11.19 -- Version 2.1_rc15
* Fixed issue introduced in 2.1_rc14 that may cause a
segfault when a --plugin module is used.
* Added server-side --opt-verify option: clients that connect
with options that are incompatible with those of the server
will be disconnected (without this option, incompatible
clients would trigger a warning message in the server log
but would not be disconnected).
* Added --tcp-nodelay option: Macro that sets TCP_NODELAY socket
flag on the server as well as pushes it to connecting clients.
* Minor options check fix: --no-name-remapping is a
server-only option and should therefore generate an
error when used on the client.
* Added --prng option to control PRNG (pseudo-random
number generator) parameters. In previous OpenVPN
versions, the PRNG was hardcoded to use the SHA1
hash. Now any OpenSSL hash may be used. This is
part of an effort to remove hardcoded references to
a specific cipher or cryptographic hash algorithm.
* Cleaned up man page synopsis.
2008.11.16 -- Version 2.1_rc14
* Added AC_GNU_SOURCE to configure.ac to enable struct ucred,
with the goal of fixing a build issue on Fedora 9 that was
introduced in 2.1_rc13.
* Added additional method parameter to --script-security to preserve
backward compatibility with system() call semantics used in OpenVPN
2.1_rc8 and earlier. To preserve backward compatibility use:
script-security 3 system
* Added additional warning messages about --script-security 2
or higher being required to execute user-defined scripts or
executables.
* Windows build system changes:
Modified Windows domake-win build system to write all openvpn.nsi
input files to gen, so that gen can be disconnected from
the rest of the source tree and makensis openvpn.nsi will
still function correctly.
Added additional SAMPCONF_(CA|CRT|KEY) macros to settings.in
(commented out by default).
Added optional files SAMPCONF_CONF2 (second sample configuration
file) and SAMPCONF_DH (Diffie-Helman parameters) to Windows
build system, and may be defined in settings.in.
* Extended Management Interface "bytecount" command
to work when OpenVPN is running as a server.
Documented Management Interface "bytecount" command in
management/management-notes.txt.
* Fixed informational message in ssl.c to properly indicate
deferred authentication.
* Added server-side --auth-user-pass-optional directive, to allow
connections by clients that do not specify a username/password, when a
user-defined authentication script/module is in place (via
--auth-user-pass-verify, --management-client-auth, or a plugin module).
* Changes to easy-rsa/2.0/pkitool and related openssl.cnf:
Calling scripts can set the KEY_NAME environmental variable to set
the "name" X509 subject field in generated certificates.
Modified pkitool to allow flexibility in separating the Common Name
convention from the cert/key filename convention.
For example:
KEY_CN="James's Laptop" KEY_NAME="james" ./pkitool james
will create a client certificate/key pair of james.crt/james.key
having a Common Name of "James's Laptop" and a Name of "james".
* Added --no-name-remapping option to allow Common Name, X509 Subject,
and username strings to include any printable character including
space, but excluding control characters such as tab, newline, and
carriage-return (this is important for compatibility with external
authentication systems).
As a related change, added --status-version 3 format (and "status 3"
in the management interface) which uses the version 2 format except
that tabs are used as delimiters instead of commas so that there
is no ambiguity when parsing a Common Name that contains a comma.
Also, save X509 Subject fields to environment, using the naming
convention:
X509_{cert_depth}_{name}={value}
This is to avoid ambiguities when parsing out the X509 subject string
since "/" characters could potentially be used in the common name.
* Fixed some ifconfig-pool issues that precluded it from being combined
with --server directive.
Now, for example, we can configure thusly:
server 10.8.0.0 255.255.255.0 nopool
ifconfig-pool 10.8.0.2 10.8.0.99 255.255.255.0
to have ifconfig-pool manage only a subset
of the VPN subnet.
* Added config file option "setenv FORWARD_COMPATIBLE 1" to relax
config file syntax checking to allow directives for future OpenVPN
versions to be ignored.
2008.10.07 -- Version 2.1_rc13
* Bundled OpenSSL 0.9.8i with Windows installer.
* Management interface can now listen on a unix
domain socket, for example:
management /tmp/openvpn unix
Also added management-client-user and management-client-group
directives to control which processes are allowed to connect
to the socket.
* Copyright change to OpenVPN Technologies, Inc.
2008.09.23 -- Version 2.1_rc12
* Patched Makefile.am so that the new t_cltsrv-down.sh script becomes
part of the tarball (Matthias Andree).
* Fixed --lladdr bug introduced in 2.1-rc9 where input validation code
was incorrectly expecting the lladdr parameter to be an IP address
when it is actually a MAC address (HoverHell).
2008.09.14 -- Version 2.1_rc11
* Fixed a bug that can cause SSL/TLS negotiations in UDP mode
to fail if UDP packets are dropped.
2008.09.10 -- Version 2.1_rc10
* Added "--server-bridge" (without parameters) to enable
DHCP proxy mode: Configure server mode for ethernet
bridging using a DHCP-proxy, where clients talk to the
OpenVPN server-side DHCP server to receive their IP address
allocation and DNS server addresses.
* Added "--route-gateway dhcp", to enable the extraction
of the gateway address from a DHCP negotiation with the
OpenVPN server-side LAN.
* Fixed minor issue with --redirect-gateway bypass-dhcp or bypass-dns
on Windows. If the bypass IP address is 0.0.0.0 or 255.255.255.255,
ignore it.
* Warn when ethernet bridging that the IP address of the bridge adapter
is probably not the same address that the LAN adapter was set to
previously.
* When running as a server, warn if the LAN network address is
the all-popular 192.168.[0|1].x, since this condition commonly
leads to subnet conflicts down the road.
* Primarily on the client, check for subnet conflicts between
the local LAN and the VPN subnet.
* Added a 'netmask' parameter to get_default_gateway, to return
the netmask of the adapter containing the default gateway.
Only implemented on Windows so far. Other platforms will
return 255.255.255.0. Currently the netmask information is
only used to warn about subnet conflicts.
* Minor fix to cryptoapi.c to not compile itself unless USE_CRYPTO
and USE_SSL flags are enabled (Alon Bar-Lev).
* Updated openvpn/t_cltsrv.sh (used by "make check") to conform to new
--script-security rules. Also adds retrying if the addresses are in
use (Matthias Andree).
* Fixed build issue with ./configure --disable-socks --disable-http.
* Fixed separate compile errors in options.c and ntlm.c that occur
on strict C compilers (such as old versions of gcc) that require
that C variable declarations occur at the start of a {} block,
not in the middle.
* Workaround bug in OpenSSL 0.9.6b ASN1_STRING_to_UTF8, which
the new implementation of extract_x509_field_ssl depends on.
* LZO compression buffer overflow errors will now invalidate
the packet rather than trigger a fatal assertion.
* Fixed minor compile issue in ntlm.c (mid-block declaration).
* Added --allow-pull-fqdn option which allows client to pull DNS names
from server (rather than only IP address) for --ifconfig, --route, and
--route-gateway. OpenVPN versions 2.1_rc7 and earlier allowed DNS names
for these options to be pulled and translated to IP addresses by default.
Now --allow-pull-fqdn will be explicitly required on the client to enable
DNS-name-to-IP-address translation of pulled options.
* 2.1_rc8 and earlier did implicit shell expansion on script
arguments since all scripts were called by system().
The security hardening changes made to 2.1_rc9 no longer
use system(), but rather use the safer execve or CreateProcess
system calls. The security hardening also introduced a
backward incompatibility with 2.1_rc8 and earlier in that
script parameters were no longer shell-expanded, so
for example:
client-connect "docc CLIENT-CONNECT"
would fail to work because execve would try to execute
a script called "docc CLIENT-CONNECT" instead of "docc"
with "CLIENT-CONNECT" as the first argument.
This patch fixes the issue, bringing the script argument
semantics back to pre 2.1_rc9 behavior in order to preserve
backward compatibility while still using execve or CreateProcess
to execute the script/executable.
* Modified ip_or_dns_addr_safe, which validates pulled DNS names,
to more closely conform to RFC 3696:
(1) DNS name length must not exceed 255 characters
(2) DNS name characters must be limited to alphanumeric,
dash ('-'), and dot ('.')
* Fixed bug in intra-session TLS key rollover that was introduced with
deferred authentication features in 2.1_rc8.
2008.07.31 -- Version 2.1_rc9
* Security Fix -- affects non-Windows OpenVPN clients running
OpenVPN 2.1-beta14 through 2.1-rc8 (OpenVPN 2.0.x clients are NOT
vulnerable nor are any versions of the OpenVPN server vulnerable).
An OpenVPN client connecting to a malicious or compromised
server could potentially receive an "lladdr" or "iproute" configuration
directive from the server which could cause arbitrary code execution on
the client. A successful attack requires that (a) the client has agreed
to allow the server to push configuration directives to it by including
"pull" or the macro "client" in its configuration file, (b) the client
successfully authenticates the server, (c) the server is malicious or has
been compromised and is under the control of the attacker, and (d) the
client is running a non-Windows OS. Credit: David Wagner.
CVE-2008-3459
* Miscellaneous defensive programming changes to multiple
areas of the code. In particular, use of the system() call
for calling executables such as ifconfig, route, and
user-defined scripts has been completely revamped in favor
of execve() on unix and CreateProcess() on Windows.
* In Windows build, package a statically linked openssl.exe to work around
observed instabilities in the dynamic build since the migration to
OpenSSL 0.9.8h.
2008.06.11 -- Version 2.1_rc8
* Added client authentication and packet filtering capability
to management interface. In addition, allow OpenVPN plugins
to take advantage of deferred authentication and packet
filtering capability.
* Added support for client-side connection profiles.
* Fixed unbounded memory growth bug in environmental variable
code that could have caused long-running OpenVPN sessions
with many TLS renegotiations to incrementally
increase memory usage over time.
* Windows release now packages openssl-0.9.8h.
* Build system changes -- allow building on Windows using
autoconf/automake scripts (Alon Bar-Lev).
* Changes to Windows build system to make it easier to do
partial builds, with a reduced set of prerequisites,
where only a subset of OpenVPN installer
components are built. See ./domake-win comments.
* Cleanup IP address for persistence interfaces for tap and also
using ifconfig, gentoo#209055 (Alon Bar-Lev).
* Fall back to old version of extract_x509_field for OpenSSL 0.9.6.
* Clarified tcp-queue-limit man page entry (Matti Linnanvuori).
* Added new OpenVPN icon and installer graphic.
* Minor pkitool changes.
* Added --pkcs11-id-management option, which will cause OpenVPN to
query the management interface via the new NEED-STR asynchronous
notification query to get additional PKCS#11 options (Alon Bar-Lev).
* Added NEED-STR management interface asynchronous query and
"needstr" management interface command to respond to the query
(Alon Bar-Lev).
* Added Dragonfly BSD support (Francis-Gudin).
* Quote device names before passing to up/down script (Josh Cepek).
* Bracketed struct openvpn_pktinfo with #pragma pack(1) to
prevent structure padding from causing an incorrect length
to be returned by sizeof (struct openvpn_pktinfo) on 64-bit
platforms.
* On systems that support res_init, always call it
before calling gethostbyname to ensure that
resolver configuration state is current.
* Added NTLMv2 proxy support (Miroslav Zajic).
* Fixed an issue in extract_x509_field_ssl where the extraction
would fail on the first field of the subject name, such as
the common name in: /CN=foo/emailAddress=foo@bar.com
* Made "Linux ip addr del failed" error nonfatal.
* Amplified --client-cert-not-required warning.
* Added #pragma pack to proto.h.
2008.01.29 -- Version 2.1_rc7
* Added a few extra files that exist in the svn repo but were
not being copied into the tarball by make dist.
* Fixup null interface on close, don't use ip addr flush (Alon Bar-Lev).
2008.01.24 -- Version 2.1_rc6
* Fixed options checking bug introduced in rc5 where legitimate configuration
files might elicit the error: "Options error: Parameter pkcs11_private_mode
can only be specified in TLS-mode, i.e. where --tls-server or --tls-client
is also specified."
2008.01.23 -- Version 2.1_rc5
* Fixed Win2K TAP driver bug that was introduced by Vista fixes,
incremented driver version to 9.4.
* Windows build system changes:
Incremented included OpenSSL version to openssl-0.9.7m.
Updated openssl.patch for openssl-0.9.7m and added some
brief usage comments to the head of the patch.
Added build-pkcs11-helper.sh for building the pkcs11-helper
library.
Integrated inclusion of pkcs11-helper into Windows build
system.
Upgraded TAP build scripts to use WDK 6001.17121
(Windows 2008 Server pre-RTM).
* Windows installer changes:
Clean up the start menu folder.
Allow for a site-specific sample configuration file and keys
to be included in a custom installer (see SAMPCONF macros
in settings.in).
New icon (temporary).
* Added "forget-passwords" command to the management interface
(Alon Bar-Lev).
* Added --management-signal option to signal SIGUSR1 when the
management interface disconnects (Alon Bar-Lev).
* Modified command line and config file parser to allow
quoted strings using single quotes ('') (Alon Bar-Lev).
* Use pkcs11-helper as external library, can be downloaded from
https://www.opensc-project.org/pkcs11-helper (Alon Bar-Lev).
* Fixed interim memory growth issue in TCP connect loop where
"TCP: connect to %s failed, will try again in %d seconds: %s"
is output.
* Fixed bug in epoll driver in event.c, where the lack of a
handler for EPOLLHUP could cause 99% CPU usage.
* Defined ALLOW_NON_CBC_CIPHERS for people who don't
want to use a CBC cipher for OpenVPN's data channel.
* Added PLUGIN_LIBDIR preprocessor string to prepend a default
plugin directory to the dlopen search list when the user
specifies the basename of the plugin only (Marius Tomaschewski).
* Rewrote extract_x509_field and modified COMMON_NAME_CHAR_CLASS
to allow forward slash characters ("/") in the X509 common name
(Pavel Shramov).
* Allow OpenVPN to run completely unprivileged under Linux
by allowing openvpn --mktun to be used with --user and --group
to set the UID/GID of the tun device node. Also added --iproute
option to allow an alternative command to be executed in place
of the default iproute2 command (Alon Bar-Lev).
* Fixed --disable-iproute2 in ./configure to actually disable
iproute2 usage (Alon Bar-Lev).
* Added --management-forget-disconnect option -- forget
passwords when management session disconnects (Alon Bar-Lev).
2007.04.25 -- Version 2.1_rc4
* Worked out remaining issues with TAP driver signing
on Vista x64. OpenVPN will now run on Vista x64
with driver signing enforcement enabled.
* Fixed 64-bit portability bug in time_string function
(Thomas Habets).
2007.04.22 -- Version 2.1_rc3
* Additional fixes to TAP driver for Windows x64. Driver
now runs successfully on Vista x64 if driver signing
enforcement is disabled.
* The Windows Installer and TAP driver are now signed by
OpenVPN Solutions LLC (in addition to the usual GnuPG
signatures).
* Added OpenVPN GUI (Mathias Sundman version) as install
option in Windows installer.
* Clean up configure on FreeBSD for recent autotool versions
that require that all .h files have to be compiled.
Also, FreeBSD install does not support GNU long options
which the Makefile in easy-rsa/2.0 uses (not checked the
others as we don't install those on Gentoo) (Roy Marples).
* Added additional scripts to easy-rsa/Windows for working
with password-protected keys; also add -extensions server
option when generating server cert via
build-key-server-pass.bat (Daniel Zauft).
2007.02.27 -- Version 2.1_rc2
* auth-pam change: link with -lpam rather
than dlopen (Roy Marples).
* Prevent SIGUSR1 or SIGHUP from causing program
exit from initial management hold.
* SO_REUSEADDR should not be set on Windows TCP sockets
because it will cause bind to succeed on port conflicts.
* Added time_ascii, time_duration, and time_unix
environmental variables for plugins and callback
scripts.
* Fixed issue where OpenVPN does not apply the --txqueuelen option
to persistent interfaces made with --mktun (Roy Marples).
* Attempt at rational signal handling when in the
management hold state. During management hold, ignore
SIGUSR1/SIGHUP signals thrown with the "signal" command.
Also, "signal" command will now apply remapping as
specified with the --remap-usr1 option.
When a signal entered using the "signal" command from a management
hold is ignored, output: >HOLD:Waiting for hold release
* Fixed issue where struct env_set methods that
change the value of an existing name=value pair
would delay the freeing of the memory held by
the previous name=value pair until the underlying
client instance object is closed.
This could cause a server that handles long-term
client connections, resulting in many periodic calls
to verify_callback, to needlessly grow the env_set
memory allocation until the underlying client instance
object is closed.
* Renamed TAP-Win32 driver from tap0801.sys to tap0901.sys
to reflect the fact that Vista has blacklisted the tap0801.sys
file name due to previous compatibility issues which have now
been resolved. TAP-Win32 major/minor version number is now 9/1.
* Windows installer will delete a previously installed
tap0801.sys TAP driver before installing tap0901.sys.
* Added code to Windows installer to fail gracefully on 64 bit
installs until 64-bit TAP driver issues can be resolved.
* Added code to Windows installer to fail gracefully on
versions of Windows which are not explicitly supported.
* The Windows version will now use a default route-delay
of 5 seconds to deal with an apparent routing table race
condition on Vista.
* Worked around an incompatibility in the Windows Vista
version of CreateIpForwardEntry as described in
http://www.nynaeve.net/?p=59
This issue would cause route additions using the
IP Helper API to fail on Vista.
* On Windows, revert to "ip-win32 dynamic" as the default.
2006.10.31 -- Version 2.1_rc1
* Support recovery (return to hold) from signal at
management password prompt.
* Added workaround for OpenSC PKCS#11 bug#108
(Alon Bar-Lev).
2006.10.01 -- Version 2.1-beta16
* Windows installer updated with OpenSSL 0.9.7l DLLs to fix
published vulnerabilities.
* Fixed TAP-Win32 bug that caused BSOD on Windows Vista
(Henry Nestler).
* Autodetect 32/64 bit Windows in installer and install
appropriate TAP driver (Mathias Sundman, Hypherion).
* Fixed bug in loopback self-test introduced
in 2.1-beta15 where self test as invoked by
"make check" would not properly exit after
2 minutes (Paul Howarth).
2006.09.12 -- Version 2.1-beta15
* Windows installer updated with OpenSSL 0.9.7k DLLs to fix
RSA Signature Forgery (CVE-2006-4339).
* Fixed bug introduced with the --port-share directive
(back in 2.1-beta9 which causes TLS soft resets
(1 per hour by default) in TCP server mode to force
a blockage of tunnel packets and later time-out and
restart the connection.
* easy-rsa update (Alon Bar-Lev)
Makefile (install) is now available so that
distribs will be able to install it safely.
* PKCS#11 changes: (Alon Bar-Lev)
- Modified ssl.c to not FATAL and return to init.c
so auth-retry will work.
- Modifed pkcs11-helper.c to fix some problem with
multiple providers.
- Added retry counter to PKCS#11 PIN hook.
- Modified PKCS#11 PIN retry loop to return correct error
code when PIN is incorrect.
- Fix handling (ignoring) zero sized attributes.
- Fix gcc-2 issues.
- Fix openssl 0.9.6 (first version) issues.
* Minor fixes of lladdr (Alon Bar-Lev)
Updated makefile.w32-vc to include lladdr.*, updated
linkage libraries.
Modified lladdr.c to be compiled under visual C.
* Added two new management states:
OPENVPN_STATE_RESOLVE -- DNS lookup
OPENVPN_STATE_TCP_CONNECT -- Connecting to TCP server
* Echo management state change to log.
* Minor syshead.h change for NetBSD to allow
TCP_NODELAY flag to work.
* Modified --port-share code to remove the assumption that
CMSG_SPACE always evaluates to a constant, to enable
compilation on NetBSD and possibly other BSDs as well.
* Eliminated gcc 3.3.3 warnings on NetBSD
when ./configure --enable-strict is used.
* Added optional minimum-number-of-bytes parameter
to --inactive directive.
2006.04.13 -- Version 2.1-beta14
* Fixed Windows server bug in time backtrack handling code which
could cause TLS negotiation failures on legitimate clients.
* Rewrote gettimeofday function for Windows to be
simpler and more efficient.
* Merged PKCS#11 extensions to easy-rsa/2.0 (Alon Bar-Lev).
* Added --route-metric option to set a default route metric
for --route (Roy Marples).
* Added --lladdr option to specify the link layer (MAC) address
for the tap interface on non-Windows platforms (Roy Marples).
2006.04.12 -- Version 2.1-beta13
* Code added in 2.1-beta7 and 2.0.6-rc1 to extend byte counters
to 64 bits caused a bug in the Windows version which has now
been fixed. The bug could cause intermittent crashes.
2006.04.05 -- Version 2.1-beta12
* Security Vulnerability -- An OpenVPN client connecting to a
malicious or compromised server could potentially receive
"setenv" configuration directives from the server which could
cause arbitrary code execution on the client via a LD_PRELOAD
attack. A successful attack appears to require that (a) the
client has agreed to allow the server to push configuration
directives to it by including "pull" or the macro "client" in
its configuration file, (b) the client configuration file uses
a scripting directive such as "up" or "down", (c) the client
succesfully authenticates the server, (d) the server is
malicious or has been compromised and is under the control of
the attacker, and (e) the attacker has at least some level of
pre-existing control over files on the client (this might be
accomplished by having the server respond to a client web request
with a specially crafted file). Credit: Hendrik Weimer.
CVE-2006-1629.
The fix is to disallow "setenv" to be pushed to clients from
the server, and to add a new directive "setenv-safe" which is
pushable from the server, but which appends "OPENVPN_" to the
name of each remotely set environmental variable.
* "topology subnet" fix for FreeBSD (Benoit Bourdin).
* PKCS11 fixes (Alon Bar-Lev). For full description:
svn log -r990 http://svn.openvpn.net/projects/openvpn/branches/BETA21
* When deleting routes under Linux, use the route metric
as a differentiator to ensure that the route teardown
process only deletes the identical route which was originally
added via the "route" directive (Roy Marples).
* Fix the t_cltsrv.sh file in FreeBSD 4 jails
(Matthias Andree, Dirk Meyer, Vasil Dimov).
* Extended tun device configure code to support ethernet
bridging on NetBSD (Emmanuel Kasper).
2006.02.19 -- Version 2.1-beta11
* Fixed --port-share bug that caused premature closing
of proxied sessions.
2006.02.17 -- Version 2.1-beta10
* Fixed --port-share breakage introduced in 2.1-beta9.
2006.02.16 -- Version 2.1-beta9
* Added --port-share option for allowing OpenVPN and HTTPS
server to share the same port number.
* Added --management-client option to connect as a client
to management GUI app rather than be connected to as a
server.
* Added "bytecount" command to management interface.
* --remote-cert-tls fixes (Alon Bar-Lev).
2006.01.03 -- Version 2.1-beta8
* --remap-usr1 will now also remap signals thrown during
initialization.
* Added --connect-timeout option to control the timeout
on TCP client connection attempts (doesn't work on all
OSes). This patch also makes OpenVPN signalable during
TCP connection attempts.
* Fixed bug in acinclude.m4 where capability of compiler
to handle zero-length arrays in structs is tested
(David Stipp).
* Fixed typo in manage.c where inline function declaration
was declared without the "static" keyword (David Stipp).
* Patch to support --topology subnet on Mac OS X (Mathias Sundman).
* Added --auto-proxy directive to auto-detect HTTP or SOCKS
proxy settings (currently Windows only).
* Removed redundant base64 code.
* Better sanity checking of --server and --server-bridge
IP pool ranges, so as not to hit the assertion at
pool.c:119 (2.0.5).
* Fixed bug where --daemon and --management-query-passwords
used together would cause OpenVPN to block prior to
daemonization.
* Fixed client/server race condition which could occur
when --auth-retry interact is set and the initially
provided auth-user-pass credentials are incorrect,
forcing a username/password re-query.
* Fixed bug where if --daemon and --management-hold are
used together, --user or --group options would be ignored.
* --ip-win32 adaptive is now the default.
* --ip-win32 netsh (or --ip-win32 adaptive when in netsh
mode) can now set DNS/WINS addresses on the TAP-Win32
adapter.
* Added new option --route-method adaptive (Win32)
which tries IP helper API first, then falls back to
route.exe.
* Made --route-method adaptive the default.
2005.11.12 -- Version 2.1-beta7
* Allow blank passwords to be passed via the management
interface.
* Fixed bug where "make check" inside a FreeBSD "jail"
would never complete (Matthias Andree).
* Fixed bug where --server directive in --dev tap mode
claimed that it would support subnets of /30 or less
but actually would only accept /29 or less.
* Extend byte counters to 64 bits (M. van Cuijk).
* Fixed bug in Linux get_default_gateway function
introduced in 2.0.4, which would cause redirect-gateway
on Linux clients to fail.
* Moved easy-rsa 2.0 scripts to easy-rsa/2.0 to
be compatible with 2.0.x distribution.
* Documented --route-nopull.
* Documented --ip-win32 adaptive.
* Windows build now linked with LZO2.
* Allow ca, cert, key, and dh files to be specified
inline via XML-like syntax without needing to
reference an explicit file.
For example:
<ca>
data here...
</ca>
* Allow plugin and push directives to have multi-line
parameter lists such as:
<plugin>
my-plugin.so
parm1
parm2
</plugin>
* Added connect-retry-max option (Alon Bar-Lev).
* Fixed problems where signals thrown during initialization
were not returning to a management-hold state.
* Added a backtrack-hardened system time algorithm.
* Added --remote-cert-ku, --remote-cert-eku, and
--remote-cert-tls options for verifying certificate
attributes (Alon Bar-Lev).
* For Windows, reverted --ip-win32 default back to "dynamic".
To use new adaptive mode, set explicitly.
2005.11.01 -- Version 2.1-beta6
* Security fix (merged from 2.0.4) -- Affects non-Windows
OpenVPN clients of version 2.0 or higher which connect to
a malicious or compromised server. A format string
vulnerability in the foreign_option function in options.c
could potentially allow a malicious or compromised server
to execute arbitrary code on the client. Only
non-Windows clients are affected. The vulnerability
only exists if (a) the client's TLS negotiation with
the server succeeds, (b) the server is malicious or
has been compromised such that it is configured to
push a maliciously crafted options string to the client,
and (c) the client indicates its willingness to accept
pushed options from the server by having "pull" or
"client" in its configuration file (Credit: Vade79).
CVE-2005-3393
* Security fix -- (merged from 2.0.4) Potential DoS
vulnerability on the server in TCP mode. If the TCP
server accept() call returns an error status, the resulting
exception handler may attempt to indirect through a NULL
pointer, causing a segfault. Affects all OpenVPN 2.0 versions.
CVE-2005-3409
* Fix attempt of assertion at multi.c:1586 (note that
this precise line number will vary across different
versions of OpenVPN).
* Windows reliability changes:
(a) Added code to make sure that the local PATH environmental
variable points to the Windows system32 directory.
(b) Added new --ip-win32 adaptive mode which tries 'dynamic'
and then fails over to 'netsh' if the DHCP negotiation fails.
(c) Made --ip-win32 adaptive the default.
* More PKCS#11 additions/changes (Alon Bar-Lev).
* Added ".PHONY: plugin" to Makefile.am to work around
"make dist" issue.
* Fixed double fork issue that occurs when --management-hold
is used.
* Moved TUN/TAP read/write log messages from --verb 8 to 6.
* Warn when multiple clients having the same common name or
username usurp each other when --duplicate-cn is not used.
* Modified Windows and Linux versions of get_default_gateway
to return the route with the smallest metric
if multiple 0.0.0.0/0.0.0.0 entries are present.
* Added ">NEED-OK" alert and "needok" command to management
interface to provide a general interface for sending
alerts to the end-user. Used by the PKCS#11 code
to send Token Insertion Requests to the user.
* Added actual remote address used to the ">STATE" alert
in the management interface (Rolf Fokkens).
2005.10.17 -- Version 2.1-beta4
* Fixed bug introduced in 2.1-beta3 where management
socket bind would fail.
* --capath fix in ssl.c (Zhuang Yuyao).
* Added ".PHONY: plugin" to Makefile.am, reverted
location of "plugin" directory (thanks to
Matthias Andree for figuring this out).
2005.10.16 -- Version 2.1-beta3
* Added PKCS#11 support (Alon Bar-Lev).
* Enable the use of --ca together with --pkcs12. If --ca is
used at the same time as --pkcs12, the CA certificate is loaded
from the file specified by --ca regardless if the pkcs12 file
contains a CA cert or not (Mathias Sundman).
* Merged --capath patch (Thomas Noel).
* Merged --multihome patch.
* Added --bind option for TCP client connections (Ewan Bhamrah
Harley).
* Moved "plugin" directory to "plugins" to deal with strange
automake problem that ended up being also fixable with
".PHONY: plugin" in Makefile.am.
2005.10.13 -- Version 2.1-beta2
* Made --sndbuf and --rcvbuf pushable.
2005.10.01 -- Version 2.1-beta1
* Made LZO setting pushable.
* Renamed sample-keys/tmp-ca.crt to ca.crt.
* Fixed bug where remove_iroutes_from_push_route_list
was missing routes if those routes had
an implied netmask (by omission) of 255.255.255.255.
* Merged with 2.0.3-rc1
* easy-rsa/2.0 moved to easy-rsa
* old easy-rsa moved to easy-rsa/1.0
2005.09.23 -- Version 2.0.2-TO4
* Added feature to TAP-Win32 adapter to allow it to be
opened from non-administrator mode. This feature
is enabled by default, and can be enabled/disabled
in the adapter advanced properties dialog.
* Added --allow-nonadmin standalone option for Windows to
set TAP adapter to allow non-admin access. This
is a user-mode version of the code, and duplicates
the same feature as the above entry.
* Added fix that attempts to solve corner case of tunnel not
forwarding packets when system clock is reset to an earlier time.
* Added --redirect-gateway bypass-dns option. (Developers:
To add bypass-dhcp or bypass-dns support to other OSes,
add a get_bypass_addresses function to route.c for
your OS.)
* Added OPENVPN_PLUGIN_CLIENT_CONNECT_V2 plugin callback, which
allows a client-connect plugin to return configuration text
in memory, rather than via a file.
* Fixed a bug where --mode server --proto tcp-server --cipher none
operation could cause tunnel packet truncation.
* openvpn --version will show [LZO1] or [LZO2], depending on
version that was linked.
2005.09.07 -- Version 2.0.2-TO1
* Added --topology directive. See man page.
* Added --redirect-gateway bypass-dhcp option to add a route
allowing DHCP packets to bypass the tunnel, when the
DHCP server is non-local. Currently only implemented
on Windows clients.
* Modified OpenVPN Service on Windows to declare the DHCP
client service as a dependency.
* Extended the plugin interface to allow plugins to declare
per-client constructor and destructor functions, to make
it simpler for plugins to maintain per-client state.
2005.09.25 -- Version 2.0.3-rc1
* openvpn_plugin_abort_v1 function wasn't being properly
registered on Windows.
* Fixed a bug where --mode server --proto tcp-server --cipher none
operation could cause tunnel packet truncation.
2005.08.25 -- Version 2.0.2
* No change from 2.0.2-rc1.
2005.08.24 -- Version 2.0.2-rc1
* Fixed regression bug in Win32 installer, introduced in 2.0.1,
which incorrectly set OpenVPN service to autostart.
* Don't package source code zip file in Windows installer
in order to reduce the size of the installer. The source
zip file can always be downloaded separately if needed.
* Fixed bug in route.c in FreeBSD, Darwin, OpenBSD and NetBSD
version of get_default_gateway. Allocated socket for route
manipulation is never freed so number of mbufs continuously
grow and exhaust system resources after a while (Jaroslav Klaus).
* Fixed bug where "--proto tcp-server --mode p2p --management
host port" would cause the management port to not respond until
the OpenVPN peer connects.
* Modified pkitool script to be /bin/sh compatible (Johnny Lam).
2005.08.16 -- Version 2.0.1
* Security Fix -- DoS attack against server when run with "verb 0" and
without "tls-auth". If a client connection to the server fails
certificate verification, the OpenSSL error queue is not properly
flushed, which can result in another unrelated client instance on the
server seeing the error and responding to it, resulting in disconnection
of the unrelated client (CAN-2005-2531).
* Security Fix -- DoS attack against server by authenticated client.
This bug presents a potential DoS attack vector against the server
which can only be initiated by a connected and authenticated client.
If the client sends a packet which fails to decrypt on the server,
the OpenSSL error queue is not properly flushed, which can result in
another unrelated client instance on the server seeing the error and
responding to it, resulting in disconnection of the unrelated client
(CAN-2005-2532). Credit: Mike Ireton.
* Security Fix -- DoS attack against server by authenticated client.
A malicious client in "dev tap" ethernet bridging mode could
theoretically flood the server with packets appearing to come from
hundreds of thousands of different MAC addresses, causing the OpenVPN
process to deplete system virtual memory as it expands its internal
routing table. A --max-routes-per-client directive has been added
(default=256) to limit the maximum number of routes in OpenVPN's
internal routing table which can be associated with a given client
(CAN-2005-2533).
* Security Fix -- DoS attack against server by authenticated client.
If two or more client machines try to connect to the server at the
same time via TCP, using the same client certificate, and when
--duplicate-cn is not enabled on the server, a race condition can
crash the server with "Assertion failed at mtcp.c:411"
(CAN-2005-2534).
* Fixed server bug where under certain circumstances, the client instance
object deletion function would try to delete iroutes which had never been
added in the first place, triggering "Assertion failed at mroute.c:349".
* Added --auth-retry option to prevent auth errors from being fatal
on the client side, and to permit username/password requeries in case
of error. Also controllable via new "auth-retry" management interface
command. See man page for more info.
* Added easy-rsa 2.0 scripts to the tarball in easy-rsa/2.0
* Fixed bug in openvpn.spec where rpmbuild --define 'without_pam 1'
would fail to build.
* Implement "make check" to perform loopback tests (Matthias Andree).
2005.07.21 -- Version 2.0.1-rc7
* Support LZO 2.01 which renamed its library to lzo2 (Matthias Andree).
* Include linux/types.h before checking for linux/errqueue.h (Matthias
Andree).
2005.07.15 -- Version 2.0.1-rc6
* Commented out "user nobody" and "group nobody" in sample
client/server config files.
* Allow '@' character to be used in --client-config-dir
file names.
2005.07.04 -- Version 2.0.1-rc5
* Windows version will log a for-further-info URL when
initialization sequence is completed with errors.
* Added DLOPEN_PAM parameter to plugin/auth-pam/Makefile
to control whether auth-pam plugin links to PAM via
dlopen or -lpam. By default, DLOPEN_PAM=1 so pre-existing
behavior should be preserved. DLOPEN_PAM=0 is the preferred
setting to link via -lpam, but DLOPEN_PAM=1 works around
a bug in SuSE 9.1 (and possibly other distros as well)
where the PAM modules are not linked with -lpam. See
thread on openvpn-devel for more discussion about this
patch (Simon Perreault).
2005.06.15 -- Version 2.0.1-rc4
* Support LZO 2.00, including changes to configure script to
autodetect LZO version.
2005.06.12 -- Version 2.0.1-rc3
* Fixed a bug which caused standard file handles to not be closed
after daemonization when --plugin and --daemon are used together,
and if the plugin initialization function forks (as does auth-pam
and down-root) (Simon Perreault).
* Added client-side up/down scripts in contrib/pull-resolv-conf
for accepting server-pushed "dhcp-option DOMAIN" and "dhcp-option DNS"
on Linux/Unix systems (Jesse Adelman).
* Fixed bug where if client-connect scripts/plugins were cascaded,
and one (but not all) of them returned an error status, there might
be cases where for an individual script/plugin, client-connect was
called but not client-disconnect. The goal of this fix is to
ensure that if client-connect is called on a given client instance,
then client-disconnect will definitely be called. A potential
complication of this fix is that when client-connect functions are
cascaded, it's possible that the client-disconnect function would
be called in cases where the related client-connect function returned
an error status. This fix should not alter OpenVPN behavior when
scripts/plugins are not cascaded.
* Changed the hard-to-reproduce "Assertion failed at fragment.c:312"
fatal error to a warning: "FRAG: outgoing buffer is not empty".
Need more info on how to reproduce this one.
* When --duplicate-cn is used, the --ifconfig-pool allocation
algorithm will now allocate the first available IP address.
* When --daemon and --management-hold are used together,
OpenVPN will daemonize before it enters the management hold state.
2005.05.16 -- Version 2.0.1-rc2
* Modified vendor test in openvpn.spec file to match against
"Mandrakesoft" in addition to "MandrakeSoft".
* Using --iroute in a --client-config-dir file while in --dev tap
mode is not currently supported and will produce a warning
message. Fixed bug where in certain cases, in addition to
generating a warning message, this combination of options
would also produce a fatal assertion in mroute.c.
* Pass --auth-user-pass username to server-side plugin without
performing any string remapping (plugins, unlike scripts,
don't get any security benefit from string remapping).
This is intended to fix an issue with openvpn-auth-pam/pam_winbind
where backslash characters in a username ('\') were being remapped
to underscore ('_').
* Updated OpenSSL DLLs in Windows build to 0.9.7g.
* Documented --explicit-exit-notify in man page.
* --explicit-exit-notify seconds parameter defaults to 1 if
unspecified.
2005.04.30 -- Version 2.0.1-rc1
* Fixed bug where certain kinds of fatal errors after
initialization (such as port in use) would leave plugin
processes (such as openvpn-auth-pam) still running.
* Added optional openvpn_plugin_abort_v1 plugin function for
closing initialized plugin objects in the event of a fatal
error by main OpenVPN process.
* When the --remote list is > 1, and --resolv-retry is not
specified (meaning that it defaults to "infinite"), apply the
infinite timeout to the --remote list as a whole, but try each
list item only once before moving on to the next item.
* Added new --syslog directive which redirects output
to syslog without requiring the use of the --daemon or --inetd
directives.
* Added openvpn.spec option to allow RPM to be built with support
for passwords read from a file:
rpmbuild -tb [openvpn.x.tar.gz] --define 'with_password_save 1'
2005.04.17 -- Version 2.0
* Fixed minor options string typo in options.c.
2005.04.10 -- Version 2.0-rc21
* Change license description from "GPL Version 2 or (at your
option) any later version" to just "GPL Version 2".
2005.04.04 -- Version 2.0-rc20
* Dag Wieers has put together an OpenVPN/LZO binary RPM set with
excellent distro/version coverage for RH/EL/Fedora, though
using his own SPEC. I modified openvpn.spec to follow some of
the same conventions such as putting sample scripts and doc
files in %doc rather than /usr/share/openvpn.
* Minor change to init scripts to run the user-defined script
/etc/openvpn/openvpn-startup (if it exists) before any OpenVPN
configs are started, and to run /etc/openvpn/openvpn-shutdown
after all OpenVPN configs have been stopped. The
openvpn-startup script can be used for stuff like
insmod tun.o, setting up firewall rules, or starting
ethernet bridges.
2005.03.29 -- Version 2.0-rc19
* Omit additions of routes where the network and
gateway are equal and the netmask is 255.255.255.255.
This can come up if you are using both
server/ifconfig-pool and client-config-dir with
ifconfig-push static addresses for some subset of clients
which directly reference the server IP address as the
remote endpoint.
2005.03.28 -- Version 2.0-rc18
* Packaged Windows installer with OpenSSL 0.9.7f.
* Built Windows installer with NSIS 2.06.
2005.03.12 -- Version 2.0-rc17
* "MANAGEMENT: CMD" log file output will now only occur
at --verb 7 or greater.
* Added an optional name/value configuration list to
the openvpn-auth-pam plugin module argument list. See
plugin/auth-pam/README for documentation. This is necessary
in order for openvpn-auth-pam to work with queries generated
by arbitrary PAM modules.
* In both auth-pam and down-root plugins, in the forked process,
a read error on the parent process socket is no longer fatal.
* MandrakeSoft liblzo1 RPM only Provides for a 'liblzo1'.
A conditional test of the vendor has been added to
Require the appropriately named 'lzo' (liblzo1 / lzo).
(Tom Walsh - http://openhardware.net)
2005.02.20 -- Version 2.0-rc16
* Fixed bug introduced in rc13 where Windows service wrapper
would be installed with a startup type of Automatic.
This fix restores the previous behavior of installing
with a startup type of Manual.
2005.02.19 -- Version 2.0-rc15
* Added warning when --keepalive is not used in a server
configuration.
* Don't include OpenSSL md4.h file if we are not building
NTLM proxy support (Waldemar Brodkorb).
* Added easy-rsa/build-key-pkcs12 and
easy-rsa/Windows/build-key-pkcs12.bat scripts
(Mathias Sundman).
2005.02.16 -- Version 2.0-rc14
* Fixed small memory leak that occurs when --crl-verify
is used.
* Upgraded Windows installer and .nsi script to NSIS 2.05
(Mathias Sundman).
* Changed #include backslash usage in cryptoapi.c to use
forward slashes instead (Gisle Vanem).
* Created easy-rsa/revoke-full to handle revocations in
a single step: (a) revoke crt, (b) regenerate CRL, and
(c) verify that revocation succeeded.
* Renamed easy-rsa/Windows/revoke-key to revoke-full so
that both *nix and Windows scripts are equivalent.
2005.02.11 -- Version 2.0-rc13
* Improve human-readability of local/remote options
diff, when inconsistencies are present.
* For Windows easy-rsa, distribute vars.bat.sample and
openssl.cnf.sample, then copy them to their normal
filenames (without the .sample) when init-config.bat
is run. This is to prevent OpenVPN upgrades from
wiping out vars.bat and openssl.cnf edits.
* Modified service wrapper (Windows) to use a
case-insensitive search when scanning for .ovpn files
in \Program Files\OpenVPN\config. Prior versions
required an all-lower-case .ovpn file extension.
* Miscellaneous service wrapper code cleanup.
* If --user/--group is used on Windows, treat it
as a no-op with a warning (this makes it easier to
distribute the same client config file to Windows
and *nix users).
* Warn if --ifconfig-pool-persist is used with
--duplicate-cn.
2005.02.05 -- Version 2.0-rc12
* Removed some debugging code inadvertently included
in rc11 which would print the --auth-user-pass
username/password provided by clients in the server
logfile.
* Client code for cycling through --remote list will
retry the last address which successfully authenticated
before moving on through the list.
* Windows installer will now install sample configuration
files in \Program Files\OpenVPN\sample-configs as well
as generate a start menu shortcut to this directory.
* Minor type change in buffer.[ch] to work around char-type
ambiguity bug. Caused management interface lock-ups on
ARM when building with armv4b-hardhat-linux-gcc 2.95.3.
2005.02.03 -- Version 2.0-rc11
* Windows installer will now install easy-rsa directory
in \Program Files\OpenVPN
* Allow syslog facility to be controlled at compile time,
e.g. -DLOG_OPENVPN=LOG_LOCAL6 (P Kern).
* Changed certain shell scripts in distribution to use
#!/bin/sh rather than #!/bin/bash for better portability.
* If --ifconfig-pool-persist seconds parameter is 0, treat
persist file as an allocation of fixed IP addresses
(previous versions took IP-to-common-name associations
from this list as hints, not mandatory static allocations).
* Fixed bug on *nix where if --auth-user-pass and --log
were used together, the username prompt would be sent to
the log file rather than /dev/tty.
* Spurious text in openvpn.8 detected by doclifter
(Eric S. Raymond).
* Call closelog later on daemon kill so that process
exit message is written to syslog.
2005.01.27 -- Version 2.0-rc10
* When ./configure is run with plugins enabled (the default),
check whether or not dlopen exists in libc before testing
for libdl. This is to fix an issue on FreeBSD and possibly
other OSes which bundle libdl functions in libc.
* On Windows, filter initial WSAEINVAL warning which occurs
on the initial read attempt of an unbound socket.
* The easy-rsa scripts build-key, build-key-pass, and
build-key-server will now chmod the .key file
to 0600. This is in addition to the fact the generated
keys directory has always been similarly protected
(Pete Harlan).
2005.01.23 -- Version 2.0-rc9
* Fixed error "ROUTE: route addition failed using
CreateIpForwardEntry ..." on Windows when --redirect-gateway
is used over a RRAS internet link.
* When using --route-method exe on Windows, include the
gateway parameter on route delete commands (Mathias Sundman).
* Try not to do a hard reset (i.e. SIGHUP) when two
SIGUSR1 signals are received in close succession.
* If the push list tries to grow beyond its buffer capacity,
the resulting error will be non-fatal.
* To increase the push list capacity (must be done on both
client and server), increase TLS_CHANNEL_BUF_SIZE in
common.h (default=1024).
2005.01.15 -- Version 2.0-rc8
* Fixed bug introduced in rc7 where options error
"--auth-user-pass requires --pull" might occur even
if --pull was correctly specified.
* Changed management interface code to bind once
to TCP socket, rather than rebinding after every
client disconnect.
* Added "disable" directive for client-config-dir
files.
* Windows binary install is now distributed with
OpenSSL 0.9.7e.
* Query the management interface for --http-proxy
username/password if authfile is set to "stdin".
* Added current OpenVPN version number to "Unrecognized
option or missing parameter" error message.
* Added "-extensions server" to "openssl req" command
in easy-rsa/build-key-server (Nir Yeffet).
2005.01.10 -- Version 2.0-rc7
* Fixed bug in management interface which could cause
100% CPU utilization in --proto tcp-server mode
on all *nix OSes except for Linux 2.6.
* --ifconfig-push now accepts DNS names as well as
IP addresses.
* Added sanity check errors when --pull or
--auth-user-pass is used in an incorrect mode.
* Updated man page entries for --client-connect and
--ifconfig-push.
* Added "String Types and Remapping" section to man
page to consisely document the way which OpenVPN
may convert certain types of characters in strings
to ('_').
* Modified bridging description in HOWTO to emphasize
the fact that bridging allows Windows file and print
sharing without a WINS server (Charles Duffy).
2004.12.20 -- Version 2.0-rc6
* Improved checking for epoll support in ./configure
to fix false positive on RH9 (Jan Just Keijser).
* Made the "MULTI TCP: I/O wait required blocking in
multi_tcp_action, action=7" error nonfatal and replaced
with "MULTI: Outgoing TUN queue full, dropped packet".
So far the issue only seems to occur on Linux 2.2
in --mode server --proto tcp mode. It occurs when
the TUN/TAP driver locks up and refuses to accept
new packet writes for a second or more.
* Fixed bug where if a --client-config-dir file tried
to include another file using "config", and if that
include failed, OpenVPN would abort with a fatal
error. Now such inclusion failures will be logged
but are no longer fatal.
* Global changes to the way that packet buffer alignment
is handled. Previously we didn't care about alignment
and took care, when handling 16 and 32 bit words
in buffers, to always use alignment-safe transfers.
This approach appears to be inadequate on some
architectures such as alpha. The new approach is
to initialize packet buffers in a way that anticipates
how component structures will be allocated within
them, to maintain correct alignment.
* Added --dhcp-option DISABLE-NBT to disable NetBIOS
over TCP (Jan Just Keijser).
* Added --http-proxy-option directive for controlling
miscellaneous HTTP proxy options.
* Management state will no longer transition to "WAIT"
during TLS renegotiations.
2004.12.16 -- Version 2.0-rc5
* The --client-config-dir option will now try to open
a default file called "DEFAULT" if no file matching
the common name of the incoming client was found.
* The --client-connect script/plugin can now veto client
authentication by returning a failure code.
* The --learn-address script/plugin can now prevent a
client-instance/address association from being learned
by returning a failure code.
* Changed RPM group in .spec file to Applications/Internet.
2004.12.14 -- Version 2.0-rc4
* SuSE only -- Fixed interaction between openvpn.spec and
suse/openvpn.init where the .spec file was writing the
OpenVPN binary to a different location than where the
.init script was referencing it (Stefan Engel).
* Solaris only -- Split Solaris ifconfig command into two
parts (Jan Just Keijser).
* Some cleanup in add_option().
* Better error checking on input dotted quad IP addresses.
* Verify that --push argument is quoted, if there is
more than one.
* More miscellaneous option sanity checks.
2004.12.13 -- Version 2.0-rc3
* On Windows, when --log or --log-append is used,
save the original stderr for username and password
prompts.
* Fixed a bug introduced in the late 2.0 betas where
if a "verb" parameter >= 16 was used, it would be
ignored and the actual verb level would remain at 1.
* Fixed a bug mostly seen on OS X where --management-hold
or --management-query-passwords would cause the management
interface to be unresponsive to incoming client connections.
* Trigger an options error if one of the management-modifying
options is used without "management" itself.
2004.12.12 -- Version 2.0-rc2
* Amplified warnings in documentation about possible
man-in-the-middle attack when clients do not properly
verify server certificate. Changes to easy-rsa README,
FAQ, HOWTO, man page, and sample client config file.
* Added a warning message if --tls-client or --client
is used without also specifying one of either
--ns-cert-type, --tls-remote, or --tls-verify.
* status_open() fixes for MSVC builds (Blaine Fleming).
* Fix attempt of "ntlm.c:55: error: `des_cblock' undeclared"
compiler error which has been reported on some platforms.
* The openvpn.spec file for rpmbuild has several
new build-time options. See comments in the file.
* Plugins are now built and packaged in the RPM and
will be saved in /usr/share/openvpn/plugin/lib.
* Added --management-hold directive to start OpenVPN
in a hibernating state until released by the
management interface. Also added "hold" command
to the management interface.
2004.12.07 -- Version 2.0-rc1
* openvpn.spec workaround for SuSE confusion regarding
/etc/init.d vs. /etc/rc.d/init.d (Stefan Engel).
2004.12.05 -- Version 2.0-beta20
* The ability to read --askpass and --auth-user-pass
passwords from a file has been disabled by default.
To re-enable, use ./configure --enable-password-save.
* Added additional pre-connected states to management
interface. See management/management-notes.txt
for more info.
* State history is now recorded by the management
interface, and the "state" command now works like
the log or echo commands.
* State history and real-time state change notifications
are now prepended with an integer unix timestamp.
* Added --http-proxy-timeout option, previously
the timeout was hardcoded to 5 seconds.
2004.12.02 -- Version 2.0-beta19
* Fixed bug in management interface line termination
where output lines incorrectly contained a \00 char
after the customary \0d \0a.
* Fixed bug introduced in beta18 where Windows version
would segfault on options errors.
* Fixed bug in management interface where an empty
quoted string ("") entered as a parameter would cause
a segfault.
* Fixed bug where --resolv-retry was not working
properly with multiple --remote hosts.
* Added additional ./configure options to reduce
executable size for embedded applications.
See ./configure --help.
2004.11.28 -- Version 2.0-beta18
* Added management interface. See new --management-*
options or the full management interface documentation
in management/management-notes.txt in the tarball.
Management interface inclusion can be disabled by
./configure --disable-management.
* Added two new plugin modules: auth-pam and down-root.
Auth-pam supports pam-based authentication using a
split privilege execution model, while down-root enables
a down script to be executed with root privileges, even
when --user/--group is used to drop root privileges.
See the plugin directory in the tarball for READMEs,
source code, and Makefiles.
* Plugin developers should note that some changes were
made to the plugin interface since beta17. See
openvpn-plugin.h for details.
Plugin interface inclusion can be disabled with
./configure --disable-plugins
* Added easy-rsa/build-key-server script which will
build a certificate with with nsCertType=server.
* Added --ns-cert-type option for verification
of nsCertType field in peer certificate.
* If --fragment n is specified and --mssfix is specified
without a parameter, default --mssfix to n. This restores
the 1.6 behavior when using --mssfix without a parameter.
* Fixed SSL context initialization bug introduced in beta14
where this error might occur on restarts: "Cannot load
certificate chain ... PEM_read_bio:no start line".
2004.11.11 -- Version 2.0-beta17
* Changed default port number to 1194 per IANA official
port number assignment.
* Added --plugin directive which allows compiled
modules to intercept script callbacks. See
plugin folder in tarball for more info.
* Fixed bug introduced in beta12 where --key-method 1
authentications which should have succeeded would fail.
* Ignore SIGUSR1 during DNS resolution.
* Added SuSE support to openvpn.spec (Umberto Nicoletti).
* Fixed --cryptoapicert SUBJ: parsing bug (Peter 'Luna'
Runestig).
2004.11.07 -- Version 2.0-beta16
* Modified sample-scripts/auth-pam.pl to get username
and password from OpenVPN via a file rather than
via environmental variables.
* Added bytes_sent and bytes_received environmental
variables to be set prior to client-disconnect script.
* Changed client virtual IP derivation precedence:
(1) use --ifconfig-push directive from --client-connect
script, (2) use --ifconfig-push directive from
--client-config-dir, and (3) use --ifconfig-pool
address.
* If a --client-config-dir file specifies --ifconfig-push,
it will be visible to the --client-connect-script in
the ifconfig_pool_remote_ip environmental variable.
* For tun-style tunnels, the ifconfig_pool_local_ip
environmental variable will be set, while for
tap-style tunnels, the ifconfig_pool_netmask variable
will be set.
* Added intelligence to autoconf script to test
compiler for the accepted form of zero-length arrays.
* Fixed a bug introduced in beta12 where --ip-win32
netsh would fail if --dev-node was not explicitly
specified.
* --ip-win32 netsh will now work on hidden adapters.
* Fix attempt of "Assertion failed at crypto.c:149".
This assertion has also been reported on 1.x with a
slightly different line number. The fix is twofold:
(1) In previous releases, --mtu-test may trigger this
assertion -- this bug has been fixed. (2) If something
else causes the assertion to be thrown, don't panic,
just output a nonfatal warning to the log and drop
the packet which generated the error.
* Support TAP interfaces on Mac OS X (Waldemar Brodkorb).
* Added --echo directive.
* Added --auth-nocache directive.
2004.10.28 -- Version 2.0-beta15
* Changed environmental variable character classes
so that names must consist of alphanumeric or
underbar chars and values must consist of printable
characters. Illegal chars will be deleted.
Versions prior to 2.0-beta12 were more restrictive
and would map spaces to '.'.
* On Windows, when the TAP adapter fails to
initialize with the correct IP address, output
"Initialization Sequence Completed with Errors"
to the console or log file.
* Added a warning when user/group/chroot is used
without persist-tun and persist-key.
* Added cryptoapi.[ch] to tarball and source zip.
* --tls-remote option now works with common name
prefixes as well as with the full X509 subject
string. This is a useful alternative to using
a CRL on the client.
* common names associated with a static
--ifconfig-push setting will no longer leave
any state in the --ifconfig-pool-persist file.
* Hard TLS errors (TLS handshake failed) will now
trigger either a SIGUSR1 signal by default
or SIGTERM (if --tls-exit is specified). In TCP
mode, all TLS errors are considered to be hard.
In server mode, the signal will be local to the
client instance.
* Added method parameter to --auth-user-pass-verify
directive to select whether username/password
is passed to script via environment or a temporary
file.
* Added --status-version option to control format
of --status file. The --mode server
--status-version 2 format now includes a line
type token, the virtual IP address is shown
in the client list (even in --dev tap mode),
and the integer time_t value is shown anywhere
an ascii-formatted time/date is also shown.
* Added --remap-usr1 directive which can be used
to control whether internally or externally
generated SIGUSR1 signals are remapped to
SIGHUP (restart without persisting state) or
SIGTERM (exit).
* When running as a Windows service (using
--service option), check the exit event before
and after reading one line of input from
stdin, when reading username/password info.
* For developers: Extended the --gremlin function
to better stress-test the new 2.0 features,
added Valgrind support on Linux and Dmalloc
support on Windows.
2004.10.19 -- Version 2.0-beta14
* Fixed a bug introduced in Beta12 that would occur
if you use a --client-connect script without also
defining --tmp-dir.
* Fixed a bug introduced in Beta12 where a learn-address
script might segfault on the delete method.
* Added Crypto API support in Windows version via
the --cryptoapicert option (Peter 'Luna' Runestig).
2004.10.18 -- Version 2.0-beta13
* Fixed an issue introduced in Beta12 where the private
key password would not be prompted for unless --askpass
was explicitly specified in the config.
2004.10.17 -- Version 2.0-beta12
* Added support for username/password-based authentication.
Clients can now authentication themselves with the server
using either a certificate, a username/password, or both.
New directives: --auth-user-pass, --auth-user-pass-verify,
--client-cert-not-required, and --username-as-common-name.
* Added NTLM proxy patch (William Preston).
* Added --ifconfig-pool-linear server flag to allocate
individual tun addresses for clients rather than /30
subnets (won't work with Windows clients).
* Modified --http-proxy code to cache username/password
across restarts.
* Modified --http-proxy code to read username/password
from the console when the auth file is given as "stdin".
* Modified --askpass to take an optional filename argument.
* --persist-tun and --persist-key now work in client mode
and can be pushed to clients as well.
* Added --ifconfig-pool-persist directive, to maintain
ifconfig-pool info in a file which is persistent across
daemon instantiations.
* --user and --group privilege downgrades as well as
--chroot now also work in client mode (the
dowgrade/chroot will be delayed until the initialization
sequence is completed).
* Added --show-engines standalone directive to show
available OpenSSL crypto accelerator engine support.
* --engine directive now accepts an optional engine-ID
parameter to control which engine is used.
* "Connection reset, restarting" log message now shows
which client is being reset.
* Added --dhcp-pre-release directive in Windows version.
* Second parm to --ip-win32 can be "default", e.g.
--ip-win32 dynamic default 60.
* Fixed documentation bug regarding environmental
variable settings for --ifconfig-pool IP addresses.
The correct environmental variable names are:
ifconfig_pool_local_ip and ifconfig_pool_remote_ip.
* ifconfig_pool_local_ip and ifconfig_pool_remote_ip
environmental variables are now passed to the
client-disconnect script.
* In server mode, environmental variables are now scoped
according to the client they are associated with,
to solve the problem of "crosstalk" between different
client's environmental variable sets.
* Added --down-pre flag to cause --down script to be
called before TUN/TAP close (rather than after).
* Added --tls-exit flag which will cause OpenVPN
to exit on any TLS errors.
* Don't push a route to a client if it exactly
matches an iroute (this lets you push routes to
all clients, and OpenVPN will automatically remove
the route from the route push list only for that client
which the route actually belongs to).
* Made '--resolv-retry infinite' the default.
--resolv-retry can be disabled by using a parameter of 0.
* For clients which plan to pull config info from server,
set an initial default ping-restart of 60 seconds.
* Optimized mute code to lessen the load on the processor
when messages are being muted at a higher frequency.
* Made route log messages non-mutable.
* Silence the Linux "No buffer space available" message.
* Added miscellaneous additional option sanity checks.
* Added Windows version of easy-rsa scripts in
easy-rsa/Windows directory (Andrew J. Richardson).
* Added NetBSD route patch (Ed Ravin).
* Added OpenBSD patch for TAP + --redirect-gateway
(Waldemar Brodkorb).
* Directives which prompt for a username and/or password
will now work with --daemon (OpenVPN will prompt
before forking).
* Warn if CRL is from a different issuer than the
issuer of the peer certificate (Bernhard Weisshuhn).
* Changed init script chkconfig parameters to start
OpenVPN daemon(s) before NFS.
* Bug fix attempt of "too many I/O wait events" which occurs
on OSes which prefer select() over poll() such as Mac OS X.
* Added --ccd-exclusive flag. This flag will require, as a
condition of authentication, that a connecting client has
a --client-config-dir file.
* TAP-Win32 open code will attempt to open a free adapter
if --dev-node is not specified (Mathias Sundman).
* Resequenced --nice and --chroot ordering so that --nice
occurs first.
* Added --suppress-timestamps flag (Charles Duffy).
* Source code changes to allow compilation by MSVC
(Peter 'Luna' Runestig).
* Added experimental --fast-io flag which optimizes
TUN/TAP/UDP writes on non-Windows systems.
2004.08.18 -- Version 2.0-beta11
* Added --server, --server-bridge, --client, and
--keepalive helper directives. See client.conf
and server.conf in sample-config-files for sample
configurations which use the new directives.
* On Windows, added --route-method to control
whether IP Helper API or route.exe is used
to add/delete routes.
* On Windows, added a second parameter to
--route-delay to control the maximum time period
to wait for the TAP-Win32 adapter to come up
before adding routes.
* Fixed bug in Windows version where configurations
which omit --ifconfig might fail to recognize when
the TAP adapter is up.
* Proxy connection failures will now retry according
to the --connect-retry parameter.
* Fixed --dev null handling on Windows so that TLS
loopback test described in INSTALL file works
correctly on Windows.
* Added "Initialization Sequence Completed" message
after all initialization steps have been completed
and the VPN can be considered "up".
* Better sanity-checking on --ifconfig-pool parameters.
* Added --tcp-queue-limit option to control
TUN/TAP -> TCP socket overflow.
* --ifconfig-nowarn flag will now silence general
warnings about possible --ifconfig address
conflicts, including the warning about --ifconfig
and --remote addresses being in same /24 subnet.
* Fixed case where server mode did not correctly
identify certain types of ethernet multicast packets
(Marcel de Kogel).
* Added --explicit-exit-notify option (experimental).
2004.08.02 -- Version 2.0-beta10
* Fixed possible reference after free of option strings
after a restart, bug was introduced in beta8.
* Fixed segfault at route.c:919 in the beta9
Windows version that was being caused by indirection
through a NULL pointer.
* Mistakenly built debug version of TAP-Win32 driver
for beta9. Beta10 has correct release build.
2004.07.30 -- Version 2.0-beta9
* Fixed --route issue on Windows that was introduced with
the new beta8 route implementation based on the
IP Helper API.
2004.07.27 -- Version 2.0-beta8
* Added TCP support in server mode.
* Added PKCS #12 support (Mathias Sundman).
* Added patch to make revoke-crt and make-crl work
seamlessly within the easy-rsa environment (Jan Kiszka).
* Modified --mode server ethernet bridge code to forward
special IEEE 802.1d MAC Groups, i.e. 01:80:C2:XX:XX:XX.
* Added --dhcp-renew and --dhcp-release flags to Windows
version. Normally DHCP renewal and release on the TAP
adapter occurs automatically under Windows, however
if you set the TAP-Win32 adapter Media Status property
to "Always Connected", you may need these flags.
* Added --show-net standalone flag to Windows version to
show OpenVPN's view of the system adapter and routing
tables.
* Added --show-net-up flag to Windows version to output
the system routing table and network adapter list to
the log file after the TAP-Win32 adapter has been brought
up and any routes have been added.
* Modified Windows version to add routes using the IP Helper
API rather than by calling route.exe.
* Fixed bug where --route-up script was not being called
if no --route options were specified.
* Added --mute-replay-warnings to suppress packet replay
warnings. This is a common false alarm on WiFi nets.
* Added "def1" flag to --redirect-gateway option to override
the default gateway by using 0.0.0.0/1 and 128.0.0.0/1
rather than 0.0.0.0/0. This has the benefit of overriding
but not wiping out the original default gateway.
(Thanks to Jim Carter for pointing out this idea).
* You can now run OpenVPN with a single config file argument.
For example, you can now say "openvpn config.conf"
rather than "openvpn --config config.conf".
* On Windows, made --route and --route-delay more adaptive
with respect to waiting for interfaces referenced by the
route destination to come up. Routes added by --route
should now be added as soon as the interface comes up,
rather than after an obligatory 10 second delay. The
way this works internally is that --route-delay now
defaults to 0 on Windows. Previous versions would
wait for --route-delay seconds then add the routes.
This version will wait --route-delay seconds and then
test the routing table at one second intervals for the
next 30 seconds and will not add the routes until they
can be added without errors.
* On Windows, don't setsockopt SO_SNDBUF or SO_RCVBUF by
default on TCP/UDP socket in light of reports that this
action can have undesirable global side effects on the
MTU settings of other adapters. These parameters can
still be set, but you need to explicitly specify
--sndbuf and/or --rcvbuf.
* Added --max-clients option to limit the maximum number
of simultaneously connected clients in server mode.
* Added error message to illuminate shell escape gotcha when
single backslashes are used in Windows path names.
* Added optional netmask parm to --ifconfig-pool.
* Fixed bug where http-proxy connect retry attempts were
incorrectly going to the remote OpenVPN server,
not to the HTTP proxy server.
2004.06.29 -- Version 2.0-beta7
* Fixed bug in link_socket_verify_incoming_addr() which
under certain circumstances could have caused --float
behavior even if --float was not specified.
* --tls-auth option now works with --mode server.
All clients and the server should use the same
--tls-auth key when operating in client/server mode.
* Added --engine option to make use of OpenSSL-supported
crypto acceleration hardware.
* Fixed some high verbosity print format size issues
in event.c for 64 bit platforms (Janne Johansson).
* Made failure to open --log or --log-append file
a non-fatal error.
2004.06.23 -- Version 2.0-beta6
* Fixed Windows installer to intelligently put
up a reboot dialog only if tapinstall tells
us that it's really necessary.
* Fixed "Assertion failed at fragment.c:309"
bug when --mode server and --fragment are used
together.
* Ignore HUP, USR1, and USR2 signals during
initialization. Prior versions would abort.
* Fixed bug on OS X: "Assertion failed at event.c:406".
* Added --service option to Windows version, for use
when OpenVPN is being programmatically instantiated
by another process (see man page for info).
* --log and --log-append options now work on Windows.
* Update OpenBSD INSTALL notes (Janne Johansson).
* Enable multicast on tun interface when running on
OpenBSD (Pavlin Radoslavov).
* Fixed recent --test-crypto breakage, where options
such as --cipher were not being parsed correctly.
* Modified options compatibility string by removing
ifconfig substring if it is empty. Incremented
options compatibility string version number to 4.
* Fixed typo in --tls-timeout option parsing
(Mikael Lonnroth).
2004.06.13 -- Version 2.0-beta5
* Fixed rare --mode server crash that could occur
if data was being routed to a client at
high bandwidth at the precise moment that the
client instance object on the server was being
deleted.
* Fixed issue on machines which have epoll.h and
the epoll_create glibc call defined, but which
don't actually implement epoll in the kernel.
OpenVPN will now gracefully fall back to the
poll API in this case.
* Fixed Windows bug which would cause the following
error in a --mode server --dev tap configuration:
"resource limit WSA_MAXIMUM_WAIT_EVENTS has been
exceeded".
* Added CRL (certificate revocation list) management
scripts to easy-rsa directory (Jon Bendtsen).
* Do a better job of getting the ifconfig component
of the options consistency check to work correctly
when --up-delay is used.
* De-inlined some functions which were too complex
to be inlined anyway with gcc.
* If a --dhcp-option option is pushed to a non-windows
client, the option will be saved in the client's
environment before the --up script is called, under
the name "foreign_option_{n}".
* Added --learn-address script (see man page) which
allows for firewall access through the VPN to be
controlled based on the client common name.
* In mode --server mode, when a client connects to
the server, the server will disconnect any
still-active clients which use the same common
name. Use --duplicate-cn flag to revert to
previous behavior of allowing multiple clients
to concurrently connect with the same common name.
2004.06.08 -- Version 2.0-beta4
* Fixed issue with beta3 where Win32 service wrapper
was keying off of old TAP HWID as a dependency. To
ensure that the new service wrapper is correctly
installed, the Windows install script will uninstall
the old wrapper before installing the new one,
causing a reset of service properties.
* Fixed permissions issue on --status output file,
with default access permissions of owner read/write
only (default permissions can be changed of course with
chmod).
2004.06.05 -- Version 2.0-beta3
* More changes to TAP-Win32 driver's INF file which
affects the placement of the driver in the Windows
device namespace. This is done to work around an
apparent bug in Windows when short HWIDs are used,
and will also ease the upgrade from 1.x to 2.0 by
reducing the chances that a reboot will be needed
on upgrade. Like beta2, this upgrade will
delete existing TAP-Win32 interfaces, and reinstall
a single new interface with default properties.
* Major rewrite of I/O event wait layer in the style
of libevent. This is a precursor to TCP support
in --mode server.
* New feature: --status. Outputs a SIGUSR2-like
status summary to a given file, updated once
per n seconds. The status file is comma delimited
for easy machine parsing.
* --ifconfig-pool now remembers common names and
will try to assign a consistent IP to a given
common name. Still to do: persist --ifconfig-pool
memory across restarts by saving state in file.
* Fixed bug in event timer queue which could cause
recurring timer events such as --ping to not
correctly schedule again after firing. This in
turn would cause spurrious ping restarts and possible
connection outages. Thanks to Denis Vlasenko for
tracking this down.
* Possible fix to reported bug where --daemon argument
was not printing to syslog correctly after restart.
* Fixed bug where pulling --route or --dhcp-option
directives from a server would problematically
interact with --persist-tun on the client.
* Updated contrib/multilevel-init.patch (Farkas Levente).
* Added RPM build option to .spec and .spec.in files
to optionally disable LZO inclusion (Ian Pilcher).
* The latest MingW runtime and headers define
'ssize_t', so a patch is needed (Gisle Vanem).
2004.05.14 -- Version 2.0-beta2
* Fixed signal handling bug in --mode server, where
SIGHUP and SIGUSR1 were treated as SIGTERM.
* Changed the TAP-Win32 HWID from "TAP" to "TAPDEV".
Apparently the larger string may work around
a problem where the TAP adapter is sometimes missing
from the network connections panel, especially under
XP SP2. Also note that installing this upgrade will
uninstall any pre-existing TAP-Win32 adapters, and then
install a single new adapter, meaning that old adapter
properties will be lost. Thanks to Md5Chap for solving
this one.
* For --mode server --dev tap, the options --ifconfig and
--ifconfig-pool are now optional. This allows address
assignment via DHCP or use of a TAP VPN without
IP support, as has always been possible with 1.x.
* Fixed bug where --ifconfig may not work correctly on
Linux 2.2.
* Added 'local' flag to --redirect-gateway for use on
networks where both OpenVPN daemons are connected
to a shared subnet, such as wireless.
2004.05.09 -- Version 2.0-beta1
* Unchanged from test29 except for version number
upgrade.
2004.05.08 -- Version 2.0-test29
* Modified --dev-node on Windows to accept a TAP-Win32
GUID name. In addition, --show-adapters will now
display the high-level name and GUID of each adapter.
This is an attempt to work around an issue in Windows
where sometimes the TAP-Win32 adapter installs correctly
but has no icon in the network connections control
panel. In such cases, being able to specify
--dev-node {TAP-GUID} can work around the missing icon.
2004.05.07 -- Version 2.0-test28
* Fixed bug which could cause segfault on program
shutdown if --route and --persist-tun are used
together.
2004.05.06 -- Version 2.0-test27
* Fixed bug in close_instance() which might cause
memory to be accessed after it had already been freed.
* Fixed bug in verify_callback() that might have
caused uninitialized data to be referenced.
* --iroute now allows full CIDR subnet routing.
* In "--mode server --dev tun" usage, source addresses
on VPN packets coming from a particular client must
be associated with that client in the OpenVPN internal
routing table.
2004.04.28 -- Version 2.0-test26
* Optimized broadcast path in multi-client mode.
* Added socket buffer size options --rcvbuf & --sndbuf.
* Configure Linux tun/tap driver to use a more sensible
txqueuelen default. Also allow explicit setting
via --txqueuelen option (Harald Roelle).
* The --remote option now allows the port number
to be specified as the second parameter. If
unspecified, the port number defaults to the
--rport value.
* Multiple --remote options on the client can now be
specified for load balancing and failover. The
--remote-random flag can be used to initially randomize
the --remote list for basic load balancing.
* If a remote DNS name resolves to multiple DNS addresses,
one will be chosen by random as a kind of basic
load-balancing feature if --remote-random is used.
* Added --connect-freq option to control maximum
new connection frequency in multi-client mode.
* In multi-client mode, all syslog messages associated
with a specific client now include a client-ID prefix.
* For Windows, use a gettimeofday() function based
on QueryPerformanceCounter (Derek Burdick).
* Fixed bug in interaction between --key-method 2
and DES ciphers, where dynamic keys would be generated
with bad parity and then be rejected.
2004.04.17 -- Version 2.0-test24
* Reworked multi-client broadcast handling.
2004.04.13 -- Version 2.0-test23
* Fixed bug in --dev tun --client-to-client routing.
* Fixed a potential deadlock in --pull.
* Fixed a problem with select() usage which could
cause a repeating sequence of "select : Invalid
argument (code=22)"
2004.04.11 -- Version 2.0-test22
* Fixed bug where --mode server + --daemon was
prematurely closing syslog connection.
* Added support for --redirect-gateway on Mac OS X
(Jeremy Apple).
* Minor changes to TAP-Win32 driver based on feedback
from the NDISTest tool.
2004.04.11 -- Version 2.0-test21
* Optimizations in multi-client server event loop.
2004.04.10 -- Version 2.0-test20
* --mode server capability now works with either tun
or tap interfaces. When used with tap interfaces,
OpenVPN will internally bridge all client tap
interfaces with the server tap interface.
* Connecting clients can now have a client-specific
configuration on the server, based on the client
common name embedded in the client certificate.
See --client-config-dir and --client-connect.
These options can be used to configure client-specific
routes.
* Added an option --client-to-client that enables
internal client-to-client routing or bridging.
Otherwise, clients will only "see" the server,
not other connected clients.
* Fixed bug in route scheduling which would have caused
--mode server to not work on Windows in test18
and test19 with the sample config file.
* Man page is up to date with all new options.
* OpenVPN 2.0 release notes on web site updated
with tap-style tunnel examples.
2004.04.02 -- Version 2.0-test19
* Fixed bug where routes pushed from server were
not working correctly on Windows clients.
* Added Mac OS X route patch (Jeremy Apple).
2004.03.30 -- Version 2.0-test18
* Minor fixes + Windows self-install modified
to use OpenSSL 0.9.7d.
2004.03.29 -- Version 2.0-test17
* Fixed some bugs related to instance timeout and deletion.
* Extended --push/--pull option to support additional
option classes.
2004.03.28 -- Version 2.0-test16
* Successful test of --mode udp-server, --push,
--pull, and --ifconfig-pool with server on
Linux 2.4 and clients on Linux and Windows.
2004.03.25 -- Version 2.0-test15
* Implemented hash-table lookup of client instances
based either on remote UDP address/port or remote
ifconfig endpoint.
* Implemented a randomized binary tree based
scheduler for scalably scheduling a large number
of client instance events. Uses the treap
data structure and node rotation algorithm
to keep the tree balanced.
* Initial implementation of ifconfig-pool.
* Made --key-method 2 the default.
2004.03.20 -- Version 2.0-test14
* Implemented --push and --pull.
2004.03.20 -- Version 2.0-test13
* Reduced struct tls_multi and --single-session
memory footprint.
* Modified --single-session flag to be used
in multi-client UDP server client instances.
2004.03.19 -- Version 2.0-test12
* Added the key multi-client UDP server options,
--mode, --push, --pull, and --ifconfig-pool.
* Revamped GC (garbage collection) code to not rely
on any global data.
* Modifications to thread.[ch] to allow a more
flexible thread model.
2004.03.16 -- Version 2.0-test11
* Moved all timer code to interval.h, added new file
interval.c.
* Fixed missing include.
2004.03.16 -- Version 2.0-test10
* More TAP-Win32 fixes.
* Initial debugging and testing of multi.[ch].
2004.03.14 -- Version 2.0-test9
* Branch merge with 1.6-rc3
* More point-to-multipoint work in multi.[ch].
* Major TAP-Win32 driver restructuring to use
NdisMRegisterDevice instead of
IoCreateDevice/IoCreateSymbolicLink.
* Changed TAP-Win32 symbolic links to use \DosDevices\Global\
pathname prefix.
* In the majority of cases, TAP-Win32 should now be
able to install and uninstall on Win2K without requiring
a reboot.
* TAP-Win32 MAC address can now be explicitly set in the
adapter advanced properties page.
2004.03.04 -- Version 2.0-test8
* Branch merge with 1.6-rc2.
2004.03.03 -- Version 2.0-test7
* Branch merge with 1.6-rc1.2.
2004.03.02 -- Version 2.0-test6
* Branch merge with 1.6-rc1.
2004.03.02 -- Version 2.0-test5
* Move Socks5 UDP header append/remove to socks.c, and is
called from forward.c.
* Moved verify statics from ssl.c into struct tls_session.
* Wrote multi.[ch] to handle top level of point-to-multipoint
mode.
* Wrote some code to allow a struct link_socket in a child context
to be slaved to the parent context.
* Broke up packet read and process functions in forward.c
(from socket or tuntap) into separate functions for read
and process, so that point-to-point and point-to-multipoint can
share the same code.
* Expand TLS control channel to allow the passing of configuration
commands.
* Wrote mroute.[ch] to handle internal packet routing for
point-to-multipoint mode.
2004.02.22 -- Version 2.0-test3
* Initial work on UDP multi-client server.
* Branch merge of 1.6-beta7
2004.02.14 -- Version 2.0-test2
* Refactorization of openvpn.c into openvpn.[ch]
init.[ch] forward.[ch] forward-inline.h
occ.[ch] occ-inline.h ping.[ch] ping-inline.h
sig.[ch]. Created a master per-tunnel
struct context in openvpn.h.
* Branch merge of 1.6-beta6.2
2003.11.06 -- Version 2.0-test1
* Initial testbed for 2.0.
2004.05.09 -- Version 1.6.0
* Unchanged from 1.6-rc4 except for version number
upgrade.
2004.04.01 -- Version 1.6-rc4
* Made minor customizations to devcon and
renamed as tapinstall.exe for Windows version.
* Fixed "storage size of `iv' isn't known" build
problem on FreeBSD.
* OpenSSL 0.9.7d bundled with Windows self-install.
2004.03.13 -- Version 1.6-rc3
* Minor Windows fixes for --ip-win32 dynamic, relating to
the way the TAP-Win32 driver responds to a DHCP request
from the Windows DHCP client.
* The net_gateway environmental variable wasn't being
set correctly for called scripts (Paul Zuber).
* Added code to determine the default gateway on FreeBSD,
allowing the --redirect-gateway option to work
(Juan Rodriguez Hervella).
2004.03.04 -- Version 1.6-rc2
* Fixed bug in Windows version where the NetBIOS node-type
DHCP option might have been passed even if it was not
specified.
* Fixed bug in Windows version introduced in 1.6-rc1, where
DHCP timeout would be set to 0 seconds if --ifconfig option
was used and --ip-win32 option was not explicitly specified.
* Added some new --dhcp-option types for Windows version.
2004.03.02 -- Version 1.6-rc1
* For Windows, make "--ip-win32 dynamic" the default.
* For Windows, make "--route-delay 10" the default
unless --ip-win32 dynamic is not used or --route-delay
is explicitly specified.
* L_TLS mutex could have been left in a locked state
for certain kinds of TLS errors.
2004.02.22 -- Version 1.6-beta7
* Allow scheduling priority increase (--nice) together
with UID/GID downgrade (--user/--group).
* Code that causes SIGUSR1 restart on TLS errors in TCP
mode was not activated in pthread builds.
* Save the certificate serial number in an environmental
variable called tls_serial_{n} prior to calling the
--tls-verify script. n is the current cert chain level.
* Added NetBSD IPv6 tunnel capability (also requires
a kernel patch) (Horst Laschinsky).
* Fixed bug in checking the return value of the nice()
function (Ian Pilcher).
* Bug fix in new FreeBSD IPv6 over TUN code which was
originally added in 1.6-beta5 (Nathanael Rensen).
* More Socks5 fixes -- extended the struct frame
infrastructure to accomodate proxy-based encapsulation
overhead.
* Added --dhcp-option to Windows version for setting
adapter properties such as WINS & DNS servers.
* Use a default route-delay of 5 seconds when
--ip-win32 dynamic is specified (only applicable when
--route-delay is not explicitly specified).
* Added "log_append" registry variable to control
whether the OpenVPN service wrapper on Windows
opens log files in append (log_append="1") or
truncate (log_append="0") mode. The default
is truncate.
2004.02.05 -- Version 1.6-beta6
* UDP over Socks5 fix to accomodate Socks5 encapsulation
overhead (Christof Meerwald).
* Minor --ip-win32 dynamic tweaks (use long lease time,
invalidate existing lease with DHCPNAK).
2004.02.01 -- Version 1.6-beta5
* Added Socks5 proxy support (Christof Meerwald).
* IPv6 tun support for FreeBSD (Thomas Glanzmann).
* Special TAP-Win32 debug mode for Windows self-install that was
enabled in beta4 is now turned off.
* Added some new Solaris notes to INSTALL (Koen Maris).
* More work on --ip-win32 dynamic.
2004.01.27 -- Version 1.6-beta4
* For this beta, the Windows self-install is a debug version
and will run slower -- use only for testing.
* Reverted the --ip-win32 default back to 'ipapi'
from 'dynamic'.
* Added the offset parameter to '--ip-win32 dynamic' which
can be used to control the address of the masqueraded
DHCP server which replies to Windows DHCP requests.
* Added a wait/nowait option to --inetd (nowait can only
be used with TCP sockets, TLS authentication, and over
a bridged configuration -- see FAQ for more info)
(Stefan `Sec` Zehl).
* Added a build-time capability where TAP-Win32 driver
debug messages can be output by OpenVPN at --verb 6
or higher.
2004.01.20 -- Version 1.6-beta2
* Added ./configure --enable-iproute2 flag which
uses iproute2 instead of route + ifconfig --
this is necessary for the LEAF Linux distro
(Martin Hejl).
* Added renewal-time and rebind-time to set of
DHCP options returned by the TAP-Win32 driver when
"--ip-win32 dynamic" is used.
2004.01.14 -- Version 1.6-beta1
* Fixed --proxy bug that sometimes caused plaintext
control info generated by the proxy prior to http
CONNECT method establishment to be incorrectly
parsed as OpenVPN data.
* For Windows version, implemented the
"--ip-win32 dynamic" method and made it the default.
This method sets the TAP-Win32 adapter IP address
and netmask by replying to the kernel's DHCP queries.
See the man page for more detailed info.
* Added --connect-retry parameter which controls
the time interval (in seconds) between connect()
retries when --proto tcp-client is used. Previously,
this value was hardcoded to 5 seconds, and still
defaults as such.
* --resolv-retry can now be used with a parameter
of "infinite" to retry indefinitely.
* Added SSL_CTX_use_certificate_chain_file() to ssl.c
for support of multi-level certificate chains
(Sten Kalenda).
* Fixed --tls-auth incompatibility with 1.4.x and earlier
versions of OpenVPN when the passphrase file is an
OpenVPN static key file (as generated by --genkey).
* Added shell-escape support in config files using
the backslash character ("\") so that (for example)
double quotes can be passed to the shell.
* Added "contrib" subdirectory on tarball, source zip,
and CVS containing user-submitted contributions.
* Added an optional patch to the Redhat init script to
allow the configuration file directory to be a
multi-level directory hierarchy (Farkas Levente).
See contrib/multilevel-init.patch
* Added some scripts and documentation on using
Linux "fwmark" iptables rules to enable
fine-grained routing control over the VPN
(Sean Reifschneider, <jafo@tummy.com>).
See contrib/openvpn-fwmarkroute-1.00
2003.11.20 -- Version 1.5.0
* Minor documentation changes.
2003.11.04 -- Version 1.5-beta14
* Fixed build problem with ./configure --disable-ssl
that was reported on Debian woody.
* Fixed bug where --redirect-gateway could not be used
together with --resolv-retry.
2003.11.03 -- Version 1.5-beta13
* Added CRL (certificate revocation list) capability using
--crl-verify option (Stefano Bracalenti).
* Added --replay-window option for variable replay-protection
window sizes.
* Fixed --fragment bug which might have caused certain large
packets to be sent unfragmented.
* Modified --secret and --tls-auth to permit different cipher and
HMAC keys to be used for each data flow direction. Also
increased static key file size generated by --genkey from
1024 to 2048 bits, where 512 bits each are reserved for
send-HMAC, encrypt, receive-HMAC, and decrypt. Key file forward
and backward compatibility is maintained. See --secret option
documentation on the man page for more info.
* Added --tls-remote option (Teemu Kiviniemi).
* Fixed --tls-cipher documention regarding correct delimiter
usage (Teemu Kiviniemi).
* Added --key-method option for selecting alternative data
channel key negotiation methods. Method 1 is the default.
Method 2 has been added (see man page for more info).
* Added French translation of HOWTO to web site
(Guillaume Lehmann).
* Fixed problem caused by late resolver library load on
certain platforms when --resolv-retry and --chroot are
used together (Teemu Kiviniemi).
* In TCP mode, all decryption or TLS errors will abort the current
connection (this is not done in UDP mode because UDP is
"connectionless").
* Fixed a TCP client reconnect bug that only occurs on the
BSDs, where connect() fails with an invalid argument. This
bug was partially (but not completely) fixed in beta7.
* Added "route_net_gateway" environmental variable which contains
the pre-existing default gateway address from the routing table
(there's no standard API for getting the default gateway, so
right now this feature only works on Windows or Linux).
* Renamed the "route_default_gateway" enviromental variable to
"route_vpn_gateway" -- this is the remote VPN endpoint.
* The special keywords vpn_gateway, net_gateway, and remote_host
can now be used for the network or gateway components of the
--route option. See the man page for more info.
* Added the --redirect-gateway option to configure the VPN
as the default gateway (implemented on Linux and Windows only).
* Added the --http-proxy option with basic authentication
support for use in TCP client mode. Successfully tested
using Squid as the HTTP proxy, with and without authentication.
2003.10.12 -- Version 1.5-beta12
* Fixed Linux-only bug in --mktun and --rmtun which was
introduced around beta8 or so, which would cause
an error such as "I don't recognize device tun0 as a
tun or tap device1".
* Added --ifconfig-nowarn option to disable options
consistency warnings about --ifconfig parameters.
* Don't allow any kind of sequence number backtracking or
message reordering when in TCP mode.
* Changed beta naming convention to use '_' (underscore)
rather than '-' (dash) to pacify rpmbuild.
2003.10.08 -- Version 1.5-beta11
* Modified code in the Windows version which sets the IP address
and netmask of the TAP-Win32 adapter using the IP Helper API.
Most of the changes involve better error recovery when
the IP Helper API returns an error status. See the
manual page entry on --ip-win32 for more info.
2003.10.08 -- Version 1.5-beta10
* Added getpass() function for Windows version so that --askpass
option works correctly (Stefano Bracalenti).
* Added reboot advisory to end of Win32 install script.
* Changed crypto code to use pseudo-random IVs rather than
carrying forward the IV state from the previous packet.
This is in response to item 2 in the following document:
http://www.openssl.org/~bodo/tls-cbc.txt which points
out weaknesses in TLS's use of the same IV carryforward
approach. This change does not break protocol compatibility
with previous versions of OpenVPN.
* Made a change to the crypto replay protection code to also
protect against certain kinds of packet reordering attacks.
This change does not break protocol compatibility with
previous versions of OpenVPN.
* Added --ip-win32 option to provide several choices for
setting the IP address on the TAP-Win32 adapter.
* #ifdefed out non-CBC crypto modes by default.
* Added --up-delay option to delay TUN/TAP open and --up script
execution until after connection establishment. This option
replaces the earlier windows-only option --tap-delay.
2003.10.01 -- Version 1.5-beta9
* Fixed --route-noexec bug where option was not parsed correctly.
* Complain if --dev tun is specified without --ifconfig on Windows.
* Fixed bug where TCP connections on windows would sometimes cause
an assertion failure.
* Added a new flag to TAP-Win32 advanced properties that allows one
to set the adapter to be always "connected" even when an OpenVPN
process doesn't have it open. The default behavior is to report
a media status of connected only when an OpenVPN process has the
adapter open.
* Rebuilt the Windows self-install distribution with OpenSSL 0.9.7c
DLLs in response to an OpenSSL security advisory.
2003.09.30 -- Version 1.5-beta8
* Extended the --ifconfig option to work on tap devices as well
as tun devices.
* Implemented the --ifconfig option for Windows, by calling the
netsh tool.
* By default, do an "arp -d *" on Windows after TAP-Win32 open to
refresh the MAC cache. This behaviour can be disabled with
--no-arp-del.
* On Windows, allow the --dev-node parameter (which specifies
the name of the TAP-Win32 adapter) to be omitted in cases where
there is a single TAP-Win32 adapter on the system which can be
assumed to be the default.
* Modified the diagnostic --verb 5 debugging level to print 'R'
for TCP/UDP read, 'W' for TCP/UDP write, 'r' for TUN/TAP read,
and 'w' for TUN/TAP write.
* Conditionalize OpenBSD read_tun and write_tun based on tun or tap
mode.
* Added IPv6 tun support to OpenBSD (Thomas Glanzmann).
* Make the --enable-mtu-dynamic ./configure option enabled by
default.
* Deprecated the --mtu-dynamic run-time option, in favor of
--fragment.
* DNS names can now be used as --ifconfig parameters.
* Significant work on TAP-Win32 driver to bring up to SMP standards.
* On Windows, fixed dangling IRP problem if TAP-Win32 driver is
unloaded or disabled, while a user-space process has it open.
* On Windows, if --tun-mtu is not specified, it will be read from
the TAP-Win32 driver via ioctl.
* On Windows, added TAP-Win32 driver status info to "F2" keyboard
signal (only when run from a console window).
* Added --mssfix option to control TCP MSS size (YANO Hirokuni).
* Renamed --mtu-dynamic option to --fragment to more accurately
reflect its function. Fragment accepts a single parameter which
is the upper limit on acceptable UDP packet size.
* Changed default --tun-mtu-extra parameter to 32 from 64.
* Eliminated reference to malloc.o in configure.ac.
* Added tun device emulation to the TAP-Win32 driver.
* Added --route and related options.
* Added init script for SuSE Linux (Frank Plohmann).
* Extended option consistency check between peers to function
in all crypto modes, including static-key and cleartext modes.
Previously only TLS mode was supported. Disable with
--disable-occ.
* Overall, increased the amount of configuration option sanity
checking, especially of networking parameters.
* Added --mtu-test option for empirical MTU measurement.
* Added Windows-only option --tap-delay to not set the TAP-Win32
adapter media state to 'connected' until TCP/UDP connection
establishment with peer.
* Slightly modified --route/--route-delay semantics so that when
--route is given without --route-delay, routes are added
immediately after tun/tap device open. When --route-delay is
specified, routes will be added n seconds after connection
initiation, where n is the --route-delay parameter (which
can be set to 0).
* Made TCP framing error into a non-fatal error that triggers a
connection reset.
2003.08.28 -- Version 1.5-beta7
* Fixed bug that caused OpenVPN not to respond to exit/restart
signals when --resolv-retry is used and a local or remote DNS
name cannot be resolved.
* Exported a series of environmental variables with useful
info for scripts. See man page for more info. Based
on a suggestion by Anthony Ciaravalo.
* Moved TCP/UDP socket bind to a point in the initialization
before the --up script gets called. This is desirable
because (a) a socket bind failure will happen before
daemonization, allowing an error status code to be returned
to the shell and (b) the possibility is eliminated of a
socket bind failure causing the --up script to be run
but not the --down script. This change has a side effect
that --resolv-retry will no longer work with --local.
* Fixed bug where if an OpenVPN TCP server went down and back
up again, Solaris or FreeBSD clients would fail to reconnect
to it.
* Fixed bug that prevented OpenVPN from being run by
inetd/xinetd in TCP mode.
* Added --log and --log-append options for logging messages to
a file.
* On Windows, check that the current user is a member of the
Administrator group before attempting install or uninstall.
2003.08.16 -- Version 1.5-beta6
* Fixed TAP-Win32 driver to properly increment the Rx/Tx count.
2003.08.14 -- Version 1.5-beta5
* Added user-configurability of the TAP-Win32 adapter MTU
through the adapter advanced properties page.
* Added Windows Service support.
* On Windows, added file association and right-clickability
for .ovpn files (OpenVPN config files).
2003.08.05 -- Version 1.5-beta4
* Extra refinements and error checking added to Windows
NSIS install script.
2003.08.05 -- Version 1.5-beta3
* Added md5.h include to crypto.c to fix build problem on
OpenBSD.
* Created a Win32 installer using NSIS.
* Removed DelService command from TAP-Win32 INF file. It appears
to be not necessary and it interfered with the ability to
uninstall and reinstall the driver without needing to reboot.
* On Windows version, added "addtap" and "deltapall" batch
files to add and delete TAP-Win32 adapter instances.
2003.07.31 -- Version 1.5-beta2
* Renamed INSTALL.w32 to INSTALL-win32.txt and reformatted
in Windows ASCII so it's easier to click and view.
* Added postscript and PDF versions of the HOWTO to the web
site (C R Zamana).
* Merged Michael Clarke's stability patch into TAP-Win32
driver which appears to fix the suspend/resume driver bug
and significantly improve driver stability.
* Added Christof Meerwald's Media Status patch to the
TAP-Win32 driver which shows the TAP adapter to be
disconnected when OpenVPN is not running.
* Moved socket connect and TCP server listen code to a later
point in openvpn() function so that the TCP server listen
state is entered after daemonization.
* Added keyboard shortcuts to simulate signals in the Windows
version, see the window title bar for descriptions.
2003.07.24 -- Version 1.5-beta1
* Added TCP support via the new --proto option.
* Renamed udp-centric options such as --udp-mtu to
--link-mtu (old option names preserved for compatibility).
* Ported to Windows 2000 + XP using mingw and a TAP driver
derived from the Cipe-Win32 project by Damion K. Wilson.
* Added --show-adapters flag for windows version.
* Reworked the SSL/TLS packet acknowledge code to better
handle certain corner cases.
* Turned off the default enabling of IP forwarding in the
sample-scripts/openvpn.init script for Redhat.
Forwarding can be enabled by users in their --up scripts
or firewall config.
* Added --up-restart option based on suggestion from Sean
Reifschneider.
* If --dev tap or --dev-type tap is specified, --tun-mtu
defaults to 1500 and --tun-mtu-extra defaults to 64.
* Enabled --verb 5 debugging mode that prints 'R' and 'W'
for each packet read or write on the TCP/UDP socket.
2003.08.04 -- Version 1.4.3
* Added md5.h include to crypto.c
to fix build problem on OpenBSD.
2003.07.15 -- Version 1.4.2
* Removed adaptive bandwidth from
--mtu-dynamic -- its absence appears
to work better than its existence (1.4.1.2).
* Minor changes to --shaper to fix long
retransmit timeouts at low bandwidth
(1.4.1.2).
* Added LOG_RW flag to openvpn.h for
debugging (1.4.1.2).
* Silenced spurious configure warnings (1.4.1.2).
* Backed out --dev-name patch, modified --dev
to offer equivalent functionality (1.4.1.4).
* Added an optional parameter to --daemon and
--inetd to support the passing of a custom
program name to the system logger (1.4.1.5).
* Add compiled-in options to the program title
(1.4.1.5).
* Coded the beginnings of a WIN32 port (1.4.1.5).
* Succeeded in porting to Win32 Mingw environment
and running loopback tests (1.4.1.6). Still
need a kernel driver for full Win32
functionality.
* Fixed a bug in error.h where
HAVE_CPP_VARARG_MACRO_GCC was misspelled.
This would have caused a significant slowdown
of OpenVPN when built by compilers that
lack ISO C99 vararg macros (1.4.1.6).
* Created an init script for Gentoo Linux
in ./gentoo directory (1.4.1.6).
2003.05.15 -- Version 1.4.1
* Modified the Linux 2.4 TUN/TAP open code to
fall back to the 2.2 TUN/TAP interface if the
open or ioctl fails.
* Fixed bug when --verb is set to 0 and non-fatal
socket errors occur, causing 100% CPU utilization.
Occurs on platorms where
EXTENDED_SOCKET_ERROR_CAPABILITY is defined,
such as Linux 2.4.
* Fixed typo in tun.c that was preventing
OpenBSD build.
* Added --enable-mtu-dynamic configure option
to enable --mtu-dynamic experimental option.
2003.05.07 -- Version 1.4.0
* Added --replay-persist feature to allow replay
protection across sessions.
* Fixed bug where --ifconfig could not be used
with --tun-mtu.
* Added --tun-mtu-extra parameter to deal with
the situation where a read on a TUN/TAP device
returns more data than the device's MTU size.
* Fixed bug where some IPv6 support code for
Linux was not being properly ifdefed out for
Linux 2.2, causing compile errors.
* Added OPENVPN_EXIT_STATUS_x codes to
openvpn.h to control which status value
openvpn returns to its caller (such as
a shell or inetd/xinetd) for various conditions.
* Added OPENVPN_DEBUG_COMMAND_LINE flag to
openvpn.h to allow debugging in situations
where stdout, stderr, and syslog cannot be used
for message output, such as when OpenVPN is
instantiated by inetd/xinetd.
* Removed owner-execute permission from file
created by static key generator (Herbert Xu
and Alberto Gonzalez Iniesta).
* Added --passtos option to allow IPv4 TOS bits
to be passed from TUN/TAP input packets to
the outgoing UDP socket (Craig Knox).
* Added code to prevent open socket file descriptors
from being accessible to called scripts.
* Added --dev-name option (Christian Lademann).
* Added --mtu-disc option for manual control
over MTU options.
* Show OS MTU value on UDP socket write failures
(linux only).
* Numerous build system and portability
fixes (Matthias Andree).
* Added better sensing of compiler support for
variable argument macros, including (a) gcc
style, (b) ISO C 1999 style, and (c) no support.
* Removed generated files from CVS. Note INSTALL
file for new CVS build commands.
* Changed certain internal symbol names
for C standards compliance.
* Added TUN/TAP open code to cycle dynamically
through unit numbers until it finds a free
unit (based on code from Thomas Gielfeldt
and VTun).
* Added dynamic MTU and fragmenting infrastructure
(Experimental). Rebuild with FRAGMENT_ENABLE
defined to enable.
* Minor changes to SSL/TLS negotiation, use
exponential backoff on retransmits, and use
a smaller MTU size (note that no protocol
changes have been made which would break
compatibility with 1.3.x).
* Added --enable-strict-options flag
to ./configure. This option will cause
a more strict check for options compatibility
between peers when SSL/TLS negotiation is used,
but should only be used when both OpenVPN peers
are of the same version.
* Reorganization of debugging levels.
* Added a workaround in configure.ac for
default SSL header location on Linux
to fix RH9 build problem.
* Fixed potential deadlock when pthread support
is used on OSes that allocate a small socketpair()
message buffer.
* Fixed openvpn.init to be sh compliant
(Bishop Clark).
* Changed --daemon to wait until all
initialization is finished before becoming a
daemon, for the benefit of initialization
scripts that want a useful return status from
the openvpn command.
* Made openvpn.init script more robust, including
positive indication of initialization errors
in the openvpn daemon and better sanity checks.
* Changed --chroot to wait until initialization
is finished before calling chroot(), and allow
the use of --user and --group with --chroot.
* When syslog logging is enabled (--daemon or
--inetd), set stdin/stdout/stderr to point
to /dev/null.
* For inetd instantiations, dup socket descriptor
to a >2 value.
* Fixed bug in verify-cn script, where test would
incorrectly fail if CN=x was the last component
of the X509 composite string (Anonymous).
* Added Markus F.X.J. Oberhumer's special
license exception to COPYING.
2002.10.23 -- Version 1.3.2
* Added SSL_CTX_set_client_CA_list call
to follow the canonical form for TLS initialization
recommended by the OpenSSL docs. This change allows
better support for intermediate CAs and has no impact
on security.
* Added build-inter script to easy-rsa package, to
facilitate the generation of intermediate CAs.
* Ported to NetBSD (Dimitri Goldin).
* Fixed minor bug in easy-rsa/sign-req. It refers to
openssl.cnf file, instead of $KEY_CONFIG, like all
other scripts (Ernesto Baschny).
* Added --days 3650 to the root CA generation command
in the HOWTO to override the woefully small 30 day
default (Dominik 'Aeneas' Schnitzer).
* Fixed bug where --ping-restart would sometimes
not re-resolve remote DNS hostname.
* Added --tun-ipv6 option and related infrastructure
support for IPv6 over tun.
* Added IPv6 over tun support for Linux (Aaron Sethman).
* Added FreeBSD 4.1.1+ TUN/TAP driver notes to
INSTALL (Matthias Andree).
* Added inetd/xinetd support (--inetd) including
documentation in the HOWTO.
* Added "Important Note on the use of commercial certificate
authorities (CAs) with OpenVPN" to HOWTO based on
issues raised on the openvpn-users list.
2002.07.10 -- Version 1.3.1
* Fixed bug in openvpn.spec and openvpn.init
which caused RPM upgrade to fail.
2002.07.10 -- Version 1.3.0
* Added --dev-node option to allow explicit selection of
tun/tap device node.
* Removed mlockall call from child thread, as it doesn't
appear to be necessary (child thread inherits mlockall
state from parent).
* Added --ping-timer-rem which causes timer for --ping-exit
and --ping-restart not to run unless we have a remote IP
address.
* Added condrestart to openvpn.init and openvpn.spec
(Bishop Clark).
* Added --ifconfig case for FreeBSD (Matthias Andree).
* Call openlog with facility=LOG_DAEMON (Matthias Andree).
* Changed LOG_INFO messages to LOG_NOTICE.
* Added warning when key files are group/others accessible.
* Added --single-session flag for TLS mode.
* Fixed bug where --writepid would segfault if used with
an invalid filename.
* Fixed bug where --ipchange status message was formatted
incorrectly.
* Print more concise error message when system() call
fails.
* Added --disable-occ option.
* Added --local, --remote, and --ifconfig options sanity
check.
* Changed default UDP MTU to 1300 and TUN/TAP MTU to
1300.
* Successfully tested with OpenSSL 0.9.7 Beta 2.
* Broke out debug level definitions to errlevel.h
* Minor documentation and web site changes.
* All changes maintain protocol compatibility
with OpenVPN versions since 1.1.0, however default
MTU changes will require setting the MTU explicitly
by command line option, if you want 1.3.0 to
communicate with previous versions.
2002.06.12 -- Version 1.2.1
* Added --ping-restart option to restart
connection on ping timeout using SIGUSR1
logic (Matthias Andree).
* Added --persist-tun, --persist-key,
--persist-local-ip, and --persist-remote-ip
options for finer-grained control over SIGUSR1
and --ping-restart restarts. To
replicate previous SIGUSR1 functionality,
use --persist-remote-ip.
* Changed residual IV fetching code to take
IV from tail of ciphertext.
* Added check to make sure that CFB or OFB
cipher modes are only used with SSL/TLS
authentication mode, and added a caveat
to INSTALL.
* Changed signal handling during initialization
(including re-initialization during restarts)
to exit on SIGTERM or SIGINT and ignore other
signals which would ordinarily be caught.
* Added --resolv-retry option to allow
retries on hostname resolution.
* Expanded the --float option to also
allow dynamic changes in source port number
on incoming datagrams.
* Added --mute option to limit repetitive
logging of similar message types.
* Added --group option to downgrade GID
after initialization.
* Try to set ifconfig path automatically
in configure.
* Added --ifconfig code for Mac OS X
(Christoph Pfisterer).
* Moved "Peer Connection Initiated" message
to --verb level 1.
* Successfully tested with
OpenSSL 0.9.7 Beta 1 and AES cipher.
* Added RPM notes to INSTALL.
* Added ACX_PTHREAD (from the autoconf
macro archive) to configure.ac
to figure out the right pthread
options for a given platform.
* Broke out macro definitions from
configure.ac to acinclude.m4.
* Minor changes to docs and HOWTO.
* All changes maintain protocol compatibility
with OpenVPN versions since 1.1.0.
2002.05.22 -- Version 1.2.0
* Added configuration file support via
the --config option.
* Added pthread support to improve latency.
With pthread support, OpenVPN
will offload CPU-intensive tasks such as RSA
key number crunching to a background thread
to improve tunnel packet forwarding
latency. pthread support can be enabled
with the --enable-pthread configure option.
Pthread support is currently available
only for Linux and Solaris.
* Added --dev-type option so that tun/tap
device names don't need to begin with
"tun" or "tap".
* Added --writepid option to write main
process ID to a file.
* Numerous portability fixes to ease
porting to other OSes including changing
all network types to uint8_t and uint32_t,
and not assuming that time_t is 32 bits.
* Backported to OpenSSL 0.9.5.
* Ported to Solaris.
* Finished OpenBSD port except for
pthread support.
* Added initialization script:
sample-scripts/openvpn.init
(Douglas Keller)
* Ported to Mac OS X (Christoph Pfisterer).
* Improved resilience to DoS attacks when
TLS mode is used without --remote or
--tls-auth, or when --float is used
with --remote. Note however that the best
defense against DoS attacks in TLS mode
is to use --tls-auth.
* Eliminated automake/autoconf dependency
for non-developers.
* Ported configure.in to configure.ac
and autoconf 2.50+.
* SIGHUP signal now causes OpenVPN to restart
and re-read command line and or config file,
in conformance with canonical daemon behaviour.
* SIGUSR1 now does what SIGHUP did in
version 1.1.1 and earlier -- close and reopen
the UDP socket for use when DHCP changes
host's IP address and preserve most recently
authenticated peer address without rereading
config file.
* SIGUSR2 added -- outputs current statistics,
including compression statistics.
* All changes maintain protocol compatibility
with 1.1.1 and 1.1.0.
2002.04.22 -- Version 1.1.1
* Added --ifconfig option to automatically configure
TUN device.
* Added inactivity disconnect (--inactive
and --ping-exit options).
* Added --ping option to keep stateful firewalls
from timing out.
* Added sanity check to command line parser to
err if any TLS options are used in non-TLS mode.
* Fixed build problem with compiler environments that
define printf as a macro.
* Fixed build problem on linux systems that have
an integrated TUN/TAP driver but lack the persistent
tunnel feature (TUNSETPERSIST). Some linux kernels
>= 2.4.0 and < 2.4.7 fall into this category.
* Changed all calls to EVP_CipherInit to use explicit
encrypt/decrypt mode in order to fix problem with
IDEA-CBC and AES-256-CBC ciphers.
* Minor changes to control channel transmit limiter
algorithm to fix problem where TLS control channel
might not renegotiate within the default 60 second window.
* Simplified man page examples by taking advantage
of the new --ifconfig option.
* Minor changes to configure.in to check more
rigourously for OpenSSL 0.9.6 or greater.
* Put back openvpn.spec, eliminated
openvpn.spec.in.
* Modified openvpn.spec to reflect new automake-based
build environment (Bishop Clark).
* Other documentation changes.
* Added --test-crypto option for debugging.
* Added "missing" and "mkinstalldirs" automake
support files.
2002.04.09 -- Version 1.1.0
* Strengthened replay protection and IV handling,
extending it fully to both static key and
TLS dynamic key exchange modes.
* Added --mlock option to disable paging and ensure that key
material and tunnel data is never paged to disk.
* Added optional traffic shaping feature to cap the maximum
data rate of the tunnel.
* Converted to automake (The Platypus Brothers 2002-04-01).
* Ported to OpenBSD by Janne Johansson.
* Added --tun-af-inet option to work around an incompatibility
between Linux and BSD tun drivers.
* Sequence number-based replay protection using the
IPSec sliding window model is now the default,
disable with --no-replay.
* Explicit IV is now the default, disable with --no-iv.
* Disabled all cipher modes except CBC, CFB, and OFB.
* In CBC mode, use explicit IV and carry forward residuals,
using IPSec model.
* In CFB/OFB mode, IV is timestamp, sequence number.
* Eliminated --packet-id, --timestamp, and max-delta parameter to
the --tls-auth option as they are now supplanted by improved
replay code which is enabled by default.
* Eliminated --rand-iv as it is now obsolete with improved
IV code.
* Eliminated --reneg-err option as it increases vulnerability
to DoS attacks.
* Added weak key check for DES ciphers.
* --tls-freq option is no longer specified on the command line,
instead it now inherits its parameter from the
--tls-timeout option.
* Fixed bug that would try to free memory on exit that was
never malloced if --comp-lzo was not specified.
* Errata fixed in the man page examples: "test-ca" should be
"tmp-ca".
* Updated manual page.
* Preliminary work in porting to OpenSSL 0.9.7.
* Changed license to allowing linking with OpenSSL.
2002.03.29 -- Version 1.0.3
* Fixed a problem in configure with library ordering on the
command line.
2002.03.28 -- Version 1.0.2
* Improved the efficiency of the inner event loop.
* Fixed a minor bug with timeout handling.
* Improved the build system to build on RH 6.2 through 7.2.
* Added an openvpn.spec file for RPM builders (Bishop Clark).
2002.03.23 -- Version 1.0
* Added TLS-based authentication and key exchange.
* Added gremlin mode to stress test.
* Wrote man page.
2001.12.26 -- Version 0.91
* Added any choice of cipher or HMAC digest.
2001.5.13 -- Version 0.90
* Initial release.
* IP tunnel over UDP, with blowfish cipher and SHA1 HMAC signature.
|