1780 Commits (6693149f3e2d1557f007ace99987694a34ebe6f8)
 

Author SHA1 Message Date
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 a7bd1eaa40 Never assign v4 IPs ending in .255 even within range. 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 b242216674 Version bump, preparing for a likely 1.0.6 soon. 11 years ago
Adam Ierymenko 423412df98 Pick a random secondary UDP port for uPnP mapped traffic because of broken routers. 11 years ago
Adam Ierymenko 7821d1cbdd . 11 years ago
Adam Ierymenko 80dc7fb675 Pick random port on -p0 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 ddf3d1f949 Controller side support for IPv6 assignment. 11 years ago
Adam Ierymenko 3664966340 Generate local IPv6 addresses from network IDs and addresses. 11 years ago
Adam Ierymenko 610ab0750c Drop Sqlite-based Log table for now and switch to an in-memory log for recent activity. Log table gets too big on busy nodes. Should probably support push of events to some kind of event system later. 11 years ago
Adam Ierymenko ef316ced3b Fix JSON. 11 years ago
Grant Limberg f7d3e262a9 ifdef default assignments 11 years ago
Adam Ierymenko cd005341c5 Extra statement to clean up Members -- cascade did not seem to work, possibly due to dual key. 11 years ago
Adam Ierymenko c1a53a2653 ARP cache and responder agent code for use in netcon and iOS. 11 years ago
Adam Ierymenko 9dc2ef5549 Rename some stuff in Phy since it can be used with any stream socket. 11 years ago
Adam Ierymenko cd3d77987c . 11 years ago
Adam Ierymenko a35fa7ac93 Add expansion of netconf in _test field. 11 years ago
Adam Ierymenko bebe3d7cfa Fix deadlock in test mode. 11 years ago
Adam Ierymenko 1f7a41cff8 Fix to allowing identity to be populated if not present. 11 years ago
Adam Ierymenko 9a723be263 Add socketpair support to Phy. 11 years ago
Adam Ierymenko 4fbcad2468 Allow identity to be populated for newly inserted Member objects to permit transfer from old network controller and testing. 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