Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								3f59a26d80 
								
							 
						 
						
							
							
								
								Do not try to dereference myself->connection->config_tree.  
							
							... 
							
							
							
							This was a bug introduced due to an incomplete merge (commit
ff71f28902 
							
						 
						
							2010-11-19 12:26:20 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								886a6f61a1 
								
							 
						 
						
							
							
								
								Merge branch 'master' into 1.1  
							
							... 
							
							
							
							Conflicts:
	src/net_packet.c
	src/openssl/rsagen.h
	src/protocol_auth.c
	src/protocol_key.c 
							
						 
						
							2010-11-19 12:22:48 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								d91903ef3c 
								
							 
						 
						
							
							
								
								Attribution for Brandon Black.  
							
							
							
						 
						
							2010-11-16 17:28:41 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								e764ff7be9 
								
							 
						 
						
							
							
								
								Fix variable length array declaration.  
							
							
							
						 
						
							2010-11-16 16:45:36 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								5eb0440110 
								
							 
						 
						
							
							
								
								Free replay window when freeing a node_t.  
							
							
							
						 
						
							2010-11-13 21:36:51 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								a9445e38f2 
								
							 
						 
						
							
							
								
								Fix warning message when setting SO_RCVBUF or SO_SNDBUF fails.  
							
							
							
						 
						
							2010-11-13 21:34:59 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandon L Black 
								
							 
						 
						
							
							
							
							
								
							
							
								0d61d4ae13 
								
							 
						 
						
							
							
								
								Improved handling of queue-jumping packets on receive  
							
							
							
						 
						
							2010-11-13 21:25:48 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandon L Black 
								
							 
						 
						
							
							
							
							
								
							
							
								23acc19bc0 
								
							 
						 
						
							
							
								
								Configurable ReplayWindow size, zero disables  
							
							
							
						 
						
							2010-11-13 21:25:46 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandon L Black 
								
							 
						 
						
							
							
							
							
								
							
							
								8dfe1b374e 
								
							 
						 
						
							
							
								
								Configurable SO_RCVBUF/SO_SNDBUF for the UDP socket  
							
							
							
						 
						
							2010-11-13 21:25:44 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandon L Black 
								
							 
						 
						
							
							
							
							
								
							
							
								3f410e2f8f 
								
							 
						 
						
							
							
								
								Experimental IFF_ONE_QUEUE support for Linux  
							
							
							
						 
						
							2010-11-13 21:25:41 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								9e3ca39773 
								
							 
						 
						
							
							
								
								Use variable length arrays instead of alloca().  
							
							
							
						 
						
							2010-11-13 15:55:38 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								e2e6ec8050 
								
							 
						 
						
							
							
								
								Provide usleep() for Windows.  
							
							
							
						 
						
							2010-11-13 15:50:39 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								23dddc2593 
								
							 
						 
						
							
							
								
								Link tincctl with dropin.o.  
							
							
							
						 
						
							2010-11-13 15:46:19 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								a22041922f 
								
							 
						 
						
							
							
								
								Merge branch 'master' into 1.1  
							
							... 
							
							
							
							Conflicts:
	doc/tincd.8.in
	lib/pidfile.c
	src/graph.c
	src/net.c
	src/net.h
	src/net_packet.c
	src/net_setup.c
	src/net_socket.c
	src/netutl.c
	src/node.c
	src/node.h
	src/protocol_auth.c
	src/protocol_key.c
	src/tincd.c 
							
						 
						
							2010-11-12 16:15:29 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								930bf74fbe 
								
							 
						 
						
							
							
								
								Don't use strlen() on a NULL pointer.  
							
							... 
							
							
							
							A bug introduced in commit 667b1bac77 
							
						 
						
							2010-11-12 11:38:05 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								a07aa92176 
								
							 
						 
						
							
							
								
								Add short options -R and -U to the tincd(8) manpage.  
							
							
							
						 
						
							2010-11-12 11:33:01 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								66b7aea294 
								
							 
						 
						
							
							
								
								Read error counter must be static.  
							
							
							
						 
						
							2010-11-02 14:23:43 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								a91bf2dfcd 
								
							 
						 
						
							
							
								
								Quit when there are too many consecutive errors on the tun/tap device.  
							
							... 
							
							
							
							Although transient errors sometimes happen on the tun/tap device (for example,
if the kernel is temporarily out of buffer space), there are situations where
the tun/tap device becomes permanently broken. Instead of endlessly spamming
the syslog, we now sleep an increasing amount of time between consecutive read
errors, and if reads still fail after 10 attempts (approximately 3 seconds),
tinc will quit. 
							
						 
						
							2010-11-02 14:18:35 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael Tokarev 
								
							 
						 
						
							
							
							
							
								
							
							
								aca70cd3c3 
								
							 
						 
						
							
							
								
								Treat netname="." in a special way.  
							
							... 
							
							
							
							Treat netname "." in a special way as if there was no netname
specified.  Before, f.e. tincd -n. -k didn't work as it tried
to open /var/run/tinc-.pid.  Now -n. works as if there was no
-n option is specified.
Signed-Off-By: Michael Tokarev <mjt@tls.msk.ru> 
							
						 
						
							2010-10-24 13:32:36 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								5f729f76f5 
								
							 
						 
						
							
							
								
								Remove unused variables.  
							
							... 
							
							
							
							These were caused by commit 667b1bac77 
							
						 
						
							2010-10-22 22:46:44 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								20ae7dd8c1 
								
							 
						 
						
							
							
								
								Abort disabling old PEM keys on I/O errors.  
							
							
							
						 
						
							2010-10-22 22:43:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								a08462bf84 
								
							 
						 
						
							
							
								
								Ensure there is a newline character before a PEM key is written.  
							
							
							
						 
						
							2010-10-22 22:42:21 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								c6ccbadfcf 
								
							 
						 
						
							
							
								
								Attribution for Timothy Redaelli.  
							
							
							
						 
						
							2010-10-22 13:40:04 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								1c2cd7ed27 
								
							 
						 
						
							
							
								
								Attribution for Julien Muchembled.  
							
							
							
						 
						
							2010-10-22 13:17:42 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								667b1bac77 
								
							 
						 
						
							
							
								
								Remove duplicate command-line option parsing.  
							
							... 
							
							
							
							Also fix parsing of command-line host configuration options for the local node. 
							
						 
						
							2010-10-22 13:06:06 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								ff71f28902 
								
							 
						 
						
							
							
								
								Merge local host configuration with server configuration.  
							
							... 
							
							
							
							With some exceptions, tinc only accepted host configuration options for the
local node from the corresponding host configuration file. Although this is
documented, many people expect that they can also put those options in
tinc.conf. Tinc now internally merges the contents of both tinc.conf and the
local host configuration file. 
							
						 
						
							2010-10-22 12:47:12 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Julien Muchembled 
								
							 
						 
						
							
							
							
							
								
							
							
								8c3105283a 
								
							 
						 
						
							
							
								
								New '-o' option to configure server or hosts from command line  
							
							... 
							
							
							
							Options given on the command line have precedence over configuration from files.
This can be useful, for example, for a roaming node, for which 'ConnectTo' and
<host>.Address depends on its location. 
							
						 
						
							2010-09-05 22:26:26 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								4b6a9f1c1f 
								
							 
						 
						
							
							
								
								Do not append an address to ANS_KEY messages if we don't know any address.  
							
							... 
							
							
							
							This would let tinc raise an exception when an ANS_KEY request crossed a
DEL_EDGE request for the node sending the key. 
							
						 
						
							2010-06-04 16:03:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								798fa2f04c 
								
							 
						 
						
							
							
								
								Use 64 bit counters to keep track of bytes sent/received from the virtual network interface.  
							
							
							
						 
						
							2010-06-04 15:04:08 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								4a21aabada 
								
							 
						 
						
							
							
								
								Detect and prevent two nodes with the same Name being on the VPN simultaneously.  
							
							... 
							
							
							
							In this situation, the two nodes will start fighting over the edges they announced.
When we have to contradict both ADD_EDGE and DEL_EDGE messages, we log a warning,
and with 25% chance per PingTimeout we quit. 
							
						 
						
							2010-06-04 14:53:52 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								dbf3d168b7 
								
							 
						 
						
							
							
								
								Use strrchr() insteaad of rindex().  
							
							... 
							
							
							
							The latter function is deprecated, some build environments do not support. 
							
						 
						
							2010-05-07 12:24:49 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Redaelli 
								
							 
						 
						
							
							
							
							
								
							
							
								eda7179874 
								
							 
						 
						
							
							
								
								Fix warnings under BSD  
							
							
							
						 
						
							2010-05-06 21:19:49 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Redaelli 
								
							 
						 
						
							
							
							
							
								
							
							
								df985256a7 
								
							 
						 
						
							
							
								
								Fix warnings showed using -D_FORTIFY_SOURCE=2  
							
							
							
						 
						
							2010-05-04 00:54:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								f5122ccece 
								
							 
						 
						
							
							
								
								Fix all warnings when compiling with mingw64.  
							
							
							
						 
						
							2010-05-01 15:39:59 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								ef92a5725c 
								
							 
						 
						
							
							
								
								OpenSSL 1.0.0 compiled for 64 bit Windows requires linking with -lcrypt32.  
							
							
							
						 
						
							2010-05-01 15:39:03 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								0fdd7da520 
								
							 
						 
						
							
							
								
								Use intptr_t instead of long to store a pointer.  
							
							
							
						 
						
							2010-05-01 15:38:04 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								c94ede3b87 
								
							 
						 
						
							
							
								
								Define WINVER before including any other header file on Windows.  
							
							
							
						 
						
							2010-05-01 15:37:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								8b70c5be9b 
								
							 
						 
						
							
							
								
								Remove obsolete lib/ directory.  
							
							
							
						 
						
							2010-04-30 23:18:22 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								ee427cac0d 
								
							 
						 
						
							
							
								
								Do not try to free NULL pointers.  
							
							
							
						 
						
							2010-04-30 23:13:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								113458c286 
								
							 
						 
						
							
							
								
								Use correct digest length when checking a received key.  
							
							
							
						 
						
							2010-04-30 23:11:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								76b41ba20d 
								
							 
						 
						
							
							
								
								Add missing return statement.  
							
							
							
						 
						
							2010-04-17 12:33:36 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								2911af6e23 
								
							 
						 
						
							
							
								
								Fix merge of commit  4a0b998151.  
							
							
							
						 
						
							2010-04-17 12:33:15 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								79e46d08a4 
								
							 
						 
						
							
							
								
								Merge branch 'master' into 1.1  
							
							... 
							
							
							
							Conflicts:
	NEWS
	README
	configure.in
	src/net.c
	src/net.h 
							
						 
						
							2010-04-17 12:21:53 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								4ce4af4c71 
								
							 
						 
						
							
							
								
								Fix experimental GUI when reading hexadecimal values.  
							
							
							
						 
						
							2010-04-17 12:03:08 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								4766359e14 
								
							 
						 
						
							
							
								
								Fix reading configuration files that do not end with a newline. Again.  
							
							
							
						 
						
							2010-04-17 12:01:38 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								26b8cf8680 
								
							 
						 
						
							
							
								
								Releasing 1.0.13.  
							
							
							
						 
						
							2010-04-11 20:40:20 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								74653beb5b 
								
							 
						 
						
							
							
								
								Mark Forwarding and DirectOnly options as being experimental.  
							
							
							
						 
						
							2010-04-11 19:47:44 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								0ddce6370d 
								
							 
						 
						
							
							
								
								Don't redefine MAX if it already exists.  
							
							
							
						 
						
							2010-04-11 19:39:31 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								a9bbb3357a 
								
							 
						 
						
							
							
								
								Fixes for definitions under Windows.  
							
							
							
						 
						
							2010-04-11 19:20:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								4708f2c89e 
								
							 
						 
						
							
							
								
								Ensure subnet-up/down scripts are called after HUP when necessary.  
							
							
							
						 
						
							2010-04-11 18:34:50 +02:00