Commit graph

1359 commits

Author SHA1 Message Date
Ivo Timmermans
c94f763742 dropin.c/h contain a set of drop-in replacements for non-standard C
library functions (read: GNU extensions).
2000-11-28 23:23:41 +00:00
Ivo Timmermans
3ff76eb10a Save RSA public and private keys to a separate file, instead of
wanting to copy them into a configuration file.
2000-11-28 23:12:57 +00:00
Ivo Timmermans
4c502b005b Use sigaction to set signal handlers, the previous commit (1.1.2.16)
already contained a large portion of what should have gone in this
one.
2000-11-28 08:59:27 +00:00
Ivo Timmermans
e44dc004b3 Sort items to either 1.0 or future release goals. 2000-11-27 20:52:55 +00:00
Ivo Timmermans
699f3b4c93 Check for the function strsignal, and define it to "" if it is not
available.
2000-11-26 22:46:53 +00:00
Ivo Timmermans
67a4abda70 Give an error message if daemon() failed. 2000-11-26 22:42:34 +00:00
Ivo Timmermans
702e55306d Updated Spanish translation, provided by Enrique Zanardi. 2000-11-26 22:32:52 +00:00
Guus Sliepen
1eedf54681 - Use only one socket for all UDP traffic (for compatibility)
- Write pidfile again after detaching
- Check OS (for handling FreeBSD/Solaris tun/tap stuff)
2000-11-25 13:33:33 +00:00
Guus Sliepen
0806605ce3 - Added daemon() replacement. 2000-11-24 23:30:50 +00:00
Guus Sliepen
cfb828784e - Added Armijn to the list 2000-11-24 23:14:52 +00:00
Guus Sliepen
cf49b2c064 Another big & bad commit:
- Added some extra search functions to rbl routines
- Fix subnet_lookup()
- Reorder some syslog messages to make more sense
- daemon() is back
- Don't let scripts execute in parallel (gives race conditions, and
  anyway something MIGHT just be configured which is necessary for further
  execution of tinc itself)
- Accidently merged check_child() with execute_script().
- Small fixes
2000-11-24 23:13:07 +00:00
Ivo Timmermans
97c54ffb35 Add default tinc-up and tinc-down scripts for a Debian system. These
do not yet work, it's just old code from init.d.
2000-11-24 16:52:57 +00:00
Ivo Timmermans
b42c9abafd Call autogen.sh instead of configure alone; and make cvs-clean instead
of distclean.  This way you can just cvs checkout && dpkg-buildpackage
in one go.
2000-11-24 14:15:20 +00:00
Ivo Timmermans
edb9b4cad0 Explain how to tell configure where OpenSSL lives. 2000-11-24 14:13:51 +00:00
Ivo Timmermans
4cb4a7d298 Set errno to 0 before trying to kill the other process. 2000-11-24 14:13:06 +00:00
Ivo Timmermans
ef88db6312 Alter CFLAGS, somehow INCLUDES doesn't propagate properly. Still
doesn't work exactly like it should, but getting there.
2000-11-24 14:12:31 +00:00
Ivo Timmermans
b178228401 Set CFLAGS to -O2 -Wall when running configure 2000-11-24 14:04:49 +00:00
Ivo Timmermans
eb36b0c1ef Use cvs2cl instead of rcs2log to generate the ChangeLog. 2000-11-24 14:00:32 +00:00
Ivo Timmermans
2f37f2bd8a Set localstatedir to /var 2000-11-24 14:03:13 +00:00
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