Commit graph

  • deccb83a29 try_harder() in only needed in legacy-protocol thorkill 2016-05-24 13:35:30 +02:00
  • b7fe5910d6 Add information about sending address in try_harder() thorkill 2016-05-24 13:13:35 +02:00
  • e60657765c Extended man page for tinc.conf to include SLPD thorkill 2016-05-23 22:54:54 +02:00
  • 20df09ef89 Fix compile error thorkill 2016-05-23 21:27:53 +02:00
  • 06350df9ee Change scope of *closest variable thorkill 2016-05-23 21:19:52 +02:00
  • f922b1c1e1 merged with guus/1.1 thorkill 2016-05-23 21:17:42 +02:00
  • a429889bed Added replaywin into logger thorkill 2016-05-23 13:08:31 +02:00
  • 6369a4157b Revert the order of seqno check and decryption in sptps_receive_data_datagram thorkill 2016-05-23 12:52:18 +02:00
  • b5593abe05 Extend sptps logging to farfuture and check the seqno before decryption in sptps_receive_data_datagram thorkill 2016-05-23 12:38:49 +02:00
  • 9c2170ed43 Changed ping_h - assume node is live when it pinged us thorkill 2016-05-23 09:58:32 +02:00
  • e47fe48aed fix check in cmd_pid() for failure to connect to tincd Sean McVeigh 2016-05-21 17:38:14 -04:00
  • 0bab833f76 Lower log level for "Ignore multicast" log messages thorkill 2016-05-21 23:35:26 +02:00
  • 4314df644e check for daemon pid existence before trying to connect to the control socket, and clean up stale files otherwise. Sean McVeigh 2016-05-21 17:25:18 -04:00
  • 1f34493be4 Changed comment in node.h for SLPD thorkill 2016-05-21 22:57:46 +02:00
  • 9d0e86683c Added comments and unfold deep "if"-construct in timeout_handler lemoer 2016-05-19 17:24:31 +02:00
  • af0c289290 Initialize buffer for decryption thorkill 2016-05-20 23:19:21 +02:00
  • 44c065ba26 Additional log message about failed try_mac() thorkill 2016-05-20 21:12:18 +02:00
  • fca59a36de Rephase a log message thorkill 2016-05-19 23:35:20 +02:00
  • 19177f823c Merged src/net.c wigth guus/1.1 thorkill 2016-05-19 23:27:44 +02:00
  • 738e9ad8d8 Register SLPD-Variables in tincctl thorkill 2016-05-19 16:47:46 +02:00
  • 5baecfd11b Prevent tincd from sending packets to unexpecting nodes thorkill 2016-05-19 15:48:15 +02:00
  • ae7bcad221 Prevent tincd from sending packets to unexpecting nodes thorkill 2016-05-19 15:48:15 +02:00
  • 931e5dbea9 Cleanup buffer and try to detect anomalies in sptps on ans_key_h thorkill 2016-05-19 00:21:59 +02:00
  • c6e34c3b8c Tracking "Invalid session state zero" thorkill 2016-05-18 23:52:52 +02:00
  • 08eb93ff91 Make it compile on FreeBSD on 32bit CPU thorkill 2016-05-18 23:24:07 +02:00
  • b3607cd5f9 Merge pull request #4 from lemoer/patch-fix-pong-handler Rafał Leśniak 2016-05-18 22:53:45 +02:00
  • ad540d0c09 Lower message level on SLPD expire thorkill 2016-05-18 22:41:09 +02:00
  • 532b9ca451 pong handler: fix incorrect calculation for rtt lemoer 2016-05-18 21:32:24 +02:00
  • 762dc69a59 pong handler: rtt and timestamps are always positive lemoer 2016-05-18 21:25:31 +02:00
  • 25317983c7 pong handler: add warning if we receive pong without ping lemoer 2016-05-18 21:22:03 +02:00
  • 8f21a5da81 pong handler: add sanity check for rtt lemoer 2016-05-18 21:20:47 +02:00
  • 9deb664a94 Added .dir-locals.el for the emacs devs thorkill 2016-05-18 21:02:24 +02:00
  • a6543c144d Cleanup dynamically allocated buffer before use thorkill 2016-05-18 01:08:05 +02:00
  • 68beb519b4 Turn -Wformat to -Werror=format, got some wrong habits thorkill 2016-05-17 23:34:07 +02:00
  • 90c1341626 Initialize buffer for decryption - just in case thorkill 2016-05-17 23:06:53 +02:00
  • 3e9638b0cb msg buffer may contain random data - just clean it up thorkill 2016-05-17 22:55:16 +02:00
  • ff8f57c130 Implemented SLPD information expiration and added support for port thorkill 2016-05-17 14:46:19 +02:00
  • e567374a5d Merge pull request #3 from lemoer/patch-fix-gcc Rafał Leśniak 2016-05-17 13:51:40 +02:00
  • 7b220b1464 Fix type conversation warnings for gcc in slpd. lemoer 2016-05-17 11:30:03 +02:00
  • d28dece937 Proper length validation in handle_incoming_slpd_packet thorkill 2016-05-17 11:12:55 +02:00
  • 4cb85c00a8 First attempt to sign and verify the SLPD data thorkill 2016-05-16 23:21:02 +02:00
  • 43ed440176 SLPD rewrite for IPv6 - IPv4 has been dropped thorkill 2016-05-16 20:11:08 +02:00
  • 057ccb8da6 recvfrom return size_t not len thorkill 2016-05-15 19:12:41 +02:00
  • e36af42ce4 Change type of the packet. thorkill 2016-05-15 18:48:24 +02:00
  • 99e0f5777c Small typo fix and set slpd sockt O_NONBLOCK thorkill 2016-05-15 17:24:07 +02:00
  • 756a6607e1 Silence log output thorkill 2016-05-15 00:39:18 +02:00
  • cdd148204f Introduction to Simple Local Peer Discovery Protocol (SLPD) thorkill 2016-05-15 00:24:35 +02:00
  • 4401c645ab Silence log messages on autoconnect thorkill 2016-05-14 23:21:36 +02:00
  • 39b23f7a11 Make edge update work when compiled with --disable-legacy thorkill 2016-05-14 23:18:44 +02:00
  • 231bd39986 Merge branch 'thkr-1.1-ponyhof' into thkr-1.1-1462915768-ein7jahS thorkill 2016-05-12 13:40:14 +02:00
  • e4619ecce1 Merge remote-tracking branch 'guus/1.1' into thkr-1.1-ponyhof thorkill 2016-05-12 13:39:14 +02:00
  • ddc74678b2 Fixed log message - it is destination not source address thorkill 2016-05-12 13:16:01 +02:00
  • 0cf943753a Send PKT_PROBE only when handshake has been done already. thorkill 2016-05-11 19:27:05 +02:00
  • 3ec36e6432 We still need excessive sptps logging thorkill 2016-05-11 22:54:00 +02:00
  • 3558ab5499 Removed additional debug output thorkill 2016-05-11 21:58:14 +02:00
  • b27e9bfd74 We still need excessive sptps logging thorkill 2016-05-11 22:54:00 +02:00
  • ca601087fc Removed additional debug output thorkill 2016-05-11 21:58:14 +02:00
  • 79621fd167 Merge branch 'thkr-1.1-ponyhof' into thkr-1.1-1462915768-ein7jahS thorkill 2016-05-11 19:41:40 +02:00
  • ae199d9f2b Removed type check and debug output. thorkill 2016-05-11 19:29:04 +02:00
  • 62064cc5ef Send PKT_PROBE only when handshake has been done already. thorkill 2016-05-11 19:27:05 +02:00
  • c1af41e7f0 Removed type check and debug output. thorkill 2016-05-11 19:29:04 +02:00
  • 037411aa29 Send PKT_PROBE only when handshake has been done already. thorkill 2016-05-11 19:27:05 +02:00
  • a84019cf10 Split error handling for accurate log messages in sptps_verify_datagram thorkill 2016-05-11 18:50:12 +02:00
  • d0e9430a8c Split error handling for accurate log messages in sptps_verify_datagram thorkill 2016-05-11 18:50:12 +02:00
  • b585596082 Merge branch 'thkr-1.1-ponyhof' into thkr-1.1-1462915768-ein7jahS thorkill 2016-05-11 18:39:39 +02:00
  • fe18e0ed29 Reverted changes to try_tx_sptps thorkill 2016-05-11 18:37:01 +02:00
  • 40acedd793 Reverted changes to try_tx_sptps thorkill 2016-05-11 18:37:01 +02:00
  • 41e801cbbd Revert "Temporal fix for 'unknown source' and broken direct UDP links." thorkill 2015-03-18 14:54:45 +01:00
  • 0e6265f546 Removed backtrace callback function thorkill 2016-05-10 13:42:42 +02:00
  • 9d8af84933 Merge branch 'thkr-1.1-20160510-fix-pkt_probe' into thkr-1.1-ponyhof thorkill 2016-05-10 12:01:13 +02:00
  • bd95c231ce Merge branch 'thkr-1.1-20160510-fix-receive_tcppacket_sptps' into thkr-1.1-ponyhof thorkill 2016-05-10 12:01:06 +02:00
  • dc8ee9e6d1 Prevent receive_tcppacket_sptps from forwarding data when we are in handshake phase with those nodes thorkill 2016-05-10 11:43:14 +02:00
  • f7e2020b56 Allow PKT_PROBE in sptps_send_record thorkill 2016-05-10 00:43:43 +02:00
  • 73ae43199c Allow PKT_PROBE in sptps_send_record thorkill 2016-05-10 00:43:43 +02:00
  • c5f46d3efb Removed backtrace callback thorkill 2016-05-10 00:37:39 +02:00
  • 75bca2543d Tabs vs spaces cleanup. thorkill 2016-05-10 00:17:38 +02:00
  • c7d838eb41 Fixed autoconnect after merge thorkill 2016-05-08 16:46:29 +02:00
  • 08f1fd2f8d Fixes after merge with guus/1.1 thorkill 2016-05-08 16:14:20 +02:00
  • e6b85158f0 Added symbols necessary to link with logger.o thorkill 2016-05-08 16:12:41 +02:00
  • 4be26caf4e Merge remote-tracking branch 'guus/1.1' into thkr-foor2Vup thorkill 2016-05-08 15:58:29 +02:00
  • 0edef996a6 Releasing 1.1pre14. Guus Sliepen 2016-05-01 20:35:26 +02:00
  • 3f6c663a06 Revert "Remove tinc.service, it is not necessary." Guus Sliepen 2016-05-01 12:07:44 +02:00
  • 0a6d89acc6 Releasing 1.1pre13. Guus Sliepen 2016-04-30 20:55:12 +02:00
  • 2055c3e21d AutoConnect now only chooses from nodes for which we know an address. Guus Sliepen 2016-04-30 20:05:22 +02:00
  • 0b6f84f96e Remove tinc.service, it is not necessary. Guus Sliepen 2016-04-30 18:08:31 +02:00
  • 8377d0b856 Fix BSD tun device support. Guus Sliepen 2016-04-27 20:30:36 +02:00
  • 390d25f0b8 Releasing 1.1pre12. Guus Sliepen 2016-04-24 13:23:06 +02:00
  • 5a7c6546a4 Don't check file permissions on Windows during fsck. Guus Sliepen 2016-04-23 21:39:53 +02:00
  • 83fa44ce42 Fix starting tinc as a service on Windows. Guus Sliepen 2016-04-23 21:32:42 +02:00
  • 9a66d7499a Fix a compiler warning on Windows. Guus Sliepen 2016-04-23 21:32:29 +02:00
  • ab5f4cbdc6 Fix possible read of freed memory when verifying the signature of a file. Guus Sliepen 2016-04-23 17:28:30 +02:00
  • 76955a6c8b Have "tinc fsck" recognize Ed25519PublicKey statements. Guus Sliepen 2016-04-23 17:20:08 +02:00
  • 6805b15731 Move documentation of invitations to the manual. Guus Sliepen 2016-04-23 16:05:41 +02:00
  • 51a0dc5145 Fix the "network" command in tinc shell. Guus Sliepen 2016-04-17 18:11:04 +02:00
  • b6b302cee9 Speed up AutoConnect at startup. Guus Sliepen 2016-04-17 17:06:11 +02:00
  • f934417aa6 Don't call terminate_connection(myself->connection). Guus Sliepen 2016-04-17 16:23:31 +02:00
  • 2213ecaea5 Handle special characters in sptps_test only if the --special option is given. Guus Sliepen 2016-04-17 16:01:49 +02:00
  • c2dc3784f1 Add stricter checks for netnames. Guus Sliepen 2016-04-17 14:38:37 +02:00
  • 097c69fc6a Use ifconfig_header(). Guus Sliepen 2016-04-17 14:36:29 +02:00
  • af9ee7ff00 Chdir() to the configuration directory instead of /. Guus Sliepen 2016-04-17 14:04:57 +02:00