summaryrefslogtreecommitdiff
path: root/service/OneService.cpp
AgeCommit message (Collapse)Author
2018-02-16Add HashiCorp Vault storage of ZeroTier's public & secret identityGrant Limberg
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
2018-02-16Hooks into StateGet and StatePut for grabbing identity.secret from VaultGrant Limberg
2018-02-16Add Vault configuration option parsing to local.confGrant Limberg
{ "settings": { ... "valut": { "vaultURL": "...", "vaultKey": "...", "vaultPath": "..." } } }
2018-02-08Added platform checks for Windows in OneServiceJoseph Henry
2018-01-26Clean up some old stuff.Adam Ierymenko
2018-01-25More useful to allow arrays of IPs to bind to.Adam Ierymenko
2018-01-25Add bindToWildcard local.conf option.Adam Ierymenko
2018-01-11Remove old code.Adam Ierymenko
2018-01-11Fixes for lock ordering -- GitHub issue #573Adam Ierymenko
2018-01-10Added allowTcpFallbackRelay to local.conf, fixed logic in Binder's route ↵Joseph Henry
enumeration
2018-01-09Attempted fix for ticket #656 (failes to acknowledge physical blacklists)Joseph Henry
2018-01-09Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into devJoseph Henry
2018-01-09Cleaned up old code for attempted fix for ticket #600Joseph Henry
2018-01-09Allow trusted paths over global IPs for legacy config format too.Adam Ierymenko
2018-01-08Copyright updates for 2018.Adam Ierymenko
2018-01-08Merge branch 'dev' of http://10.6.6.2/zerotier/ZeroTierOne into devAdam Ierymenko
2018-01-08Tear out old "link quality" stuff since it is not currently used and will be ↵Adam Ierymenko
done differently.
2018-01-05Commented out block which ignores added routes if there already exists an IP ↵Joseph Henry
in the route's range. Attempted fix for #600
2017-12-15Some micro-optimizations, including a memcpy that is faster than Linux for ↵Adam Ierymenko
most distro/compiler versions.
2017-11-27Fix for local.conf virtual path blacklist (ticket #594)Joseph Henry
2017-11-07Merge branch 'dev' into edgeAdam Ierymenko
2017-11-06Minor changes to SDK-related portions of OneServiceJoseph Henry
2017-11-03RethinkDB fixes.Adam Ierymenko
2017-10-25Clean peers.d periodically and delete peers older than 30 days.Adam Ierymenko
2017-10-10ifdef omit of deletePersistentTapDevice() in OneService for libzt builds on ↵Joseph Henry
Windows
2017-10-05If lastSend/lastReceive is < 0, just put 0.Grant Limberg
2017-10-04remove some leftover debug codeGrant Limberg
2017-10-02timestamps changed from uint64_t to int64_tGrant Limberg
There were cases in the code where time calculations and comparisons were overflowing and causing connection instability. This will keep time calculations within expected ranges.
2017-09-01Add UDP MTU configurability.Adam Ierymenko
2017-08-24Fix HTTP DELETE stupid bug.Adam Ierymenko
2017-08-23Fix name difference.Adam Ierymenko
2017-08-23Implement peer serialization and deserialization.Adam Ierymenko
2017-08-18Reduce TCP relay latency -- see GitHub issue #564Adam Ierymenko
2017-08-15Rename SocketTap to VirtualTap to prevent confusion on roleJoseph Henry
2017-08-10Added getRoutes() for libztJoseph Henry
2017-07-19Bug fixes in new harness mode.Adam Ierymenko
2017-07-14Plumbing through of remote trace into controller code.Adam Ierymenko
2017-07-13More tracing stuff.Adam Ierymenko
2017-07-06Windows build fixes.Adam Ierymenko
2017-07-06Cleanup.Adam Ierymenko
2017-07-06Pull out and deprecate old cluster code. New cluster code will not be merged ↵Adam Ierymenko
yet.
2017-07-06.Adam Ierymenko
2017-07-06.Adam Ierymenko
2017-06-30.Adam Ierymenko
2017-06-27Rename Utils::snprintf due to it being a #define on one platform.Adam Ierymenko
2017-06-23Merge branch 'edge' into devAdam Ierymenko
2017-06-23Merge branch 'dev' of http://10.6.6.2/zerotier/ZeroTierOne into devAdam Ierymenko
2017-06-07Build fix, use -Os on Linux too.Adam Ierymenko
2017-06-06Last bit of new cluster code, ready to test.Adam Ierymenko
2017-06-05.Adam Ierymenko