summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
AgeCommit message (Collapse)Author
2016-11-17Modify unite() to deal with a second layer of upstreams.Adam Ierymenko
2016-11-17Rename getBestRoot() etc.Adam Ierymenko
2016-10-05Go ahead and loop back packets whose destination is self. Some OSes require ↵Adam Ierymenko
this since they aactually follow the full network path even for local IPs.
2016-09-28Check multicast limit on send after NDP emulation code.Adam Ierymenko
2016-09-27Cleanup, and implement compression disable flag for networks.Adam Ierymenko
2016-09-20Refactor COM stuff a bit, and respond to COM requests a bit more readily for ↵Adam Ierymenko
rapid setup. Will need to revisit later.
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-09Fix gating of multicast GATHER replies since these can come from upstream, ↵Adam Ierymenko
etc., and fix an issue with sending ECHO to recheck marginal paths.
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-09-07Bunch more path refactoring. Peers no longer forget paths, but do not ↵Adam Ierymenko
normally use expired paths. Expired paths might still be tried if nothing else is reachable.
2016-09-02Remove debug line.Adam Ierymenko
2016-09-02Attempt to reactivate dead paths.Adam Ierymenko
2016-09-02Tweaks to path handling...Adam Ierymenko
2016-09-02Rest of big Path canonicalization refactor.Adam Ierymenko
2016-09-01Work in progress: Path canonicalization refactor.Adam Ierymenko
2016-09-01.Adam Ierymenko
2016-08-31Think through and refine a few things in rules, especially edge case TEE and ↵Adam Ierymenko
REDIRECT behavior and semantics.
2016-08-24Harden PUSH_DIRECT_PATHS and simplify things by only doing it on receive ↵Adam Ierymenko
when hops>0 and trust has been established.
2016-08-24It basically works... at least on current controllers.Adam Ierymenko
2016-08-09More cleanup and removal of cruft due to obsolete network-specific relays ↵Adam Ierymenko
(will be replaced with federation stuff).
2016-08-08It builds... almost ready to test some rules engine stuff.Adam Ierymenko
2016-08-04More cleanup and removal of DeferredPackets, will do the latter in a more ↵Adam Ierymenko
elegant way.
2016-08-02Kill network preferred relays -- this feature is gone (and was seldom used ↵Adam Ierymenko
anyway) in favor of federation.
2016-07-25Integration of Filter into inbound and outbound packet path.Adam Ierymenko
2016-07-12Trusted path support, and version bump to 1.1.9Adam Ierymenko
2016-06-24.Adam Ierymenko
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.