Commit graph

1324 commits

Author SHA1 Message Date
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
Guus Sliepen
4f9dad0972 - tinc can now act as a switch or a hub too (as opposed to a router only)
- cleaner initialisation of "UNKNOWN" and "MYSELF" names
2001-06-05 16:09:55 +00:00
Guus Sliepen
428482d86f Added proxy-arp support. No more ifconfig -arp needed. Works like a charm
under FreeBSD now :).
2001-06-04 11:14:35 +00:00
Guus Sliepen
0a3c8cefd4 Fix subnet_lookup() for overlapping subnets. Needs rethinking. 2001-06-01 08:02:09 +00:00
Guus Sliepen
7db1b999c8 Make sure Solaris is happy too. 2001-05-28 08:56:57 +00:00
Guus Sliepen
65247c063b Small fixes to allow correct compilation under FreeBSD (tested with 4.3) 2001-05-28 08:21:43 +00:00
Ivo Timmermans
4e959ee405 Don't distribute autogen.sh in a release 2001-05-26 09:35:28 +00:00
Ivo Timmermans
514f8f579d Changed version number to 1.0-cvs 2001-05-26 09:35:00 +00:00
Ivo Timmermans
20c2b62b18 New make target: `make release' 2001-05-26 09:34:11 +00:00
Guus Sliepen
8d307c2fbf Fix sample configuration to show keys in PEM format and correct tapdevice. 2001-05-25 18:57:37 +00:00
Guus Sliepen
e12d41f39d Documents are merged. Now we only need to check the ports and the TCPonly
and IndirectData options.
2001-05-25 13:24:34 +00:00
Guus Sliepen
f0c64a3dac Merged PROTOCOL, NETWORK and SECURITY2 with the texinfo manual. 2001-05-25 12:45:37 +00:00
Guus Sliepen
fcf869cd42 TCPonly now works (in a relatively clean way too). 2001-05-25 11:54:28 +00:00