summaryrefslogtreecommitdiff
path: root/node/Node.hpp
AgeCommit message (Collapse)Author
2017-03-06Send revocations automatically on deauth for instant kill, also fix some ↵Adam Ierymenko
issues with the RP.
2017-03-03Now with less bugs.Adam Ierymenko
2017-03-01Save space in expecting-reply-to tracking.Adam Ierymenko
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-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-20Windows build fix, warning removal.Adam Ierymenko
2017-01-09Wire up VERB_USER_MESSAGE in core.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-18Wire through upstream stuff and add setRole().Adam Ierymenko
2016-11-18Remove debug.Adam Ierymenko
2016-11-18Rate gate expensive validation of new identities in HELLO.Adam Ierymenko
2016-11-10Refactor controller to permit sending of pushes as well as just replies to ↵Adam Ierymenko
config requests.
2016-09-27Clusters can send multiple OKs so we must allow this.Adam Ierymenko
2016-09-27Simply network auth logic and always sent error on auth failure even for ↵Adam Ierymenko
unknown networks to prevent forensics.
2016-09-26It now builds.Adam Ierymenko
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-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-08-24Push NETWORK_CONFIG_REFRESH on POSTs to /member/... in controller.Adam Ierymenko
2016-08-04More cleanup and removal of DeferredPackets, will do the latter in a more ↵Adam Ierymenko
elegant way.
2016-07-12Trusted path support, and version bump to 1.1.9Adam Ierymenko
2016-01-12boring doc stuffAdam Ierymenko
2016-01-12Use network user ptr in lookup for Ethernet frame handling to eliminate map ↵Adam Ierymenko
lookup.
2016-01-12Add a network-associated user ptr in API.Adam Ierymenko
2016-01-11Instead of using binary packet comparison, add a callback to the API to ↵Adam Ierymenko
explicitly check whether paths should be used. Check in with this callback (if present) when learning new paths or sending initial packets.
2015-11-09Try bringing back TTL escalation -- may help with Docker (IP-MASQ) type NATAdam Ierymenko
2015-11-05Integrate deferred background processing into main OneService implementation.Adam Ierymenko
2015-11-05Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.Adam Ierymenko
2015-10-29Eliminate some more dead code. We may do path trust, but not like that.Adam Ierymenko
2015-10-27Factor out RemotePath subclass of Path -- no longer needed, just cruft.Adam Ierymenko
2015-10-26More plumbing of cluster status.Adam Ierymenko
2015-10-20Cluster work -- integrating with the rest of the code.Adam Ierymenko
2015-10-13More World stuff, and mkworld.Adam Ierymenko
2015-10-07Trim some cruft that is not used and probably never would be.Adam Ierymenko
2015-10-06Plumbing through circuit test stuff.Adam Ierymenko
2015-10-01Refactor: move network COMs out of Network and into Peer in prep for ↵Adam Ierymenko
tightening up multicast lookup and other things.
2015-09-24(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local ↵Adam Ierymenko
interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
2015-09-23Plumb through localInterfaceId to track local interfaces corresponding with ↵Adam Ierymenko
remote addresses.
2015-07-31Dead code removal.Adam Ierymenko
2015-07-13Clean up some YAGNI issues with implementation of GitHub issue #180, and ↵Adam Ierymenko
make best path choice aware of path rank.
2015-07-07Save a little bit of RAM by getting rid of overkill CMWC4096 non-crypto PRNG ↵Adam Ierymenko
and replacing it with a simple non-crypto PRNG that just uses Salsa20.
2015-07-07A bunch of comments and cleanup, including some to yesterday's direct path ↵Adam Ierymenko
pushing changes. Move path viability check to one place, and stop trying to use link-local addresses since they are not reliable.
2015-07-06Plumbing for local interface addresses -- GitHub issue #180Adam Ierymenko
2015-07-06Almost everything for GitHub issue #180 except direct path map setup.Adam Ierymenko
2015-07-06Almost all of GitHub issue #180Adam Ierymenko
2015-06-26Redo conversion of _networks to a vector. Just use a simple linear search ↵Adam Ierymenko
and put the nwid in a pair with the pointer so linear search can be done without pointer chasing. This should be the fastest option for anything less than dozens of networks, and should save memory over the old map.
2015-06-20use _network function to reduce source code complexityMoritz Warning