Adam Ierymenko
0b82c9ebad
Fix infinite loop if there are no live roots (never happened before?!? wow!)
11 years ago
Adam Ierymenko
6625d79296
Fix if cluster compiled in but not enabled.
11 years ago
Adam Ierymenko
debed1ac2d
Expose cluster status in /status JSON response.
11 years ago
Adam Ierymenko
385f1410d2
Expose world info in JSON.
11 years ago
Adam Ierymenko
5d2f523e81
World stuff...
11 years ago
Adam Ierymenko
f69454ec98
(1) Make ZT_ naming convention consistent (get rid of ZT1_), (2) Make local interface a full sockaddr_storage instead of an int identifier, which turns out to be better for multi-homing and other uses.
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
Kees Bos
42390e662b
Pickup return code from handleControlPlaneHttpGET and handleControlPlaneHttpPOST
11 years ago
Kees Bos
0d0af07ce9
Get deletion of networks in controller going
...
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.
11 years ago
Adam Ierymenko
9774f789f2
TCP fallback tunneling is now working. That hurt more than expected.
11 years ago
Adam Ierymenko
2810cd7c15
Build fixes for G++, building without SQLite3 present, and warning removal.
11 years ago
Adam Ierymenko
086f21ed70
Refactor and simplify controller integration with JSON API and OneService.
11 years ago
Adam Ierymenko
e0090e56f4
Build fix on OSX -- cannot call SqliteNetworkController if not compiled in.
11 years ago
Adam Ierymenko
a187d290f1
Fixes to control plane, API, eliminate problematic inheritance pattern, and start on a NodeJS class for talking to the network controller.
11 years ago
Adam Ierymenko
0bb92715f4
DELETE function in network controller JSON API, and a newIdentity convenience request in ControlPlane for scripted testing.
11 years ago
Adam Ierymenko
e269846f84
Netconf docs, add clock field to status, simplify netconf a bit by eliminating caching for now. We will re-add if it is needed.
11 years ago
Kees Bos
a425bbc673
Renamed supernode to rootserver
11 years ago
Adam Ierymenko
b2b32e5969
Beginning of HTML+Bootstrap+React UI for new desktop client -- looking like it will be easier than retrofitting the old Qt client for the new API.
11 years ago
Adam Ierymenko
f3d7c9d681
Helps to index the array when enumerating a C array.
11 years ago
Adam Ierymenko
883a216d2a
Build fixes.
11 years ago
Adam Ierymenko
ddebe2d4c7
Network controller CRUD... :P
11 years ago
Adam Ierymenko
1f5700191f
zerotier-cli suspiciously working... that didn't hurt *too* badly.
11 years ago
Adam Ierymenko
12b4646ce8
Prettify JSON output.
11 years ago
Adam Ierymenko
21a7e774bb
Wire API auth token stuff.
11 years ago
Adam Ierymenko
c301d8e438
Remove network/controller -- we will do this in Ruby instead since it will be part of the whole OnePoint project anyway.
11 years ago
Adam Ierymenko
d2503172d8
Add some additional detail to the peer record in CAPI and JSON control plane.
11 years ago
Adam Ierymenko
a0f8685453
cleanup
11 years ago
Adam Ierymenko
e205e5fdfe
Include tap device name in JSON output for network info.
11 years ago
Adam Ierymenko
49d31613b9
Fix some minor issues, now to reintegrate taps.
11 years ago
Adam Ierymenko
1cfa67bbdd
Bunch more control plane work, and shelve old UI -- React FTW.
11 years ago
Adam Ierymenko
a2605561af
Basic control plane queries working.
11 years ago
Adam Ierymenko
b888e033c0
JSON control plane, almost done...
11 years ago