Check return value of RSA_generate_key_ex().
[tinc] / NEWS
1 Version 1.0.28               April 10 2016
2
3  * Fix compilation on BSD platforms.
4
5  * Add systemd service files.
6
7 Version 1.0.27               April 10 2016
8
9  * When using Proxy, let the proxy resolve hostnames if tinc can't.
10
11  * Fixes and improvements of the DecrementTTL option.
12
13  * Fixed the $NAME variable in subnet-up/down scripts for the local Subnets.
14
15  * Fixed potentially wrong checksum generation when clamping the MSS.
16
17  * Properly choose between the system's or our own copy of getopt.
18
19  * Fixed compiling tinc for Cygwin with MinGW installed.
20
21  * Added support for OS X utun interfaces.
22
23  * Documentation updates and minor fixes.
24
25 Thanks to Vittorio Gambaletta, LunarShaddow, Florian Weik and Nathan Stratton
26 Treadway for their contributions to this version of tinc.
27
28 Version 1.0.26               July 5 2015
29
30  * Tinc now forces glibc to reload /etc/resolv.conf for every hostname lookup.
31
32  * Fixed --logfile without a filename on Windows.
33
34  * Ensure tinc can be compiled when using musl libc.
35
36 Thanks to Jo-Philipp Wich for his contribution to this version of tinc.
37
38 Version 1.0.25               December 22 2014
39
40  * Documentation updates.
41
42  * Support linking against -lresolv on Mac OS X.
43
44  * Fix scripts on Windows when using the ScriptsInterpreter option.
45
46  * Allow a minimum reconnect timeout to be specified.
47
48  * Support PriorityInheritance on IPv6 sockets.
49
50 Thanks to David Pflug, Baptiste Jonglez, Alexis Hildebrandt, Borg, Jochen Voss,
51 Tomislav Čohar and VittGam for their contributions to this version of tinc.
52
53 Version 1.0.24               May 11 2014
54
55  * Various compiler hardening flags are enabled by default.
56
57  * Updated support for Solaris, allowing switch mode on Solaris 11.
58
59  * Configuration will now also be read from a conf.d directory.
60
61  * Various updates to the documentation.
62
63  * Tinc now forces glibc to reload /etc/resolv.conf after it receives SIGALRM.
64
65  * Fixed a potential routing loop when IndirectData or TCPOnly is used and
66    broadcast packets are being sent.
67
68  * Improved security with constant time memcmp and stricter use of OpenSSL's
69    RNG functions.
70
71  * Fixed all issues found by Coverity.
72
73 Thanks to Florent Clairambault, Vilbrekin, luckyhacky, Armin Fisslthaler, Loïc
74 Dachary and Steffan Karger for their contributions to this version of tinc.
75
76 Version 1.0.23               October 19 2013
77
78  * Start authentication immediately on outgoing connections (useful for sslh).
79
80  * Fixed segfault when Name = $HOST but $HOST is not set.
81
82  * Updated the build system and the documentation.
83
84  * Clean up child processes left over from Proxy = exec.
85
86 Version 1.0.22               August 13 2013
87
88  * Fixed the combination of Mode = router and DeviceType = tap.
89
90  * The $NAME variable is now set in subnet-up/down scripts.
91
92  * Tinc now gives an error when unknown options are given on the command line.
93
94  * Tinc now correctly handles a space between a short command line option and
95    an optional argument.
96
97 Thanks to Etienne Dechamps for his contribution to this version of tinc.
98
99 Version 1.0.21               April 22 2013
100
101  * Drop packets forwarded via TCP if they are too big (CVE-2013-1428).
102
103 Thanks to Martin Schobert for auditing tinc and reporting this vulnerability.
104
105 Version 1.0.20               March 03 2013
106
107  * Use /dev/tap0 by default on FreeBSD and NetBSD when using switch mode.
108
109  * Minor improvements and clarifications in the documentation.
110
111  * Allow tinc to be cross-compiled with Android's NDK.
112
113  * The discovered PMTU is now also applied to VLAN tagged traffic.
114
115  * The LocalDiscovery option now makes use of all addresses tinc is bound to.
116
117  * Fixed support for tunemu on iOS devices.
118
119  * The PriorityInheritance option now also works with switch mode.
120
121  * Fixed tinc crashing when using a SOCKS5 proxy.
122
123 Thanks to Mesar Hameed, Vilbrekin and Martin Schürrer for their contributions
124 to this version of tinc.
125
126 Version 1.0.19               June 25 2012
127
128  * Allow :: notation in IPv6 Subnets.
129
130  * Add support for systemd style socket activation.
131
132  * Allow environment variables to be used for the Name option.
133
134  * Add basic support for SOCKS proxies, HTTP proxies, and proxying through an
135    external command.
136
137 Thanks to Anthony G. Basile and Michael Tokarev for their contributions to
138 this version of tinc.
139
140 Version 1.0.18               March 25 2012
141
142  * Fixed IPv6 in switch mode by turning off DecrementTTL by default.
143
144  * Allow a port number to be specified in BindToAddress, which also allows tinc
145    to listen on multiple ports.
146
147  * Add support for multicast communication with UML/QEMU/KVM.
148
149 Version 1.0.17               March 10 2012
150
151  * The DeviceType option can now be used to select dummy, raw socket, UML and
152    VDE devices without needing to recompile tinc.
153
154  * Allow multiple BindToAddress statements.
155
156  * Decrement TTL value of IPv4 and IPv6 packets.
157
158  * Add LocalDiscovery option allowing tinc to detect peers that are behind the
159    same NAT.
160
161  * Accept Subnets passed with the -o option when StrictSubnets = yes.
162
163  * Disabling old RSA keys when generating new ones now also works properly on
164    Windows.
165
166 Thanks to Nick Hibma for his contribution to this version of tinc.
167
168 Version 1.0.16               July 23 2011
169
170  * Fixed a performance issue with TCP communication under Windows.
171
172  * Fixed code that, during network outages, would cause tinc to exit when it
173    thought two nodes with identical Names were on the VPN.
174
175 Version 1.0.15               June 24 2011
176
177  * Improved logging to file.
178
179  * Reduced amount of process wakeups on platforms which support pselect().
180
181  * Fixed ProcessPriority option under Windows.
182
183 Version 1.0.14               May  8 2011
184
185  * Fixed reading configuration files that do not end with a newline. Again.
186
187  * Allow arbitrary configuration options being specified on the command line.
188
189  * Allow all options in both tinc.conf and the local host config file.
190
191  * Configurable replay window, UDP send and receive buffers for performance tuning.
192
193  * Try harder to get UDP communication back after falling back to TCP.
194
195  * Initial support for attaching tinc to a VDE switch.
196
197  * DragonFly BSD support.
198
199  * Allow linking with OpenSSL 1.0.0.
200
201  Thanks to Brandon Black, Julien Muchembled, Michael Tokarev, Rumko and Timothy
202  Redaelli for their contributions to this version of tinc.
203
204 Version 1.0.13               Apr 11 2010
205
206  * Allow building tinc without LZO and/or Zlib.
207
208  * Clamp MSS of TCP packets in both directions.
209
210  * Experimental StrictSubnets, Forwarding and DirectOnly options,
211    giving more control over information and packets received from/sent to other
212    nodes.
213
214  * Ensure tinc never sends symbolic names for ports over the wire.
215
216 Version 1.0.12               Feb  3 2010
217
218  * Really allow fast roaming of hosts to other nodes in a switched VPN.
219
220  * Fixes missing or incorrect environment variables when calling host-up/down
221    and subnet-up/down scripts in some cases.
222
223  * Allow port to be specified in Address statements.
224
225  * Clamp MSS of TCP packets to the discovered path MTU.
226
227  * Let two nodes behind NAT learn each others current UDP address and port via
228    a third node, potentially allowing direct communications in a similar way to
229    STUN.
230
231 Version 1.0.11               Nov  1 2009
232
233  * Fixed potential crash when the HUP signal is sent.
234
235  * Fixes handling of weighted Subnets in switch and hub modes, preventing
236    unnecessary broadcasts.
237
238  * Works around a MinGW bug that caused packets to Windows nodes to always be
239    sent via TCP.
240
241  * Improvements to the PMTU discovery code, especially on Windows.
242
243  * Use UDP again in certain cases where 1.0.10 was too conservative and fell
244    back to TCP unnecessarily.
245
246  * Allow fast roaming of hosts to other nodes in a switched VPN.
247
248 Version 1.0.10               Oct 18 2009
249
250  * Fixed potential crashes during shutdown and (in rare conditions) when other
251    nodes disconnected from the VPN.
252
253  * Improved NAT handling: tinc now copes with mangled port numbers, and will
254    automatically fall back to TCP if direct UDP connection between nodes is not
255    possible. The TCPOnly option should not have to be used anymore.
256
257  * Allow configuration files with CRLF line endings to be read on UNIX.
258
259  * Disable old RSA keys when generating new ones, and raise the default size of
260    new RSA keys to 2048 bits.
261
262  * Many fixes in the path MTU discovery code, especially when Compression is
263    being used.
264
265  * Tinc can now drop privileges and/or chroot itself.
266
267  * The TunnelServer code now just ignores information from clients instead of
268    disconnecting them.
269
270  * Improved performance on Windows by using the new ProcessPriority option and
271    by making the handling of packets received from the TAP-Win32 adapter more
272    efficient.
273
274  * Code cleanups: tinc now follows the C99 standard, copyright headers have
275    been updated to include patch authors, checkpoint tracing and localisation
276    features have been removed.
277
278  * Support for (jailbroken) iPhone and iPod Touch has been added.
279
280  Thanks to Florian Forster, Grzegorz Dymarek and especially Michael Tokarev for
281  their contributions to this version of tinc.
282
283 Version 1.0.9                Dec 26 2008
284
285  * Fixed tinc as a service under Windows 2003.
286
287  * Fixed reading configuration files that do not end with a newline.
288
289  * Fixed crashes in situations where hostnames could not be resolved or hosts
290    would disconnect at the same time as session keys were exchanged.
291
292  * Improved default settings of tun and tap devices on BSD platforms.
293
294  * Make IPv6 sockets bind only to IPv6 on Linux.
295
296  * Enable path MTU discovery by default.
297
298  * Fixed a memory leak that occured when connections were closed.
299
300  Thanks to Max Rijevski for his contributions to this version of tinc.
301
302 Version 1.0.8                May 16 2007
303
304  * Fixed some memory and resource leaks.
305
306  * Made network sockets non-blocking under Windows.
307
308  Thanks to Scott Lamb and "dnk" for their contributions to this version of tinc.
309
310 Version 1.0.7                Jan  5 2007
311
312  * Fixed a bug that caused slow network speeds on Windows.
313
314  * Fixed a bug that caused tinc unable to write packets to the tun device on
315    OpenBSD.
316
317 Version 1.0.6                Dec 18 2006
318
319  * More flexible detection of the LZO libraries when compiling.
320
321  * Fixed a bug where broadcasts in switch and hub modes sometimes would not
322    work anymore when part of the VPN had become disconnected from the rest.
323
324 version 1.0.5                Nov 14 2006
325
326  * Lots of small fixes.
327
328  * Broadcast packets no longer grow in size with each hop. This should
329    fix switch mode (again).
330  
331  * Generic host-up and host-down scripts.
332
333  * Optionally dump graph in graphviz format to a file or a script.
334
335  * Support LZO 2.0 and later.
336
337  Thanks to Scott Lamb for his contributions to this version of tinc.
338
339 version 1.0.4                May  4 2005
340
341  * Fix switch and hub modes.
342
343  * Optionally start scripts when a Subnet becomes (un)reachable.
344
345 version 1.0.3                Nov 11 2004
346
347 * Show error message when failing to write a PID file.
348
349 * Ignore spaces at end of lines in config files.
350
351 * Fix handling of late packets.
352
353 * Unify BSD tun/tap device handling. This allows IPv6 on tun devices and
354   anything on tap devices as long as the underlying OS supports it.
355
356 * Handle IPv6 on Solaris tun devices.
357
358 * Allow tinc to work properly under Windows XP SP2.
359
360 * Allow VLAN tagged Ethernet frames in switch and hub mode.
361
362 * Experimental PMTUDiscovery, TunnelServer and BlockingTCP options.
363
364 version 1.0.2                Nov  8 2003
365
366 * Fix address and hostname resolving under Windows.
367
368 * Remove warnings about non-existing scripts and unsupported address families.
369
370 * Use the event logger under Windows.
371
372 * Fix quoting of filenames and command line arguments under Windows.
373
374 * Strict checks for length incoming network packets and return values of
375   cryptographic functions,
376
377 * Fix a bug in metadata handling that made the tinc daemon abort.
378
379 version 1.0.1                Aug 14 2003
380
381 * Allow empty lines in config files.
382
383 * Fix handling of spaces and backslashes in filenames under native Windows.
384
385 * Allow scripts to be executed under native Windows.
386
387 * Update documentation, make it less Linux specific.
388
389 version 1.0                  Aug  4 2003
390
391 * Lots of small bugfixes and code cleanups.
392
393 * Throughput doubled and latency reduced.
394
395 * Added support for LZO compression.
396
397 * No need to set MAC address or disable ARP anymore.
398
399 * Added support for Windows 2000 and XP, both natively and in a Cygwin
400   environment.
401
402 version 1.0pre8              Sep 16 2002
403
404 * More fixes for subnets with prefixlength undivisible by 8.
405
406 * Added support for NetBSD and MacOS/X.
407
408 * Switched from undirected graphs to directed graphs to avoid certain race
409   conditions and improve scalability.
410
411 * Generalized broadcasting and forwarding of protocol messages.
412
413 * Cleanup of source code.
414
415
416 version 1.0pre7              Apr  7 2002
417
418 * Don't do blocking read()s when getting a signal.
419
420 * Remove RSA key checking code, since it sometimes thinks perfectly good RSA
421   keys are bad.
422
423 * Fix handling of subnets when prefixlength isn't divisible by 8.
424
425
426 version 1.0pre6              Mar 27 2002
427
428 * Improvement of redundant links:
429
430   * Non-blocking connects.
431   
432   * Protocol broadcast messages can no longer go into an infinite loop.
433   
434   * Graph algorithm updated to look harder for direct connections.
435
436 * Good support for routing IPv6 packets over the VPN. Works on Linux,
437   FreeBSD, possibly OpenBSD but not on Solaris.
438
439 * Support for tunnels over IPv6 networks. Works on all supported
440   operating systems.
441
442 * Optional compression of UDP connections using zlib.
443
444 * Optionally let UDP connections inherit TOS field of tunneled packets.
445
446 * Optionally start scripts when certain hosts become (un)reachable.
447
448
449 version 1.0pre5              Feb  9 2002
450
451 * Security enhancements:
452
453   * Added sequence number and optional message authentication code to
454     the packets.
455
456   * Configurable encryption cipher and digest algorithms.
457
458 * More robust handling of dis- and reconnects.
459
460 * Added a "switch" and a "hub" mode to allow bridging setups.
461
462 * Preliminary support for routing of IPv6 packets.
463
464 * Supports Linux, FreeBSD, OpenBSD and Solaris.
465
466
467 It looks like this might be the last release before 1.0.
468
469
470 version 1.0pre4              Jan 17 2001
471
472 * Updated documentation; the documentation now reflects the
473   configuration as it is.
474
475 * Some internal changes to make tinc scale better for large
476   networks, such as using AVL trees instead of linked lists for the
477   connection list.  
478
479 * RSA keys can be stored in separate files if needed.  See the
480   documentation for more information.
481
482 * tinc has now been reported to run on Linux PowerPC and FreeBSD x86.
483
484
485
486 version 1.0pre3              Oct 31 2000
487
488 * The protocol has been redesigned, and although some details are
489   still under discussion, this is secure.  Care has been taken to
490   resist most, if not all, attacks.
491   
492 * Unfortunately this protocol is not compatible with earlier versions,
493   nor are earlier versions compatible with this version.  Because the
494   older protocol has huge security flaws, we feel that not
495   implementing backwards compatibility is justified.
496
497 * Some data about the protocol:
498
499   * It uses public/private RSA keys for authentication (this is the
500     actual fix for the security hole).
501
502   * All cryptographic functions have been taken out of tinc, instead
503     it uses the OpenSSL library functions.
504
505   * Offers support for multiple subnets per tinc daemon.
506
507 * New is also the support for the universal tun/tap device.  This
508   means better portability to FreeBSD and Solaris.
509
510 * tinc is tested to compile on Solaris, Linux x86, Linux alpha.
511
512 * tinc now uses the OpenSSL library for cryptographic operations.
513   More information on getting and installing OpenSSL is in the manual.
514   This also means that the GMP library is no longer required.
515
516 * Further, thanks to Enrique Zanardi, we have Spanish messages; Matias
517   Carrasco provided us with a Spanish translation of the manual.
518
519
520 What still needs to be done before 1.0:
521
522 * Documentation.  Especially since the protocol has changed, and a lot
523   of configuration directives have been added.
524
525
526
527
528 version 1.0pre2              May 31 2000
529
530 * This version has been internationalized; and a Dutch translation has          
531   been included.                                                                
532                                                                                 
533 * Two configuration variables have been added:                                  
534   * VpnMask - the IP network mask for the entire VPN, not just our              
535     subnet (as given by MyVirtualIP).  The Redhat and Debian packages           
536     use this variable in their system startup scripts, but it is                
537     ignored by tinc.                                                            
538   * Hostnames - if set to `yes', look up the names of IP addresses              
539     trying to connect to us.  Default set to `no', to prevent lockups           
540     during lookups.                                                             
541                                                                                 
542 * The system startup scripts for Debian and Redhat use                          
543   /etc/tinc/nets.boot to find out which networks need to be started             
544   during system boot.                                                           
545                                                                                 
546 * Fixes to prevent denial of service attacks by sending random data             
547   after connecting (and even when the connection has been established),         
548   either random garbage or just nonsensical protocol fields.                    
549                                                                                 
550 * tinc will retry to connect upon startup, does not quit if it doesn't          
551   work the first time.                                                          
552                                                                                 
553 * Hosts that are disconnected implicitly if we lose a connection get            
554   deleted from the internal list, to prevent hogging eachother with             
555   add and delete requests when the connection is restored.                      
556                                                                                 
557                                                                                 
558 What still needs to be done before 1.0:                                         
559                                                                                 
560 * Documentation.                                                                
561 * Failover ConnectTo lines, try another one if the first doesn't work.          
562
563
564
565
566 version 1.0pre1              May 12 2000
567  * New meta-protocol
568  * Various other bugfixes
569  * Documentation updates
570
571 version 0.3.3                Feb  9 2000
572  * Fixed bug that made tinc stop working with latest kernels (Guus
573    Sliepen)
574  * Updated the manual
575
576 version 0.3.2                Nov 12 1999
577  * no more `Invalid filedescriptor' when working with multiple
578    connections
579  * forward unknown packets to uplink
580
581 version 0.3.1                Oct 20 1999
582  * fixed a bug where tinc would exit without a trace
583
584 version 0.3                  Aug 20 1999
585  * pings now work immediately
586  * all packet sizes get transmitted correctly
587
588 version 0.2.26               Aug 15 1999
589  * fixed some remaining bugs
590  * --sysconfdir works with configure
591  * last version before 0.3
592
593 version 0.2.25               Aug  8 1999
594  * improved stability, going towards 0.3 now.
595
596 version 0.2.24               Aug  7 1999
597  * added key aging, there's a new config variable, KeyExpire.
598  * updated man and info pages
599
600 version 0.2.23               Aug  5 1999
601  * all known bugs fixed, this is a candidate for 0.3
602
603 version 0.2.22               Apr 11 1999
604  * multiconnection thing is now working nearly perfect :)
605
606 version 0.2.21               Apr 10 1999
607  * You shouldn't notice a thing, but a lot has changed wrt key
608 management - except that it refuses to talk to versions < 0.2.20
609
610 version 0.2.20
611
612 version 0.2.19               Apr  3 1999
613  * don't install a libcipher.so
614
615 version 0.2.18               Apr  3 1999
616  * blowfish library dynamically loaded upon execution
617  * included Eric Young's IDEA library
618
619 version 0.2.17               Apr  1 1999
620  * tincd now re-executes itself in case of a segmentation fault.
621
622 version 0.2.16               Apr  1 1999
623  * wrote tincd.conf(5) man page, which still needs a lot of work.
624  * config file now accepts and tolerates spaces, and any integer base
625 for integer variables, and better error reporting. See
626 doc/tincd.conf.sample for an example.
627
628 version 0.2.15               Mar 29 1999
629  * fixed bugs
630
631 version 0.2.14               Feb 10 1999
632  * added --timeout flag and PingTimeout configuration
633  * did some first syslog cleanup work
634
635 version 0.2.13               Jan 23 1999
636  * bugfixes
637
638 version 0.2.12               Jan 23 1999
639  * fixed nauseating bug so that it would crash whenever a connection
640 got lost
641
642 version 0.2.11               Jan 22 1999
643  * framework for multiple connections has been done
644  * simple manpage for tincd
645
646 version 0.2.10               Jan 18 1999
647  * passphrase support added
648
649 version 0.2.9                Jan 13 1999
650  * bugs fixed.
651
652 version 0.2.8                Jan 11 1999
653  * a reworked protocol version
654  * a ping/pong system
655  * more reliable networking code
656  * automatic reconnection
657  * still does not work with more than one connection :)
658  * strips MAC addresses before sending, so there's less overhead, and
659 less redundancy
660
661 version 0.2.7                Jan  3 1999
662  * several updates to make extending more easy.
663
664 version 0.2.6                Dec 20 1998
665  * Point-to-Point connections have been established, including
666 blowfish encryption and a secret key-exchange.
667
668 version 0.2.5                Dec 16 1998
669  * Project renamed to tinc, in honour of TINC.
670
671 version 0.2.4                Dec 16 1998
672  * now it really does ;)
673
674 version 0.2.3                Nov 24 1998
675  * it sort of works now
676
677 version 0.2.2                Nov 20 1998
678  * uses GNU gmp.
679
680 version 0.2.1                Nov 14 1998
681
682  * Bare version.