tinc
22 years agoDon't forget to set prevhop to myself for new connections.
Guus Sliepen [Wed, 4 Sep 2002 08:36:34 +0000 (08:36 +0000)]
Don't forget to set prevhop to myself for new connections.

22 years agoPrevent looping DEL_NODE/ADD_NODE messages after a node disconnects.
Guus Sliepen [Wed, 4 Sep 2002 08:33:08 +0000 (08:33 +0000)]
Prevent looping DEL_NODE/ADD_NODE messages after a node disconnects.

22 years agoReduce KEY_CHANGED traffic.
Guus Sliepen [Wed, 4 Sep 2002 08:02:33 +0000 (08:02 +0000)]
Reduce KEY_CHANGED traffic.

22 years agoWoops.
Guus Sliepen [Tue, 3 Sep 2002 22:49:55 +0000 (22:49 +0000)]
Woops.

22 years agoA reachable node is always more preferable to an unreachable one...
Guus Sliepen [Tue, 3 Sep 2002 22:37:49 +0000 (22:37 +0000)]
A reachable node is always more preferable to an unreachable one...

22 years agoDrop graph and edge stuff. Use new node stuff instead.
Guus Sliepen [Tue, 3 Sep 2002 20:43:26 +0000 (20:43 +0000)]
Drop graph and edge stuff. Use new node stuff instead.

22 years agoMake sure setlocale() is available.
Guus Sliepen [Tue, 3 Sep 2002 20:42:05 +0000 (20:42 +0000)]
Make sure setlocale() is available.

22 years agoReplacement for the current routing algorithm.
Guus Sliepen [Mon, 2 Sep 2002 22:40:42 +0000 (22:40 +0000)]
Replacement for the current routing algorithm.

22 years agoCheck for ranlib.
Guus Sliepen [Sat, 24 Aug 2002 12:54:55 +0000 (12:54 +0000)]
Check for ranlib.

22 years agoGettext 1.11.5 compatibility.
Guus Sliepen [Sat, 24 Aug 2002 12:11:40 +0000 (12:11 +0000)]
Gettext 1.11.5 compatibility.

22 years agoAdded support for raw sockets. This can be used instead of tun/tap devices.
Guus Sliepen [Thu, 18 Jul 2002 14:30:45 +0000 (14:30 +0000)]
Added support for raw sockets. This can be used instead of tun/tap devices.

22 years agoDon't bother to chown, and correctly document ConnectTo.
Guus Sliepen [Tue, 16 Jul 2002 13:18:27 +0000 (13:18 +0000)]
Don't bother to chown, and correctly document ConnectTo.

22 years agoAllow tincd to be locked into main memory.
Guus Sliepen [Tue, 16 Jul 2002 13:12:49 +0000 (13:12 +0000)]
Allow tincd to be locked into main memory.

22 years agoInclude complete fake-getname/addrinfo from OpenSSH.
Guus Sliepen [Fri, 12 Jul 2002 11:45:21 +0000 (11:45 +0000)]
Include complete fake-getname/addrinfo from OpenSSH.

22 years agoAdded stub device.c for Cygwin.
Guus Sliepen [Thu, 11 Jul 2002 12:57:06 +0000 (12:57 +0000)]
Added stub device.c for Cygwin.

22 years agoStarted port to Cygwin.
Guus Sliepen [Thu, 11 Jul 2002 12:55:58 +0000 (12:55 +0000)]
Started port to Cygwin.

22 years agoClear subnets before using them.
Guus Sliepen [Thu, 11 Jul 2002 12:42:43 +0000 (12:42 +0000)]
Clear subnets before using them.

22 years agoAllow identical subnets from different owners.
Guus Sliepen [Wed, 10 Jul 2002 11:32:33 +0000 (11:32 +0000)]
Allow identical subnets from different owners.

22 years agoAllow list of environment variables to be passed to execute_script().
Guus Sliepen [Wed, 10 Jul 2002 11:27:06 +0000 (11:27 +0000)]
Allow list of environment variables to be passed to execute_script().
When executing host-up/down scripts, include the address and port of the
remote host.

22 years agoFix for prefixlengths of 32 (IPv4) and 128 (IPv6) bits.
Guus Sliepen [Fri, 21 Jun 2002 17:49:48 +0000 (17:49 +0000)]
Fix for prefixlengths of 32 (IPv4) and 128 (IPv6) bits.

22 years agos/sliepen.warande.net/sliepen.eu.org/g
Guus Sliepen [Fri, 21 Jun 2002 10:11:37 +0000 (10:11 +0000)]
s/sliepen.warande.net/sliepen.eu.org/g
s/itimmermans@bigfoot.com/ivo@o2w.nl/g

22 years agoUpdate comments about IPv6 autoconfiguration.
Guus Sliepen [Fri, 14 Jun 2002 11:51:29 +0000 (11:51 +0000)]
Update comments about IPv6 autoconfiguration.

22 years agoReset listen_sockets after SIGHUP.
Guus Sliepen [Thu, 13 Jun 2002 16:12:40 +0000 (16:12 +0000)]
Reset listen_sockets after SIGHUP.

22 years agoAdd configuration details for NetBSD and Darwin (MacOS/X).
Guus Sliepen [Wed, 12 Jun 2002 13:45:23 +0000 (13:45 +0000)]
Add configuration details for NetBSD and Darwin (MacOS/X).

22 years agoAutoconf cleanup. Works for both 2.13 and 2.53, although running autoconf
Guus Sliepen [Tue, 11 Jun 2002 11:03:17 +0000 (11:03 +0000)]
Autoconf cleanup. Works for both 2.13 and 2.53, although running autoconf
2.53 still gives some errors.

22 years agoInclude darwin/device.c in distribution.
Guus Sliepen [Mon, 10 Jun 2002 15:08:23 +0000 (15:08 +0000)]
Include darwin/device.c in distribution.

22 years agoUse darwin/device.c when compiling on MacOS/X.
Guus Sliepen [Mon, 10 Jun 2002 14:35:18 +0000 (14:35 +0000)]
Use darwin/device.c when compiling on MacOS/X.

22 years agoAdded Darwin (MacOS/X) tun device handling.
Guus Sliepen [Mon, 10 Jun 2002 14:33:40 +0000 (14:33 +0000)]
Added Darwin (MacOS/X) tun device handling.

22 years agoAdded Alessandro Gatti
Ivo Timmermans [Sun, 9 Jun 2002 16:23:12 +0000 (16:23 +0000)]
Added Alessandro Gatti

22 years agoInclude netbsd's device.c in make dist
Ivo Timmermans [Sun, 9 Jun 2002 16:19:20 +0000 (16:19 +0000)]
Include netbsd's device.c in make dist

22 years agoInclude a few more header files
Ivo Timmermans [Sun, 9 Jun 2002 16:12:04 +0000 (16:12 +0000)]
Include a few more header files

22 years agoAdd /sw/{include,lib} to search paths if they exist
Ivo Timmermans [Sun, 9 Jun 2002 15:58:05 +0000 (15:58 +0000)]
Add /sw/{include,lib} to search paths if they exist

22 years agogetnameinfo fixes
Ivo Timmermans [Sun, 9 Jun 2002 15:50:12 +0000 (15:50 +0000)]
getnameinfo fixes

22 years agoOSX support
Ivo Timmermans [Sun, 9 Jun 2002 15:26:10 +0000 (15:26 +0000)]
OSX support

22 years ago- netinet/* include files depend on netinet/in_systm.h.
Guus Sliepen [Sat, 8 Jun 2002 14:08:57 +0000 (14:08 +0000)]
- netinet/* include files depend on netinet/in_systm.h.
- Squash bashism in configure.in.

22 years agoUse inttypes.h instead of stdint.h.
Guus Sliepen [Sat, 8 Jun 2002 13:46:43 +0000 (13:46 +0000)]
Use inttypes.h instead of stdint.h.

22 years agoCleanup:
Guus Sliepen [Sat, 8 Jun 2002 12:57:10 +0000 (12:57 +0000)]
Cleanup:
 - Remove checks for specific OS's, instead check for #defines/#includes.
 - Use uint??_t where appropriate.
 - Mask handling functions use void pointers to get rid of silly casts.

22 years agoThis should work much better.
Wessel Dankers [Fri, 7 Jun 2002 11:14:05 +0000 (11:14 +0000)]
This should work much better.

22 years agoUse correct includes on NetBSD.
Guus Sliepen [Wed, 5 Jun 2002 00:25:55 +0000 (00:25 +0000)]
Use correct includes on NetBSD.

22 years agoMake it work correctly with NetBSD tun device.
Guus Sliepen [Wed, 5 Jun 2002 00:20:40 +0000 (00:20 +0000)]
Make it work correctly with NetBSD tun device.

22 years agoSupport RSA_PUBKEYs (as opposed to RSAPublicKeys) so tinc accepts
Guus Sliepen [Sun, 2 Jun 2002 16:06:33 +0000 (16:06 +0000)]
Support RSA_PUBKEYs (as opposed to RSAPublicKeys) so tinc accepts
public keys generated by the OpenSSL command line tools.

22 years agoOnly purge once when there are no more connections.
Guus Sliepen [Wed, 1 May 2002 09:15:58 +0000 (09:15 +0000)]
Only purge once when there are no more connections.

22 years agoFix very stupid bug in node_del(), which might have caused corruption of
Guus Sliepen [Mon, 29 Apr 2002 20:05:07 +0000 (20:05 +0000)]
Fix very stupid bug in node_del(), which might have caused corruption of
subnets.

22 years agoInformative log message if execl() failed.
Guus Sliepen [Sat, 27 Apr 2002 11:40:45 +0000 (11:40 +0000)]
Informative log message if execl() failed.

22 years agoTypo
Ivo Timmermans [Fri, 26 Apr 2002 18:13:00 +0000 (18:13 +0000)]
Typo

22 years agoAdded Nick Patavalis for his RedHat package.
Guus Sliepen [Thu, 25 Apr 2002 19:17:24 +0000 (19:17 +0000)]
Added Nick Patavalis for his RedHat package.

22 years agoAdd BindToAddress variable, similar to the late BindToIP.
Guus Sliepen [Tue, 23 Apr 2002 07:49:38 +0000 (07:49 +0000)]
Add BindToAddress variable, similar to the late BindToIP.

22 years agoSupport for MaxOS/X.
Guus Sliepen [Fri, 19 Apr 2002 14:06:40 +0000 (14:06 +0000)]
Support for MaxOS/X.

22 years agoPut #ifndef checks for HAVE_RAND_PSEUDO_BYTES in the correct places.
Ivo Timmermans [Thu, 18 Apr 2002 20:09:05 +0000 (20:09 +0000)]
Put #ifndef checks for HAVE_RAND_PSEUDO_BYTES in the correct places.

22 years agoRemarks about 1.0pre7 release. release-1.0pre7
Guus Sliepen [Tue, 9 Apr 2002 11:44:47 +0000 (11:44 +0000)]
Remarks about 1.0pre7 release.

22 years agoUpdated dutch translation.
Guus Sliepen [Tue, 9 Apr 2002 11:43:45 +0000 (11:43 +0000)]
Updated dutch translation.

22 years agomasklength is better known as prefixlength
Guus Sliepen [Tue, 9 Apr 2002 11:43:29 +0000 (11:43 +0000)]
masklength is better known as prefixlength

22 years agomasklength is better known as prefixlength.
Guus Sliepen [Tue, 9 Apr 2002 11:42:48 +0000 (11:42 +0000)]
masklength is better known as prefixlength.

22 years agoAutomake forgets about depcomp, remind it.
Guus Sliepen [Mon, 8 Apr 2002 13:27:09 +0000 (13:27 +0000)]
Automake forgets about depcomp, remind it.

22 years agoFix maskcheck() and maskcmp().
Guus Sliepen [Fri, 5 Apr 2002 09:11:38 +0000 (09:11 +0000)]
Fix maskcheck() and maskcmp().

22 years agocheck_rsa() is broken, I don't know why, just remove it for now.
Guus Sliepen [Mon, 1 Apr 2002 21:28:39 +0000 (21:28 +0000)]
check_rsa() is broken, I don't know why, just remove it for now.

22 years agoDon't check_network_activity() if select() is interrupted by a signal.
Guus Sliepen [Mon, 1 Apr 2002 21:28:05 +0000 (21:28 +0000)]
Don't check_network_activity() if select() is interrupted by a signal.

22 years agoMake configure --help output look nicer.
Guus Sliepen [Wed, 27 Mar 2002 19:43:50 +0000 (19:43 +0000)]
Make configure --help output look nicer.

22 years agoUpdate with information about the pre6 release. release-1.0pre6
Guus Sliepen [Wed, 27 Mar 2002 16:26:26 +0000 (16:26 +0000)]
Update with information about the pre6 release.

22 years agoUpdate dutch translation.
Guus Sliepen [Wed, 27 Mar 2002 16:00:49 +0000 (16:00 +0000)]
Update dutch translation.

22 years agoFix format strings.
Guus Sliepen [Wed, 27 Mar 2002 16:00:38 +0000 (16:00 +0000)]
Fix format strings.

22 years agoRemove symlink to device.c when doing a make dist.
Guus Sliepen [Wed, 27 Mar 2002 15:47:06 +0000 (15:47 +0000)]
Remove symlink to device.c when doing a make dist.

22 years agoRecent automake uses $(AMTAR) instead of $(TAR)
Guus Sliepen [Wed, 27 Mar 2002 15:35:07 +0000 (15:35 +0000)]
Recent automake uses $(AMTAR) instead of $(TAR)

22 years agoRemove cruft.
Guus Sliepen [Wed, 27 Mar 2002 15:26:44 +0000 (15:26 +0000)]
Remove cruft.

22 years agoSmall updates.
Guus Sliepen [Wed, 27 Mar 2002 15:26:29 +0000 (15:26 +0000)]
Small updates.

22 years agoLimit the amount of packets in a queue to 8.
Guus Sliepen [Wed, 27 Mar 2002 15:01:37 +0000 (15:01 +0000)]
Limit the amount of packets in a queue to 8.

22 years agoExtend list_t with the number of elements in the list.
Guus Sliepen [Wed, 27 Mar 2002 15:01:16 +0000 (15:01 +0000)]
Extend list_t with the number of elements in the list.

22 years agoMerge do_prune() with build_fdset(). Probably fixes the invalid filedescriptor error.
Guus Sliepen [Wed, 27 Mar 2002 14:02:36 +0000 (14:02 +0000)]
Merge do_prune() with build_fdset(). Probably fixes the invalid filedescriptor error.

22 years agoSmall correction.
Guus Sliepen [Tue, 26 Mar 2002 13:19:56 +0000 (13:19 +0000)]
Small correction.

22 years agoFix execute_script().
Guus Sliepen [Tue, 26 Mar 2002 12:00:38 +0000 (12:00 +0000)]
Fix execute_script().

22 years agoSend REQ_KEY only once until ANS_KEY has arrived.
Guus Sliepen [Mon, 25 Mar 2002 15:51:58 +0000 (15:51 +0000)]
Send REQ_KEY only once until ANS_KEY has arrived.

22 years agoTell a little bit more about security.
Guus Sliepen [Mon, 25 Mar 2002 15:12:09 +0000 (15:12 +0000)]
Tell a little bit more about security.

22 years agoUpdated documentation.
Guus Sliepen [Mon, 25 Mar 2002 15:01:32 +0000 (15:01 +0000)]
Updated documentation.

22 years agoSet myself->status.reachable.
Guus Sliepen [Mon, 25 Mar 2002 13:54:49 +0000 (13:54 +0000)]
Set myself->status.reachable.

22 years agoConfiguration variables were still handled case sensitively.
Guus Sliepen [Sun, 24 Mar 2002 17:14:01 +0000 (17:14 +0000)]
Configuration variables were still handled case sensitively.

22 years agoOpenBSD tun device uses address family number instead of Ethernet type.
Guus Sliepen [Sun, 24 Mar 2002 17:08:38 +0000 (17:08 +0000)]
OpenBSD tun device uses address family number instead of Ethernet type.

22 years agoRespect type field.
Guus Sliepen [Sun, 24 Mar 2002 16:50:58 +0000 (16:50 +0000)]
Respect type field.

22 years agoUpdated dutch translation.
Guus Sliepen [Sun, 24 Mar 2002 16:40:14 +0000 (16:40 +0000)]
Updated dutch translation.

22 years agoSet $INTERFACE correctly when using ethertap while compiled with tun/tap support.
Guus Sliepen [Sun, 24 Mar 2002 16:36:56 +0000 (16:36 +0000)]
Set $INTERFACE correctly when using ethertap while compiled with tun/tap support.

22 years agoExecute hosts/name-up when a node becomes reachable, and hosts/name-down
Guus Sliepen [Sun, 24 Mar 2002 16:28:27 +0000 (16:28 +0000)]
Execute hosts/name-up when a node becomes reachable, and hosts/name-down
when it becomes unreachable.

22 years agoDon't try to execute scripts unless they exist.
Guus Sliepen [Sun, 24 Mar 2002 16:22:59 +0000 (16:22 +0000)]
Don't try to execute scripts unless they exist.

22 years agoReset retry timeout when receiving the first PONG, not right after receiving the...
Guus Sliepen [Sat, 23 Mar 2002 20:21:10 +0000 (20:21 +0000)]
Reset retry timeout when receiving the first PONG, not right after receiving the ACK.

22 years agoDon't run graph algorithms if no edge is deleted in terminate_connection().
Guus Sliepen [Sat, 23 Mar 2002 20:13:56 +0000 (20:13 +0000)]
Don't run graph algorithms if no edge is deleted in terminate_connection().

22 years agofree() request strings when deleting past requests from the tree.
Guus Sliepen [Sat, 23 Mar 2002 20:12:29 +0000 (20:12 +0000)]
free() request strings when deleting past requests from the tree.

22 years agosend_ack() was broken.
Guus Sliepen [Sat, 23 Mar 2002 20:01:05 +0000 (20:01 +0000)]
send_ack() was broken.

22 years agoFix compiler warnings, strictly use long int and %lx for options.
Guus Sliepen [Fri, 22 Mar 2002 13:31:18 +0000 (13:31 +0000)]
Fix compiler warnings, strictly use long int and %lx for options.

22 years agoFix add_edge_h().
Guus Sliepen [Fri, 22 Mar 2002 12:41:54 +0000 (12:41 +0000)]
Fix add_edge_h().

22 years ago- Added support for jumbograms.
Guus Sliepen [Fri, 22 Mar 2002 11:43:48 +0000 (11:43 +0000)]
- Added support for jumbograms.
- Remove tcpaddress from edges, it is not used at all.
- Last bits of code to prevent looping requests.

22 years agoPut a break on requests that run around in circles.
Guus Sliepen [Thu, 21 Mar 2002 23:11:53 +0000 (23:11 +0000)]
Put a break on requests that run around in circles.

22 years agoUpdated SSSP algorithm to automatically detect indirect links (if a node uses
Guus Sliepen [Tue, 19 Mar 2002 22:48:25 +0000 (22:48 +0000)]
Updated SSSP algorithm to automatically detect indirect links (if a node uses
different addresses for connections to other nodes).

22 years agoUpdated dutch translation.
Guus Sliepen [Tue, 19 Mar 2002 00:08:34 +0000 (00:08 +0000)]
Updated dutch translation.

22 years agoDon't use s6_addr[16|32] anymore.
Guus Sliepen [Tue, 19 Mar 2002 00:08:23 +0000 (00:08 +0000)]
Don't use s6_addr[16|32] anymore.

22 years agoCleanup.
Guus Sliepen [Tue, 19 Mar 2002 00:07:09 +0000 (00:07 +0000)]
Cleanup.

22 years agoRemember sockaddrs of listening sockets, use appropriate one when sending
Guus Sliepen [Mon, 18 Mar 2002 22:47:20 +0000 (22:47 +0000)]
Remember sockaddrs of listening sockets, use appropriate one when sending
UDP packets.

22 years agoFix #define s6_addr32.
Guus Sliepen [Mon, 18 Mar 2002 14:39:37 +0000 (14:39 +0000)]
Fix #define s6_addr32.

22 years ago#define s6_addr32, needed for FreeBSD.
Guus Sliepen [Mon, 18 Mar 2002 14:19:02 +0000 (14:19 +0000)]
#define s6_addr32, needed for FreeBSD.

22 years agoOnly unmap IPv6 addresses.
Guus Sliepen [Sun, 17 Mar 2002 16:08:39 +0000 (16:08 +0000)]
Only unmap IPv6 addresses.

22 years agoUnmap v4mapped sockaddrs.
Guus Sliepen [Sun, 17 Mar 2002 15:59:29 +0000 (15:59 +0000)]
Unmap v4mapped sockaddrs.

22 years agoTypo.
Guus Sliepen [Fri, 15 Mar 2002 15:50:14 +0000 (15:50 +0000)]
Typo.

22 years agoDifferent way of detecting neighbor solicitation requests.
Guus Sliepen [Fri, 15 Mar 2002 15:40:40 +0000 (15:40 +0000)]
Different way of detecting neighbor solicitation requests.