Adam Ierymenko
|
19735e7050
|
Revert backgrounding of controller requests hack. Controller code is not really parallel anyway and we fixed the perf problem.
|
10 years ago |
Adam Ierymenko
|
45f315e603
|
Defer NETWORK_CONFIG_REQUEST packets and allow multithreaded processing.
|
10 years ago |
Adam Ierymenko
|
674b84d908
|
Plumbing for network setting control, and GitHub issue #330
|
10 years ago |
Adam Ierymenko
|
b2d048aa0e
|
Make Dictionary templatable so it can be used where we want a higher capacity.
|
10 years ago |
Adam Ierymenko
|
e09c1a1c11
|
Big refactor mostly builds. We now have a uniform backward compatible netconf.
|
10 years ago |
Grant Limberg
|
de1b745988
|
comment out a few TRACE messages that don't compile
|
10 years ago |
Adam Ierymenko
|
548730660b
|
Ready to test whole new netconf refactor.
|
10 years ago |
Adam Ierymenko
|
8b9519f0af
|
Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes network controller easier to refactor.
|
10 years ago |
Adam Ierymenko
|
90e1262a8b
|
More refactoring to remove old Dictionary dependencies.
|
10 years ago |
Adam Ierymenko
|
368efaa2ba
|
Kill some old debug code.
|
10 years ago |
Adam Ierymenko
|
2f18a92e20
|
Cleanup in numerous places, reduce network chattiness around MULTICAST_LIKE, and fix a "how was that working" latent bug causing some control traffic to take the scenic route.
|
10 years ago |
Adam Ierymenko
|
4c455876f9
|
Revise peer path weighting to always prioritize cluster-optimal paths.
|
10 years ago |
Adam Ierymenko
|
cecfa99b7b
|
(1) cluster members send a flag indicating that a PUSH_DIRECT_PATHS is a cluster redirect, (2) 1.1.5 uses this to avoid a bug (this bug does not exist in 1.1.4)
|
10 years ago |
Adam Ierymenko
|
ad1e83d8b9
|
Refactor IncomingPacket for new NetworkConfig
|
10 years ago |
Adam Ierymenko
|
fe3a84a422
|
Fix problems with previous commit.
|
10 years ago |
Adam Ierymenko
|
7b5c1696eb
|
Fix a CIRCUIT_TEST bug in forwarding of tests along hop paths on private networks. Unfortunately this means full circuit testing for private nets will need an upgrade. :(
|
10 years ago |
Adam Ierymenko
|
c7c61b4ac0
|
Fix checking of path address validity.
|
10 years ago |
Adam Ierymenko
|
43fff1a87e
|
Deprecate reporting of local clock in circuit tests since a small number of users might have security problems with this.
|
10 years ago |
Adam Ierymenko
|
2aa7138373
|
Reduce direct ping delay back to 1m and make SelfAwareness aware of local received-on address to eliminate false symmetric classification.
|
10 years ago |
Adam Ierymenko
|
4e4fd51117
|
boring doc stuff
|
10 years ago |
Adam Ierymenko
|
83ef98a9dc
|
Add a network-associated user ptr in API.
|
10 years ago |
Adam Ierymenko
|
b3e3d4cacc
|
Instead of using binary packet comparison, add a callback to the API to explicitly check whether paths should be used. Check in with this callback (if present) when learning new paths or sending initial packets.
|
10 years ago |
Adam Ierymenko
|
1023ef23b7
|
Remove somewhat ugly and costly anti-recursion hack -- we will switch to more explicit methods.
|
10 years ago |
Adam Ierymenko
|
a56fbc1929
|
Close another potential anti-recursion loophole.
|
10 years ago |
Adam Ierymenko
|
d8143a5e18
|
Implement first pass on rapid dead path detection, and increment version to 1.1.3 (dev)
|
10 years ago |
Adam Ierymenko
|
436c1fac1d
|
Selectively move over changes from "edge" to "dev" excluding netcon.
|
10 years ago |
Adam Ierymenko
|
2160164e8c
|
(1) Get rid of path sorting and just scan them, since sorting may have been a premature optimization that introduced a regression and path instability in a few edge cases, and (2) do not attempt to contact remote paths received via PUSH_DIRECT_PATH if we already have that path and it is already active (dumb, should have done this originally)
|
10 years ago |
Adam Ierymenko
|
82aa3f59d6
|
Fix bug in ECHO handling (OK was invalid!), and use ECHO on newer peers for path confirmation. Also get rid of path confirmation circuit breaker since this causes issues with some peers and should be done more intelligently anyway.
|
10 years ago |
Adam Ierymenko
|
94f4316a0e
|
Fix for possible high CPU usage on multicast queries.
|
11 years ago |
Adam Ierymenko
|
57b71bfff0
|
Cluster simplification and refactor work in progress...
|
11 years ago |
Adam Ierymenko
|
5f39d5b7ea
|
Further pare down Cluster messaging and rename some stuff.
|
11 years ago |
Adam Ierymenko
|
8ef4edebbf
|
Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.
|
11 years ago |
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.
|
11 years ago |
Adam Ierymenko
|
938d0a970b
|
TRACE build fixes.
|
11 years ago |
Adam Ierymenko
|
da93712846
|
Clean up PUSH_DIRECT_PATH limits a bit more and make them a bit smarter.
|
11 years ago |
Adam Ierymenko
|
cdc99bfee1
|
Add a circuit breaker for VERB_PUSH_DIRECT_PATHS.
|
11 years ago |
Adam Ierymenko
|
88b100e5d0
|
More cleanup.
|
11 years ago |
Adam Ierymenko
|
16bc3e0398
|
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
|
11 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)
|
11 years ago |
Adam Ierymenko
|
54a99d8e32
|
Well that was broken.
|
11 years ago |
Adam Ierymenko
|
700c3166b7
|
Fix inverted sense bug.
|
11 years ago |
Adam Ierymenko
|
9617208e40
|
Some cleanup, and use VERB_PUSH_DIRECT_PATHS to redirect newer peers.
|
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
|
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
|
5ce3aac929
|
Add rate limit on receive of DIRECT_PATH_PUSH to prevent DOS exploitation.
|
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 |