summaryrefslogtreecommitdiff
path: root/node/Node.cpp
AgeCommit message (Collapse)Author
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-12Refactor Node for new NetworkConfigAdam Ierymenko
2016-04-06Preserve add local interface address add order and send in that order since ↵Adam Ierymenko
this is a priority.
2016-02-22Fix checking of path address validity.Adam Ierymenko
2016-01-12boring doc stuffAdam Ierymenko
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.
2016-01-11Remove somewhat ugly and costly anti-recursion hack -- we will switch to ↵Adam Ierymenko
more explicit methods.
2016-01-05Implement first pass on rapid dead path detection, and increment version to ↵Adam Ierymenko
1.1.3 (dev)
2015-11-13Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, ↵Adam Ierymenko
(2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch.
2015-11-12Eliminate Windows warnings.Adam Ierymenko
2015-11-09Fix for possible high CPU usage on multicast queries.Adam Ierymenko
2015-11-06Further pare down Cluster messaging and rename some stuff.Adam Ierymenko
2015-11-05Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.Adam Ierymenko
2015-11-02Tweak some more timings for better reliability.Adam Ierymenko
2015-11-02Tweak some timings for better reliability.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-27--wtf; prevent roots from TCP fallbackAdam Ierymenko
2015-10-26More plumbing of cluster status.Adam Ierymenko
2015-10-23Clarify logic in pinging, and prevent roots from pinging "down."Adam Ierymenko
2015-10-20Cluster work -- integrating with the rest of the code.Adam Ierymenko
2015-10-19Fix for V4/V6 stable addressing.Adam Ierymenko
2015-10-16IPv6 support fixes.Adam Ierymenko
2015-10-13Don't keep connections up longer than the alive timeout (unless they are ↵Adam Ierymenko
relays or roots)
2015-10-13Expose world ID and world timestamp in ZT_NodeStatusAdam Ierymenko
2015-10-13World stuff...Adam Ierymenko
2015-10-13More World stuff, and mkworld.Adam Ierymenko
2015-10-09Circuit tests basically work but need some tweaks, and fix some issues found ↵Adam Ierymenko
with valgrind.
2015-10-09Unroll Salsa20 fully for a little more speed (non-SSE now almost as fast as SSE)Adam Ierymenko
2015-10-07Make it so ZeroTierOne.h can be used with a C compiler again.Grant Limberg
2015-10-07Trim some cruft that is not used and probably never would be.Adam Ierymenko
2015-10-06Send initial CIRCUIT_TEST packet.Adam Ierymenko
2015-10-06Plumbing through circuit test stuff.Adam Ierymenko
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-23Fix for timer jitter problem.Adam Ierymenko
2015-09-23Plumb through localInterfaceId to track local interfaces corresponding with ↵Adam Ierymenko
remote addresses.
2015-09-04Swap out std::map<> for Hashtable<> for main peer database in Topology. ↵Adam Ierymenko
(ongoing std::map-ectomy)
2015-08-25Ignore old root-topology if present -- fix for upgrading on Linux and ↵Adam Ierymenko
possibly elsewhere.
2015-07-24Fix leaving of networks to actually call Network::destroy().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-06Some cleanup, docs, and Path -> Path > RemotePath refactor.Adam Ierymenko
2015-06-29Fix semantics of std::unique() to actually remove duplicates (hidden memory ↵Adam Ierymenko
leak?)
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-22Merge branch '_networks_vector' of https://github.com/mwarning/ZeroTierOne ↵Adam Ierymenko
into adamierymenko-dev
2015-06-20use _network function to reduce source code complexityMoritz Warning