summaryrefslogtreecommitdiff
path: root/node/Node.cpp
AgeCommit message (Collapse)Author
2017-04-17Enable use of NaCl for faster X64 Salsa20 implementations. Also include ↵Adam Ierymenko
binary for OSX for easy build. Blazingly fast.
2017-04-14Significant simplification to path logic.Adam Ierymenko
2017-04-11Pass tptr on leave.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-06Send revocations automatically on deauth for instant kill, also fix some ↵Adam Ierymenko
issues with the RP.
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-13Integrate moon concept into http config bus, and clean up that code quite a bit.Adam Ierymenko
2017-02-13Cleanup and make moons (federated roots) a little easier to deal with.Adam Ierymenko
2017-02-05Docs, code cleanup, and protect the extra new fields of HELLO with ↵Adam Ierymenko
encryption as a precaution.
2017-01-27Fix deadlock.Adam Ierymenko
2017-01-27Fix moon persistence.Adam Ierymenko
2017-01-27Add comments to join ("orbit") moons.Adam Ierymenko
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.
2017-01-11Can't send a user message to self.Adam Ierymenko
2017-01-09Wire up VERB_USER_MESSAGE in core.Adam Ierymenko
2016-12-05Minor security: lock roots to only be reachable via World IPs.Adam Ierymenko
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-21Fix a deadlock in federation/upstream code.Adam Ierymenko
2016-11-21Expose relay policy in node settings.Adam Ierymenko
2016-11-18Wire through upstream stuff and add setRole().Adam Ierymenko
2016-11-18Rate gate expensive validation of new identities in HELLO.Adam Ierymenko
2016-11-17Rename getBestRoot() etc.Adam Ierymenko
2016-11-10Small fix to send pushes if not a reply.Adam Ierymenko
2016-11-10Refactor controller to permit sending of pushes as well as just replies to ↵Adam Ierymenko
config requests.
2016-11-09Keep connections up for netconf stuff as well as frames.Adam Ierymenko
2016-09-26It now builds.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-09(1) Public networks now get COMs even though they do not gate with them ↵Adam Ierymenko
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.
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-08Clean up handling of COMs, network access control, and fix a backward ↵Adam Ierymenko
compatiblity issue.
2016-09-07Refactor MULTICAST_LIKE pushing to eliminate redundant and unnecessary ↵Adam Ierymenko
pushes and simplify code.
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-03Tweaks to new Path code for dual-stack operation, and other fixes.Adam Ierymenko
2016-09-02Tweaks to path handling...Adam Ierymenko
2016-09-02Rest of big Path canonicalization refactor.Adam Ierymenko
2016-08-24Push NETWORK_CONFIG_REFRESH on POSTs to /member/... in controller.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-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-12Plumbing through trusted path stuff to OneService.Adam Ierymenko
2016-07-12Trusted path support, and version bump to 1.1.9Adam Ierymenko
2016-05-06Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes ↵Adam Ierymenko
network controller easier to refactor.
2016-05-06Dead code removal.Adam Ierymenko
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.