806 Commits (235d4aba9ab4f461eebfba66e659212d034bab48)

Author SHA1 Message Date
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
Adam Ierymenko 8aa68cd5f1 Add new fields in operator== 11 years ago
Adam Ierymenko edbc5d3588 Gateways support in NetworkConfig object. 11 years ago
Adam Ierymenko 96a58becf8 Gateways support in network controller schema and database (not implemented yet in client) toward GitHub issue #178 11 years ago
Adam Ierymenko a9a390a930 Apply @marning suggested SSE auto-detect to make builds easier on non-x86 platforms: aa2fd044cb 11 years ago
Adam Ierymenko aab17d9f1f Kill obsolete amSupernode method -- we now have no differing behaviors. 11 years ago
Adam Ierymenko ecb6a1d84f docs 11 years ago
Adam Ierymenko 5341e32729 Fix to GitHub issue #140 -- network preferred relays. Also go ahead and allow RENDEZVOUS from regular peers. 11 years ago
Adam Ierymenko 960ceb4791 Rest of GitHub issue #140 implementation. 11 years ago
Adam Ierymenko 318c2f025b Call it _relays since there might be other kinds later. 11 years ago
Adam Ierymenko 5bc89034bc Always ping / contact network preferred relays (if any). 11 years ago
Adam Ierymenko b3b9af0dd8 Fix for GitHub issue #170 11 years ago
Adam Ierymenko 5e3c6d9e0d Some nodeJS work, and apply fix from GitHub issue #166 plus a small optimization to avoid repeated calls to _allMulticastGroups(). 11 years ago
Adam Ierymenko af1d29cc6f Remove obsolete method. 11 years ago
Adam Ierymenko d8783b14eb Build fix. 11 years ago
Adam Ierymenko 6867922d9e typo 11 years ago
Adam Ierymenko 9774f789f2 TCP fallback tunneling is now working. That hurt more than expected. 11 years ago
Adam Ierymenko cdec05af24 One second delay between NAT-t events. 11 years ago
Adam Ierymenko 196f27f1f0 Add delay to NAT-t escalation stuff to try to address GitHub issue #167 11 years ago
Adam Ierymenko d9006712f6 Completely factor out "desperation" from the core. I thought of a significantly simpler way to move all of this logic entirely into the containing service, liberating the core from any concern over the nature of its pipe to the outside world. 11 years ago
Adam Ierymenko 1213073916 Apple auto-update stuff, now for Windows. 11 years ago
Adam Ierymenko 2810cd7c15 Build fixes for G++, building without SQLite3 present, and warning removal. 11 years ago
Adam Ierymenko 0bdd56ebd6 A few revisions to PFS design. 11 years ago
Adam Ierymenko d0e0f5dd12 Basic OpenBSD compile fixes -- still need to update BSDEthernetTap, will do that later. Should be able to re-use FreeBSD port for OpenBSD, but we will see. 11 years ago
Adam Ierymenko e94518590d First stab of PFS design work with PKC security -- may not implement in 1.0.3 but stubbing out. 11 years ago
Adam Ierymenko a8835cd8b3 Some prep work to make room for perfect forward security (PFS). Will not affect existing clients. 11 years ago
Adam Ierymenko bdce679d84 Should fix deadlock issue in GitHub issue #166 11 years ago
Kees Bos a425bbc673 Renamed supernode to rootserver 11 years ago
Adam Ierymenko 40f312a827 When we reset within scope, erase the other entries for that scope so we won't keep resetting the same scope repeatedly. 11 years ago
Adam Ierymenko 18ca6f34ff Always update timestamp. 11 years ago
Adam Ierymenko 59fa687830 Make timeout also apply to null check in iam() 11 years ago
Adam Ierymenko e922324bc6 Stop inlining all the Packet armor/dearmor stuff to reduce binary bloat. This stuff is called all over the place. 11 years ago
Adam Ierymenko b4b067bf12 So we need to keep track of external surface per reporter, since some NATs assign different external IPs for each external destination. Keeping just one known surface could create a race condition. 11 years ago
Adam Ierymenko da254d967f Hack around GitHub issue #165 (?) 11 years ago
Adam Ierymenko 9279bac385 Fix deadlock in SelfAwareness by deferring reconnects. 11 years ago
Adam Ierymenko 604576075e Add some missing includes that older G++ cares about. 11 years ago