Commit graph

1180 commits

Author SHA1 Message Date
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
Ivo Timmermans
6e27618708 Updates, updates 2000-11-09 21:29:58 +00:00
Ivo Timmermans
a91eae538d Bop version number to 1.0pre3-1 2000-11-09 20:59:35 +00:00
Ivo Timmermans
e65a93053c Wrapped text to 70 (72?) columns for easy reading 2000-11-09 20:42:16 +00:00
Ivo Timmermans
4310b17be9 Final release notes added, also edited release notes for 1.0pre2 to what the announcement on the mailing list looked like. 2000-11-09 20:41:13 +00:00
Guus Sliepen
16847ea255 - Make checkpoint tracing a compile time option (off by default) 2000-11-08 20:52:37 +00:00
Guus Sliepen
55d7b5a2bb - Add Jamie :) 2000-11-08 18:05:06 +00:00
Guus Sliepen
5055e1dedc - Applied Jamie Brigg's patch (close sockets after error) 2000-11-08 17:56:34 +00:00
Guus Sliepen
74326df7ad - Fixed --config
- Show warning when both netname and config directory are given.
2000-11-08 00:20:06 +00:00
Guus Sliepen
f8f1007bf4 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.
2000-11-08 00:10:50 +00:00
Guus Sliepen
56bd0864e4 Porting to SunOS 5.8:
- Include all header files necessary
- Check for flock() function
2000-11-07 22:33:33 +00:00