Guus Sliepen [Fri, 25 May 2001 10:06:13 +0000 (10:06 +0000)]
Small corrections to the manuals.
Guus Sliepen [Fri, 25 May 2001 08:36:11 +0000 (08:36 +0000)]
Small fixes:
- Fix compiler warnings (one was a real (but harmless) bug)
- Don't send PING packets if there is UDP traffic
- Correctly terminate strings containing salt for PING/PONG packets
Guus Sliepen [Thu, 24 May 2001 21:52:26 +0000 (21:52 +0000)]
Only send key_changed if it was previously requested.
Guus Sliepen [Thu, 24 May 2001 21:32:30 +0000 (21:32 +0000)]
All features for 1.0 are implemented now, we just have to check the
FreeBSD and Solaris ports and merge some docs.
Guus Sliepen [Thu, 24 May 2001 21:30:36 +0000 (21:30 +0000)]
Since this is incompatible with some earlier versions, PROT_CURRENT is
increased.
Guus Sliepen [Thu, 24 May 2001 21:29:09 +0000 (21:29 +0000)]
Add randomness to PING/PONG packets to prevent crypto attacks on quiet
tunnels.
Guus Sliepen [Thu, 24 May 2001 20:40:13 +0000 (20:40 +0000)]
Changed URL from kernelnotes.org to linuxdoc.org.
Guus Sliepen [Thu, 24 May 2001 20:24:12 +0000 (20:24 +0000)]
More revisions to the documentation:
- Removed cruft
- Reordered some sections to make it more logical for the beginner
- Added small examples and hints about configuration files
Guus Sliepen [Sat, 19 May 2001 15:50:51 +0000 (15:50 +0000)]
- Make sure correct information is supplied for both old kernels (with
ethertap) and for new kernels (with TUN/TAP driver).
- Revised example configuration and made it conform to latest (CVS) version of
tinc.
Guus Sliepen [Mon, 7 May 2001 19:08:46 +0000 (19:08 +0000)]
- s/ip_t/ipv4_t/g
- Add "salt" to the beginning of UDP packets. Replaces length field which
is not useful anyway.
Guus Sliepen [Fri, 4 May 2001 18:45:02 +0000 (18:45 +0000)]
Correctly cycle through ConnectTo variables.
Guus Sliepen [Fri, 13 Apr 2001 10:30:04 +0000 (10:30 +0000)]
Depend on new ssl package and install alias for universal TUN/TAP module.
Guus Sliepen [Tue, 13 Mar 2001 21:33:31 +0000 (21:33 +0000)]
Check indirectdata option before forwarding certain requests.
Guus Sliepen [Tue, 13 Mar 2001 21:32:24 +0000 (21:32 +0000)]
Ignore alarm signals if we do not need to respond to them.
Guus Sliepen [Tue, 13 Mar 2001 09:55:14 +0000 (09:55 +0000)]
Fixed bug in setup_signals() that would make tinc die when unexpected
signals were caught.
Guus Sliepen [Mon, 12 Mar 2001 23:58:19 +0000 (23:58 +0000)]
Fixed a race condition triggered by receive_meta() and the new
authentication scheme.
Guus Sliepen [Sun, 4 Mar 2001 14:00:24 +0000 (14:00 +0000)]
Added a description of what is going on in net.c and route.c, and how
packets flow through tinc.
Guus Sliepen [Sun, 4 Mar 2001 13:59:53 +0000 (13:59 +0000)]
Updated translation.
Guus Sliepen [Sun, 4 Mar 2001 13:59:32 +0000 (13:59 +0000)]
- route.c is now used to determine destination
- flags are removed, since they were not used at all. Use options instead.
- indirectdata works now, tcponly almost...
- made functions that don't return useful information void
Guus Sliepen [Fri, 2 Mar 2001 11:25:56 +0000 (11:25 +0000)]
Added explaination of our key exchange using RSA encryption.
Guus Sliepen [Thu, 1 Mar 2001 21:32:04 +0000 (21:32 +0000)]
Various small fixes.
Guus Sliepen [Tue, 27 Feb 2001 16:50:29 +0000 (16:50 +0000)]
Removed compiler warning.
Guus Sliepen [Tue, 27 Feb 2001 16:37:31 +0000 (16:37 +0000)]
Removed lots of compiler warnings.
Guus Sliepen [Tue, 27 Feb 2001 16:17:04 +0000 (16:17 +0000)]
- Fixed Interface option (untested)
- Removed error handling for non-critical socket options
- Added TCP_NODELAY and IPTOS_LOWDELAY options for meta sockets.
Ivo Timmermans [Tue, 27 Feb 2001 16:15:14 +0000 (16:15 +0000)]
Authentication done
Guus Sliepen [Tue, 27 Feb 2001 15:33:39 +0000 (15:33 +0000)]
Don't forget to reconnect if outgoing connection fails during
authentication.
Guus Sliepen [Mon, 26 Feb 2001 11:37:20 +0000 (11:37 +0000)]
- Make sure METAKEY is smaller than the modulus of the RSA key
- Get symmetric key from the least significant bytes of the RSA message
Guus Sliepen [Sun, 25 Feb 2001 20:17:46 +0000 (20:17 +0000)]
Added process.c to the translated files.
Guus Sliepen [Sun, 25 Feb 2001 19:09:45 +0000 (19:09 +0000)]
Implemented new authentication scheme from doc/SECURITY2.
Guus Sliepen [Sun, 25 Feb 2001 16:34:19 +0000 (16:34 +0000)]
Encrypt network packets in CBC mode instead of CFB mode.
(This breaks compatibility with all previous versions!)
Guus Sliepen [Sun, 25 Feb 2001 16:04:00 +0000 (16:04 +0000)]
Copy packets before putting them in the queue.
Guus Sliepen [Sun, 25 Feb 2001 15:34:50 +0000 (15:34 +0000)]
Free node->data and node, not node->data twice.
Guus Sliepen [Sun, 25 Feb 2001 14:51:42 +0000 (14:51 +0000)]
Add missing \n.
Guus Sliepen [Sun, 25 Feb 2001 11:09:29 +0000 (11:09 +0000)]
Corrected check for errors after read() calls.
Wessel Dankers [Tue, 20 Feb 2001 21:53:18 +0000 (21:53 +0000)]
Important bugfix in avl_insert_before() and avl_insert_after()
Ivo Timmermans [Sun, 18 Feb 2001 02:13:26 +0000 (02:13 +0000)]
tinc_TUNTAP now substitutes the values outside the AC_CACHE_CHECK
block. configure should now correctly set HAVE_TUNTAP.
Guus Sliepen [Tue, 13 Feb 2001 09:54:29 +0000 (09:54 +0000)]
Added description of the proposed new authentication scheme.
Ivo Timmermans [Sun, 11 Feb 2001 11:55:28 +0000 (11:55 +0000)]
More files to ignore in CVS
Guus Sliepen [Sun, 11 Feb 2001 11:50:09 +0000 (11:50 +0000)]
- Updated CVS_CREATED to remove intl/ directory and some other
autogenerated files.
- Checked if all INCLUDES/LIBS/etc directives inherit the global variables.
Guus Sliepen [Sun, 11 Feb 2001 11:46:14 +0000 (11:46 +0000)]
Ignore file for src/
Guus Sliepen [Sun, 11 Feb 2001 11:44:32 +0000 (11:44 +0000)]
Added .cvsignore files to get rid of warnings and prevent autogenerated
files from being added accidentaly.
Guus Sliepen [Tue, 6 Feb 2001 10:42:27 +0000 (10:42 +0000)]
Removed another local definition of the variable "errno"
Guus Sliepen [Tue, 6 Feb 2001 10:13:44 +0000 (10:13 +0000)]
Updated dutch translation.
Guus Sliepen [Tue, 6 Feb 2001 10:13:22 +0000 (10:13 +0000)]
Fix memory leak in avl_insert() if item was already inserted.
Guus Sliepen [Tue, 6 Feb 2001 10:12:51 +0000 (10:12 +0000)]
FreeBSD compile fixes (thanks to XeF4)
Ivo Timmermans [Thu, 18 Jan 2001 13:02:34 +0000 (13:02 +0000)]
Unpack sample-config.tar.gz when installing
Ivo Timmermans [Thu, 18 Jan 2001 13:01:42 +0000 (13:01 +0000)]
Distribute the sample config as a .tar.gz
Ivo Timmermans [Thu, 18 Jan 2001 13:00:57 +0000 (13:00 +0000)]
Fixed some errors
Ivo Timmermans [Wed, 17 Jan 2001 01:48:44 +0000 (01:48 +0000)]
Get the PO files up to date with the current source
Ivo Timmermans [Wed, 17 Jan 2001 01:47:39 +0000 (01:47 +0000)]
Get the Debian changelog up to date
Ivo Timmermans [Wed, 17 Jan 2001 01:40:46 +0000 (01:40 +0000)]
Merged documentation with various updates I had lying around
Ivo Timmermans [Wed, 17 Jan 2001 01:34:08 +0000 (01:34 +0000)]
Second draft of the release notes
Ivo Timmermans [Wed, 17 Jan 2001 01:31:56 +0000 (01:31 +0000)]
Change version to 1.0pre4
Ivo Timmermans [Wed, 17 Jan 2001 01:30:32 +0000 (01:30 +0000)]
Set Architecture to `any'
Ivo Timmermans [Wed, 17 Jan 2001 01:30:05 +0000 (01:30 +0000)]
Fix error reporting of read_config
Guus Sliepen [Sat, 13 Jan 2001 16:36:23 +0000 (16:36 +0000)]
- Allow ASN1 style keys to be in the config files.
Note: tinc ignores private key in the main config file, tinc.conf,
because it should really be in a separate file.
- When generating new keys, check if name is known and by default append
the public key to the host configuration file (otherwise rsa_key.pub).
Guus Sliepen [Sat, 13 Jan 2001 14:56:46 +0000 (14:56 +0000)]
- Copy entire sample-config directory to /etc/tinc/example upon installing.
Guus Sliepen [Sat, 13 Jan 2001 14:38:18 +0000 (14:38 +0000)]
Added sample configuration directory.
Guus Sliepen [Thu, 11 Jan 2001 11:19:08 +0000 (11:19 +0000)]
- Only send out DEL_HOSTs for hosts with a meta connection
Guus Sliepen [Mon, 8 Jan 2001 21:32:30 +0000 (21:32 +0000)]
- Cleaned up subnet_t
Guus Sliepen [Mon, 8 Jan 2001 21:32:00 +0000 (21:32 +0000)]
- Sign was wrong in search_closest_smaller/greater
Guus Sliepen [Mon, 8 Jan 2001 20:35:30 +0000 (20:35 +0000)]
- Squashed another nasty bug.
Guus Sliepen [Sun, 7 Jan 2001 20:19:35 +0000 (20:19 +0000)]
- Added indirectdata and tcponly functionality.
Guus Sliepen [Sun, 7 Jan 2001 20:19:08 +0000 (20:19 +0000)]
- Fixed IPv6 subnet lookup routine.
Guus Sliepen [Sun, 7 Jan 2001 17:09:07 +0000 (17:09 +0000)]
- It's 2001, all copyright notices are updated.
Guus Sliepen [Sun, 7 Jan 2001 17:08:03 +0000 (17:08 +0000)]
- Description of protocol and authentication updated.
Guus Sliepen [Sun, 7 Jan 2001 15:27:30 +0000 (15:27 +0000)]
- Added header file for route.c. The routing routines in it are not used
yet, but have a look at the source for the ideas behind it.
Guus Sliepen [Sun, 7 Jan 2001 15:25:49 +0000 (15:25 +0000)]
- Reinstated a queue for outgoing packets.
Guus Sliepen [Sun, 7 Jan 2001 15:24:52 +0000 (15:24 +0000)]
- Changed list routines to give it the same look'n'feel as the rbl and
avl tree library.
Guus Sliepen [Sat, 6 Jan 2001 20:43:03 +0000 (20:43 +0000)]
- Typo.
Guus Sliepen [Sat, 6 Jan 2001 20:02:21 +0000 (20:02 +0000)]
- Updated texinfo manual.
Guus Sliepen [Sat, 6 Jan 2001 18:44:55 +0000 (18:44 +0000)]
- Updated manual pages.
Guus Sliepen [Sat, 6 Jan 2001 18:21:17 +0000 (18:21 +0000)]
- Changed license of AVL tree library to GPL.
Guus Sliepen [Sat, 6 Jan 2001 18:03:41 +0000 (18:03 +0000)]
- Check and follow symlinks in is_safe_path
- By default write keys to tinc config directory
- Small fix in protocol.c
Guus Sliepen [Sat, 6 Jan 2001 16:51:14 +0000 (16:51 +0000)]
- Updated dutch translation.
Guus Sliepen [Fri, 5 Jan 2001 23:53:53 +0000 (23:53 +0000)]
- Let user choose whether keys are in the config files or separate
- Use AVL trees instead of RBL trees
- Fixed a lot of annoying subtle bugs! Thanks to gdb...
Guus Sliepen [Fri, 5 Jan 2001 23:51:41 +0000 (23:51 +0000)]
- Doubled size of trace buffer for easier debugging.
Guus Sliepen [Fri, 5 Jan 2001 23:50:56 +0000 (23:50 +0000)]
- AVL tree routines: faster than RBL, and also more stable.
Guus Sliepen [Fri, 22 Dec 2000 21:34:24 +0000 (21:34 +0000)]
- Don't even think about using sscanf with %as anymore
- Allow keys to be inside the config files or in a seperate file
- Small fixes
Ivo Timmermans [Fri, 22 Dec 2000 17:15:26 +0000 (17:15 +0000)]
Added lint target, requires lclint.
Ivo Timmermans [Fri, 22 Dec 2000 17:10:25 +0000 (17:10 +0000)]
Forget router.c
Ivo Timmermans [Fri, 22 Dec 2000 16:59:16 +0000 (16:59 +0000)]
Include autogen.sh (needed for the Debian package).
Ivo Timmermans [Fri, 22 Dec 2000 16:54:56 +0000 (16:54 +0000)]
Various small changes.
Ivo Timmermans [Wed, 6 Dec 2000 13:33:49 +0000 (13:33 +0000)]
Re-introduced MyVirtualIP and VpnMask, as dummy options.
Ivo Timmermans [Tue, 5 Dec 2000 09:04:32 +0000 (09:04 +0000)]
Give a warning about having to re-create the keys
Ivo Timmermans [Tue, 5 Dec 2000 09:03:41 +0000 (09:03 +0000)]
Ported it back to /bin/sh.
Ivo Timmermans [Tue, 5 Dec 2000 09:03:19 +0000 (09:03 +0000)]
Install a file in /etc/modutils/tinc, containing all necessary aliases
and options for kernel modules.
Ivo Timmermans [Tue, 5 Dec 2000 08:59:30 +0000 (08:59 +0000)]
Tiny bits of code beautifying
Ivo Timmermans [Tue, 5 Dec 2000 08:56:44 +0000 (08:56 +0000)]
Oops. I did some VERY wrong things with readline(). Fixed now.
Ivo Timmermans [Tue, 5 Dec 2000 08:54:22 +0000 (08:54 +0000)]
Massive long awaited documentation update. It's not finished yet,
most notably the example configuration is still old.
Ivo Timmermans [Sun, 3 Dec 2000 12:23:06 +0000 (12:23 +0000)]
Option -d accepts an argument to set the debug level immediately.
Ivo Timmermans [Sun, 3 Dec 2000 12:22:19 +0000 (12:22 +0000)]
Sort configuration directives
Ivo Timmermans [Sun, 3 Dec 2000 12:21:20 +0000 (12:21 +0000)]
Added documentation merger
Ivo Timmermans [Fri, 1 Dec 2000 13:46:26 +0000 (13:46 +0000)]
Include COPYING.README in the distribution.
Ivo Timmermans [Fri, 1 Dec 2000 13:45:46 +0000 (13:45 +0000)]
Stated that distributing executables linked with OpenSSL is permitted
provided that all other requirements of the GPL are complied with.
Ivo Timmermans [Fri, 1 Dec 2000 12:38:42 +0000 (12:38 +0000)]
Use buffer instead of line in read_config_file(), line may be assigned
NULL, so buffer always holds the pointer to the allocated space.
Ivo Timmermans [Fri, 1 Dec 2000 12:36:36 +0000 (12:36 +0000)]
readline() accepts two extra parameters, buf and buflen, to avoid
mallocing and freeing for every line that is read.
Ivo Timmermans [Thu, 30 Nov 2000 23:44:07 +0000 (23:44 +0000)]
Tagged `Storing private key in separate file' as done.
Ivo Timmermans [Thu, 30 Nov 2000 23:39:55 +0000 (23:39 +0000)]
All full stops have two spaces after them. (Silly commit, I know.)
Ivo Timmermans [Thu, 30 Nov 2000 23:18:21 +0000 (23:18 +0000)]
New function read_rsa_public_key();
In net.c/setup_myself deleted old code to read the public key (which
is now implicitly read in together with the private key).