Commit History

Author SHA1 Message Date
  Adam Ierymenko 226123ca08 Refactor controller to permit sending of pushes as well as just replies to config requests. 8 years ago
  Adam Ierymenko 0b44919ba2 Clusters can send multiple OKs so we must allow this. 9 years ago
  Adam Ierymenko 9f550292fe Simply network auth logic and always sent error on auth failure even for unknown networks to prevent forensics. 9 years ago
  Adam Ierymenko 7e4b6b594b It now builds. 9 years ago
  Adam Ierymenko 5b6d27e659 Implement relay policy, and setting multicast limit to 0 now disables multicast on the network as would be expected. 9 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. 9 years ago
  Adam Ierymenko ccea3d04d6 Push NETWORK_CONFIG_REFRESH on POSTs to /member/... in controller. 9 years ago
  Adam Ierymenko 98152d974a More cleanup and removal of DeferredPackets, will do the latter in a more elegant way. 9 years ago
  Adam Ierymenko 765082fdb6 Trusted path support, and version bump to 1.1.9 9 years ago
  Adam Ierymenko 4e4fd51117 boring doc stuff 9 years ago
  Adam Ierymenko d6f0f1a82a Use network user ptr in lookup for Ethernet frame handling to eliminate map lookup. 9 years ago
  Adam Ierymenko 83ef98a9dc Add a network-associated user ptr in API. 9 years ago
  Adam Ierymenko b3e3d4cacc Instead of using binary packet comparison, add a callback to the API to explicitly check whether paths should be used. Check in with this callback (if present) when learning new paths or sending initial packets. 9 years ago
  Adam Ierymenko 2cc50bdb10 Try bringing back TTL escalation -- may help with Docker (IP-MASQ) type NAT 9 years ago
  Adam Ierymenko 3e22fee842 Integrate deferred background processing into main OneService implementation. 9 years ago
  Adam Ierymenko 8ef4edebbf Deferred decode for HELLO to prevent HELLOcalypse under high load of new peers. 9 years ago
  Adam Ierymenko a994573a43 Eliminate some more dead code. We may do path trust, but not like that. 10 years ago
  Adam Ierymenko 16bc3e0398 Factor out RemotePath subclass of Path -- no longer needed, just cruft. 10 years ago
  Adam Ierymenko 5ff7733f84 More plumbing of cluster status. 10 years ago
  Adam Ierymenko 57e29857cf Cluster work -- integrating with the rest of the code. 10 years ago
  Adam Ierymenko cae58f43f1 More World stuff, and mkworld. 10 years ago
  Adam Ierymenko 1b2cac0cc5 Trim some cruft that is not used and probably never would be. 10 years ago
  Adam Ierymenko d3f29d09e8 Plumbing through circuit test stuff. 10 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. 10 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. 10 years ago
  Adam Ierymenko 367ffde00c Plumb through localInterfaceId to track local interfaces corresponding with remote addresses. 10 years ago
  Adam Ierymenko f6ced547be Dead code removal. 10 years ago
  Adam Ierymenko 0b354803f3 Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank. 10 years ago
  Adam Ierymenko 3f567a07ca Save a little bit of RAM by getting rid of overkill CMWC4096 non-crypto PRNG and replacing it with a simple non-crypto PRNG that just uses Salsa20. 10 years ago
  Adam Ierymenko c863ff3f02 A bunch of comments and cleanup, including some to yesterday's direct path pushing changes. Move path viability check to one place, and stop trying to use link-local addresses since they are not reliable. 10 years ago