878 Commits (a8d7a31327be482efbf6d300afbc4e767c563e42)

Author SHA1 Message Date
Adam Ierymenko a8d7a31327 Integrate arp into NetconEthernetTap. 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
Adam Ierymenko 0b354803f3 Clean up some YAGNI issues with implementation of GitHub issue #180, and make best path choice aware of path rank. 11 years ago
Adam Ierymenko 4bf3bcbd55 Fixes to PUSH_DIRECT_PATHS. 11 years ago
Adam Ierymenko 3f0eca72f7 ZT_TRACE build fix. 11 years ago
Adam Ierymenko fe20f0d7cd Put back legacy code to listen for LAN announcements to support same network location with pre-1.0.4 clients. 11 years ago
Adam Ierymenko a297e4a5bf Add build def ZT_NO_TYPE_PUNNING, which when defined disables type punning code that might cause unaligned access errors on architectures that care (e.g. Android/ARM) 11 years ago
Adam Ierymenko 412389ec75 Implement ERROR_UNWATNED_MULTICAST 11 years ago
Adam Ierymenko cf6f30963c Kill a potential source of type punning BUS errors on Android, and besides that hack probably did not improve performance at all given the short lenghts of things compared with secureEq() 11 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. 11 years ago