summaryrefslogtreecommitdiff
path: root/node/Node.cpp
AgeCommit message (Collapse)Author
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
2015-06-20replace _networks map by vectorMoritz Warning
_networks is usually quite small, using binary search on a vector might be faster comapred to std::map. This is especially true when using uClibc++, which uses a list.
2015-06-19Root server terminology cleanup, and tighten up a security check by checking ↵Adam Ierymenko
full identity of peers instead of just address.
2015-06-01docsAdam Ierymenko
2015-06-01Fix to GitHub issue #140 -- network preferred relays. Also go ahead and ↵Adam Ierymenko
allow RENDEZVOUS from regular peers.
2015-06-01Call it _relays since there might be other kinds later.Adam Ierymenko
2015-06-01Always ping / contact network preferred relays (if any).Adam Ierymenko
2015-05-22TCP fallback tunneling is now working. That hurt more than expected.Adam Ierymenko
2015-05-21Completely factor out "desperation" from the core. I thought of a ↵Adam Ierymenko
significantly simpler way to move all of this logic entirely into the containing service, liberating the core from any concern over the nature of its pipe to the outside world.
2015-05-20Apple auto-update stuff, now for Windows.Adam Ierymenko