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