tinc
21 years agoTell windows to be patient.
Guus Sliepen [Fri, 8 Aug 2003 12:55:05 +0000 (12:55 +0000)]
Tell windows to be patient.

21 years agoWindows uses backslashes...
Guus Sliepen [Fri, 8 Aug 2003 12:24:52 +0000 (12:24 +0000)]
Windows uses backslashes...

21 years agoSync CABAL branch with release-1_0 branch. release-1.0
Guus Sliepen [Fri, 8 Aug 2003 11:45:37 +0000 (11:45 +0000)]
Sync CABAL branch with release-1_0 branch.

21 years agoUse our own port when connecting to ourself.
Guus Sliepen [Sun, 3 Aug 2003 21:45:41 +0000 (21:45 +0000)]
Use our own port when connecting to ourself.

21 years agoSimplify translation
Guus Sliepen [Sun, 3 Aug 2003 21:45:13 +0000 (21:45 +0000)]
Simplify translation

21 years agoUpdate dutch translation
Guus Sliepen [Sun, 3 Aug 2003 21:43:19 +0000 (21:43 +0000)]
Update dutch translation

21 years agoRemove newlines from log messages.
Guus Sliepen [Sun, 3 Aug 2003 12:38:43 +0000 (12:38 +0000)]
Remove newlines from log messages.

21 years agoKeep Windows happy.
Guus Sliepen [Sun, 3 Aug 2003 12:38:18 +0000 (12:38 +0000)]
Keep Windows happy.

21 years agoCygwin needs windows.h.
Guus Sliepen [Sun, 3 Aug 2003 12:37:55 +0000 (12:37 +0000)]
Cygwin needs windows.h.

21 years agoOld gcc compilers don't like declarations in the middle of a function.
Guus Sliepen [Sun, 3 Aug 2003 09:55:20 +0000 (09:55 +0000)]
Old gcc compilers don't like declarations in the middle of a function.

21 years agoClean up last part of main().
Guus Sliepen [Sun, 3 Aug 2003 09:08:52 +0000 (09:08 +0000)]
Clean up last part of main().

21 years agoTypo and another thing to think about.
Guus Sliepen [Sat, 2 Aug 2003 22:01:50 +0000 (22:01 +0000)]
Typo and another thing to think about.

21 years agoExplain how tinc detaches and how it is "killed" under Windows.
Guus Sliepen [Sat, 2 Aug 2003 21:55:12 +0000 (21:55 +0000)]
Explain how tinc detaches and how it is "killed" under Windows.

21 years agoUpdated dutch translation.
Guus Sliepen [Sat, 2 Aug 2003 21:39:11 +0000 (21:39 +0000)]
Updated dutch translation.

21 years agoOops.
Guus Sliepen [Sat, 2 Aug 2003 21:34:10 +0000 (21:34 +0000)]
Oops.

21 years agoMissing include.
Guus Sliepen [Sat, 2 Aug 2003 21:33:52 +0000 (21:33 +0000)]
Missing include.

21 years agoCleanups and error messages.
Guus Sliepen [Sat, 2 Aug 2003 21:33:19 +0000 (21:33 +0000)]
Cleanups and error messages.

21 years agoError messages.
Guus Sliepen [Sat, 2 Aug 2003 21:01:50 +0000 (21:01 +0000)]
Error messages.

21 years agoInstall tinc as a service under Windows (MinGW). Remove cleanup_and_exit(),
Guus Sliepen [Sat, 2 Aug 2003 20:50:38 +0000 (20:50 +0000)]
Install tinc as a service under Windows (MinGW). Remove cleanup_and_exit(),
either exit() directly on errors or let main_loop() shutdown gracefully.

21 years agoWhen compiling with MinGW, link with ws2_32.
Guus Sliepen [Sat, 2 Aug 2003 16:05:33 +0000 (16:05 +0000)]
When compiling with MinGW, link with ws2_32.

21 years agoWindows has no symbolic links as we know it.
Guus Sliepen [Sat, 2 Aug 2003 15:32:57 +0000 (15:32 +0000)]
Windows has no symbolic links as we know it.

21 years agoOops.
Guus Sliepen [Sat, 2 Aug 2003 15:29:06 +0000 (15:29 +0000)]
Oops.

21 years agoAllow whitespace in values.
Guus Sliepen [Sat, 2 Aug 2003 15:27:24 +0000 (15:27 +0000)]
Allow whitespace in values.

21 years agoPrevent system headers from including our own headers.
Guus Sliepen [Sat, 2 Aug 2003 15:13:08 +0000 (15:13 +0000)]
Prevent system headers from including our own headers.

21 years agoWrong function...
Guus Sliepen [Fri, 1 Aug 2003 08:18:22 +0000 (08:18 +0000)]
Wrong function...

21 years agoWoops!
Guus Sliepen [Thu, 31 Jul 2003 14:24:19 +0000 (14:24 +0000)]
Woops!

21 years agoNo easy way to properly detect header files...
Guus Sliepen [Thu, 31 Jul 2003 13:18:34 +0000 (13:18 +0000)]
No easy way to properly detect header files...

21 years agoRemove forgotten braces.
Guus Sliepen [Thu, 31 Jul 2003 11:31:51 +0000 (11:31 +0000)]
Remove forgotten braces.

21 years agoWrong argument.
Guus Sliepen [Thu, 31 Jul 2003 11:20:32 +0000 (11:20 +0000)]
Wrong argument.

21 years agoCheck if the compiler knows about the __malloc__ attribute.
Guus Sliepen [Thu, 31 Jul 2003 11:17:39 +0000 (11:17 +0000)]
Check if the compiler knows about the __malloc__ attribute.

21 years agoPrevent definitions from messing up attributes.
Guus Sliepen [Wed, 30 Jul 2003 21:52:41 +0000 (21:52 +0000)]
Prevent definitions from messing up attributes.

21 years agoReplacement for stdbool.h
Guus Sliepen [Wed, 30 Jul 2003 16:00:59 +0000 (16:00 +0000)]
Replacement for stdbool.h

21 years agoNo C99 initialisers, gcc 2.95.3 doesn't like it.
Guus Sliepen [Wed, 30 Jul 2003 11:50:45 +0000 (11:50 +0000)]
No C99 initialisers, gcc 2.95.3 doesn't like it.
Also make sure getopt.h is included.

21 years agoRemove doc/es/ and src/device.c from the distribution.
Guus Sliepen [Wed, 30 Jul 2003 09:45:21 +0000 (09:45 +0000)]
Remove doc/es/ and src/device.c from the distribution.

21 years agoUpdate documentation and remove stuff that's too outdated.
Guus Sliepen [Wed, 30 Jul 2003 09:22:29 +0000 (09:22 +0000)]
Update documentation and remove stuff that's too outdated.

21 years agoCleanups.
Guus Sliepen [Tue, 29 Jul 2003 23:21:01 +0000 (23:21 +0000)]
Cleanups.

21 years agoNative Windows support.
Guus Sliepen [Tue, 29 Jul 2003 22:59:01 +0000 (22:59 +0000)]
Native Windows support.

21 years agoMake sure (at least) the MinGW device driver works.
Guus Sliepen [Tue, 29 Jul 2003 12:38:49 +0000 (12:38 +0000)]
Make sure (at least) the MinGW device driver works.

21 years agoMake sure it works.
Guus Sliepen [Tue, 29 Jul 2003 12:18:35 +0000 (12:18 +0000)]
Make sure it works.

21 years agoUpdate configure scripts.
Guus Sliepen [Tue, 29 Jul 2003 11:50:39 +0000 (11:50 +0000)]
Update configure scripts.

21 years agoUpdate dutch translation and make sure all device drivers are included in
Guus Sliepen [Tue, 29 Jul 2003 11:06:23 +0000 (11:06 +0000)]
Update dutch translation and make sure all device drivers are included in
the translation and distribution.

21 years agoFix compile errors and warnings.
Guus Sliepen [Tue, 29 Jul 2003 10:50:15 +0000 (10:50 +0000)]
Fix compile errors and warnings.

21 years agoMore checks for missing functions.
Guus Sliepen [Mon, 28 Jul 2003 22:06:09 +0000 (22:06 +0000)]
More checks for missing functions.

21 years agoMore generic handling of tap device under Windows.
Guus Sliepen [Mon, 28 Jul 2003 21:54:03 +0000 (21:54 +0000)]
More generic handling of tap device under Windows.

21 years agoSprinkle around a lot of const and some C99 initialisers.
Guus Sliepen [Thu, 24 Jul 2003 12:08:16 +0000 (12:08 +0000)]
Sprinkle around a lot of const and some C99 initialisers.

21 years agoDon't initialise a CIPHER_CTX if cipher == NULL.
Guus Sliepen [Wed, 23 Jul 2003 22:17:31 +0000 (22:17 +0000)]
Don't initialise a CIPHER_CTX if cipher == NULL.

21 years agoRun setup_device() after parsing configuration but before claiming we're ready.
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.

21 years agoUse bools and enums where appropriate.
Guus Sliepen [Tue, 22 Jul 2003 20:55:21 +0000 (20:55 +0000)]
Use bools and enums where appropriate.

21 years agoOption to specify pidfile location.
Guus Sliepen [Tue, 22 Jul 2003 12:58:34 +0000 (12:58 +0000)]
Option to specify pidfile location.

21 years agoAdd section about configuring Cygwin and CIPE on Windows.
Guus Sliepen [Mon, 21 Jul 2003 19:58:58 +0000 (19:58 +0000)]
Add section about configuring Cygwin and CIPE on Windows.

21 years agoCopy cygwin driver to mingw directory. It doesn't work (yet).
Guus Sliepen [Mon, 21 Jul 2003 15:51:00 +0000 (15:51 +0000)]
Copy cygwin driver to mingw directory. It doesn't work (yet).

21 years agoUse functions from logger.c
Guus Sliepen [Mon, 21 Jul 2003 14:47:43 +0000 (14:47 +0000)]
Use functions from logger.c

21 years agoCheck for sys/mman.h.
Guus Sliepen [Mon, 21 Jul 2003 13:18:44 +0000 (13:18 +0000)]
Check for sys/mman.h.

21 years agoOops.
Guus Sliepen [Mon, 21 Jul 2003 13:15:36 +0000 (13:15 +0000)]
Oops.

21 years agoBe consistent.
Guus Sliepen [Mon, 21 Jul 2003 13:14:02 +0000 (13:14 +0000)]
Be consistent.

21 years agoNo UNIX style permissions under Windows.
Guus Sliepen [Fri, 18 Jul 2003 14:10:27 +0000 (14:10 +0000)]
No UNIX style permissions under Windows.

21 years agoOops.
Guus Sliepen [Fri, 18 Jul 2003 14:09:47 +0000 (14:09 +0000)]
Oops.

21 years agoUse iface instead of interface because it might already be declared in
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.

21 years agoCheck for ethernet/ipv4/ipv6 related structures.
Guus Sliepen [Fri, 18 Jul 2003 13:42:35 +0000 (13:42 +0000)]
Check for ethernet/ipv4/ipv6 related structures.

21 years agoUpdate all device.c files.
Guus Sliepen [Fri, 18 Jul 2003 13:41:37 +0000 (13:41 +0000)]
Update all device.c files.

21 years agoRemove all #ifndefs from route.c
Guus Sliepen [Fri, 18 Jul 2003 12:21:03 +0000 (12:21 +0000)]
Remove all #ifndefs from route.c

21 years agoEven more missing definitions.
Guus Sliepen [Fri, 18 Jul 2003 12:16:24 +0000 (12:16 +0000)]
Even more missing definitions.

21 years agoBig header file cleanup: everything that has to do with standard system
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.

21 years agoWindows headers declare a struct interface somewhere.
Guus Sliepen [Tue, 15 Jul 2003 16:38:18 +0000 (16:38 +0000)]
Windows headers declare a struct interface somewhere.

21 years agoMake use of the CIPE driver. Woohoo, tinc for Windows!
Guus Sliepen [Tue, 15 Jul 2003 16:27:39 +0000 (16:27 +0000)]
Make use of the CIPE driver. Woohoo, tinc for Windows!

21 years agoExport mymac.
Guus Sliepen [Tue, 15 Jul 2003 16:26:18 +0000 (16:26 +0000)]
Export mymac.

21 years agoFormat string checking for logger().
Guus Sliepen [Sat, 12 Jul 2003 20:24:04 +0000 (20:24 +0000)]
Format string checking for logger().

21 years agoRemoving distribution specific files from CVS.
Guus Sliepen [Sat, 12 Jul 2003 20:19:22 +0000 (20:19 +0000)]
Removing distribution specific files from CVS.

21 years agoUpdate copyrights.
Guus Sliepen [Sat, 12 Jul 2003 17:48:38 +0000 (17:48 +0000)]
Update copyrights.

21 years agoSimplify logging, update copyrights and some minor cleanups.
Guus Sliepen [Sat, 12 Jul 2003 17:41:48 +0000 (17:41 +0000)]
Simplify logging, update copyrights and some minor cleanups.

21 years agoMore missing IPv6 definitions and autoconf checks to make sure it compiles
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.

21 years agoMore missing definitions.
Guus Sliepen [Mon, 7 Jul 2003 11:50:52 +0000 (11:50 +0000)]
More missing definitions.

21 years agoActually add ipv6.h.
Guus Sliepen [Mon, 7 Jul 2003 11:13:31 +0000 (11:13 +0000)]
Actually add ipv6.h.

21 years agoProvide all missing IPv6 definitions in lib/ipv6.h.
Guus Sliepen [Mon, 7 Jul 2003 11:11:33 +0000 (11:11 +0000)]
Provide all missing IPv6 definitions in lib/ipv6.h.

21 years agoSprinkling the source with static and attributes.
Guus Sliepen [Sun, 6 Jul 2003 23:16:29 +0000 (23:16 +0000)]
Sprinkling the source with static and attributes.

21 years agoDefine logger(), cleans up source code and allows us to write log entries
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.

21 years agoCheck for IPv6 header files.
Guus Sliepen [Sun, 6 Jul 2003 17:49:49 +0000 (17:49 +0000)]
Check for IPv6 header files.

21 years ago- simplify configure.in
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

21 years agoThis subtle pointer arithmetic thingy is (I'm very sure of it) the cause
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...

21 years agoReally make tinc default to any addressfamily.
Guus Sliepen [Wed, 25 Jun 2003 20:52:59 +0000 (20:52 +0000)]
Really make tinc default to any addressfamily.

21 years agoThere are two lzo compression levels.
Guus Sliepen [Thu, 12 Jun 2003 11:08:40 +0000 (11:08 +0000)]
There are two lzo compression levels.

21 years agoTypo and conversion to UTF-8.
Guus Sliepen [Wed, 11 Jun 2003 20:36:36 +0000 (20:36 +0000)]
Typo and conversion to UTF-8.

21 years agoUpdate dutch translation.
Guus Sliepen [Wed, 11 Jun 2003 20:19:46 +0000 (20:19 +0000)]
Update dutch translation.

21 years agoUpdate documentation.
Guus Sliepen [Wed, 11 Jun 2003 20:18:48 +0000 (20:18 +0000)]
Update documentation.

21 years agoMore braces to make gcc happy.
Guus Sliepen [Wed, 11 Jun 2003 19:40:43 +0000 (19:40 +0000)]
More braces to make gcc happy.

21 years agoFixes from Wessel Danker's libavl.
Guus Sliepen [Wed, 11 Jun 2003 19:39:02 +0000 (19:39 +0000)]
Fixes from Wessel Danker's libavl.

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.