Commit graph

  • 43b41e9095 Fix HAVE_DECL_RES_INIT conditionals. Etienne Dechamps 2015-03-14 16:17:32 +00:00
  • 4989362300 Fix invalid getuid() call on Windows. Etienne Dechamps 2015-03-14 16:07:54 +00:00
  • fa432426df Don't send UDP probes past static relays. Etienne Dechamps 2015-03-14 14:04:50 +00:00
  • 76a9be5bce Throttle the rate of MTU_INFO messages. Etienne Dechamps 2015-03-08 20:17:27 +00:00
  • 467397f25d Throttle the rate of UDP_INFO messages. Etienne Dechamps 2015-03-08 19:54:44 +00:00
  • b1421b9190 Add MTU_INFO protocol message. Etienne Dechamps 2015-03-08 18:54:50 +00:00
  • 9bb230f30f Add UDP_INFO protocol message. Etienne Dechamps 2015-01-03 17:46:33 +00:00
  • 6568cffd52 --syslog and --logfile are mutually exclusive. Guus Sliepen 2015-03-14 12:02:29 +00:00
  • 15ad628f06 Fix the case where we detach and use --logfile. Guus Sliepen 2015-03-14 12:02:06 +00:00
  • 04fc19112d Merge remote-tracking branch 'seehuhn/1.1' into 1.1 Guus Sliepen 2015-03-14 11:45:55 +00:00
  • f9ecaa1076 Merge remote-tracking branch 'dechamps/sptpsabort' into 1.1 Guus Sliepen 2015-03-14 11:44:38 +00:00
  • 19d16e40cc Add a new --syslog option for tincd. Jochen Voss 2015-03-13 11:05:22 +00:00
  • 2e7f68ad2b Don't abort() willy-nilly in SPTPS code. Etienne Dechamps 2015-03-08 17:32:39 +00:00
  • c23e50385d Fix UDP/MTU discovery in intermediate SPTPS UDP relays. Etienne Dechamps 2015-03-08 14:32:01 +00:00
  • 0f8e2cc78c Fix dynamic UDP SPTPS relaying. Etienne Dechamps 2015-03-08 14:20:15 +00:00
  • 537c352886 Fix compile errors introduced in cfe9285adf xentec 2015-02-17 04:02:35 +01:00
  • cffcaf966b Suppress warnings about parsing Ed25519 keys when they are not present. Guus Sliepen 2015-02-16 08:42:30 +01:00
  • 833a8a048b Document that --force should precede commands. Guus Sliepen 2015-02-16 08:26:49 +01:00
  • 85000a30ca Fixed variables.test testsuite after 'Make "tinc add" idempotent.' change. Sven-Haegar Koch 2015-02-10 01:17:12 +01:00
  • 4b2ddded2c Make "tinc add" idempotent. Guus Sliepen 2015-02-09 15:23:59 +01:00
  • 0b310bf406 Always call res_init() before getaddrinfo(). Guus Sliepen 2015-02-09 15:16:36 +01:00
  • 268e3ffca7 Add the "fsck" command to the CLI. Guus Sliepen 2015-01-15 22:57:56 +01:00
  • a95e182d9c Improve packet source detection. Guus Sliepen 2015-01-12 14:43:32 +01:00
  • ae5b56c03d Send gratuitous type 2 probe replies. Guus Sliepen 2015-01-11 17:44:50 +01:00
  • 7b76b7ac35 Send the size of the largest recently received packets in type 2 probe replies. Guus Sliepen 2015-01-11 16:14:05 +01:00
  • 79b6adb489 Move UDP probe reply code into its own function. Guus Sliepen 2015-01-11 16:12:57 +01:00
  • f0afde0467 Keep track of the largest UDP packet size received from a node. Guus Sliepen 2015-01-11 16:10:58 +01:00
  • d639415937 Move detection of PMTU decrease to try_mtu(). Guus Sliepen 2015-01-11 15:38:56 +01:00
  • e97e9b22cb Send MTU probes only once every PingInterval. Guus Sliepen 2015-01-11 14:44:27 +01:00
  • 088b5fd9ee Remove RTT and packet loss estimation code. Guus Sliepen 2015-01-11 14:44:15 +01:00
  • ce7079f4af Only send small packets during UDP probes. Guus Sliepen 2015-01-11 13:53:16 +01:00
  • e4077c00c6 Immediately send our key when a meta-connection is established. Guus Sliepen 2015-01-11 13:51:55 +01:00
  • eb7a0db18e Always keep UDP mappings alive for nodes that also have a meta-connection. Guus Sliepen 2015-01-11 13:31:01 +01:00
  • 545ecb3396 Fix segfault when sptps_test cannot open the key files. Guus Sliepen 2015-01-11 01:52:37 +01:00
  • 69d4ccc437 Fix typo in logging statement. Etienne Dechamps 2014-12-30 09:56:30 +00:00
  • 6fcfe763aa Don't send probe replies if we don't have the other's key. Guus Sliepen 2015-01-10 23:58:35 +01:00
  • f3801cb543 Proactively send our own key when we request another node's key. Guus Sliepen 2015-01-10 23:52:23 +01:00
  • c26bb47af1 Fix size of type 2 probe replies. Guus Sliepen 2015-01-10 23:33:55 +01:00
  • 0209f12d27 Correctly estimate the initial MTU for legacy packets. Guus Sliepen 2015-01-10 23:00:51 +01:00
  • 0e65326047 Try to clarify the new code in net_packet.c a bit. Guus Sliepen 2015-01-10 22:28:47 +01:00
  • 6056f1c13b Remember whether we sent our key to another node. Guus Sliepen 2015-01-10 22:26:33 +01:00
  • f1f2df0738 Use global "now" in try_udp() and try_mtu(). Guus Sliepen 2015-01-04 16:00:02 +01:00
  • b737103a91 Use void pointers for opaque data blobs in the SHA512 code. Guus Sliepen 2015-01-04 14:19:23 +01:00
  • 4b42518813 Fix indentation and some whitespace issues. Guus Sliepen 2015-01-04 14:15:35 +01:00
  • 07108117ce Use a different UDP discovery interval if the tunnel is established. Etienne Dechamps 2015-01-03 10:05:57 +00:00
  • 06345f89b9 Recalculate and resend MTU probes if they are too large for the system. Etienne Dechamps 2015-01-01 16:59:45 +00:00
  • f89319f981 Fine-tune the MTU discovery multiplier for the maxmtu < MTU case. Etienne Dechamps 2014-12-31 16:21:08 +00:00
  • bce17c83e8 Add IP_MTU-based maxmtu estimation. Etienne Dechamps 2014-12-31 16:12:11 +00:00
  • c1532035e2 Don't send MTU probes smaller than 512 bytes. Etienne Dechamps 2014-12-31 09:26:14 +00:00
  • 172cbe6771 Adjust MTU probe counts. Etienne Dechamps 2014-12-30 17:02:38 +00:00
  • 24d28adf64 Use a smarter algorithm for choosing MTU discovery probe sizes. Etienne Dechamps 2014-12-30 16:34:48 +00:00
  • c22560ae32 Remove bandwidth estimation code. Etienne Dechamps 2014-12-30 10:47:56 +00:00
  • 1b972f2273 Send one MTU probe at a time. Etienne Dechamps 2014-12-30 10:16:32 +00:00
  • 5bdc1f2b82 Use -1 to identify the post-initial MTU discovery state. Etienne Dechamps 2015-01-01 16:04:08 +00:00
  • df6f678957 Fix MTU as soon as possible. Etienne Dechamps 2015-01-01 10:32:14 +00:00
  • 97cf478318 Move try_mtu() closer to try_tx(). Etienne Dechamps 2014-12-29 17:05:19 +00:00
  • 98716a227e Move PMTU discovery code into the TX path. Etienne Dechamps 2014-12-29 16:47:49 +00:00
  • eef792c01e Remove PMTU discovery code redundant with UDP discovery. Etienne Dechamps 2014-12-29 16:11:04 +00:00
  • 88026f2771 Move responsibility for local discovery to UDP discovery. Etienne Dechamps 2014-12-29 15:40:55 +00:00
  • 7939ee1283 Add UDP discovery mechanism. Etienne Dechamps 2014-12-29 10:34:39 +00:00
  • 5d6478b9fb Move try_sptps() closer to try_tx(). Etienne Dechamps 2014-12-28 17:29:03 +00:00
  • 81578484dc Add the try_tx() function. Etienne Dechamps 2014-12-28 17:16:27 +00:00
  • 950edc0744 Clarify the send_mtu_probe() function. Etienne Dechamps 2014-10-12 19:44:33 +01:00
  • d28f332286 Fixes for bugs in src/Makefile.am and tincctl.c introduced by cfe9285adf. Guus Sliepen 2015-01-01 00:52:39 +01:00
  • 4d50f9f348 Add missing nolegacy/crypto.c and prf.c. Guus Sliepen 2014-12-30 11:16:08 +01:00
  • cfe9285adf Allow tinc to be compiled without OpenSSL. Guus Sliepen 2014-12-29 22:57:18 +01:00
  • 8d32b283b0 Releasing 1.1pre11. Guus Sliepen 2014-12-27 09:22:31 +01:00
  • db465434e2 Add BroadcastSubnet and DeviceStandby options to the manual and completion. Guus Sliepen 2014-12-27 09:20:46 +01:00
  • 26d3ee0dd9 Better default paths for log and PID files on Windows. Guus Sliepen 2014-12-27 09:08:34 +01:00
  • b78436ff1e Remove AES-GCM support. Guus Sliepen 2014-12-26 18:22:13 +01:00
  • 128a373974 Linux doesn't like .PHONY .o files. Guus Sliepen 2014-12-26 18:12:28 +01:00
  • 69689f908b We don't depend on ECDH functions from OpenSSL anymore. Guus Sliepen 2014-12-26 17:53:40 +01:00
  • aa2d4f8dd9 BSD make doesn't like .PHONY .c files. Guus Sliepen 2014-12-26 15:58:28 +01:00
  • 8ee4004edf Check whether res_init() really lives in libresolv. Guus Sliepen 2014-12-26 15:40:09 +01:00
  • 9f20922d62 Update THANKS file. Guus Sliepen 2014-12-26 14:59:15 +01:00
  • 880d74ad2d Allow running tinc without RSA keys. Guus Sliepen 2014-12-26 14:38:01 +01:00
  • 266afc6c63 Merge remote-tracking branch 'groxxda/gui-fixes' into 1.1 Guus Sliepen 2014-12-25 18:13:24 +01:00
  • 7730d5f3ed Use plain old PACKET for TCP packets sent directly to a neighbor. Etienne Dechamps 2014-10-12 12:14:46 +01:00
  • 0356efecb6 Don't spontaneously start SPTPS with neighbors. Etienne Dechamps 2014-10-12 11:41:08 +01:00
  • 6b92ac505d Add a variable offset to vpn_packet_t, drop sptps_packet_t. Guus Sliepen 2014-12-24 22:23:24 +01:00
  • 107d9c7da5 Use void pointers for opaque data blobs in the SPTPS code. Guus Sliepen 2014-12-24 22:15:40 +01:00
  • 3df86ef17b Fix memory leaks found by Valgrind. Guus Sliepen 2014-12-24 17:31:33 +01:00
  • d00d8dbb9b Don't use myself->name in device_disable(), it's already freed. Guus Sliepen 2014-12-24 17:06:05 +01:00
  • 313de46e70 Don't pass uninitialized bytes to ioctl(). Guus Sliepen 2014-12-24 16:59:08 +01:00
  • a99ded7d98 Avoid using OpenSSL's random number functions. Guus Sliepen 2014-12-24 16:54:12 +01:00
  • 199573f1e8 Fix reception of SPTPS UDP packets. Guus Sliepen 2014-12-14 13:05:30 +01:00
  • 558b19c243 Fix segfault when receiving UDP packets with an unknown source address. Guus Sliepen 2014-12-14 12:42:03 +01:00
  • 5104001bae Changes that should have been in commit 46fa12e666. Guus Sliepen 2014-12-08 08:43:15 +01:00
  • 46fa12e666 Make UDP packet handling more efficient. Guus Sliepen 2014-12-08 00:58:09 +01:00
  • 263d990382 Avoid memmove() for legacy UDP packets. Guus Sliepen 2014-12-08 00:44:38 +01:00
  • c2319e90b1 Cache node IDs in a hash table for faster lookups. Guus Sliepen 2014-12-07 22:11:37 +01:00
  • 9d48d5b7d4 Add an explicit hash_delete() function. Guus Sliepen 2014-12-07 22:10:16 +01:00
  • 6062df4a0f Better log messages when we already know the peer's key during an upgrade. Guus Sliepen 2014-12-07 21:42:20 +01:00
  • 148a4c9161 Try handling the case when the first side knows the ecdsa key of the second, but the second not the key of the first. (And both have the experimental protocol enabled) Sven-Haegar Koch 2014-12-05 03:06:44 +01:00
  • b90c42a33b Log an error message with the node's name when receiving bad SPTPS packets. Guus Sliepen 2014-12-07 17:25:30 +01:00
  • 660a2c7d1b Check validity of Ed25519 key during an upgrade. Guus Sliepen 2014-12-07 17:20:18 +01:00
  • 5716c8877f Do not disconnect when no ecdsa key is known yet. Sven-Haegar Koch 2014-12-05 02:41:55 +01:00
  • dd6b0e65b9 Fix compiler warnings. Guus Sliepen 2014-12-03 14:51:45 +01:00
  • 790b107f66 Query the Linux device for its MAC address. Etienne Dechamps 2014-10-04 16:33:33 +01:00
  • c269a17ca4 tinc-gui: Don't assign broadcast subnets to any node, fix parsing of Edges, fix diplay of Subnet.weight. groxxda 2014-10-14 22:18:56 +02:00