Commit graph

  • 179b064b05 Merge branch 'edge' into android-jni-dev Grant Limberg 2015-11-02 18:32:21 -08:00
  • a19e82fcbc Merge branch 'edge' into windows-ui Grant Limberg 2015-11-02 18:30:54 -08:00
  • ccbdb1a3a1 RPC command index fix Joseph Henry 2015-11-02 16:09:28 -08:00
  • 4e9d430476 Make root and relay selection somewhat more robust. Adam Ierymenko 2015-11-02 16:03:28 -08:00
  • 8d7b2cd486 Removed serv. conn. checks. Joseph Henry 2015-11-02 15:52:12 -08:00
  • 00dcb0f22c . Adam Ierymenko 2015-11-02 15:39:09 -08:00
  • 7fbe2f7adf Tweak some more timings for better reliability. Adam Ierymenko 2015-11-02 15:38:53 -08:00
  • fd33e0812c Added checks for bad service connection. Joseph Henry 2015-11-02 15:31:57 -08:00
  • 60ce886605 Tweak some timings for better reliability. Adam Ierymenko 2015-11-02 15:15:20 -08:00
  • ab27a91b07 . Adam Ierymenko 2015-11-02 13:53:27 -08:00
  • 24ffb22fa6 Changed default debug level Joseph Henry 2015-11-02 13:26:59 -08:00
  • da462bbd55 Removed curses dependency Joseph Henry 2015-11-02 13:21:40 -08:00
  • fd3916a49e More test stuff... make it more granular and less batch based. Adam Ierymenko 2015-11-02 13:17:11 -08:00
  • bb912cff30 More appropriate phyOnUnixClose handling Joseph Henry 2015-11-02 12:50:32 -08:00
  • e53ef9642e test stuff. Adam Ierymenko 2015-11-02 12:31:34 -08:00
  • 6338a4933b Fixed another closure bug. Updated debug levels Joseph Henry 2015-11-02 12:30:18 -08:00
  • 29249db5d2 Big test stuff. Adam Ierymenko 2015-11-02 11:37:32 -08:00
  • 4dbb84cea1 Fixed connection closure bug (ERR_ABRT from nc_recved) Joseph Henry 2015-11-02 10:59:46 -08:00
  • f1b6427e63 Decided to make this 1.1.0 (semantic versioning increment is warranted), and add a legacy hack for older clients working with clusters. Adam Ierymenko 2015-11-02 09:32:56 -08:00
  • db473beb48 Fixed accept return value / errno bug, also fdret_sock return bug Joseph Henry 2015-10-30 17:00:30 -07:00
  • 1b4cc4af5c Fix evil bug, and instrument/assert on some other stuff, and a bit of cleanup. Adam Ierymenko 2015-10-30 15:54:40 -07:00
  • 7382c328da Null pointer bug appears fixed... testing again at large scale. Adam Ierymenko 2015-10-30 14:23:28 -07:00
  • 641b0dec44 . Adam Ierymenko 2015-10-30 14:12:20 -07:00
  • 2fbb5d0bbf . Adam Ierymenko 2015-10-30 14:11:45 -07:00
  • d8dbbf7484 Add some debug code in TRACE mode to catch a bug. Adam Ierymenko 2015-10-30 14:11:10 -07:00
  • 377ccff600 getPeer() had a small potential to be unsafe. Adam Ierymenko 2015-10-30 13:39:28 -07:00
  • f974517f64 Save zerotier output in containers. Adam Ierymenko 2015-10-30 13:06:30 -07:00
  • f808138a94 docs and stuff Adam Ierymenko 2015-10-30 13:05:34 -07:00
  • b845dd1b88 Set contact IP for real test. Adam Ierymenko 2015-10-30 12:38:12 -07:00
  • b6725c4415 Optimize AntiRecursion. Adam Ierymenko 2015-10-30 11:48:33 -07:00
  • 5bfa29dded Make antirec tail len slightly shorter, better performance and still plenty long enough. Adam Ierymenko 2015-10-30 11:09:40 -07:00
  • 80e62ad291 docs Adam Ierymenko 2015-10-30 10:55:05 -07:00
  • e2fc20876d docs Adam Ierymenko 2015-10-29 18:23:41 -07:00
  • 96eb0ce492 Added state dump, fixed numerous RPC related bugs Joseph Henry 2015-10-29 17:57:59 -07:00
  • d6c0d176ee Periodically re-announce peers that we have. Adam Ierymenko 2015-10-29 10:10:09 -07:00
  • 9f0f0197fe More dead code removal. Adam Ierymenko 2015-10-29 09:44:25 -07:00
  • a994573a43 Eliminate some more dead code. We may do path trust, but not like that. Adam Ierymenko 2015-10-29 09:42:15 -07:00
  • 883c84bdb9 Tweak some timings, and remove some dead code. Adam Ierymenko 2015-10-29 09:39:36 -07:00
  • f6e0bdb2f2 Fixed PCB state issue when closing connection Joseph Henry 2015-10-28 16:18:08 -07:00
  • e3d811b04b docs Adam Ierymenko 2015-10-28 15:55:40 -07:00
  • cabb8752cb docs Adam Ierymenko 2015-10-28 15:28:05 -07:00
  • 1f5ef968cf Test need a more recent version of NodeJS so update Dockerfile. Adam Ierymenko 2015-10-28 15:08:00 -07:00
  • c8f27da294 Added support for MongoDB (server side) Joseph Henry 2015-10-28 14:37:46 -07:00
  • 68d6d3c4ff Fix bug in peer count. Adam Ierymenko 2015-10-28 14:29:08 -07:00
  • 4c24e0cfb0 More tweaks to tests... just about ready to run at scale. Adam Ierymenko 2015-10-28 14:24:54 -07:00
  • 9653531242 . Adam Ierymenko 2015-10-28 14:18:58 -07:00
  • 07c1b4ddee test stuff Adam Ierymenko 2015-10-28 14:16:58 -07:00
  • 1cae7327ae Basic Dockerfile for building test agents. Adam Ierymenko 2015-10-28 13:35:52 -07:00
  • c03550de35 HTTP test works! Adam Ierymenko 2015-10-28 13:14:53 -07:00
  • c6a918d996 HTTP test code. Adam Ierymenko 2015-10-28 12:50:48 -07:00
  • 0034efafe4 On semi-undocumented test net, assign a RFC4193 IPv6 address too. Will be useful for our at-scale tests. Adam Ierymenko 2015-10-28 11:08:15 -07:00
  • 0fd15d9cf3 Fix inverted sense bug. Adam Ierymenko 2015-10-28 10:38:37 -07:00
  • 938d0a970b TRACE build fixes. Adam Ierymenko 2015-10-28 10:01:32 -07:00
  • fdc3e103cc Cleanup and docs. Adam Ierymenko 2015-10-28 09:38:33 -07:00
  • c1b0329969 Only check IP equality to detect external surface changes (should prevent some spurious resets under symmetric NATs), and simplify some logic. Adam Ierymenko 2015-10-28 09:32:07 -07:00
  • da93712846 Clean up PUSH_DIRECT_PATH limits a bit more and make them a bit smarter. Adam Ierymenko 2015-10-28 09:11:30 -07:00
  • cdc99bfee1 Add a circuit breaker for VERB_PUSH_DIRECT_PATHS. Adam Ierymenko 2015-10-27 18:18:26 -07:00
  • 88b100e5d0 More cleanup. Adam Ierymenko 2015-10-27 17:59:17 -07:00
  • 21889305e0 Updated README.md Joseph Henry 2015-10-27 17:41:51 -07:00
  • 18db95d0e9 Updated README.md Joseph Henry 2015-10-27 17:38:56 -07:00
  • 51fcc75354 Some cleanup, and use getPeerNoCache() exclusively in Cluster. Adam Ierymenko 2015-10-27 17:36:47 -07:00
  • 721d58b464 Added support for Redis Joseph Henry 2015-10-27 17:12:32 -07:00
  • 4221552c0b Use getPeerNoCache() in Cluster to avoid keeping all peers cached everywhere. Adam Ierymenko 2015-10-27 16:52:44 -07:00
  • cc1b275ad9 Replicate peer endpoints and forget paths if we have them -- this allows two clusters to talk to each other, whereas forgetting all paths does not. Adam Ierymenko 2015-10-27 16:47:13 -07:00
  • cc6080fe38 (1) No need to confirm if we are a root (small optimization), (2) Refactor peer affinity tracking. Adam Ierymenko 2015-10-27 15:57:26 -07:00
  • 6399f6f094 This no longer has to be quite so fast. Adam Ierymenko 2015-10-27 15:02:15 -07:00
  • 218ef07d8e Build fix in TRACE mode. Adam Ierymenko 2015-10-27 15:01:11 -07:00
  • 16bc3e0398 Factor out RemotePath subclass of Path -- no longer needed, just cruft. Adam Ierymenko 2015-10-27 15:00:16 -07:00
  • 40976c02a4 Forget paths to peers if we are handing them off. Adam Ierymenko 2015-10-27 14:37:38 -07:00
  • f692cec763 Change how cluster relays packets -- just PROXY_UNITE and then send packet via normal ZeroTier front plane -- more efficient and eliminates fragmentation issues. Adam Ierymenko 2015-10-27 14:04:12 -07:00
  • 40e0a34a5c Add set buffer sizes code to Phy<> Adam Ierymenko 2015-10-27 13:04:08 -07:00
  • 7295fcfa86 Merge Phy<> from netcon. Adam Ierymenko 2015-10-27 12:50:23 -07:00
  • cfe166ef35 Tweak some size limits. Adam Ierymenko 2015-10-27 12:29:01 -07:00
  • 0ffbd05c0e --wtf; prevent roots from TCP fallback Adam Ierymenko 2015-10-27 12:21:57 -07:00
  • a1a0ee4edb Fix infinite loop in Cluster, clean up some stuff elsewhere, and back out rate limiting in PUSH_DIRECT_PATHS for now (but we will do something else to mitigate amplification attacks) Adam Ierymenko 2015-10-27 12:01:00 -07:00
  • 54a99d8e32 Well that was broken. Adam Ierymenko 2015-10-27 11:14:07 -07:00
  • 62db18b6dd Lessen this limit just a bit to make cluster settle faster. Adam Ierymenko 2015-10-27 11:01:58 -07:00
  • f32e9d07dd Don't include COM if not necessary (fix). Adam Ierymenko 2015-10-27 10:58:01 -07:00
  • 700c3166b7 Fix inverted sense bug. Adam Ierymenko 2015-10-27 10:51:11 -07:00
  • 17e7528e2c More root cleanup. Adam Ierymenko 2015-10-27 10:40:31 -07:00
  • 8a7a0b6b88 Cleanup, including simplification of root server picking algorithm since we no longer need all that craziness. Adam Ierymenko 2015-10-27 10:37:39 -07:00
  • 9617208e40 Some cleanup, and use VERB_PUSH_DIRECT_PATHS to redirect newer peers. Adam Ierymenko 2015-10-27 09:53:43 -07:00
  • fb3b7a3baa Take -DZT_ENABLE_CLUSTER out of Mac defaults. Adam Ierymenko 2015-10-27 09:41:12 -07:00
  • 69857b4ba8 Refactor cluster redirects to move code to push peers out of the actual Cluster function that checks for redirect, and clean up Peer::received() to be a bit more logical. Adam Ierymenko 2015-10-27 09:36:48 -07:00
  • 0ffcfa307e another build setting Grant Limberg 2015-10-26 20:26:19 -07:00
  • 16c812ec80 set the app icon for release Grant Limberg 2015-10-26 20:23:55 -07:00
  • 268fbdabce disable sorting of peers Grant Limberg 2015-10-26 20:06:53 -07:00
  • 87496e9f4a can now leave networks Grant Limberg 2015-10-26 19:53:03 -07:00
  • 300a951730 Figured out how to expand controls to fill parent. yay Grant Limberg 2015-10-26 19:39:54 -07:00
  • 095539de29 Initial peers page Grant Limberg 2015-10-26 19:21:21 -07:00
  • c4c67e591b add error handling for JSON serialization Grant Limberg 2015-10-26 19:02:19 -07:00
  • 502aa68bb7 change int to UInt64 for these properties Grant Limberg 2015-10-26 19:01:59 -07:00
  • 81cb4bc8d6 set up a timer to update the UI from a background thread Grant Limberg 2015-10-26 18:31:10 -07:00
  • e713f7a54c Can redirect in response to a few more verbs, just not these. Adam Ierymenko 2015-10-26 18:20:40 -07:00
  • 352b83252f Merge branch 'adamierymenko-dev' into windows-ui Grant Limberg 2015-10-26 18:10:27 -07:00
  • a0c3083af0 disallow paste of non hex characters Grant Limberg 2015-10-26 18:08:44 -07:00
  • 98d856daa2 Only send redirects to the sending InetAddress and only in response to a set of certain frame types to avoid potential race conditions. Adam Ierymenko 2015-10-26 17:58:51 -07:00
  • 8bfb02ba3c Only send redirects for the same address class, and elminiate some TRACE noise. Adam Ierymenko 2015-10-26 16:55:55 -07:00
  • 0b82c9ebad Fix infinite loop if there are no live roots (never happened before?!? wow!) Adam Ierymenko 2015-10-26 16:09:56 -07:00
  • de761c5a82 Fix test world def. Adam Ierymenko 2015-10-26 15:47:32 -07:00