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