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