Commit graph

1412 commits

Author SHA1 Message Date
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
Guus Sliepen
7d0f82bd4b - Open UDP connection for all known hosts. Comments please. 2000-11-07 22:02:14 +00:00
Guus Sliepen
f95cc86d0c 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).
2000-11-07 21:43:28 +00:00
Ivo Timmermans
efc3a2a466 Build-Depends on gettext 2000-11-05 02:19:58 +00:00
Guus Sliepen
698191fd2f - Prepended config_ to all configuration option names, because it confused
everything (including myself).
- Use connection oriented UDP sockets for both incoming and outgoing
  packets.
2000-11-04 22:57:33 +00:00
Guus Sliepen
afc0579707 - Simplified ping mechanism. 2000-11-04 20:44:28 +00:00
Ivo Timmermans
2191d894bf Build-depends on libtool 2000-11-04 17:29:45 +00:00
Guus Sliepen
5019dd8791 - Check for packets that are looping back. 2000-11-04 17:09:10 +00:00
Ivo Timmermans
20dd5aff4d Updated Dutch translation 2000-11-04 17:04:17 +00:00
Ivo Timmermans
3f177e9bf0 Add route.c to the list of source files. 2000-11-04 17:01:55 +00:00
Guus Sliepen
ac47586552 - Forward keys in hex notation, not as binary data. 2000-11-04 16:54:21 +00:00
Guus Sliepen
3f8f067e8b - Don't forget to set packet cipher for added hosts. 2000-11-04 16:39:19 +00:00
Guus Sliepen
433858d410 - connlist.c added to translation 2000-11-04 15:34:07 +00:00
Ivo Timmermans
15246df85d In execute_script:
- add an environment variable NETNAME.
- chdir to the configuration directory before execing the script.
2000-11-04 15:32:05 +00:00
Ivo Timmermans
69618c0138 Do not include the passphrases directory 2000-11-04 15:18:58 +00:00
Guus Sliepen
417f36a079 - Removed manpage for no longer existing genauth. 2000-11-04 15:17:02 +00:00
Guus Sliepen
3d7189a444 - Resolve scriptname after fork() 2000-11-04 14:52:40 +00:00
Ivo Timmermans
d38772ebc4 Use putenv() instead of clumsy do-it-yourself in execute_script. 2000-11-04 14:16:46 +00:00
Ivo Timmermans
f83803c1bf Small change to the way the environment is copied. 2000-11-04 13:25:15 +00:00