Guus Sliepen [Tue, 22 Jul 2003 21:13:23 +0000 (21:13 +0000)]
Run setup_device() after parsing configuration but before claiming we're ready.
Guus Sliepen [Tue, 22 Jul 2003 20:55:21 +0000 (20:55 +0000)]
Use bools and enums where appropriate.
Guus Sliepen [Tue, 22 Jul 2003 12:58:34 +0000 (12:58 +0000)]
Option to specify pidfile location.
Guus Sliepen [Mon, 21 Jul 2003 19:58:58 +0000 (19:58 +0000)]
Add section about configuring Cygwin and CIPE on Windows.
Guus Sliepen [Mon, 21 Jul 2003 15:51:00 +0000 (15:51 +0000)]
Copy cygwin driver to mingw directory. It doesn't work (yet).
Guus Sliepen [Mon, 21 Jul 2003 14:47:43 +0000 (14:47 +0000)]
Use functions from logger.c
Guus Sliepen [Mon, 21 Jul 2003 13:18:44 +0000 (13:18 +0000)]
Check for sys/mman.h.
Guus Sliepen [Mon, 21 Jul 2003 13:15:36 +0000 (13:15 +0000)]
Oops.
Guus Sliepen [Mon, 21 Jul 2003 13:14:02 +0000 (13:14 +0000)]
Be consistent.
Guus Sliepen [Fri, 18 Jul 2003 14:10:27 +0000 (14:10 +0000)]
No UNIX style permissions under Windows.
Guus Sliepen [Fri, 18 Jul 2003 14:09:47 +0000 (14:09 +0000)]
Oops.
Guus Sliepen [Fri, 18 Jul 2003 13:45:06 +0000 (13:45 +0000)]
Use iface instead of interface because it might already be declared in
system header files.
Guus Sliepen [Fri, 18 Jul 2003 13:42:35 +0000 (13:42 +0000)]
Check for ethernet/ipv4/ipv6 related structures.
Guus Sliepen [Fri, 18 Jul 2003 13:41:37 +0000 (13:41 +0000)]
Update all device.c files.
Guus Sliepen [Fri, 18 Jul 2003 12:21:03 +0000 (12:21 +0000)]
Remove all #ifndefs from route.c
Guus Sliepen [Fri, 18 Jul 2003 12:16:24 +0000 (12:16 +0000)]
Even more missing definitions.
Guus Sliepen [Thu, 17 Jul 2003 15:06:27 +0000 (15:06 +0000)]
Big header file cleanup: everything that has to do with standard system
libraries is moved to system.h.
Guus Sliepen [Tue, 15 Jul 2003 16:38:18 +0000 (16:38 +0000)]
Windows headers declare a struct interface somewhere.
Guus Sliepen [Tue, 15 Jul 2003 16:27:39 +0000 (16:27 +0000)]
Make use of the CIPE driver. Woohoo, tinc for Windows!
Guus Sliepen [Tue, 15 Jul 2003 16:26:18 +0000 (16:26 +0000)]
Export mymac.
Guus Sliepen [Sat, 12 Jul 2003 20:24:04 +0000 (20:24 +0000)]
Format string checking for logger().
Guus Sliepen [Sat, 12 Jul 2003 20:19:22 +0000 (20:19 +0000)]
Removing distribution specific files from CVS.
Guus Sliepen [Sat, 12 Jul 2003 17:48:38 +0000 (17:48 +0000)]
Update copyrights.
Guus Sliepen [Sat, 12 Jul 2003 17:41:48 +0000 (17:41 +0000)]
Simplify logging, update copyrights and some minor cleanups.
Guus Sliepen [Fri, 11 Jul 2003 16:13:00 +0000 (16:13 +0000)]
More missing IPv6 definitions and autoconf checks to make sure it compiles
under Solaris 2.6.
Guus Sliepen [Mon, 7 Jul 2003 11:50:52 +0000 (11:50 +0000)]
More missing definitions.
Guus Sliepen [Mon, 7 Jul 2003 11:13:31 +0000 (11:13 +0000)]
Actually add ipv6.h.
Guus Sliepen [Mon, 7 Jul 2003 11:11:33 +0000 (11:11 +0000)]
Provide all missing IPv6 definitions in lib/ipv6.h.
Guus Sliepen [Sun, 6 Jul 2003 23:16:29 +0000 (23:16 +0000)]
Sprinkling the source with static and attributes.
Guus Sliepen [Sun, 6 Jul 2003 22:11:37 +0000 (22:11 +0000)]
Define logger(), cleans up source code and allows us to write log entries
to a separate file.
Guus Sliepen [Sun, 6 Jul 2003 17:49:49 +0000 (17:49 +0000)]
Check for IPv6 header files.
Guus Sliepen [Sun, 6 Jul 2003 17:15:25 +0000 (17:15 +0000)]
- simplify configure.in
- drop support for OpenSSL < 0.9.7
- add some missing definitions/includes
Guus Sliepen [Wed, 25 Jun 2003 20:55:05 +0000 (20:55 +0000)]
This subtle pointer arithmetic thingy is (I'm very sure of it) the cause
of the lingering connections problem. Hopefully it is fixed now...
Guus Sliepen [Wed, 25 Jun 2003 20:52:59 +0000 (20:52 +0000)]
Really make tinc default to any addressfamily.
Guus Sliepen [Thu, 12 Jun 2003 11:08:40 +0000 (11:08 +0000)]
There are two lzo compression levels.
Guus Sliepen [Wed, 11 Jun 2003 20:36:36 +0000 (20:36 +0000)]
Typo and conversion to UTF-8.
Guus Sliepen [Wed, 11 Jun 2003 20:19:46 +0000 (20:19 +0000)]
Update dutch translation.
Guus Sliepen [Wed, 11 Jun 2003 20:18:48 +0000 (20:18 +0000)]
Update documentation.
Guus Sliepen [Wed, 11 Jun 2003 19:40:43 +0000 (19:40 +0000)]
More braces to make gcc happy.
Guus Sliepen [Wed, 11 Jun 2003 19:39:02 +0000 (19:39 +0000)]
Fixes from Wessel Danker's libavl.
Guus Sliepen [Wed, 11 Jun 2003 19:28:38 +0000 (19:28 +0000)]
Remove mymac stuff from device.c.
Guus Sliepen [Wed, 11 Jun 2003 19:27:35 +0000 (19:27 +0000)]
AddressFamily is "any" by default.
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.
Guus Sliepen [Wed, 11 Jun 2003 19:07:56 +0000 (19:07 +0000)]
Call make_names() before doing anything else.
Guus Sliepen [Sat, 7 Jun 2003 13:18:32 +0000 (13:18 +0000)]
Fix warning and add missing checks for LZO library.
Guus Sliepen [Sat, 17 May 2003 22:12:52 +0000 (22:12 +0000)]
Fix links.
Guus Sliepen [Wed, 7 May 2003 11:21:58 +0000 (11:21 +0000)]
Small fixes.
Guus Sliepen [Tue, 6 May 2003 23:14:45 +0000 (23:14 +0000)]
Small fixes to make LZO compression work.
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.
Guus Sliepen [Sat, 19 Apr 2003 11:12:45 +0000 (11:12 +0000)]
Make sure outgoing_t is completely freed.
Guus Sliepen [Fri, 18 Apr 2003 21:18:36 +0000 (21:18 +0000)]
Better handling of late packets.
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.
Guus Sliepen [Sat, 29 Mar 2003 22:11:22 +0000 (22:11 +0000)]
Checksums must also work for uneven number of bytes.
Guus Sliepen [Sat, 29 Mar 2003 21:58:35 +0000 (21:58 +0000)]
Don't copy more than necessary.
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.
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.
Guus Sliepen [Wed, 19 Mar 2003 11:45:05 +0000 (11:45 +0000)]
Typo.
Guus Sliepen [Wed, 19 Mar 2003 11:43:42 +0000 (11:43 +0000)]
Make sure send_meta() writes everything.
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.
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.
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.
Guus Sliepen [Tue, 14 Jan 2003 12:53:59 +0000 (12:53 +0000)]
Add $NAME for tinc-up/down scripts.
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.
Guus Sliepen [Fri, 27 Dec 2002 19:32:33 +0000 (19:32 +0000)]
PrivateKeyFile instead of PrivateKey.
Guus Sliepen [Thu, 14 Nov 2002 22:09:03 +0000 (22:09 +0000)]
Fix PriorityInheritance.
Guus Sliepen [Mon, 7 Oct 2002 07:32:31 +0000 (07:32 +0000)]
Add documentation for BindToAddress.
Ivo Timmermans [Mon, 30 Sep 2002 19:04:37 +0000 (19:04 +0000)]
Fix saving of debug level for startup level 0
Guus Sliepen [Tue, 24 Sep 2002 11:43:34 +0000 (11:43 +0000)]
Run graph() after edge_del() when updating an edge.
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".
Guus Sliepen [Sun, 15 Sep 2002 22:37:59 +0000 (22:37 +0000)]
Thank some more people.
Guus Sliepen [Sun, 15 Sep 2002 22:34:25 +0000 (22:34 +0000)]
Remarks about 1.0pre8 release.
Guus Sliepen [Sun, 15 Sep 2002 22:19:38 +0000 (22:19 +0000)]
Update documentation.
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.
Guus Sliepen [Sun, 15 Sep 2002 17:40:00 +0000 (17:40 +0000)]
Updated dutch translation.
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
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.
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().
Guus Sliepen [Wed, 11 Sep 2002 22:25:58 +0000 (22:25 +0000)]
What was I thinking?
Guus Sliepen [Tue, 10 Sep 2002 22:13:22 +0000 (22:13 +0000)]
Make sure malloc() is declared.
Guus Sliepen [Tue, 10 Sep 2002 22:13:01 +0000 (22:13 +0000)]
Fix placement of #include "config.h"
Guus Sliepen [Tue, 10 Sep 2002 21:46:05 +0000 (21:46 +0000)]
Link with libintl if necessary.
Guus Sliepen [Tue, 10 Sep 2002 21:29:42 +0000 (21:29 +0000)]
Clean up after indent.
Guus Sliepen [Tue, 10 Sep 2002 09:40:25 +0000 (09:40 +0000)]
Fix compiler warnings.
Guus Sliepen [Mon, 9 Sep 2002 22:41:56 +0000 (22:41 +0000)]
Let GCC check format string and arguments of send_request().
Guus Sliepen [Mon, 9 Sep 2002 22:33:31 +0000 (22:33 +0000)]
Remove redundant spaces.
Guus Sliepen [Mon, 9 Sep 2002 21:49:16 +0000 (21:49 +0000)]
Switch to K&R style indentation.
Guus Sliepen [Mon, 9 Sep 2002 21:25:28 +0000 (21:25 +0000)]
Switch to K&R style indentation.
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.
Guus Sliepen [Fri, 6 Sep 2002 21:22:35 +0000 (21:22 +0000)]
Why don't these connection_t's get cleaned up?
Guus Sliepen [Fri, 6 Sep 2002 21:02:36 +0000 (21:02 +0000)]
Fix MST algorithm.
Guus Sliepen [Fri, 6 Sep 2002 14:31:12 +0000 (14:31 +0000)]
Reset the *correct* seqnos.
Guus Sliepen [Fri, 6 Sep 2002 12:19:16 +0000 (12:19 +0000)]
edge_weight_compare() shouldn't rely on edge_compare().
Ivo Timmermans [Fri, 6 Sep 2002 11:08:21 +0000 (11:08 +0000)]
Added AM_MAINTAINER_MODE
Guus Sliepen [Fri, 6 Sep 2002 10:23:52 +0000 (10:23 +0000)]
Remove global edge_tree.
Guus Sliepen [Fri, 6 Sep 2002 09:48:39 +0000 (09:48 +0000)]
Only reset seqno's when a key is sent or received.
Guus Sliepen [Wed, 4 Sep 2002 23:11:58 +0000 (23:11 +0000)]
Typo.
Guus Sliepen [Wed, 4 Sep 2002 23:05:49 +0000 (23:05 +0000)]
Add missing headers.
Guus Sliepen [Wed, 4 Sep 2002 23:04:52 +0000 (23:04 +0000)]
Run autopoint and libtoolize before creating initial makefiles.
Guus Sliepen [Wed, 4 Sep 2002 19:57:53 +0000 (19:57 +0000)]
Small updates.
Guus Sliepen [Wed, 4 Sep 2002 16:36:03 +0000 (16:36 +0000)]
Updated dutch translation.