Commit graph

768 commits

Author SHA1 Message Date
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
Guus Sliepen
7bd7f5b436 You can now put an option "Mode" in tinc.conf, and choose from:
- Mode = router (default, work like tinc has always worked)
- Mode = switch (work like a switch)
- Mode = hub    (work like a hub, broadcasting everything)
2001-06-05 19:39:54 +00:00
Guus Sliepen
edd6734faa Fix bug where lookup_subnet_ipv4() could go into an infinite loop. 2001-06-05 18:07:14 +00:00
Guus Sliepen
fa376fbd4e - This oneliner removes the need for ifconfig tap? hw ether fe:fd:0:0:0:0 2001-06-05 16:31:59 +00:00
Guus Sliepen
7a736d47b2 Updated dutch translation. 2001-06-05 16:15:48 +00:00
Guus Sliepen
92924e8482 Changed some stuff to allow correct generation of po/Makefile after a
make cvs-clean.
2001-06-05 16:13:41 +00:00