Commit graph

  • 45a46f068c Fix crash is sptps_logger(). Guus Sliepen 2015-06-10 23:42:17 +02:00
  • 7941f68ab0 removed debug output in sptps.c thorkill 2015-06-08 13:03:41 +02:00
  • bfe231b977 Fix alignment of output of sptps_speed. Guus Sliepen 2015-06-07 23:20:14 +02:00
  • a797b4a192 Fix receiving SPTPS data in sptps_speed and sptps_test. Guus Sliepen 2015-06-07 23:14:48 +02:00
  • d8d1ab4ee1 Fix warnings about missing return value checks. Guus Sliepen 2015-06-07 22:50:05 +02:00
  • ab0576a203 Fix autoconf check for function attributes. Guus Sliepen 2015-06-07 22:25:22 +02:00
  • e0221cc00d Merge branch '1.1' of github.com:gsliepen/tinc into thkr-1.1-ponyhof thorkill 2015-06-06 01:50:28 +02:00
  • 84ecc972e5 Fix missing return value caused by the previous commit. Guus Sliepen 2015-05-31 23:51:39 +02:00
  • eca357ed91 Don't try to relay packets to unreachable nodes. Etienne Dechamps 2015-05-31 20:19:48 +01:00
  • 9bf36c8666 Merge branch '1.1' of github.com:gsliepen/tinc into thkr-1.1-ponyhof thorkill 2015-05-26 12:57:15 +02:00
  • 9e3adef5cb Fix invalid pointer use in get_my_hostname(). Etienne Dechamps 2015-05-24 09:49:16 +01:00
  • 7fcfbe2bd2 Fix wrong format string type in send_sptps_tcppacket(). Etienne Dechamps 2015-05-24 09:45:09 +01:00
  • 3e61c7233b Don't set up an ongoing connection to myself. Etienne Dechamps 2015-05-23 17:24:05 +01:00
  • 8587e8c0d9 Fix crashes when trying unreachable nodes. Etienne Dechamps 2015-05-23 10:24:00 +01:00
  • 537a936671 Update copyright notices. Guus Sliepen 2015-05-21 11:09:01 +02:00
  • 0a786ffbb9 Set the CLOEXEC flag on the umbilical socket. Guus Sliepen 2015-05-21 11:06:38 +02:00
  • 87e0952773 Use socketpair() instead of pipe() for the umbilical. Guus Sliepen 2015-05-20 21:28:54 +02:00
  • 19e0d449eb Don't write log messages to the umbilical pipe if we don't detach. Guus Sliepen 2015-05-20 21:25:06 +02:00
  • 11868b890d Ensure "tinc start" knows if the daemon really started succesfully. Guus Sliepen 2015-05-20 16:59:43 +02:00
  • 26c7ff7fdd fixed conflict in src/sptps.c thorkill 2015-05-20 14:34:10 +02:00
  • 7f96ef081d Fix check for LOCALSTATEDIR accessibility for the CLI. Guus Sliepen 2015-05-20 11:11:12 +02:00
  • 3ccdf50beb Allocate temporary filenames on the stack. Guus Sliepen 2015-05-20 00:55:00 +02:00
  • 58e8f598f3 Allow dumping a list of outstanding invitations. Guus Sliepen 2015-05-20 00:12:01 +02:00
  • 7c8f54cdb2 Add "list" as an alias for "dump" in the CLI. Guus Sliepen 2015-05-20 00:02:53 +02:00
  • 69ba5f621e Quit with an error message if ioctl(TUNSETIFF) fails. Guus Sliepen 2015-05-19 22:26:32 +02:00
  • 587e177dc3 Fixed format-warnings thorkill 2015-05-19 22:21:25 +02:00
  • 60fbdb3f2c If LOCALSTATEDIR is inaccessible, store the pid and socket files in the configuration directory. Guus Sliepen 2015-05-19 22:17:18 +02:00
  • dece2db78e Don't log seqno failures in sptps_verify_datagram(). Guus Sliepen 2015-05-19 21:32:30 +02:00
  • a752211801 Add source of SPTPS errors to log messages. Guus Sliepen 2015-05-19 21:23:35 +02:00
  • ef4a0848ca Merge branch '1.1' of github.com:gsliepen/tinc into thkr-1.1-ponyhof thorkill 2015-05-19 17:59:03 +02:00
  • d89f37eb17 Add newline at end of precomp_data.h and sc.h. Guus Sliepen 2015-05-19 14:25:20 +02:00
  • d8a3a182de Fix src/Makefile.am for *BSD. Guus Sliepen 2015-05-19 14:09:53 +02:00
  • 96a323e16a Remove info-in-builddir option from AM_INIT_AUTOMAKE(). Guus Sliepen 2015-05-19 13:31:26 +02:00
  • 51b5aab9b0 Fix check for public key in invite-join.test. Sven-Haegar Koch 2015-05-13 21:24:29 +02:00
  • a196e9b0fd Fix direct UDP communciation with pre-relaying 1.1 nodes. Etienne Dechamps 2015-05-18 21:06:16 +01:00
  • fef29d0193 Don't parse node IDs if the sending node doesn't support them. Etienne Dechamps 2015-05-18 20:48:45 +01:00
  • 643149b449 Fix SPTPS condition in try_harder(). Etienne Dechamps 2015-05-18 20:35:44 +01:00
  • 01d2519862 Don't pollute the system header directory namespace. Etienne Dechamps 2015-05-17 22:36:15 +01:00
  • c1154bf696 Make sure the MIN() macro is defined. Etienne Dechamps 2015-05-17 22:21:11 +01:00
  • 23eff91634 resolved conflict thorkill 2015-05-17 23:13:43 +02:00
  • b1aefcd8d0 extended logging in sptps thorkill 2015-05-17 23:12:27 +02:00
  • 5c32bd1578 Merge remote-tracking branches 'dechamps/sptpsrestart' and 'dechamps/keychanged' into 1.1 Guus Sliepen 2015-05-17 21:07:45 +02:00
  • 2cb216d83d Don't send KEY_CHANGED messages if we don't support the legacy protocol. Etienne Dechamps 2015-05-17 19:23:12 +01:00
  • 1a7a9078c0 Proactively restart the SPTPS tunnel if we get receive errors. Etienne Dechamps 2015-05-17 18:50:11 +01:00
  • aa52300b2b Trivial: make sptps_receive_data_datagram() a little more readable. Etienne Dechamps 2015-05-17 17:51:05 +01:00
  • 30e839b0a1 Don't send local_address in ADD_EDGE messages if it's AF_UNSPEC. Guus Sliepen 2015-05-17 18:44:09 +02:00
  • 23fda4db6d Let sockaddr2hostname() handle AF_UNSPEC addresses. Sven-Haegar Koch 2015-05-17 05:29:21 +02:00
  • 1e89a63f16 Prevent SPTPS key regeneration packets from entering an UDP relay path. Etienne Dechamps 2015-05-17 17:09:56 +01:00
  • 69c0a5fe66 fixed conflict on src/net_packet.c thorkill 2015-05-17 00:27:21 +02:00
  • eecfeadeb4 Let sockaddr2str() handle AF_UNSPEC addresses. Guus Sliepen 2015-05-16 02:01:54 +02:00
  • 613c121cdc Try all addresses for the hostname in an invitation URL. Guus Sliepen 2015-05-15 23:35:46 +02:00
  • 54a8bd78e3 Be more liberal accepting ADD_EDGE messages with conflicting local address information. Guus Sliepen 2015-05-15 23:08:53 +02:00
  • 8028e01100 Use AF_UNSPEC instead of AF_UNKNOWN for unspecified local address in add_edge_h(). Guus Sliepen 2015-05-15 23:01:06 +02:00
  • fd1cff6df2 Fix receiving UDP packets from tinc 1.0.x nodes. Guus Sliepen 2015-05-15 00:21:48 +02:00
  • 44e9f1e1d8 Fix invitations. Guus Sliepen 2015-05-13 14:28:28 +02:00
  • 35af740537 Merge branch '1.1' of github.com:gsliepen/tinc into thkr-1.1-ponyhof thorkill 2015-05-12 17:28:29 +02:00
  • 2189232b79 Init avg. RTT based on weight thorkill 2015-05-12 17:23:28 +02:00
  • 7e6b2dd1ea Introduce raw TCP SPTPS packet transport. Etienne Dechamps 2015-05-10 19:00:03 +01:00
  • d237efd325 Only read one record at a time in sptps_receive_data(). Etienne Dechamps 2015-05-10 19:28:11 +01:00
  • de14308840 Rename REQ_SPTPS to SPTPS_PACKET. Etienne Dechamps 2015-05-10 18:05:19 +01:00
  • 10c1f60c64 Try to use UDP to relay SPTPS packets received over TCP. Etienne Dechamps 2015-05-09 18:09:23 +01:00
  • 1296f715b5 Expose the raw SPTPS send interface from net_packet. Etienne Dechamps 2015-05-09 17:54:34 +01:00
  • 8e43a2fc74 Use the correct originator node when relaying SPTPS UDP packets. Etienne Dechamps 2015-05-10 18:46:47 +01:00
  • 9d223cb7e7 When relaying, send probes to the destination, not the source. Etienne Dechamps 2015-05-10 18:37:30 +01:00
  • 13f9bc1ff1 Add support for out-of-tree ("VPATH") builds. Etienne Dechamps 2014-07-12 16:01:41 +01:00
  • 462e9892ae Remove explicit distribution rules for m4 scripts. Etienne Dechamps 2014-07-12 16:21:32 +01:00
  • 362b791764 Really remove "release-" from the git-derived version string. Guus Sliepen 2015-05-09 15:41:37 +02:00
  • b109e8b164 Use git describe to populate autoconf's VERSION. Etienne Dechamps 2014-06-29 18:26:55 +01:00
  • 1c77069064 Fix typo in tincctl help. Pierre Emeriaud 2015-05-09 00:03:51 +02:00
  • 54554cc276 Don't include build-time generated version_git.h in the tarball. Guus Sliepen 2015-05-05 23:05:22 +02:00
  • c46bdbde18 Remove "release-" from displayed git version. Guus Sliepen 2015-05-05 23:03:41 +02:00
  • 120e0567cb Use git description as the tinc version. Etienne Dechamps 2014-06-29 15:22:10 +01:00
  • bb2084da59 Merge branch '1.1' of github.com:gsliepen/tinc into thkr-1.1-ponyhof thorkill 2015-04-24 23:52:45 +02:00
  • 95594f4738 Fix typo 0fda572c88 that prevented some errors from being logged. Guus Sliepen 2015-04-24 23:51:29 +02:00
  • 9e0c4a7349 Merge branch '1.1' of github.com:gsliepen/tinc into thkr-1.1-ponyhof thorkill 2015-04-24 23:47:25 +02:00
  • 0fda572c88 Don't log an error message when receiving a TERMREQ. Guus Sliepen 2015-04-24 23:43:58 +02:00
  • ea1e815223 Fix a possible segmentation fault during key upgrades. Guus Sliepen 2015-04-24 23:43:19 +02:00
  • 2059814238 Allow one-sided upgrades to Ed25519. Guus Sliepen 2015-04-24 23:40:20 +02:00
  • 1c41100737 added test for deadlock scenario while upgrading to 1.1 thorkill 2015-04-24 22:04:03 +02:00
  • 50bf9b5a1a It seems that this patch is needed. Strange things happens. thorkill 2015-04-24 18:07:12 +02:00
  • fcc0c2239f Want to test old version with latest patches. thorkill 2015-04-24 17:47:04 +02:00
  • 655d8a0f67 Removed debug output thorkill 2015-04-16 10:55:50 +02:00
  • 0fc873a161 Merge branch '1.1' into thkr-1.1-ponyhof thorkill 2015-04-16 10:44:01 +02:00
  • 3def9d2ad8 Merge remote-tracking branch 'dechamps/wintapver' into 1.1 Guus Sliepen 2015-04-12 15:43:05 +02:00
  • 95921696a4 Always call res_init() before getaddrinfo(). Guus Sliepen 2015-04-12 15:42:48 +02:00
  • f500a3d4e6 Merge remote-tracking branch 'dechamps/windevice' into 1.1 Guus Sliepen 2015-04-12 15:36:50 +02:00
  • 417981462a Merge remote-tracking branch 'dechamps/winmtu' into 1.1 Guus Sliepen 2015-04-12 15:35:50 +02:00
  • 11effab85b Merge remote-tracking branch 'dechamps/fsckwin' into 1.1 Guus Sliepen 2015-04-12 15:35:37 +02:00
  • 9e71b74ed8 Merge remote-tracking branch 'dechamps/staticfix' into 1.1 Guus Sliepen 2015-04-12 15:34:50 +02:00
  • 0cd387fd90 This commit implements average RTT estimation based on PING-PONG between active TCP connections. thorkill 2015-04-11 15:27:28 +02:00
  • 9910f8f2d1 Fixed a SIGABRT in send_ans_key(). thorkill 2015-04-04 20:16:42 +02:00
  • df42bc3621 Temporal fix for broken hopes. thorkill 2015-03-18 15:45:52 +01:00
  • 157bc90e64 Temporal fix for 'unknown source' and broken direct UDP links. thorkill 2015-03-18 14:54:45 +01:00
  • 0c010ff9fe Warn about performance if using TAP-Windows >=9.21. Etienne Dechamps 2015-03-15 18:30:39 +00:00
  • 0f328d9d28 Log TAP-Windows driver version on startup. Etienne Dechamps 2015-03-15 18:18:04 +00:00
  • 7027bba541 Increase the ReplayWindow default from 16 to 32. Etienne Dechamps 2015-03-15 18:01:03 +00:00
  • 94f49a163a Set the default for UDPRcvBuf and UDPSndBuf to 1M. Etienne Dechamps 2015-03-15 17:50:53 +00:00
  • 89715454c0 Fix Windows device asynchronous write behavior. Etienne Dechamps 2015-03-14 18:19:22 +00:00
  • 675142c7d8 When disabling the Windows device, wait for pending reads to complete. Etienne Dechamps 2015-03-14 17:27:14 +00:00
  • 176ee01526 Make sure packet header structures are correctly packed on Windows. Etienne Dechamps 2015-03-15 10:00:56 +00:00