Commit graph

  • 784db4e70d Format string checking for logger(). Guus Sliepen 2003-07-12 20:24:04 +00:00
  • a438ac911e Removing distribution specific files from CVS. Guus Sliepen 2003-07-12 20:19:22 +00:00
  • 085d33e626 Update copyrights. Guus Sliepen 2003-07-12 17:48:38 +00:00
  • 5db596c684 Simplify logging, update copyrights and some minor cleanups. Guus Sliepen 2003-07-12 17:41:48 +00:00
  • 2a7f11c0e9 More missing IPv6 definitions and autoconf checks to make sure it compiles under Solaris 2.6. Guus Sliepen 2003-07-11 16:13:00 +00:00
  • 71f8124ea4 More missing definitions. Guus Sliepen 2003-07-07 11:50:52 +00:00
  • a88f1edf29 Actually add ipv6.h. Guus Sliepen 2003-07-07 11:13:31 +00:00
  • 30c0381d71 Provide all missing IPv6 definitions in lib/ipv6.h. Guus Sliepen 2003-07-07 11:11:33 +00:00
  • 1401faf608 Sprinkling the source with static and attributes. Guus Sliepen 2003-07-06 23:16:29 +00:00
  • 0b9175e998 Define logger(), cleans up source code and allows us to write log entries to a separate file. Guus Sliepen 2003-07-06 22:11:37 +00:00
  • 8681047030 Check for IPv6 header files. Guus Sliepen 2003-07-06 17:49:49 +00:00
  • 81f5713ab7 - simplify configure.in - drop support for OpenSSL < 0.9.7 - add some missing definitions/includes Guus Sliepen 2003-07-06 17:15:25 +00:00
  • 6c7172d694 This subtle pointer arithmetic thingy is (I'm very sure of it) the cause of the lingering connections problem. Hopefully it is fixed now... Guus Sliepen 2003-06-25 20:55:05 +00:00
  • 9528a63c35 Really make tinc default to any addressfamily. Guus Sliepen 2003-06-25 20:52:59 +00:00
  • 8bfa554af9 There are two lzo compression levels. Guus Sliepen 2003-06-12 11:08:40 +00:00
  • c3593491d4 Typo and conversion to UTF-8. Guus Sliepen 2003-06-11 20:36:36 +00:00
  • 636e650261 Update dutch translation. Guus Sliepen 2003-06-11 20:19:46 +00:00
  • 9279b3c699 Update documentation. Guus Sliepen 2003-06-11 20:18:48 +00:00
  • 0a9aef2da7 More braces to make gcc happy. Guus Sliepen 2003-06-11 19:40:43 +00:00
  • cf63cbef2b Fixes from Wessel Danker's libavl. Guus Sliepen 2003-06-11 19:39:02 +00:00
  • 12de5a8eed Remove mymac stuff from device.c. Guus Sliepen 2003-06-11 19:28:38 +00:00
  • 31f17d4334 AddressFamily is "any" by default. Guus Sliepen 2003-06-11 19:27:35 +00:00
  • 451800eda8 If we have a Linux tun/tap device and we are in router mode, open the device in tun mode. Guus Sliepen 2003-06-11 19:09:52 +00:00
  • 9e02a3d563 Call make_names() before doing anything else. Guus Sliepen 2003-06-11 19:07:56 +00:00
  • 4b0e5a03fe Fix warning and add missing checks for LZO library. Guus Sliepen 2003-06-07 13:18:32 +00:00
  • f238c209f4 Fix links. Guus Sliepen 2003-05-17 22:12:52 +00:00
  • 249933350b Small fixes. Guus Sliepen 2003-05-07 11:21:58 +00:00
  • 6ba4e2da55 Small fixes to make LZO compression work. Guus Sliepen 2003-05-06 23:14:45 +00:00
  • c70f52087b - Per-node EVP_CIPHER_CTX to avoid initialisation overhead. - LZO compression, thanks to Teemu Kiviniemi. - Updated dutch translation. Guus Sliepen 2003-05-06 21:13:18 +00:00
  • 1ad2394b84 Make sure outgoing_t is completely freed. Guus Sliepen 2003-04-19 11:12:45 +00:00
  • bc9e78250e Better handling of late packets. Guus Sliepen 2003-04-18 21:18:36 +00:00
  • 51a1bcf001 HUP signal now closes connections to hosts if their host config file is gone or changed. The tinc.conf file is reread for changes in the ConnectTo lines. Guus Sliepen 2003-04-03 11:43:17 +00:00
  • 8285827da1 Checksums must also work for uneven number of bytes. Guus Sliepen 2003-03-29 22:11:22 +00:00
  • c3ad3731a8 Don't copy more than necessary. Guus Sliepen 2003-03-29 21:58:35 +00:00
  • 7d21a8d1c7 - Speed up checksumming - If a destination is not found in the subnet list or the destination node is unreachable, respond with an appropiate ICMP message. Guus Sliepen 2003-03-29 21:51:21 +00:00
  • 9792ba2cac - Avoid memory leak caused by OpenSSL 0.9.7a. - Disable RSA_blinding_on() because it segfaults. Guus Sliepen 2003-03-28 13:41:49 +00:00
  • 69158563e9 Typo. Guus Sliepen 2003-03-19 11:45:05 +00:00
  • 88ae2e9e0c Make sure send_meta() writes everything. Guus Sliepen 2003-03-19 11:43:42 +00:00
  • 2fff0a91a7 Call RSA_blinding_on(), as advised in the paper on http://crypto.stanford.edu/~dabo/abstracts/ssl-timing.html to offer some resistance against timing attacks. Ivo Timmermans 2003-03-14 09:43:10 +00:00
  • 1783a3aaa9 Various fixes for autoconf and OpenSSL 0.9.7 and a missing header. Guus Sliepen 2003-01-17 00:43:58 +00:00
  • c08858baa9 - Fix indentation in some places. - Optimise select loop. - Remove unused function setup_outgoing_socket(). - Clear EVP_CIPHER_CTX structures before using them. Guus Sliepen 2003-01-17 00:37:20 +00:00
  • 38f562fdfc Add $NAME for tinc-up/down scripts. Guus Sliepen 2003-01-14 12:53:59 +00:00
  • 44b87ddb7a Run graph algorithm when replacing a second connection from the same host replaces an older one. Guus Sliepen 2003-01-12 17:02:23 +00:00
  • 4c88ff86bc PrivateKeyFile instead of PrivateKey. Guus Sliepen 2002-12-27 19:32:33 +00:00
  • 5b2a62ebb6 Fix PriorityInheritance. Guus Sliepen 2002-11-14 22:09:03 +00:00
  • 07db46a44f Add documentation for BindToAddress. Guus Sliepen 2002-10-07 07:32:31 +00:00
  • e310cc82d3 Fix saving of debug level for startup level 0 Ivo Timmermans 2002-09-30 19:04:37 +00:00
  • 006591efe5 Run graph() after edge_del() when updating an edge. Guus Sliepen 2002-09-24 11:43:34 +00:00
  • 6904e0469e its: Engels voor "van het" - 3e persoon enkelvoud, genitief, onzijdig it's: Engels voor "het is". Dus niet "van het". Wessel Dankers 2002-09-16 14:08:04 +00:00
  • 4f3395ee4d Thank some more people. Guus Sliepen 2002-09-15 22:37:59 +00:00
  • b216297a00 Remarks about 1.0pre8 release. Guus Sliepen 2002-09-15 22:34:25 +00:00
  • 1dcbdf48eb Update documentation. Guus Sliepen 2002-09-15 22:19:38 +00:00
  • bf3a118988 Use /dev/net/tun as default for tun/tap device under Linux. Guus Sliepen 2002-09-15 22:19:19 +00:00
  • 7d76ceaebd Updated dutch translation. Guus Sliepen 2002-09-15 17:40:00 +00:00
  • 5eca9520d9 Small fixes so tinc compiles out of the box on SunOS 5.8 Guus Sliepen 2002-09-15 14:55:54 +00:00
  • 8d472a415e port_t isn't used anymore and conflicts with MacOS/X headers. Guus Sliepen 2002-09-15 12:26:24 +00:00
  • 38c80bdd46 MacOS/X needs #define _P1003_1B_VISIBLE in order to use mlockall(). Guus Sliepen 2002-09-15 12:26:04 +00:00
  • 3e3b4a3190 What was I thinking? Guus Sliepen 2002-09-11 22:25:58 +00:00
  • f6905582d0 Make sure malloc() is declared. Guus Sliepen 2002-09-10 22:13:22 +00:00
  • eaf1208e9d Fix placement of #include "config.h" Guus Sliepen 2002-09-10 22:13:01 +00:00
  • dd888ca685 Link with libintl if necessary. Guus Sliepen 2002-09-10 21:46:05 +00:00
  • c01f78ed36 Clean up after indent. Guus Sliepen 2002-09-10 21:29:42 +00:00
  • 161f917dd0 Fix compiler warnings. Guus Sliepen 2002-09-10 09:40:25 +00:00
  • 3bc5543475 Let GCC check format string and arguments of send_request(). Guus Sliepen 2002-09-09 22:41:56 +00:00
  • 6f9f6779e6 Remove redundant spaces. Guus Sliepen 2002-09-09 22:33:31 +00:00
  • 9f38e39463 Switch to K&R style indentation. Guus Sliepen 2002-09-09 21:49:16 +00:00
  • f75dcef72a Switch to K&R style indentation. Guus Sliepen 2002-09-09 21:25:28 +00:00
  • 5fc1ed17f4 Cleanups: - Convert cp to cp(); so that automatic indenters work. - Convert constructions like if(x == NULL) to if(!x). - Move all assignments out of conditions. Guus Sliepen 2002-09-09 19:40:12 +00:00
  • 5638b9830f Why don't these connection_t's get cleaned up? Guus Sliepen 2002-09-06 21:22:35 +00:00
  • a8ddba42b9 Fix MST algorithm. Guus Sliepen 2002-09-06 21:02:36 +00:00
  • 66741978e1 Reset the *correct* seqnos. Guus Sliepen 2002-09-06 14:31:12 +00:00
  • d5b61fc0cd edge_weight_compare() shouldn't rely on edge_compare(). Guus Sliepen 2002-09-06 12:19:16 +00:00
  • fc7116a32b Added AM_MAINTAINER_MODE Ivo Timmermans 2002-09-06 11:08:21 +00:00
  • fbf8a47879 Remove global edge_tree. Guus Sliepen 2002-09-06 10:23:52 +00:00
  • 641705df90 Only reset seqno's when a key is sent or received. Guus Sliepen 2002-09-06 09:48:39 +00:00
  • e4d85a6557 Typo. Guus Sliepen 2002-09-04 23:11:58 +00:00
  • b4f87952bf Add missing headers. Guus Sliepen 2002-09-04 23:05:49 +00:00
  • b18bd211be Run autopoint and libtoolize before creating initial makefiles. Guus Sliepen 2002-09-04 23:04:52 +00:00
  • 6fdaa8e1ca Small updates. Guus Sliepen 2002-09-04 19:57:53 +00:00
  • d4277e9ee8 Updated dutch translation. Guus Sliepen 2002-09-04 16:36:03 +00:00
  • 8b2b67e26c Generalized request broadcasting/forwarding. Guus Sliepen 2002-09-04 16:26:45 +00:00
  • 431fa10b37 Small fixes. Guus Sliepen 2002-09-04 14:17:28 +00:00
  • 82ebfc923d Revert to edge and graph stuff. This time, use a directed graph. Guus Sliepen 2002-09-04 13:48:52 +00:00
  • 973530db62 Just ignore wrong ADD_NODEs instead of replying with a DEL_NODE, in the hope other DEL_NODEs will catch up eventually. Guus Sliepen 2002-09-04 08:48:03 +00:00
  • 2af0bcc8fd Don't forget to set prevhop to myself for new connections. Guus Sliepen 2002-09-04 08:36:34 +00:00
  • 698d6ddac6 Prevent looping DEL_NODE/ADD_NODE messages after a node disconnects. Guus Sliepen 2002-09-04 08:33:08 +00:00
  • 4a7c2026ae Reduce KEY_CHANGED traffic. Guus Sliepen 2002-09-04 08:02:33 +00:00
  • ddb96301a3 Woops. Guus Sliepen 2002-09-03 22:49:55 +00:00
  • b5bb06200e A reachable node is always more preferable to an unreachable one... Guus Sliepen 2002-09-03 22:37:49 +00:00
  • d134c4542d Drop graph and edge stuff. Use new node stuff instead. Guus Sliepen 2002-09-03 20:43:26 +00:00
  • 856de4c5fe Make sure setlocale() is available. Guus Sliepen 2002-09-03 20:42:05 +00:00
  • 2cb21f8810 Replacement for the current routing algorithm. Guus Sliepen 2002-09-02 22:40:42 +00:00
  • f2c2443bbc Check for ranlib. Guus Sliepen 2002-08-24 12:54:55 +00:00
  • 912e7e968f Gettext 1.11.5 compatibility. Guus Sliepen 2002-08-24 12:11:40 +00:00
  • 18948c5784 Added support for raw sockets. This can be used instead of tun/tap devices. Guus Sliepen 2002-07-18 14:30:45 +00:00
  • 9f370893fa Don't bother to chown, and correctly document ConnectTo. Guus Sliepen 2002-07-16 13:18:27 +00:00
  • 227ccd3a8a Allow tincd to be locked into main memory. Guus Sliepen 2002-07-16 13:12:49 +00:00
  • c4cd199357 Include complete fake-getname/addrinfo from OpenSSH. Guus Sliepen 2002-07-12 11:45:21 +00:00
  • afabbd6b90 Added stub device.c for Cygwin. Guus Sliepen 2002-07-11 12:57:06 +00:00
  • 8949404db0 Started port to Cygwin. Guus Sliepen 2002-07-11 12:55:58 +00:00