Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								294ce72441 
								
							 
						 
						
							
							
								
								Use libevent to handle HUP signal.  
							
							
							
						 
						
							2007-05-17 21:34:58 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								4d0621b1f3 
								
							 
						 
						
							
							
								
								Use libevent to dump graphs when necessary.  
							
							... 
							
							
							
							event_add() can be called repeatedly, the second and later calls are ignored if
the event hasn't been removed yet. 
							
						 
						
							2007-05-17 21:14:30 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								0f6f54ff8a 
								
							 
						 
						
							
							
								
								Use a separate event structure to handle meta data writes.  
							
							... 
							
							
							
							Make meta socket events persistent. 
							
						 
						
							2007-05-17 20:20:10 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								17c8033029 
								
							 
						 
						
							
							
								
								128 listener sockets is way too much.  
							
							
							
						 
						
							2007-05-17 19:52:12 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								d8dea8091f 
								
							 
						 
						
							
							
								
								Properly delete listener socket events on shutdown.  
							
							
							
						 
						
							2007-05-17 19:51:26 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								6ea1dfc995 
								
							 
						 
						
							
							
								
								Port fixes from release 1.0.8.  
							
							
							
						 
						
							2007-05-17 19:15:48 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								3730156165 
								
							 
						 
						
							
							
								
								Only free members of connection_t that have been allocated.  
							
							
							
						 
						
							2007-03-12 17:55:43 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Scott Lamb 
								
							 
						 
						
							
							
							
							
								
							
							
								39f6d59b4b 
								
							 
						 
						
							
							
								
								Lots of svn:ignore entries  
							
							
							
						 
						
							2007-02-27 08:13:41 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Scott Lamb 
								
							 
						 
						
							
							
							
							
								
							
							
								38c25d62c2 
								
							 
						 
						
							
							
								
								Convert to libevent.  
							
							... 
							
							
							
							This is a quick initial conversion that doesn't yet show much advantage:
- We roll our own timeouts.
- We roll our own signal handling.
- We build up the meta connection fd events on each loop rather than
  on state changes. 
							
						 
						
							2007-02-27 01:57:01 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Scott Lamb 
								
							 
						 
						
							
							
							
							
								
							
							
								834290b00f 
								
							 
						 
						
							
							
								
								A couple missed tevent things.  
							
							... 
							
							
							
							(Sorry; had a couple changes queued.) 
							
						 
						
							2007-02-27 01:30:57 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Scott Lamb 
								
							 
						 
						
							
							
							
							
								
							
							
								6362b12df7 
								
							 
						 
						
							
							
								
								Rename "event_t" to "tevent_t", along with associated functions.  
							
							... 
							
							
							
							This relieves some confusion and problems during the libevent transition.
In particular, "event_add" was defined by both.
(The 't' stands for 'timeout', 'tinc', 'temporary', or some such.) 
							
						 
						
							2007-02-27 01:26:11 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								54431094d9 
								
							 
						 
						
							
							
								
								Created the 1.1 branch where large code changes can take place,  
							
							... 
							
							
							
							at the same time keeping compatibility with 1.0. 
							
						 
						
							2007-02-24 22:50:42 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								ab6f76f6a9 
								
							 
						 
						
							
							
								
								Close the proper filedescriptor (if it exists).  
							
							
							
						 
						
							2007-02-14 09:32:16 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								45fca3c723 
								
							 
						 
						
							
							
								
								Apply patch from Scott Lamb fixing some memory and resource leaks.  
							
							
							
						 
						
							2007-02-14 09:21:34 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								6c6535a416 
								
							 
						 
						
							
							
								
								Apply patch from Scott Lamb preventing an infinite loop when sending SIGALRM.  
							
							
							
						 
						
							2007-02-14 09:20:20 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								16c8b0e5bb 
								
							 
						 
						
							
							
								
								Releasing 1.0.7.  
							
							
							
						 
						
							2007-01-05 15:03:07 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								a1e72f84d0 
								
							 
						 
						
							
							
								
								Update copyright notices.  
							
							
							
						 
						
							2007-01-05 13:18:36 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								a22ef25f9b 
								
							 
						 
						
							
							
								
								No things to do for the 1.0 branch except bugfixing.  
							
							
							
						 
						
							2007-01-05 13:17:33 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								d80cc7a5cc 
								
							 
						 
						
							
							
								
								rename() cannot replace existing files on Windows.  
							
							
							
						 
						
							2007-01-05 05:44:01 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								5214ece030 
								
							 
						 
						
							
							
								
								Fix generic BSD tun device to write only the actual packet length.  
							
							... 
							
							
							
							Due to a copy&paste bug, it tried to write a packet with the maximum size.
This was not a problem until the maximum size was increased to support VLANs. 
							
						 
						
							2007-01-05 04:49:02 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								40f02ff8ee 
								
							 
						 
						
							
							
								
								Tapreader socket should be bound to localhost only.  
							
							
							
						 
						
							2007-01-04 15:28:36 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								03f3fc01e8 
								
							 
						 
						
							
							
								
								Use a ringbuffer in shared memory to transfer packets from the tapreader thread to the main thread.  
							
							... 
							
							
							
							It's a wonder it ever worked before. The socket that is created is not of a
datagram type, therefore packet boundaries were not preserved, which becomes
a problem as soon as the TAP-Win32 device receives packets in fast succession. 
							
						 
						
							2007-01-03 18:18:54 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								52787a73b0 
								
							 
						 
						
							
							
								
								Releasing 1.0.6.  
							
							
							
						 
						
							2006-12-18 17:38:05 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								b32c22cf54 
								
							 
						 
						
							
							
								
								Prevent compiler warnings about redefinition of EAI_FAMILY on FreeBSD 6.1.  
							
							
							
						 
						
							2006-12-18 11:41:53 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								855806b2f7 
								
							 
						 
						
							
							
								
								Do a simple test for linux/if_tun.h instead of no test at all.  
							
							
							
						 
						
							2006-12-16 16:53:58 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								0322c0883b 
								
							 
						 
						
							
							
								
								Remove the test for linux/if_tun.h.  
							
							... 
							
							
							
							It has been available for years on any decent Linux distribution.
Although linux/if_tun.h is now required to compile tinc,
you can still run it on systems which only support Ethertap. 
							
						 
						
							2006-12-16 16:40:09 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								b55813dc0b 
								
							 
						 
						
							
							
								
								We do properly check for malloc and realloc.  
							
							
							
						 
						
							2006-12-16 16:34:04 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								5219ee25a2 
								
							 
						 
						
							
							
								
								Use standard autoconf macros instead of our own.  
							
							
							
						 
						
							2006-12-16 16:26:57 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								9d469a1969 
								
							 
						 
						
							
							
								
								Fix rule that creates html version of manpages.  
							
							
							
						 
						
							2006-12-16 16:26:08 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								dd03a00396 
								
							 
						 
						
							
							
								
								Remove old Spanish translation.  
							
							
							
						 
						
							2006-12-15 20:44:33 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								031e09f865 
								
							 
						 
						
							
							
								
								Remove unnecessary stuff from configure.in.  
							
							
							
						 
						
							2006-12-15 20:43:39 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								b834d67d7c 
								
							 
						 
						
							
							
								
								Use the correct next pointer.  
							
							
							
						 
						
							2006-12-12 14:54:39 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								8b55dfacb1 
								
							 
						 
						
							
							
								
								When building the minimum spanning tree, make sure we start from a reachable node.  
							
							
							
						 
						
							2006-12-12 14:49:09 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								47d916ec5e 
								
							 
						 
						
							
							
								
								Search for lzo/lzo1x.h, lzo2/lzo1x.h and lzo1x.h.  
							
							
							
						 
						
							2006-11-29 17:18:39 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								1bb5a284fe 
								
							 
						 
						
							
							
								
								Make sure resolved addressed for outgoing connections are freed, if there are any.  
							
							
							
						 
						
							2006-11-29 16:57:46 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								5c69c390a1 
								
							 
						 
						
							
							
								
								Releasing 1.0.5.  
							
							
							
						 
						
							2006-11-14 15:43:28 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								e5b1b5cefb 
								
							 
						 
						
							
							
								
								EWOULDBLOCK does not exist on platforms without O_NONBLOCK  
							
							
							
						 
						
							2006-11-14 12:28:04 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								3353ab37c2 
								
							 
						 
						
							
							
								
								When deleting an entire tree, start at head, not at root.  
							
							
							
						 
						
							2006-11-11 22:45:45 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								0714ac6c59 
								
							 
						 
						
							
							
								
								Nodes use events, so event system should be initialised first and destroyed last.  
							
							
							
						 
						
							2006-11-11 22:44:15 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								35e4096120 
								
							 
						 
						
							
							
								
								Update Dutch translation.  
							
							
							
						 
						
							2006-11-11 21:37:22 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								315ef3e42b 
								
							 
						 
						
							
							
								
								Document GraphDumpFile option.  
							
							
							
						 
						
							2006-11-11 20:37:58 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								8d393b30a9 
								
							 
						 
						
							
							
								
								Support and autodetect LZO version 2.0 and later.  
							
							
							
						 
						
							2006-11-11 20:10:46 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								bdb3c24cea 
								
							 
						 
						
							
							
								
								Support and autodetect LZO version 2.0 and later.  
							
							
							
						 
						
							2006-11-11 20:06:14 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								0d1ac68c59 
								
							 
						 
						
							
							
								
								popen() requires pclose().  
							
							
							
						 
						
							2006-11-11 14:37:03 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								0200d3cd5d 
								
							 
						 
						
							
							
								
								Added graph dumping ability based on Markus Goetz's patch.  
							
							
							
						 
						
							2006-11-11 14:11:16 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								1728d5b2c4 
								
							 
						 
						
							
							
								
								The "active" bit in node.status is not used.  
							
							
							
						 
						
							2006-11-11 13:43:00 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								134dc8995b 
								
							 
						 
						
							
							
								
								memcpy() addresses from packet headers before calling the lookup functions.  
							
							... 
							
							
							
							This probably fixes a problem on the ARM architecture that causes tinc to fail to lookup IPv4 addresses. 
							
						 
						
							2006-08-09 22:31:10 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								64e0519cb5 
								
							 
						 
						
							
							
								
								Remove unused variable.  
							
							
							
						 
						
							2006-08-08 13:50:58 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								ddcf079cad 
								
							 
						 
						
							
							
								
								Remove unused parameter from maskcmp().  
							
							
							
						 
						
							2006-08-08 13:44:37 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Guus Sliepen 
								
							 
						 
						
							
							
							
							
								
							
							
								c620df3c15 
								
							 
						 
						
							
							
								
								Remove unused variables.  
							
							
							
						 
						
							2006-08-08 13:44:19 +00:00