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