summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-02Revert slow non-SSE Salsa20 modification since it did not fix Android/ARM ↵Adam Ierymenko
issue. Also update Salsa20 comments and clean up a bit.
2015-07-01For @glimberg -- a *possible* fix to the alignment headaches on Android/ARM. ↵Adam Ierymenko
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.
2015-06-29Rename VERB_CMA to the more descriptive VERB_PHYSICAL_ADDRESS_PUSHAdam Ierymenko
2015-06-29ipLocalRoutes now exposed via network objects in JSON controller API, and ↵Adam Ierymenko
documentation changes.
2015-06-29Untested -- modifications to support IP ranges instead of ip/mask for IP ↵Adam Ierymenko
assignment pools, also add portId to Rule for future use.
2015-06-29(1) Both nodeId and portId in Rule can be NULL, (2) remove on delete cascade ↵Adam Ierymenko
since rules should never mysteriously disappear from the rules table. If it let you delete a node with rules, that would be a UI or cleanup function bug.
2015-06-29DB schema changes: separate portId in rules, ranges in IP assignment pools. ↵Adam Ierymenko
(No code changes yet so code is broken.)
2015-06-29Fix semantics of std::unique() to actually remove duplicates (hidden memory ↵Adam Ierymenko
leak?)
2015-06-26Put multicast txQueue back to list.Adam Ierymenko
2015-06-26Add Kees Bos to AUTHORS :)Adam Ierymenko
2015-06-26Merge pull request #196 from keesbos/fixesAdam Ierymenko
Fixes for controller
2015-06-26GitHub issue #191 - kill intra-network multicast rate limits (which were not ↵Adam Ierymenko
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.
2015-06-26Redo conversion of _networks to a vector. Just use a simple linear search ↵Adam Ierymenko
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.
2015-06-26Fix reporting of ipAssignments for ipv4Kees Bos
2015-06-26Fix cert verification check for self signed signaturesKees Bos
2015-06-23Merge pull request #192 from mwarning/replace_eraseAdam Ierymenko
replace vector::erase, was missed in a previous commit (ref #186)
2015-06-23replace vector::erase, was missed in a previous commit (ref #186)Moritz Warning
2015-06-22Merge branch '_networks_vector' of https://github.com/mwarning/ZeroTierOne ↵Adam Ierymenko
into adamierymenko-dev
2015-06-22Merge pull request #189 from keesbos/bugfix-auth-memberAdam Ierymenko
Fixed member authorization bug and minor cleanup
2015-06-20use _network function to reduce source code complexityMoritz Warning
2015-06-20replace _networks map by vectorMoritz Warning
_networks is usually quite small, using binary search on a vector might be faster comapred to std::map. This is especially true when using uClibc++, which uses a list.
2015-06-19Fixed member authorization bug and minor cleanupKees Bos
2015-06-19Root server terminology cleanup, and tighten up a security check by checking ↵Adam Ierymenko
full identity of peers instead of just address.
2015-06-19Rebuild properly signed root topology after supernode -> rootserver name change.Adam Ierymenko
2015-06-19Merge pull request #187 from keesbos/fix-ipv4-assignmentAdam Ierymenko
Fix for ipv4 assignment
2015-06-18Merge pull request #186 from mwarning/txQueue_vectorAdam Ierymenko
replace txQueue list by vector for faster memory access and less allo…
2015-06-19replace txQueue list by vector for faster memory access and less allocationsMoritz Warning
2015-06-18Fix for ipv4 assignmentKees Bos
2015-06-18Move js/ to ZeroTierIntegrations project.Adam Ierymenko
2015-06-17Almost certain fix for GitHub issue #184 on -devAdam Ierymenko
2015-06-16Merge pull request #182 from keesbos/rootserverAdam Ierymenko
Renamed supernode to rootserver
2015-06-16Merge pull request #181 from keesbos/bugfixAdam Ierymenko
Bugfixes
2015-06-15Fix 404 on creation of new networkKees Bos
2015-06-15Removed a superfluous cross joinKees Bos
2015-06-15Fix controller/network/*/member/*Kees Bos
Cross join works other than expected or something changed. The _sGetMember2 returned too many rows. Replaced it with an explicit join statement.
2015-06-15Bugfix controller get member infoKees Bos
2015-06-13Add definition for VERB_CMA -- GitHub issue #180Adam Ierymenko
2015-06-13Add new fields in operator==Adam Ierymenko
2015-06-13Gateways support in NetworkConfig object.Adam Ierymenko
2015-06-13Gateways support in network controller schema and database (not implemented ↵Adam Ierymenko
yet in client) toward GitHub issue #178
2015-06-13Rename ruleId to ruleNo and optimize some indexes in Sqlite3 schema.Adam Ierymenko
2015-06-13Merge pull request #179 from keesbos/bugfixAdam Ierymenko
Pickup return code from handleControlPlaneHttpGET and handleControlPlaneHttpPOST
2015-06-13Pickup return code from handleControlPlaneHttpGET and handleControlPlaneHttpPOSTKees Bos
2015-06-12This might be a final fix for GitHub issue #173 and possibly others: ↵Adam Ierymenko
ACTIVELY detect borked port status on Windows and if any "cable unplugged" or other wacky states are detected whack the adapter (close and reopen). Tested adding a whole bunch of windows networks, removing, adding more, etc. and it seems to work very well!
2015-06-12Merge pull request #177 from keesbos/linux-uiAdam Ierymenko
Linux ui
2015-06-11Add ui to /var/lib/zerotier (linux installer)Kees Bos
2015-06-11Return 404 on delete if network member is missing (controller)Kees Bos
2015-06-11Return 404 on delete if network doesn't exist (controller)Kees Bos
2015-06-11Get deletion of networks in controller goingKees Bos
Multiple statements in a sqlite3_prepare_v2 is not usable. Only the first statement will be executed. Since the schema now uses 'ON DELETE CASCADE', there's only one statement needed. If multiple statements are needed, there should be either multiple sqlite3_prepare_v2 calls be used or the sqlite3_exec function.
2015-06-11Change schema to enforce foreing keysKees Bos
The foreign keys have 'ON DELETE CASCADE' to simplify the removal of networks etc. (controller code) Some unique constraints are replaced with a multi column primary key. To update an existing database: * install updated binaries * stop service * sqlite3 controller.db .dump | \ egrep '((^PRAGMA)|(^BEGIN)|(^INSERT)|(^COMMIT))' | \ grep -v 'schemaVersion' > data.sql * mv controller.db controller.db.backup * start service * stop service * sqlite3 controller.db < data.sql * start service