tinc
21 years agoCleanups:
Guus Sliepen [Mon, 9 Sep 2002 19:40:12 +0000 (19:40 +0000)]
Cleanups:
 - Convert cp to cp(); so that automatic indenters work.
 - Convert constructions like if(x == NULL) to if(!x).
 - Move all assignments out of conditions.

21 years agoWhy don't these connection_t's get cleaned up?
Guus Sliepen [Fri, 6 Sep 2002 21:22:35 +0000 (21:22 +0000)]
Why don't these connection_t's get cleaned up?

21 years agoFix MST algorithm.
Guus Sliepen [Fri, 6 Sep 2002 21:02:36 +0000 (21:02 +0000)]
Fix MST algorithm.

21 years agoReset the *correct* seqnos.
Guus Sliepen [Fri, 6 Sep 2002 14:31:12 +0000 (14:31 +0000)]
Reset the *correct* seqnos.

21 years agoedge_weight_compare() shouldn't rely on edge_compare().
Guus Sliepen [Fri, 6 Sep 2002 12:19:16 +0000 (12:19 +0000)]
edge_weight_compare() shouldn't rely on edge_compare().

21 years agoAdded AM_MAINTAINER_MODE
Ivo Timmermans [Fri, 6 Sep 2002 11:08:21 +0000 (11:08 +0000)]
Added AM_MAINTAINER_MODE

21 years agoRemove global edge_tree.
Guus Sliepen [Fri, 6 Sep 2002 10:23:52 +0000 (10:23 +0000)]
Remove global edge_tree.

21 years agoOnly reset seqno's when a key is sent or received.
Guus Sliepen [Fri, 6 Sep 2002 09:48:39 +0000 (09:48 +0000)]
Only reset seqno's when a key is sent or received.

21 years agoTypo.
Guus Sliepen [Wed, 4 Sep 2002 23:11:58 +0000 (23:11 +0000)]
Typo.

21 years agoAdd missing headers.
Guus Sliepen [Wed, 4 Sep 2002 23:05:49 +0000 (23:05 +0000)]
Add missing headers.

21 years agoRun autopoint and libtoolize before creating initial makefiles.
Guus Sliepen [Wed, 4 Sep 2002 23:04:52 +0000 (23:04 +0000)]
Run autopoint and libtoolize before creating initial makefiles.

21 years agoSmall updates.
Guus Sliepen [Wed, 4 Sep 2002 19:57:53 +0000 (19:57 +0000)]
Small updates.

21 years agoUpdated dutch translation.
Guus Sliepen [Wed, 4 Sep 2002 16:36:03 +0000 (16:36 +0000)]
Updated dutch translation.

21 years agoGeneralized request broadcasting/forwarding.
Guus Sliepen [Wed, 4 Sep 2002 16:26:45 +0000 (16:26 +0000)]
Generalized request broadcasting/forwarding.

21 years agoSmall fixes.
Guus Sliepen [Wed, 4 Sep 2002 14:17:28 +0000 (14:17 +0000)]
Small fixes.

21 years agoRevert to edge and graph stuff. This time, use a directed graph.
Guus Sliepen [Wed, 4 Sep 2002 13:48:52 +0000 (13:48 +0000)]
Revert to edge and graph stuff. This time, use a directed graph.

21 years agoJust ignore wrong ADD_NODEs instead of replying with a DEL_NODE, in the
Guus Sliepen [Wed, 4 Sep 2002 08:48:03 +0000 (08:48 +0000)]
Just ignore wrong ADD_NODEs instead of replying with a DEL_NODE, in the
hope other DEL_NODEs will catch up eventually.

21 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.

21 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.

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

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

21 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...

21 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.

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

21 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.

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

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

21 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.

21 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.

21 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.

21 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.

21 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.

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

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

21 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.

21 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.

21 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.

21 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

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

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

21 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).

21 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.

21 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.

21 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.

21 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.

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

21 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

21 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

21 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

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

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

21 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.

21 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.

21 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.

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

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

21 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.

21 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 agoHm.
Ivo Timmermans [Tue, 7 May 2002 14:48:41 +0000 (14:48 +0000)]
Hm.

22 years agotest 2
Ivo Timmermans [Thu, 2 May 2002 13:23:58 +0000 (13:23 +0000)]
test 2

22 years agotest
Ivo Timmermans [Thu, 2 May 2002 13:22:44 +0000 (13:22 +0000)]
test

22 years agoMoved event.c/h
Ivo Timmermans [Thu, 2 May 2002 13:11:55 +0000 (13:11 +0000)]
Moved event.c/h

22 years agoCallbacks
Ivo Timmermans [Thu, 2 May 2002 11:52:28 +0000 (11:52 +0000)]
Callbacks

22 years agoAnother file moved; random interface stuff.
Ivo Timmermans [Thu, 2 May 2002 11:50:07 +0000 (11:50 +0000)]
Another file moved; random interface stuff.

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 agoCommit diff test
Ivo Timmermans [Mon, 29 Apr 2002 20:19:42 +0000 (20:19 +0000)]
Commit diff test

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 agoMoving files, first attempt at gcrypt compatibility, more interface
Ivo Timmermans [Sun, 28 Apr 2002 12:46:26 +0000 (12:46 +0000)]
Moving files, first attempt at gcrypt compatibility, more interface
abstraction

22 years ago*** empty log message ***
Ivo Timmermans [Sun, 28 Apr 2002 12:43:40 +0000 (12:43 +0000)]
*** empty log message ***

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 agoPrint newline when writing to stderr
Ivo Timmermans [Sat, 13 Apr 2002 18:01:58 +0000 (18:01 +0000)]
Print newline when writing to stderr

22 years ago...
Ivo Timmermans [Sat, 13 Apr 2002 11:24:25 +0000 (11:24 +0000)]
...

22 years agoRename libvpn to libtinc
Ivo Timmermans [Sat, 13 Apr 2002 11:23:46 +0000 (11:23 +0000)]
Rename libvpn to libtinc

22 years agoRenamed libvpn to libtinc
Ivo Timmermans [Sat, 13 Apr 2002 11:23:19 +0000 (11:23 +0000)]
Renamed libvpn to libtinc

22 years agoInclude logging.h
Ivo Timmermans [Sat, 13 Apr 2002 11:21:58 +0000 (11:21 +0000)]
Include logging.h

22 years agoUse new logging system
Ivo Timmermans [Sat, 13 Apr 2002 11:21:01 +0000 (11:21 +0000)]
Use new logging system

22 years agoThings to ignore...
Ivo Timmermans [Sat, 13 Apr 2002 11:15:43 +0000 (11:15 +0000)]
Things to ignore...

22 years agoCompile in logging.c
Ivo Timmermans [Sat, 13 Apr 2002 11:14:50 +0000 (11:14 +0000)]
Compile in logging.c

22 years agoUse logging.h instead of syslog.h
Ivo Timmermans [Sat, 13 Apr 2002 11:08:31 +0000 (11:08 +0000)]
Use logging.h instead of syslog.h

22 years agoAdded prototype for log_syslog
Ivo Timmermans [Sat, 13 Apr 2002 11:00:41 +0000 (11:00 +0000)]
Added prototype for log_syslog

22 years agolog_default_hook was renamed to log_default
Ivo Timmermans [Sat, 13 Apr 2002 10:55:42 +0000 (10:55 +0000)]
log_default_hook was renamed to log_default

22 years agoAdded priority definitions from syslog.h
Ivo Timmermans [Sat, 13 Apr 2002 10:50:48 +0000 (10:50 +0000)]
Added priority definitions from syslog.h

22 years agoSome magic
Ivo Timmermans [Sat, 13 Apr 2002 10:45:56 +0000 (10:45 +0000)]
Some magic

22 years agoAdd syslog wrapper
Ivo Timmermans [Sat, 13 Apr 2002 10:43:10 +0000 (10:43 +0000)]
Add syslog wrapper

22 years agoAdd syslog() wrapper
Ivo Timmermans [Sat, 13 Apr 2002 10:40:09 +0000 (10:40 +0000)]
Add syslog() wrapper

22 years agoRename log_message to log
Ivo Timmermans [Sat, 13 Apr 2002 10:29:07 +0000 (10:29 +0000)]
Rename log_message to log

22 years agoNew logging system to replace syslog() calls with a generic function.
Ivo Timmermans [Sat, 13 Apr 2002 10:25:38 +0000 (10:25 +0000)]
New logging system to replace syslog() calls with a generic function.

22 years agoRemove debug_lvl
Ivo Timmermans [Sat, 13 Apr 2002 10:04:46 +0000 (10:04 +0000)]
Remove debug_lvl

22 years agoUpdate copyright info
Ivo Timmermans [Sat, 13 Apr 2002 10:02:48 +0000 (10:02 +0000)]
Update copyright info

22 years agoRemove debug level declaration
Ivo Timmermans [Sat, 13 Apr 2002 10:02:16 +0000 (10:02 +0000)]
Remove debug level declaration

22 years agoAdding even more stuff from the CABAL branch.
Guus Sliepen [Fri, 12 Apr 2002 08:25:01 +0000 (08:25 +0000)]
Adding even more stuff from the CABAL branch.

22 years agoAlso compile in pokey/
Ivo Timmermans [Thu, 11 Apr 2002 20:18:02 +0000 (20:18 +0000)]
Also compile in pokey/

22 years agoWrite src/pokey/Makefile
Ivo Timmermans [Thu, 11 Apr 2002 20:17:33 +0000 (20:17 +0000)]
Write src/pokey/Makefile

22 years agoPokey interface definition
Ivo Timmermans [Thu, 11 Apr 2002 14:27:35 +0000 (14:27 +0000)]
Pokey interface definition

22 years agoMain pokey interface files.
Ivo Timmermans [Thu, 11 Apr 2002 14:23:56 +0000 (14:23 +0000)]
Main pokey interface files.