Adam Ierymenko
|
9617208e40
|
Some cleanup, and use VERB_PUSH_DIRECT_PATHS to redirect newer peers.
|
11 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.
|
11 years ago |
Adam Ierymenko
|
e713f7a54c
|
Can redirect in response to a few more verbs, just not these.
|
11 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.
|
11 years ago |
Adam Ierymenko
|
8bfb02ba3c
|
Only send redirects for the same address class, and elminiate some TRACE noise.
|
11 years ago |
Adam Ierymenko
|
0b82c9ebad
|
Fix infinite loop if there are no live roots (never happened before?!? wow!)
|
11 years ago |
Adam Ierymenko
|
de761c5a82
|
Fix test world def.
|
11 years ago |
Adam Ierymenko
|
6cf1da166f
|
Add the whole new World, though with test identities at this point.
|
11 years ago |
Adam Ierymenko
|
debed1ac2d
|
Expose cluster status in /status JSON response.
|
11 years ago |
Adam Ierymenko
|
5ff7733f84
|
More plumbing of cluster status.
|
11 years ago |
Adam Ierymenko
|
865acfa40f
|
Cluster status plumbing.
|
11 years ago |
Adam Ierymenko
|
3ce5ad9e2c
|
For forward compatibility, add minimal parse for some future physical address types.
|
11 years ago |
Adam Ierymenko
|
d2b1dfe424
|
Fully specify new network in alice-test, this will (with different identities) eventually become the World.
|
11 years ago |
Adam Ierymenko
|
35676217e8
|
Refactor multicast group announcement to work directly or indirectly.
|
11 years ago |
Adam Ierymenko
|
e9648a6cdf
|
Clarify logic in pinging, and prevent roots from pinging "down."
|
11 years ago |
Adam Ierymenko
|
e6a63f5547
|
Fix bug in setWorld that might have caused a peer entry for myself (which would never be used)
|
11 years ago |
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.
|
11 years ago |
Adam Ierymenko
|
964b30902a
|
Cluster fix: was accumulating remote endpoints endlessly.
|
11 years ago |
Adam Ierymenko
|
7711eba297
|
More cluster wiring...
|
11 years ago |
Adam Ierymenko
|
978b056a01
|
Wire in redirectPeer(), now about ready to test clustering!
|
11 years ago |
Adam Ierymenko
|
6a7b47e5e1
|
Forgot a return true.
|
11 years ago |
Adam Ierymenko
|
d6dee7bb5c
|
Clustered handling of relaying.
|
11 years ago |
Adam Ierymenko
|
35a12b94ea
|
Outfit Cluster with TRACE for debugging.
|
11 years ago |
Adam Ierymenko
|
2258e36a59
|
Move replication of COMs to avoid race condition.
|
11 years ago |
Adam Ierymenko
|
59e1444b27
|
Finish wiring up Cluster, fix some issues with other recent changes.
|
11 years ago |
Adam Ierymenko
|
eb79d4a2f3
|
Wire up peer announcement in cluster.
|
11 years ago |
Adam Ierymenko
|
57e29857cf
|
Cluster work -- integrating with the rest of the code.
|
11 years ago |
Adam Ierymenko
|
5e6eae620b
|
Make _members dynamically allocated due to static array limit on ARM.
|
11 years ago |
Adam Ierymenko
|
69dad37d8f
|
Restore default World for commit to upstream
|
11 years ago |
Adam Ierymenko
|
cfdcce6d12
|
Fix very obscure IP scope classification logic bug.
|
11 years ago |
Adam Ierymenko
|
0b2e5ed499
|
Fix some broken logic in Path::reliable()
|
11 years ago |
Adam Ierymenko
|
9150778757
|
.
|
11 years ago |
Adam Ierymenko
|
50f3ccd3c9
|
.
|
11 years ago |
Adam Ierymenko
|
584072fa6a
|
Fix for V4/V6 stable addressing.
|
11 years ago |
Adam Ierymenko
|
3adb183c5f
|
Fix bad COM attachment bug and eliminate an unnecessary redundant check.
|
11 years ago |
Adam Ierymenko
|
95953b48f9
|
Do not allow VERB_RENDEZVOUS from non-upstream peers to block potential DOS vector.
|
11 years ago |
Adam Ierymenko
|
aa6e3c79a0
|
Some test stuff that will not be pushed elsewhere.
|
11 years ago |
Adam Ierymenko
|
738fa5a5e5
|
.
|
11 years ago |
Adam Ierymenko
|
cc4d0199e7
|
Fix vProto init.
|
11 years ago |
Adam Ierymenko
|
781f06ef82
|
Accept OK for confirm of HELLO or ECHO.
|
11 years ago |
Adam Ierymenko
|
f9f60f89d9
|
Peer save/restore fix.
|
11 years ago |
Adam Ierymenko
|
5ce3aac929
|
Add rate limit on receive of DIRECT_PATH_PUSH to prevent DOS exploitation.
|
11 years ago |
Adam Ierymenko
|
2229e91b57
|
IPv6 support fixes.
|
11 years ago |
Adam Ierymenko
|
2debde3451
|
GitHub issue #235, and I also see no reason not to communicate with people from other Worlds.
|
11 years ago |
Adam Ierymenko
|
9ece8c465e
|
decrypt fix
|
11 years ago |
Adam Ierymenko
|
59389b3dce
|
Untested cluster code, not enabled.
|
11 years ago |
Adam Ierymenko
|
619e113748
|
Work in progress on Cluster for new root infrastructure, multi-homing.
|
11 years ago |
Adam Ierymenko
|
c312ae221f
|
Fix for world size in OK(HELLO)
|
11 years ago |
Adam Ierymenko
|
719233617c
|
Add uint16_t key to Hashtable, and make Salsa20 zero its keyspace on destruction.
|
11 years ago |
Adam Ierymenko
|
489e1a5b83
|
Don't keep connections up longer than the alive timeout (unless they are relays or roots)
|
11 years ago |