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