Adam Ierymenko
|
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.
|
2015-10-27 16:47:13 -07:00 |
|
Adam Ierymenko
|
cc6080fe38
|
(1) No need to confirm if we are a root (small optimization), (2) Refactor peer affinity tracking.
|
2015-10-27 15:57:26 -07:00 |
|
Adam Ierymenko
|
6399f6f094
|
This no longer has to be quite so fast.
|
2015-10-27 15:02:15 -07:00 |
|
Adam Ierymenko
|
218ef07d8e
|
Build fix in TRACE mode.
|
2015-10-27 15:01:11 -07:00 |
|
Adam Ierymenko
|
16bc3e0398
|
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
|
2015-10-27 15:00:16 -07:00 |
|
Adam Ierymenko
|
40976c02a4
|
Forget paths to peers if we are handing them off.
|
2015-10-27 14:37:38 -07:00 |
|
Adam Ierymenko
|
f692cec763
|
Change how cluster relays packets -- just PROXY_UNITE and then send packet via normal ZeroTier front plane -- more efficient and eliminates fragmentation issues.
|
2015-10-27 14:04:12 -07:00 |
|
Adam Ierymenko
|
40e0a34a5c
|
Add set buffer sizes code to Phy<>
|
2015-10-27 13:04:08 -07:00 |
|
Adam Ierymenko
|
7295fcfa86
|
Merge Phy<> from netcon.
|
2015-10-27 12:50:23 -07:00 |
|
Adam Ierymenko
|
cfe166ef35
|
Tweak some size limits.
|
2015-10-27 12:29:01 -07:00 |
|
Adam Ierymenko
|
0ffbd05c0e
|
--wtf; prevent roots from TCP fallback
|
2015-10-27 12:21:57 -07:00 |
|
Adam Ierymenko
|
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)
|
2015-10-27 12:01:00 -07:00 |
|
Adam Ierymenko
|
54a99d8e32
|
Well that was broken.
|
2015-10-27 11:14:07 -07:00 |
|
Adam Ierymenko
|
62db18b6dd
|
Lessen this limit just a bit to make cluster settle faster.
|
2015-10-27 11:01:58 -07:00 |
|
Adam Ierymenko
|
f32e9d07dd
|
Don't include COM if not necessary (fix).
|
2015-10-27 10:58:01 -07:00 |
|
Adam Ierymenko
|
700c3166b7
|
Fix inverted sense bug.
|
2015-10-27 10:51:11 -07:00 |
|
Adam Ierymenko
|
17e7528e2c
|
More root cleanup.
|
2015-10-27 10:40:31 -07:00 |
|
Adam Ierymenko
|
8a7a0b6b88
|
Cleanup, including simplification of root server picking algorithm since we no longer need all that craziness.
|
2015-10-27 10:37:39 -07:00 |
|
Adam Ierymenko
|
9617208e40
|
Some cleanup, and use VERB_PUSH_DIRECT_PATHS to redirect newer peers.
|
2015-10-27 09:53:43 -07:00 |
|
Adam Ierymenko
|
fb3b7a3baa
|
Take -DZT_ENABLE_CLUSTER out of Mac defaults.
|
2015-10-27 09:41:12 -07:00 |
|
Adam Ierymenko
|
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.
|
2015-10-27 09:36:48 -07:00 |
|
Adam Ierymenko
|
e713f7a54c
|
Can redirect in response to a few more verbs, just not these.
|
2015-10-26 18:20:40 -07:00 |
|
Adam Ierymenko
|
98d856daa2
|
Only send redirects to the sending InetAddress and only in response to a set of certain frame types to avoid potential race conditions.
|
2015-10-26 17:58:51 -07:00 |
|
Adam Ierymenko
|
8bfb02ba3c
|
Only send redirects for the same address class, and elminiate some TRACE noise.
|
2015-10-26 16:55:55 -07:00 |
|
Adam Ierymenko
|
0b82c9ebad
|
Fix infinite loop if there are no live roots (never happened before?!? wow!)
|
2015-10-26 16:09:56 -07:00 |
|
Adam Ierymenko
|
de761c5a82
|
Fix test world def.
|
2015-10-26 15:47:32 -07:00 |
|
Adam Ierymenko
|
6cf1da166f
|
Add the whole new World, though with test identities at this point.
|
2015-10-26 15:12:28 -07:00 |
|
Adam Ierymenko
|
6625d79296
|
Fix if cluster compiled in but not enabled.
|
2015-10-26 13:07:00 -07:00 |
|
Adam Ierymenko
|
debed1ac2d
|
Expose cluster status in /status JSON response.
|
2015-10-26 13:06:10 -07:00 |
|
Adam Ierymenko
|
5ff7733f84
|
More plumbing of cluster status.
|
2015-10-26 12:49:17 -07:00 |
|
Adam Ierymenko
|
865acfa40f
|
Cluster status plumbing.
|
2015-10-26 12:41:08 -07:00 |
|
Adam Ierymenko
|
3ce5ad9e2c
|
For forward compatibility, add minimal parse for some future physical address types.
|
2015-10-26 10:42:30 -07:00 |
|
Adam Ierymenko
|
d2b1dfe424
|
Fully specify new network in alice-test, this will (with different identities) eventually become the World.
|
2015-10-23 15:51:50 -07:00 |
|
Adam Ierymenko
|
35676217e8
|
Refactor multicast group announcement to work directly or indirectly.
|
2015-10-23 14:50:07 -07:00 |
|
Adam Ierymenko
|
e9648a6cdf
|
Clarify logic in pinging, and prevent roots from pinging "down."
|
2015-10-23 14:05:12 -07:00 |
|
Adam Ierymenko
|
e6a63f5547
|
Fix bug in setWorld that might have caused a peer entry for myself (which would never be used)
|
2015-10-23 13:57:02 -07:00 |
|
Adam Ierymenko
|
29b966894c
|
(1) Fix bug in geo-ip service that prevented cache lookup, (2) fix problem in SelfAwareness (will need to test ALL versions in the wild with this), and (3) add more TRACE instrumentation to Cluster.
|
2015-10-23 13:03:34 -07:00 |
|
Adam Ierymenko
|
f0160635a2
|
Add --harmony for older nodeJS.
|
2015-10-23 12:05:17 -07:00 |
|
Adam Ierymenko
|
964b30902a
|
Cluster fix: was accumulating remote endpoints endlessly.
|
2015-10-23 11:51:18 -07:00 |
|
Adam Ierymenko
|
2a3dd53952
|
.
|
2015-10-22 17:50:00 -07:00 |
|
Adam Ierymenko
|
dee6e7e3c1
|
.
|
2015-10-22 16:11:48 -07:00 |
|
Adam Ierymenko
|
7711eba297
|
More cluster wiring...
|
2015-10-22 16:02:01 -07:00 |
|
Adam Ierymenko
|
1bc451ed10
|
GeoIP cluster service works.
|
2015-10-22 10:41:15 -07:00 |
|
Adam Ierymenko
|
e07bae2525
|
Run geoip cluster service sub-process.
|
2015-10-22 10:18:05 -07:00 |
|
Adam Ierymenko
|
5304b0d8d1
|
Rename index.js so process is distinguishable.
|
2015-10-22 09:09:15 -07:00 |
|
Adam Ierymenko
|
a46514b397
|
Cluster-geo launcher.
|
2015-10-21 12:47:02 -07:00 |
|
Adam Ierymenko
|
25a84e30fc
|
Code for cluster-geo service.
|
2015-10-21 12:41:46 -07:00 |
|
Adam Ierymenko
|
978b056a01
|
Wire in redirectPeer(), now about ready to test clustering!
|
2015-10-20 17:36:10 -07:00 |
|
Adam Ierymenko
|
6a7b47e5e1
|
Forgot a return true.
|
2015-10-20 17:27:57 -07:00 |
|
Adam Ierymenko
|
d6dee7bb5c
|
Clustered handling of relaying.
|
2015-10-20 17:22:53 -07:00 |
|