summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
AgeCommit message (Collapse)Author
2015-10-16Add rate limit on receive of DIRECT_PATH_PUSH to prevent DOS exploitation.Adam Ierymenko
2015-10-16IPv6 support fixes.Adam Ierymenko
2015-10-13World stuff...Adam Ierymenko
2015-10-07Tune NAT-t keepalives so that timing is better obeyed, clean up a build ↵Adam Ierymenko
warning, and fix a potential source of network recursion (though harmless).
2015-10-07More cleanup and simple refactoring, consolidate InetAddres ↵Adam Ierymenko
serialize/deserialize into the class.
2015-10-02change cert to com. no variable named cert.Grant Limberg
2015-10-01--bugs;Adam Ierymenko
2015-10-01.Adam Ierymenko
2015-10-01Restore group announcement on Peer::receive() but centralize packet ↵Adam Ierymenko
composition in one place.
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-09-23Eliminate compiler warning.Adam Ierymenko
2015-09-22Send a random small payload for NAT keepalives, since zero byte packets seem ↵Adam Ierymenko
to fail to keep associations alive behind some NATs.
2015-07-31Remove a bit of redundant logic, and also announce MULTICAST_LIKEs to ↵Adam Ierymenko
controllers (for future use).
2015-07-28Remove some left over debug code, and fix attempt to send to self if we are ↵Adam Ierymenko
an active bridge.
2015-07-28Nuke some abandoned code.Adam Ierymenko
2015-07-27Fix IP scoping bug, and disable remotely reported surface push... not ↵Adam Ierymenko
helping. :(
2015-07-27Push remote surface as reported by peers along with known interface direct ↵Adam Ierymenko
paths to assist with (some) NAT traversal. (trying this, may back out if not effective)
2015-07-13Add additional TRACE output in pushDirectPaths.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-13Fixes to PUSH_DIRECT_PATHS.Adam Ierymenko
2015-07-07More cleanup to direct path push, comment fixes, etc.Adam Ierymenko
2015-07-06Fix bug in direct path push send.Adam Ierymenko
2015-07-06Unix side of local interface address awareness for GitHub issue #180.Adam Ierymenko
2015-07-06Almost everything for GitHub issue #180 except direct path map setup.Adam Ierymenko
2015-07-06pushDirectPaths() implementationAdam Ierymenko
2015-07-06Some cleanup, docs, and Path -> Path > RemotePath refactor.Adam Ierymenko
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-05-06Renamed supernode to rootserverKees Bos
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-04-30Fix deadlock in SelfAwareness by deferring reconnects.Adam Ierymenko
2015-04-15Disable a few noisy TRACEs, and limit how often we confirm new paths to ↵Adam Ierymenko
avoid flooding.
2015-04-14Bunch more control plane work, and shelve old UI -- React FTW.Adam Ierymenko
2015-04-10Add some TRACE around pinging (for now), and refactor service/One to just ↵Adam Ierymenko
run in the foreground as some platforms may not require threads at all.
2015-04-10Restrict unite() to desperation==0 since NAT-t only works right now with ↵Adam Ierymenko
direct links.
2015-04-08Node peer list function for CAPI, and some Peer cleanup.Adam Ierymenko
2015-04-08Use max of core or most recent path desperation for pings.Adam Ierymenko
2015-04-07Tons of refactoring, change to desperation algorithm to use max of core or ↵Adam Ierymenko
link, porting over core loop code from old Node.cpp to new CAPI version, etc.
2015-04-07Always use HELLO to contact, and we now confirm newly learned paths via a ↵Adam Ierymenko
two-way handshake to prevent half-connects.
2015-04-07Implemented empirical determination of external addressing, paritioned per ↵Adam Ierymenko
scope.
2015-04-06build fixesAdam Ierymenko
2015-04-06Multicast group join/leave and group membership announcement.Adam Ierymenko
2015-04-03Send path simplification.Adam Ierymenko
2015-04-02The concept of link desperation (escalating to less desirable transports) ↵Adam Ierymenko
simplifies a ton of stuff. Loads of spaghetti logic can die since we no longer have to make these decisions down in the core.
2015-02-17Re-incorporation: ZeroTier Networks -> ZeroTier, Inc. [Delaware]Adam Ierymenko
2015-01-05Cleanup, add tristate to config code in Network, and happy new year!Adam Ierymenko
2014-11-20Change path selection logic to exclude non-fixed and non-active paths -- ↵Adam Ierymenko
possible fix for "NAT traversal coma" issue. Also fix a typo.
2014-10-21Simplify locking semantics some more to address a deadlock.Adam Ierymenko
2014-10-13Permanently retire peers.persist, but make iddb.d always enabled instead ↵Adam Ierymenko
since identities are what we really want to cache.