Adam Ierymenko
209f6d9d2d
Merge branch 'dev' into edge
8 years ago
Adam Ierymenko
916077012e
Make sure fopen is in binary mode on Windows.
8 years ago
Adam Ierymenko
beb170e4fb
Use X64 ASM ed25519 signatures on Linux/x64, which are about 10X faster. Will matter a lot for network controllers, not so much for other things.
8 years ago
Adam Ierymenko
a59912f3af
SHA512 using libcrypto (not enabled by default)
8 years ago
Adam Ierymenko
610e594a50
Speed tweaks for signatures, etc.
8 years ago
Joseph Henry
b4e2547052
Minor tweak to QNAP path getter
8 years ago
Adam Ierymenko
b601041b5b
Merge branch 'edge' of http://10.6.6.2/zerotier/ZeroTierOne into edge
8 years ago
Adam Ierymenko
0945d6ec0d
Merge branch 'dev' into edge
8 years ago
Adam Ierymenko
78d9cee416
Other fixes to IPv4 ad-hoc networks.
8 years ago
Adam Ierymenko
bbdb2aa672
Some work on IPv4 enabled ad-hoc networks.
8 years ago
Adam Ierymenko
574b24c082
docs
8 years ago
Adam Ierymenko
874a187c7f
cleanup
8 years ago
Adam Ierymenko
e8fb443313
Forgot one other use in RethinkDb driver.
8 years ago
Adam Ierymenko
57b96af2c4
Fix for FileDB _networkChanged / _memberChanged problem.
8 years ago
Grant Limberg
e61d4ab67a
Merge branch 'dev' into edge
8 years ago
Grant Limberg
2ee358dbfc
TAP driver requires input and output buffers for calls passed into DeviceIoControl
...
Otherwise the driver returns STATUS_INVALID_PARAMETER and the call fails. This should fix some Multicast issues on Windows
8 years ago
Joseph Henry
e3bb67d188
Added debug output convenience macros
8 years ago
Grant Limberg
2d289a3308
Just a little cleanup
8 years ago
Grant Limberg
bdb2cc7c85
Linux: link system libcurl when compiling with ZT_VAULT_SUPPORT=1
...
Requires libcurl and development headers to be installed
8 years ago
Grant Limberg
7793060723
Add HashiCorp Vault storage of ZeroTier's public & secret identity
...
Adds a "vault" section to local.conf. Example local.conf:
{
"config": {
"vault": {
"vaultURL": "https://some.vault.host:8200 ",
"vaultToken": "my-super-secret-vault-token",
"vaultPath": "secure/place/to/put/identity"
}
}
Additionally, the following environment variables can be set. Environment variables override local.conf:
VAULT_ADDR
VAULT_TOKEN
VAULT_PATH
Identities will be placed in the keys "public" and "secret" under the user specified path. If no path is specified, they will be placed in the token specific cubbyhole.
If identity.public and identity.secret exist on disk and vault is configured, they will be automatically added to Vault and removed from disk.
TODO:
* Decide behavior for if Vault cannot be reached.
* Add libcurl as a dependency in Linux & Mac builds
* Add libcurl as a requirement for linux packages
8 years ago
Grant Limberg
84302ae9c7
Add CURL libs to VC project
8 years ago
Grant Limberg
cd801b96fa
libcurl binaries for Windows
8 years ago
Grant Limberg
5ff0653f9e
Hooks into StateGet and StatePut for grabbing identity.secret from Vault
8 years ago
Grant Limberg
9574d635c1
Add Vault configuration option parsing to local.conf
...
{
"settings": {
...
"valut": {
"vaultURL": "...",
"vaultKey": "...",
"vaultPath": "..."
}
}
}
8 years ago
Grant Limberg
1bec8ddce4
Better error messages when the ZeroTier service can't be contacted
...
Fixes #681
8 years ago
Grant Limberg
f9b07c63db
Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into dev
8 years ago
Grant Limberg
8828fc7520
some JNI error checking
8 years ago
Adam Ierymenko
978d8fcd4a
Merge branch 'dev' of http://10.187.63.16/zerotier/ZeroTierOne into dev
8 years ago
Adam Ierymenko
51aadcf901
A few fixes dicatated by valgrind.
8 years ago
Joseph Henry
db952a050a
Added platform checks for Windows in OneService
8 years ago
Grant Limberg
f049740ae5
silence LOGV and LOGD in release builds for android
8 years ago
Adam Ierymenko
c6949aad2d
Linux build fix on some versions.
8 years ago
Adam Ierymenko
82f383be43
A few other make changes.
8 years ago
Adam Ierymenko
26aaf253ac
Allow us to build a semi-dynamic official binary that works back to CentOS 6, at least on x64, and is very fast since we can build it with newer clang or icc.
8 years ago
Adam Ierymenko
51715376bf
Use Intel icc if available on Linux.
8 years ago
Adam Ierymenko
ff95b0278c
Merge branch 'dev' of http://10.6.6.2/zerotier/ZeroTierOne into dev
8 years ago
Adam Ierymenko
fe1fa20c6c
Fix build on Intel C/C++ Compiler for Linux.
8 years ago
Joseph Henry
a867fe404b
Omit pragma comment for ZT_SDK builds on Windows
8 years ago
Adam Ierymenko
d6e8a5f3ca
Fix Windows compile error.
8 years ago
Grant Limberg
4878d8ec15
Add CAP_NET_BIND_SERVICE to capabilities
8 years ago
Adam Ierymenko
f7019d9e80
Tie up the rest of hub and spoke designated replicator multicast mode.
8 years ago
Adam Ierymenko
6d8e1e8783
More cleanup of old stuff.
8 years ago
Adam Ierymenko
939ab43ceb
Do not send to origin in second buffered multicast path.
8 years ago
Adam Ierymenko
d3d58ba8a7
Add support for designated multicast replicators to Multicaster::send().
8 years ago
Adam Ierymenko
f03fd57997
Clean up some multicast code.
8 years ago
Adam Ierymenko
e74cd4b4ef
A little more cleanup.
8 years ago
Adam Ierymenko
f3dfd63634
Clean up some old stuff.
8 years ago
Adam Ierymenko
5f5302e595
More useful to allow arrays of IPs to bind to.
8 years ago
Adam Ierymenko
125ec622ca
Add bindToWildcard local.conf option.
8 years ago
Adam Ierymenko
384e5b66de
More work on GitHub issue #666
8 years ago