Adam Ierymenko
b03c7b2f30
Refactor controller to use split-out DB for better performance and less ugly.
10 years ago
Grant Limberg
965399ba0c
fix a few warnings
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
Grant Limberg
e59ed3e68f
Fix size of neighbor solicitation struct
10 years ago
Grant Limberg
69c5976775
fix typo in assert size
10 years ago
Adam Ierymenko
0843ed62fa
Network delete fix.
10 years ago
Grant Limberg
d817039f79
Add IPv6 Neighbor Discovery code. Not yet tested.
10 years ago
Adam Ierymenko
2fc3d12fb6
Minor tweaks to member code in controller, and fix Linux build.
10 years ago
Adam Ierymenko
24fce0be86
No, definitely have to back out GitHub issue #385 (non-bisected routes) since this breaks IPv6 on OSX and probably IPv4 too if you were to encounter a 6-only situation.
10 years ago
Adam Ierymenko
8d0b2b781e
Route management bug fixes.
10 years ago
Adam Ierymenko
5b6d27e659
Implement relay policy, and setting multicast limit to 0 now disables multicast on the network as would be expected.
10 years ago
Adam Ierymenko
ced8dfc639
Try a version of GitHub issue #385 (non-bifurcated default if not present) on Mac. This version adds the bifurcated routes always but also adds a device-specific non-bifurcated route. Will have to see if this still interferes with OSX route settings, since by definition device specific routes should not conflict with general routes.
10 years ago
Adam Ierymenko
34b146f28b
Back out of GitHub issue #385 for now and maybe for this release. Would be nice but it is non-critical and rules are the priority. Current implementation bangs heads with OSX route assignment on WiFi join, etc.
10 years ago
Adam Ierymenko
fb46a546db
Just always do route bifurcation on Linux for now... basically the old behavior.
10 years ago
Adam Ierymenko
d23ade879b
Do not bifurcate if not replacing an existing route. (Still need to tie up Linux and Windows.)
10 years ago
Adam Ierymenko
b08ca49580
More controller work -- it builds!
10 years ago
Adam Ierymenko
22e44c762b
More rules engine work: key/value pair matching for microsegmentation.
10 years ago
Adam Ierymenko
13100b245c
Fix for running under MUSL libc (e.g. Alpine Linux)
10 years ago
Adam Ierymenko
ebe7e15475
sys/sysctl.h is required on OSX and probably other BSD
10 years ago
Adam Ierymenko
23391ff9da
More OSX IPv6 fixes.
10 years ago
Adam Ierymenko
3f2b21ce71
Do not shadow our own route twice on Mac if there is no default route. (Fix for issue found during IPv6 default route override testing.)
10 years ago
Adam Ierymenko
912ee199ed
Tiny fixes to LinuxEthernetTap
10 years ago
Michael Aldridge
1a89694980
Remove explicit sys/sysctl.h includes
...
Explicitly including sys/sysctl.h breaks the ability to build
against muslc.
10 years ago
Adam Ierymenko
32d9850263
More new CLI work.
10 years ago
Adam Ierymenko
e2ca239be0
Comment cleanup.
10 years ago
Adam Ierymenko
4f237687ce
Route management now works on Windows, including default route override! 1.1.6 very close!
10 years ago
Adam Ierymenko
82473c85e0
Default route override and route management in general now works in Linux.
10 years ago
Adam Ierymenko
51ced0cf41
GitHub issue #338
10 years ago
Adam Ierymenko
6c4a444f29
GitHub issue #339
10 years ago
Adam Ierymenko
b2d048aa0e
Make Dictionary templatable so it can be used where we want a higher capacity.
10 years ago
Adam Ierymenko
3ee15e65aa
Tying up default route and route mgmt loose ends. It now periodically updates shadow routes so hopefully your link will stay up as you move around.
10 years ago
Adam Ierymenko
1bf1c38b30
Default route population works on Mac!
10 years ago
Adam Ierymenko
37afa876a7
Linux bug fixes, small controller fix.
10 years ago
Adam Ierymenko
2113c21fdc
devicemap now works again in OSXEthernetTap
10 years ago
Adam Ierymenko
f41ea24e97
Build fixes.
10 years ago
Adam Ierymenko
3c655a4b84
Default route ready to test on Mac.
10 years ago
Adam Ierymenko
b90e66f7c7
ManagedRoute, which applies C++ RAII to injected routes. Move RoutingTable to attic.
10 years ago
Adam Ierymenko
4446dbde5e
Big refactor in service code to prep for plumbing through route management.
10 years ago
Adam Ierymenko
536feb632c
Support yet another old version of http-parser for CentOS/EPEL.
10 years ago
Adam Ierymenko
7e68791bee
Fix include for system json-parser.
10 years ago
Adam Ierymenko
4da9d4e53a
Fix build against Debian version of libhttp-parser -- its old but it will work.
10 years ago
Adam Ierymenko
0ca764968a
Remove warnings, more Debian stuff, remove obsolete ui/ stuff.
10 years ago
Adam Ierymenko
c278f05181
RoutingTable build fixes.
10 years ago
Adam Ierymenko
61a9c27af0
Consolidate routing table code.
10 years ago
Adam Ierymenko
e9b2613d5f
Put routing table code back in osdep/
10 years ago
Adam Ierymenko
24469a7f43
.
10 years ago
Adam Ierymenko
504738b183
Binder for Windows, and use Binder to get local interface addresses to advertise.
10 years ago
Adam Ierymenko
32cd2a02c9
OneService now binds all ports to specific local interfaces instead of wildcard and rebinds on changes. (default route)
10 years ago
Adam Ierymenko
4a109658ab
More refactoring and prep for explicit interface bindings (for default route support).
10 years ago
Adam Ierymenko
d8b89b0c86
Fix Cluster to send from a designated endpoint address instead of wildcard.
10 years ago