886 Commits (e8cdff3eafd8096da22122eabddf57a09fe2bb90)

Author SHA1 Message Date
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
Adam Ierymenko facb009a1d Add security notice to auto-update info in -h output, and fix a missing paren. 11 years ago
Adam Ierymenko 8d09c37140 Remove a bit of redundant logic, and also announce MULTICAST_LIKEs to controllers (for future use). 11 years ago
Adam Ierymenko f6ced547be Dead code removal. 11 years ago
Adam Ierymenko eea8d58afa docs,cleanup 11 years ago
Adam Ierymenko 21e6850722 Cancel NAT-t attempts if peer is no longer "alive" 11 years ago
Adam Ierymenko 5986d83738 Kill more kittens. 11 years ago
Adam Ierymenko 4564dd95ff Revert... no luck with any of that. 11 years ago
Adam Ierymenko d2bfdfa6e7 Play with NAT-t tweaks some more. 11 years ago
Adam Ierymenko b69afa010e Disable type punning on ARM by ifdef. 11 years ago
Adam Ierymenko 708aac1ea7 Remove some left over debug code, and fix attempt to send to self if we are an active bridge. 11 years ago
Adam Ierymenko 17bfd4d55e Add TRACE for NAT-t debugging. 11 years ago
Adam Ierymenko b31071463c Try another NAT traversal improvement. 11 years ago
Adam Ierymenko dda376c9eb Nuke some abandoned code. 11 years ago
Adam Ierymenko 821f1f366e Fix to NAT escalation sequence. 11 years ago
Adam Ierymenko e99eda4a4a Fix IP scoping bug, and disable remotely reported surface push... not helping. :( 11 years ago
Adam Ierymenko fadb291962 Fix infinite loop typo. 11 years ago
Adam Ierymenko f0003ea922 Push remote surface as reported by peers along with known interface direct paths to assist with (some) NAT traversal. (trying this, may back out if not effective) 11 years ago
Adam Ierymenko e30ba3e138 Eliminate some aggressive port scanning NAT-t behavior that has proven ineffective. 11 years ago
Adam Ierymenko 7a15d8a7e3 Fix leaving of networks to actually call Network::destroy(). 11 years ago
Adam Ierymenko d647a587a1 (1) Fix updating of network revision counter on member change. 11 years ago
Adam Ierymenko b3516c599b Add a rate limiting circuit breaker to the network controller to prevent flooding attacks and race conditions. 11 years ago
Adam Ierymenko 3ba54c7e35 Eliminate some poorly thought out optimizations from the netconf/controller interaction, 11 years ago
Adam Ierymenko 8c18c60c00 sp. 11 years ago
Adam Ierymenko 88949a750f Workaround for uclibc missing map::operator==() 11 years ago
Adam Ierymenko 547b1c6157 Add additional TRACE output in pushDirectPaths. 11 years ago