842 Commits (dba91eaa096d85992bf37a6c19dbead8104d9088)

Author SHA1 Message Date
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
Adam Ierymenko 41fc08b330 etherTypeName() is only used in Switch and only with ZT_TRACE 11 years ago
Adam Ierymenko 07ea4fd4f9 Fix potential bug in controller config request. 11 years ago
Adam Ierymenko 778c7e6e70 More cleanup to direct path push, comment fixes, etc. 11 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. 11 years ago
Adam Ierymenko f398952a6c Revert some bad docs in Packet -- I think we will still use that. Also rename addMembershipCertificate to more security-descriptive validateAndAddMembershipCertificate, give it a return value, and drop unused force parameter. 11 years ago
Adam Ierymenko 6da9d2d36f Remove debug printf(). 11 years ago
Adam Ierymenko f881cdd767 Add new .h file to VS build, and Windows side of local interface address enumeration. 11 years ago
Adam Ierymenko 84ba365c77 Fix bug in direct path push send. 11 years ago
Adam Ierymenko cac55105c3 Fix a regression. 11 years ago
Adam Ierymenko a87cd2d094 Unix side of local interface address awareness for GitHub issue #180. 11 years ago
Adam Ierymenko 235f4762b7 Plumbing for local interface addresses -- GitHub issue #180 11 years ago
Adam Ierymenko 79e9a8bcc2 Almost everything for GitHub issue #180 except direct path map setup. 11 years ago
Adam Ierymenko fad9dff2db Almost all of GitHub issue #180 11 years ago
Adam Ierymenko 1632aec102 Check Network::isAllowed() always on multicast send. 11 years ago
Adam Ierymenko 255320e2a6 pushDirectPaths() implementation 11 years ago
Adam Ierymenko 93bb934d4e Some cleanup, docs, and Path -> Path > RemotePath refactor. 11 years ago
Adam Ierymenko feddd946f9 For curiosity add Salsa20/8 to benchmarks. 11 years ago
Adam Ierymenko 6bfbc43e3c Include COM with EXT_FRAME in bridged case. 11 years ago
Adam Ierymenko 35b5dcf89d Kill debug line. 11 years ago
Adam Ierymenko 9743db3538 docs 11 years ago
Adam Ierymenko e5f7c55c54 Documentation in Packet, more work on path push, and clean up ancient legacy support code in Switch. 11 years ago
Adam Ierymenko f19c3c51d3 Revert slow non-SSE Salsa20 modification since it did not fix Android/ARM issue. Also update Salsa20 comments and clean up a bit. 11 years ago
Adam Ierymenko 7c9949eea3 For @glimberg -- a *possible* fix to the alignment headaches on Android/ARM. If this works we should find a define that can be used to enable it there since it will slow things down on non-x86 other architectures. 11 years ago
Adam Ierymenko 0cbbcf2884 Rename VERB_CMA to the more descriptive VERB_PHYSICAL_ADDRESS_PUSH 11 years ago
Adam Ierymenko dbee1b38b3 Fix semantics of std::unique() to actually remove duplicates (hidden memory leak?) 11 years ago
Adam Ierymenko 3f71afd0fb Put multicast txQueue back to list. 11 years ago
Adam Ierymenko 57c7992c78 GitHub issue #191 - kill intra-network multicast rate limits (which were not well supported or easily configurable anyway) -- this is really left over from the old collaborative multicast propagation algorithm. New algorithm (in for a while) has been sender-side replication in which sender "pays" all bandwidth, which intrinsically limits multicast. 11 years ago
Adam Ierymenko c287ae4d1d Redo conversion of _networks to a vector. Just use a simple linear search and put the nwid in a pair with the pointer so linear search can be done without pointer chasing. This should be the fastest option for anything less than dozens of networks, and should save memory over the old map. 11 years ago
Kees Bos 8a68624dae Fix cert verification check for self signed signatures 11 years ago
Moritz Warning def9cf2a6a replace vector::erase, was missed in a previous commit (ref #186) 11 years ago
Moritz Warning 787608b568 use _network function to reduce source code complexity 11 years ago
Moritz Warning 2b04ac5e9b replace _networks map by vector 11 years ago
Adam Ierymenko 7bae95836c Root server terminology cleanup, and tighten up a security check by checking full identity of peers instead of just address. 11 years ago
Moritz Warning 0073d0f694 replace txQueue list by vector for faster memory access and less allocations 11 years ago
Adam Ierymenko 87bb0086de Almost certain fix for GitHub issue #184 on -dev 11 years ago
Adam Ierymenko 845955dea5 Add definition for VERB_CMA -- GitHub issue #180 11 years ago