summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
AgeCommit message (Collapse)Author
2017-04-27License header update.Adam Ierymenko
2017-03-27Fix TRACE and CLUSTER builds.Adam Ierymenko
2017-03-27Add thread PTR that gets passed through the entire ZT core call stack and ↵Adam Ierymenko
then passed to handler functions resulting from a call.
2017-03-17Fix attempt to WHOIS self.Adam Ierymenko
2017-03-10Tweak WHOIS path for federation.Adam Ierymenko
2017-03-01ZeroTier now has link quality measurement. We are not using this yet but ↵Adam Ierymenko
decided to put it in to prep for future QoS support and SD-WAN stuff.
2017-03-01Outgoing side of packet counter for link quality reporting. Also some ↵Adam Ierymenko
cleanup and a cluster mode build fix.
2017-02-05Docs, code cleanup, and protect the extra new fields of HELLO with ↵Adam Ierymenko
encryption as a precaution.
2017-02-04A bit of code cleanup.Adam Ierymenko
2017-02-04Eliminate a little copypasta.Adam Ierymenko
2017-02-03Slight refactor to RENEDEZVOUS sending code for federation.Adam Ierymenko
2017-02-01agree() must be called on our identity, the one with the secretAdam Ierymenko
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