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