Adam Ierymenko
|
47424df417
|
Fix (1) a deadlock bug and (2) a bug that prevented distributed rendezvous messages from being sent.
|
2015-11-09 13:39:06 -08:00 |
|
Adam Ierymenko
|
73e2c6e511
|
How did that ever work?
|
2015-11-09 12:24:49 -08:00 |
|
Adam Ierymenko
|
4ad2ff2f71
|
.
|
2015-11-09 11:08:52 -08:00 |
|
Adam Ierymenko
|
b57c855a8c
|
PROXY_SEND fix.
|
2015-11-09 10:25:20 -08:00 |
|
Adam Ierymenko
|
ed954c5ca2
|
.
|
2015-11-09 10:09:16 -08:00 |
|
Adam Ierymenko
|
21341ab15c
|
Ready to test.
|
2015-11-09 09:45:43 -08:00 |
|
Adam Ierymenko
|
f4d12603e0
|
Tweak how Switch passes off to Cluster on relay to fit new paradigm.
|
2015-11-09 09:19:03 -08:00 |
|
Adam Ierymenko
|
ff81415ffe
|
Build fixes...
|
2015-11-09 09:14:26 -08:00 |
|
Adam Ierymenko
|
57b71bfff0
|
Cluster simplification and refactor work in progress...
|
2015-11-08 13:57:02 -08:00 |
|
Adam Ierymenko
|
6bc8c9d8ef
|
Clustering cleanup, still a work in progress.
|
2015-11-06 16:12:41 -08:00 |
|
Adam Ierymenko
|
5f39d5b7ea
|
Further pare down Cluster messaging and rename some stuff.
|
2015-11-06 14:37:17 -08:00 |
|
Adam Ierymenko
|
9490b1f136
|
Try prioritizing cluster-send over direct send in cluster mode -- may improve cluster relaying reliability.
|
2015-11-06 13:38:56 -08:00 |
|
Adam Ierymenko
|
8ea5f424fd
|
Small amount of cleanup.
|
2015-11-06 11:15:06 -08:00 |
|
Adam Ierymenko
|
ba5008c370
|
Now make cluster announcements slightly more frequent.
|
2015-11-05 17:28:55 -08:00 |
|
Adam Ierymenko
|
3fa1b5a89d
|
Make cluster HAVE_PEER a little lighter by removing full identity. Technically this is not necessary and they will propagate over time in any case. Might restore it in some form in the future.
|
2015-11-05 17:22:22 -08:00 |
|
Adam Ierymenko
|
3e22fee842
|
Integrate deferred background processing into main OneService implementation.
|
2015-11-05 12:41:14 -08:00 |
|
Adam Ierymenko
|
8ef4edebbf
|
Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.
|
2015-11-05 12:22:58 -08:00 |
|
Adam Ierymenko
|
a42d714a87
|
.
|
2015-11-03 11:18:45 -08:00 |
|
Adam Ierymenko
|
c9e6e60c09
|
Handle ZeroTier-RFC4193 IPv6 address NDP queries inline by spoofing responses if the addressing scheme matches -- this allows multicast-free instant lookup of local IPv6 for better performance and reliability.
|
2015-11-03 10:46:41 -08:00 |
|
Adam Ierymenko
|
4e9d430476
|
Make root and relay selection somewhat more robust.
|
2015-11-02 16:03:28 -08:00 |
|
Adam Ierymenko
|
7fbe2f7adf
|
Tweak some more timings for better reliability.
|
2015-11-02 15:38:53 -08:00 |
|
Adam Ierymenko
|
60ce886605
|
Tweak some timings for better reliability.
|
2015-11-02 15:15:20 -08:00 |
|
Adam Ierymenko
|
f1b6427e63
|
Decided to make this 1.1.0 (semantic versioning increment is warranted), and add a legacy hack for older clients working with clusters.
|
2015-11-02 09:32:56 -08:00 |
|
Adam Ierymenko
|
1b4cc4af5c
|
Fix evil bug, and instrument/assert on some other stuff, and a bit of cleanup.
|
2015-10-30 15:54:40 -07:00 |
|
Adam Ierymenko
|
7382c328da
|
Null pointer bug appears fixed... testing again at large scale.
|
2015-10-30 14:23:28 -07:00 |
|
Adam Ierymenko
|
641b0dec44
|
.
|
2015-10-30 14:12:20 -07:00 |
|
Adam Ierymenko
|
2fbb5d0bbf
|
.
|
2015-10-30 14:11:45 -07:00 |
|
Adam Ierymenko
|
d8dbbf7484
|
Add some debug code in TRACE mode to catch a bug.
|
2015-10-30 14:11:10 -07:00 |
|
Adam Ierymenko
|
377ccff600
|
getPeer() had a small potential to be unsafe.
|
2015-10-30 13:39:28 -07:00 |
|
Adam Ierymenko
|
b6725c4415
|
Optimize AntiRecursion.
|
2015-10-30 11:48:33 -07:00 |
|
Adam Ierymenko
|
5bfa29dded
|
Make antirec tail len slightly shorter, better performance and still plenty long enough.
|
2015-10-30 11:09:40 -07:00 |
|
Adam Ierymenko
|
d6c0d176ee
|
Periodically re-announce peers that we have.
|
2015-10-29 10:10:09 -07:00 |
|
Adam Ierymenko
|
9f0f0197fe
|
More dead code removal.
|
2015-10-29 09:44:25 -07:00 |
|
Adam Ierymenko
|
a994573a43
|
Eliminate some more dead code. We may do path trust, but not like that.
|
2015-10-29 09:42:15 -07:00 |
|
Adam Ierymenko
|
883c84bdb9
|
Tweak some timings, and remove some dead code.
|
2015-10-29 09:39:36 -07:00 |
|
Adam Ierymenko
|
68d6d3c4ff
|
Fix bug in peer count.
|
2015-10-28 14:29:08 -07:00 |
|
Adam Ierymenko
|
0034efafe4
|
On semi-undocumented test net, assign a RFC4193 IPv6 address too. Will be useful for our at-scale tests.
|
2015-10-28 11:08:15 -07:00 |
|
Adam Ierymenko
|
0fd15d9cf3
|
Fix inverted sense bug.
|
2015-10-28 10:38:37 -07:00 |
|
Adam Ierymenko
|
938d0a970b
|
TRACE build fixes.
|
2015-10-28 10:01:32 -07:00 |
|
Adam Ierymenko
|
fdc3e103cc
|
Cleanup and docs.
|
2015-10-28 09:38:33 -07:00 |
|
Adam Ierymenko
|
c1b0329969
|
Only check IP equality to detect external surface changes (should prevent some spurious resets under symmetric NATs), and simplify some logic.
|
2015-10-28 09:32:07 -07:00 |
|
Adam Ierymenko
|
da93712846
|
Clean up PUSH_DIRECT_PATH limits a bit more and make them a bit smarter.
|
2015-10-28 09:11:30 -07:00 |
|
Adam Ierymenko
|
cdc99bfee1
|
Add a circuit breaker for VERB_PUSH_DIRECT_PATHS.
|
2015-10-27 18:18:26 -07:00 |
|
Adam Ierymenko
|
88b100e5d0
|
More cleanup.
|
2015-10-27 17:59:17 -07:00 |
|
Adam Ierymenko
|
51fcc75354
|
Some cleanup, and use getPeerNoCache() exclusively in Cluster.
|
2015-10-27 17:36:47 -07:00 |
|
Adam Ierymenko
|
4221552c0b
|
Use getPeerNoCache() in Cluster to avoid keeping all peers cached everywhere.
|
2015-10-27 16:52:44 -07:00 |
|
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 |
|