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