Ivo Timmermans [Fri, 24 Nov 2000 14:13:06 +0000 (14:13 +0000)]
Set errno to 0 before trying to kill the other process.
Ivo Timmermans [Fri, 24 Nov 2000 14:12:31 +0000 (14:12 +0000)]
Alter CFLAGS, somehow INCLUDES doesn't propagate properly. Still
doesn't work exactly like it should, but getting there.
Ivo Timmermans [Fri, 24 Nov 2000 14:04:49 +0000 (14:04 +0000)]
Set CFLAGS to -O2 -Wall when running configure
Ivo Timmermans [Fri, 24 Nov 2000 14:00:32 +0000 (14:00 +0000)]
Use cvs2cl instead of rcs2log to generate the ChangeLog.
Ivo Timmermans [Fri, 24 Nov 2000 14:03:13 +0000 (14:03 +0000)]
Set localstatedir to /var
Ivo Timmermans [Fri, 24 Nov 2000 13:33:48 +0000 (13:33 +0000)]
Do not attempt to retreive ChangeLog information only from the CABAL
tag, it doesn't work anyway.
Ivo Timmermans [Fri, 24 Nov 2000 13:32:26 +0000 (13:32 +0000)]
Do not check for the daemon() system call
Ivo Timmermans [Fri, 24 Nov 2000 12:44:39 +0000 (12:44 +0000)]
Do not use the C library's daemon() call.
Guus Sliepen [Thu, 23 Nov 2000 09:30:33 +0000 (09:30 +0000)]
- Don't link with -ldl anymore
- Let's not use bash' built-in pwd function anymore... it does not follow
symlinks.
Guus Sliepen [Wed, 22 Nov 2000 23:09:38 +0000 (23:09 +0000)]
- #include <stdlib.h> instead of <malloc.h>
Guus Sliepen [Wed, 22 Nov 2000 22:18:03 +0000 (22:18 +0000)]
- Fixed all (except 2) compiler warnings gcc -Wall gave.
Guus Sliepen [Wed, 22 Nov 2000 22:05:37 +0000 (22:05 +0000)]
- More porting to FreeBSD and Solaris.
Guus Sliepen [Wed, 22 Nov 2000 20:25:27 +0000 (20:25 +0000)]
- Work with the correct key buffer in ans_key_h
Guus Sliepen [Wed, 22 Nov 2000 19:55:53 +0000 (19:55 +0000)]
- No more %as.
Guus Sliepen [Wed, 22 Nov 2000 19:14:09 +0000 (19:14 +0000)]
- Write pidfile AFTER detaching...
- Minor cleanups
Guus Sliepen [Wed, 22 Nov 2000 18:54:08 +0000 (18:54 +0000)]
- Cleaned up and checked for some more NULL pointers in rbl.c
- Two connection lists: one for incoming connections, sorted on ip/port,
one for connections whose identity we know, sorted on id ofcourse...
Ivo Timmermans [Wed, 22 Nov 2000 17:49:16 +0000 (17:49 +0000)]
Declare fd.
Ivo Timmermans [Wed, 22 Nov 2000 17:48:15 +0000 (17:48 +0000)]
Add more checks to ensure that filedescriptors are right in
_execute_script().
Ivo Timmermans [Wed, 22 Nov 2000 16:19:07 +0000 (16:19 +0000)]
Honor the --localstatedir option to configure, instead of hardcoded /var.
Guus Sliepen [Tue, 21 Nov 2000 09:13:59 +0000 (09:13 +0000)]
- Check for NULL tree->delete callback
- Add xstrdup() function
Guus Sliepen [Mon, 20 Nov 2000 23:29:47 +0000 (23:29 +0000)]
- More fixes.
Guus Sliepen [Mon, 20 Nov 2000 22:13:14 +0000 (22:13 +0000)]
- Various small fixes.
Ivo Timmermans [Mon, 20 Nov 2000 19:56:01 +0000 (19:56 +0000)]
Get rid of all libtool references at once. libtool was only used by
libblowfish, which was superseded by openssl.
Guus Sliepen [Mon, 20 Nov 2000 19:41:13 +0000 (19:41 +0000)]
- Proper initialization of rbltree structures.
Guus Sliepen [Mon, 20 Nov 2000 19:12:17 +0000 (19:12 +0000)]
- Integrate rbl trees into tinc.
Ivo Timmermans [Mon, 20 Nov 2000 18:06:17 +0000 (18:06 +0000)]
Also include process.h
Ivo Timmermans [Mon, 20 Nov 2000 18:05:34 +0000 (18:05 +0000)]
More function and header checks
Ivo Timmermans [Mon, 20 Nov 2000 18:02:15 +0000 (18:02 +0000)]
Added this release
Guus Sliepen [Sun, 19 Nov 2000 22:12:46 +0000 (22:12 +0000)]
- Small fixes
Guus Sliepen [Sun, 19 Nov 2000 11:05:59 +0000 (11:05 +0000)]
- Deletion also works now.
Guus Sliepen [Sun, 19 Nov 2000 02:04:29 +0000 (02:04 +0000)]
- Fixed a lot of small things. Tested everything except deletions.
Guus Sliepen [Sat, 18 Nov 2000 23:22:44 +0000 (23:22 +0000)]
- Fix tree head/tail upon insertion
Guus Sliepen [Sat, 18 Nov 2000 23:21:01 +0000 (23:21 +0000)]
- Implemented deletions
- Added rbl_foreach() function
Guus Sliepen [Sat, 18 Nov 2000 18:14:57 +0000 (18:14 +0000)]
- Fixed searching
- Insertion implemented
Guus Sliepen [Fri, 17 Nov 2000 10:03:02 +0000 (10:03 +0000)]
- Removed stray @INCLUDE@ (how did that get there?)
- Use 0 instead of FALSE
Guus Sliepen [Fri, 17 Nov 2000 00:56:49 +0000 (00:56 +0000)]
- Simplified do_detach
Ivo Timmermans [Thu, 16 Nov 2000 22:13:09 +0000 (22:13 +0000)]
Use proper prototypes.
Ivo Timmermans [Thu, 16 Nov 2000 22:12:23 +0000 (22:12 +0000)]
Move more functions from tincd.c into process.c.
Ivo Timmermans [Thu, 16 Nov 2000 22:11:40 +0000 (22:11 +0000)]
Delete struct ifr
Ivo Timmermans [Thu, 16 Nov 2000 18:06:39 +0000 (18:06 +0000)]
New function: xmalloc_and_zero, which initialises the allocated memory
to all zeroes.
Ivo Timmermans [Thu, 16 Nov 2000 17:54:29 +0000 (17:54 +0000)]
Move all process-related functions into process.c.
Guus Sliepen [Thu, 16 Nov 2000 09:18:38 +0000 (09:18 +0000)]
- Added balanced tree management stuff as well. (It is not finished yet.)
Ivo Timmermans [Wed, 15 Nov 2000 22:07:36 +0000 (22:07 +0000)]
Keep a list of running children, and in each loop in main_loop(),
check if one has exited.
Ivo Timmermans [Wed, 15 Nov 2000 22:04:48 +0000 (22:04 +0000)]
List management and manipulation routines.
Guus Sliepen [Wed, 15 Nov 2000 13:33:27 +0000 (13:33 +0000)]
Porting to FreeBSD:
- Reorganized and added some #includes
Ivo Timmermans [Wed, 15 Nov 2000 01:28:21 +0000 (01:28 +0000)]
Let the output from an executed script in execute_script() go to
syslog, with proper error detection.
Ivo Timmermans [Wed, 15 Nov 2000 01:06:13 +0000 (01:06 +0000)]
Use the HAVE_OPENSSL_xxx_H defined from m4/openssl.m4 during
configure.
Ivo Timmermans [Wed, 15 Nov 2000 01:02:30 +0000 (01:02 +0000)]
Also check for sha.h.
Ivo Timmermans [Wed, 15 Nov 2000 00:57:26 +0000 (00:57 +0000)]
Also check for rand.h and err.h. If any of these files does not
exist, try the next alternative path.
Ivo Timmermans [Tue, 14 Nov 2000 23:18:19 +0000 (23:18 +0000)]
Get rid of the annoying empty line
Ivo Timmermans [Tue, 14 Nov 2000 23:02:08 +0000 (23:02 +0000)]
Oops, small error.
Ivo Timmermans [Tue, 14 Nov 2000 22:57:19 +0000 (22:57 +0000)]
Better checks for OpenSSL. I think it can now detect almost all conceivable installations.
Ivo Timmermans [Mon, 13 Nov 2000 22:29:22 +0000 (22:29 +0000)]
Identify version as 1.0pre4-cvs
Ivo Timmermans [Mon, 13 Nov 2000 22:01:27 +0000 (22:01 +0000)]
Add a check for openssl that accepts explicit file locations.
Ivo Timmermans [Thu, 9 Nov 2000 21:33:18 +0000 (21:33 +0000)]
Add prototype for destroy_queue
Ivo Timmermans [Thu, 9 Nov 2000 21:29:58 +0000 (21:29 +0000)]
Updates, updates
Ivo Timmermans [Thu, 9 Nov 2000 20:59:35 +0000 (20:59 +0000)]
Bop version number to 1.0pre3-1
Ivo Timmermans [Thu, 9 Nov 2000 20:42:16 +0000 (20:42 +0000)]
Wrapped text to 70 (72?) columns for easy reading
Ivo Timmermans [Thu, 9 Nov 2000 20:41:13 +0000 (20:41 +0000)]
Final release notes added, also edited release notes for 1.0pre2 to what the announcement on the mailing list looked like.
Guus Sliepen [Wed, 8 Nov 2000 20:52:37 +0000 (20:52 +0000)]
- Make checkpoint tracing a compile time option (off by default)
Guus Sliepen [Wed, 8 Nov 2000 18:05:06 +0000 (18:05 +0000)]
- Add Jamie :)
Guus Sliepen [Wed, 8 Nov 2000 17:56:34 +0000 (17:56 +0000)]
- Applied Jamie Brigg's patch (close sockets after error)
Guus Sliepen [Wed, 8 Nov 2000 00:20:06 +0000 (00:20 +0000)]
- Fixed --config
- Show warning when both netname and config directory are given.
Guus Sliepen [Wed, 8 Nov 2000 00:10:50 +0000 (00:10 +0000)]
Porting to SunOS 5.8:
- More #includes Linux doesn't seem to need
- Don't do unsetenv() on SunOS
- Use a replacement asprintf() in case the OS doesn't support it
It now compiles properly under SunOS.
Guus Sliepen [Tue, 7 Nov 2000 22:33:33 +0000 (22:33 +0000)]
Porting to SunOS 5.8:
- Include all header files necessary
- Check for flock() function
Guus Sliepen [Tue, 7 Nov 2000 22:02:14 +0000 (22:02 +0000)]
- Open UDP connection for all known hosts. Comments please.
Guus Sliepen [Tue, 7 Nov 2000 21:43:28 +0000 (21:43 +0000)]
Changed execution of tinc-up:
- Do not free() strings that have been putenv()d, see man page of the
latter.
- Do not set IFNAME anymore, it appears that the ioctl to get the name of
the interface does not work at all. Since it is set to NETNAME in case
of tun/tap and it is known beforehand in case of ethertap, there is no
need for it anyway... (though it would've simplified things).
Ivo Timmermans [Sun, 5 Nov 2000 02:19:58 +0000 (02:19 +0000)]
Build-Depends on gettext
Guus Sliepen [Sat, 4 Nov 2000 22:57:33 +0000 (22:57 +0000)]
- Prepended config_ to all configuration option names, because it confused
everything (including myself).
- Use connection oriented UDP sockets for both incoming and outgoing
packets.
Guus Sliepen [Sat, 4 Nov 2000 20:44:28 +0000 (20:44 +0000)]
- Simplified ping mechanism.
Ivo Timmermans [Sat, 4 Nov 2000 17:29:45 +0000 (17:29 +0000)]
Build-depends on libtool
Guus Sliepen [Sat, 4 Nov 2000 17:09:10 +0000 (17:09 +0000)]
- Check for packets that are looping back.
Ivo Timmermans [Sat, 4 Nov 2000 17:04:17 +0000 (17:04 +0000)]
Updated Dutch translation
Ivo Timmermans [Sat, 4 Nov 2000 17:01:55 +0000 (17:01 +0000)]
Add route.c to the list of source files.
Guus Sliepen [Sat, 4 Nov 2000 16:54:21 +0000 (16:54 +0000)]
- Forward keys in hex notation, not as binary data.
Guus Sliepen [Sat, 4 Nov 2000 16:39:19 +0000 (16:39 +0000)]
- Don't forget to set packet cipher for added hosts.
Guus Sliepen [Sat, 4 Nov 2000 15:34:07 +0000 (15:34 +0000)]
- connlist.c added to translation
Ivo Timmermans [Sat, 4 Nov 2000 15:32:05 +0000 (15:32 +0000)]
In execute_script:
- add an environment variable NETNAME.
- chdir to the configuration directory before execing the script.
Ivo Timmermans [Sat, 4 Nov 2000 15:18:58 +0000 (15:18 +0000)]
Do not include the passphrases directory
Guus Sliepen [Sat, 4 Nov 2000 15:17:02 +0000 (15:17 +0000)]
- Removed manpage for no longer existing genauth.
Guus Sliepen [Sat, 4 Nov 2000 14:52:40 +0000 (14:52 +0000)]
- Resolve scriptname after fork()
Ivo Timmermans [Sat, 4 Nov 2000 14:16:46 +0000 (14:16 +0000)]
Use putenv() instead of clumsy do-it-yourself in execute_script.
Ivo Timmermans [Sat, 4 Nov 2000 13:25:15 +0000 (13:25 +0000)]
Small change to the way the environment is copied.
Guus Sliepen [Sat, 4 Nov 2000 11:49:58 +0000 (11:49 +0000)]
- Removed even more warnings.
Guus Sliepen [Sat, 4 Nov 2000 10:37:27 +0000 (10:37 +0000)]
- Removed unused MAC strip/add functions.
Ivo Timmermans [Fri, 3 Nov 2000 22:35:12 +0000 (22:35 +0000)]
Warnings removal pass: always include config.h first; add a few
prototypes in the header files.
This also fixes a few lint errors/warnings.
Ivo Timmermans [Fri, 3 Nov 2000 22:33:16 +0000 (22:33 +0000)]
Run the scripts tinc-up and tinc-down from a separate function, which
sets the environment as it should be and checks for errors.
Ivo Timmermans [Fri, 3 Nov 2000 22:31:55 +0000 (22:31 +0000)]
Save the environment on startup.
Ivo Timmermans [Thu, 2 Nov 2000 23:02:49 +0000 (23:02 +0000)]
Minor cosmetic change.
Ivo Timmermans [Thu, 2 Nov 2000 22:51:16 +0000 (22:51 +0000)]
- If necessary, patch po/Makefile.in from po-Makefile.in.in.diff to
get DESTDIR installation (required to get locales installed
correctly).
- Use dh_perl to get accurate perl dependencies.
Ivo Timmermans [Thu, 2 Nov 2000 22:11:18 +0000 (22:11 +0000)]
Oops, and include doc-base.tinc (new file).
Ivo Timmermans [Thu, 2 Nov 2000 22:10:09 +0000 (22:10 +0000)]
Don't include shlibs, as it no longer exists.
Ivo Timmermans [Thu, 2 Nov 2000 22:05:36 +0000 (22:05 +0000)]
Changed a few messages wrt. system calls; updated and changed the Dutch translation a bit.
Ivo Timmermans [Thu, 2 Nov 2000 21:43:03 +0000 (21:43 +0000)]
Mention fileutils, add a pointer to THANKS for more details
Ivo Timmermans [Thu, 2 Nov 2000 21:41:53 +0000 (21:41 +0000)]
Change wsl to Wessel's name and email address in the ChangeLog creation
Ivo Timmermans [Thu, 2 Nov 2000 21:40:33 +0000 (21:40 +0000)]
More exhaustive list of changes - perhaps it can be worded differently?
Ivo Timmermans [Thu, 2 Nov 2000 21:39:57 +0000 (21:39 +0000)]
Changed `I' to `We' - small change, lots of difference :)
Ivo Timmermans [Thu, 2 Nov 2000 21:38:55 +0000 (21:38 +0000)]
Only check for linux/if_tun.h once
Ivo Timmermans [Thu, 2 Nov 2000 21:34:45 +0000 (21:34 +0000)]
Added a perl example to turn an IP address into a MAC address.
Ivo Timmermans [Thu, 2 Nov 2000 21:26:51 +0000 (21:26 +0000)]
Do not include $(top_srcdir)/cipher, it does no longer exist.