Adam Ierymenko
|
1ebfca666d
|
Memo-ize some computed stuff to control CPU utilization.
|
9 years ago |
Adam Ierymenko
|
cae9041c2a
|
.
|
9 years ago |
Adam Ierymenko
|
330a07a554
|
cleanup
|
9 years ago |
Adam Ierymenko
|
b03c7b2f30
|
Refactor controller to use split-out DB for better performance and less ugly.
|
9 years ago |
Adam Ierymenko
|
2d6a4e5974
|
cleanup
|
10 years ago |
Adam Ierymenko
|
e2509af163
|
Fix bug in default rules init in new networks.
|
10 years ago |
Adam Ierymenko
|
f0794e09b7
|
Controller cleanup.
|
10 years ago |
Adam Ierymenko
|
2fc3d12fb6
|
Minor tweaks to member code in controller, and fix Linux build.
|
10 years ago |
Adam Ierymenko
|
68e549233d
|
Revise bearer token code in controller, and add relay policy as a meta-data item presented to controller by nodes (to facilitate future meshiness).
|
10 years ago |
Adam Ierymenko
|
77c2bf3ad9
|
Kill dead field from network JSON.
|
10 years ago |
Adam Ierymenko
|
b5e0d014ab
|
Controller bug fixes
|
10 years ago |
Adam Ierymenko
|
1814016eb7
|
Add daemon thread to controller and move network member cache refreshes there.
|
10 years ago |
Adam Ierymenko
|
60bc291414
|
Add noAutoAssignIps for member of networks.
|
10 years ago |
Adam Ierymenko
|
32fa061700
|
Compute credential TTL et al.
|
10 years ago |
Adam Ierymenko
|
212a5af9a5
|
Capabilities and tags in POST JSON.
|
10 years ago |
Adam Ierymenko
|
f119c4a456
|
Cache network members for performance, add network non-persisted fields.
|
10 years ago |
Adam Ierymenko
|
a13f4d8353
|
We now always build the controller in ZeroTier One, at least for desktop and server targets. Also means that ZeroTier One now requires C++11. (Still keeping C++11 out of the core in node/ though.)
|
10 years ago |
Adam Ierymenko
|
c0639ccd37
|
Just about ready to test.
|
10 years ago |
Adam Ierymenko
|
b08ca49580
|
More controller work -- it builds!
|
10 years ago |
Adam Ierymenko
|
c30f74987f
|
Starting refactor of controller...
|
10 years ago |
Adam Ierymenko
|
22e44c762b
|
More rules engine work: key/value pair matching for microsegmentation.
|
10 years ago |
Adam Ierymenko
|
6e08e1ae97
|
A few controller changes: (1) assign managed IPs that are assigned regardless of "assign mode" which now only controls auto-assignment or special addressing, (2) support proper issuing of managed IPv6 IPs, (3) support IPv6 auto-assign ranges
|
10 years ago |
Adam Ierymenko
|
0410fd4824
|
Refactor recent member request history to fix performance problem in controller.
|
10 years ago |
Adam Ierymenko
|
3ddfebe742
|
dead code removal
|
10 years ago |
Adam Ierymenko
|
3740b83f63
|
Don't back up sqlite db if it hasn't changed to prevent constant thrashing on inactive controllers.
|
10 years ago |
Adam Ierymenko
|
b2d048aa0e
|
Make Dictionary templatable so it can be used where we want a higher capacity.
|
10 years ago |
Adam Ierymenko
|
20d4dada40
|
Refactor controller for new merged format.
|
10 years ago |
Adam Ierymenko
|
734cbb2f1e
|
Controller modifications for default route are ready to test. Will require slight changes in ZeroTier Central when it goes live.
|
10 years ago |
Adam Ierymenko
|
acbe8ad398
|
More controller work, and some RedHat fixes.
|
10 years ago |
Adam Ierymenko
|
9898066b47
|
Remove some deprecated stuff in controller -- not done yet.
|
10 years ago |
Adam Ierymenko
|
8b9519f0af
|
Simplify a bunch of NetworkConfig stuff by eliminating accessors, also makes network controller easier to refactor.
|
10 years ago |
Adam Ierymenko
|
9b59bcd995
|
Clean controller circuit test memory.
|
10 years ago |
Adam Ierymenko
|
78c1d9006a
|
flood protection fix
|
10 years ago |
Adam Ierymenko
|
2e04dc03f2
|
Logging to NodeHistory, SQL queries.
|
10 years ago |
Adam Ierymenko
|
f8eb6b0067
|
Add NodeHistory table on sqlite controller.
|
10 years ago |
Adam Ierymenko
|
9cb4bbe2b8
|
Save test results for circuit tests in memory and then cancel the test and send the results when the test is queried later. This way you can POST a test and then come GET the result at the appointed time.
|
10 years ago |
Adam Ierymenko
|
7903f24a8f
|
Create periodic backup copies of controller.db in network controller from the main process itself to facilitate easier and safer backups of controller.db.
|
11 years ago |
Adam Ierymenko
|
a95fa379cc
|
Circuit tests basically work but need some tweaks, and fix some issues found with valgrind.
|
11 years ago |
Adam Ierymenko
|
a3876353ca
|
Abiltiy to post a test via the controller web API, and parsing of CIRCUIT_TEST_REPORT messages.
|
11 years ago |
Adam Ierymenko
|
7394ec6f6a
|
Prep in controller code to run tests.
|
11 years ago |
Adam Ierymenko
|
610ab0750c
|
Drop Sqlite-based Log table for now and switch to an in-memory log for recent activity. Log table gets too big on busy nodes. Should probably support push of events to some kind of event system later.
|
11 years ago |
Adam Ierymenko
|
cd005341c5
|
Extra statement to clean up Members -- cascade did not seem to work, possibly due to dual key.
|
11 years ago |
Adam Ierymenko
|
bebe3d7cfa
|
Fix deadlock in test mode.
|
11 years ago |
Adam Ierymenko
|
1f7a41cff8
|
Fix to allowing identity to be populated if not present.
|
11 years ago |
Adam Ierymenko
|
0d386f1c31
|
Add a bit of useful testing instrumentation to SqliteNetworkController.
|
11 years ago |
Adam Ierymenko
|
d57ea671d7
|
Add version to log.
|
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
|
e2a2993b18
|
Add a Log table to log queries for debugging and security logging. No JSON API support for querying the log yet, but will probably come via /network/###/member/###/log/... or something.
|
11 years ago |
Adam Ierymenko
|
649a12472b
|
Report controllerInstanceId in all objects so that controller resets can be easily detected by whatever is using the service.
|
11 years ago |
Adam Ierymenko
|
5515909c1e
|
Add a concept of an "instanceId" to the controller, which the OnePoint can use to determine whether it is the same running database instance it already knows.
|
11 years ago |