summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
AgeCommit message (Collapse)Author
2016-06-24Cleanup of 6plane stuff.Adam Ierymenko
2016-06-23IPv6 NDP emulation flag in NetworkConfig, and implement Docker-friendlyAdam Ierymenko
(and other host friendly) IPv6 /80 magic subnetting to allow massive multicast-free NDP emulated IPv6 networks where each host can have a /48 worth of IPv6 IPs for internal containers, VMs, etc. Alan Kay, thou art avenged. https://ivanovivan.wordpress.com/2010/09/13/alan-kay-quotes/
2016-05-06Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes ↵Adam Ierymenko
network controller easier to refactor.
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.
2016-04-12Brace fix...Adam Ierymenko
2016-04-12NetworkConfig refactor almost done.Adam Ierymenko
2016-04-06Tweak new RX queue algorithm to "expire" old entries to prevent always ↵Adam Ierymenko
needing to traverse the whole queue array.
2016-03-18A few other little formatting things.Adam Ierymenko
2016-03-18IndentationAdam Ierymenko
2016-03-18Refactor incoming packet (rxQueue/fragmentQueue) to eliminate variable ↵Adam Ierymenko
length queues and merge queues. This is both faster and saves memory.
2016-02-10More tweaks to new symmetric NAT buster, and stop using old iterative method ↵Adam Ierymenko
since this supersedes it.
2016-02-10Little fix to NAT-t algAdam Ierymenko
2016-01-12boring doc stuffAdam Ierymenko
2016-01-12Add a network-associated user ptr in API.Adam Ierymenko
2016-01-12Dead code removal.Adam Ierymenko
2016-01-11Check shouldUsePathForZeroTierTraffic in legacy beacon responder.Adam Ierymenko
2016-01-11Remove somewhat ugly and costly anti-recursion hack -- we will switch to ↵Adam Ierymenko
more explicit methods.
2016-01-06Close another potential anti-recursion loophole.Adam Ierymenko
2016-01-05Implement first pass on rapid dead path detection, and increment version to ↵Adam Ierymenko
1.1.3 (dev)
2015-12-21Selectively move over changes from "edge" to "dev" excluding netcon.Adam Ierymenko
2015-11-30Fix for GitHub issue #260 -- fix for (non-exploitable) crash in network ↵Adam Ierymenko
preferred relay code
2015-11-09Try bringing back TTL escalation -- may help with Docker (IP-MASQ) type NATAdam Ierymenko
2015-11-09Fix (1) a deadlock bug and (2) a bug that prevented distributed rendezvous ↵Adam Ierymenko
messages from being sent.
2015-11-09Tweak how Switch passes off to Cluster on relay to fit new paradigm.Adam Ierymenko
2015-11-06Clustering cleanup, still a work in progress.Adam Ierymenko
2015-11-06Further pare down Cluster messaging and rename some stuff.Adam Ierymenko
2015-11-06Try prioritizing cluster-send over direct send in cluster mode -- may ↵Adam Ierymenko
improve cluster relaying reliability.
2015-11-05Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers.Adam Ierymenko
2015-11-03Handle ZeroTier-RFC4193 IPv6 address NDP queries inline by spoofing ↵Adam Ierymenko
responses if the addressing scheme matches -- this allows multicast-free instant lookup of local IPv6 for better performance and reliability.
2015-11-02Make root and relay selection somewhat more robust.Adam Ierymenko
2015-11-02Tweak some more timings for better reliability.Adam Ierymenko
2015-10-27Factor out RemotePath subclass of Path -- no longer needed, just cruft.Adam Ierymenko
2015-10-27Change how cluster relays packets -- just PROXY_UNITE and then send packet ↵Adam Ierymenko
via normal ZeroTier front plane -- more efficient and eliminates fragmentation issues.
2015-10-26Fix test world def.Adam Ierymenko
2015-10-20Clustered handling of relaying.Adam Ierymenko
2015-10-19Fix bad COM attachment bug and eliminate an unnecessary redundant check.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-09-04Final std::map<> from Switch, and add some smallish default values for hash ↵Adam Ierymenko
size.
2015-09-04Almost done... very few std::map<>s remaining in any spot that matters.Adam Ierymenko
2015-09-04Remove way-overkill multimap from Switch.Adam Ierymenko
2015-09-04Starting in on Switch... kill map in defrag queue, which will probably ↵Adam Ierymenko
improve performance pretty decently under high load with lots of peers.
2015-07-28docs,cleanupAdam Ierymenko
2015-07-28Cancel NAT-t attempts if peer is no longer "alive"Adam Ierymenko
2015-07-28Revert... no luck with any of that.Adam Ierymenko
2015-07-28Play with NAT-t tweaks some more.Adam Ierymenko
2015-07-28Add TRACE for NAT-t debugging.Adam Ierymenko
2015-07-28Try another NAT traversal improvement.Adam Ierymenko