Commit graph

  • 62ee9b776d #include <winsock2.h> on Windows. Guus Sliepen 2012-06-25 15:01:42 +02:00
  • c0af4c37d2 Small fixes in proxy code. Guus Sliepen 2012-06-25 15:00:24 +02:00
  • 62b61a1b7c Don't forget to send a newline when forwarding requests. Guus Sliepen 2012-05-13 22:16:42 +02:00
  • 42a8158b1d add (errnum) in front of windows error messages Michael Tokarev 2012-05-04 16:41:47 +04:00
  • 58007d7efa Always pass request strings to other functions as const char *. Guus Sliepen 2012-05-08 16:44:15 +02:00
  • 291a59b5b7 free_connection_partially(): also reset remote protocol version infos Sven-Haegar Koch 2012-04-22 03:44:28 +02:00
  • 32e5c5bb7c Silence SPTPS log messages, reduce them from DEBUG_ALWAYS to DEBUG_META. Sven-Haegar Koch 2012-04-22 03:05:29 +02:00
  • c78bb14303 terminate_connection(): delete non-outgoing (aka incoming) connections. Sven-Haegar Koch 2012-04-22 02:55:06 +02:00
  • 8b9e5af0d9 Label control connections for log output as "<control>", not "<unknown>". Sven-Haegar Koch 2012-04-21 03:44:24 +02:00
  • d3f4cf59ca free_connection_partially(): Avoid possible use-after-free for c->hischallenge Sven-Haegar Koch 2012-04-21 01:59:01 +02:00
  • 7a6ca7a993 terminate_connection(): only kill c->node->connection if it is pointing to the same connection Sven-Haegar Koch 2012-04-21 01:51:36 +02:00
  • a96c4f016c terminate_connection(): Avoid use-after-free and double-free for already freed edge structure. Sven-Haegar Koch 2012-04-20 00:24:38 +02:00
  • 5c0dd104f9 Document new proxy types. Guus Sliepen 2012-04-19 15:56:08 +02:00
  • 5ae19cb0bb Add support for proxying through an external command. Guus Sliepen 2012-04-19 15:18:31 +02:00
  • fb5588856f Add support for SOCKS 5 proxies. Guus Sliepen 2012-04-19 14:10:54 +02:00
  • b58d95eb29 Add basic support for SOCKS 4 and HTTP CONNECT proxies. Guus Sliepen 2012-04-18 23:19:40 +02:00
  • 84531fb6e6 Allow broadcast packets to be sent directly instead of via the MST. Guus Sliepen 2012-04-16 01:57:25 +02:00
  • 9ebb34f907 Update README to reflect that only OpenSSL is currently supported. Guus Sliepen 2012-04-16 01:16:59 +02:00
  • a851d8a9f6 Add autoconf checks for OpenSSL's elliptic curve functions. Guus Sliepen 2012-04-16 01:14:59 +02:00
  • f8e15dfe8d ecdh & ecdsa: avoid some possible memory leaks in error conditions. Sven-Haegar Koch 2012-04-14 02:28:43 +02:00
  • 8792b9a9f3 Remove confusing error message for failed reading in ECDSA keys. Sven-Haegar Koch 2012-04-14 02:02:11 +02:00
  • a5bb6d40fb sptps_stop(): clear pointers after free to avoid double free. Sven-Haegar Koch 2012-04-14 02:29:32 +02:00
  • 535a55100b Allow environment variables to be used for Name. Guus Sliepen 2012-03-29 16:45:25 +01:00
  • 1d9dacb1f2 Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1 Guus Sliepen 2012-03-26 19:06:39 +01:00
  • 89f4574e0b Add support for systemd style socket activation. Guus Sliepen 2012-03-26 14:46:09 +01:00
  • cc6aee7846 Remove newline from log message. Guus Sliepen 2012-03-26 14:45:20 +01:00
  • 16e6769fee configure.in: fix AC_ARG_ENABLE and AC_ARG_WITH Anthony G. Basile 2012-03-26 06:29:40 -04:00
  • 86c2990327 Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1 Guus Sliepen 2012-03-25 23:35:31 +01:00
  • b23681dddb Support :: in IPv6 Subnets. Guus Sliepen 2012-03-25 22:54:36 +01:00
  • 482c6119a7 Releasing 1.0.18. Guus Sliepen 2012-03-25 15:32:26 +01:00
  • 64c657b32d Mark DecrementTTL option experimental. Guus Sliepen 2012-03-25 15:30:58 +01:00
  • f71ce34180 Fix return type of vde_recv() as well. Guus Sliepen 2012-03-25 15:17:50 +01:00
  • 6225b1884a Document OpenBSD "ifconfig link0" and Linux "ip tuntap" commands. Guus Sliepen 2012-03-25 14:55:56 +01:00
  • 3998353853 Fix some more compiler warnings. Guus Sliepen 2012-03-25 14:46:50 +01:00
  • cfe6558d4b Fix return value type of vde_send(). Guus Sliepen 2012-03-25 14:00:21 +01:00
  • 95968c67f9 Fix compiler warnings. Guus Sliepen 2012-03-25 13:58:14 +01:00
  • e2d1b0b899 Allow scoped addresses to be used for IPv6 multicast socket. Guus Sliepen 2012-03-25 13:42:10 +01:00
  • 2512040632 Add #ifdefs in case not all platforms support IPv4 and IPv6 multicast. Guus Sliepen 2012-03-25 13:40:55 +01:00
  • b5e3bf1a85 Set default value of DecrementTTL to "no". Guus Sliepen 2012-03-23 13:18:36 +01:00
  • c373de2e98 Add support for multicast communication with UML/QEMU/KVM. Guus Sliepen 2012-03-21 17:00:53 +01:00
  • a7dbb50c23 Allow a port to be specified in BindToAddress statements. Guus Sliepen 2012-03-21 13:20:15 +01:00
  • 80e15d8b96 Always try next Address when an outgoing connection fails to authenticate. Guus Sliepen 2012-03-20 23:49:16 +01:00
  • d7bf63c63a Make sure the signature also covers the session label. Guus Sliepen 2012-03-18 21:24:46 +01:00
  • 42a0b61076 Start documenting the SPTPS protocol. Guus Sliepen 2012-03-18 20:38:48 +01:00
  • d756bb92ed Don't send an ACK message after the first key exchange in the SPTPS protocol. Guus Sliepen 2012-03-18 17:46:30 +01:00
  • c970ecdd75 Test SPTPS messages sent while key renegotation is in progress. Guus Sliepen 2012-03-18 17:42:43 +01:00
  • 3a4fe104a0 Add datagram mode to the SPTPS protocol. Guus Sliepen 2012-03-18 16:42:02 +01:00
  • 03e06fd43a Allow CTR mode counter to be set to a specific value. Guus Sliepen 2012-03-18 16:41:13 +01:00
  • 28a1501b9a Releasing 1.0.17. Guus Sliepen 2012-03-10 13:31:36 +01:00
  • 4712d8f92e Update copyright notices. Guus Sliepen 2012-03-10 13:23:08 +01:00
  • 5b0f5ad958 Make sure disabling old RSA keys works on Windows. Guus Sliepen 2012-03-08 23:23:39 +01:00
  • 2f1c337c54 Add missing ICMP6 message type definitions. Guus Sliepen 2012-03-08 22:19:20 +01:00
  • 40c2858932 Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1 Guus Sliepen 2012-03-08 21:15:08 +01:00
  • 9dea33f530 Accept Subnets passed with the -o option when StrictSubnets = yes. Guus Sliepen 2012-03-07 10:40:06 +01:00
  • 63f8303a5d Only log errors sending UDP packets when debug level >= 5. Guus Sliepen 2012-03-02 16:09:58 +01:00
  • 8ac096b5bf Allow log messages to be captured by tincctl. Guus Sliepen 2012-02-26 18:37:36 +01:00
  • a1bd3a2913 Don't close control connections when handling a reload command. Guus Sliepen 2012-02-26 16:56:53 +01:00
  • 483c5dcfb4 Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1 Guus Sliepen 2012-02-26 16:27:13 +01:00
  • ae52496109 Only use broadcast at the start of the PMTU discovery phase. Guus Sliepen 2012-02-26 16:23:02 +01:00
  • 344d6b9ac3 Let tincctl use the NETNAME environment variable if no -n option is given. Guus Sliepen 2012-02-26 12:39:46 +01:00
  • 84570275ac Ensure all SPTPS functions are prefixed with sptps_. Guus Sliepen 2012-02-26 12:33:16 +01:00
  • 8b1ad6f76f Go back to breadth first search for path finding. Guus Sliepen 2012-02-25 23:03:09 +01:00
  • 36623e15a1 Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1 Guus Sliepen 2012-02-25 22:52:57 +01:00
  • 5140656de6 Stricter checks against routing loops. Guus Sliepen 2012-02-25 22:11:30 +01:00
  • f1d5eae643 Don't send ICMP Time Exceeded messages for other Time Exceeded messages. Guus Sliepen 2012-02-25 21:46:18 +01:00
  • 65d6f023c4 Use SPTPS when ExperimentalProtocol is enabled. Guus Sliepen 2012-02-25 18:25:21 +01:00
  • efd21e232d Apply HMAC after encryption. Guus Sliepen 2012-02-25 15:18:15 +01:00
  • f5dc136cfd Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1 Guus Sliepen 2012-02-23 13:26:01 +01:00
  • 5a28aa7b8b Add LocalDiscovery option which tries to detect peers on the local network. Guus Sliepen 2012-02-22 23:17:43 +01:00
  • 8e717ddb60 Pass index into listen_socket[] to handle_incoming_vpn_data(). Guus Sliepen 2012-02-22 14:37:56 +01:00
  • 3fba80174d Merge branch 'master' of git://tinc-vpn.org/tinc into 1.1 Guus Sliepen 2012-02-22 14:23:59 +01:00
  • fba1c85f44 Remove useless warning about signature length being shorter than expected. Guus Sliepen 2012-02-21 23:19:51 +01:00
  • cb6cbf452f Use only one hash algorithm (SHA512) in the PRF. Guus Sliepen 2012-02-21 23:17:12 +01:00
  • 65e8e06c6d Add missing ICMP message type definitions. Nick Hibma 2012-02-21 15:26:58 +01:00
  • ac48c4ee8c Fix check for raw socket support. Guus Sliepen 2012-02-21 14:06:55 +01:00
  • d9ad3d313d Fix a bug that caused tinc to ignore all but the last listening socket. Guus Sliepen 2012-02-21 13:31:21 +01:00
  • 46506b7aaf Document the command line flag -o and provide --option as well. Guus Sliepen 2012-02-21 13:13:40 +01:00
  • 7d76e28759 Move initialization of char *priority up to prevent freeing an uninitialized pointer. Guus Sliepen 2012-02-21 11:39:21 +01:00
  • 8420a0c8bd Allow disabling of broadcast packets. Guus Sliepen 2012-02-20 17:19:00 +01:00
  • ea415ccc16 Rename connection_t *broadcast to everyone. Guus Sliepen 2012-02-20 17:12:48 +01:00
  • cff5a844a3 Don't bind outgoing TCP sockets anymore. Guus Sliepen 2012-02-20 16:52:53 +01:00
  • 0233b1d710 Decrement TTL of incoming packets. Guus Sliepen 2012-02-20 16:34:02 +01:00
  • 6289859ab3 Only compile raw socket code when it is supported on that platform. Guus Sliepen 2012-02-20 15:44:52 +01:00
  • d1dcdf8eb6 Merge branch 'master' of black:tinc Guus Sliepen 2012-02-18 14:31:08 +01:00
  • 3b1fad04de Allow setting DeviceType to tun or tap on Linux. Guus Sliepen 2012-02-18 14:37:52 +01:00
  • 1b2846d907 Merge branch 'master' of black:tinc Guus Sliepen 2012-02-18 11:43:00 +01:00
  • 6455654d26 Send packets back using the same socket as they were received on. Guus Sliepen 2012-02-18 11:48:21 +01:00
  • 9f6a96af39 Allow multiple BindToAddress statements. Guus Sliepen 2012-02-17 16:25:00 +01:00
  • 708314df2f Set FD_CLOEXEC flag on all sockets. Guus Sliepen 2012-02-17 16:13:38 +01:00
  • 1f00111e94 Fix a few small memory leaks. Guus Sliepen 2011-12-26 23:11:27 +01:00
  • b50d6a7f2a Fix compiler warnings. Guus Sliepen 2011-12-26 23:04:40 +01:00
  • 178e52f76e Allow linking with multiple device drivers. Guus Sliepen 2011-12-04 01:20:59 +01:00
  • 5672863e59 Fix a few small memory leaks. Guus Sliepen 2011-12-03 21:59:47 +01:00
  • 52ded09d17 Add vde/device.c to the tarball. Guus Sliepen 2011-11-27 12:13:16 +01:00
  • 2c7c87ec75 Fix compilation of VDE and UML interfaces. Guus Sliepen 2011-11-27 12:12:34 +01:00
  • 2a9060bba6 Exchange ACK records to indicate switch to new keys. Guus Sliepen 2011-10-06 15:32:12 +02:00
  • 3b5898078a Use counter mode encryption. Guus Sliepen 2011-10-06 09:34:34 +02:00
  • a0f795ff5b Add counter mode encryption. Guus Sliepen 2011-10-06 09:33:09 +02:00
  • 67ff81ec16 Test corner cases in the SPTPS protocol. Guus Sliepen 2011-10-05 22:05:13 +02:00
  • 3001351150 Update SPTPS protocol. Guus Sliepen 2011-10-05 22:00:51 +02:00