Adam Ierymenko
|
cdc99bfee1
Add a circuit breaker for VERB_PUSH_DIRECT_PATHS.
|
10 years ago |
Adam Ierymenko
|
88b100e5d0
More cleanup.
|
10 years ago |
Adam Ierymenko
|
51fcc75354
Some cleanup, and use getPeerNoCache() exclusively in Cluster.
|
10 years ago |
Adam Ierymenko
|
4221552c0b
Use getPeerNoCache() in Cluster to avoid keeping all peers cached everywhere.
|
10 years ago |
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.
|
10 years ago |
Adam Ierymenko
|
cc6080fe38
(1) No need to confirm if we are a root (small optimization), (2) Refactor peer affinity tracking.
|
10 years ago |
Adam Ierymenko
|
6399f6f094
This no longer has to be quite so fast.
|
10 years ago |
Adam Ierymenko
|
218ef07d8e
Build fix in TRACE mode.
|
10 years ago |
Adam Ierymenko
|
16bc3e0398
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
|
10 years ago |
Adam Ierymenko
|
40976c02a4
Forget paths to peers if we are handing them off.
|
10 years ago |
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.
|
10 years ago |
Adam Ierymenko
|
40e0a34a5c
Add set buffer sizes code to Phy<>
|
10 years ago |
Adam Ierymenko
|
7295fcfa86
Merge Phy<> from netcon.
|
10 years ago |
Adam Ierymenko
|
cfe166ef35
Tweak some size limits.
|
10 years ago |
Adam Ierymenko
|
0ffbd05c0e
--wtf; prevent roots from TCP fallback
|
10 years ago |
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)
|
10 years ago |
Adam Ierymenko
|
54a99d8e32
Well that was broken.
|
10 years ago |
Adam Ierymenko
|
62db18b6dd
Lessen this limit just a bit to make cluster settle faster.
|
10 years ago |
Adam Ierymenko
|
f32e9d07dd
Don't include COM if not necessary (fix).
|
10 years ago |
Adam Ierymenko
|
700c3166b7
Fix inverted sense bug.
|
10 years ago |
Adam Ierymenko
|
17e7528e2c
More root cleanup.
|
10 years ago |
Adam Ierymenko
|
8a7a0b6b88
Cleanup, including simplification of root server picking algorithm since we no longer need all that craziness.
|
10 years ago |
Adam Ierymenko
|
9617208e40
Some cleanup, and use VERB_PUSH_DIRECT_PATHS to redirect newer peers.
|
10 years ago |
Adam Ierymenko
|
fb3b7a3baa
Take -DZT_ENABLE_CLUSTER out of Mac defaults.
|
10 years ago |
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.
|
10 years ago |
Adam Ierymenko
|
e713f7a54c
Can redirect in response to a few more verbs, just not these.
|
10 years ago |
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.
|
10 years ago |
Adam Ierymenko
|
8bfb02ba3c
Only send redirects for the same address class, and elminiate some TRACE noise.
|
10 years ago |
Adam Ierymenko
|
0b82c9ebad
Fix infinite loop if there are no live roots (never happened before?!? wow!)
|
10 years ago |
Adam Ierymenko
|
de761c5a82
Fix test world def.
|
10 years ago |