Michał Zieliński
344a25c133
Run as nonroot user on Linux (with CAP_NET_ADMIN and CAP_NET_RAW added).
...
- ZT will only drop root privileges if zerotier-one user exists. It is created by
Debian postinst script - in other cases the user has to be created by administrator.
- Linux >=4.3 with ambient capabilities is required, otherwise ZT will silently
- "-U" option now also disables privileges dropping
10 years ago
Adam Ierymenko
eebcf08084
Tweaks to new Path code for dual-stack operation, and other fixes.
10 years ago
Adam Ierymenko
ded5a53a6c
Documentation updates, add rules engine revision to network config request meta-data.
10 years ago
Adam Ierymenko
2cdda38dc4
It basically works... at least on current controllers.
10 years ago
Adam Ierymenko
8e3463d47a
Add length limit to TEE and REDIRECT, and completely factor out old C json-parser to eliminate a dependency.
10 years ago
Moritz Warning
bcdd158ad8
C++11 requires a space between literal and string macro
10 years ago
Adam Ierymenko
7918b26f65
Hack settings into old CLI.
10 years ago
Adam Ierymenko
7e68791bee
Fix include for system json-parser.
10 years ago
Adam Ierymenko
68d950c344
Hack in zerotier-idtool to allow generation of vanity addresses.
10 years ago
Ben Finney
c9d3f3ab96
Correct license grant to match “GPL v3 or later” grant in source.
10 years ago
Ben Finney
72797c25d5
Update copyright notice.
10 years ago
Ben Finney
ea6ce47345
Refactor the program name to a pre-processor directive.
10 years ago
Ben Finney
10855b451d
Refactor the copyright notice text to a pre-processor directive.
10 years ago
Ben Finney
3265b3594b
Refactor the license grant text to a pre-processor directive.
10 years ago
Adam Ierymenko
4e4fd51117
boring doc stuff
10 years ago
Adam Ierymenko
436c1fac1d
Selectively move over changes from "edge" to "dev" excluding netcon.
10 years ago
Adam Ierymenko
aa39b0dc24
Show paths as active or preferred in listpeers.
10 years ago
Adam Ierymenko
425d311ce8
Merge of netcon with edge and unification of make processes.
10 years ago
Adam Ierymenko
9169b6c999
Fix crash on exit in Windows (does not affect other OSes) and revert debugging tweak in Windows version that prevented service from starting after real install.
10 years ago
Adam Ierymenko
0d9f33dc4f
Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch.
10 years ago
Adam Ierymenko
cae58f43f1
More World stuff, and mkworld.
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
80dc7fb675
Pick random port on -p0
11 years ago
Adam Ierymenko
facb009a1d
Add security notice to auto-update info in -h output, and fix a missing paren.
11 years ago
Adam Ierymenko
c826cec1d4
Bring back _winPokeAHole() to dynamically allocate firewall exception. Shouldn't be needed but seems to help on Windows 8.
11 years ago
Adam Ierymenko
8169b35482
Kill the devcon.exe dependency by dynamically loading cfgmgr32, newdev, and setupapi and using these functions directly.
11 years ago
Adam Ierymenko
2599b1bacc
Add CLI support for /explicit/urls (automatically outputs JSON in this case), and some cleanup.
11 years ago
Adam Ierymenko
a2690047bb
docs
11 years ago
Adam Ierymenko
b6698d8415
Ground work for reincorporating software updater for select platforms.
11 years ago
Adam Ierymenko
9682f50b15
Get rid of old _winPokeAHole() hack in one.cpp and use Advanced Installer to configure firewall rules (because we can now).
11 years ago
Adam Ierymenko
c76b9d1340
Respect user home directory copies of authtoken.secret or ~/.zeroTierOneAuthToken in CLI like we do in GUI wrappers.
11 years ago
Adam Ierymenko
086f21ed70
Refactor and simplify controller integration with JSON API and OneService.
11 years ago
Adam Ierymenko
27c5f04d68
Add -U option to skip root check and permit run as non-privileged user.
11 years ago
Adam Ierymenko
e2c65bf16a
Bring Windows service code up to date and into sync.
11 years ago
Adam Ierymenko
60f05518aa
(1) now builds and works on Linux, (2) fix a threading problem causing carsh on shutdown, (3) cleanup in selftest, re-enable Phy and Http tests.
11 years ago
Adam Ierymenko
8715242e7f
build fix
11 years ago
Adam Ierymenko
1f5700191f
zerotier-cli suspiciously working... that didn't hurt *too* badly.
11 years ago
Adam Ierymenko
c4c5fa63d1
Almost done with JSON parsing for tabular output.
11 years ago
Adam Ierymenko
13d5073e5b
CLI work and Makefile cleanup.
11 years ago
Adam Ierymenko
8333bf065e
Basic CLI working with JSON output. Now to parse and support old tabular form.
11 years ago
Adam Ierymenko
53cbe485f0
Some cleanup, and bite the bullet and go ahead and write a simple Http client. Need a cross-platform built-in one to do cli right.
11 years ago
Adam Ierymenko
4e5d2d2c72
Write a zerotier-one.port file to the home path to make CLI easy to write, and do a backward compatiable CLI in bash instead of as part of the executable.
11 years ago
Adam Ierymenko
21a7e774bb
Wire API auth token stuff.
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
91ca238163
Compile fixes.
11 years ago
Adam Ierymenko
33c8d3c50b
Compile fixes.
11 years ago
Adam Ierymenko
ea1859541c
More cleanup, and fix for the extremely unlikely case of identity collision.
11 years ago
Adam Ierymenko
f7b1437154
Putting the main binary back together...
11 years ago
Adam Ierymenko
a0f8685453
cleanup
11 years ago
Adam Ierymenko
8639538299
Rename One to OneService, create separate sources for other tools.
11 years ago