summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
AgeCommit message (Collapse)Author
2017-02-01Eliminate another check in cluster frontplane mode.Adam Ierymenko
2017-02-01Add more specific check in source==self case instead of dumping it.Adam Ierymenko
2017-02-01Yeah that could never have worked (normal packets in cluster mode).Adam Ierymenko
2017-02-01Another tweak to cluster I/O rules.Adam Ierymenko
2017-02-01Take 3Adam Ierymenko
2017-02-01Still want to send WANT_PEER under two failure modes.Adam Ierymenko
2017-02-01Can't armor() a packet until all flags are set.Adam Ierymenko
2017-02-01Minor send path refactor to make packet I/O work on clusters if they are ↵Adam Ierymenko
members of networks. Also fix a crash if compiled in cluster mode but no cluster is enabled.
2017-01-27Relay policy can now be computed.Adam Ierymenko
2017-01-27Replace piecemeal designation of upstreams with the concept of moons, which ↵Adam Ierymenko
is simpler and easier to use and inherits all the cool live update stuff of worlds (now called planets) and global roots.
2016-11-22Wire through external path lookup. Static paths should now work.Adam Ierymenko
2016-11-22Replace long callback arg list with struct, and implement path whitelisting, ↵Adam Ierymenko
path blacklisting, and local.conf support for roles.
2016-11-17Modify unite() to deal with a second layer of upstreams.Adam Ierymenko
2016-11-17Rename getBestRoot() etc.Adam Ierymenko
2016-10-05Go ahead and loop back packets whose destination is self. Some OSes require ↵Adam Ierymenko
this since they aactually follow the full network path even for local IPs.
2016-09-28Check multicast limit on send after NDP emulation code.Adam Ierymenko
2016-09-27Cleanup, and implement compression disable flag for networks.Adam Ierymenko
2016-09-20Refactor COM stuff a bit, and respond to COM requests a bit more readily for ↵Adam Ierymenko
rapid setup. Will need to revisit later.
2016-09-13Implement relay policy, and setting multicast limit to 0 now disables ↵Adam Ierymenko
multicast on the network as would be expected.
2016-09-09Fix gating of multicast GATHER replies since these can come from upstream, ↵Adam Ierymenko
etc., and fix an issue with sending ECHO to recheck marginal paths.
2016-09-09More refactoring to clean up code, and add a gate function to make sure we ↵Adam Ierymenko
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.
2016-09-07Bunch more path refactoring. Peers no longer forget paths, but do not ↵Adam Ierymenko
normally use expired paths. Expired paths might still be tried if nothing else is reachable.
2016-09-02Remove debug line.Adam Ierymenko
2016-09-02Attempt to reactivate dead paths.Adam Ierymenko
2016-09-02Tweaks to path handling...Adam Ierymenko
2016-09-02Rest of big Path canonicalization refactor.Adam Ierymenko
2016-09-01Work in progress: Path canonicalization refactor.Adam Ierymenko
2016-09-01.Adam Ierymenko
2016-08-31Think through and refine a few things in rules, especially edge case TEE and ↵Adam Ierymenko
REDIRECT behavior and semantics.
2016-08-24Harden PUSH_DIRECT_PATHS and simplify things by only doing it on receive ↵Adam Ierymenko
when hops>0 and trust has been established.
2016-08-24It basically works... at least on current controllers.Adam Ierymenko
2016-08-09More cleanup and removal of cruft due to obsolete network-specific relays ↵Adam Ierymenko
(will be replaced with federation stuff).
2016-08-08It builds... almost ready to test some rules engine stuff.Adam Ierymenko
2016-08-04More cleanup and removal of DeferredPackets, will do the latter in a more ↵Adam Ierymenko
elegant way.
2016-08-02Kill network preferred relays -- this feature is gone (and was seldom used ↵Adam Ierymenko
anyway) in favor of federation.
2016-07-25Integration of Filter into inbound and outbound packet path.Adam Ierymenko
2016-07-12Trusted path support, and version bump to 1.1.9Adam Ierymenko
2016-06-24.Adam Ierymenko
2016-06-24Cleanup of 6plane stuff.Adam Ierymenko
2016-06-23IPv6 NDP emulation flag in NetworkConfig, and implement Docker-friendlyAdam Ierymenko
(and other host friendly) IPv6 /80 magic subnetting to allow massive multicast-free NDP emulated IPv6 networks where each host can have a /48 worth of IPv6 IPs for internal containers, VMs, etc. Alan Kay, thou art avenged. https://ivanovivan.wordpress.com/2010/09/13/alan-kay-quotes/
2016-05-06Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes ↵Adam Ierymenko
network controller easier to refactor.
2016-04-26Bunch more refactoring for an even more compact NetworkConfig ↵Adam Ierymenko
representation, especially rules.
2016-04-19Cleanup in numerous places, reduce network chattiness around MULTICAST_LIKE, ↵Adam Ierymenko
and fix a "how was that working" latent bug causing some control traffic to take the scenic route.
2016-04-12Brace fix...Adam Ierymenko
2016-04-12NetworkConfig refactor almost done.Adam Ierymenko
2016-04-06Tweak new RX queue algorithm to "expire" old entries to prevent always ↵Adam Ierymenko
needing to traverse the whole queue array.
2016-03-18A few other little formatting things.Adam Ierymenko
2016-03-18IndentationAdam Ierymenko
2016-03-18Refactor incoming packet (rxQueue/fragmentQueue) to eliminate variable ↵Adam Ierymenko
length queues and merge queues. This is both faster and saves memory.
2016-02-10More tweaks to new symmetric NAT buster, and stop using old iterative method ↵Adam Ierymenko
since this supersedes it.