Commit graph

  • b16bf68a6d Credit OpenSSH Ivo Timmermans 2001-11-15 23:28:58 +00:00
  • 18269cfbe8 Check for getnameinfo, gai_strerror, freeaddrinfo Ivo Timmermans 2001-11-15 23:26:27 +00:00
  • ae11e7c3d7 Check for getaddrinfo Ivo Timmermans 2001-11-15 23:05:34 +00:00
  • e06415e3d9 More fixes for Solaris. Guus Sliepen 2001-11-05 19:09:08 +00:00
  • 25a804c94e Various fixes needed for Solaris. Guus Sliepen 2001-11-05 19:06:07 +00:00
  • b2d5002ff1 Correctly check if subnet owner exists. Guus Sliepen 2001-11-04 23:48:27 +00:00
  • ede6671c13 Be liberal in what you accept: allow unknown edges to be deleted. Guus Sliepen 2001-11-04 23:29:50 +00:00
  • cf0e133e19 *** empty log message *** Guus Sliepen 2001-11-03 22:53:02 +00:00
  • e5047d2835 Several bugfixes. Guus Sliepen 2001-11-03 21:22:02 +00:00
  • 8910cbd67e Use PEM functions as suggested by OpenSSL docs. Guus Sliepen 2001-11-03 21:21:04 +00:00
  • 8e74c5bee4 Some very small fixes Guus Sliepen 2001-10-31 20:37:54 +00:00
  • ffb88ff641 Avoid connecting to another node twice, and check name of outgoing connections. Guus Sliepen 2001-10-31 20:22:52 +00:00
  • 6d333ad680 Show cfg->variable instead of cfg->value when complaining about wrong type. Guus Sliepen 2001-10-31 20:07:17 +00:00
  • 54b756f7df Don't forget to read public RSA key when making an outgoing connection. Guus Sliepen 2001-10-31 20:02:06 +00:00
  • c0a3f67a5d - Small fixes to graph algorithms - More control over tap device, ability to set interface name to something other than the netname. - Export NETNAME, DEVICE and INTERFACE environment variables to scripts. Guus Sliepen 2001-10-31 12:50:24 +00:00
  • 2165931c62 More updates to protocol handlers and reimplemented terminate_connection(). Guus Sliepen 2001-10-30 16:34:32 +00:00
  • 87ad5c97a9 Various fixes, tinc is now somewhat capable of actually working again. Guus Sliepen 2001-10-30 12:59:12 +00:00
  • cc9473d8c6 Working version of Kruskal's algorithm. The running time is very bad though. Guus Sliepen 2001-10-29 13:14:57 +00:00
  • b6298e2c08 - More changes needed for Kruskal's algorithm - Implemented a breadth-first search algorithm as a cheap substitution for a single-source shortest path algorithm. Guus Sliepen 2001-10-28 22:42:49 +00:00
  • 66067cc9c1 - More s/vertex/edge/g - Implementation of Kruskal's minimum spanning tree algorithm. Guus Sliepen 2001-10-28 10:16:18 +00:00
  • 94497336ef What was I thinking? s/vertex/edge/g. Guus Sliepen 2001-10-28 08:41:19 +00:00
  • b98d9787fd Various small fixes to make tinc runnable again. Guus Sliepen 2001-10-27 15:19:13 +00:00
  • ac066bb057 Make sure everything links. Guus Sliepen 2001-10-27 13:13:35 +00:00
  • 82e3837109 Big bad commit: - Transition to new node/vertex/connection structures - Use new configuration handling everywhere - Linux tun/tap device handling cleanup - Start of IPv6 support in route.c Guus Sliepen 2001-10-27 12:13:17 +00:00
  • 1935c44a1e Support new files (node/vertex/device.[ch]) and OpenBSD. Guus Sliepen 2001-10-13 13:53:07 +00:00
  • 26e517dd37 Forgot the tun specific stuff. Guus Sliepen 2001-10-12 15:52:03 +00:00
  • ad61c20f42 Added OpenBSD tun device handling. Untested though. Guus Sliepen 2001-10-12 15:49:11 +00:00
  • 0c6321a67f Forgot to remove some old #ifdef stuff. Guus Sliepen 2001-10-12 15:38:35 +00:00
  • 6014c7e637 Solaris tun device handling cleaned up a bit and added. Guus Sliepen 2001-10-12 15:33:21 +00:00
  • 623c7ee030 Added FreeBSD tap device handling. Guus Sliepen 2001-10-12 15:22:59 +00:00
  • ec34f25228 - Split tap device stuff out of net.[ch] - Each OS gets it's own device.c to get rid of evil #ifdefs. - Cleaned up Linux ethertap and tun/tap handling. Guus Sliepen 2001-10-12 15:16:03 +00:00
  • 0bbace18e9 More updates to new node/vertex/connection combo. Guus Sliepen 2001-10-10 20:35:10 +00:00
  • ea607d2d92 Revamp configuration handling: - Store everything in AVL trees (fast lookup) - No need for hazahaza anymore - Parse values when needed - This simplifies a lot of config variable lookups. Guus Sliepen 2001-10-10 20:34:27 +00:00
  • 5904806dc8 Removed everything from connection.c that has already been moved to node.c and vertex.c. Guus Sliepen 2001-10-10 09:42:29 +00:00
  • ec0c16b9b6 Further implementation of doc/CONNECTIVITY. connection.[ch] is now split into a node, vertex and connection part. Guus Sliepen 2001-10-10 08:49:47 +00:00
  • 75e1ae3a28 make is not always GNU make. Wessel Dankers 2001-10-09 19:41:56 +00:00
  • f22b941751 Small corrections. Guus Sliepen 2001-10-09 19:37:10 +00:00
  • 49a2cd806c Started implementing doc/CONNECTIVITY. Guus Sliepen 2001-10-09 19:30:30 +00:00
  • 5926c82b9a Updated dutch translation. Guus Sliepen 2001-10-08 15:47:30 +00:00
  • fcc3ded75f Fix bug when dropping an old connection in favour of a new one from the same host. Guus Sliepen 2001-10-08 15:37:14 +00:00
  • 1ef90a87fd - Use ping timeout mechanism to close connections that don't authenticate in time. - Fix potential segmentation fault in check_dead_connections(). Guus Sliepen 2001-10-08 13:37:30 +00:00
  • ce9fd32c04 Fix bug where tinc would crash because of a portscan or a connection from a tinc daemon with a different version. Guus Sliepen 2001-10-08 11:59:08 +00:00
  • 21027b1d57 - Renamed lastbutonehop to prevhop. - Added connection_t *via to connection_t, this keeps record of where to send UDP packets to. Guus Sliepen 2001-10-08 11:47:55 +00:00
  • 18d1233c40 Fill in next- and lastbutonehop for myself. Guus Sliepen 2001-09-25 13:39:11 +00:00
  • ec100a58b4 Try next connectto instead of the same over and over. Guus Sliepen 2001-09-25 13:35:45 +00:00
  • 4d3de3b6a9 Show next- and lastbutonehop when dumping connectionlist to syslog. Guus Sliepen 2001-09-24 14:16:29 +00:00
  • 24a2c7e51a Not only keep track of nexthop, but also of lastbutonehop. If destination cl wants indirectdata, send it to the lastbutonehop instead, unless it too has requested so, and so on. Guus Sliepen 2001-09-24 14:12:00 +00:00
  • 154733927a - Try old TUN/TAP ioctl() request if the one from if_tun.h fails. - Be more verbose about the kind of tap device used. Guus Sliepen 2001-09-24 13:31:15 +00:00
  • 950c934e0b Killing tincd with SIGINT causes it to toggle between the current debug level and level 5. Useful to debug a running tincd. Ivo Timmermans 2001-09-05 18:38:09 +00:00
  • a54ec980e0 config_t* is a const parameter in get_config_val(). Guus Sliepen 2001-09-01 12:46:49 +00:00
  • 68e23b1c9e Optional signal number for -k option. Guus Sliepen 2001-09-01 12:36:53 +00:00
  • 8ed27d40f3 Revised reconnection mechanism, always try out all ConnectTo lines. Guus Sliepen 2001-09-01 12:36:06 +00:00
  • ef1facc607 Remove IndirectData support for now, new implementation will be added later. Guus Sliepen 2001-09-01 12:02:39 +00:00
  • 8b5e421130 Fix signed comparison bug in lookup_subnet_ipv4(). Guus Sliepen 2001-08-28 20:52:39 +00:00
  • e1184ad15d Don't send DEL_HOSTs when !status.meta Guus Sliepen 2001-08-17 18:14:04 +00:00
  • 30d22474cc Explicitly log which type of tunnel device is used. Guus Sliepen 2001-07-24 20:14:30 +00:00
  • 7e86cf91e3 The val variable in a config_t is never used as a long. Guus Sliepen 2001-07-24 20:13:42 +00:00
  • 43923d2b10 Write public key to rsa_key.pub instead of rsa_key.priv (if not host configuration file is found). Guus Sliepen 2001-07-24 20:04:22 +00:00
  • 44e9d6a287 Don't use %m in fprintf(). Guus Sliepen 2001-07-24 20:03:40 +00:00
  • cbd03caece More on edges. Guus Sliepen 2001-07-24 08:51:36 +00:00
  • 3cd238f4e3 Discuss how sending ADD_EDGEs would be better than sending ADD_HOSTs. Guus Sliepen 2001-07-23 22:06:22 +00:00
  • 5333cada0d Written down a possible solution. Guus Sliepen 2001-07-22 17:41:52 +00:00
  • 995ab86fce Correctie. Guus Sliepen 2001-07-22 15:25:13 +00:00
  • d7b4de0e73 Small update. Guus Sliepen 2001-07-22 14:58:18 +00:00
  • 71b9041f48 Described problem in more detail. Guus Sliepen 2001-07-22 14:46:11 +00:00
  • c1a98cd37e Started writing a document about how daemons connect to each other. Guus Sliepen 2001-07-22 14:04:38 +00:00
  • fcbe215d64 Woohoo! tinc now compiles, runs and actually *works* on Solaris! Tested on a SparcStation 20MP running Solaris 7. (Thanks, jiggel!) Guus Sliepen 2001-07-21 20:21:25 +00:00
  • 533ee1206f Always close all sockets in terminate_connection(). Guus Sliepen 2001-07-21 15:46:34 +00:00
  • acb853205d Updated terminate_connection() so you can choose if DEL_HOSTs should be sent or not. Guus Sliepen 2001-07-21 15:34:18 +00:00
  • 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(). Guus Sliepen 2001-07-20 20:25:10 +00:00
  • 37ed4265fa Remove all unnecessary status.meta and status.active checks. Guus Sliepen 2001-07-20 13:54:19 +00:00
  • 5e2ded68bf Correctly use the active_tree. Guus Sliepen 2001-07-19 12:29:40 +00:00
  • 319e0cb48e Split connection list into two lists: - one list to handle all incoming/outgoing TCP connections - another list to handle all UDP connections Guus Sliepen 2001-07-15 18:07:31 +00:00
  • b3074590b1 Correct inclusion of standard if_tun.h header file. Guus Sliepen 2001-07-15 14:21:12 +00:00
  • 5dc4ade0b9 Don't load table of verbose OpenSSL errormessages. Guus Sliepen 2001-07-04 08:43:32 +00:00
  • 1e2bdc2b6d - Always use <openssl/include.h> instead of just <include.h> - Check if RAND_pseudo_bytes() exists, otherwise just use RAND_bytes() Guus Sliepen 2001-07-04 08:41:36 +00:00
  • 6bd93e4c06 Check for all potential duplicate entries in the id tree. Guus Sliepen 2001-07-01 21:42:13 +00:00
  • 9645cabc8e Fix compiler warning. Guus Sliepen 2001-07-01 09:21:14 +00:00
  • 6365d0627b Fix printf format bug. Guus Sliepen 2001-07-01 09:21:01 +00:00
  • 33d6de0cd5 More items marked as done. Guus Sliepen 2001-07-01 09:06:17 +00:00
  • a111593a08 Dutch translation updated. Guus Sliepen 2001-06-29 15:38:40 +00:00
  • 748dabdbe9 Update of RedHat build scripts. Guus Sliepen 2001-06-29 15:33:18 +00:00
  • 343c8fb638 It appears that autogen.sh doesn't like es.po if it isn't mentioned in the makefile/configure scripts. Guus Sliepen 2001-06-29 15:32:26 +00:00
  • 9391efe4e8 Check for dlopen in standard libraries first (needed for DEC OSF). Guus Sliepen 2001-06-29 14:15:46 +00:00
  • c9591bd1de Fix gcc 3.0 warnings. Guus Sliepen 2001-06-29 13:09:55 +00:00
  • 402b85c482 Log error if two hosts connect with same IP/port tuple. Guus Sliepen 2001-06-29 13:09:32 +00:00
  • 0d3bd912ac Also remove po/Makefile.in.in, which is generated by autogen.sh. Guus Sliepen 2001-06-29 11:09:13 +00:00
  • 67c16924c1 es.po revived. Guus Sliepen 2001-06-29 11:03:27 +00:00
  • 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. Guus Sliepen 2001-06-29 10:30:18 +00:00
  • 6666acd001 Don't build Spanish translation. Guus Sliepen 2001-06-29 10:27:57 +00:00
  • 77f635e871 ABOUT-NLS is created by autogen.sh. Guus Sliepen 2001-06-29 10:27:33 +00:00
  • 333be8fbb8 Spanish translation removed. Nobody maintains it, and it is severely outdated. Guus Sliepen 2001-06-29 10:23:46 +00:00
  • 3503ba9950 Small fix to make it compile again Ivo Timmermans 2001-06-26 22:00:57 +00:00
  • 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. Guus Sliepen 2001-06-21 18:28:52 +00:00
  • 9e96840da8 Remove #warnings I used for debugging stuff. Guus Sliepen 2001-06-21 16:37:47 +00:00
  • b1e97ece9c Check for and add -ldl. Guus Sliepen 2001-06-21 16:37:05 +00:00
  • 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). Guus Sliepen 2001-06-21 16:16:32 +00:00
  • 353a9230bb Don't include the debian/ dir in a release Ivo Timmermans 2001-06-20 21:32:40 +00:00
  • 9a0a50cd3c Woops - big bug in send_key_changed fixed. Guus Sliepen 2001-06-09 10:00:34 +00:00
  • ba918dce28 Only reset seconds_till_retry when we activate the outgoing connection. Guus Sliepen 2001-06-08 18:02:10 +00:00