114 Commits (f41ea24e97f05f9ddb66547ef7d0aae95db88db1)

Author SHA1 Message Date
Adam Ierymenko 769351b30f Fix to routes config in controller API. 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 7e68791bee Fix include for system json-parser. 10 years ago
Adam Ierymenko 683254a0db Don't bother signing if we are not using the legacy netconf. 10 years ago
Adam Ierymenko 2885aea65c Only send new format netconf for PV>=6 10 years ago
Adam Ierymenko 7ee3743c3d Refactor controller to send both old and new format netconf. 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 2b3e1d5c10 Ignore IP assignment pool ranges that begin with 0.0.0.0 or that contain no IPs. 10 years ago
Adam Ierymenko 2c328d61ad Do not auto-assign IP addresses on bridges. IPs can still be assigned manually. 10 years ago
Adam Ierymenko 9f31cbd8b8 Make /network/???/active return more info. 10 years ago
Adam Ierymenko 9b59bcd995 Clean controller circuit test memory. 10 years ago
Adam Ierymenko 69a438d64d Small tweak to active threshold. 10 years ago
Adam Ierymenko 10bb9919f1 Tweak certificate of membership revision/time tolerance to eliminate boundary packet loss issues occasionally seen in the wild. 10 years ago
Adam Ierymenko 69b1da2e1d return 200 instead of 404 when test is fetched 10 years ago
Adam Ierymenko dc3d899e70 Return test ID when we post a test. 10 years ago
Adam Ierymenko 78c1d9006a flood protection fix 10 years ago
Adam Ierymenko 5dad73647d Lengthen backup period again 10 years ago
Adam Ierymenko 13b39a0c3e SQLite perf tuning 10 years ago
Adam Ierymenko 90801a94d3 Track client version and tell whether active nodes support circuit test. 10 years ago
Adam Ierymenko fab6f4450d /active subpath off networks 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 436c1fac1d Selectively move over changes from "edge" to "dev" excluding netcon. 10 years ago
Adam Ierymenko a6c5596782 Patch controller to not send relays to 1.1.0 to avoid triggering 1.1.0 network preferred relays bug. 10 years ago
Adam Ierymenko 04d6b03733 Make auto backups slightly less frequent. 10 years ago
Adam Ierymenko 523412edfb Abort backup in progress if thread is told to shut down. 11 years ago
Adam Ierymenko f7a407ffa0 Tweak timings and use lock in backup to make it a bit faster and still permit main thread to work. 11 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 eff1fe3c61 Create files for each hop (more convenient) and fix a packet parse bug. 11 years ago
Adam Ierymenko 7d01fab132 Reorg fields to be in same order as FS scheme. 11 years ago
Adam Ierymenko aec13b50fd Be a bit more verbose in circuit test reports to more clearly track current and upstream hop in graph traversal history. 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 6b5bb0b278 Eliminate format string warnings. 11 years ago
Adam Ierymenko 59da8b2a4b Logging of circuit test results to disk. 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 a7bd1eaa40 Never assign v4 IPs ending in .255 even within range. 11 years ago
Adam Ierymenko ddf3d1f949 Controller side support for IPv6 assignment. 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 ef316ced3b Fix JSON. 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 a35fa7ac93 Add expansion of netconf in _test field. 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 4fbcad2468 Allow identity to be populated for newly inserted Member objects to permit transfer from old network controller and testing. 11 years ago
Adam Ierymenko 0d386f1c31 Add a bit of useful testing instrumentation to SqliteNetworkController. 11 years ago
Adam Ierymenko 2aa1b5d9b7 Add clock helper field to both member and network to permit time duration calculation easily. 11 years ago