148 Commits (29711e123febee2696e0f2cada72e7e533d21a8c)

Author SHA1 Message Date
Adam Ierymenko d3524f3609 Refactor COM stuff a bit, and respond to COM requests a bit more readily for rapid setup. Will need to revisit later. 10 years ago
Adam Ierymenko ab9afbc749 (1) Public networks now get COMs even though they do not gate with them since they will need them to push auth for multicast stuff, (2) added a bunch of rate limit circuit breakers for anti-DOS, (3) cleanup. 10 years ago
Adam Ierymenko ef87069957 Fix gating of multicast GATHER replies since these can come from upstream, etc., and fix an issue with sending ECHO to recheck marginal paths. 10 years ago
Adam Ierymenko 0d4109a9f1 More refactoring to clean up code, and add a gate function to make sure we 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. 10 years ago
Adam Ierymenko 16df2c3363 Clean up handling of COMs, network access control, and fix a backward compatiblity issue. 10 years ago
Adam Ierymenko daf8a66ced More correct and efficient to initialize member relationship push stuff lazily when member is learned. 10 years ago
Adam Ierymenko 1908aa55f5 Refactor MULTICAST_LIKE pushing to eliminate redundant and unnecessary pushes and simplify code. 10 years ago
Adam Ierymenko 74afef8eb1 Think through and refine a few things in rules, especially edge case TEE and REDIRECT behavior and semantics. 10 years ago
Adam Ierymenko f0636ffd4a EXT_FRAME messages should always be accepted if we are the destination for a matching TEE or REDIRECT rule. 10 years ago
Adam Ierymenko 2cdda38dc4 It basically works... at least on current controllers. 10 years ago
Adam Ierymenko ccea3d04d6 Push NETWORK_CONFIG_REFRESH on POSTs to /member/... in controller. 10 years ago
Adam Ierymenko 0a7a33ef8f Instantaneous blacklisting and credential revocation. 10 years ago
Adam Ierymenko 4d498b3765 Handling of multi-part chunked network configs on the inbound side. 10 years ago
Adam Ierymenko 00fd9c3a15 It builds... almost ready to test some rules engine stuff. 10 years ago
Adam Ierymenko 8007ca56aa Refactor and tie-up of capabilities and tags and packet evaluation points. Some optimization is possible here but it is minor and we will make it work first. 10 years ago
Adam Ierymenko e2f783ebbd . 10 years ago
Adam Ierymenko 37d139177d Integrate Filter into OutboundMulticast properly. 10 years ago
Adam Ierymenko e09c1a1c11 Big refactor mostly builds. We now have a uniform backward compatible netconf. 10 years ago
Adam Ierymenko 4446dbde5e Big refactor in service code to prep for plumbing through route management. 10 years ago
Adam Ierymenko 90e1262a8b More refactoring to remove old Dictionary dependencies. 10 years ago
Adam Ierymenko 2f18a92e20 Cleanup in numerous places, reduce network chattiness around MULTICAST_LIKE, and fix a "how was that working" latent bug causing some control traffic to take the scenic route. 10 years ago
Adam Ierymenko 51fecc0be9 Refactor Network for new NetworkConfig. 10 years ago
Adam Ierymenko 6f854c8391 NetworkConfig refactor part 1 10 years ago
Adam Ierymenko 4e4fd51117 boring doc stuff 10 years ago
Adam Ierymenko 3883ac08c7 Docs and cleanup. 10 years ago
Adam Ierymenko d6f0f1a82a Use network user ptr in lookup for Ethernet frame handling to eliminate map lookup. 10 years ago
Adam Ierymenko 83ef98a9dc Add a network-associated user ptr in API. 10 years ago
Adam Ierymenko 35676217e8 Refactor multicast group announcement to work directly or indirectly. 11 years ago
Adam Ierymenko d6676a9d6c Always announce multicast groups, not just to peers with direct links, and push network COMs to any MULTICAST_LIKE recipient for future use. 11 years ago
Adam Ierymenko 9405150b11 Restore group announcement on Peer::receive() but centralize packet composition in one place. 11 years ago
Adam Ierymenko a3db7d0728 Refactor: move network COMs out of Network and into Peer in prep for tightening up multicast lookup and other things. 11 years ago
Adam Ierymenko f69454ec98 (1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses. 11 years ago
Adam Ierymenko 307e44f7c8 Two for one! (std::map removal) 11 years ago
Adam Ierymenko d1341578d8 ... and another one! 11 years ago
Adam Ierymenko 7b8ce16057 Another std::map<> dies. 11 years ago
Adam Ierymenko 778c7e6e70 More cleanup to direct path push, comment fixes, etc. 11 years ago
Adam Ierymenko f398952a6c Revert some bad docs in Packet -- I think we will still use that. Also rename addMembershipCertificate to more security-descriptive validateAndAddMembershipCertificate, give it a return value, and drop unused force parameter. 11 years ago
Adam Ierymenko 57c7992c78 GitHub issue #191 - kill intra-network multicast rate limits (which were not well supported or easily configurable anyway) -- this is really left over from the old collaborative multicast propagation algorithm. New algorithm (in for a while) has been sender-side replication in which sender "pays" all bandwidth, which intrinsically limits multicast. 11 years ago
Adam Ierymenko 5e3c6d9e0d Some nodeJS work, and apply fix from GitHub issue #166 plus a small optimization to avoid repeated calls to _allMulticastGroups(). 11 years ago
Adam Ierymenko bdce679d84 Should fix deadlock issue in GitHub issue #166 11 years ago
Adam Ierymenko 6369c264e2 Rename netconf to controller and NetworkConfigMaster to NetworkController for consistency. 11 years ago
Adam Ierymenko 1c9ca73065 Fix some deadlock issues, move awareness of broadcast subscription into core, other bug fixes. 11 years ago
Adam Ierymenko 67f1f1892f Bunch of tap stuff, IP address assignment hookups, etc. 11 years ago
Adam Ierymenko 4d5a6a25d3 Add events for packet decode errors, etc., and re-implement TRACE as an event. 11 years ago
Adam Ierymenko bf2ff964e1 Utils::now() removal and a bunch of compile fixes. 11 years ago
Adam Ierymenko 76ad19f411 Use binary_search for multicast groups, which are kept in sorted order. 11 years ago
Adam Ierymenko 758bf949db Check for subscribed multicast groups should be able to check groups bridged behind me. 11 years ago
Adam Ierymenko 51f46a009a Multicast group join/leave and group membership announcement. 11 years ago
Adam Ierymenko 8001b2c0cb Network now calls port config function as per new API. 11 years ago
Adam Ierymenko a86300c58f Network build fixes and cleanup of remaining internal references to _tap 11 years ago