Adam Ierymenko
|
5e11cf6378
Can't armor() a packet until all flags are set.
|
8 سال پیش |
Adam Ierymenko
|
5dbebc513a
Minor send path refactor to make packet I/O work on clusters if they are members of networks. Also fix a crash if compiled in cluster mode but no cluster is enabled.
|
8 سال پیش |
Adam Ierymenko
|
0b3b994241
Relay policy can now be computed.
|
8 سال پیش |
Adam Ierymenko
|
64774d0d4f
Replace piecemeal designation of upstreams with the concept of moons, which is simpler and easier to use and inherits all the cool live update stuff of worlds (now called planets) and global roots.
|
8 سال پیش |
Adam Ierymenko
|
84732fcb12
Wire through external path lookup. Static paths should now work.
|
9 سال پیش |
Adam Ierymenko
|
42ba70e79e
Replace long callback arg list with struct, and implement path whitelisting, path blacklisting, and local.conf support for roles.
|
9 سال پیش |
Adam Ierymenko
|
39333c9e8e
Modify unite() to deal with a second layer of upstreams.
|
9 سال پیش |
Adam Ierymenko
|
1615ef1114
Rename getBestRoot() etc.
|
9 سال پیش |
Adam Ierymenko
|
d5f4d381d0
Go ahead and loop back packets whose destination is self. Some OSes require this since they aactually follow the full network path even for local IPs.
|
9 سال پیش |
Adam Ierymenko
|
e1fbf7b34c
Check multicast limit on send after NDP emulation code.
|
9 سال پیش |
Adam Ierymenko
|
cc4bacc199
Cleanup, and implement compression disable flag for networks.
|
9 سال پیش |
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 سال پیش |
Adam Ierymenko
|
5b6d27e659
Implement relay policy, and setting multicast limit to 0 now disables multicast on the network as would be expected.
|
9 سال پیش |
Adam Ierymenko
|
ef87069957
Fix gating of multicast GATHER replies since these can come from upstream, etc., and fix an issue with sending ECHO to recheck marginal paths.
|
9 سال پیش |
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 سال پیش |
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 سال پیش |
Adam Ierymenko
|
01aa469591
Remove debug line.
|
9 سال پیش |
Adam Ierymenko
|
412979ba8f
Attempt to reactivate dead paths.
|
9 سال پیش |
Adam Ierymenko
|
4f8253dcdb
Tweaks to path handling...
|
9 سال پیش |
Adam Ierymenko
|
e8f6b4b5d3
Rest of big Path canonicalization refactor.
|
9 سال پیش |
Adam Ierymenko
|
a3bdae9735
Work in progress: Path canonicalization refactor.
|
9 سال پیش |
Adam Ierymenko
|
d5e6f59004
.
|
9 سال پیش |
Adam Ierymenko
|
74afef8eb1
Think through and refine a few things in rules, especially edge case TEE and REDIRECT behavior and semantics.
|
9 سال پیش |
Adam Ierymenko
|
c476285bd6
Harden PUSH_DIRECT_PATHS and simplify things by only doing it on receive when hops>0 and trust has been established.
|
9 سال پیش |
Adam Ierymenko
|
2cdda38dc4
It basically works... at least on current controllers.
|
9 سال پیش |
Adam Ierymenko
|
e1310a764a
More cleanup and removal of cruft due to obsolete network-specific relays (will be replaced with federation stuff).
|
9 سال پیش |
Adam Ierymenko
|
00fd9c3a15
It builds... almost ready to test some rules engine stuff.
|
9 سال پیش |
Adam Ierymenko
|
98152d974a
More cleanup and removal of DeferredPackets, will do the latter in a more elegant way.
|
9 سال پیش |
Adam Ierymenko
|
91940cbcf5
Kill network preferred relays -- this feature is gone (and was seldom used anyway) in favor of federation.
|
9 سال پیش |
Adam Ierymenko
|
7404eb46c4
Integration of Filter into inbound and outbound packet path.
|
9 سال پیش |