Adam Ierymenko
|
d3524f3609
Refactor COM stuff a bit, and respond to COM requests a bit more readily for rapid setup. Will need to revisit later.
|
9 years ago |
Adam Ierymenko
|
5b6d27e659
Implement relay policy, and setting multicast limit to 0 now disables multicast on the network as would be expected.
|
9 years ago |
Adam Ierymenko
|
ab9afbc749
(1) Public networks now get COMs even though they do not gate with them since they will need them to push auth for multicast stuff, (2) added a bunch of rate limit circuit breakers for anti-DOS, (3) cleanup.
|
9 years ago |
Adam Ierymenko
|
0d4109a9f1
More refactoring to clean up code, and add a gate function to make sure we do not handle OK packets we did not expect. This hardens up a few potential edge cases around security, since such messages might be used to e.g. pollute a cache and DOS under certain conditions.
|
9 years ago |
Adam Ierymenko
|
16df2c3363
Clean up handling of COMs, network access control, and fix a backward compatiblity issue.
|
9 years ago |
Adam Ierymenko
|
1908aa55f5
Refactor MULTICAST_LIKE pushing to eliminate redundant and unnecessary pushes and simplify code.
|
9 years ago |
Adam Ierymenko
|
b5c86b6ba4
Bunch more path refactoring. Peers no longer forget paths, but do not normally use expired paths. Expired paths might still be tried if nothing else is reachable.
|
9 years ago |
Adam Ierymenko
|
eebcf08084
Tweaks to new Path code for dual-stack operation, and other fixes.
|
9 years ago |
Adam Ierymenko
|
4f8253dcdb
Tweaks to path handling...
|
9 years ago |
Adam Ierymenko
|
e8f6b4b5d3
Rest of big Path canonicalization refactor.
|
9 years ago |
Adam Ierymenko
|
ccea3d04d6
Push NETWORK_CONFIG_REFRESH on POSTs to /member/... in controller.
|
9 years ago |
Adam Ierymenko
|
e1310a764a
More cleanup and removal of cruft due to obsolete network-specific relays (will be replaced with federation stuff).
|
9 years ago |
Adam Ierymenko
|
98152d974a
More cleanup and removal of DeferredPackets, will do the latter in a more elegant way.
|
9 years ago |
Adam Ierymenko
|
91940cbcf5
Kill network preferred relays -- this feature is gone (and was seldom used anyway) in favor of federation.
|
9 years ago |
Adam Ierymenko
|
9657675755
Plumbing through trusted path stuff to OneService.
|
9 years ago |
Adam Ierymenko
|
765082fdb6
Trusted path support, and version bump to 1.1.9
|
9 years ago |
Adam Ierymenko
|
8b9519f0af
Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes network controller easier to refactor.
|
9 years ago |
Adam Ierymenko
|
7913fa7bbd
Dead code removal.
|
9 years ago |
Adam Ierymenko
|
b9dba97fdb
Bunch more refactoring for an even more compact NetworkConfig representation, especially rules.
|
9 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.
|
9 years ago |
Adam Ierymenko
|
bbd9915056
Refactor Node for new NetworkConfig
|
9 years ago |
Adam Ierymenko
|
8ef78e7e7d
Preserve add local interface address add order and send in that order since this is a priority.
|
9 years ago |
Adam Ierymenko
|
c7c61b4ac0
Fix checking of path address validity.
|
9 years ago |
Adam Ierymenko
|
4e4fd51117
boring doc stuff
|
9 years ago |
Adam Ierymenko
|
83ef98a9dc
Add a network-associated user ptr in API.
|
9 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.
|
9 years ago |
Adam Ierymenko
|
1023ef23b7
Remove somewhat ugly and costly anti-recursion hack -- we will switch to more explicit methods.
|
9 years ago |
Adam Ierymenko
|
d8143a5e18
Implement first pass on rapid dead path detection, and increment version to 1.1.3 (dev)
|
9 years ago |
Adam Ierymenko
|
0d9f33dc4f
Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch.
|
9 years ago |
Adam Ierymenko
|
ccae473783
Eliminate Windows warnings.
|
9 years ago |