911 Commits (477feee8a3fbc84d00c2939b5fc8a9bbf19af2ca)

Author SHA1 Message Date
Adam Ierymenko 477feee8a3 Some work on CIRCUIT_TEST, and a significant speedup to Poly1305. 11 years ago
Adam Ierymenko 3593fb3462 Send initial CIRCUIT_TEST packet. 11 years ago
Adam Ierymenko d3f29d09e8 Plumbing through circuit test stuff. 11 years ago
Adam Ierymenko 5341afcdcd Handling of CIRCUIT_TEST, should be ready to test. 11 years ago
Adam Ierymenko 57c857e89a Fix TRACE output. 11 years ago
Grant Limberg c16ad053b6 no toString() method on peer. Commenting out for now. 11 years ago
Grant Limberg 6080a45c9c change cert to com. no variable named cert. 11 years ago
Adam Ierymenko 5384f185ae Simplify Dictionary and reduce memory usage, now no more std::maps in core. 11 years ago
Adam Ierymenko 76a95dc58f The return of peer peristence. 11 years ago
Adam Ierymenko 5076c49210 Peer serialization and related changes. 11 years ago
Adam Ierymenko 2fa21aa676 . 11 years ago
Adam Ierymenko 3999e468b7 Need to hold nconf so *com does not die while being used. 11 years ago
Adam Ierymenko 6693149f3e Send COM with MULTICAST_GATHER for future use. 11 years ago
Adam Ierymenko 2c196307ee --bugs; 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 a7409850d6 Get trim() out of core where it is not needed. 11 years ago
Adam Ierymenko 53e5f94b99 . 11 years ago
Adam Ierymenko 64bf3ffe6c Mutex cleanup. 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 11ff96ba1d Consider IPv6 paths reliable (no constant keepalives needed) 11 years ago
Adam Ierymenko 0d0039674f Add new verb names, and fix some Mac compiler flags. 11 years ago
Adam Ierymenko 789046ca57 Speed up Salsa20 just a bit. 11 years ago
Adam Ierymenko 1a4f16e0ed More work on circuit testing... 11 years ago
Adam Ierymenko 2d0adb562d Specify circuit test messages. 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 0e5aac6a11 Prefer IPv6 paths if available. 11 years ago
Adam Ierymenko a3ed5277ef Make sure ZT_NO_TYPE_PUNNING also obeyed here. 11 years ago
Adam Ierymenko 2a527ea82e Fix for timer jitter problem. 11 years ago
Adam Ierymenko 367ffde00c Plumb through localInterfaceId to track local interfaces corresponding with remote addresses. 11 years ago
Adam Ierymenko 4464fa5d39 Eliminate another warning. 11 years ago
Adam Ierymenko 86996d4315 Eliminate compiler warning. 11 years ago
Adam Ierymenko d656e87395 Send a random small payload for NAT keepalives, since zero byte packets seem to fail to keep associations alive behind some NATs. 11 years ago
Adam Ierymenko 3664966340 Generate local IPv6 addresses from network IDs and addresses. 11 years ago
Adam Ierymenko c1a53a2653 ARP cache and responder agent code for use in netcon and iOS. 11 years ago
Adam Ierymenko 0d386f1c31 Add a bit of useful testing instrumentation to SqliteNetworkController. 11 years ago
Adam Ierymenko 85b90f122a Final std::map<> from Switch, and add some smallish default values for hash size. 11 years ago
Adam Ierymenko 3dba016a93 Almost done... very few std::map<>s remaining in any spot that matters. 11 years ago
Adam Ierymenko db0369e9b8 Remove way-overkill multimap from Switch. 11 years ago
Adam Ierymenko 0ab3e49be9 Starting in on Switch... kill map in defrag queue, which will probably improve performance pretty decently under high load with lots of peers. 11 years ago
Adam Ierymenko f116c4b9c0 ... and another ... 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 3a959a7763 Swap out std::map<> for Hashtable<> for main peer database in Topology. (ongoing std::map-ectomy) 11 years ago
Adam Ierymenko cfd101c9b8 Add entries() to go with keys() for future use. 11 years ago
Adam Ierymenko da9a720c3f Hash table bug fix, and add copy constructor and assignment operator for principle of least surprise. 11 years ago
Adam Ierymenko b11ffc9635 Integrate Hashtable into Multicaster, where @mwarning found heaviest std::map() overhead. 11 years ago
Adam Ierymenko 3947807b1f A simple and fast Hashtable, tested but not yet integrated with anything. 11 years ago
Adam Ierymenko 5fcef91278 Ignore old root-topology if present -- fix for upgrading on Linux and possibly elsewhere. 11 years ago