]> git.ipfire.org Git - thirdparty/openvpn.git/blob - ChangeLog
OpenVPN version 2.1_rc19 released
[thirdparty/openvpn.git] / ChangeLog
1 OpenVPN Change Log
2 Copyright (C) 2002-2009 OpenVPN Technologies, Inc. <sales@openvpn.net>
3
4 2009.07.16 -- Version 2.1_rc19
5
6 * In Windows TAP driver, refactor DHCP/ARP packet injection code to
7 use a DPC (deferred procedure call) to defer packet injection until
8 IRQL < DISPATCH_LEVEL, rather than calling NdisMEthIndicateReceive
9 in the context of AdapterTransmit. This is an attempt to reduce kernel
10 stack usage, and prevent EXCEPTION_DOUBLE_FAULT BSODs that have been
11 observed on Vista. Updated TAP driver version number to 9.6.
12
13 * In configure.ac, use datadir instead of datarootdir for compatibility
14 with <autoconf-2.60.
15
16 2009.06.07 -- Version 2.1_rc18
17
18 * Fixed compile error on ./configure --enable-small
19
20 * Fixed issue introduced in r4475 (2.1-rc17) where cryptoapi.c change
21 does not build on Windows on non-MINGW32.
22
23 2009.05.30 -- Version 2.1_rc17
24
25 * Reduce the debug level (--verb) at which received management interface
26 commands are echoed from 7 to 3. Passwords will be filtered.
27
28 * Fixed race condition in management interface recv code on
29 Windows, where sending a set of several commands to the
30 management interface in quick succession might cause the
31 latter commands in the set to be ignored.
32
33 * Increased management interface input command buffer size
34 from 256 to 1024 bytes.
35
36 * Minor tweaks to Windows build system.
37
38 * Added "redirect-private" option which allows private subnets
39 to be pushed to the client in such a way that they don't accidently
40 obscure critical local addresses such as the DHCP server address and
41 DNS server addresses.
42
43 * Added new 'autolocal' redirect-gateway flag. When enabled, the OpenVPN
44 client will examine the routing table and determine whether (a) the
45 OpenVPN server is reachable via a locally connected interface, or (b)
46 traffic to the server must be forwarded through the default router.
47 Only add a special bypass route for the OpenVPN server if (b) is true.
48 If (a) is true, behave as if the 'local' flag is specified, and do not
49 add a bypass route.
50
51 The new 'autolocal' flag depends on the non-portable test_local_addr()
52 function in route.c, which is currently only implemented for Windows.
53 The 'autolocal' flag will act as a no-op on platforms that have not
54 yet defined a test_local_addr() function.
55
56 * Increased TLS_CHANNEL_BUF_SIZE to 2048 from 1024 (this will allow for
57 more option content to be pushed from server to client).
58
59 * Raised D_MULTI_DROPPED debug level to 4 from 3 to filter out (at debug
60 levels <=3) a common and usually innocuous warning.
61
62 * Fixed issue of symbol conflicts interfering with Windows CryptoAPI
63 functionality (Alon Bar-Lev).
64
65 * Fixed bug where the remote_X environmental variables were not being
66 set correctly when the 'local' option is specifed.
67
68 2009.05.17 -- Version 2.1_rc16
69
70 * Windows installer changes:
71
72 1. ifdefed out the check Windows version code which is causing
73 problems on Windows 7
74
75 2. don't define SF_SELECTED if it is already defined
76
77 3. Use LZMA instead of BZIP2 compression for better compression
78
79 4. Upgraded OpenSSL to 0.9.8k
80
81 * Added the ability to read the configuration file
82 from stdin, when "stdin" is given as the config
83 file name.
84
85 * Allow "management-client" directive to be used
86 with unix domain sockets.
87
88 * Added errors-to-stderr option. When enabled, fatal errors
89 that result in the termination of the daemon will be written
90 to stderr.
91
92 * Added optional "nogw" (no gateway) flag to --server-bridge
93 to inhibit the pushing of the route-gateway parameter to
94 clients.
95
96 * Added new management interface command "pid" to show the
97 process ID of the current OpenVPN process (Angelo Laub).
98
99 * Fixed issue where SIGUSR1 restarts would fail if private
100 key was specified as an inline file.
101
102 * Added daemon_start_time and daemon_pid environmental variables.
103
104 * In management interface, added new ">CLIENT:ESTABLISHED" notification.
105
106 * Build fixes:
107
108 1. Fixed some issues with C++ style comments that leaked into the code.
109
110 2. Updated configure.ac to work on MinGW64.
111
112 3. Updated common.h types for _WIN64.
113
114 4. Fixed issue involving an #ifdef in a macro reference that breaks early gcc
115 compilers.
116
117 5. In cryptoapi.c, renamed CryptAcquireCertificatePrivateKey to
118 OpenVPNCryptAcquireCertificatePrivateKey to work around
119 a symbol conflict in MinGW-5.1.4.
120
121 2008.11.19 -- Version 2.1_rc15
122
123 * Fixed issue introduced in 2.1_rc14 that may cause a
124 segfault when a --plugin module is used.
125
126 * Added server-side --opt-verify option: clients that connect
127 with options that are incompatible with those of the server
128 will be disconnected (without this option, incompatible
129 clients would trigger a warning message in the server log
130 but would not be disconnected).
131
132 * Added --tcp-nodelay option: Macro that sets TCP_NODELAY socket
133 flag on the server as well as pushes it to connecting clients.
134
135 * Minor options check fix: --no-name-remapping is a
136 server-only option and should therefore generate an
137 error when used on the client.
138
139 * Added --prng option to control PRNG (pseudo-random
140 number generator) parameters. In previous OpenVPN
141 versions, the PRNG was hardcoded to use the SHA1
142 hash. Now any OpenSSL hash may be used. This is
143 part of an effort to remove hardcoded references to
144 a specific cipher or cryptographic hash algorithm.
145
146 * Cleaned up man page synopsis.
147
148 2008.11.16 -- Version 2.1_rc14
149
150 * Added AC_GNU_SOURCE to configure.ac to enable struct ucred,
151 with the goal of fixing a build issue on Fedora 9 that was
152 introduced in 2.1_rc13.
153
154 * Added additional method parameter to --script-security to preserve
155 backward compatibility with system() call semantics used in OpenVPN
156 2.1_rc8 and earlier. To preserve backward compatibility use:
157
158 script-security 3 system
159
160 * Added additional warning messages about --script-security 2
161 or higher being required to execute user-defined scripts or
162 executables.
163
164 * Windows build system changes:
165
166 Modified Windows domake-win build system to write all openvpn.nsi
167 input files to gen, so that gen can be disconnected from
168 the rest of the source tree and makensis openvpn.nsi will
169 still function correctly.
170
171 Added additional SAMPCONF_(CA|CRT|KEY) macros to settings.in
172 (commented out by default).
173
174 Added optional files SAMPCONF_CONF2 (second sample configuration
175 file) and SAMPCONF_DH (Diffie-Helman parameters) to Windows
176 build system, and may be defined in settings.in.
177
178 * Extended Management Interface "bytecount" command
179 to work when OpenVPN is running as a server.
180 Documented Management Interface "bytecount" command in
181 management/management-notes.txt.
182
183 * Fixed informational message in ssl.c to properly indicate
184 deferred authentication.
185
186 * Added server-side --auth-user-pass-optional directive, to allow
187 connections by clients that do not specify a username/password, when a
188 user-defined authentication script/module is in place (via
189 --auth-user-pass-verify, --management-client-auth, or a plugin module).
190
191 * Changes to easy-rsa/2.0/pkitool and related openssl.cnf:
192
193 Calling scripts can set the KEY_NAME environmental variable to set
194 the "name" X509 subject field in generated certificates.
195
196 Modified pkitool to allow flexibility in separating the Common Name
197 convention from the cert/key filename convention.
198
199 For example:
200
201 KEY_CN="James's Laptop" KEY_NAME="james" ./pkitool james
202
203 will create a client certificate/key pair of james.crt/james.key
204 having a Common Name of "James's Laptop" and a Name of "james".
205
206 * Added --no-name-remapping option to allow Common Name, X509 Subject,
207 and username strings to include any printable character including
208 space, but excluding control characters such as tab, newline, and
209 carriage-return (this is important for compatibility with external
210 authentication systems).
211
212 As a related change, added --status-version 3 format (and "status 3"
213 in the management interface) which uses the version 2 format except
214 that tabs are used as delimiters instead of commas so that there
215 is no ambiguity when parsing a Common Name that contains a comma.
216
217 Also, save X509 Subject fields to environment, using the naming
218 convention:
219
220 X509_{cert_depth}_{name}={value}
221
222 This is to avoid ambiguities when parsing out the X509 subject string
223 since "/" characters could potentially be used in the common name.
224
225 * Fixed some ifconfig-pool issues that precluded it from being combined
226 with --server directive.
227
228 Now, for example, we can configure thusly:
229
230 server 10.8.0.0 255.255.255.0 nopool
231 ifconfig-pool 10.8.0.2 10.8.0.99 255.255.255.0
232
233 to have ifconfig-pool manage only a subset
234 of the VPN subnet.
235
236 * Added config file option "setenv FORWARD_COMPATIBLE 1" to relax
237 config file syntax checking to allow directives for future OpenVPN
238 versions to be ignored.
239
240 2008.10.07 -- Version 2.1_rc13
241
242 * Bundled OpenSSL 0.9.8i with Windows installer.
243
244 * Management interface can now listen on a unix
245 domain socket, for example:
246
247 management /tmp/openvpn unix
248
249 Also added management-client-user and management-client-group
250 directives to control which processes are allowed to connect
251 to the socket.
252
253 * Copyright change to OpenVPN Technologies, Inc.
254
255 2008.09.23 -- Version 2.1_rc12
256
257 * Patched Makefile.am so that the new t_cltsrv-down.sh script becomes
258 part of the tarball (Matthias Andree).
259
260 * Fixed --lladdr bug introduced in 2.1-rc9 where input validation code
261 was incorrectly expecting the lladdr parameter to be an IP address
262 when it is actually a MAC address (HoverHell).
263
264 2008.09.14 -- Version 2.1_rc11
265
266 * Fixed a bug that can cause SSL/TLS negotiations in UDP mode
267 to fail if UDP packets are dropped.
268
269 2008.09.10 -- Version 2.1_rc10
270
271 * Added "--server-bridge" (without parameters) to enable
272 DHCP proxy mode: Configure server mode for ethernet
273 bridging using a DHCP-proxy, where clients talk to the
274 OpenVPN server-side DHCP server to receive their IP address
275 allocation and DNS server addresses.
276
277 * Added "--route-gateway dhcp", to enable the extraction
278 of the gateway address from a DHCP negotiation with the
279 OpenVPN server-side LAN.
280
281 * Fixed minor issue with --redirect-gateway bypass-dhcp or bypass-dns
282 on Windows. If the bypass IP address is 0.0.0.0 or 255.255.255.255,
283 ignore it.
284
285 * Warn when ethernet bridging that the IP address of the bridge adapter
286 is probably not the same address that the LAN adapter was set to
287 previously.
288
289 * When running as a server, warn if the LAN network address is
290 the all-popular 192.168.[0|1].x, since this condition commonly
291 leads to subnet conflicts down the road.
292
293 * Primarily on the client, check for subnet conflicts between
294 the local LAN and the VPN subnet.
295
296 * Added a 'netmask' parameter to get_default_gateway, to return
297 the netmask of the adapter containing the default gateway.
298 Only implemented on Windows so far. Other platforms will
299 return 255.255.255.0. Currently the netmask information is
300 only used to warn about subnet conflicts.
301
302 * Minor fix to cryptoapi.c to not compile itself unless USE_CRYPTO
303 and USE_SSL flags are enabled (Alon Bar-Lev).
304
305 * Updated openvpn/t_cltsrv.sh (used by "make check") to conform to new
306 --script-security rules. Also adds retrying if the addresses are in
307 use (Matthias Andree).
308
309 * Fixed build issue with ./configure --disable-socks --disable-http.
310
311 * Fixed separate compile errors in options.c and ntlm.c that occur
312 on strict C compilers (such as old versions of gcc) that require
313 that C variable declarations occur at the start of a {} block,
314 not in the middle.
315
316 * Workaround bug in OpenSSL 0.9.6b ASN1_STRING_to_UTF8, which
317 the new implementation of extract_x509_field_ssl depends on.
318
319 * LZO compression buffer overflow errors will now invalidate
320 the packet rather than trigger a fatal assertion.
321
322 * Fixed minor compile issue in ntlm.c (mid-block declaration).
323
324 * Added --allow-pull-fqdn option which allows client to pull DNS names
325 from server (rather than only IP address) for --ifconfig, --route, and
326 --route-gateway. OpenVPN versions 2.1_rc7 and earlier allowed DNS names
327 for these options to be pulled and translated to IP addresses by default.
328 Now --allow-pull-fqdn will be explicitly required on the client to enable
329 DNS-name-to-IP-address translation of pulled options.
330
331 * 2.1_rc8 and earlier did implicit shell expansion on script
332 arguments since all scripts were called by system().
333 The security hardening changes made to 2.1_rc9 no longer
334 use system(), but rather use the safer execve or CreateProcess
335 system calls. The security hardening also introduced a
336 backward incompatibility with 2.1_rc8 and earlier in that
337 script parameters were no longer shell-expanded, so
338 for example:
339
340 client-connect "docc CLIENT-CONNECT"
341
342 would fail to work because execve would try to execute
343 a script called "docc CLIENT-CONNECT" instead of "docc"
344 with "CLIENT-CONNECT" as the first argument.
345
346 This patch fixes the issue, bringing the script argument
347 semantics back to pre 2.1_rc9 behavior in order to preserve
348 backward compatibility while still using execve or CreateProcess
349 to execute the script/executable.
350
351 * Modified ip_or_dns_addr_safe, which validates pulled DNS names,
352 to more closely conform to RFC 3696:
353
354 (1) DNS name length must not exceed 255 characters
355
356 (2) DNS name characters must be limited to alphanumeric,
357 dash ('-'), and dot ('.')
358
359 * Fixed bug in intra-session TLS key rollover that was introduced with
360 deferred authentication features in 2.1_rc8.
361
362 2008.07.31 -- Version 2.1_rc9
363
364 * Security Fix -- affects non-Windows OpenVPN clients running
365 OpenVPN 2.1-beta14 through 2.1-rc8 (OpenVPN 2.0.x clients are NOT
366 vulnerable nor are any versions of the OpenVPN server vulnerable).
367 An OpenVPN client connecting to a malicious or compromised
368 server could potentially receive an "lladdr" or "iproute" configuration
369 directive from the server which could cause arbitrary code execution on
370 the client. A successful attack requires that (a) the client has agreed
371 to allow the server to push configuration directives to it by including
372 "pull" or the macro "client" in its configuration file, (b) the client
373 successfully authenticates the server, (c) the server is malicious or has
374 been compromised and is under the control of the attacker, and (d) the
375 client is running a non-Windows OS. Credit: David Wagner.
376 CVE-2008-3459
377
378 * Miscellaneous defensive programming changes to multiple
379 areas of the code. In particular, use of the system() call
380 for calling executables such as ifconfig, route, and
381 user-defined scripts has been completely revamped in favor
382 of execve() on unix and CreateProcess() on Windows.
383
384 * In Windows build, package a statically linked openssl.exe to work around
385 observed instabilities in the dynamic build since the migration to
386 OpenSSL 0.9.8h.
387
388 2008.06.11 -- Version 2.1_rc8
389
390 * Added client authentication and packet filtering capability
391 to management interface. In addition, allow OpenVPN plugins
392 to take advantage of deferred authentication and packet
393 filtering capability.
394
395 * Added support for client-side connection profiles.
396
397 * Fixed unbounded memory growth bug in environmental variable
398 code that could have caused long-running OpenVPN sessions
399 with many TLS renegotiations to incrementally
400 increase memory usage over time.
401
402 * Windows release now packages openssl-0.9.8h.
403
404 * Build system changes -- allow building on Windows using
405 autoconf/automake scripts (Alon Bar-Lev).
406
407 * Changes to Windows build system to make it easier to do
408 partial builds, with a reduced set of prerequisites,
409 where only a subset of OpenVPN installer
410 components are built. See ./domake-win comments.
411
412 * Cleanup IP address for persistence interfaces for tap and also
413 using ifconfig, gentoo#209055 (Alon Bar-Lev).
414
415 * Fall back to old version of extract_x509_field for OpenSSL 0.9.6.
416
417 * Clarified tcp-queue-limit man page entry (Matti Linnanvuori).
418
419 * Added new OpenVPN icon and installer graphic.
420
421 * Minor pkitool changes.
422
423 * Added --pkcs11-id-management option, which will cause OpenVPN to
424 query the management interface via the new NEED-STR asynchronous
425 notification query to get additional PKCS#11 options (Alon Bar-Lev).
426
427 * Added NEED-STR management interface asynchronous query and
428 "needstr" management interface command to respond to the query
429 (Alon Bar-Lev).
430
431 * Added Dragonfly BSD support (Francis-Gudin).
432
433 * Quote device names before passing to up/down script (Josh Cepek).
434
435 * Bracketed struct openvpn_pktinfo with #pragma pack(1) to
436 prevent structure padding from causing an incorrect length
437 to be returned by sizeof (struct openvpn_pktinfo) on 64-bit
438 platforms.
439
440 * On systems that support res_init, always call it
441 before calling gethostbyname to ensure that
442 resolver configuration state is current.
443
444 * Added NTLMv2 proxy support (Miroslav Zajic).
445
446 * Fixed an issue in extract_x509_field_ssl where the extraction
447 would fail on the first field of the subject name, such as
448 the common name in: /CN=foo/emailAddress=foo@bar.com
449
450 * Made "Linux ip addr del failed" error nonfatal.
451
452 * Amplified --client-cert-not-required warning.
453
454 * Added #pragma pack to proto.h.
455
456 2008.01.29 -- Version 2.1_rc7
457
458 * Added a few extra files that exist in the svn repo but were
459 not being copied into the tarball by make dist.
460
461 * Fixup null interface on close, don't use ip addr flush (Alon Bar-Lev).
462
463 2008.01.24 -- Version 2.1_rc6
464
465 * Fixed options checking bug introduced in rc5 where legitimate configuration
466 files might elicit the error: "Options error: Parameter pkcs11_private_mode
467 can only be specified in TLS-mode, i.e. where --tls-server or --tls-client
468 is also specified."
469
470 2008.01.23 -- Version 2.1_rc5
471
472 * Fixed Win2K TAP driver bug that was introduced by Vista fixes,
473 incremented driver version to 9.4.
474
475 * Windows build system changes:
476
477 Incremented included OpenSSL version to openssl-0.9.7m.
478
479 Updated openssl.patch for openssl-0.9.7m and added some
480 brief usage comments to the head of the patch.
481
482 Added build-pkcs11-helper.sh for building the pkcs11-helper
483 library.
484
485 Integrated inclusion of pkcs11-helper into Windows build
486 system.
487
488 Upgraded TAP build scripts to use WDK 6001.17121
489 (Windows 2008 Server pre-RTM).
490
491 * Windows installer changes:
492
493 Clean up the start menu folder.
494
495 Allow for a site-specific sample configuration file and keys
496 to be included in a custom installer (see SAMPCONF macros
497 in settings.in).
498
499 New icon (temporary).
500
501 * Added "forget-passwords" command to the management interface
502 (Alon Bar-Lev).
503
504 * Added --management-signal option to signal SIGUSR1 when the
505 management interface disconnects (Alon Bar-Lev).
506
507 * Modified command line and config file parser to allow
508 quoted strings using single quotes ('') (Alon Bar-Lev).
509
510 * Use pkcs11-helper as external library, can be downloaded from
511 https://www.opensc-project.org/pkcs11-helper (Alon Bar-Lev).
512
513 * Fixed interim memory growth issue in TCP connect loop where
514 "TCP: connect to %s failed, will try again in %d seconds: %s"
515 is output.
516
517 * Fixed bug in epoll driver in event.c, where the lack of a
518 handler for EPOLLHUP could cause 99% CPU usage.
519
520 * Defined ALLOW_NON_CBC_CIPHERS for people who don't
521 want to use a CBC cipher for OpenVPN's data channel.
522
523 * Added PLUGIN_LIBDIR preprocessor string to prepend a default
524 plugin directory to the dlopen search list when the user
525 specifies the basename of the plugin only (Marius Tomaschewski).
526
527 * Rewrote extract_x509_field and modified COMMON_NAME_CHAR_CLASS
528 to allow forward slash characters ("/") in the X509 common name
529 (Pavel Shramov).
530
531 * Allow OpenVPN to run completely unprivileged under Linux
532 by allowing openvpn --mktun to be used with --user and --group
533 to set the UID/GID of the tun device node. Also added --iproute
534 option to allow an alternative command to be executed in place
535 of the default iproute2 command (Alon Bar-Lev).
536
537 * Fixed --disable-iproute2 in ./configure to actually disable
538 iproute2 usage (Alon Bar-Lev).
539
540 * Added --management-forget-disconnect option -- forget
541 passwords when management session disconnects (Alon Bar-Lev).
542
543 2007.04.25 -- Version 2.1_rc4
544
545 * Worked out remaining issues with TAP driver signing
546 on Vista x64. OpenVPN will now run on Vista x64
547 with driver signing enforcement enabled.
548
549 * Fixed 64-bit portability bug in time_string function
550 (Thomas Habets).
551
552 2007.04.22 -- Version 2.1_rc3
553
554 * Additional fixes to TAP driver for Windows x64. Driver
555 now runs successfully on Vista x64 if driver signing
556 enforcement is disabled.
557
558 * The Windows Installer and TAP driver are now signed by
559 OpenVPN Solutions LLC (in addition to the usual GnuPG
560 signatures).
561
562 * Added OpenVPN GUI (Mathias Sundman version) as install
563 option in Windows installer.
564
565 * Clean up configure on FreeBSD for recent autotool versions
566 that require that all .h files have to be compiled.
567 Also, FreeBSD install does not support GNU long options
568 which the Makefile in easy-rsa/2.0 uses (not checked the
569 others as we don't install those on Gentoo) (Roy Marples).
570
571 * Added additional scripts to easy-rsa/Windows for working
572 with password-protected keys; also add -extensions server
573 option when generating server cert via
574 build-key-server-pass.bat (Daniel Zauft).
575
576 2007.02.27 -- Version 2.1_rc2
577
578 * auth-pam change: link with -lpam rather
579 than dlopen (Roy Marples).
580
581 * Prevent SIGUSR1 or SIGHUP from causing program
582 exit from initial management hold.
583
584 * SO_REUSEADDR should not be set on Windows TCP sockets
585 because it will cause bind to succeed on port conflicts.
586
587 * Added time_ascii, time_duration, and time_unix
588 environmental variables for plugins and callback
589 scripts.
590
591 * Fixed issue where OpenVPN does not apply the --txqueuelen option
592 to persistent interfaces made with --mktun (Roy Marples).
593
594 * Attempt at rational signal handling when in the
595 management hold state. During management hold, ignore
596 SIGUSR1/SIGHUP signals thrown with the "signal" command.
597 Also, "signal" command will now apply remapping as
598 specified with the --remap-usr1 option.
599 When a signal entered using the "signal" command from a management
600 hold is ignored, output: >HOLD:Waiting for hold release
601
602 * Fixed issue where struct env_set methods that
603 change the value of an existing name=value pair
604 would delay the freeing of the memory held by
605 the previous name=value pair until the underlying
606 client instance object is closed.
607 This could cause a server that handles long-term
608 client connections, resulting in many periodic calls
609 to verify_callback, to needlessly grow the env_set
610 memory allocation until the underlying client instance
611 object is closed.
612
613 * Renamed TAP-Win32 driver from tap0801.sys to tap0901.sys
614 to reflect the fact that Vista has blacklisted the tap0801.sys
615 file name due to previous compatibility issues which have now
616 been resolved. TAP-Win32 major/minor version number is now 9/1.
617
618 * Windows installer will delete a previously installed
619 tap0801.sys TAP driver before installing tap0901.sys.
620
621 * Added code to Windows installer to fail gracefully on 64 bit
622 installs until 64-bit TAP driver issues can be resolved.
623
624 * Added code to Windows installer to fail gracefully on
625 versions of Windows which are not explicitly supported.
626
627 * The Windows version will now use a default route-delay
628 of 5 seconds to deal with an apparent routing table race
629 condition on Vista.
630
631 * Worked around an incompatibility in the Windows Vista
632 version of CreateIpForwardEntry as described in
633 http://www.nynaeve.net/?p=59
634 This issue would cause route additions using the
635 IP Helper API to fail on Vista.
636
637 * On Windows, revert to "ip-win32 dynamic" as the default.
638
639 2006.10.31 -- Version 2.1_rc1
640
641 * Support recovery (return to hold) from signal at
642 management password prompt.
643
644 * Added workaround for OpenSC PKCS#11 bug#108
645 (Alon Bar-Lev).
646
647 2006.10.01 -- Version 2.1-beta16
648
649 * Windows installer updated with OpenSSL 0.9.7l DLLs to fix
650 published vulnerabilities.
651
652 * Fixed TAP-Win32 bug that caused BSOD on Windows Vista
653 (Henry Nestler).
654
655 * Autodetect 32/64 bit Windows in installer and install
656 appropriate TAP driver (Mathias Sundman, Hypherion).
657
658 * Fixed bug in loopback self-test introduced
659 in 2.1-beta15 where self test as invoked by
660 "make check" would not properly exit after
661 2 minutes (Paul Howarth).
662
663 2006.09.12 -- Version 2.1-beta15
664
665 * Windows installer updated with OpenSSL 0.9.7k DLLs to fix
666 RSA Signature Forgery (CVE-2006-4339).
667
668 * Fixed bug introduced with the --port-share directive
669 (back in 2.1-beta9 which causes TLS soft resets
670 (1 per hour by default) in TCP server mode to force
671 a blockage of tunnel packets and later time-out and
672 restart the connection.
673
674 * easy-rsa update (Alon Bar-Lev)
675 Makefile (install) is now available so that
676 distribs will be able to install it safely.
677
678 * PKCS#11 changes: (Alon Bar-Lev)
679 - Modified ssl.c to not FATAL and return to init.c
680 so auth-retry will work.
681 - Modifed pkcs11-helper.c to fix some problem with
682 multiple providers.
683 - Added retry counter to PKCS#11 PIN hook.
684 - Modified PKCS#11 PIN retry loop to return correct error
685 code when PIN is incorrect.
686 - Fix handling (ignoring) zero sized attributes.
687 - Fix gcc-2 issues.
688 - Fix openssl 0.9.6 (first version) issues.
689
690 * Minor fixes of lladdr (Alon Bar-Lev)
691 Updated makefile.w32-vc to include lladdr.*, updated
692 linkage libraries.
693 Modified lladdr.c to be compiled under visual C.
694
695 * Added two new management states:
696 OPENVPN_STATE_RESOLVE -- DNS lookup
697 OPENVPN_STATE_TCP_CONNECT -- Connecting to TCP server
698
699 * Echo management state change to log.
700
701 * Minor syshead.h change for NetBSD to allow
702 TCP_NODELAY flag to work.
703
704 * Modified --port-share code to remove the assumption that
705 CMSG_SPACE always evaluates to a constant, to enable
706 compilation on NetBSD and possibly other BSDs as well.
707
708 * Eliminated gcc 3.3.3 warnings on NetBSD
709 when ./configure --enable-strict is used.
710
711 * Added optional minimum-number-of-bytes parameter
712 to --inactive directive.
713
714 2006.04.13 -- Version 2.1-beta14
715
716 * Fixed Windows server bug in time backtrack handling code which
717 could cause TLS negotiation failures on legitimate clients.
718
719 * Rewrote gettimeofday function for Windows to be
720 simpler and more efficient.
721
722 * Merged PKCS#11 extensions to easy-rsa/2.0 (Alon Bar-Lev).
723
724 * Added --route-metric option to set a default route metric
725 for --route (Roy Marples).
726
727 * Added --lladdr option to specify the link layer (MAC) address
728 for the tap interface on non-Windows platforms (Roy Marples).
729
730 2006.04.12 -- Version 2.1-beta13
731
732 * Code added in 2.1-beta7 and 2.0.6-rc1 to extend byte counters
733 to 64 bits caused a bug in the Windows version which has now
734 been fixed. The bug could cause intermittent crashes.
735
736 2006.04.05 -- Version 2.1-beta12
737
738 * Security Vulnerability -- An OpenVPN client connecting to a
739 malicious or compromised server could potentially receive
740 "setenv" configuration directives from the server which could
741 cause arbitrary code execution on the client via a LD_PRELOAD
742 attack. A successful attack appears to require that (a) the
743 client has agreed to allow the server to push configuration
744 directives to it by including "pull" or the macro "client" in
745 its configuration file, (b) the client configuration file uses
746 a scripting directive such as "up" or "down", (c) the client
747 succesfully authenticates the server, (d) the server is
748 malicious or has been compromised and is under the control of
749 the attacker, and (e) the attacker has at least some level of
750 pre-existing control over files on the client (this might be
751 accomplished by having the server respond to a client web request
752 with a specially crafted file). Credit: Hendrik Weimer.
753 CVE-2006-1629.
754
755 The fix is to disallow "setenv" to be pushed to clients from
756 the server, and to add a new directive "setenv-safe" which is
757 pushable from the server, but which appends "OPENVPN_" to the
758 name of each remotely set environmental variable.
759
760 * "topology subnet" fix for FreeBSD (Benoit Bourdin).
761
762 * PKCS11 fixes (Alon Bar-Lev). For full description:
763 svn log -r990 http://svn.openvpn.net/projects/openvpn/branches/BETA21
764
765 * When deleting routes under Linux, use the route metric
766 as a differentiator to ensure that the route teardown
767 process only deletes the identical route which was originally
768 added via the "route" directive (Roy Marples).
769
770 * Fix the t_cltsrv.sh file in FreeBSD 4 jails
771 (Matthias Andree, Dirk Meyer, Vasil Dimov).
772
773 * Extended tun device configure code to support ethernet
774 bridging on NetBSD (Emmanuel Kasper).
775
776 2006.02.19 -- Version 2.1-beta11
777
778 * Fixed --port-share bug that caused premature closing
779 of proxied sessions.
780
781 2006.02.17 -- Version 2.1-beta10
782
783 * Fixed --port-share breakage introduced in 2.1-beta9.
784
785 2006.02.16 -- Version 2.1-beta9
786
787 * Added --port-share option for allowing OpenVPN and HTTPS
788 server to share the same port number.
789 * Added --management-client option to connect as a client
790 to management GUI app rather than be connected to as a
791 server.
792 * Added "bytecount" command to management interface.
793 * --remote-cert-tls fixes (Alon Bar-Lev).
794
795 2006.01.03 -- Version 2.1-beta8
796
797 * --remap-usr1 will now also remap signals thrown during
798 initialization.
799 * Added --connect-timeout option to control the timeout
800 on TCP client connection attempts (doesn't work on all
801 OSes). This patch also makes OpenVPN signalable during
802 TCP connection attempts.
803 * Fixed bug in acinclude.m4 where capability of compiler
804 to handle zero-length arrays in structs is tested
805 (David Stipp).
806 * Fixed typo in manage.c where inline function declaration
807 was declared without the "static" keyword (David Stipp).
808 * Patch to support --topology subnet on Mac OS X (Mathias Sundman).
809 * Added --auto-proxy directive to auto-detect HTTP or SOCKS
810 proxy settings (currently Windows only).
811 * Removed redundant base64 code.
812 * Better sanity checking of --server and --server-bridge
813 IP pool ranges, so as not to hit the assertion at
814 pool.c:119 (2.0.5).
815 * Fixed bug where --daemon and --management-query-passwords
816 used together would cause OpenVPN to block prior to
817 daemonization.
818 * Fixed client/server race condition which could occur
819 when --auth-retry interact is set and the initially
820 provided auth-user-pass credentials are incorrect,
821 forcing a username/password re-query.
822 * Fixed bug where if --daemon and --management-hold are
823 used together, --user or --group options would be ignored.
824 * --ip-win32 adaptive is now the default.
825 * --ip-win32 netsh (or --ip-win32 adaptive when in netsh
826 mode) can now set DNS/WINS addresses on the TAP-Win32
827 adapter.
828 * Added new option --route-method adaptive (Win32)
829 which tries IP helper API first, then falls back to
830 route.exe.
831 * Made --route-method adaptive the default.
832
833 2005.11.12 -- Version 2.1-beta7
834
835 * Allow blank passwords to be passed via the management
836 interface.
837 * Fixed bug where "make check" inside a FreeBSD "jail"
838 would never complete (Matthias Andree).
839 * Fixed bug where --server directive in --dev tap mode
840 claimed that it would support subnets of /30 or less
841 but actually would only accept /29 or less.
842 * Extend byte counters to 64 bits (M. van Cuijk).
843 * Fixed bug in Linux get_default_gateway function
844 introduced in 2.0.4, which would cause redirect-gateway
845 on Linux clients to fail.
846 * Moved easy-rsa 2.0 scripts to easy-rsa/2.0 to
847 be compatible with 2.0.x distribution.
848 * Documented --route-nopull.
849 * Documented --ip-win32 adaptive.
850 * Windows build now linked with LZO2.
851 * Allow ca, cert, key, and dh files to be specified
852 inline via XML-like syntax without needing to
853 reference an explicit file.
854 For example:
855 <ca>
856 data here...
857 </ca>
858 * Allow plugin and push directives to have multi-line
859 parameter lists such as:
860 <plugin>
861 my-plugin.so
862 parm1
863 parm2
864 </plugin>
865 * Added connect-retry-max option (Alon Bar-Lev).
866 * Fixed problems where signals thrown during initialization
867 were not returning to a management-hold state.
868 * Added a backtrack-hardened system time algorithm.
869 * Added --remote-cert-ku, --remote-cert-eku, and
870 --remote-cert-tls options for verifying certificate
871 attributes (Alon Bar-Lev).
872 * For Windows, reverted --ip-win32 default back to "dynamic".
873 To use new adaptive mode, set explicitly.
874
875 2005.11.01 -- Version 2.1-beta6
876
877 * Security fix (merged from 2.0.4) -- Affects non-Windows
878 OpenVPN clients of version 2.0 or higher which connect to
879 a malicious or compromised server. A format string
880 vulnerability in the foreign_option function in options.c
881 could potentially allow a malicious or compromised server
882 to execute arbitrary code on the client. Only
883 non-Windows clients are affected. The vulnerability
884 only exists if (a) the client's TLS negotiation with
885 the server succeeds, (b) the server is malicious or
886 has been compromised such that it is configured to
887 push a maliciously crafted options string to the client,
888 and (c) the client indicates its willingness to accept
889 pushed options from the server by having "pull" or
890 "client" in its configuration file (Credit: Vade79).
891 CVE-2005-3393
892 * Security fix -- (merged from 2.0.4) Potential DoS
893 vulnerability on the server in TCP mode. If the TCP
894 server accept() call returns an error status, the resulting
895 exception handler may attempt to indirect through a NULL
896 pointer, causing a segfault. Affects all OpenVPN 2.0 versions.
897 CVE-2005-3409
898 * Fix attempt of assertion at multi.c:1586 (note that
899 this precise line number will vary across different
900 versions of OpenVPN).
901 * Windows reliability changes:
902 (a) Added code to make sure that the local PATH environmental
903 variable points to the Windows system32 directory.
904 (b) Added new --ip-win32 adaptive mode which tries 'dynamic'
905 and then fails over to 'netsh' if the DHCP negotiation fails.
906 (c) Made --ip-win32 adaptive the default.
907 * More PKCS#11 additions/changes (Alon Bar-Lev).
908 * Added ".PHONY: plugin" to Makefile.am to work around
909 "make dist" issue.
910 * Fixed double fork issue that occurs when --management-hold
911 is used.
912 * Moved TUN/TAP read/write log messages from --verb 8 to 6.
913 * Warn when multiple clients having the same common name or
914 username usurp each other when --duplicate-cn is not used.
915 * Modified Windows and Linux versions of get_default_gateway
916 to return the route with the smallest metric
917 if multiple 0.0.0.0/0.0.0.0 entries are present.
918 * Added ">NEED-OK" alert and "needok" command to management
919 interface to provide a general interface for sending
920 alerts to the end-user. Used by the PKCS#11 code
921 to send Token Insertion Requests to the user.
922 * Added actual remote address used to the ">STATE" alert
923 in the management interface (Rolf Fokkens).
924
925 2005.10.17 -- Version 2.1-beta4
926
927 * Fixed bug introduced in 2.1-beta3 where management
928 socket bind would fail.
929 * --capath fix in ssl.c (Zhuang Yuyao).
930 * Added ".PHONY: plugin" to Makefile.am, reverted
931 location of "plugin" directory (thanks to
932 Matthias Andree for figuring this out).
933
934 2005.10.16 -- Version 2.1-beta3
935
936 * Added PKCS#11 support (Alon Bar-Lev).
937 * Enable the use of --ca together with --pkcs12. If --ca is
938 used at the same time as --pkcs12, the CA certificate is loaded
939 from the file specified by --ca regardless if the pkcs12 file
940 contains a CA cert or not (Mathias Sundman).
941 * Merged --capath patch (Thomas Noel).
942 * Merged --multihome patch.
943 * Added --bind option for TCP client connections (Ewan Bhamrah
944 Harley).
945 * Moved "plugin" directory to "plugins" to deal with strange
946 automake problem that ended up being also fixable with
947 ".PHONY: plugin" in Makefile.am.
948
949 2005.10.13 -- Version 2.1-beta2
950
951 * Made --sndbuf and --rcvbuf pushable.
952
953 2005.10.01 -- Version 2.1-beta1
954
955 * Made LZO setting pushable.
956 * Renamed sample-keys/tmp-ca.crt to ca.crt.
957 * Fixed bug where remove_iroutes_from_push_route_list
958 was missing routes if those routes had
959 an implied netmask (by omission) of 255.255.255.255.
960 * Merged with 2.0.3-rc1
961 * easy-rsa/2.0 moved to easy-rsa
962 * old easy-rsa moved to easy-rsa/1.0
963
964 2005.09.23 -- Version 2.0.2-TO4
965
966 * Added feature to TAP-Win32 adapter to allow it to be
967 opened from non-administrator mode. This feature
968 is enabled by default, and can be enabled/disabled
969 in the adapter advanced properties dialog.
970 * Added --allow-nonadmin standalone option for Windows to
971 set TAP adapter to allow non-admin access. This
972 is a user-mode version of the code, and duplicates
973 the same feature as the above entry.
974 * Added fix that attempts to solve corner case of tunnel not
975 forwarding packets when system clock is reset to an earlier time.
976 * Added --redirect-gateway bypass-dns option. (Developers:
977 To add bypass-dhcp or bypass-dns support to other OSes,
978 add a get_bypass_addresses function to route.c for
979 your OS.)
980 * Added OPENVPN_PLUGIN_CLIENT_CONNECT_V2 plugin callback, which
981 allows a client-connect plugin to return configuration text
982 in memory, rather than via a file.
983 * Fixed a bug where --mode server --proto tcp-server --cipher none
984 operation could cause tunnel packet truncation.
985 * openvpn --version will show [LZO1] or [LZO2], depending on
986 version that was linked.
987
988 2005.09.07 -- Version 2.0.2-TO1
989
990 * Added --topology directive. See man page.
991 * Added --redirect-gateway bypass-dhcp option to add a route
992 allowing DHCP packets to bypass the tunnel, when the
993 DHCP server is non-local. Currently only implemented
994 on Windows clients.
995 * Modified OpenVPN Service on Windows to declare the DHCP
996 client service as a dependency.
997 * Extended the plugin interface to allow plugins to declare
998 per-client constructor and destructor functions, to make
999 it simpler for plugins to maintain per-client state.
1000
1001 2005.09.25 -- Version 2.0.3-rc1
1002
1003 * openvpn_plugin_abort_v1 function wasn't being properly
1004 registered on Windows.
1005 * Fixed a bug where --mode server --proto tcp-server --cipher none
1006 operation could cause tunnel packet truncation.
1007
1008 2005.08.25 -- Version 2.0.2
1009
1010 * No change from 2.0.2-rc1.
1011
1012 2005.08.24 -- Version 2.0.2-rc1
1013
1014 * Fixed regression bug in Win32 installer, introduced in 2.0.1,
1015 which incorrectly set OpenVPN service to autostart.
1016 * Don't package source code zip file in Windows installer
1017 in order to reduce the size of the installer. The source
1018 zip file can always be downloaded separately if needed.
1019 * Fixed bug in route.c in FreeBSD, Darwin, OpenBSD and NetBSD
1020 version of get_default_gateway. Allocated socket for route
1021 manipulation is never freed so number of mbufs continuously
1022 grow and exhaust system resources after a while (Jaroslav Klaus).
1023 * Fixed bug where "--proto tcp-server --mode p2p --management
1024 host port" would cause the management port to not respond until
1025 the OpenVPN peer connects.
1026 * Modified pkitool script to be /bin/sh compatible (Johnny Lam).
1027
1028 2005.08.16 -- Version 2.0.1
1029
1030 * Security Fix -- DoS attack against server when run with "verb 0" and
1031 without "tls-auth". If a client connection to the server fails
1032 certificate verification, the OpenSSL error queue is not properly
1033 flushed, which can result in another unrelated client instance on the
1034 server seeing the error and responding to it, resulting in disconnection
1035 of the unrelated client (CAN-2005-2531).
1036 * Security Fix -- DoS attack against server by authenticated client.
1037 This bug presents a potential DoS attack vector against the server
1038 which can only be initiated by a connected and authenticated client.
1039 If the client sends a packet which fails to decrypt on the server,
1040 the OpenSSL error queue is not properly flushed, which can result in
1041 another unrelated client instance on the server seeing the error and
1042 responding to it, resulting in disconnection of the unrelated client
1043 (CAN-2005-2532). Credit: Mike Ireton.
1044 * Security Fix -- DoS attack against server by authenticated client.
1045 A malicious client in "dev tap" ethernet bridging mode could
1046 theoretically flood the server with packets appearing to come from
1047 hundreds of thousands of different MAC addresses, causing the OpenVPN
1048 process to deplete system virtual memory as it expands its internal
1049 routing table. A --max-routes-per-client directive has been added
1050 (default=256) to limit the maximum number of routes in OpenVPN's
1051 internal routing table which can be associated with a given client
1052 (CAN-2005-2533).
1053 * Security Fix -- DoS attack against server by authenticated client.
1054 If two or more client machines try to connect to the server at the
1055 same time via TCP, using the same client certificate, and when
1056 --duplicate-cn is not enabled on the server, a race condition can
1057 crash the server with "Assertion failed at mtcp.c:411"
1058 (CAN-2005-2534).
1059 * Fixed server bug where under certain circumstances, the client instance
1060 object deletion function would try to delete iroutes which had never been
1061 added in the first place, triggering "Assertion failed at mroute.c:349".
1062 * Added --auth-retry option to prevent auth errors from being fatal
1063 on the client side, and to permit username/password requeries in case
1064 of error. Also controllable via new "auth-retry" management interface
1065 command. See man page for more info.
1066 * Added easy-rsa 2.0 scripts to the tarball in easy-rsa/2.0
1067 * Fixed bug in openvpn.spec where rpmbuild --define 'without_pam 1'
1068 would fail to build.
1069 * Implement "make check" to perform loopback tests (Matthias Andree).
1070
1071 2005.07.21 -- Version 2.0.1-rc7
1072
1073 * Support LZO 2.01 which renamed its library to lzo2 (Matthias Andree).
1074 * Include linux/types.h before checking for linux/errqueue.h (Matthias
1075 Andree).
1076
1077 2005.07.15 -- Version 2.0.1-rc6
1078
1079 * Commented out "user nobody" and "group nobody" in sample
1080 client/server config files.
1081 * Allow '@' character to be used in --client-config-dir
1082 file names.
1083
1084 2005.07.04 -- Version 2.0.1-rc5
1085
1086 * Windows version will log a for-further-info URL when
1087 initialization sequence is completed with errors.
1088 * Added DLOPEN_PAM parameter to plugin/auth-pam/Makefile
1089 to control whether auth-pam plugin links to PAM via
1090 dlopen or -lpam. By default, DLOPEN_PAM=1 so pre-existing
1091 behavior should be preserved. DLOPEN_PAM=0 is the preferred
1092 setting to link via -lpam, but DLOPEN_PAM=1 works around
1093 a bug in SuSE 9.1 (and possibly other distros as well)
1094 where the PAM modules are not linked with -lpam. See
1095 thread on openvpn-devel for more discussion about this
1096 patch (Simon Perreault).
1097
1098 2005.06.15 -- Version 2.0.1-rc4
1099
1100 * Support LZO 2.00, including changes to configure script to
1101 autodetect LZO version.
1102
1103 2005.06.12 -- Version 2.0.1-rc3
1104
1105 * Fixed a bug which caused standard file handles to not be closed
1106 after daemonization when --plugin and --daemon are used together,
1107 and if the plugin initialization function forks (as does auth-pam
1108 and down-root) (Simon Perreault).
1109 * Added client-side up/down scripts in contrib/pull-resolv-conf
1110 for accepting server-pushed "dhcp-option DOMAIN" and "dhcp-option DNS"
1111 on Linux/Unix systems (Jesse Adelman).
1112 * Fixed bug where if client-connect scripts/plugins were cascaded,
1113 and one (but not all) of them returned an error status, there might
1114 be cases where for an individual script/plugin, client-connect was
1115 called but not client-disconnect. The goal of this fix is to
1116 ensure that if client-connect is called on a given client instance,
1117 then client-disconnect will definitely be called. A potential
1118 complication of this fix is that when client-connect functions are
1119 cascaded, it's possible that the client-disconnect function would
1120 be called in cases where the related client-connect function returned
1121 an error status. This fix should not alter OpenVPN behavior when
1122 scripts/plugins are not cascaded.
1123 * Changed the hard-to-reproduce "Assertion failed at fragment.c:312"
1124 fatal error to a warning: "FRAG: outgoing buffer is not empty".
1125 Need more info on how to reproduce this one.
1126 * When --duplicate-cn is used, the --ifconfig-pool allocation
1127 algorithm will now allocate the first available IP address.
1128 * When --daemon and --management-hold are used together,
1129 OpenVPN will daemonize before it enters the management hold state.
1130
1131 2005.05.16 -- Version 2.0.1-rc2
1132
1133 * Modified vendor test in openvpn.spec file to match against
1134 "Mandrakesoft" in addition to "MandrakeSoft".
1135 * Using --iroute in a --client-config-dir file while in --dev tap
1136 mode is not currently supported and will produce a warning
1137 message. Fixed bug where in certain cases, in addition to
1138 generating a warning message, this combination of options
1139 would also produce a fatal assertion in mroute.c.
1140 * Pass --auth-user-pass username to server-side plugin without
1141 performing any string remapping (plugins, unlike scripts,
1142 don't get any security benefit from string remapping).
1143 This is intended to fix an issue with openvpn-auth-pam/pam_winbind
1144 where backslash characters in a username ('\') were being remapped
1145 to underscore ('_').
1146 * Updated OpenSSL DLLs in Windows build to 0.9.7g.
1147 * Documented --explicit-exit-notify in man page.
1148 * --explicit-exit-notify seconds parameter defaults to 1 if
1149 unspecified.
1150
1151 2005.04.30 -- Version 2.0.1-rc1
1152
1153 * Fixed bug where certain kinds of fatal errors after
1154 initialization (such as port in use) would leave plugin
1155 processes (such as openvpn-auth-pam) still running.
1156 * Added optional openvpn_plugin_abort_v1 plugin function for
1157 closing initialized plugin objects in the event of a fatal
1158 error by main OpenVPN process.
1159 * When the --remote list is > 1, and --resolv-retry is not
1160 specified (meaning that it defaults to "infinite"), apply the
1161 infinite timeout to the --remote list as a whole, but try each
1162 list item only once before moving on to the next item.
1163 * Added new --syslog directive which redirects output
1164 to syslog without requiring the use of the --daemon or --inetd
1165 directives.
1166 * Added openvpn.spec option to allow RPM to be built with support
1167 for passwords read from a file:
1168 rpmbuild -tb [openvpn.x.tar.gz] --define 'with_password_save 1'
1169
1170 2005.04.17 -- Version 2.0
1171
1172 * Fixed minor options string typo in options.c.
1173
1174 2005.04.10 -- Version 2.0-rc21
1175
1176 * Change license description from "GPL Version 2 or (at your
1177 option) any later version" to just "GPL Version 2".
1178
1179 2005.04.04 -- Version 2.0-rc20
1180
1181 * Dag Wieers has put together an OpenVPN/LZO binary RPM set with
1182 excellent distro/version coverage for RH/EL/Fedora, though
1183 using his own SPEC. I modified openvpn.spec to follow some of
1184 the same conventions such as putting sample scripts and doc
1185 files in %doc rather than /usr/share/openvpn.
1186 * Minor change to init scripts to run the user-defined script
1187 /etc/openvpn/openvpn-startup (if it exists) before any OpenVPN
1188 configs are started, and to run /etc/openvpn/openvpn-shutdown
1189 after all OpenVPN configs have been stopped. The
1190 openvpn-startup script can be used for stuff like
1191 insmod tun.o, setting up firewall rules, or starting
1192 ethernet bridges.
1193
1194 2005.03.29 -- Version 2.0-rc19
1195
1196 * Omit additions of routes where the network and
1197 gateway are equal and the netmask is 255.255.255.255.
1198 This can come up if you are using both
1199 server/ifconfig-pool and client-config-dir with
1200 ifconfig-push static addresses for some subset of clients
1201 which directly reference the server IP address as the
1202 remote endpoint.
1203
1204 2005.03.28 -- Version 2.0-rc18
1205
1206 * Packaged Windows installer with OpenSSL 0.9.7f.
1207 * Built Windows installer with NSIS 2.06.
1208
1209 2005.03.12 -- Version 2.0-rc17
1210
1211 * "MANAGEMENT: CMD" log file output will now only occur
1212 at --verb 7 or greater.
1213 * Added an optional name/value configuration list to
1214 the openvpn-auth-pam plugin module argument list. See
1215 plugin/auth-pam/README for documentation. This is necessary
1216 in order for openvpn-auth-pam to work with queries generated
1217 by arbitrary PAM modules.
1218 * In both auth-pam and down-root plugins, in the forked process,
1219 a read error on the parent process socket is no longer fatal.
1220 * MandrakeSoft liblzo1 RPM only Provides for a 'liblzo1'.
1221 A conditional test of the vendor has been added to
1222 Require the appropriately named 'lzo' (liblzo1 / lzo).
1223 (Tom Walsh - http://openhardware.net)
1224
1225
1226 2005.02.20 -- Version 2.0-rc16
1227
1228 * Fixed bug introduced in rc13 where Windows service wrapper
1229 would be installed with a startup type of Automatic.
1230 This fix restores the previous behavior of installing
1231 with a startup type of Manual.
1232
1233 2005.02.19 -- Version 2.0-rc15
1234
1235 * Added warning when --keepalive is not used in a server
1236 configuration.
1237 * Don't include OpenSSL md4.h file if we are not building
1238 NTLM proxy support (Waldemar Brodkorb).
1239 * Added easy-rsa/build-key-pkcs12 and
1240 easy-rsa/Windows/build-key-pkcs12.bat scripts
1241 (Mathias Sundman).
1242
1243 2005.02.16 -- Version 2.0-rc14
1244
1245 * Fixed small memory leak that occurs when --crl-verify
1246 is used.
1247 * Upgraded Windows installer and .nsi script to NSIS 2.05
1248 (Mathias Sundman).
1249 * Changed #include backslash usage in cryptoapi.c to use
1250 forward slashes instead (Gisle Vanem).
1251 * Created easy-rsa/revoke-full to handle revocations in
1252 a single step: (a) revoke crt, (b) regenerate CRL, and
1253 (c) verify that revocation succeeded.
1254 * Renamed easy-rsa/Windows/revoke-key to revoke-full so
1255 that both *nix and Windows scripts are equivalent.
1256
1257 2005.02.11 -- Version 2.0-rc13
1258
1259 * Improve human-readability of local/remote options
1260 diff, when inconsistencies are present.
1261 * For Windows easy-rsa, distribute vars.bat.sample and
1262 openssl.cnf.sample, then copy them to their normal
1263 filenames (without the .sample) when init-config.bat
1264 is run. This is to prevent OpenVPN upgrades from
1265 wiping out vars.bat and openssl.cnf edits.
1266 * Modified service wrapper (Windows) to use a
1267 case-insensitive search when scanning for .ovpn files
1268 in \Program Files\OpenVPN\config. Prior versions
1269 required an all-lower-case .ovpn file extension.
1270 * Miscellaneous service wrapper code cleanup.
1271 * If --user/--group is used on Windows, treat it
1272 as a no-op with a warning (this makes it easier to
1273 distribute the same client config file to Windows
1274 and *nix users).
1275 * Warn if --ifconfig-pool-persist is used with
1276 --duplicate-cn.
1277
1278 2005.02.05 -- Version 2.0-rc12
1279
1280 * Removed some debugging code inadvertently included
1281 in rc11 which would print the --auth-user-pass
1282 username/password provided by clients in the server
1283 logfile.
1284 * Client code for cycling through --remote list will
1285 retry the last address which successfully authenticated
1286 before moving on through the list.
1287 * Windows installer will now install sample configuration
1288 files in \Program Files\OpenVPN\sample-configs as well
1289 as generate a start menu shortcut to this directory.
1290 * Minor type change in buffer.[ch] to work around char-type
1291 ambiguity bug. Caused management interface lock-ups on
1292 ARM when building with armv4b-hardhat-linux-gcc 2.95.3.
1293
1294 2005.02.03 -- Version 2.0-rc11
1295
1296 * Windows installer will now install easy-rsa directory
1297 in \Program Files\OpenVPN
1298 * Allow syslog facility to be controlled at compile time,
1299 e.g. -DLOG_OPENVPN=LOG_LOCAL6 (P Kern).
1300 * Changed certain shell scripts in distribution to use
1301 #!/bin/sh rather than #!/bin/bash for better portability.
1302 * If --ifconfig-pool-persist seconds parameter is 0, treat
1303 persist file as an allocation of fixed IP addresses
1304 (previous versions took IP-to-common-name associations
1305 from this list as hints, not mandatory static allocations).
1306 * Fixed bug on *nix where if --auth-user-pass and --log
1307 were used together, the username prompt would be sent to
1308 the log file rather than /dev/tty.
1309 * Spurious text in openvpn.8 detected by doclifter
1310 (Eric S. Raymond).
1311 * Call closelog later on daemon kill so that process
1312 exit message is written to syslog.
1313
1314 2005.01.27 -- Version 2.0-rc10
1315
1316 * When ./configure is run with plugins enabled (the default),
1317 check whether or not dlopen exists in libc before testing
1318 for libdl. This is to fix an issue on FreeBSD and possibly
1319 other OSes which bundle libdl functions in libc.
1320 * On Windows, filter initial WSAEINVAL warning which occurs
1321 on the initial read attempt of an unbound socket.
1322 * The easy-rsa scripts build-key, build-key-pass, and
1323 build-key-server will now chmod the .key file
1324 to 0600. This is in addition to the fact the generated
1325 keys directory has always been similarly protected
1326 (Pete Harlan).
1327
1328 2005.01.23 -- Version 2.0-rc9
1329
1330 * Fixed error "ROUTE: route addition failed using
1331 CreateIpForwardEntry ..." on Windows when --redirect-gateway
1332 is used over a RRAS internet link.
1333 * When using --route-method exe on Windows, include the
1334 gateway parameter on route delete commands (Mathias Sundman).
1335 * Try not to do a hard reset (i.e. SIGHUP) when two
1336 SIGUSR1 signals are received in close succession.
1337 * If the push list tries to grow beyond its buffer capacity,
1338 the resulting error will be non-fatal.
1339 * To increase the push list capacity (must be done on both
1340 client and server), increase TLS_CHANNEL_BUF_SIZE in
1341 common.h (default=1024).
1342
1343 2005.01.15 -- Version 2.0-rc8
1344
1345 * Fixed bug introduced in rc7 where options error
1346 "--auth-user-pass requires --pull" might occur even
1347 if --pull was correctly specified.
1348 * Changed management interface code to bind once
1349 to TCP socket, rather than rebinding after every
1350 client disconnect.
1351 * Added "disable" directive for client-config-dir
1352 files.
1353 * Windows binary install is now distributed with
1354 OpenSSL 0.9.7e.
1355 * Query the management interface for --http-proxy
1356 username/password if authfile is set to "stdin".
1357 * Added current OpenVPN version number to "Unrecognized
1358 option or missing parameter" error message.
1359 * Added "-extensions server" to "openssl req" command
1360 in easy-rsa/build-key-server (Nir Yeffet).
1361
1362 2005.01.10 -- Version 2.0-rc7
1363
1364 * Fixed bug in management interface which could cause
1365 100% CPU utilization in --proto tcp-server mode
1366 on all *nix OSes except for Linux 2.6.
1367 * --ifconfig-push now accepts DNS names as well as
1368 IP addresses.
1369 * Added sanity check errors when --pull or
1370 --auth-user-pass is used in an incorrect mode.
1371 * Updated man page entries for --client-connect and
1372 --ifconfig-push.
1373 * Added "String Types and Remapping" section to man
1374 page to consisely document the way which OpenVPN
1375 may convert certain types of characters in strings
1376 to ('_').
1377 * Modified bridging description in HOWTO to emphasize
1378 the fact that bridging allows Windows file and print
1379 sharing without a WINS server (Charles Duffy).
1380
1381 2004.12.20 -- Version 2.0-rc6
1382
1383 * Improved checking for epoll support in ./configure
1384 to fix false positive on RH9 (Jan Just Keijser).
1385 * Made the "MULTI TCP: I/O wait required blocking in
1386 multi_tcp_action, action=7" error nonfatal and replaced
1387 with "MULTI: Outgoing TUN queue full, dropped packet".
1388 So far the issue only seems to occur on Linux 2.2
1389 in --mode server --proto tcp mode. It occurs when
1390 the TUN/TAP driver locks up and refuses to accept
1391 new packet writes for a second or more.
1392 * Fixed bug where if a --client-config-dir file tried
1393 to include another file using "config", and if that
1394 include failed, OpenVPN would abort with a fatal
1395 error. Now such inclusion failures will be logged
1396 but are no longer fatal.
1397 * Global changes to the way that packet buffer alignment
1398 is handled. Previously we didn't care about alignment
1399 and took care, when handling 16 and 32 bit words
1400 in buffers, to always use alignment-safe transfers.
1401 This approach appears to be inadequate on some
1402 architectures such as alpha. The new approach is
1403 to initialize packet buffers in a way that anticipates
1404 how component structures will be allocated within
1405 them, to maintain correct alignment.
1406 * Added --dhcp-option DISABLE-NBT to disable NetBIOS
1407 over TCP (Jan Just Keijser).
1408 * Added --http-proxy-option directive for controlling
1409 miscellaneous HTTP proxy options.
1410 * Management state will no longer transition to "WAIT"
1411 during TLS renegotiations.
1412
1413 2004.12.16 -- Version 2.0-rc5
1414
1415 * The --client-config-dir option will now try to open
1416 a default file called "DEFAULT" if no file matching
1417 the common name of the incoming client was found.
1418 * The --client-connect script/plugin can now veto client
1419 authentication by returning a failure code.
1420 * The --learn-address script/plugin can now prevent a
1421 client-instance/address association from being learned
1422 by returning a failure code.
1423 * Changed RPM group in .spec file to Applications/Internet.
1424
1425 2004.12.14 -- Version 2.0-rc4
1426
1427 * SuSE only -- Fixed interaction between openvpn.spec and
1428 suse/openvpn.init where the .spec file was writing the
1429 OpenVPN binary to a different location than where the
1430 .init script was referencing it (Stefan Engel).
1431 * Solaris only -- Split Solaris ifconfig command into two
1432 parts (Jan Just Keijser).
1433 * Some cleanup in add_option().
1434 * Better error checking on input dotted quad IP addresses.
1435 * Verify that --push argument is quoted, if there is
1436 more than one.
1437 * More miscellaneous option sanity checks.
1438
1439 2004.12.13 -- Version 2.0-rc3
1440
1441 * On Windows, when --log or --log-append is used,
1442 save the original stderr for username and password
1443 prompts.
1444 * Fixed a bug introduced in the late 2.0 betas where
1445 if a "verb" parameter >= 16 was used, it would be
1446 ignored and the actual verb level would remain at 1.
1447 * Fixed a bug mostly seen on OS X where --management-hold
1448 or --management-query-passwords would cause the management
1449 interface to be unresponsive to incoming client connections.
1450 * Trigger an options error if one of the management-modifying
1451 options is used without "management" itself.
1452
1453 2004.12.12 -- Version 2.0-rc2
1454
1455 * Amplified warnings in documentation about possible
1456 man-in-the-middle attack when clients do not properly
1457 verify server certificate. Changes to easy-rsa README,
1458 FAQ, HOWTO, man page, and sample client config file.
1459 * Added a warning message if --tls-client or --client
1460 is used without also specifying one of either
1461 --ns-cert-type, --tls-remote, or --tls-verify.
1462 * status_open() fixes for MSVC builds (Blaine Fleming).
1463 * Fix attempt of "ntlm.c:55: error: `des_cblock' undeclared"
1464 compiler error which has been reported on some platforms.
1465 * The openvpn.spec file for rpmbuild has several
1466 new build-time options. See comments in the file.
1467 * Plugins are now built and packaged in the RPM and
1468 will be saved in /usr/share/openvpn/plugin/lib.
1469 * Added --management-hold directive to start OpenVPN
1470 in a hibernating state until released by the
1471 management interface. Also added "hold" command
1472 to the management interface.
1473
1474 2004.12.07 -- Version 2.0-rc1
1475
1476 * openvpn.spec workaround for SuSE confusion regarding
1477 /etc/init.d vs. /etc/rc.d/init.d (Stefan Engel).
1478
1479 2004.12.05 -- Version 2.0-beta20
1480
1481 * The ability to read --askpass and --auth-user-pass
1482 passwords from a file has been disabled by default.
1483 To re-enable, use ./configure --enable-password-save.
1484 * Added additional pre-connected states to management
1485 interface. See management/management-notes.txt
1486 for more info.
1487 * State history is now recorded by the management
1488 interface, and the "state" command now works like
1489 the log or echo commands.
1490 * State history and real-time state change notifications
1491 are now prepended with an integer unix timestamp.
1492 * Added --http-proxy-timeout option, previously
1493 the timeout was hardcoded to 5 seconds.
1494
1495 2004.12.02 -- Version 2.0-beta19
1496
1497 * Fixed bug in management interface line termination
1498 where output lines incorrectly contained a \00 char
1499 after the customary \0d \0a.
1500 * Fixed bug introduced in beta18 where Windows version
1501 would segfault on options errors.
1502 * Fixed bug in management interface where an empty
1503 quoted string ("") entered as a parameter would cause
1504 a segfault.
1505 * Fixed bug where --resolv-retry was not working
1506 properly with multiple --remote hosts.
1507 * Added additional ./configure options to reduce
1508 executable size for embedded applications.
1509 See ./configure --help.
1510
1511 2004.11.28 -- Version 2.0-beta18
1512
1513 * Added management interface. See new --management-*
1514 options or the full management interface documentation
1515 in management/management-notes.txt in the tarball.
1516 Management interface inclusion can be disabled by
1517 ./configure --disable-management.
1518 * Added two new plugin modules: auth-pam and down-root.
1519 Auth-pam supports pam-based authentication using a
1520 split privilege execution model, while down-root enables
1521 a down script to be executed with root privileges, even
1522 when --user/--group is used to drop root privileges.
1523 See the plugin directory in the tarball for READMEs,
1524 source code, and Makefiles.
1525 * Plugin developers should note that some changes were
1526 made to the plugin interface since beta17. See
1527 openvpn-plugin.h for details.
1528 Plugin interface inclusion can be disabled with
1529 ./configure --disable-plugins
1530 * Added easy-rsa/build-key-server script which will
1531 build a certificate with with nsCertType=server.
1532 * Added --ns-cert-type option for verification
1533 of nsCertType field in peer certificate.
1534 * If --fragment n is specified and --mssfix is specified
1535 without a parameter, default --mssfix to n. This restores
1536 the 1.6 behavior when using --mssfix without a parameter.
1537 * Fixed SSL context initialization bug introduced in beta14
1538 where this error might occur on restarts: "Cannot load
1539 certificate chain ... PEM_read_bio:no start line".
1540
1541 2004.11.11 -- Version 2.0-beta17
1542
1543 * Changed default port number to 1194 per IANA official
1544 port number assignment.
1545 * Added --plugin directive which allows compiled
1546 modules to intercept script callbacks. See
1547 plugin folder in tarball for more info.
1548 * Fixed bug introduced in beta12 where --key-method 1
1549 authentications which should have succeeded would fail.
1550 * Ignore SIGUSR1 during DNS resolution.
1551 * Added SuSE support to openvpn.spec (Umberto Nicoletti).
1552 * Fixed --cryptoapicert SUBJ: parsing bug (Peter 'Luna'
1553 Runestig).
1554
1555 2004.11.07 -- Version 2.0-beta16
1556
1557 * Modified sample-scripts/auth-pam.pl to get username
1558 and password from OpenVPN via a file rather than
1559 via environmental variables.
1560 * Added bytes_sent and bytes_received environmental
1561 variables to be set prior to client-disconnect script.
1562 * Changed client virtual IP derivation precedence:
1563 (1) use --ifconfig-push directive from --client-connect
1564 script, (2) use --ifconfig-push directive from
1565 --client-config-dir, and (3) use --ifconfig-pool
1566 address.
1567 * If a --client-config-dir file specifies --ifconfig-push,
1568 it will be visible to the --client-connect-script in
1569 the ifconfig_pool_remote_ip environmental variable.
1570 * For tun-style tunnels, the ifconfig_pool_local_ip
1571 environmental variable will be set, while for
1572 tap-style tunnels, the ifconfig_pool_netmask variable
1573 will be set.
1574 * Added intelligence to autoconf script to test
1575 compiler for the accepted form of zero-length arrays.
1576 * Fixed a bug introduced in beta12 where --ip-win32
1577 netsh would fail if --dev-node was not explicitly
1578 specified.
1579 * --ip-win32 netsh will now work on hidden adapters.
1580 * Fix attempt of "Assertion failed at crypto.c:149".
1581 This assertion has also been reported on 1.x with a
1582 slightly different line number. The fix is twofold:
1583 (1) In previous releases, --mtu-test may trigger this
1584 assertion -- this bug has been fixed. (2) If something
1585 else causes the assertion to be thrown, don't panic,
1586 just output a nonfatal warning to the log and drop
1587 the packet which generated the error.
1588 * Support TAP interfaces on Mac OS X (Waldemar Brodkorb).
1589 * Added --echo directive.
1590 * Added --auth-nocache directive.
1591
1592 2004.10.28 -- Version 2.0-beta15
1593
1594 * Changed environmental variable character classes
1595 so that names must consist of alphanumeric or
1596 underbar chars and values must consist of printable
1597 characters. Illegal chars will be deleted.
1598 Versions prior to 2.0-beta12 were more restrictive
1599 and would map spaces to '.'.
1600 * On Windows, when the TAP adapter fails to
1601 initialize with the correct IP address, output
1602 "Initialization Sequence Completed with Errors"
1603 to the console or log file.
1604 * Added a warning when user/group/chroot is used
1605 without persist-tun and persist-key.
1606 * Added cryptoapi.[ch] to tarball and source zip.
1607 * --tls-remote option now works with common name
1608 prefixes as well as with the full X509 subject
1609 string. This is a useful alternative to using
1610 a CRL on the client.
1611 * common names associated with a static
1612 --ifconfig-push setting will no longer leave
1613 any state in the --ifconfig-pool-persist file.
1614 * Hard TLS errors (TLS handshake failed) will now
1615 trigger either a SIGUSR1 signal by default
1616 or SIGTERM (if --tls-exit is specified). In TCP
1617 mode, all TLS errors are considered to be hard.
1618 In server mode, the signal will be local to the
1619 client instance.
1620 * Added method parameter to --auth-user-pass-verify
1621 directive to select whether username/password
1622 is passed to script via environment or a temporary
1623 file.
1624 * Added --status-version option to control format
1625 of --status file. The --mode server
1626 --status-version 2 format now includes a line
1627 type token, the virtual IP address is shown
1628 in the client list (even in --dev tap mode),
1629 and the integer time_t value is shown anywhere
1630 an ascii-formatted time/date is also shown.
1631 * Added --remap-usr1 directive which can be used
1632 to control whether internally or externally
1633 generated SIGUSR1 signals are remapped to
1634 SIGHUP (restart without persisting state) or
1635 SIGTERM (exit).
1636 * When running as a Windows service (using
1637 --service option), check the exit event before
1638 and after reading one line of input from
1639 stdin, when reading username/password info.
1640 * For developers: Extended the --gremlin function
1641 to better stress-test the new 2.0 features,
1642 added Valgrind support on Linux and Dmalloc
1643 support on Windows.
1644
1645 2004.10.19 -- Version 2.0-beta14
1646
1647 * Fixed a bug introduced in Beta12 that would occur
1648 if you use a --client-connect script without also
1649 defining --tmp-dir.
1650 * Fixed a bug introduced in Beta12 where a learn-address
1651 script might segfault on the delete method.
1652 * Added Crypto API support in Windows version via
1653 the --cryptoapicert option (Peter 'Luna' Runestig).
1654
1655 2004.10.18 -- Version 2.0-beta13
1656
1657 * Fixed an issue introduced in Beta12 where the private
1658 key password would not be prompted for unless --askpass
1659 was explicitly specified in the config.
1660
1661 2004.10.17 -- Version 2.0-beta12
1662
1663 * Added support for username/password-based authentication.
1664 Clients can now authentication themselves with the server
1665 using either a certificate, a username/password, or both.
1666 New directives: --auth-user-pass, --auth-user-pass-verify,
1667 --client-cert-not-required, and --username-as-common-name.
1668 * Added NTLM proxy patch (William Preston).
1669 * Added --ifconfig-pool-linear server flag to allocate
1670 individual tun addresses for clients rather than /30
1671 subnets (won't work with Windows clients).
1672 * Modified --http-proxy code to cache username/password
1673 across restarts.
1674 * Modified --http-proxy code to read username/password
1675 from the console when the auth file is given as "stdin".
1676 * Modified --askpass to take an optional filename argument.
1677 * --persist-tun and --persist-key now work in client mode
1678 and can be pushed to clients as well.
1679 * Added --ifconfig-pool-persist directive, to maintain
1680 ifconfig-pool info in a file which is persistent across
1681 daemon instantiations.
1682 * --user and --group privilege downgrades as well as
1683 --chroot now also work in client mode (the
1684 dowgrade/chroot will be delayed until the initialization
1685 sequence is completed).
1686 * Added --show-engines standalone directive to show
1687 available OpenSSL crypto accelerator engine support.
1688 * --engine directive now accepts an optional engine-ID
1689 parameter to control which engine is used.
1690 * "Connection reset, restarting" log message now shows
1691 which client is being reset.
1692 * Added --dhcp-pre-release directive in Windows version.
1693 * Second parm to --ip-win32 can be "default", e.g.
1694 --ip-win32 dynamic default 60.
1695 * Fixed documentation bug regarding environmental
1696 variable settings for --ifconfig-pool IP addresses.
1697 The correct environmental variable names are:
1698 ifconfig_pool_local_ip and ifconfig_pool_remote_ip.
1699 * ifconfig_pool_local_ip and ifconfig_pool_remote_ip
1700 environmental variables are now passed to the
1701 client-disconnect script.
1702 * In server mode, environmental variables are now scoped
1703 according to the client they are associated with,
1704 to solve the problem of "crosstalk" between different
1705 client's environmental variable sets.
1706 * Added --down-pre flag to cause --down script to be
1707 called before TUN/TAP close (rather than after).
1708 * Added --tls-exit flag which will cause OpenVPN
1709 to exit on any TLS errors.
1710 * Don't push a route to a client if it exactly
1711 matches an iroute (this lets you push routes to
1712 all clients, and OpenVPN will automatically remove
1713 the route from the route push list only for that client
1714 which the route actually belongs to).
1715 * Made '--resolv-retry infinite' the default.
1716 --resolv-retry can be disabled by using a parameter of 0.
1717 * For clients which plan to pull config info from server,
1718 set an initial default ping-restart of 60 seconds.
1719 * Optimized mute code to lessen the load on the processor
1720 when messages are being muted at a higher frequency.
1721 * Made route log messages non-mutable.
1722 * Silence the Linux "No buffer space available" message.
1723 * Added miscellaneous additional option sanity checks.
1724 * Added Windows version of easy-rsa scripts in
1725 easy-rsa/Windows directory (Andrew J. Richardson).
1726 * Added NetBSD route patch (Ed Ravin).
1727 * Added OpenBSD patch for TAP + --redirect-gateway
1728 (Waldemar Brodkorb).
1729 * Directives which prompt for a username and/or password
1730 will now work with --daemon (OpenVPN will prompt
1731 before forking).
1732 * Warn if CRL is from a different issuer than the
1733 issuer of the peer certificate (Bernhard Weisshuhn).
1734 * Changed init script chkconfig parameters to start
1735 OpenVPN daemon(s) before NFS.
1736 * Bug fix attempt of "too many I/O wait events" which occurs
1737 on OSes which prefer select() over poll() such as Mac OS X.
1738 * Added --ccd-exclusive flag. This flag will require, as a
1739 condition of authentication, that a connecting client has
1740 a --client-config-dir file.
1741 * TAP-Win32 open code will attempt to open a free adapter
1742 if --dev-node is not specified (Mathias Sundman).
1743 * Resequenced --nice and --chroot ordering so that --nice
1744 occurs first.
1745 * Added --suppress-timestamps flag (Charles Duffy).
1746 * Source code changes to allow compilation by MSVC
1747 (Peter 'Luna' Runestig).
1748 * Added experimental --fast-io flag which optimizes
1749 TUN/TAP/UDP writes on non-Windows systems.
1750
1751 2004.08.18 -- Version 2.0-beta11
1752
1753 * Added --server, --server-bridge, --client, and
1754 --keepalive helper directives. See client.conf
1755 and server.conf in sample-config-files for sample
1756 configurations which use the new directives.
1757 * On Windows, added --route-method to control
1758 whether IP Helper API or route.exe is used
1759 to add/delete routes.
1760 * On Windows, added a second parameter to
1761 --route-delay to control the maximum time period
1762 to wait for the TAP-Win32 adapter to come up
1763 before adding routes.
1764 * Fixed bug in Windows version where configurations
1765 which omit --ifconfig might fail to recognize when
1766 the TAP adapter is up.
1767 * Proxy connection failures will now retry according
1768 to the --connect-retry parameter.
1769 * Fixed --dev null handling on Windows so that TLS
1770 loopback test described in INSTALL file works
1771 correctly on Windows.
1772 * Added "Initialization Sequence Completed" message
1773 after all initialization steps have been completed
1774 and the VPN can be considered "up".
1775 * Better sanity-checking on --ifconfig-pool parameters.
1776 * Added --tcp-queue-limit option to control
1777 TUN/TAP -> TCP socket overflow.
1778 * --ifconfig-nowarn flag will now silence general
1779 warnings about possible --ifconfig address
1780 conflicts, including the warning about --ifconfig
1781 and --remote addresses being in same /24 subnet.
1782 * Fixed case where server mode did not correctly
1783 identify certain types of ethernet multicast packets
1784 (Marcel de Kogel).
1785 * Added --explicit-exit-notify option (experimental).
1786
1787 2004.08.02 -- Version 2.0-beta10
1788
1789 * Fixed possible reference after free of option strings
1790 after a restart, bug was introduced in beta8.
1791 * Fixed segfault at route.c:919 in the beta9
1792 Windows version that was being caused by indirection
1793 through a NULL pointer.
1794 * Mistakenly built debug version of TAP-Win32 driver
1795 for beta9. Beta10 has correct release build.
1796
1797 2004.07.30 -- Version 2.0-beta9
1798
1799 * Fixed --route issue on Windows that was introduced with
1800 the new beta8 route implementation based on the
1801 IP Helper API.
1802
1803 2004.07.27 -- Version 2.0-beta8
1804
1805 * Added TCP support in server mode.
1806 * Added PKCS #12 support (Mathias Sundman).
1807 * Added patch to make revoke-crt and make-crl work
1808 seamlessly within the easy-rsa environment (Jan Kiszka).
1809 * Modified --mode server ethernet bridge code to forward
1810 special IEEE 802.1d MAC Groups, i.e. 01:80:C2:XX:XX:XX.
1811 * Added --dhcp-renew and --dhcp-release flags to Windows
1812 version. Normally DHCP renewal and release on the TAP
1813 adapter occurs automatically under Windows, however
1814 if you set the TAP-Win32 adapter Media Status property
1815 to "Always Connected", you may need these flags.
1816 * Added --show-net standalone flag to Windows version to
1817 show OpenVPN's view of the system adapter and routing
1818 tables.
1819 * Added --show-net-up flag to Windows version to output
1820 the system routing table and network adapter list to
1821 the log file after the TAP-Win32 adapter has been brought
1822 up and any routes have been added.
1823 * Modified Windows version to add routes using the IP Helper
1824 API rather than by calling route.exe.
1825 * Fixed bug where --route-up script was not being called
1826 if no --route options were specified.
1827 * Added --mute-replay-warnings to suppress packet replay
1828 warnings. This is a common false alarm on WiFi nets.
1829 * Added "def1" flag to --redirect-gateway option to override
1830 the default gateway by using 0.0.0.0/1 and 128.0.0.0/1
1831 rather than 0.0.0.0/0. This has the benefit of overriding
1832 but not wiping out the original default gateway.
1833 (Thanks to Jim Carter for pointing out this idea).
1834 * You can now run OpenVPN with a single config file argument.
1835 For example, you can now say "openvpn config.conf"
1836 rather than "openvpn --config config.conf".
1837 * On Windows, made --route and --route-delay more adaptive
1838 with respect to waiting for interfaces referenced by the
1839 route destination to come up. Routes added by --route
1840 should now be added as soon as the interface comes up,
1841 rather than after an obligatory 10 second delay. The
1842 way this works internally is that --route-delay now
1843 defaults to 0 on Windows. Previous versions would
1844 wait for --route-delay seconds then add the routes.
1845 This version will wait --route-delay seconds and then
1846 test the routing table at one second intervals for the
1847 next 30 seconds and will not add the routes until they
1848 can be added without errors.
1849 * On Windows, don't setsockopt SO_SNDBUF or SO_RCVBUF by
1850 default on TCP/UDP socket in light of reports that this
1851 action can have undesirable global side effects on the
1852 MTU settings of other adapters. These parameters can
1853 still be set, but you need to explicitly specify
1854 --sndbuf and/or --rcvbuf.
1855 * Added --max-clients option to limit the maximum number
1856 of simultaneously connected clients in server mode.
1857 * Added error message to illuminate shell escape gotcha when
1858 single backslashes are used in Windows path names.
1859 * Added optional netmask parm to --ifconfig-pool.
1860 * Fixed bug where http-proxy connect retry attempts were
1861 incorrectly going to the remote OpenVPN server,
1862 not to the HTTP proxy server.
1863
1864 2004.06.29 -- Version 2.0-beta7
1865
1866 * Fixed bug in link_socket_verify_incoming_addr() which
1867 under certain circumstances could have caused --float
1868 behavior even if --float was not specified.
1869 * --tls-auth option now works with --mode server.
1870 All clients and the server should use the same
1871 --tls-auth key when operating in client/server mode.
1872 * Added --engine option to make use of OpenSSL-supported
1873 crypto acceleration hardware.
1874 * Fixed some high verbosity print format size issues
1875 in event.c for 64 bit platforms (Janne Johansson).
1876 * Made failure to open --log or --log-append file
1877 a non-fatal error.
1878
1879 2004.06.23 -- Version 2.0-beta6
1880
1881 * Fixed Windows installer to intelligently put
1882 up a reboot dialog only if tapinstall tells
1883 us that it's really necessary.
1884 * Fixed "Assertion failed at fragment.c:309"
1885 bug when --mode server and --fragment are used
1886 together.
1887 * Ignore HUP, USR1, and USR2 signals during
1888 initialization. Prior versions would abort.
1889 * Fixed bug on OS X: "Assertion failed at event.c:406".
1890 * Added --service option to Windows version, for use
1891 when OpenVPN is being programmatically instantiated
1892 by another process (see man page for info).
1893 * --log and --log-append options now work on Windows.
1894 * Update OpenBSD INSTALL notes (Janne Johansson).
1895 * Enable multicast on tun interface when running on
1896 OpenBSD (Pavlin Radoslavov).
1897 * Fixed recent --test-crypto breakage, where options
1898 such as --cipher were not being parsed correctly.
1899 * Modified options compatibility string by removing
1900 ifconfig substring if it is empty. Incremented
1901 options compatibility string version number to 4.
1902 * Fixed typo in --tls-timeout option parsing
1903 (Mikael Lonnroth).
1904
1905 2004.06.13 -- Version 2.0-beta5
1906
1907 * Fixed rare --mode server crash that could occur
1908 if data was being routed to a client at
1909 high bandwidth at the precise moment that the
1910 client instance object on the server was being
1911 deleted.
1912 * Fixed issue on machines which have epoll.h and
1913 the epoll_create glibc call defined, but which
1914 don't actually implement epoll in the kernel.
1915 OpenVPN will now gracefully fall back to the
1916 poll API in this case.
1917 * Fixed Windows bug which would cause the following
1918 error in a --mode server --dev tap configuration:
1919 "resource limit WSA_MAXIMUM_WAIT_EVENTS has been
1920 exceeded".
1921 * Added CRL (certificate revocation list) management
1922 scripts to easy-rsa directory (Jon Bendtsen).
1923 * Do a better job of getting the ifconfig component
1924 of the options consistency check to work correctly
1925 when --up-delay is used.
1926 * De-inlined some functions which were too complex
1927 to be inlined anyway with gcc.
1928 * If a --dhcp-option option is pushed to a non-windows
1929 client, the option will be saved in the client's
1930 environment before the --up script is called, under
1931 the name "foreign_option_{n}".
1932 * Added --learn-address script (see man page) which
1933 allows for firewall access through the VPN to be
1934 controlled based on the client common name.
1935 * In mode --server mode, when a client connects to
1936 the server, the server will disconnect any
1937 still-active clients which use the same common
1938 name. Use --duplicate-cn flag to revert to
1939 previous behavior of allowing multiple clients
1940 to concurrently connect with the same common name.
1941
1942 2004.06.08 -- Version 2.0-beta4
1943
1944 * Fixed issue with beta3 where Win32 service wrapper
1945 was keying off of old TAP HWID as a dependency. To
1946 ensure that the new service wrapper is correctly
1947 installed, the Windows install script will uninstall
1948 the old wrapper before installing the new one,
1949 causing a reset of service properties.
1950 * Fixed permissions issue on --status output file,
1951 with default access permissions of owner read/write
1952 only (default permissions can be changed of course with
1953 chmod).
1954
1955 2004.06.05 -- Version 2.0-beta3
1956
1957 * More changes to TAP-Win32 driver's INF file which
1958 affects the placement of the driver in the Windows
1959 device namespace. This is done to work around an
1960 apparent bug in Windows when short HWIDs are used,
1961 and will also ease the upgrade from 1.x to 2.0 by
1962 reducing the chances that a reboot will be needed
1963 on upgrade. Like beta2, this upgrade will
1964 delete existing TAP-Win32 interfaces, and reinstall
1965 a single new interface with default properties.
1966 * Major rewrite of I/O event wait layer in the style
1967 of libevent. This is a precursor to TCP support
1968 in --mode server.
1969 * New feature: --status. Outputs a SIGUSR2-like
1970 status summary to a given file, updated once
1971 per n seconds. The status file is comma delimited
1972 for easy machine parsing.
1973 * --ifconfig-pool now remembers common names and
1974 will try to assign a consistent IP to a given
1975 common name. Still to do: persist --ifconfig-pool
1976 memory across restarts by saving state in file.
1977 * Fixed bug in event timer queue which could cause
1978 recurring timer events such as --ping to not
1979 correctly schedule again after firing. This in
1980 turn would cause spurrious ping restarts and possible
1981 connection outages. Thanks to Denis Vlasenko for
1982 tracking this down.
1983 * Possible fix to reported bug where --daemon argument
1984 was not printing to syslog correctly after restart.
1985 * Fixed bug where pulling --route or --dhcp-option
1986 directives from a server would problematically
1987 interact with --persist-tun on the client.
1988 * Updated contrib/multilevel-init.patch (Farkas Levente).
1989 * Added RPM build option to .spec and .spec.in files
1990 to optionally disable LZO inclusion (Ian Pilcher).
1991 * The latest MingW runtime and headers define
1992 'ssize_t', so a patch is needed (Gisle Vanem).
1993
1994 2004.05.14 -- Version 2.0-beta2
1995
1996 * Fixed signal handling bug in --mode server, where
1997 SIGHUP and SIGUSR1 were treated as SIGTERM.
1998 * Changed the TAP-Win32 HWID from "TAP" to "TAPDEV".
1999 Apparently the larger string may work around
2000 a problem where the TAP adapter is sometimes missing
2001 from the network connections panel, especially under
2002 XP SP2. Also note that installing this upgrade will
2003 uninstall any pre-existing TAP-Win32 adapters, and then
2004 install a single new adapter, meaning that old adapter
2005 properties will be lost. Thanks to Md5Chap for solving
2006 this one.
2007 * For --mode server --dev tap, the options --ifconfig and
2008 --ifconfig-pool are now optional. This allows address
2009 assignment via DHCP or use of a TAP VPN without
2010 IP support, as has always been possible with 1.x.
2011 * Fixed bug where --ifconfig may not work correctly on
2012 Linux 2.2.
2013 * Added 'local' flag to --redirect-gateway for use on
2014 networks where both OpenVPN daemons are connected
2015 to a shared subnet, such as wireless.
2016
2017 2004.05.09 -- Version 2.0-beta1
2018
2019 * Unchanged from test29 except for version number
2020 upgrade.
2021
2022 2004.05.08 -- Version 2.0-test29
2023
2024 * Modified --dev-node on Windows to accept a TAP-Win32
2025 GUID name. In addition, --show-adapters will now
2026 display the high-level name and GUID of each adapter.
2027 This is an attempt to work around an issue in Windows
2028 where sometimes the TAP-Win32 adapter installs correctly
2029 but has no icon in the network connections control
2030 panel. In such cases, being able to specify
2031 --dev-node {TAP-GUID} can work around the missing icon.
2032
2033 2004.05.07 -- Version 2.0-test28
2034
2035 * Fixed bug which could cause segfault on program
2036 shutdown if --route and --persist-tun are used
2037 together.
2038
2039 2004.05.06 -- Version 2.0-test27
2040
2041 * Fixed bug in close_instance() which might cause
2042 memory to be accessed after it had already been freed.
2043 * Fixed bug in verify_callback() that might have
2044 caused uninitialized data to be referenced.
2045 * --iroute now allows full CIDR subnet routing.
2046 * In "--mode server --dev tun" usage, source addresses
2047 on VPN packets coming from a particular client must
2048 be associated with that client in the OpenVPN internal
2049 routing table.
2050
2051 2004.04.28 -- Version 2.0-test26
2052
2053 * Optimized broadcast path in multi-client mode.
2054 * Added socket buffer size options --rcvbuf & --sndbuf.
2055 * Configure Linux tun/tap driver to use a more sensible
2056 txqueuelen default. Also allow explicit setting
2057 via --txqueuelen option (Harald Roelle).
2058 * The --remote option now allows the port number
2059 to be specified as the second parameter. If
2060 unspecified, the port number defaults to the
2061 --rport value.
2062 * Multiple --remote options on the client can now be
2063 specified for load balancing and failover. The
2064 --remote-random flag can be used to initially randomize
2065 the --remote list for basic load balancing.
2066 * If a remote DNS name resolves to multiple DNS addresses,
2067 one will be chosen by random as a kind of basic
2068 load-balancing feature if --remote-random is used.
2069 * Added --connect-freq option to control maximum
2070 new connection frequency in multi-client mode.
2071 * In multi-client mode, all syslog messages associated
2072 with a specific client now include a client-ID prefix.
2073 * For Windows, use a gettimeofday() function based
2074 on QueryPerformanceCounter (Derek Burdick).
2075 * Fixed bug in interaction between --key-method 2
2076 and DES ciphers, where dynamic keys would be generated
2077 with bad parity and then be rejected.
2078
2079 2004.04.17 -- Version 2.0-test24
2080
2081 * Reworked multi-client broadcast handling.
2082
2083 2004.04.13 -- Version 2.0-test23
2084
2085 * Fixed bug in --dev tun --client-to-client routing.
2086 * Fixed a potential deadlock in --pull.
2087 * Fixed a problem with select() usage which could
2088 cause a repeating sequence of "select : Invalid
2089 argument (code=22)"
2090
2091 2004.04.11 -- Version 2.0-test22
2092
2093 * Fixed bug where --mode server + --daemon was
2094 prematurely closing syslog connection.
2095 * Added support for --redirect-gateway on Mac OS X
2096 (Jeremy Apple).
2097 * Minor changes to TAP-Win32 driver based on feedback
2098 from the NDISTest tool.
2099
2100 2004.04.11 -- Version 2.0-test21
2101
2102 * Optimizations in multi-client server event loop.
2103
2104 2004.04.10 -- Version 2.0-test20
2105
2106 * --mode server capability now works with either tun
2107 or tap interfaces. When used with tap interfaces,
2108 OpenVPN will internally bridge all client tap
2109 interfaces with the server tap interface.
2110 * Connecting clients can now have a client-specific
2111 configuration on the server, based on the client
2112 common name embedded in the client certificate.
2113 See --client-config-dir and --client-connect.
2114 These options can be used to configure client-specific
2115 routes.
2116 * Added an option --client-to-client that enables
2117 internal client-to-client routing or bridging.
2118 Otherwise, clients will only "see" the server,
2119 not other connected clients.
2120 * Fixed bug in route scheduling which would have caused
2121 --mode server to not work on Windows in test18
2122 and test19 with the sample config file.
2123 * Man page is up to date with all new options.
2124 * OpenVPN 2.0 release notes on web site updated
2125 with tap-style tunnel examples.
2126
2127 2004.04.02 -- Version 2.0-test19
2128
2129 * Fixed bug where routes pushed from server were
2130 not working correctly on Windows clients.
2131 * Added Mac OS X route patch (Jeremy Apple).
2132
2133 2004.03.30 -- Version 2.0-test18
2134
2135 * Minor fixes + Windows self-install modified
2136 to use OpenSSL 0.9.7d.
2137
2138 2004.03.29 -- Version 2.0-test17
2139
2140 * Fixed some bugs related to instance timeout and deletion.
2141 * Extended --push/--pull option to support additional
2142 option classes.
2143
2144 2004.03.28 -- Version 2.0-test16
2145
2146 * Successful test of --mode udp-server, --push,
2147 --pull, and --ifconfig-pool with server on
2148 Linux 2.4 and clients on Linux and Windows.
2149
2150 2004.03.25 -- Version 2.0-test15
2151
2152 * Implemented hash-table lookup of client instances
2153 based either on remote UDP address/port or remote
2154 ifconfig endpoint.
2155 * Implemented a randomized binary tree based
2156 scheduler for scalably scheduling a large number
2157 of client instance events. Uses the treap
2158 data structure and node rotation algorithm
2159 to keep the tree balanced.
2160 * Initial implementation of ifconfig-pool.
2161 * Made --key-method 2 the default.
2162
2163 2004.03.20 -- Version 2.0-test14
2164
2165 * Implemented --push and --pull.
2166
2167 2004.03.20 -- Version 2.0-test13
2168
2169 * Reduced struct tls_multi and --single-session
2170 memory footprint.
2171 * Modified --single-session flag to be used
2172 in multi-client UDP server client instances.
2173
2174 2004.03.19 -- Version 2.0-test12
2175
2176 * Added the key multi-client UDP server options,
2177 --mode, --push, --pull, and --ifconfig-pool.
2178 * Revamped GC (garbage collection) code to not rely
2179 on any global data.
2180 * Modifications to thread.[ch] to allow a more
2181 flexible thread model.
2182
2183 2004.03.16 -- Version 2.0-test11
2184
2185 * Moved all timer code to interval.h, added new file
2186 interval.c.
2187 * Fixed missing include.
2188
2189 2004.03.16 -- Version 2.0-test10
2190
2191 * More TAP-Win32 fixes.
2192 * Initial debugging and testing of multi.[ch].
2193
2194 2004.03.14 -- Version 2.0-test9
2195
2196 * Branch merge with 1.6-rc3
2197 * More point-to-multipoint work in multi.[ch].
2198 * Major TAP-Win32 driver restructuring to use
2199 NdisMRegisterDevice instead of
2200 IoCreateDevice/IoCreateSymbolicLink.
2201 * Changed TAP-Win32 symbolic links to use \DosDevices\Global\
2202 pathname prefix.
2203 * In the majority of cases, TAP-Win32 should now be
2204 able to install and uninstall on Win2K without requiring
2205 a reboot.
2206 * TAP-Win32 MAC address can now be explicitly set in the
2207 adapter advanced properties page.
2208
2209 2004.03.04 -- Version 2.0-test8
2210
2211 * Branch merge with 1.6-rc2.
2212
2213 2004.03.03 -- Version 2.0-test7
2214
2215 * Branch merge with 1.6-rc1.2.
2216
2217 2004.03.02 -- Version 2.0-test6
2218
2219 * Branch merge with 1.6-rc1.
2220
2221 2004.03.02 -- Version 2.0-test5
2222
2223 * Move Socks5 UDP header append/remove to socks.c, and is
2224 called from forward.c.
2225 * Moved verify statics from ssl.c into struct tls_session.
2226 * Wrote multi.[ch] to handle top level of point-to-multipoint
2227 mode.
2228 * Wrote some code to allow a struct link_socket in a child context
2229 to be slaved to the parent context.
2230 * Broke up packet read and process functions in forward.c
2231 (from socket or tuntap) into separate functions for read
2232 and process, so that point-to-point and point-to-multipoint can
2233 share the same code.
2234 * Expand TLS control channel to allow the passing of configuration
2235 commands.
2236 * Wrote mroute.[ch] to handle internal packet routing for
2237 point-to-multipoint mode.
2238
2239 2004.02.22 -- Version 2.0-test3
2240
2241 * Initial work on UDP multi-client server.
2242 * Branch merge of 1.6-beta7
2243
2244 2004.02.14 -- Version 2.0-test2
2245
2246 * Refactorization of openvpn.c into openvpn.[ch]
2247 init.[ch] forward.[ch] forward-inline.h
2248 occ.[ch] occ-inline.h ping.[ch] ping-inline.h
2249 sig.[ch]. Created a master per-tunnel
2250 struct context in openvpn.h.
2251 * Branch merge of 1.6-beta6.2
2252
2253 2003.11.06 -- Version 2.0-test1
2254
2255 * Initial testbed for 2.0.
2256
2257 2004.05.09 -- Version 1.6.0
2258
2259 * Unchanged from 1.6-rc4 except for version number
2260 upgrade.
2261
2262 2004.04.01 -- Version 1.6-rc4
2263
2264 * Made minor customizations to devcon and
2265 renamed as tapinstall.exe for Windows version.
2266 * Fixed "storage size of `iv' isn't known" build
2267 problem on FreeBSD.
2268 * OpenSSL 0.9.7d bundled with Windows self-install.
2269
2270 2004.03.13 -- Version 1.6-rc3
2271
2272 * Minor Windows fixes for --ip-win32 dynamic, relating to
2273 the way the TAP-Win32 driver responds to a DHCP request
2274 from the Windows DHCP client.
2275 * The net_gateway environmental variable wasn't being
2276 set correctly for called scripts (Paul Zuber).
2277 * Added code to determine the default gateway on FreeBSD,
2278 allowing the --redirect-gateway option to work
2279 (Juan Rodriguez Hervella).
2280
2281 2004.03.04 -- Version 1.6-rc2
2282
2283 * Fixed bug in Windows version where the NetBIOS node-type
2284 DHCP option might have been passed even if it was not
2285 specified.
2286 * Fixed bug in Windows version introduced in 1.6-rc1, where
2287 DHCP timeout would be set to 0 seconds if --ifconfig option
2288 was used and --ip-win32 option was not explicitly specified.
2289 * Added some new --dhcp-option types for Windows version.
2290
2291 2004.03.02 -- Version 1.6-rc1
2292
2293 * For Windows, make "--ip-win32 dynamic" the default.
2294 * For Windows, make "--route-delay 10" the default
2295 unless --ip-win32 dynamic is not used or --route-delay
2296 is explicitly specified.
2297 * L_TLS mutex could have been left in a locked state
2298 for certain kinds of TLS errors.
2299
2300 2004.02.22 -- Version 1.6-beta7
2301
2302 * Allow scheduling priority increase (--nice) together
2303 with UID/GID downgrade (--user/--group).
2304 * Code that causes SIGUSR1 restart on TLS errors in TCP
2305 mode was not activated in pthread builds.
2306 * Save the certificate serial number in an environmental
2307 variable called tls_serial_{n} prior to calling the
2308 --tls-verify script. n is the current cert chain level.
2309 * Added NetBSD IPv6 tunnel capability (also requires
2310 a kernel patch) (Horst Laschinsky).
2311 * Fixed bug in checking the return value of the nice()
2312 function (Ian Pilcher).
2313 * Bug fix in new FreeBSD IPv6 over TUN code which was
2314 originally added in 1.6-beta5 (Nathanael Rensen).
2315 * More Socks5 fixes -- extended the struct frame
2316 infrastructure to accomodate proxy-based encapsulation
2317 overhead.
2318 * Added --dhcp-option to Windows version for setting
2319 adapter properties such as WINS & DNS servers.
2320 * Use a default route-delay of 5 seconds when
2321 --ip-win32 dynamic is specified (only applicable when
2322 --route-delay is not explicitly specified).
2323 * Added "log_append" registry variable to control
2324 whether the OpenVPN service wrapper on Windows
2325 opens log files in append (log_append="1") or
2326 truncate (log_append="0") mode. The default
2327 is truncate.
2328
2329 2004.02.05 -- Version 1.6-beta6
2330
2331 * UDP over Socks5 fix to accomodate Socks5 encapsulation
2332 overhead (Christof Meerwald).
2333 * Minor --ip-win32 dynamic tweaks (use long lease time,
2334 invalidate existing lease with DHCPNAK).
2335
2336 2004.02.01 -- Version 1.6-beta5
2337
2338 * Added Socks5 proxy support (Christof Meerwald).
2339 * IPv6 tun support for FreeBSD (Thomas Glanzmann).
2340 * Special TAP-Win32 debug mode for Windows self-install that was
2341 enabled in beta4 is now turned off.
2342 * Added some new Solaris notes to INSTALL (Koen Maris).
2343 * More work on --ip-win32 dynamic.
2344
2345 2004.01.27 -- Version 1.6-beta4
2346
2347 * For this beta, the Windows self-install is a debug version
2348 and will run slower -- use only for testing.
2349 * Reverted the --ip-win32 default back to 'ipapi'
2350 from 'dynamic'.
2351 * Added the offset parameter to '--ip-win32 dynamic' which
2352 can be used to control the address of the masqueraded
2353 DHCP server which replies to Windows DHCP requests.
2354 * Added a wait/nowait option to --inetd (nowait can only
2355 be used with TCP sockets, TLS authentication, and over
2356 a bridged configuration -- see FAQ for more info)
2357 (Stefan `Sec` Zehl).
2358 * Added a build-time capability where TAP-Win32 driver
2359 debug messages can be output by OpenVPN at --verb 6
2360 or higher.
2361
2362 2004.01.20 -- Version 1.6-beta2
2363
2364 * Added ./configure --enable-iproute2 flag which
2365 uses iproute2 instead of route + ifconfig --
2366 this is necessary for the LEAF Linux distro
2367 (Martin Hejl).
2368 * Added renewal-time and rebind-time to set of
2369 DHCP options returned by the TAP-Win32 driver when
2370 "--ip-win32 dynamic" is used.
2371
2372 2004.01.14 -- Version 1.6-beta1
2373
2374 * Fixed --proxy bug that sometimes caused plaintext
2375 control info generated by the proxy prior to http
2376 CONNECT method establishment to be incorrectly
2377 parsed as OpenVPN data.
2378 * For Windows version, implemented the
2379 "--ip-win32 dynamic" method and made it the default.
2380 This method sets the TAP-Win32 adapter IP address
2381 and netmask by replying to the kernel's DHCP queries.
2382 See the man page for more detailed info.
2383 * Added --connect-retry parameter which controls
2384 the time interval (in seconds) between connect()
2385 retries when --proto tcp-client is used. Previously,
2386 this value was hardcoded to 5 seconds, and still
2387 defaults as such.
2388 * --resolv-retry can now be used with a parameter
2389 of "infinite" to retry indefinitely.
2390 * Added SSL_CTX_use_certificate_chain_file() to ssl.c
2391 for support of multi-level certificate chains
2392 (Sten Kalenda).
2393 * Fixed --tls-auth incompatibility with 1.4.x and earlier
2394 versions of OpenVPN when the passphrase file is an
2395 OpenVPN static key file (as generated by --genkey).
2396 * Added shell-escape support in config files using
2397 the backslash character ("\") so that (for example)
2398 double quotes can be passed to the shell.
2399 * Added "contrib" subdirectory on tarball, source zip,
2400 and CVS containing user-submitted contributions.
2401 * Added an optional patch to the Redhat init script to
2402 allow the configuration file directory to be a
2403 multi-level directory hierarchy (Farkas Levente).
2404 See contrib/multilevel-init.patch
2405 * Added some scripts and documentation on using
2406 Linux "fwmark" iptables rules to enable
2407 fine-grained routing control over the VPN
2408 (Sean Reifschneider, <jafo@tummy.com>).
2409 See contrib/openvpn-fwmarkroute-1.00
2410
2411 2003.11.20 -- Version 1.5.0
2412
2413 * Minor documentation changes.
2414
2415 2003.11.04 -- Version 1.5-beta14
2416
2417 * Fixed build problem with ./configure --disable-ssl
2418 that was reported on Debian woody.
2419 * Fixed bug where --redirect-gateway could not be used
2420 together with --resolv-retry.
2421
2422 2003.11.03 -- Version 1.5-beta13
2423
2424 * Added CRL (certificate revocation list) capability using
2425 --crl-verify option (Stefano Bracalenti).
2426 * Added --replay-window option for variable replay-protection
2427 window sizes.
2428 * Fixed --fragment bug which might have caused certain large
2429 packets to be sent unfragmented.
2430 * Modified --secret and --tls-auth to permit different cipher and
2431 HMAC keys to be used for each data flow direction. Also
2432 increased static key file size generated by --genkey from
2433 1024 to 2048 bits, where 512 bits each are reserved for
2434 send-HMAC, encrypt, receive-HMAC, and decrypt. Key file forward
2435 and backward compatibility is maintained. See --secret option
2436 documentation on the man page for more info.
2437 * Added --tls-remote option (Teemu Kiviniemi).
2438 * Fixed --tls-cipher documention regarding correct delimiter
2439 usage (Teemu Kiviniemi).
2440 * Added --key-method option for selecting alternative data
2441 channel key negotiation methods. Method 1 is the default.
2442 Method 2 has been added (see man page for more info).
2443 * Added French translation of HOWTO to web site
2444 (Guillaume Lehmann).
2445 * Fixed problem caused by late resolver library load on
2446 certain platforms when --resolv-retry and --chroot are
2447 used together (Teemu Kiviniemi).
2448 * In TCP mode, all decryption or TLS errors will abort the current
2449 connection (this is not done in UDP mode because UDP is
2450 "connectionless").
2451 * Fixed a TCP client reconnect bug that only occurs on the
2452 BSDs, where connect() fails with an invalid argument. This
2453 bug was partially (but not completely) fixed in beta7.
2454 * Added "route_net_gateway" environmental variable which contains
2455 the pre-existing default gateway address from the routing table
2456 (there's no standard API for getting the default gateway, so
2457 right now this feature only works on Windows or Linux).
2458 * Renamed the "route_default_gateway" enviromental variable to
2459 "route_vpn_gateway" -- this is the remote VPN endpoint.
2460 * The special keywords vpn_gateway, net_gateway, and remote_host
2461 can now be used for the network or gateway components of the
2462 --route option. See the man page for more info.
2463 * Added the --redirect-gateway option to configure the VPN
2464 as the default gateway (implemented on Linux and Windows only).
2465 * Added the --http-proxy option with basic authentication
2466 support for use in TCP client mode. Successfully tested
2467 using Squid as the HTTP proxy, with and without authentication.
2468
2469 2003.10.12 -- Version 1.5-beta12
2470
2471 * Fixed Linux-only bug in --mktun and --rmtun which was
2472 introduced around beta8 or so, which would cause
2473 an error such as "I don't recognize device tun0 as a
2474 tun or tap device1".
2475 * Added --ifconfig-nowarn option to disable options
2476 consistency warnings about --ifconfig parameters.
2477 * Don't allow any kind of sequence number backtracking or
2478 message reordering when in TCP mode.
2479 * Changed beta naming convention to use '_' (underscore)
2480 rather than '-' (dash) to pacify rpmbuild.
2481
2482 2003.10.08 -- Version 1.5-beta11
2483
2484 * Modified code in the Windows version which sets the IP address
2485 and netmask of the TAP-Win32 adapter using the IP Helper API.
2486 Most of the changes involve better error recovery when
2487 the IP Helper API returns an error status. See the
2488 manual page entry on --ip-win32 for more info.
2489
2490 2003.10.08 -- Version 1.5-beta10
2491
2492 * Added getpass() function for Windows version so that --askpass
2493 option works correctly (Stefano Bracalenti).
2494 * Added reboot advisory to end of Win32 install script.
2495 * Changed crypto code to use pseudo-random IVs rather than
2496 carrying forward the IV state from the previous packet.
2497 This is in response to item 2 in the following document:
2498 http://www.openssl.org/~bodo/tls-cbc.txt which points
2499 out weaknesses in TLS's use of the same IV carryforward
2500 approach. This change does not break protocol compatibility
2501 with previous versions of OpenVPN.
2502 * Made a change to the crypto replay protection code to also
2503 protect against certain kinds of packet reordering attacks.
2504 This change does not break protocol compatibility with
2505 previous versions of OpenVPN.
2506 * Added --ip-win32 option to provide several choices for
2507 setting the IP address on the TAP-Win32 adapter.
2508 * #ifdefed out non-CBC crypto modes by default.
2509 * Added --up-delay option to delay TUN/TAP open and --up script
2510 execution until after connection establishment. This option
2511 replaces the earlier windows-only option --tap-delay.
2512
2513 2003.10.01 -- Version 1.5-beta9
2514
2515 * Fixed --route-noexec bug where option was not parsed correctly.
2516 * Complain if --dev tun is specified without --ifconfig on Windows.
2517 * Fixed bug where TCP connections on windows would sometimes cause
2518 an assertion failure.
2519 * Added a new flag to TAP-Win32 advanced properties that allows one
2520 to set the adapter to be always "connected" even when an OpenVPN
2521 process doesn't have it open. The default behavior is to report
2522 a media status of connected only when an OpenVPN process has the
2523 adapter open.
2524 * Rebuilt the Windows self-install distribution with OpenSSL 0.9.7c
2525 DLLs in response to an OpenSSL security advisory.
2526
2527 2003.09.30 -- Version 1.5-beta8
2528
2529 * Extended the --ifconfig option to work on tap devices as well
2530 as tun devices.
2531 * Implemented the --ifconfig option for Windows, by calling the
2532 netsh tool.
2533 * By default, do an "arp -d *" on Windows after TAP-Win32 open to
2534 refresh the MAC cache. This behaviour can be disabled with
2535 --no-arp-del.
2536 * On Windows, allow the --dev-node parameter (which specifies
2537 the name of the TAP-Win32 adapter) to be omitted in cases where
2538 there is a single TAP-Win32 adapter on the system which can be
2539 assumed to be the default.
2540 * Modified the diagnostic --verb 5 debugging level to print 'R'
2541 for TCP/UDP read, 'W' for TCP/UDP write, 'r' for TUN/TAP read,
2542 and 'w' for TUN/TAP write.
2543 * Conditionalize OpenBSD read_tun and write_tun based on tun or tap
2544 mode.
2545 * Added IPv6 tun support to OpenBSD (Thomas Glanzmann).
2546 * Make the --enable-mtu-dynamic ./configure option enabled by
2547 default.
2548 * Deprecated the --mtu-dynamic run-time option, in favor of
2549 --fragment.
2550 * DNS names can now be used as --ifconfig parameters.
2551 * Significant work on TAP-Win32 driver to bring up to SMP standards.
2552 * On Windows, fixed dangling IRP problem if TAP-Win32 driver is
2553 unloaded or disabled, while a user-space process has it open.
2554 * On Windows, if --tun-mtu is not specified, it will be read from
2555 the TAP-Win32 driver via ioctl.
2556 * On Windows, added TAP-Win32 driver status info to "F2" keyboard
2557 signal (only when run from a console window).
2558 * Added --mssfix option to control TCP MSS size (YANO Hirokuni).
2559 * Renamed --mtu-dynamic option to --fragment to more accurately
2560 reflect its function. Fragment accepts a single parameter which
2561 is the upper limit on acceptable UDP packet size.
2562 * Changed default --tun-mtu-extra parameter to 32 from 64.
2563 * Eliminated reference to malloc.o in configure.ac.
2564 * Added tun device emulation to the TAP-Win32 driver.
2565 * Added --route and related options.
2566 * Added init script for SuSE Linux (Frank Plohmann).
2567 * Extended option consistency check between peers to function
2568 in all crypto modes, including static-key and cleartext modes.
2569 Previously only TLS mode was supported. Disable with
2570 --disable-occ.
2571 * Overall, increased the amount of configuration option sanity
2572 checking, especially of networking parameters.
2573 * Added --mtu-test option for empirical MTU measurement.
2574 * Added Windows-only option --tap-delay to not set the TAP-Win32
2575 adapter media state to 'connected' until TCP/UDP connection
2576 establishment with peer.
2577 * Slightly modified --route/--route-delay semantics so that when
2578 --route is given without --route-delay, routes are added
2579 immediately after tun/tap device open. When --route-delay is
2580 specified, routes will be added n seconds after connection
2581 initiation, where n is the --route-delay parameter (which
2582 can be set to 0).
2583 * Made TCP framing error into a non-fatal error that triggers a
2584 connection reset.
2585
2586 2003.08.28 -- Version 1.5-beta7
2587
2588 * Fixed bug that caused OpenVPN not to respond to exit/restart
2589 signals when --resolv-retry is used and a local or remote DNS
2590 name cannot be resolved.
2591 * Exported a series of environmental variables with useful
2592 info for scripts. See man page for more info. Based
2593 on a suggestion by Anthony Ciaravalo.
2594 * Moved TCP/UDP socket bind to a point in the initialization
2595 before the --up script gets called. This is desirable
2596 because (a) a socket bind failure will happen before
2597 daemonization, allowing an error status code to be returned
2598 to the shell and (b) the possibility is eliminated of a
2599 socket bind failure causing the --up script to be run
2600 but not the --down script. This change has a side effect
2601 that --resolv-retry will no longer work with --local.
2602 * Fixed bug where if an OpenVPN TCP server went down and back
2603 up again, Solaris or FreeBSD clients would fail to reconnect
2604 to it.
2605 * Fixed bug that prevented OpenVPN from being run by
2606 inetd/xinetd in TCP mode.
2607 * Added --log and --log-append options for logging messages to
2608 a file.
2609 * On Windows, check that the current user is a member of the
2610 Administrator group before attempting install or uninstall.
2611
2612 2003.08.16 -- Version 1.5-beta6
2613
2614 * Fixed TAP-Win32 driver to properly increment the Rx/Tx count.
2615
2616 2003.08.14 -- Version 1.5-beta5
2617
2618 * Added user-configurability of the TAP-Win32 adapter MTU
2619 through the adapter advanced properties page.
2620 * Added Windows Service support.
2621 * On Windows, added file association and right-clickability
2622 for .ovpn files (OpenVPN config files).
2623
2624 2003.08.05 -- Version 1.5-beta4
2625
2626 * Extra refinements and error checking added to Windows
2627 NSIS install script.
2628
2629 2003.08.05 -- Version 1.5-beta3
2630
2631 * Added md5.h include to crypto.c to fix build problem on
2632 OpenBSD.
2633 * Created a Win32 installer using NSIS.
2634 * Removed DelService command from TAP-Win32 INF file. It appears
2635 to be not necessary and it interfered with the ability to
2636 uninstall and reinstall the driver without needing to reboot.
2637 * On Windows version, added "addtap" and "deltapall" batch
2638 files to add and delete TAP-Win32 adapter instances.
2639
2640 2003.07.31 -- Version 1.5-beta2
2641
2642 * Renamed INSTALL.w32 to INSTALL-win32.txt and reformatted
2643 in Windows ASCII so it's easier to click and view.
2644 * Added postscript and PDF versions of the HOWTO to the web
2645 site (C R Zamana).
2646 * Merged Michael Clarke's stability patch into TAP-Win32
2647 driver which appears to fix the suspend/resume driver bug
2648 and significantly improve driver stability.
2649 * Added Christof Meerwald's Media Status patch to the
2650 TAP-Win32 driver which shows the TAP adapter to be
2651 disconnected when OpenVPN is not running.
2652 * Moved socket connect and TCP server listen code to a later
2653 point in openvpn() function so that the TCP server listen
2654 state is entered after daemonization.
2655 * Added keyboard shortcuts to simulate signals in the Windows
2656 version, see the window title bar for descriptions.
2657
2658 2003.07.24 -- Version 1.5-beta1
2659
2660 * Added TCP support via the new --proto option.
2661 * Renamed udp-centric options such as --udp-mtu to
2662 --link-mtu (old option names preserved for compatibility).
2663 * Ported to Windows 2000 + XP using mingw and a TAP driver
2664 derived from the Cipe-Win32 project by Damion K. Wilson.
2665 * Added --show-adapters flag for windows version.
2666 * Reworked the SSL/TLS packet acknowledge code to better
2667 handle certain corner cases.
2668 * Turned off the default enabling of IP forwarding in the
2669 sample-scripts/openvpn.init script for Redhat.
2670 Forwarding can be enabled by users in their --up scripts
2671 or firewall config.
2672 * Added --up-restart option based on suggestion from Sean
2673 Reifschneider.
2674 * If --dev tap or --dev-type tap is specified, --tun-mtu
2675 defaults to 1500 and --tun-mtu-extra defaults to 64.
2676 * Enabled --verb 5 debugging mode that prints 'R' and 'W'
2677 for each packet read or write on the TCP/UDP socket.
2678
2679 2003.08.04 -- Version 1.4.3
2680
2681 * Added md5.h include to crypto.c
2682 to fix build problem on OpenBSD.
2683
2684 2003.07.15 -- Version 1.4.2
2685
2686 * Removed adaptive bandwidth from
2687 --mtu-dynamic -- its absence appears
2688 to work better than its existence (1.4.1.2).
2689 * Minor changes to --shaper to fix long
2690 retransmit timeouts at low bandwidth
2691 (1.4.1.2).
2692 * Added LOG_RW flag to openvpn.h for
2693 debugging (1.4.1.2).
2694 * Silenced spurious configure warnings (1.4.1.2).
2695 * Backed out --dev-name patch, modified --dev
2696 to offer equivalent functionality (1.4.1.4).
2697 * Added an optional parameter to --daemon and
2698 --inetd to support the passing of a custom
2699 program name to the system logger (1.4.1.5).
2700 * Add compiled-in options to the program title
2701 (1.4.1.5).
2702 * Coded the beginnings of a WIN32 port (1.4.1.5).
2703 * Succeeded in porting to Win32 Mingw environment
2704 and running loopback tests (1.4.1.6). Still
2705 need a kernel driver for full Win32
2706 functionality.
2707 * Fixed a bug in error.h where
2708 HAVE_CPP_VARARG_MACRO_GCC was misspelled.
2709 This would have caused a significant slowdown
2710 of OpenVPN when built by compilers that
2711 lack ISO C99 vararg macros (1.4.1.6).
2712 * Created an init script for Gentoo Linux
2713 in ./gentoo directory (1.4.1.6).
2714
2715 2003.05.15 -- Version 1.4.1
2716
2717 * Modified the Linux 2.4 TUN/TAP open code to
2718 fall back to the 2.2 TUN/TAP interface if the
2719 open or ioctl fails.
2720 * Fixed bug when --verb is set to 0 and non-fatal
2721 socket errors occur, causing 100% CPU utilization.
2722 Occurs on platorms where
2723 EXTENDED_SOCKET_ERROR_CAPABILITY is defined,
2724 such as Linux 2.4.
2725 * Fixed typo in tun.c that was preventing
2726 OpenBSD build.
2727 * Added --enable-mtu-dynamic configure option
2728 to enable --mtu-dynamic experimental option.
2729
2730 2003.05.07 -- Version 1.4.0
2731
2732 * Added --replay-persist feature to allow replay
2733 protection across sessions.
2734 * Fixed bug where --ifconfig could not be used
2735 with --tun-mtu.
2736 * Added --tun-mtu-extra parameter to deal with
2737 the situation where a read on a TUN/TAP device
2738 returns more data than the device's MTU size.
2739 * Fixed bug where some IPv6 support code for
2740 Linux was not being properly ifdefed out for
2741 Linux 2.2, causing compile errors.
2742 * Added OPENVPN_EXIT_STATUS_x codes to
2743 openvpn.h to control which status value
2744 openvpn returns to its caller (such as
2745 a shell or inetd/xinetd) for various conditions.
2746 * Added OPENVPN_DEBUG_COMMAND_LINE flag to
2747 openvpn.h to allow debugging in situations
2748 where stdout, stderr, and syslog cannot be used
2749 for message output, such as when OpenVPN is
2750 instantiated by inetd/xinetd.
2751 * Removed owner-execute permission from file
2752 created by static key generator (Herbert Xu
2753 and Alberto Gonzalez Iniesta).
2754 * Added --passtos option to allow IPv4 TOS bits
2755 to be passed from TUN/TAP input packets to
2756 the outgoing UDP socket (Craig Knox).
2757 * Added code to prevent open socket file descriptors
2758 from being accessible to called scripts.
2759 * Added --dev-name option (Christian Lademann).
2760 * Added --mtu-disc option for manual control
2761 over MTU options.
2762 * Show OS MTU value on UDP socket write failures
2763 (linux only).
2764 * Numerous build system and portability
2765 fixes (Matthias Andree).
2766 * Added better sensing of compiler support for
2767 variable argument macros, including (a) gcc
2768 style, (b) ISO C 1999 style, and (c) no support.
2769 * Removed generated files from CVS. Note INSTALL
2770 file for new CVS build commands.
2771 * Changed certain internal symbol names
2772 for C standards compliance.
2773 * Added TUN/TAP open code to cycle dynamically
2774 through unit numbers until it finds a free
2775 unit (based on code from Thomas Gielfeldt
2776 and VTun).
2777 * Added dynamic MTU and fragmenting infrastructure
2778 (Experimental). Rebuild with FRAGMENT_ENABLE
2779 defined to enable.
2780 * Minor changes to SSL/TLS negotiation, use
2781 exponential backoff on retransmits, and use
2782 a smaller MTU size (note that no protocol
2783 changes have been made which would break
2784 compatibility with 1.3.x).
2785 * Added --enable-strict-options flag
2786 to ./configure. This option will cause
2787 a more strict check for options compatibility
2788 between peers when SSL/TLS negotiation is used,
2789 but should only be used when both OpenVPN peers
2790 are of the same version.
2791 * Reorganization of debugging levels.
2792 * Added a workaround in configure.ac for
2793 default SSL header location on Linux
2794 to fix RH9 build problem.
2795 * Fixed potential deadlock when pthread support
2796 is used on OSes that allocate a small socketpair()
2797 message buffer.
2798 * Fixed openvpn.init to be sh compliant
2799 (Bishop Clark).
2800 * Changed --daemon to wait until all
2801 initialization is finished before becoming a
2802 daemon, for the benefit of initialization
2803 scripts that want a useful return status from
2804 the openvpn command.
2805 * Made openvpn.init script more robust, including
2806 positive indication of initialization errors
2807 in the openvpn daemon and better sanity checks.
2808 * Changed --chroot to wait until initialization
2809 is finished before calling chroot(), and allow
2810 the use of --user and --group with --chroot.
2811 * When syslog logging is enabled (--daemon or
2812 --inetd), set stdin/stdout/stderr to point
2813 to /dev/null.
2814 * For inetd instantiations, dup socket descriptor
2815 to a >2 value.
2816 * Fixed bug in verify-cn script, where test would
2817 incorrectly fail if CN=x was the last component
2818 of the X509 composite string (Anonymous).
2819 * Added Markus F.X.J. Oberhumer's special
2820 license exception to COPYING.
2821
2822 2002.10.23 -- Version 1.3.2
2823
2824 * Added SSL_CTX_set_client_CA_list call
2825 to follow the canonical form for TLS initialization
2826 recommended by the OpenSSL docs. This change allows
2827 better support for intermediate CAs and has no impact
2828 on security.
2829 * Added build-inter script to easy-rsa package, to
2830 facilitate the generation of intermediate CAs.
2831 * Ported to NetBSD (Dimitri Goldin).
2832 * Fixed minor bug in easy-rsa/sign-req. It refers to
2833 openssl.cnf file, instead of $KEY_CONFIG, like all
2834 other scripts (Ernesto Baschny).
2835 * Added --days 3650 to the root CA generation command
2836 in the HOWTO to override the woefully small 30 day
2837 default (Dominik 'Aeneas' Schnitzer).
2838 * Fixed bug where --ping-restart would sometimes
2839 not re-resolve remote DNS hostname.
2840 * Added --tun-ipv6 option and related infrastructure
2841 support for IPv6 over tun.
2842 * Added IPv6 over tun support for Linux (Aaron Sethman).
2843 * Added FreeBSD 4.1.1+ TUN/TAP driver notes to
2844 INSTALL (Matthias Andree).
2845 * Added inetd/xinetd support (--inetd) including
2846 documentation in the HOWTO.
2847 * Added "Important Note on the use of commercial certificate
2848 authorities (CAs) with OpenVPN" to HOWTO based on
2849 issues raised on the openvpn-users list.
2850
2851 2002.07.10 -- Version 1.3.1
2852
2853 * Fixed bug in openvpn.spec and openvpn.init
2854 which caused RPM upgrade to fail.
2855
2856 2002.07.10 -- Version 1.3.0
2857
2858 * Added --dev-node option to allow explicit selection of
2859 tun/tap device node.
2860 * Removed mlockall call from child thread, as it doesn't
2861 appear to be necessary (child thread inherits mlockall
2862 state from parent).
2863 * Added --ping-timer-rem which causes timer for --ping-exit
2864 and --ping-restart not to run unless we have a remote IP
2865 address.
2866 * Added condrestart to openvpn.init and openvpn.spec
2867 (Bishop Clark).
2868 * Added --ifconfig case for FreeBSD (Matthias Andree).
2869 * Call openlog with facility=LOG_DAEMON (Matthias Andree).
2870 * Changed LOG_INFO messages to LOG_NOTICE.
2871 * Added warning when key files are group/others accessible.
2872 * Added --single-session flag for TLS mode.
2873 * Fixed bug where --writepid would segfault if used with
2874 an invalid filename.
2875 * Fixed bug where --ipchange status message was formatted
2876 incorrectly.
2877 * Print more concise error message when system() call
2878 fails.
2879 * Added --disable-occ option.
2880 * Added --local, --remote, and --ifconfig options sanity
2881 check.
2882 * Changed default UDP MTU to 1300 and TUN/TAP MTU to
2883 1300.
2884 * Successfully tested with OpenSSL 0.9.7 Beta 2.
2885 * Broke out debug level definitions to errlevel.h
2886 * Minor documentation and web site changes.
2887 * All changes maintain protocol compatibility
2888 with OpenVPN versions since 1.1.0, however default
2889 MTU changes will require setting the MTU explicitly
2890 by command line option, if you want 1.3.0 to
2891 communicate with previous versions.
2892
2893 2002.06.12 -- Version 1.2.1
2894
2895 * Added --ping-restart option to restart
2896 connection on ping timeout using SIGUSR1
2897 logic (Matthias Andree).
2898 * Added --persist-tun, --persist-key,
2899 --persist-local-ip, and --persist-remote-ip
2900 options for finer-grained control over SIGUSR1
2901 and --ping-restart restarts. To
2902 replicate previous SIGUSR1 functionality,
2903 use --persist-remote-ip.
2904 * Changed residual IV fetching code to take
2905 IV from tail of ciphertext.
2906 * Added check to make sure that CFB or OFB
2907 cipher modes are only used with SSL/TLS
2908 authentication mode, and added a caveat
2909 to INSTALL.
2910 * Changed signal handling during initialization
2911 (including re-initialization during restarts)
2912 to exit on SIGTERM or SIGINT and ignore other
2913 signals which would ordinarily be caught.
2914 * Added --resolv-retry option to allow
2915 retries on hostname resolution.
2916 * Expanded the --float option to also
2917 allow dynamic changes in source port number
2918 on incoming datagrams.
2919 * Added --mute option to limit repetitive
2920 logging of similar message types.
2921 * Added --group option to downgrade GID
2922 after initialization.
2923 * Try to set ifconfig path automatically
2924 in configure.
2925 * Added --ifconfig code for Mac OS X
2926 (Christoph Pfisterer).
2927 * Moved "Peer Connection Initiated" message
2928 to --verb level 1.
2929 * Successfully tested with
2930 OpenSSL 0.9.7 Beta 1 and AES cipher.
2931 * Added RPM notes to INSTALL.
2932 * Added ACX_PTHREAD (from the autoconf
2933 macro archive) to configure.ac
2934 to figure out the right pthread
2935 options for a given platform.
2936 * Broke out macro definitions from
2937 configure.ac to acinclude.m4.
2938 * Minor changes to docs and HOWTO.
2939 * All changes maintain protocol compatibility
2940 with OpenVPN versions since 1.1.0.
2941
2942 2002.05.22 -- Version 1.2.0
2943
2944 * Added configuration file support via
2945 the --config option.
2946 * Added pthread support to improve latency.
2947 With pthread support, OpenVPN
2948 will offload CPU-intensive tasks such as RSA
2949 key number crunching to a background thread
2950 to improve tunnel packet forwarding
2951 latency. pthread support can be enabled
2952 with the --enable-pthread configure option.
2953 Pthread support is currently available
2954 only for Linux and Solaris.
2955 * Added --dev-type option so that tun/tap
2956 device names don't need to begin with
2957 "tun" or "tap".
2958 * Added --writepid option to write main
2959 process ID to a file.
2960 * Numerous portability fixes to ease
2961 porting to other OSes including changing
2962 all network types to uint8_t and uint32_t,
2963 and not assuming that time_t is 32 bits.
2964 * Backported to OpenSSL 0.9.5.
2965 * Ported to Solaris.
2966 * Finished OpenBSD port except for
2967 pthread support.
2968 * Added initialization script:
2969 sample-scripts/openvpn.init
2970 (Douglas Keller)
2971 * Ported to Mac OS X (Christoph Pfisterer).
2972 * Improved resilience to DoS attacks when
2973 TLS mode is used without --remote or
2974 --tls-auth, or when --float is used
2975 with --remote. Note however that the best
2976 defense against DoS attacks in TLS mode
2977 is to use --tls-auth.
2978 * Eliminated automake/autoconf dependency
2979 for non-developers.
2980 * Ported configure.in to configure.ac
2981 and autoconf 2.50+.
2982 * SIGHUP signal now causes OpenVPN to restart
2983 and re-read command line and or config file,
2984 in conformance with canonical daemon behaviour.
2985 * SIGUSR1 now does what SIGHUP did in
2986 version 1.1.1 and earlier -- close and reopen
2987 the UDP socket for use when DHCP changes
2988 host's IP address and preserve most recently
2989 authenticated peer address without rereading
2990 config file.
2991 * SIGUSR2 added -- outputs current statistics,
2992 including compression statistics.
2993 * All changes maintain protocol compatibility
2994 with 1.1.1 and 1.1.0.
2995
2996 2002.04.22 -- Version 1.1.1
2997
2998 * Added --ifconfig option to automatically configure
2999 TUN device.
3000 * Added inactivity disconnect (--inactive
3001 and --ping-exit options).
3002 * Added --ping option to keep stateful firewalls
3003 from timing out.
3004 * Added sanity check to command line parser to
3005 err if any TLS options are used in non-TLS mode.
3006 * Fixed build problem with compiler environments that
3007 define printf as a macro.
3008 * Fixed build problem on linux systems that have
3009 an integrated TUN/TAP driver but lack the persistent
3010 tunnel feature (TUNSETPERSIST). Some linux kernels
3011 >= 2.4.0 and < 2.4.7 fall into this category.
3012 * Changed all calls to EVP_CipherInit to use explicit
3013 encrypt/decrypt mode in order to fix problem with
3014 IDEA-CBC and AES-256-CBC ciphers.
3015 * Minor changes to control channel transmit limiter
3016 algorithm to fix problem where TLS control channel
3017 might not renegotiate within the default 60 second window.
3018 * Simplified man page examples by taking advantage
3019 of the new --ifconfig option.
3020 * Minor changes to configure.in to check more
3021 rigourously for OpenSSL 0.9.6 or greater.
3022 * Put back openvpn.spec, eliminated
3023 openvpn.spec.in.
3024 * Modified openvpn.spec to reflect new automake-based
3025 build environment (Bishop Clark).
3026 * Other documentation changes.
3027 * Added --test-crypto option for debugging.
3028 * Added "missing" and "mkinstalldirs" automake
3029 support files.
3030
3031
3032 2002.04.09 -- Version 1.1.0
3033
3034 * Strengthened replay protection and IV handling,
3035 extending it fully to both static key and
3036 TLS dynamic key exchange modes.
3037 * Added --mlock option to disable paging and ensure that key
3038 material and tunnel data is never paged to disk.
3039 * Added optional traffic shaping feature to cap the maximum
3040 data rate of the tunnel.
3041 * Converted to automake (The Platypus Brothers 2002-04-01).
3042 * Ported to OpenBSD by Janne Johansson.
3043 * Added --tun-af-inet option to work around an incompatibility
3044 between Linux and BSD tun drivers.
3045 * Sequence number-based replay protection using the
3046 IPSec sliding window model is now the default,
3047 disable with --no-replay.
3048 * Explicit IV is now the default, disable with --no-iv.
3049 * Disabled all cipher modes except CBC, CFB, and OFB.
3050 * In CBC mode, use explicit IV and carry forward residuals,
3051 using IPSec model.
3052 * In CFB/OFB mode, IV is timestamp, sequence number.
3053 * Eliminated --packet-id, --timestamp, and max-delta parameter to
3054 the --tls-auth option as they are now supplanted by improved
3055 replay code which is enabled by default.
3056 * Eliminated --rand-iv as it is now obsolete with improved
3057 IV code.
3058 * Eliminated --reneg-err option as it increases vulnerability
3059 to DoS attacks.
3060 * Added weak key check for DES ciphers.
3061 * --tls-freq option is no longer specified on the command line,
3062 instead it now inherits its parameter from the
3063 --tls-timeout option.
3064 * Fixed bug that would try to free memory on exit that was
3065 never malloced if --comp-lzo was not specified.
3066 * Errata fixed in the man page examples: "test-ca" should be
3067 "tmp-ca".
3068 * Updated manual page.
3069 * Preliminary work in porting to OpenSSL 0.9.7.
3070 * Changed license to allowing linking with OpenSSL.
3071
3072 2002.03.29 -- Version 1.0.3
3073
3074 * Fixed a problem in configure with library ordering on the
3075 command line.
3076
3077 2002.03.28 -- Version 1.0.2
3078
3079 * Improved the efficiency of the inner event loop.
3080 * Fixed a minor bug with timeout handling.
3081 * Improved the build system to build on RH 6.2 through 7.2.
3082 * Added an openvpn.spec file for RPM builders (Bishop Clark).
3083
3084 2002.03.23 -- Version 1.0
3085
3086 * Added TLS-based authentication and key exchange.
3087 * Added gremlin mode to stress test.
3088 * Wrote man page.
3089
3090 2001.12.26 -- Version 0.91
3091
3092 * Added any choice of cipher or HMAC digest.
3093
3094 2001.5.13 -- Version 0.90
3095
3096 * Initial release.
3097 * IP tunnel over UDP, with blowfish cipher and SHA1 HMAC signature.