Commit graph

5335 commits

Author SHA1 Message Date
Grant Limberg
df9483408d
CMake error if go not found 2020-06-10 09:33:48 -07:00
Grant Limberg
cb342bfb12
make GCC happy 2020-06-09 15:30:01 -07:00
Grant Limberg
04266a1180
don't build static binaries yet. Don't have the build config in there for it yet 2020-06-09 14:49:37 -07:00
Grant Limberg
86eda5fe65
use zerotier as binary name for 2.0 2020-06-09 14:31:00 -07:00
Grant Limberg
bc1fa3bf20
make it easier to update go version for docker build containers 2020-06-09 14:29:40 -07:00
Grant Limberg
e63920404c
copy over dockerbuild files for releases 2020-06-09 14:16:36 -07:00
Grant Limberg
4833478eee
Fix linux link ordering and add Dockerfile for central controllers
Builds but obviously won't actually do anything yet
2020-06-09 14:14:11 -07:00
Grant Limberg
c8b6850520
add central controller build target 2020-06-09 14:14:06 -07:00
Adam Ierymenko
938cbba449
Root set stuff, code formatting and other boring stuff. 2020-06-09 12:26:52 -07:00
Grant Limberg
c8f640f3f2
compile go code to static library & call via main.cpp
This allows CMake to manage the linkage of C/C++ libraries rather than an exponentially growing list of cgo directives based on build options
2020-06-09 12:03:16 -07:00
Grant Limberg
2272189955
macOS: link static versions of lipq and libhiredis on mac
will need to grab them via homebrew
2020-06-08 16:14:01 -07:00
Grant Limberg
736edeeed0
figure out conditional compilation & cgo based on go build tags 2020-06-08 15:54:10 -07:00
Adam Ierymenko
bf33368add
Merge branch 'edge' of http://git.int.zerotier.com/zerotier/ZeroTierOne into edge 2020-06-08 14:45:08 -07:00
Adam Ierymenko
40d48c969c
Some cleanup, revision to Endpoint string format, stub out HTTP API callbacks. 2020-06-08 14:41:13 -07:00
Grant Limberg
17f0dc9ba2
2.0 compiles with postgres/redis controller code
Probably doesn't work yet
2020-06-08 14:11:07 -07:00
Adam Ierymenko
016d85b169
Code formatting and similar. 2020-06-08 11:47:28 -07:00
Grant Limberg
2bceabdfa5
add redis dependencies for central controller 2020-06-08 11:23:41 -07:00
Adam Ierymenko
d18c33d6df
Code cleanup, Linux build fixes. 2020-06-05 22:18:58 -07:00
Adam Ierymenko
e2ca065f28
Cleanup, revise join command 2020-06-05 16:36:31 -07:00
Adam Ierymenko
fe28501126
Also clean CLion directories. 2020-06-05 14:40:04 -07:00
Adam Ierymenko
73795d05eb
Reorg done and builds 2020-06-05 14:38:35 -07:00
Adam Ierymenko
af846f7e3f
Fix clean 2020-06-05 13:45:43 -07:00
Adam Ierymenko
a0374da4f3
Reorg. 2020-06-05 13:42:34 -07:00
Adam Ierymenko
4e44fa009c
Clean up gitignore 2020-06-05 13:31:10 -07:00
Adam Ierymenko
3dd2c94f4e
Moar reorganization. 2020-06-05 13:26:35 -07:00
Adam Ierymenko
6da8f2bb05
Temporarily stash stuff in attic that needs update before beta/release. 2020-06-05 13:06:01 -07:00
Adam Ierymenko
e21fcb8104
Reorg. 2020-06-05 13:05:28 -07:00
Adam Ierymenko
3c11c13af4
More reorg, work in progress. 2020-06-05 13:04:37 -07:00
Adam Ierymenko
d3cf7b2202
Reorg. 2020-06-05 12:56:20 -07:00
Adam Ierymenko
03bcdf74a8
Some CLI help updates, some code formatting, pre-reorg. 2020-06-05 12:49:35 -07:00
Adam Ierymenko
45b90a0dfa
Formatting and boring stuff 2020-06-05 10:41:32 -07:00
Adam Ierymenko
9babfcb9b6
A bunch more go plumbing. 2020-06-04 16:03:11 -07:00
Adam Ierymenko
1b2a4f00f2
Take like ten on the addRoot thing, making it even simpler. Explicit locator commands are still present but they will remain just for use in creating subscriptions etc. 2020-06-04 10:32:13 -07:00
Adam Ierymenko
90b5acfca6
Docs, simplification. 2020-06-04 07:16:15 -07:00
Adam Ierymenko
741f7814c2
Various build fixes. 2020-06-03 22:15:19 -07:00
Adam Ierymenko
a4ae4941c3
Try to ignore temporary IPv6 addresses, fix Peer serialization, add an endpoint cache to Peer, some more Go stuff. 2020-06-03 22:03:34 -07:00
Adam Ierymenko
8a6ef33c4a
revert 2020-06-03 12:27:35 -07:00
Adam Ierymenko
5ac2596429
More CLI work, link go.mod and go.sum for some Go editors to work. 2020-06-03 11:59:24 -07:00
Adam Ierymenko
5dac2e82a7
A bunch of tweaks around CLI parameters and string formats of things. 2020-06-02 11:37:04 -07:00
Adam Ierymenko
8e29acd664
Causes build problems, revert. 2020-06-01 16:24:12 -07:00
Adam Ierymenko
1d29bc3e8e
Move go.mod and go.sum into base. 2020-06-01 16:07:49 -07:00
Adam Ierymenko
dc1ef0c49e
Code formatting and other boring stuff. 2020-06-01 15:40:00 -07:00
Adam Ierymenko
1003455160
Cleanup. 2020-05-31 15:30:24 -07:00
Adam Ierymenko
20ae12d385
Clean up some NAT traversal code, modify algorithm to eliminate the need for toggle-able options. 2020-05-31 15:11:47 -07:00
Adam Ierymenko
dcc686a3a7
Docs, YAGNI removal, use locator endpoints in peer contact attempts. 2020-05-31 06:47:56 -07:00
Adam Ierymenko
89c27c112a
Flesh out tests, fix a signing bug. 2020-05-30 19:08:45 -07:00
Adam Ierymenko
3621fe8897
Some AES cleanup and include controller with Go build. 2020-05-30 17:03:12 -07:00
Adam Ierymenko
33269cd29d
Some CGo fixes. 2020-05-30 12:07:52 -07:00
Adam Ierymenko
1970dab13d
Move some toString/fromString to C++ since any ZT code base would need it, and stub out the controller commands. 2020-05-30 11:42:59 -07:00
Adam Ierymenko
a5390b1bc8
Plumb new locator code through to Go, fix some cgo issues, fix some compiler warnings. 2020-05-29 10:16:38 -07:00