oweals/tinc.git
21 years agoRemove mymac stuff from device.c.
Guus Sliepen [Wed, 11 Jun 2003 19:28:38 +0000 (19:28 +0000)]
Remove mymac stuff from device.c.

21 years agoAddressFamily is "any" by default.
Guus Sliepen [Wed, 11 Jun 2003 19:27:35 +0000 (19:27 +0000)]
AddressFamily is "any" by default.

21 years agoIf we have a Linux tun/tap device and we are in router mode, open the device
Guus Sliepen [Wed, 11 Jun 2003 19:09:52 +0000 (19:09 +0000)]
If we have a Linux tun/tap device and we are in router mode, open the device
in tun mode.

21 years agoCall make_names() before doing anything else.
Guus Sliepen [Wed, 11 Jun 2003 19:07:56 +0000 (19:07 +0000)]
Call make_names() before doing anything else.

21 years agoFix warning and add missing checks for LZO library.
Guus Sliepen [Sat, 7 Jun 2003 13:18:32 +0000 (13:18 +0000)]
Fix warning and add missing checks for LZO library.

21 years agoFix links.
Guus Sliepen [Sat, 17 May 2003 22:12:52 +0000 (22:12 +0000)]
Fix links.

21 years agoSmall fixes.
Guus Sliepen [Wed, 7 May 2003 11:21:58 +0000 (11:21 +0000)]
Small fixes.

21 years agoSmall fixes to make LZO compression work.
Guus Sliepen [Tue, 6 May 2003 23:14:45 +0000 (23:14 +0000)]
Small fixes to make LZO compression work.

21 years ago- Per-node EVP_CIPHER_CTX to avoid initialisation overhead.
Guus Sliepen [Tue, 6 May 2003 21:13:18 +0000 (21:13 +0000)]
- Per-node EVP_CIPHER_CTX to avoid initialisation overhead.
- LZO compression, thanks to Teemu Kiviniemi.
- Updated dutch translation.

21 years agoMake sure outgoing_t is completely freed.
Guus Sliepen [Sat, 19 Apr 2003 11:12:45 +0000 (11:12 +0000)]
Make sure outgoing_t is completely freed.

21 years agoBetter handling of late packets.
Guus Sliepen [Fri, 18 Apr 2003 21:18:36 +0000 (21:18 +0000)]
Better handling of late packets.

21 years agoHUP signal now closes connections to hosts if their host config file is
Guus Sliepen [Thu, 3 Apr 2003 11:43:17 +0000 (11:43 +0000)]
HUP signal now closes connections to hosts if their host config file is
gone or changed. The tinc.conf file is reread for changes in the ConnectTo
lines.

21 years agoChecksums must also work for uneven number of bytes.
Guus Sliepen [Sat, 29 Mar 2003 22:11:22 +0000 (22:11 +0000)]
Checksums must also work for uneven number of bytes.

21 years agoDon't copy more than necessary.
Guus Sliepen [Sat, 29 Mar 2003 21:58:35 +0000 (21:58 +0000)]
Don't copy more than necessary.

21 years ago- Speed up checksumming
Guus Sliepen [Sat, 29 Mar 2003 21:51:21 +0000 (21:51 +0000)]
- Speed up checksumming
- If a destination is not found in the subnet list or the destination node
  is unreachable, respond with an appropiate ICMP message.

21 years ago- Avoid memory leak caused by OpenSSL 0.9.7a.
Guus Sliepen [Fri, 28 Mar 2003 13:41:49 +0000 (13:41 +0000)]
- Avoid memory leak caused by OpenSSL 0.9.7a.
- Disable RSA_blinding_on() because it segfaults.

21 years agoTypo.
Guus Sliepen [Wed, 19 Mar 2003 11:45:05 +0000 (11:45 +0000)]
Typo.

21 years agoMake sure send_meta() writes everything.
Guus Sliepen [Wed, 19 Mar 2003 11:43:42 +0000 (11:43 +0000)]
Make sure send_meta() writes everything.

21 years agoCall RSA_blinding_on(), as advised in the paper on
Ivo Timmermans [Fri, 14 Mar 2003 09:43:10 +0000 (09:43 +0000)]
Call RSA_blinding_on(), as advised in the paper on
http://crypto.stanford.edu/~dabo/abstracts/ssl-timing.html
to offer some resistance against timing attacks.

21 years agoVarious fixes for autoconf and OpenSSL 0.9.7 and a missing header.
Guus Sliepen [Fri, 17 Jan 2003 00:43:58 +0000 (00:43 +0000)]
Various fixes for autoconf and OpenSSL 0.9.7 and a missing header.

21 years ago- Fix indentation in some places.
Guus Sliepen [Fri, 17 Jan 2003 00:37:20 +0000 (00:37 +0000)]
- Fix indentation in some places.
- Optimise select loop.
- Remove unused function setup_outgoing_socket().
- Clear EVP_CIPHER_CTX structures before using them.

21 years agoAdd $NAME for tinc-up/down scripts.
Guus Sliepen [Tue, 14 Jan 2003 12:53:59 +0000 (12:53 +0000)]
Add $NAME for tinc-up/down scripts.

21 years agoRun graph algorithm when replacing a second connection from the same host
Guus Sliepen [Sun, 12 Jan 2003 17:02:23 +0000 (17:02 +0000)]
Run graph algorithm when replacing a second connection from the same host
replaces an older one.

21 years agoPrivateKeyFile instead of PrivateKey.
Guus Sliepen [Fri, 27 Dec 2002 19:32:33 +0000 (19:32 +0000)]
PrivateKeyFile instead of PrivateKey.

22 years agoFix PriorityInheritance.
Guus Sliepen [Thu, 14 Nov 2002 22:09:03 +0000 (22:09 +0000)]
Fix PriorityInheritance.

22 years agoAdd documentation for BindToAddress.
Guus Sliepen [Mon, 7 Oct 2002 07:32:31 +0000 (07:32 +0000)]
Add documentation for BindToAddress.

22 years agoFix saving of debug level for startup level 0
Ivo Timmermans [Mon, 30 Sep 2002 19:04:37 +0000 (19:04 +0000)]
Fix saving of debug level for startup level 0

22 years agoRun graph() after edge_del() when updating an edge.
Guus Sliepen [Tue, 24 Sep 2002 11:43:34 +0000 (11:43 +0000)]
Run graph() after edge_del() when updating an edge.

22 years agoits: Engels voor "van het" - 3e persoon enkelvoud, genitief, onzijdig
Wessel Dankers [Mon, 16 Sep 2002 14:08:04 +0000 (14:08 +0000)]
its: Engels voor "van het" - 3e persoon enkelvoud, genitief, onzijdig
it's: Engels voor "het is". Dus niet "van het".

22 years agoThank some more people.
Guus Sliepen [Sun, 15 Sep 2002 22:37:59 +0000 (22:37 +0000)]
Thank some more people.

22 years agoRemarks about 1.0pre8 release. release-1.0pre8
Guus Sliepen [Sun, 15 Sep 2002 22:34:25 +0000 (22:34 +0000)]
Remarks about 1.0pre8 release.

22 years agoUpdate documentation.
Guus Sliepen [Sun, 15 Sep 2002 22:19:38 +0000 (22:19 +0000)]
Update documentation.

22 years agoUse /dev/net/tun as default for tun/tap device under Linux.
Guus Sliepen [Sun, 15 Sep 2002 22:19:19 +0000 (22:19 +0000)]
Use /dev/net/tun as default for tun/tap device under Linux.

22 years agoUpdated dutch translation.
Guus Sliepen [Sun, 15 Sep 2002 17:40:00 +0000 (17:40 +0000)]
Updated dutch translation.

22 years agoSmall fixes so tinc compiles out of the box on SunOS 5.8
Guus Sliepen [Sun, 15 Sep 2002 14:55:54 +0000 (14:55 +0000)]
Small fixes so tinc compiles out of the box on SunOS 5.8

22 years agoport_t isn't used anymore and conflicts with MacOS/X headers.
Guus Sliepen [Sun, 15 Sep 2002 12:26:24 +0000 (12:26 +0000)]
port_t isn't used anymore and conflicts with MacOS/X headers.

22 years agoMacOS/X needs #define _P1003_1B_VISIBLE in order to use mlockall().
Guus Sliepen [Sun, 15 Sep 2002 12:26:04 +0000 (12:26 +0000)]
MacOS/X needs #define _P1003_1B_VISIBLE in order to use mlockall().

22 years agoWhat was I thinking?
Guus Sliepen [Wed, 11 Sep 2002 22:25:58 +0000 (22:25 +0000)]
What was I thinking?

22 years agoMake sure malloc() is declared.
Guus Sliepen [Tue, 10 Sep 2002 22:13:22 +0000 (22:13 +0000)]
Make sure malloc() is declared.

22 years agoFix placement of #include "config.h"
Guus Sliepen [Tue, 10 Sep 2002 22:13:01 +0000 (22:13 +0000)]
Fix placement of #include "config.h"

22 years agoLink with libintl if necessary.
Guus Sliepen [Tue, 10 Sep 2002 21:46:05 +0000 (21:46 +0000)]
Link with libintl if necessary.

22 years agoClean up after indent.
Guus Sliepen [Tue, 10 Sep 2002 21:29:42 +0000 (21:29 +0000)]
Clean up after indent.

22 years agoFix compiler warnings.
Guus Sliepen [Tue, 10 Sep 2002 09:40:25 +0000 (09:40 +0000)]
Fix compiler warnings.

22 years agoLet GCC check format string and arguments of send_request().
Guus Sliepen [Mon, 9 Sep 2002 22:41:56 +0000 (22:41 +0000)]
Let GCC check format string and arguments of send_request().

22 years agoRemove redundant spaces.
Guus Sliepen [Mon, 9 Sep 2002 22:33:31 +0000 (22:33 +0000)]
Remove redundant spaces.

22 years agoSwitch to K&R style indentation.
Guus Sliepen [Mon, 9 Sep 2002 21:49:16 +0000 (21:49 +0000)]
Switch to K&R style indentation.

22 years agoSwitch to K&R style indentation.
Guus Sliepen [Mon, 9 Sep 2002 21:25:28 +0000 (21:25 +0000)]
Switch to K&R style indentation.

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

22 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?

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

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

22 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().

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

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

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

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

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

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

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

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

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

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

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

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

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.