Commit graph

  • ecbcc9eb2c TESTNET supernodes need different addresses. Adam Ierymenko 2014-05-09 11:45:38 -07:00
  • 1ad29fe31f Merge branch 'adamierymenko-dev' of ssh://shub-niggurath.zerotier.com:222/git/ZeroTierOne into adamierymenko-dev Adam Ierymenko 2014-05-09 15:40:08 +00:00
  • 42f6aae259 More netconf work... set ZT_HOME and chdir there on service launch. Adam Ierymenko 2014-05-09 15:39:51 +00:00
  • de485ad900 Add testnet ports and ZT_USE_TESTNET define for contacting the test.zerotier.com net instead of the live net. Adam Ierymenko 2014-05-08 17:53:22 -07:00
  • 99c5fae9da Make Service communicate via empty-line-delimited Dictionary objects instead of the old size prefix way. Adam Ierymenko 2014-05-08 21:27:59 +00:00
  • 98f0418fb9 A little more cleanup in node code. Adam Ierymenko 2014-05-08 00:47:46 +00:00
  • d7977fa3e1 Make certificate of membership works in node code! Adam Ierymenko 2014-05-08 00:22:20 +00:00
  • 1e6475fad6 Clean out unused netconf fields, rename a few, work on new netconf server. Adam Ierymenko 2014-05-08 00:11:50 +00:00
  • d5f95b721d Yet more work on netconf master, add redis docs. Adam Ierymenko 2014-05-07 02:45:15 +00:00
  • ae2eeff5c6 . Adam Ierymenko 2014-05-06 00:24:21 +00:00
  • 08da4b8c7b Add mkcom functionality to zerotier-idtool for use by new NodeJS netconf-master code. Adam Ierymenko 2014-05-06 00:15:21 +00:00
  • 0ba0c6d04d New netconf... Adam Ierymenko 2014-05-06 00:05:11 +00:00
  • 93f24ea86a Some work on new netconf service... Adam Ierymenko 2014-05-05 22:11:21 +00:00
  • f8eae84e15 Retire old netconf mess. Adam Ierymenko 2014-05-05 15:05:11 +00:00
  • 7831c4bfef Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations. Adam Ierymenko 2014-04-18 00:14:12 -07:00
  • 5f45977e3e Update GitHub README Adam Ierymenko 2014-04-16 11:40:48 -07:00
  • d187ec82d4 Adding supernode yig.zerotier.com (Sydney, Australia) and removing mi-go.zerotier.com (Singapore) due to real-world usage data. Adam Ierymenko 2014-04-15 14:37:19 -07:00
  • 42c3474223 VERSION 0.8.2 0.8.2 Adam Ierymenko 2014-04-10 22:46:17 -07:00
  • aee742e767 More toward GitHub issue #56 Adam Ierymenko 2014-04-10 16:30:15 -07:00
  • c9294c1a78 Prevent recursive transit of ZeroTier packets, toward GitHub issue #56 Adam Ierymenko 2014-04-10 14:22:25 -07:00
  • b117ff5435 Probable fix for GitHub issue #63 - do not unite() if either path is TCP, since doing so can result in asymmetric failed NAT-t over UDP if one side has a firewall that permits outgoing UDP but not incoming. Adam Ierymenko 2014-04-10 11:17:54 -07:00
  • 119ef5ecbf More logic cleanup and some documentation / comment improvements. Adam Ierymenko 2014-04-10 10:00:20 -07:00
  • 8fb442d81a Yet more cleanup to TCP logic, this time adding a master switch and adding UDP preference in send(). Adam Ierymenko 2014-04-09 17:08:35 -07:00
  • 73153b89b4 Some cleanup, and use best (not first) UDP addresses for NAT-t VERB_RENDEZVOUS computation. Adam Ierymenko 2014-04-09 16:00:25 -07:00
  • d9836adbf6 .... aaaaaand... GitHub issue #61 was caused by the fact that we were no longer deleting taps on Windows! Adam Ierymenko 2014-04-09 15:34:03 -07:00
  • 420edf23ad Was not closing _shutdownSignalPipe in UnixEthernetTap either... Adam Ierymenko 2014-04-09 15:32:37 -07:00
  • 6c5f6feb5e Set close-on-exec in attempt to head off GitHub issue #61 Adam Ierymenko 2014-04-09 15:22:08 -07:00
  • a1c1c82b0d VERSION 0.8.1 0.8.1 Adam Ierymenko 2014-04-09 13:03:33 -07:00
  • 83a0d988ec Text point size readjustment not needed on child windows in Windows? Adam Ierymenko 2014-04-09 12:19:46 -07:00
  • a8c12369fd More tweaks to TCP logic for GitHub issue #60 Adam Ierymenko 2014-04-09 12:10:05 -07:00
  • 28a6d328a5 Some adjustments to TCP logic for GitHub issue #60 Adam Ierymenko 2014-04-09 11:55:24 -07:00
  • dd404b8ba3 VERSION 0.8.0 0.8.0 Adam Ierymenko 2014-04-08 22:38:51 -07:00
  • 1c636afe3f Fix typo. Adam Ierymenko 2014-04-08 16:43:36 -07:00
  • 48a1799f49 More Windows tap cleanup... seems solid. We'll see. Adam Ierymenko 2014-04-08 16:10:48 -07:00
  • bf24de43fe Windows tap: be REAL REAL REAL PARANOID. Wake up sheeple. Adam Ierymenko 2014-04-08 15:47:33 -07:00
  • 76d9ea911d Another Qt build fix... need the right tap driver in build just to make symbols work even though UI doesn't use that code. Adam Ierymenko 2014-04-08 14:16:45 -07:00
  • ff773def26 Remove EthernetTap.cpp from UI build project. Adam Ierymenko 2014-04-08 13:59:31 -07:00
  • 5abfb11813 Some installer stuff, complete refactoring of Windows side of newly split tap driver. Seems to work. Now to see if the cleanup we did here gets rid of the zombie tap device issue on Windows. Adam Ierymenko 2014-04-08 12:00:21 -07:00
  • 0b8d6c7f4a Builds and runs on Unix with EthernetTap changes, now for Windows... and for what we did this for: a refactor of the Windows tap connector. Adam Ierymenko 2014-04-07 15:39:33 -07:00
  • 6c60305a96 Split EthernetTap into subclasses, work in progress... Adam Ierymenko 2014-04-07 14:47:39 -07:00
  • 19c4d82512 Intaller upgrade and stuff, fix to Windows service for new Node API changes. Adam Ierymenko 2014-04-04 16:59:02 -07:00
  • e11149bcae Fix network widget spacer issue on Windows. Adam Ierymenko 2014-04-04 12:25:48 -07:00
  • fe85426df6 A few more tweaks to TCP failover... seems to be switching back and forth pretty well now! Adam Ierymenko 2014-04-03 17:12:34 -07:00
  • 158002d2d1 Tweak some timings and stuff. Adam Ierymenko 2014-04-03 16:19:41 -07:00
  • c96d3ebf8c Such ping logic. So edge case. Adam Ierymenko 2014-04-03 14:36:52 -07:00
  • b1088a6bd7 Make Unix domain sockets mode 0777 so that properly authorized non-privileged users can access them (if they have auth token). Adam Ierymenko 2014-04-02 17:21:26 -07:00
  • f0223490be Make GUI work with new control client API, make control client look for user authtoken.secret if system unreadable. Adam Ierymenko 2014-04-02 17:12:04 -07:00
  • 81e5690410 More tweaks to TCP failover logic. Such edge case. Adam Ierymenko 2014-04-02 17:32:47 -04:00
  • 700a450806 More tweaks to algorithm for determining when to fail over to TCP, and stop supernodes from resynchronizing unless explicitly ordered. Adam Ierymenko 2014-04-01 18:39:10 -07:00
  • 0e1fc06a6f The remove paths on send fail thing in Peer.cpp was not well thought out, and there is no point in mallocing the TCP write buffer. Adam Ierymenko 2014-04-01 15:55:05 -07:00
  • c3b41c289d Resynchronize on startup. Adam Ierymenko 2014-04-01 14:12:54 -07:00
  • 6ab95e0391 Get : out of Path.toString() since this will conflict with : in IPv6 IPs. Adam Ierymenko 2014-04-01 08:52:52 -07:00
  • 67b3fa9311 Clean up main.o in Linux make clean. Adam Ierymenko 2014-03-31 22:38:46 -07:00
  • 316e8d1939 Build fix. Adam Ierymenko 2014-03-31 22:30:08 -07:00
  • f13493edb2 Oops... turns out we need to differentiate incoming from outgoing TCP and indeed learn incoming TCP paths. Otherwise the recipient of a TCP connection does not know to reply via TCP! Heh. Adam Ierymenko 2014-03-31 22:23:55 -07:00
  • 595b386afc Increase maximum packet fragments to make room for huge multicasts with certificates of membership tagged onto them. This likely will not actually increase the number of fragments in practice much, since these are then subsequently compressed. But the buffer needs to be allocated with room for them, otherwise these packets get dropped with a range_error exception internally. Adam Ierymenko 2014-03-31 14:53:33 -07:00
  • 8e587ae481 Clean dead paths from peers. Adam Ierymenko 2014-03-31 11:41:14 -07:00
  • acb056e3b1 Small readability fix. Adam Ierymenko 2014-03-28 21:04:15 -07:00
  • 5ef2c6fd6f Add TCP/443 to all supernodes in Defaults. Adam Ierymenko 2014-03-28 15:51:19 -07:00
  • 1a0572d7e7 Remove UDP-breaking debug code. Adam Ierymenko 2014-03-28 13:58:18 -07:00
  • 7957ab6b1d Windows uses exceptfds to report failed async connect() in select(). TCP now done on Windows (I think). Adam Ierymenko 2014-03-28 13:37:21 -07:00
  • e8b613e625 TCP connections work on Windows now. Adam Ierymenko 2014-03-28 12:26:33 -07:00
  • 9c68a343f6 Reduce some TRACE noise. Adam Ierymenko 2014-03-27 18:57:20 -07:00
  • 881ff08269 Make multiple attempts to open the tap device on Windows. Adam Ierymenko 2014-03-27 18:50:10 -07:00
  • e3239d23f4 Windows build fix. Adam Ierymenko 2014-03-27 18:39:58 -07:00
  • f9c92b0351 Build fix from merge. Adam Ierymenko 2014-03-27 18:24:57 -07:00
  • b73c36acbf Merge branch 'adamierymenko-dev' of ssh://shub-niggurath.zerotier.com:222/git/ZeroTierOne into adamierymenko-dev Adam Ierymenko 2014-03-27 18:23:02 -07:00
  • 181369964f Make TCP optional, rename port constant. Adam Ierymenko 2014-03-27 18:22:53 -07:00
  • d2c5d71502 Finally fixed TCP sockets. Adam Ierymenko 2014-03-27 17:42:02 -07:00
  • c231510f8b More TCP-related fixes and tweaks to ping timing, resynchronize, and startup. Adam Ierymenko 2014-03-27 17:02:52 -07:00
  • 2ac56fd120 Fix TCP connection accumulation problem, still having issues with TCP tunneling. Adam Ierymenko 2014-03-26 17:59:45 -07:00
  • e6b23059ac Change the way TCP failover is invoked. Adam Ierymenko 2014-03-26 16:44:58 -07:00
  • 04169b5150 If I want it to pick the first, actually picking the first is helpful. Adam Ierymenko 2014-03-26 15:44:24 -07:00
  • daaec84c6b Add TCP channel support for supernode list, make Peer pick the first path if all paths are equally dead. Adam Ierymenko 2014-03-26 15:35:15 -07:00
  • 73c1d43f2f Crank down default multicast preload and max balance just a little bit... should not impact non-lame protocols. Adam Ierymenko 2014-03-25 21:48:16 -07:00
  • ab5a460177 Apply multicast rate limits on a network to ourselves and do not send multicasts that would exceed limits, for GitHub issue #55 Adam Ierymenko 2014-03-25 21:38:54 -07:00
  • 67a85221d5 WINDOWS IS SUFFERING Adam Ierymenko 2014-03-25 17:31:03 -07:00
  • 328be8f846 Make Windows build, add (untested) Windows named pipe based IPC code. Adam Ierymenko 2014-03-25 08:37:08 -07:00
  • d9b91758e0 Fix command line interface. Adam Ierymenko 2014-03-21 14:58:35 -07:00
  • 4e26ade2df Fix deadlock in refactored code. Adam Ierymenko 2014-03-21 14:31:10 -07:00
  • 8d3eb1a258 A few renamings to be consistent. Adam Ierymenko 2014-03-21 14:18:35 -07:00
  • 33ad3deaee Builds with new Path code. Adam Ierymenko 2014-03-21 13:46:55 -07:00
  • ba3f04deed Work in progress: refactoring paths, adding TCP fallback. Adam Ierymenko 2014-03-20 20:07:35 -07:00
  • 45e823d27c Reworking of paths in Peer work-in-progress, and TCP connect support in SocketManager. Also add FD_SETSIZE checking for the default select implementation of sockets. Adam Ierymenko 2014-03-20 18:49:33 -07:00
  • 70b736f440 Put mac back to release default build flags. Adam Ierymenko 2014-03-20 14:44:13 -07:00
  • 97e6b38144 MULTICAST_FRAME TRACE improvements. Adam Ierymenko 2014-03-20 14:24:15 -07:00
  • 7a45ff460d More deadlock fixes in new I/O. Adam Ierymenko 2014-03-20 14:00:05 -07:00
  • 6f5a4d7e29 Fix blocking socket issues in new socket I/O code. Adam Ierymenko 2014-03-20 13:21:58 -07:00
  • 4d0ad9abb6 Fix TRACE bug and new UDP socket code issue. Adam Ierymenko 2014-03-19 23:10:34 -07:00
  • 15e8c18106 Bug fixes. Adam Ierymenko 2014-03-19 22:01:32 -07:00
  • 1c555e4b96 command bus fix Adam Ierymenko 2014-03-19 16:59:23 -07:00
  • 6fdb360e2a More IPC work. Adam Ierymenko 2014-03-19 16:05:03 -07:00
  • 0d847d9410 More build fixes. Adam Ierymenko 2014-03-19 15:29:00 -07:00
  • abc82d6a52 IPC changes and SocketManager changes all build! Adam Ierymenko 2014-03-19 13:56:48 -07:00
  • acf7d70d24 Integrate IPC stuff into NodeConfig. Adam Ierymenko 2014-03-19 08:20:09 -07:00
  • 3be4c38946 IPC stuff for Unix. Adam Ierymenko 2014-03-18 18:44:44 -07:00
  • 6a1bd52854 New IPC work... Adam Ierymenko 2014-03-18 17:19:32 -07:00
  • 0b75992737 Everything but the local config bus... blech. Adam Ierymenko 2014-03-18 14:33:57 -07:00
  • 91fef21973 More ripping out of old condition stuff. Adam Ierymenko 2014-03-18 12:21:22 -07:00
  • dc0f3559be Rip out old condition and Demarc stuff... Adam Ierymenko 2014-03-18 12:00:15 -07:00