tinc
15 years agopopen() requires pclose().
Guus Sliepen [Sat, 11 Nov 2006 14:37:03 +0000 (14:37 +0000)]
popen() requires pclose().

15 years agoAdded graph dumping ability based on Markus Goetz's patch.
Guus Sliepen [Sat, 11 Nov 2006 14:11:16 +0000 (14:11 +0000)]
Added graph dumping ability based on Markus Goetz's patch.

15 years agoThe "active" bit in node.status is not used.
Guus Sliepen [Sat, 11 Nov 2006 13:43:00 +0000 (13:43 +0000)]
The "active" bit in node.status is not used.

15 years agomemcpy() addresses from packet headers before calling the lookup functions.
Guus Sliepen [Wed, 9 Aug 2006 22:31:10 +0000 (22:31 +0000)]
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.

15 years agoRemove unused variable.
Guus Sliepen [Tue, 8 Aug 2006 13:50:58 +0000 (13:50 +0000)]
Remove unused variable.

15 years agoRemove unused parameter from maskcmp().
Guus Sliepen [Tue, 8 Aug 2006 13:44:37 +0000 (13:44 +0000)]
Remove unused parameter from maskcmp().

15 years agoRemove unused variables.
Guus Sliepen [Tue, 8 Aug 2006 13:44:19 +0000 (13:44 +0000)]
Remove unused variables.

15 years agoFix format string warnings.
Guus Sliepen [Tue, 8 Aug 2006 13:29:17 +0000 (13:29 +0000)]
Fix format string warnings.

15 years agoDo not break strict aliasing of status_t structs.
Guus Sliepen [Tue, 8 Aug 2006 13:21:08 +0000 (13:21 +0000)]
Do not break strict aliasing of status_t structs.

15 years agoAdd generic host-up and host-down scripts.
Guus Sliepen [Mon, 12 Jun 2006 21:45:39 +0000 (21:45 +0000)]
Add generic host-up and host-down scripts.
Thanks to Menno Smits for a patch.

15 years agoUse memcpy() to copy sockaddrs returned by getaddrinfo().
Guus Sliepen [Sun, 11 Jun 2006 18:53:27 +0000 (18:53 +0000)]
Use memcpy() to copy sockaddrs returned by getaddrinfo().
Thanks to Miles Nordin for spotting this.

15 years agoRestore length of the original packet in send_udppacket().
Guus Sliepen [Wed, 26 Apr 2006 16:29:47 +0000 (16:29 +0000)]
Restore length of the original packet in send_udppacket().

15 years agoUpdate copyright notices, remove Ivo's email address.
Guus Sliepen [Wed, 26 Apr 2006 13:52:58 +0000 (13:52 +0000)]
Update copyright notices, remove Ivo's email address.

15 years agoFix a bug in handling prefixlengths that are not a multiple of 4.
Guus Sliepen [Wed, 12 Apr 2006 08:38:35 +0000 (08:38 +0000)]
Fix a bug in handling prefixlengths that are not a multiple of 4.
Thanks to Sven-Haegar Koch for spotting the bug and providing the fix.

15 years agoFix signedness compiler warnings.
Guus Sliepen [Sun, 19 Mar 2006 13:06:21 +0000 (13:06 +0000)]
Fix signedness compiler warnings.

15 years agoExport flush_meta().
Guus Sliepen [Sun, 19 Mar 2006 12:43:45 +0000 (12:43 +0000)]
Export flush_meta().

15 years agoMissing #include.
Guus Sliepen [Sun, 19 Mar 2006 12:43:28 +0000 (12:43 +0000)]
Missing #include.

15 years agoMake sure $NAME is set correctly when executing tinc-down script.
Guus Sliepen [Mon, 6 Feb 2006 12:30:51 +0000 (12:30 +0000)]
Make sure $NAME is set correctly when executing tinc-down script.

15 years agoApply patch from Scott Lamb adding an output buffer for the TCP sockets.
Guus Sliepen [Thu, 19 Jan 2006 17:13:18 +0000 (17:13 +0000)]
Apply patch from Scott Lamb adding an output buffer for the TCP sockets.
This helps coalescing multiple send_meta() commands into one TCP packet.
Also limit the size of the output buffer before dropping PACKETs.

15 years agoApply patch from Scott Lamb unifying configuration of TCP socket options.
Guus Sliepen [Fri, 13 Jan 2006 11:21:59 +0000 (11:21 +0000)]
Apply patch from Scott Lamb unifying configuration of TCP socket options.

15 years agoEVP_Cleanup() when quitting.
Guus Sliepen [Fri, 13 Jan 2006 11:09:19 +0000 (11:09 +0000)]
EVP_Cleanup() when quitting.

16 years agoEnable OpenSSL ENGINE, so crypto hardware gets used. Thanks to Andreas van Cranenburgh.
Guus Sliepen [Wed, 16 Nov 2005 10:45:11 +0000 (10:45 +0000)]
Enable OpenSSL ENGINE, so crypto hardware gets used. Thanks to Andreas van Cranenburgh.

16 years agoAdd alloca.h to the list of necessary header files.
Guus Sliepen [Fri, 3 Jun 2005 10:56:02 +0000 (10:56 +0000)]
Add alloca.h to the list of necessary header files.

16 years agoPrevent possible buffer overflows when using very large (>= 8192 bit) RSA keys.
Guus Sliepen [Fri, 3 Jun 2005 10:16:03 +0000 (10:16 +0000)]
Prevent possible buffer overflows when using very large (>= 8192 bit) RSA keys.
Thanks to Tonnerre Lombard for noticing!

16 years agoReleasing 1.0.4. release-1.0.4
Guus Sliepen [Wed, 4 May 2005 19:38:28 +0000 (19:38 +0000)]
Releasing 1.0.4.

16 years agoUpdate copyright notices.
Guus Sliepen [Wed, 4 May 2005 18:09:30 +0000 (18:09 +0000)]
Update copyright notices.

16 years agoDescribe subnet-up/down scripts in documentation.
Guus Sliepen [Wed, 4 May 2005 16:53:11 +0000 (16:53 +0000)]
Describe subnet-up/down scripts in documentation.

16 years agoSeveral splay tree fixes.
Guus Sliepen [Wed, 4 May 2005 15:56:25 +0000 (15:56 +0000)]
Several splay tree fixes.

16 years agoSearching through splay trees may change the tree variable.
Guus Sliepen [Wed, 4 May 2005 15:52:55 +0000 (15:52 +0000)]
Searching through splay trees may change the tree variable.

16 years agoBe on the safe side with initialisation of c->name.
Guus Sliepen [Wed, 4 May 2005 15:51:45 +0000 (15:51 +0000)]
Be on the safe side with initialisation of c->name.

16 years agoRemove unused (and potentially segfaulting) net2str() call.
Guus Sliepen [Wed, 6 Apr 2005 20:43:37 +0000 (20:43 +0000)]
Remove unused (and potentially segfaulting) net2str() call.

16 years agoDon't try to add a non-existing node back to the node_udp_tree.
Guus Sliepen [Thu, 20 Jan 2005 15:14:25 +0000 (15:14 +0000)]
Don't try to add a non-existing node back to the node_udp_tree.

16 years agoNodes should only be in the node_udp_tree if they are reachable.
Guus Sliepen [Tue, 4 Jan 2005 22:19:56 +0000 (22:19 +0000)]
Nodes should only be in the node_udp_tree if they are reachable.

16 years agoCorrect size argument for strncat().
Guus Sliepen [Tue, 4 Jan 2005 22:18:58 +0000 (22:18 +0000)]
Correct size argument for strncat().

17 years agoUse the proper free function.
Guus Sliepen [Fri, 3 Dec 2004 13:27:33 +0000 (13:27 +0000)]
Use the proper free function.

17 years agoFree memory used by connection_t after it is deleted from the connection tree.
Guus Sliepen [Fri, 3 Dec 2004 13:22:18 +0000 (13:22 +0000)]
Free memory used by connection_t after it is deleted from the connection tree.

17 years agoSmall fix.
Guus Sliepen [Wed, 1 Dec 2004 21:26:51 +0000 (21:26 +0000)]
Small fix.

17 years agosubnet-up/down hooks, use list_t for the todo list.
Guus Sliepen [Wed, 1 Dec 2004 20:06:39 +0000 (20:06 +0000)]
subnet-up/down hooks, use list_t for the todo list.

17 years agosubnet-up/down hooks
Guus Sliepen [Wed, 1 Dec 2004 20:06:05 +0000 (20:06 +0000)]
subnet-up/down hooks

17 years agoFix splay tree code.
Guus Sliepen [Thu, 18 Nov 2004 20:34:48 +0000 (20:34 +0000)]
Fix splay tree code.

17 years agoMake sure broadcast packet reach the local network interface.
Guus Sliepen [Tue, 16 Nov 2004 19:02:54 +0000 (19:02 +0000)]
Make sure broadcast packet reach the local network interface.

17 years agoReleasing 1.0.3. release-1.0.3
Guus Sliepen [Thu, 11 Nov 2004 19:42:25 +0000 (19:42 +0000)]
Releasing 1.0.3.

17 years agoAdd more people who have contributed to tinc.
Guus Sliepen [Thu, 11 Nov 2004 19:39:28 +0000 (19:39 +0000)]
Add more people who have contributed to tinc.
Remove details and sort on name;
the details were not always equally accurate and are hard to maintain.

17 years agoShort readme about how to compile tinc from a Subversion checkout.
Guus Sliepen [Thu, 11 Nov 2004 11:17:04 +0000 (11:17 +0000)]
Short readme about how to compile tinc from a Subversion checkout.

17 years agoUpdated dutch translation.
Guus Sliepen [Wed, 10 Nov 2004 23:28:32 +0000 (23:28 +0000)]
Updated dutch translation.

17 years agoRemove duplication.
Guus Sliepen [Wed, 10 Nov 2004 23:21:41 +0000 (23:21 +0000)]
Remove duplication.

17 years agoSet BSD tuns to broadcast mode. On OpenBSD, this enables IPv6 on the tun device!
Guus Sliepen [Wed, 10 Nov 2004 23:20:59 +0000 (23:20 +0000)]
Set BSD tuns to broadcast mode. On OpenBSD, this enables IPv6 on the tun device!

17 years agoUpdate documentation.
Guus Sliepen [Wed, 10 Nov 2004 21:57:04 +0000 (21:57 +0000)]
Update documentation.

17 years agoAdd BlockingTCP option, useful when using TCPOnly on slow or congested links.
Guus Sliepen [Wed, 10 Nov 2004 21:56:31 +0000 (21:56 +0000)]
Add BlockingTCP option, useful when using TCPOnly on slow or congested links.

17 years agoSupport tunneling IPv6 on Solaris.
Guus Sliepen [Wed, 10 Nov 2004 21:14:08 +0000 (21:14 +0000)]
Support tunneling IPv6 on Solaris.

17 years agoLet compiler decide when to inline.
Guus Sliepen [Wed, 10 Nov 2004 19:36:02 +0000 (19:36 +0000)]
Let compiler decide when to inline.

17 years agoFix order of arguments for tar.
Guus Sliepen [Wed, 10 Nov 2004 19:34:38 +0000 (19:34 +0000)]
Fix order of arguments for tar.

17 years agoUse the generic BSD tun/tap code.
Guus Sliepen [Wed, 10 Nov 2004 18:11:44 +0000 (18:11 +0000)]
Use the generic BSD tun/tap code.

17 years agoMissing check for NULL-pointer.
Guus Sliepen [Wed, 10 Nov 2004 18:10:59 +0000 (18:10 +0000)]
Missing check for NULL-pointer.

17 years agoHopefully this really fixes late packet handling.
Guus Sliepen [Tue, 9 Nov 2004 09:51:35 +0000 (09:51 +0000)]
Hopefully this really fixes late packet handling.

17 years agoFixed another bug in late packet handling.
Guus Sliepen [Mon, 8 Nov 2004 22:30:13 +0000 (22:30 +0000)]
Fixed another bug in late packet handling.

17 years agoUpdate to make it compile again.
Guus Sliepen [Mon, 8 Nov 2004 22:11:33 +0000 (22:11 +0000)]
Update to make it compile again.

17 years agoHoopjumping to get the default directories in the manuals properly.
Guus Sliepen [Mon, 8 Nov 2004 22:03:28 +0000 (22:03 +0000)]
Hoopjumping to get the default directories in the manuals properly.

17 years agoSplay trees.
Guus Sliepen [Tue, 2 Nov 2004 20:50:53 +0000 (20:50 +0000)]
Splay trees.

17 years agoDon't include .svn directory in sample configuration.
Guus Sliepen [Mon, 1 Nov 2004 17:05:09 +0000 (17:05 +0000)]
Don't include .svn directory in sample configuration.

17 years agoCheck for sys/uio.h, net/if_tun.h and net/if_tap.h
Guus Sliepen [Mon, 1 Nov 2004 17:04:28 +0000 (17:04 +0000)]
Check for sys/uio.h, net/if_tun.h and net/if_tap.h

17 years agostatic
Guus Sliepen [Mon, 1 Nov 2004 17:02:19 +0000 (17:02 +0000)]
static

17 years agoGeneric device driver for *BSD and MacOS/X
Guus Sliepen [Mon, 1 Nov 2004 17:01:56 +0000 (17:01 +0000)]
Generic device driver for *BSD and MacOS/X

17 years agoSupport alternative tun/tap driver from http://www-user.rhrk.uni-kl.de/~nissler/tuntap/
Guus Sliepen [Mon, 1 Nov 2004 15:18:53 +0000 (15:18 +0000)]
Support alternative tun/tap driver from www-user.rhrk.uni-kl.de/~nissler/tuntap/

17 years agoDon't let tinc service depend on NDIS component.
Guus Sliepen [Mon, 1 Nov 2004 15:18:22 +0000 (15:18 +0000)]
Don't let tinc service depend on NDIS component.

17 years agoCorrect return value.
Guus Sliepen [Mon, 1 Nov 2004 15:16:12 +0000 (15:16 +0000)]
Correct return value.

17 years agoAllow tinc to work with the latest TAP-Win32 driver.
Guus Sliepen [Fri, 1 Oct 2004 18:26:15 +0000 (18:26 +0000)]
Allow tinc to work with the latest TAP-Win32 driver.

17 years agostrndupa() is too arcane for some environments.
Guus Sliepen [Fri, 1 Oct 2004 18:24:41 +0000 (18:24 +0000)]
strndupa() is too arcane for some environments.

17 years agoFix several #includes.
Guus Sliepen [Fri, 1 Oct 2004 18:23:08 +0000 (18:23 +0000)]
Fix several #includes.

17 years agoMove all #ifdef HAVE_HEADER_H #include <header.h> to have.h,
Guus Sliepen [Fri, 1 Oct 2004 18:22:06 +0000 (18:22 +0000)]
Move all #ifdef HAVE_HEADER_H #include <header.h> to have.h,
this allows for simplification of configure.in.

17 years agoRemove duplicate #include "system.h"
Guus Sliepen [Mon, 20 Sep 2004 20:56:14 +0000 (20:56 +0000)]
Remove duplicate #include "system.h"

17 years agoMarking potential late packets was in the wrong place.
Guus Sliepen [Mon, 20 Sep 2004 20:55:49 +0000 (20:55 +0000)]
Marking potential late packets was in the wrong place.

17 years agoDon't set $INTERFACE automatically, don't quit on EINTR/EAGAIN.
Guus Sliepen [Sat, 17 Jul 2004 12:04:30 +0000 (12:04 +0000)]
Don't set $INTERFACE automatically, don't quit on EINTR/EAGAIN.

17 years agoAdded UML network socket handling.
Guus Sliepen [Sat, 17 Jul 2004 00:09:14 +0000 (00:09 +0000)]
Added UML network socket handling.
Now you can use tinc instead of uml_switch.

17 years agoHandle timeouts during connecting the same way as other errors.
Guus Sliepen [Mon, 21 Jun 2004 14:37:52 +0000 (14:37 +0000)]
Handle timeouts during connecting the same way as other errors.

17 years agoClean up environment after executing scripts.
Guus Sliepen [Mon, 14 Jun 2004 14:32:10 +0000 (14:32 +0000)]
Clean up environment after executing scripts.

17 years agoIncrease MTU by 4 bytes to allow VLAN tagged Ethernet frames in hub and switch mode.
Guus Sliepen [Thu, 15 Apr 2004 14:09:56 +0000 (14:09 +0000)]
Increase MTU by 4 bytes to allow VLAN tagged Ethernet frames in hub and switch mode.

17 years agoUpdate copyrights, links, email addresses and let Subversion update $Id$ keywords.
Guus Sliepen [Sun, 21 Mar 2004 14:21:22 +0000 (14:21 +0000)]
Update copyrights, links, email addresses and let Subversion update $Id$ keywords.

17 years agoMove CABAL branch to its rightful place: the trunk.
Guus Sliepen [Sun, 21 Mar 2004 13:22:24 +0000 (13:22 +0000)]
Move CABAL branch to its rightful place: the trunk.

17 years agoRevert Martin Kihlgren's patch, it doesn't work the way it should.
Guus Sliepen [Sat, 20 Mar 2004 22:23:42 +0000 (22:23 +0000)]
Revert Martin Kihlgren's patch, it doesn't work the way it should.

17 years agoUse Subversion to create ChangeLog, better svn-clean rule.
Guus Sliepen [Sat, 20 Mar 2004 15:40:26 +0000 (15:40 +0000)]
Use Subversion to create ChangeLog, better svn-clean rule.

17 years agoFix declaration of update_node_address().
Guus Sliepen [Sat, 20 Mar 2004 15:33:07 +0000 (15:33 +0000)]
Fix declaration of update_node_address().

17 years agoApplied Martin Kihlgren's IdentityGenerosity patch,
Guus Sliepen [Sat, 20 Mar 2004 15:28:55 +0000 (15:28 +0000)]
Applied Martin Kihlgren's IdentityGenerosity patch,
simplified and renamed to StrictSource.

17 years agoEven better svn-clean command.
Guus Sliepen [Mon, 15 Mar 2004 19:09:52 +0000 (19:09 +0000)]
Even better svn-clean command.

17 years agoUpdating dutch translation.
Guus Sliepen [Mon, 15 Mar 2004 18:36:14 +0000 (18:36 +0000)]
Updating dutch translation.

17 years agoOnly read our public key if it wasn't already in the private key file.
Guus Sliepen [Mon, 15 Mar 2004 18:15:02 +0000 (18:15 +0000)]
Only read our public key if it wasn't already in the private key file.

17 years agoEat trailing whitespace in config files.
Guus Sliepen [Mon, 15 Mar 2004 18:05:41 +0000 (18:05 +0000)]
Eat trailing whitespace in config files.

17 years agoRemove CVS related cruft.
Guus Sliepen [Mon, 15 Mar 2004 17:54:19 +0000 (17:54 +0000)]
Remove CVS related cruft.

17 years agoReplace cvs-clean with a much better svn-clean.
Guus Sliepen [Mon, 15 Mar 2004 17:53:17 +0000 (17:53 +0000)]
Replace cvs-clean with a much better svn-clean.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r1352,
cvs2svn [Sat, 10 Jan 2004 23:21:36 +0000 (23:21 +0000)]
This commit was generated by cvs2svn to compensate for changes in r1352,
which included commits to RCS files with non-trunk default branches.

17 years agoRemove autogen.sh, the autoreconf program does exactly that.
Guus Sliepen [Sat, 10 Jan 2004 23:21:36 +0000 (23:21 +0000)]
Remove autogen.sh, the autoreconf program does exactly that.
Update everything for the latest autoconf and automake versions.

17 years agoSmall updates.
Guus Sliepen [Sat, 10 Jan 2004 23:19:20 +0000 (23:19 +0000)]
Small updates.

17 years agoDon't forget to update destination MAC address.
Guus Sliepen [Sat, 27 Dec 2003 16:32:52 +0000 (16:32 +0000)]
Don't forget to update destination MAC address.

17 years agoSmall fixes for PMTU discovery.
Guus Sliepen [Wed, 24 Dec 2003 10:48:15 +0000 (10:48 +0000)]
Small fixes for PMTU discovery.

17 years agoMissing definitions.
Guus Sliepen [Mon, 22 Dec 2003 11:05:23 +0000 (11:05 +0000)]
Missing definitions.

17 years agoImprovements for PMTU discovery and IPv4 packet fragmentation.
Guus Sliepen [Mon, 22 Dec 2003 11:04:17 +0000 (11:04 +0000)]
Improvements for PMTU discovery and IPv4 packet fragmentation.

17 years agoBetter name, show probed MTU in dump.
Guus Sliepen [Sat, 20 Dec 2003 21:25:17 +0000 (21:25 +0000)]
Better name, show probed MTU in dump.

17 years agoDescribe the TunnelServer and PMTUDiscovery options.
Guus Sliepen [Sat, 20 Dec 2003 21:20:10 +0000 (21:20 +0000)]
Describe the TunnelServer and PMTUDiscovery options.

17 years agoMore sensible name, and try to set PMTU discovery on IPv6 sockets as well.
Guus Sliepen [Sat, 20 Dec 2003 21:09:33 +0000 (21:09 +0000)]
More sensible name, and try to set PMTU discovery on IPv6 sockets as well.

17 years agoLet tinc figure out the exact MTU of the link.
Guus Sliepen [Sat, 20 Dec 2003 19:47:53 +0000 (19:47 +0000)]
Let tinc figure out the exact MTU of the link.