Commit graph

  • d5b56bbba5 Disable PMTUDiscovery in switch and hub modes. Guus Sliepen 2009-03-09 13:48:54 +01:00
  • 78fc59e994 Update THANKS and copyright information. Guus Sliepen 2009-03-05 14:12:36 +01:00
  • 5674bba5c5 Allow weight to be assigned to Subnets. Guus Sliepen 2009-03-05 13:34:13 +01:00
  • 76a1bcaffc Enable PMTUDiscovery only if BOTH sides wants it. Michael Tokarev 2009-02-28 16:37:51 +03:00
  • 1c1a67fd93 Handle neighbor solicitation requests without link layer addresses. Guus Sliepen 2009-02-17 14:43:05 +01:00
  • 2327d3f6eb Allow tunnelserver to work with clients that have other peers. Michael Tokarev 2009-02-09 23:51:10 +01:00
  • 23730375f2 Disable old RSA keys when generating new ones. Guus Sliepen 2009-02-03 14:54:45 +01:00
  • 0d0dfd0852 Validate Name before using it in a filename when generating a keypair. Guus Sliepen 2009-01-20 14:21:50 +01:00
  • 0966cca8ab Allow reading config files with CRLF endings on Unix systems. Guus Sliepen 2009-01-20 14:20:44 +01:00
  • d1910ac198 Remove unused definitions from net.h. Guus Sliepen 2009-01-20 13:19:31 +01:00
  • 503c32eb0e Use a global list to track outgoing connections. Guus Sliepen 2009-01-20 13:12:41 +01:00
  • a7e793c94e Add missing cleanup functions in close_network_connections(). Guus Sliepen 2009-01-19 23:17:28 +01:00
  • 116065afe3 Change flush_events() to expire_events(). Guus Sliepen 2009-01-19 22:50:05 +01:00
  • a39a9506cd Move free()s at the end om main() to the proper destructor functions. Guus Sliepen 2009-01-09 12:36:06 +01:00
  • 67df7fb7e1 Only send packets via UDP if UDP communication is possible. Guus Sliepen 2009-01-03 22:33:55 +01:00
  • b069da90d6 Consistently allocate device and iface variables on the heap. Guus Sliepen 2009-01-03 22:06:10 +01:00
  • f81cea3bdc Update documentation for git. Guus Sliepen 2008-12-27 11:09:43 +01:00
  • c81f90b91a Releasing 1.0.9. Guus Sliepen 2008-12-26 13:47:34 +00:00
  • a4d99ebf50 Add missing parentheses in check for IPv4 multicast addresses. Guus Sliepen 2008-12-26 12:46:45 +00:00
  • 099bc56f53 Apply patch from Max Rijevski fixing a memory leak when closing connections. It also cleans up more when stopping tinc, helping tools like valgrind. Guus Sliepen 2008-12-23 23:14:37 +00:00
  • de032054de Handle broadcast and multicast packets in router mode. Multicast packets are treated as broadcast packets. Based on a patch from Max Rijevski. Guus Sliepen 2008-12-23 22:31:38 +00:00
  • a5f899a979 Update the manpage as well, and some whitespace to make its source more legible. Guus Sliepen 2008-12-22 21:49:23 +00:00
  • e8f08ced76 Update documentation. - TCPOnly is not experimental. - Do not mention old Linux kernels and Ethertap anymore. - Document the DeviceType, PMTU and PMTUDiscovery options. Guus Sliepen 2008-12-22 21:29:21 +00:00
  • 0e4d419aae Enable PMTU discovery by default. Guus Sliepen 2008-12-22 20:35:45 +00:00
  • e9576632dc Update copyright information. Guus Sliepen 2008-12-22 20:27:52 +00:00
  • f50dc972cd Update Dutch translation. Guus Sliepen 2008-12-22 19:43:49 +00:00
  • 26b490e86b Make sure IPv6 sockets are IPv6 only. This will get rid of the "Can't bind to 0.0.0.0 port 655/tcp: Address already in use" message on Linux. Guus Sliepen 2008-12-22 19:40:40 +00:00
  • c6830ba821 Use TUNIFHEAD by default on FreeBSD to make sure IPv6 works. Guus Sliepen 2008-12-22 19:33:37 +00:00
  • a269ec4193 Treat virtual network device as tap if Mode = switch or hub. On OpenBSD, the link0 flag should still be set in tinc-up or by other means. Guus Sliepen 2008-12-21 16:19:31 +00:00
  • 551cd19406 Move RSA key generation into the wrappers. Guus Sliepen 2008-12-14 12:47:26 +00:00
  • 911c05f873 Make sure IPv6 sockets are IPv6 only. Guus Sliepen 2008-12-11 20:49:14 +00:00
  • 6e80da3370 Use Dijkstra's algorithm. Based on patches from Max Rijevskiy. Guus Sliepen 2008-12-11 18:07:26 +00:00
  • 26a228e302 Remove wrong checks. Guus Sliepen 2008-12-11 18:05:59 +00:00
  • 636200d1a2 Remove unnecessary parentheses from sizeof, apply sizeof to variables instead of types whereever possible. Guus Sliepen 2008-12-11 15:56:18 +00:00
  • a9bdfb424e Fix compiler warnings. Guus Sliepen 2008-12-11 15:42:46 +00:00
  • 76165488f8 Backport fixes from trunk since revision 1555. Guus Sliepen 2008-12-11 15:21:40 +00:00
  • 046158a216 Use the crypto wrappers again instead of calling OpenSSL directly. This theoretically allows other cryptographic libraries to be used, and it improves the readability of the code. Guus Sliepen 2008-12-11 14:44:44 +00:00
  • 8c69f42d7d Move AC_GNU_SOURCE up to make autoconf happy. Also bump libgcrypt dependency to 1.4.0, because that version supports the OFB cipher mode. Guus Sliepen 2008-12-11 14:43:13 +00:00
  • 8e8fe805c8 Only show meta connection related debug messages when debug level >= 4 Guus Sliepen 2008-12-11 14:03:52 +00:00
  • 40bebbb19f Look in the configured sbin directory for the tincd binary. Guus Sliepen 2008-12-11 13:59:46 +00:00
  • 38c2d6c1da Correct debug message. Guus Sliepen 2008-12-05 14:17:39 +00:00
  • a36259435c Prevent freeing a NULL pointer when a hostname is unresolvable. Guus Sliepen 2008-11-18 15:11:27 +00:00
  • 4a1740ede7 Do not try to send REQ_KEY or ANS_KEY requests to unreachable nodes. Guus Sliepen 2008-10-25 19:54:00 +00:00
  • cb52aa0683 Fix reading configuration files that do not end with a newline. Guus Sliepen 2008-10-25 18:10:08 +00:00
  • b2cee41b18 Make sure the prefixlength of subnets is sane. Thanks to Sven-Haegar Koch for spotting the bug and providing a fix. Guus Sliepen 2007-12-14 21:17:08 +00:00
  • fe2f1fceb5 Use a control socket directory to restrict access Scott Lamb 2007-11-08 19:18:44 +00:00
  • b1f8c65a2c Coding style corrections Scott Lamb 2007-11-07 06:45:28 +00:00
  • d82fcc88f3 Reload configuration through control socket Scott Lamb 2007-11-07 02:51:24 +00:00
  • f0a57eab4c Retry connections through control socket Scott Lamb 2007-11-07 02:50:58 +00:00
  • a62a6825a8 Alter debugging levels through control socket Scott Lamb 2007-11-07 02:50:27 +00:00
  • 1065879c8c Purge through the control socket Scott Lamb 2007-11-07 02:49:57 +00:00
  • 6eaefb4dbc Dump through control socket Scott Lamb 2007-11-07 02:49:25 +00:00
  • 50ad3f2a89 Fancier protocol for control socket Scott Lamb 2007-11-07 02:48:33 +00:00
  • b0b5299184 Fix reload crash Scott Lamb 2007-11-07 02:48:15 +00:00
  • da81da064a Update documentation to match tincctl changes Scott Lamb 2007-11-07 02:48:00 +00:00
  • 40731d030f Temporarily revert to old crypto code Scott Lamb 2007-11-07 02:47:05 +00:00
  • 269892f70b Prevent double free() of a used challenge nonce. Guus Sliepen 2007-10-20 11:21:44 +00:00
  • b0709d2649 Fix meta data segfault when receiving a partial command. Guus Sliepen 2007-10-19 19:07:30 +00:00
  • 67d9a72ea2 Use a dummy function as the read callback for connection bufferevents. Should not be triggered. Guus Sliepen 2007-10-19 18:54:43 +00:00
  • 54892b2e3e Fix connection weight estimation. Guus Sliepen 2007-10-19 18:53:48 +00:00
  • 6c453769fd Apply patch from Scott Lamb: Update documentation to match tincctl changes Guus Sliepen 2007-09-04 15:06:35 +00:00
  • 86358fabfe Small fixes to make gcrypt routines compile. Guus Sliepen 2007-09-04 14:58:52 +00:00
  • f8733d1935 Fix formatting of --help output. Guus Sliepen 2007-09-04 14:58:11 +00:00
  • 65375289df Only check for libgcrypt if --with-gcrypt is used. Guus Sliepen 2007-09-04 14:57:37 +00:00
  • d7ca0300a3 Handle SERVICE_CONTROL_INTERROGATE requests. Thanks to Carsten Ralle for noticing this. Guus Sliepen 2007-08-17 22:09:00 +00:00
  • 1fd1d5bd93 const correctness Scott Lamb 2007-07-20 20:10:46 +00:00
  • 35d865a634 Updated svn:ignores list for new symlinked sources and tincctl. Scott Lamb 2007-07-18 16:44:05 +00:00
  • dd299c06dc Refresh po/POTFILES.in. Scott Lamb 2007-07-18 16:40:41 +00:00
  • 46018a1a16 Revert to only requiring autoconf 2.59. Scott Lamb 2007-07-18 16:40:29 +00:00
  • 1b8f891836 Finish crypto wrapping. Also provide wrappers for OpenSSL. Disable libgcrypt by default. Since it doesn't support the OFB cipher mode, we can't use it in a backwards compatible way. Guus Sliepen 2007-05-23 13:45:49 +00:00
  • f42e57f663 Some more crypto wrapper functions are needed. Guus Sliepen 2007-05-22 23:41:22 +00:00
  • 19413a8048 Make sure the crypto wrapper functions can actually be compiled. Guus Sliepen 2007-05-22 21:44:17 +00:00
  • e8689a4753 Create wrappers for the cryptographic operations used in tinc. Implement them using libgcrypt. Guus Sliepen 2007-05-22 21:32:48 +00:00
  • 465837dd7f Parse PEM RSA keys ourself, and use libgcrypt to do RSA encryption and decryption. Guus Sliepen 2007-05-20 22:28:49 +00:00
  • fbf305c09d Use libevent for meta socket input/output buffering. Guus Sliepen 2007-05-19 22:23:02 +00:00
  • 59108e4e4f Use bufferevents to handle control socket buffering. Guus Sliepen 2007-05-19 16:21:52 +00:00
  • 8c6131deda Implement "stop" command, and allow tincctl to retrieve a running tincd's PID. Guus Sliepen 2007-05-19 15:21:26 +00:00
  • e9043e17c7 Move key generation to tincctl. Guus Sliepen 2007-05-19 14:55:35 +00:00
  • bf8e3ce13d Remove pidfile in favour of control socket. Guus Sliepen 2007-05-19 14:13:21 +00:00
  • bc0a24ec81 Fix retrying outgoing connections. Guus Sliepen 2007-05-19 13:34:32 +00:00
  • ce976717ea We can safely delete a connection_t in terminate_connection() now. Guus Sliepen 2007-05-19 12:07:30 +00:00
  • 01f47c46af Start of control socket implementation. Guus Sliepen 2007-05-18 16:52:34 +00:00
  • 6ded8a3f08 Update documentation. Guus Sliepen 2007-05-18 11:54:16 +00:00
  • 8658659433 Show branch version number. Guus Sliepen 2007-05-18 11:35:21 +00:00
  • e37ef57a95 More consistent variable naming. Guus Sliepen 2007-05-18 11:19:31 +00:00
  • 29fbce4497 Detect duplicate outgoing connections. Guus Sliepen 2007-05-18 10:29:10 +00:00
  • fb0cfccf7d Use splay trees instead of AVL trees. Guus Sliepen 2007-05-18 10:05:26 +00:00
  • f02d3ed3e1 K&R style braces Guus Sliepen 2007-05-18 10:00:00 +00:00
  • 760dd966ef Remove last references to the global variable "running". Guus Sliepen 2007-05-18 09:51:54 +00:00
  • 3909b8e51b Remove the last bits of the legacy main_loop(). Guus Sliepen 2007-05-18 09:43:52 +00:00
  • ddc6a81a85 Remove global variable "now". Guus Sliepen 2007-05-18 09:34:06 +00:00
  • 7e1117197c Move key regeneration handling to net_setup.c. Guus Sliepen 2007-05-17 23:57:48 +00:00
  • 563577a147 Use libevent to handle key expiration. Guus Sliepen 2007-05-17 23:33:07 +00:00
  • 8852d4407d Use libevent to age learned MAC addresses. Guus Sliepen 2007-05-17 23:24:40 +00:00
  • a530f94e7c Use libevent to age past requests. Guus Sliepen 2007-05-17 23:14:42 +00:00
  • aaf1851315 Redo SIGALRM handling. Guus Sliepen 2007-05-17 23:04:02 +00:00
  • 6d19ebd612 Use libevent to handle all non-fatal signals. Guus Sliepen 2007-05-17 22:41:34 +00:00
  • 531d5a904a Properly use the timeout_initialized() macro. Guus Sliepen 2007-05-17 22:17:24 +00:00
  • bf6490825e Remove legacy event system. Guus Sliepen 2007-05-17 22:13:12 +00:00
  • a67ab277c9 Use libevent for retrying outgoing connections. Guus Sliepen 2007-05-17 22:09:55 +00:00