Pablo Hinojosa
a9778549f2
Warn about invalid network id instead of help
8 years ago
Grant Limberg
1bec8ddce4
Better error messages when the ZeroTier service can't be contacted
...
Fixes #681
8 years ago
Grant Limberg
4878d8ec15
Add CAP_NET_BIND_SERVICE to capabilities
8 years ago
Adam Ierymenko
f3dfd63634
Clean up some old stuff.
8 years ago
Joseph Henry
57077e4607
Added (get) command blurb in cli help
8 years ago
Joseph Henry
98b07f7f3c
Added (get) command to cli to single out JSON fields
8 years ago
Adam Ierymenko
65c07afe05
Copyright updates for 2018.
8 years ago
Adam Ierymenko
9c7ee5a21e
Tear out old "link quality" stuff since it is not currently used and will be done differently.
8 years ago
Adam Ierymenko
249c27afd5
Fix old bug invoking idtool personality with -i
8 years ago
Grant Limberg
b1d60df44c
timestamps changed from uint64_t to int64_t
...
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.
9 years ago
Adam Ierymenko
d2415dee00
Cleanup.
9 years ago
Adam Ierymenko
355cce3938
Rename Utils::snprintf due to it being a #define on one platform.
9 years ago
Adam Ierymenko
fb71a6e2b4
skipRootCheck should also prevent dropping of privs on Linux
9 years ago
Adam Ierymenko
1b68d6dbdc
License header update.
9 years ago
Adam Ierymenko
aaf597f020
Cleanup, Windows fixes, Self test fix
9 years ago
Adam Ierymenko
78ef2c5f16
Windows build fixes, app about text revisions.
9 years ago
Adam Ierymenko
c6a39ed927
Fixes for possible ARM issues, cleanup, fix for spurious meaningless exceptions on NETWORK_CONFIG_REQUEST
9 years ago
Adam Ierymenko
533baf921f
Software update cleanup, and a fix for updates on Windows.
9 years ago
Adam Ierymenko
6d6719da27
Clarify key semantics.
9 years ago
Adam Ierymenko
20085cd15b
No need to put time in .moon filename.
9 years ago
Adam Ierymenko
1d39be61b2
ZeroTier now has link quality measurement. We are not using this yet but decided to put it in to prep for future QoS support and SD-WAN stuff.
9 years ago
Adam Ierymenko
b989c03416
Fix build on Linux if PR_CAP_AMBIENT is not defined, which is the case for some libc-dev installs.
9 years ago
Adam Ierymenko
3361b4030b
Integrate and test linux privilege drop code (from contributor PR). It works now if a "zerotier-one" user is present on a Linux system. Does everything automagically.
9 years ago
Adam Ierymenko
0052877d2f
Add CLI shortcuts for adding federated roots.
9 years ago
Adam Ierymenko
c95bae2d73
Small fixes to moon-management code in CLI.
9 years ago
Adam Ierymenko
88cba48f45
Eliminate warning.
9 years ago
Adam Ierymenko
5fa1d9796c
zerotier-idtool commands to init and generate moons
9 years ago
Adam Ierymenko
77a1dd4737
Dead code removal, fix minor issue in upstream endpoint check.
9 years ago
Adam Ierymenko
d79f792e6f
OpenBSD fixes, workaround for apparent libstdc++ bug.
9 years ago
Adam Ierymenko
1346e31a8e
Windows build fixes, Software update fix, warning removal.
9 years ago
Adam Ierymenko
a064e19b8a
Refactor some JSON stuff for performance, and fix a build error.
9 years ago
Adam Ierymenko
890f6f0d35
Make allow management from a local.conf parameters.
9 years ago
Adam Ierymenko
ccdd4ffda7
Move split() to OSUtils since it is not used in core.
9 years ago
Adam Ierymenko
b6c99ba3ef
Add (currently undocumented) option to allow management from certain networks.
9 years ago
Grant Limberg
8ffae313fd
add new files & remove old ones from VS project. Now builds & runs on Windows again
10 years ago
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