Commit graph

  • 21184674b3 Execute scripts when invitations are created or accepted. Guus Sliepen 2013-08-21 00:24:55 +02:00
  • 9699f08afc Ensure the invitation filenames do not reveal the secret cookie. Guus Sliepen 2013-08-20 23:09:36 +02:00
  • 5dec1c2571 Let a server explicitly send a notification when the invitation protocol succeeded. Guus Sliepen 2013-08-20 22:36:31 +02:00
  • c798f73093 Use our own infrastructure for finding out the local node's externally visible host name. Guus Sliepen 2013-08-20 16:49:03 +02:00
  • 160b7cb5e3 Resolve the local host name before generating the invitation file. Guus Sliepen 2013-08-20 16:47:07 +02:00
  • 65f5e8fba4 Bind outgoing sockets again. Guus Sliepen 2013-08-18 23:55:40 +02:00
  • 0c54f36553 Remove broadcast of KEY_CHANGED message during tinc's initialization. Guus Sliepen 2013-08-18 22:43:55 +02:00
  • 09b0b49b98 Fix order of tincd's initialization. Guus Sliepen 2013-08-18 22:35:27 +02:00
  • 8f84244458 Don't force a .bat extension for scripts under Windows. Guus Sliepen 2013-08-18 18:20:41 +02:00
  • b180c1af99 Create UNIX socket at the same time as the PID file is created. Guus Sliepen 2013-08-18 17:02:49 +02:00
  • 707914e0e4 Remove texi2html rule in docs/Makefile. Guus Sliepen 2013-08-14 16:20:32 +02:00
  • 5e50a56dd9 Stop using EXTRA_DIST in src/Makefile.am. Guus Sliepen 2013-08-14 16:17:12 +02:00
  • 60e7749428 Releasing 1.1pre8. Guus Sliepen 2013-08-13 22:05:43 +02:00
  • 6aa864baa6 Don't typedef the same struct in two header files. Guus Sliepen 2013-08-13 20:40:40 +02:00
  • 5e00a24e1f Update copyright notices. Guus Sliepen 2013-08-13 20:38:57 +02:00
  • a61d3d1c0b Build .tar.gz instead of .tar.xz. Guus Sliepen 2013-08-13 20:37:55 +02:00
  • 2df534808d Move .h files from noinst_HEADERS to tincd_SOURCES. Guus Sliepen 2013-08-13 20:35:48 +02:00
  • de8e6bf452 Don't echo broadcast packets back when Broadcast = direct. Guus Sliepen 2013-08-08 17:40:15 +02:00
  • 81c7120320 Fix a typo. Guus Sliepen 2013-08-02 23:51:55 +02:00
  • 76c90e1639 Non-zero exit code when reloading config file fails after SIGHUP. Guus Sliepen 2013-08-02 23:46:19 +02:00
  • f3a2bed063 Really retry outgoing connections immediately if requested. Guus Sliepen 2013-08-02 20:53:54 +02:00
  • 1e7d1cd3c7 Clean up the SIGINT handler. Guus Sliepen 2013-08-02 20:50:19 +02:00
  • a38e0d6213 Use umask() to set file and UNIX socket permissions without race conditions. Guus Sliepen 2013-08-02 19:27:06 +02:00
  • a1f4f14c6c Defer handling netname conflicts when accepting an invitation. Guus Sliepen 2013-07-26 15:48:52 +02:00
  • d47c79533f Make absolutely sure we can write config files before accepting an invitation. Guus Sliepen 2013-07-26 15:44:05 +02:00
  • 37cca72e6c Choose a different Port when 655 isn't available when doing "tinc join". Guus Sliepen 2013-07-26 14:53:36 +02:00
  • 8f2db4afdd Choose a different Port when 655 isn't available when doing "tinc init". Guus Sliepen 2013-07-26 14:17:15 +02:00
  • d6a67266c8 Don't forget the Port variable when creating an invitation URL. Guus Sliepen 2013-07-25 17:17:33 +02:00
  • d1e01bc880 Allow control-C to stop tincd without stopping the tinc shell. Guus Sliepen 2013-07-25 17:14:07 +02:00
  • d219fe2c09 Warn when incorrect use of add or set causes variables to be removed. Guus Sliepen 2013-07-25 16:21:11 +02:00
  • e624969568 Fix compression when using the SPTPS protocol. Guus Sliepen 2013-07-24 20:48:31 +02:00
  • 5fca595b80 Honour umask, let temporary key files inherit original's permissions. Guus Sliepen 2013-07-22 22:58:13 +02:00
  • ae85a02030 Further improve bandwidth estimation for type 2 MTU probe replies. Etienne Dechamps 2013-07-22 21:22:26 +01:00
  • e3c763eae8 Introduce lightweight PMTU probe replies. Etienne Dechamps 2013-07-21 13:05:42 +01:00
  • e3a4672afb Disable PMTU discovery when TCPOnly is set. Etienne Dechamps 2013-07-20 22:59:57 +01:00
  • b03bbaa385 Allow extra options to be passed to "tinc restart" again. Guus Sliepen 2013-07-21 00:20:54 +02:00
  • e82bec6670 Forbid protocol version rollback. Guus Sliepen 2013-07-21 00:13:38 +02:00
  • fab2965d38 Attribution for Etienne Dechamps. Guus Sliepen 2013-07-20 23:41:01 +02:00
  • 51c1639884 Fix hash_function(). Etienne Dechamps 2013-07-20 14:50:28 +01:00
  • 1828908148 Don't use vasprintf() anymore on Windows. Guus Sliepen 2013-07-17 18:06:56 +02:00
  • 54127996ca Don't search in local directories for include files. Guus Sliepen 2013-07-17 18:02:07 +02:00
  • fb1e69072e Add missing definitions on Windows. Guus Sliepen 2013-07-17 18:00:40 +02:00
  • 918067f117 Fix warning "Both netname and configuration directory given" on Windows. Guus Sliepen 2013-07-15 14:48:43 +02:00
  • 633b7cbb45 Fix combination of Mode = router and DeviceType = tap on Linux. Etienne Dechamps 2013-07-13 23:34:42 +01:00
  • 24e3ec863e Add connection rate limiting. Guus Sliepen 2013-07-11 23:38:38 +02:00
  • 2eba793305 Set $NAME when calling host-up/down and subnet-up/down scripts. Guus Sliepen 2013-07-05 21:36:51 +02:00
  • b811e980e3 Add the LocalDiscoveryAddress option. Guus Sliepen 2013-05-31 18:50:34 +02:00
  • e92b2004e2 Use strerror() instead of gai_strerror() when err == EAI_SYSTEM. Guus Sliepen 2013-05-31 17:23:00 +02:00
  • ce5e0f6557 Allow the log output to be stopped with control-C in tinc's shell. Guus Sliepen 2013-05-30 17:38:48 +02:00
  • 6bf3595a91 Better optional argument handling. Guus Sliepen 2013-05-30 16:53:16 +02:00
  • ced4c1a327 Add an invitation protocol. Guus Sliepen 2013-05-29 18:31:10 +02:00
  • 12e68b95e6 Fix port number in pidfile. Guus Sliepen 2013-05-28 13:41:53 +02:00
  • cbe03b0932 Add a newline when logging to stderr in the tinc binary. Guus Sliepen 2013-05-28 13:40:32 +02:00
  • c3d357af6c Improve base64 encoding/decoding, add URL-safe variant. Guus Sliepen 2013-05-28 13:39:15 +02:00
  • ad93dc3a4b Annotate the xalloc functions. Guus Sliepen 2013-05-28 13:36:26 +02:00
  • bc87b45003 Send a new key when we receive packets from a node we don't have a valid key for. Guus Sliepen 2013-05-18 16:11:30 +02:00
  • a9b80226e1 Enable and fix warnings from automake. Guus Sliepen 2013-05-15 13:55:06 +02:00
  • a518f82af7 Modified some error messages in src/sptps.c. Sven-Haegar Koch 2013-05-14 02:57:35 +02:00
  • fa20cfceec Don't try to handle incoming data if sptps_start() has not been called yet. Guus Sliepen 2013-05-12 13:39:22 +02:00
  • 52f64cdf95 Fix potential NULL pointer dereferences. Guus Sliepen 2013-05-11 16:54:50 +02:00
  • d03dc91e27 Don't free ephemeral ECDH keys twice. Guus Sliepen 2013-05-11 14:13:23 +02:00
  • fc119fb009 Use read_host_config() where appropriate. Guus Sliepen 2013-05-11 14:05:28 +02:00
  • 3c163a3796 Fix check for presence of ECDSA public key for outgoing connections. Guus Sliepen 2013-05-11 14:04:39 +02:00
  • c83c2d080f Enable the SPTPS protocol by default. Guus Sliepen 2013-05-10 21:11:45 +02:00
  • ee34ac3d61 Add a few more checks and warnings in the crypto functions. Guus Sliepen 2013-05-10 20:55:52 +02:00
  • 214060ef20 Fix warnings for functions marked __attribute((warn_unused_result)). Guus Sliepen 2013-05-10 20:30:47 +02:00
  • 7b949262c4 Add __attribute__((warn_unused_result)) to crypto functions. Guus Sliepen 2013-05-10 20:23:01 +02:00
  • 45063953fd Add more __attribute__((malloc)) where appropriate. Guus Sliepen 2013-05-10 20:15:27 +02:00
  • 0acdce222f Add generic crypto headers. Guus Sliepen 2013-05-01 17:45:38 +02:00
  • 5b07039b07 Rename xmalloc_and_zero() to xzalloc(). Guus Sliepen 2013-05-01 17:31:33 +02:00
  • 9b9230a0a7 Use conditional compilation for cryptographic functions. Guus Sliepen 2013-05-01 17:17:22 +02:00
  • e70b5b5bd7 Use conditional compilation for device.c. Guus Sliepen 2013-05-01 12:20:06 +02:00
  • 9f8020a09c Modernize the configure script a bit. Guus Sliepen 2013-05-01 11:46:40 +02:00
  • 43c72093ad Don't try to create tinc.conf when using set or add commands. Guus Sliepen 2013-04-28 19:33:04 +02:00
  • 8e732fcbbb Releasing 1.1pre7. Guus Sliepen 2013-04-22 15:54:05 +02:00
  • 258bf7ea0f Drop packets forwarded via TCP if they are too big (CVE-2013-1428). Guus Sliepen 2013-04-12 17:15:05 +02:00
  • 9e2ae03d1d Fix completion of add/del/get/set commands. Guus Sliepen 2013-03-12 11:28:40 +01:00
  • f8f250ca12 Describe the SPTPS protocol in the manual. Guus Sliepen 2013-03-12 10:49:45 +01:00
  • 40666a5f5b Remove references to the config keyword. Guus Sliepen 2013-03-08 16:26:21 +01:00
  • 23a634becf Rename tincctl to tinc. Guus Sliepen 2013-03-08 16:22:56 +01:00
  • 3793cf10da Include README.android in the tarballs. Guus Sliepen 2013-03-08 14:12:48 +01:00
  • 4c30004cb6 Avoid calling time(NULL). Guus Sliepen 2013-03-08 14:11:15 +01:00
  • af77e5d475 Allow changing configuration with tincctl without the "config" keyword. Guus Sliepen 2013-03-08 11:40:40 +01:00
  • 1d226977a4 Better default output file for generated public keys. Guus Sliepen 2013-03-08 11:24:37 +01:00
  • f9ab8e266b Flush output buffers in the tap reader thread on Windows. Guus Sliepen 2013-03-01 17:15:26 +01:00
  • 4d05e695ab Use UDP when using sptps_test in datagram mode. Guus Sliepen 2013-02-22 15:37:48 +01:00
  • a93c0139c5 Releasing 1.1pre6. Guus Sliepen 2013-02-20 15:35:19 +01:00
  • d298ebe91c Fix compiler warnings on some BSD variants. Guus Sliepen 2013-02-20 15:35:08 +01:00
  • 3847b78ba5 Fix compiler warnings on Windows. Guus Sliepen 2013-02-20 14:39:24 +01:00
  • 1bb969c930 Fix a tiny memory leak. Guus Sliepen 2013-02-20 13:59:50 +01:00
  • d21f63d5b3 Don't expect a response from tincd after sending REQ_STOP. Guus Sliepen 2013-02-08 16:44:50 +01:00
  • 26eca51650 Let the GUI use UNIX sockets if available. Guus Sliepen 2013-02-07 15:27:16 +01:00
  • a8b52becbb Derive UNIX socket filename from PID filename. Guus Sliepen 2013-02-07 15:26:56 +01:00
  • 079dcd0179 Don't send proxy requests for incoming connections. Guus Sliepen 2013-02-07 14:22:28 +01:00
  • ee63f2a32b Fix segmentation fault when trying to connect via a SOCKS5 proxy. Guus Sliepen 2013-02-06 15:24:02 +01:00
  • 053af97c9e Check for writability when waiting for a socket to finish connecting. Guus Sliepen 2013-02-06 15:12:53 +01:00
  • 1135669b3c Fix tincd terminating immediately on Windows. Guus Sliepen 2013-02-06 11:30:35 +01:00
  • 9c878bf56f Remove direct inclusion of OpenSSL headers in net_packet.c and tincd.c. Guus Sliepen 2013-01-31 16:12:56 +01:00
  • 42b222ecb6 Detect increases in PMTU. Guus Sliepen 2013-01-31 15:58:33 +01:00
  • 87416bcd8b Get microsecond time resolution on Windows. Guus Sliepen 2013-01-21 16:12:18 +01:00