Commit graph

3090 commits

Author SHA1 Message Date
Ivo Timmermans
31aa429846 Do not attempt to retreive ChangeLog information only from the CABAL
tag, it doesn't work anyway.
2000-11-24 13:33:48 +00:00
Ivo Timmermans
f2dd7bb42c Do not check for the daemon() system call 2000-11-24 13:32:26 +00:00
Ivo Timmermans
b0ff879e7c Do not use the C library's daemon() call. 2000-11-24 12:44:39 +00:00
Guus Sliepen
cebcf78b9a - Don't link with -ldl anymore
- Let's not use bash' built-in pwd function anymore... it does not follow
  symlinks.
2000-11-23 09:30:33 +00:00
Guus Sliepen
7aa7895629 - #include <stdlib.h> instead of <malloc.h> 2000-11-22 23:09:38 +00:00
Guus Sliepen
dac256505e - Fixed all (except 2) compiler warnings gcc -Wall gave. 2000-11-22 22:18:03 +00:00
Guus Sliepen
6f373e6902 - More porting to FreeBSD and Solaris. 2000-11-22 22:05:37 +00:00
Guus Sliepen
5971e352da - Work with the correct key buffer in ans_key_h 2000-11-22 20:25:27 +00:00
Guus Sliepen
a07602c4fd - No more %as. 2000-11-22 19:55:53 +00:00
Guus Sliepen
394ed3fb17 - Write pidfile AFTER detaching...
- Minor cleanups
2000-11-22 19:14:09 +00:00
Guus Sliepen
f8b4a000d0 - 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...
2000-11-22 18:54:08 +00:00
Ivo Timmermans
785684f0ec Declare fd. 2000-11-22 17:49:16 +00:00
Ivo Timmermans
e42255ae13 Add more checks to ensure that filedescriptors are right in
_execute_script().
2000-11-22 17:48:15 +00:00
Ivo Timmermans
2ed6813404 Honor the --localstatedir option to configure, instead of hardcoded /var. 2000-11-22 16:19:07 +00:00
Guus Sliepen
9e9e1925b9 - Check for NULL tree->delete callback
- Add xstrdup() function
2000-11-21 09:13:59 +00:00
Guus Sliepen
da9a1e8084 - More fixes. 2000-11-20 23:29:47 +00:00
Guus Sliepen
3a6200c1e3 - Various small fixes. 2000-11-20 22:13:14 +00:00
Ivo Timmermans
06afd357b0 Get rid of all libtool references at once. libtool was only used by
libblowfish, which was superseded by openssl.
2000-11-20 19:56:01 +00:00
Guus Sliepen
1857b3c97c - Proper initialization of rbltree structures. 2000-11-20 19:41:13 +00:00
Guus Sliepen
408ca91766 - Integrate rbl trees into tinc. 2000-11-20 19:12:17 +00:00
Ivo Timmermans
9024e01ce6 Also include process.h 2000-11-20 18:06:17 +00:00
Ivo Timmermans
3cc063d23a More function and header checks 2000-11-20 18:05:34 +00:00
Ivo Timmermans
59aa15d3d1 Added this release 2000-11-20 18:02:15 +00:00
Guus Sliepen
8f273f0ee2 - Small fixes 2000-11-19 22:12:46 +00:00
Guus Sliepen
cc7c078774 - Deletion also works now. 2000-11-19 11:05:59 +00:00
Guus Sliepen
3526f1e151 - Fixed a lot of small things. Tested everything except deletions. 2000-11-19 02:04:29 +00:00
Guus Sliepen
4f68e5b613 - Fix tree head/tail upon insertion 2000-11-18 23:22:44 +00:00
Guus Sliepen
880cd6f1a9 - Implemented deletions
- Added rbl_foreach() function
2000-11-18 23:21:01 +00:00
Guus Sliepen
00e5d57262 - Fixed searching
- Insertion implemented
2000-11-18 18:14:57 +00:00
Guus Sliepen
7fcc0c6415 - Removed stray @INCLUDE@ (how did that get there?)
- Use 0 instead of FALSE
2000-11-17 10:03:02 +00:00
Guus Sliepen
44cbd13e52 - Simplified do_detach 2000-11-17 00:56:49 +00:00
Ivo Timmermans
2626c641aa Use proper prototypes. 2000-11-16 22:13:09 +00:00
Ivo Timmermans
5d1145f2c4 Move more functions from tincd.c into process.c. 2000-11-16 22:12:23 +00:00
Ivo Timmermans
485f7a5043 Delete struct ifr 2000-11-16 22:11:40 +00:00
Ivo Timmermans
30f34015ee New function: xmalloc_and_zero, which initialises the allocated memory
to all zeroes.
2000-11-16 18:06:39 +00:00
Ivo Timmermans
2764532ea7 Move all process-related functions into process.c. 2000-11-16 17:54:29 +00:00
Guus Sliepen
aa755206da - Added balanced tree management stuff as well. (It is not finished yet.) 2000-11-16 09:18:38 +00:00
Ivo Timmermans
7f87c3d913 Keep a list of running children, and in each loop in main_loop(),
check if one has exited.
2000-11-15 22:07:36 +00:00
Ivo Timmermans
d9ce5a7f3f List management and manipulation routines. 2000-11-15 22:04:48 +00:00
Guus Sliepen
e118ba0a64 Porting to FreeBSD:
- Reorganized and added some #includes
2000-11-15 13:33:27 +00:00
Ivo Timmermans
596e248bc5 Let the output from an executed script in execute_script() go to
syslog, with proper error detection.
2000-11-15 01:28:21 +00:00
Ivo Timmermans
bb2495e569 Use the HAVE_OPENSSL_xxx_H defined from m4/openssl.m4 during
configure.
2000-11-15 01:06:13 +00:00
Ivo Timmermans
6fb4a5b6be Also check for sha.h. 2000-11-15 01:02:30 +00:00
Ivo Timmermans
8eb60d0ccd Also check for rand.h and err.h. If any of these files does not
exist, try the next alternative path.
2000-11-15 00:57:26 +00:00
Ivo Timmermans
c5c8e99afd Get rid of the annoying empty line 2000-11-14 23:18:19 +00:00
Ivo Timmermans
c467ee02d3 Oops, small error. 2000-11-14 23:02:08 +00:00
Ivo Timmermans
9ddb37cee0 Better checks for OpenSSL. I think it can now detect almost all conceivable installations. 2000-11-14 22:57:19 +00:00
Ivo Timmermans
72c3776d6a Identify version as 1.0pre4-cvs 2000-11-13 22:29:22 +00:00
Ivo Timmermans
5344832be1 Add a check for openssl that accepts explicit file locations. 2000-11-13 22:01:27 +00:00
Ivo Timmermans
5b74909ea0 Add prototype for destroy_queue 2000-11-09 21:33:18 +00:00