Commit graph

673 commits

Author SHA1 Message Date
Guus Sliepen
30d22474cc Explicitly log which type of tunnel device is used. 2001-07-24 20:14:30 +00:00
Guus Sliepen
7e86cf91e3 The val variable in a config_t is never used as a long. 2001-07-24 20:13:42 +00:00
Guus Sliepen
43923d2b10 Write public key to rsa_key.pub instead of rsa_key.priv (if not host
configuration file is found).
2001-07-24 20:04:22 +00:00
Guus Sliepen
44e9d6a287 Don't use %m in fprintf(). 2001-07-24 20:03:40 +00:00
Guus Sliepen
cbd03caece More on edges. 2001-07-24 08:51:36 +00:00
Guus Sliepen
3cd238f4e3 Discuss how sending ADD_EDGEs would be better than sending ADD_HOSTs. 2001-07-23 22:06:22 +00:00
Guus Sliepen
5333cada0d Written down a possible solution. 2001-07-22 17:41:52 +00:00
Guus Sliepen
995ab86fce Correctie. 2001-07-22 15:25:13 +00:00
Guus Sliepen
d7b4de0e73 Small update. 2001-07-22 14:58:18 +00:00
Guus Sliepen
71b9041f48 Described problem in more detail. 2001-07-22 14:46:11 +00:00
Guus Sliepen
c1a98cd37e Started writing a document about how daemons connect to each other. 2001-07-22 14:04:38 +00:00
Guus Sliepen
fcbe215d64 Woohoo! tinc now compiles, runs and actually *works* on Solaris!
Tested on a SparcStation 20MP running Solaris 7. (Thanks, jiggel!)
2001-07-21 20:21:25 +00:00
Guus Sliepen
533ee1206f Always close all sockets in terminate_connection(). 2001-07-21 15:46:34 +00:00
Guus Sliepen
acb853205d Updated terminate_connection() so you can choose if DEL_HOSTs should be
sent or not.
2001-07-21 15:34:18 +00:00
Guus Sliepen
12f6b80429 Added purge_tree for connection_t's which are no longer in the connection,
active or id trees, but which may still be referenced. This tree is flushed
when it is safe, this replaces purge_connection_tree().

Also lots of bugfixes related to the new trees.
2001-07-20 20:25:10 +00:00
Guus Sliepen
37ed4265fa Remove all unnecessary status.meta and status.active checks. 2001-07-20 13:54:19 +00:00
Guus Sliepen
5e2ded68bf Correctly use the active_tree. 2001-07-19 12:29:40 +00:00
Guus Sliepen
319e0cb48e Split connection list into two lists:
- one list to handle all incoming/outgoing TCP connections
 - another list to handle all UDP connections

This will prevent race conditions.
2001-07-15 18:07:31 +00:00
Guus Sliepen
b3074590b1 Correct inclusion of standard if_tun.h header file. 2001-07-15 14:21:12 +00:00
Guus Sliepen
5dc4ade0b9 Don't load table of verbose OpenSSL errormessages. 2001-07-04 08:43:32 +00:00
Guus Sliepen
1e2bdc2b6d - Always use <openssl/include.h> instead of just <include.h>
- Check if RAND_pseudo_bytes() exists, otherwise just use RAND_bytes()
2001-07-04 08:41:36 +00:00
Guus Sliepen
6bd93e4c06 Check for all potential duplicate entries in the id tree. 2001-07-01 21:42:13 +00:00
Guus Sliepen
9645cabc8e Fix compiler warning. 2001-07-01 09:21:14 +00:00
Guus Sliepen
6365d0627b Fix printf format bug. 2001-07-01 09:21:01 +00:00
Guus Sliepen
33d6de0cd5 More items marked as done. 2001-07-01 09:06:17 +00:00
Guus Sliepen
a111593a08 Dutch translation updated. 2001-06-29 15:38:40 +00:00
Guus Sliepen
748dabdbe9 Update of RedHat build scripts. 2001-06-29 15:33:18 +00:00
Guus Sliepen
343c8fb638 It appears that autogen.sh doesn't like es.po if it isn't mentioned in
the makefile/configure scripts.
2001-06-29 15:32:26 +00:00
Guus Sliepen
9391efe4e8 Check for dlopen in standard libraries first (needed for DEC OSF). 2001-06-29 14:15:46 +00:00
Guus Sliepen
c9591bd1de Fix gcc 3.0 warnings. 2001-06-29 13:09:55 +00:00
Guus Sliepen
402b85c482 Log error if two hosts connect with same IP/port tuple. 2001-06-29 13:09:32 +00:00
Guus Sliepen
0d3bd912ac Also remove po/Makefile.in.in, which is generated by autogen.sh. 2001-06-29 11:09:13 +00:00
Guus Sliepen
67c16924c1 es.po revived. 2001-06-29 11:03:27 +00:00
Guus Sliepen
5d34503574 Execute tinc-down BEFORE tap device is closed. This is a. more symmetric
(tinc-up is started after tap device is opened) and b. is needed for
tun/tap device, where the interface does not exist anymore after the
device file is closed.
2001-06-29 10:30:18 +00:00
Guus Sliepen
6666acd001 Don't build Spanish translation. 2001-06-29 10:27:57 +00:00
Guus Sliepen
77f635e871 ABOUT-NLS is created by autogen.sh. 2001-06-29 10:27:33 +00:00
Guus Sliepen
333be8fbb8 Spanish translation removed. Nobody maintains it, and it is severely
outdated.
2001-06-29 10:23:46 +00:00
Ivo Timmermans
3503ba9950 Small fix to make it compile again 2001-06-26 22:00:57 +00:00
Guus Sliepen
7fc068fe54 Reinstated search for if_tun.h in kernel source tree, because apparently
/usr/include/linux does not always have the same contents as the include
files from the currently running kernel.
2001-06-21 18:28:52 +00:00
Guus Sliepen
9e96840da8 Remove #warnings I used for debugging stuff. 2001-06-21 16:37:47 +00:00
Guus Sliepen
b1e97ece9c Check for and add -ldl. 2001-06-21 16:37:05 +00:00
Guus Sliepen
04ec0b82ab - Solaris compile fixes
- Set mymac to broadcast MAC so that ifconfig hw ether <...> is really not
  needed anymore.
- Forwarding of indirect packets when in switch mode (because the kernel
  will not do it for us then).
2001-06-21 16:16:32 +00:00
Ivo Timmermans
353a9230bb Don't include the debian/ dir in a release 2001-06-20 21:32:40 +00:00
Guus Sliepen
9a0a50cd3c Woops - big bug in send_key_changed fixed. 2001-06-09 10:00:34 +00:00
Guus Sliepen
ba918dce28 Only reset seconds_till_retry when we activate the outgoing connection. 2001-06-08 18:02:10 +00:00
Guus Sliepen
c5c02a0861 Changed drastically because it didn't work correctly:
- Don't cache the --with-openssl-* option arguments
- Only search for openssl/*.h, the openssl include files include other
  files only from an openssl/ directory too
- Set CPPFLAGS before AC_CHECK_HEADERS
2001-06-07 07:51:04 +00:00
Guus Sliepen
053e786540 Save configure cache more often. 2001-06-07 07:48:11 +00:00
Guus Sliepen
96ef7becdd Fixes to make switching work between hosts that have no meta-connection. 2001-06-06 19:12:38 +00:00
Guus Sliepen
ce6c8e6d08 Log and warn about duplicate subnet_add()'s for the same subnet. 2001-06-06 19:11:16 +00:00
Guus Sliepen
9cd9b03923 Add missing? counting of total_socket_in. 2001-06-05 19:45:47 +00:00