summaryrefslogtreecommitdiff
path: root/node/Multicaster.cpp
AgeCommit message (Collapse)Author
2016-05-06Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes ↵Adam Ierymenko
network controller easier to refactor.
2016-04-12NetworkConfig refactor almost done.Adam Ierymenko
2016-01-12boring doc stuffAdam Ierymenko
2015-11-10Query both root and network controller for multicast last resort GATHER.Adam Ierymenko
2015-11-09Ready to test.Adam Ierymenko
2015-11-02Tweak some timings for better reliability.Adam Ierymenko
2015-10-27Factor out RemotePath subclass of Path -- no longer needed, just cruft.Adam Ierymenko
2015-10-27Don't include COM if not necessary (fix).Adam Ierymenko
2015-10-01.Adam Ierymenko
2015-10-01Need to hold nconf so *com does not die while being used.Adam Ierymenko
2015-10-01Send COM with MULTICAST_GATHER for future use.Adam Ierymenko
2015-08-27Integrate Hashtable into Multicaster, where @mwarning found heaviest ↵Adam Ierymenko
std::map() overhead.
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-07Implement ERROR_UNWATNED_MULTICASTAdam Ierymenko
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-06-26Put multicast txQueue back to list.Adam Ierymenko
2015-06-23replace vector::erase, was missed in a previous commit (ref #186)Moritz Warning
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-18Merge pull request #186 from mwarning/txQueue_vectorAdam Ierymenko
replace txQueue list by vector for faster memory access and less allo…
2015-06-19replace txQueue list by vector for faster memory access and less allocationsMoritz Warning
2015-05-06Renamed supernode to rootserverKees Bos
2015-04-08Remove Logger.hpp references.Adam Ierymenko
2015-04-06Check for subscribed multicast groups should be able to check groups bridged ↵Adam Ierymenko
behind me.
2015-04-06More build fixes, and attic/ some stuff.Adam Ierymenko
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-12-02Windows Visual Studio meaningless-warning-ectomy.Adam Ierymenko
2014-11-26Remove more legacy code -- just doing the supernode redist for old multicast ↵Adam Ierymenko
is now good enough given the small number of legacy nodes left.
2014-11-26cleanup and docsAdam Ierymenko
2014-11-26docs and cleanupAdam Ierymenko
2014-11-25Add ZT_SUPPORT_LEGACY_MULTICAST ifdef to enable the legacy code to all be ↵Adam Ierymenko
toggled.
2014-11-24Re-enable legacy multicast distribution -- still too many pre1.0.0 nodes online.Adam Ierymenko
2014-11-24Multicast code cleanup.Adam Ierymenko
2014-11-23A few more tweaks to MC algo...Adam Ierymenko
2014-11-21Fix thinko in multicast changes... works now!Adam Ierymenko
2014-11-21Send multicasts in random order.Adam Ierymenko
This should not affect most users, but on large networks it should cause service announcements to work a lot better. This is the result of a prolonged discussion with a user about the visibility of game servers on a large network. The old multicast algorithm was de-facto randomized due to its distributed nature, while the new algorithm is more deterministic. This will restore some randomization beyond limit-overflow conditions. It won't affect small networks at all.
2014-10-29More cleanup, and fix a bug in Multicaster::gather()Adam Ierymenko
2014-10-29Moderate efficiency improvement on multicast gather result parsing, and go ↵Adam Ierymenko
ahead and keep track of total known peers.
2014-10-28Fix a nasty bug introduced in packet fragmentation a while back during ↵Adam Ierymenko
refactoring, and a few other things related to multicast.
2014-10-28Make multicast gather slightly more aggressive, and add total to list ↵Adam Ierymenko
command in testnet.
2014-10-19Don't need to check peer version for every item in txQueue since there is ↵Adam Ierymenko
only one peer.
2014-10-19Windows build fixes.Adam Ierymenko
2014-10-14More fixes to legacy support, and to a potential issue on quit.Adam Ierymenko
2014-10-11Fixes to legacy peer support.Adam Ierymenko
2014-10-09Return self in GATHER requests if self is a member of multicast group, and ↵Adam Ierymenko
reinstate legacy support.
2014-10-09New multicast bug fixes, TRACE improvements, and temporarily disable legacy ↵Adam Ierymenko
multicast for debugging purposes.
2014-10-09Reorg multicast packet, and a whole bunch of refactoring around the pushing ↵Adam Ierymenko
of certificates of membership.
2014-10-05Bump version to 1.0.0, add legacy support code to Multicaster to not send ↵Adam Ierymenko
new frame to known-to-be-old peers.
2014-10-04Send a VERB_P5_MULTICAST_FRAME to the supernode for each multicast -- for ↵Adam Ierymenko
now. This will allow supernodes to echo these down to pre-1.0.0 peers.
2014-10-04Pull logic to always send new multicasts to supernode since we need to do ↵Adam Ierymenko
that differently, re-add support for active bridges, and remove some gratuitous use of std::set where not needed.