Commit graph

  • 9a366544c2 Make sure to discover MTU with relays. Etienne Dechamps 2014-10-04 15:01:11 +01:00
  • 63daebcd1e Don't send MTU probes to nodes we can't reach directly. Etienne Dechamps 2014-10-04 14:25:16 +01:00
  • 111040d7d1 Add UDP datagram relay support to SPTPS. Etienne Dechamps 2014-09-28 12:38:06 +01:00
  • 8dd1c8a020 Prepend source node ID information to UDP datagrams. Etienne Dechamps 2014-09-27 18:13:33 +01:00
  • 092d620dbb Change vpn_packet_t::seqno from uint32_t to uint8_t[4]. Etienne Dechamps 2014-09-27 13:34:56 +01:00
  • 55a78da4e0 Introduce node IDs. Etienne Dechamps 2014-09-21 18:17:02 +01:00
  • ac77e3c1eb Invalidate UDP information on address changes. Etienne Dechamps 2014-09-21 15:44:59 +01:00
  • f57d53c3ad Fix protocol version check for type 2 MTU probe replies. Etienne Dechamps 2014-09-27 17:51:33 +01:00
  • f6b008d731 tinc-gui: Use /usr/bin/env to resolve path to python Franz Pletz 2014-09-22 22:43:15 +02:00
  • daf65919d1 Preemptively mirror REQ_PUBKEY messages from nodes with unknown keys. Etienne Dechamps 2014-09-21 11:38:41 +02:00
  • c897f8c99e Fix default device path selection on BSD. Etienne Dechamps 2014-09-21 12:58:23 +02:00
  • a649aa51bf Ignore the Interface option if device rename is impossible. Etienne Dechamps 2014-09-21 11:25:49 +01:00
  • 053925efeb Fix default TAP device on Darwin. Etienne Dechamps 2014-09-21 11:14:19 +01:00
  • 1ac9a3fbd1 Fix wrong identifier in SO_NOSIGPIPE call. Etienne Dechamps 2014-09-06 18:16:46 +01:00
  • 7ac5263765 Don't enable the device if the reachable count is zero. Etienne Dechamps 2014-09-06 10:43:15 +01:00
  • 9ad656b512 Fix undefined HOST_NAME_MAX on Windows. Etienne Dechamps 2014-08-31 13:59:30 +01:00
  • 0f09260b13 Remove Google from the list of copyright owners. Etienne Dechamps 2014-08-30 10:57:57 +01:00
  • 38d7e730e6 tincctl: Use replace_name to properly replace and validate input hostnames William A. Kennington III 2014-08-24 22:35:25 -07:00
  • 511b51ffe6 utils: Refactor check_id out of protocol for global access William A. Kennington III 2014-08-24 21:55:42 -07:00
  • 826ad11e41 utils: Refactor get_name's functionality into util for global access William A. Kennington III 2014-08-24 19:49:27 -07:00
  • 78bf82cf33 Clarify copyright ownership for code authored by Etienne Dechamps. Etienne Dechamps 2014-08-17 20:22:44 +01:00
  • 73d8393bd6 commandline.test: Adding test that fetching non-existing config setting really fails. Sven-Haegar Koch 2014-08-07 22:14:20 +02:00
  • 9fe5ab7ccb Fix exit code of "tinc get". Sven-Haegar Koch 2014-08-07 23:01:05 +02:00
  • 5ae1ec8d80 Handle TAP-Win32 immediate reads correctly. Etienne Dechamps 2014-07-19 18:11:42 +01:00
  • 1d10afd3d3 Only read from TAP-Win32 if the device is enabled. Etienne Dechamps 2014-07-19 16:05:23 +01:00
  • cc9203ee75 Add a non-interactive mode to tinc commands. Etienne Dechamps 2014-07-13 15:54:34 +01:00
  • afb175873e Revert "Use git description as the tinc version." Guus Sliepen 2014-07-12 22:51:37 +02:00
  • 19e42b76f5 Merge branch 'keysegfault' of https://github.com/dechamps/tinc into 1.1 Guus Sliepen 2014-07-12 22:25:55 +02:00
  • f704304823 Merge branch 'tincstart' of https://github.com/dechamps/tinc into 1.1 Guus Sliepen 2014-07-12 22:22:31 +02:00
  • 54fd228e69 Merge branch 'ctrl' of https://github.com/dechamps/tinc into 1.1 Guus Sliepen 2014-07-12 22:21:01 +02:00
  • 53036a5879 Merge branch 'winwarnings' of https://github.com/dechamps/tinc into 1.1 Guus Sliepen 2014-07-12 22:19:45 +02:00
  • ddd0cd47bc Verify seqno early in sptps_verify_datagram(). Etienne Dechamps 2014-06-30 14:03:17 +01:00
  • 7bf61575fe Add documentation about using system-assigned ports. Etienne Dechamps 2014-07-06 11:34:57 +01:00
  • ea12a0fb06 Improve subprocess behavior in tinc start command. Etienne Dechamps 2014-07-12 18:53:25 +01:00
  • b22499668a Fix "tinc start" on Windows when the path contains spaces. Etienne Dechamps 2014-07-12 18:37:56 +01:00
  • 14be1d30ec Shutdown cleanly when receiving a Windows console shutdown request. Etienne Dechamps 2014-07-12 17:47:01 +01:00
  • b12f122f1b Check if devops is valid before closing the device. Etienne Dechamps 2014-07-12 13:56:01 +01:00
  • 5ffdff685a Fix unsafe use of strncpy() and sprintf(). Guus Sliepen 2014-07-12 14:35:29 +02:00
  • 31361075d3 Fix a potential file descriptor leak. Guus Sliepen 2014-07-12 14:34:39 +02:00
  • b2a6381ab2 Resolve KEY_EVENT conflict between Windows and ncurses. Etienne Dechamps 2014-07-12 13:32:23 +01:00
  • 5217c16db4 Remove unused device stats variables. Etienne Dechamps 2014-07-12 13:27:05 +01:00
  • 6e221a828f Remove unused variable in TAP-Win32 setup_device(). Etienne Dechamps 2014-07-12 12:57:11 +01:00
  • 2d2e94406c Fix callback signature for TAP-Win32 device_handle_read(). Etienne Dechamps 2014-07-12 12:54:45 +01:00
  • f693cb7295 Remove an unnecessary pointer dereference in execute_script(). Etienne Dechamps 2014-07-12 12:52:25 +01:00
  • d7f89a7944 Only declare the origpriority variable if we support priority. Etienne Dechamps 2014-07-12 12:49:59 +01:00
  • 5aed916ef4 Reserve legacy active bit in connection_status_t. Guus Sliepen 2014-07-12 14:24:16 +02:00
  • b23bf13283 Remove redundant connection_t::status.active field. Etienne Dechamps 2014-07-12 11:57:03 +01:00
  • 127f2f99f3 Don't initialize outpkt to an unused value. Etienne Dechamps 2014-07-12 11:13:04 +01:00
  • 77e96c0791 Handle the "no local address" case in send_sptps_data(). Etienne Dechamps 2014-07-12 11:06:36 +01:00
  • 45a30f7157 Fix incorrect format qualifiers. Guus Sliepen 2014-07-10 22:41:01 +02:00
  • d8ed5cf36d Fix a typo (FORTIFY_SOURCE). Etienne Dechamps 2014-07-10 20:29:12 +01:00
  • 2f4075f7da Fix typos in the manual page Baptiste Jonglez 2014-07-06 20:55:26 +09:00
  • d8ea4c11de Fix segmentation fault when dumping subnets. Guus Sliepen 2014-07-08 14:20:11 +02:00
  • 23a22ea1ce Fix compiler warnings. Guus Sliepen 2014-07-08 14:20:01 +02:00
  • 163773d710 Fix event loop io tree inconsistency on Windows. Etienne Dechamps 2014-07-06 12:35:32 +01:00
  • fcf5b53e78 Make sure myport is set correctly when running with Port = 0. Etienne Dechamps 2014-07-06 10:55:23 +01:00
  • c786ed1168 Fix tinc event loop reentrancy from timeout handlers. Etienne Dechamps 2014-07-05 00:23:05 +01:00
  • d0d01a4448 Canonicalize IPv6 addresses as per RFC 5952 before printing them. Etienne Dechamps 2014-07-05 19:51:19 +01:00
  • dec0400714 Don't print subnet prefix lengths and weights for one-host subnets. Etienne Dechamps 2014-07-05 19:02:02 +01:00
  • dc55691ca7 When printing MAC addresses, always use trailing zeroes. Etienne Dechamps 2014-07-05 18:52:03 +01:00
  • 3d730a40a4 Rewrite, fix and improve str2net(). Etienne Dechamps 2014-07-05 18:05:55 +01:00
  • e024b7a2c5 Use git description as the tinc version. Etienne Dechamps 2014-06-29 15:22:10 +01:00
  • aec82bb1c9 Regenerate build date and time every time tinc is built. Etienne Dechamps 2014-06-29 14:57:42 +01:00
  • 116f2ed27a Make IPv4 multicast space 224.0.0.0/4 broadcast by default. Etienne Dechamps 2014-06-29 14:15:58 +01:00
  • 46a5aa0d67 Make broadcast addresses configurable. Etienne Dechamps 2014-06-29 13:18:25 +01:00
  • b54fde6747 Implement sptps_verify_datagram(). Etienne Dechamps 2014-06-29 09:57:11 +01:00
  • 498f1b1d58 Enable LocalDiscovery by default. Etienne Dechamps 2014-06-29 11:06:44 +01:00
  • 4159108971 Remove broadcast-based local discovery mechanism. Etienne Dechamps 2014-06-29 11:01:24 +01:00
  • e16ade874d Use edge local addresses for local discovery. Etienne Dechamps 2014-06-22 17:27:55 +01:00
  • bfce56d473 Add local address information to edges. Etienne Dechamps 2014-06-22 16:29:30 +01:00
  • 762db91ef7 Give getsockopt() a reference to a socklen_t. Guus Sliepen 2014-06-28 21:54:34 +02:00
  • e57daac63b Merge branch 'winevents-clean' of https://github.com/dechamps/tinc into 1.1 Guus Sliepen 2014-06-28 21:49:55 +02:00
  • 313a752cb5 Remove the TAP-Win32 reader thread. Etienne Dechamps 2014-06-28 18:39:00 +01:00
  • ffbc99558c Use a Windows event to stop tinc when running as a service. Etienne Dechamps 2014-06-28 15:19:11 +01:00
  • 2f9a1d4ab5 Make the event loop expose a Windows event interface. Etienne Dechamps 2014-06-28 15:15:41 +01:00
  • 611217c96e Use native Windows events for the event loop. Etienne Dechamps 2014-06-27 21:58:35 +01:00
  • cc284e7c5d Fix connection event error handling. Etienne Dechamps 2014-06-28 11:13:29 +01:00
  • 86a99c6b99 Protect against spurious connection events. Etienne Dechamps 2014-06-27 19:33:31 +01:00
  • 0c026f3c6d Fix errno references when handling socket errors. Etienne Dechamps 2014-06-26 20:42:40 +01:00
  • 058473dc8d Fix Windows includes. Etienne Dechamps 2014-06-22 18:45:49 +01:00
  • b24faf3cbe Remove the warnings when IP_DONTFRAGMENT/IPV6-DONTFRAG is not supported. Guus Sliepen 2014-05-11 17:11:02 +02:00
  • b99e1a306c Add support to link against libresolv Mac OS X Alexis Hildebrandt 2014-06-22 16:43:15 +02:00
  • e76df30cb2 reload /etc/resolv.conf in SIGALRM handler Armin Fisslthaler 2014-04-25 14:44:06 +02:00
  • 132bdb77a0 Make DeviceStandby control network interface link status on Windows. Etienne Dechamps 2014-06-22 10:48:34 +01:00
  • bd451cfe15 Add DeviceStandby option to only enable the device when nodes are reachable. Etienne Dechamps 2014-06-22 10:48:34 +01:00
  • f0885b8d2f Cleanly remove the device FD from the event loop before closing it. Etienne Dechamps 2014-06-22 14:06:44 +01:00
  • ed1d0878af Make device close cleaner. Etienne Dechamps 2014-06-22 09:53:26 +01:00
  • 6382608653 Move Solaris if_fd to local scope. Etienne Dechamps 2014-06-22 09:54:45 +01:00
  • 9bfc228ef5 Clarify man page regarding the IndirectData option Baptiste Jonglez 2014-06-20 15:56:13 +09:00
  • 31c6899398 Unconditionally return non-zero exit code when "tinc del" does not find the requested variable. Guus Sliepen 2014-06-15 12:19:10 +02:00
  • 1ce0f76139 Return non-zero exit code when "tinc get" does not find the requested variable. Guus Sliepen 2014-06-15 12:14:01 +02:00
  • ef5e8b6920 Fix base64 decoding of Ed25519 keys. Guus Sliepen 2014-06-03 11:02:58 +02:00
  • b0d80c7f28 Allow Cipher and Digest "none". Guus Sliepen 2014-05-18 21:51:42 +02:00
  • 666718998e Implement a PEM-like format for Ed25519 keys. Guus Sliepen 2014-05-18 20:49:35 +02:00
  • f0e7e6b03e Rename ECDSA to Ed25519. Guus Sliepen 2014-05-18 20:47:04 +02:00
  • 35437a50e2 Add sanity checks when generating new RSA keys. Guus Sliepen 2014-05-13 20:29:09 +02:00
  • 66f325f467 Fix PMTU discovery via datagram SPTPS. Guus Sliepen 2014-05-12 15:57:40 +02:00
  • c35bfa18ec Fix a crash when we have a malformed public ECDSA key of another node. Guus Sliepen 2014-05-12 15:56:29 +02:00
  • c32fcdfc1d Add missing closedir(). Guus Sliepen 2014-05-12 14:35:56 +02:00
  • 75e5b2e906 Use void pointers to opaque buffers. Guus Sliepen 2014-05-12 14:35:12 +02:00