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