Grant Limberg
4aea588eef
fixes for otel in non-controller build
2025-07-16 12:57:18 -07:00
Grant Limberg
4b6ff77fea
nevermind. Just use OTEL_SERVICE_NAME
2025-07-15 10:35:27 -07:00
Grant Limberg
a0cc7babdf
set service.name iff it's not set by the OTEL_SERVICE_NAME
env var
2025-07-15 10:24:18 -07:00
Grant Limberg
cf77a6a805
set service.name iff it's not set by the environment
2025-07-15 10:08:46 -07:00
Grant Limberg
b3da8d9aa1
don't specify service.name so we can override it
2025-07-15 09:53:53 -07:00
Grant Limberg
d8272b7370
remove define
2025-07-15 09:06:47 -07:00
Grant Limberg
5329326591
batch tracing spans instead of sending them all individually
2025-07-15 09:06:12 -07:00
Grant Limberg
9b31fe1e98
fix build
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-14 20:38:47 -07:00
Grant Limberg
0ae551a970
more fun setting up tracing
2025-07-14 20:32:34 -07:00
Grant Limberg
8e733ff0da
definition fix
2025-07-14 17:50:44 -07:00
Grant Limberg
52b6355a54
logging & config update
2025-07-14 17:27:36 -07:00
Grant Limberg
0e87c21d87
began instrumentation of http control plane and controller
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-12 12:43:57 -07:00
Grant Limberg
2c2574e182
instantiate and configure otel for controllers
2025-07-12 12:12:25 -07:00
Adam Ierymenko
e22c80dce6
Merge branch 'dev' into dev-extosdep
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-08 16:41:46 -04:00
Adam Ierymenko
4efd206dd4
build fix
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-03 19:14:39 -04:00
Adam Ierymenko
69de477d0b
Merge branch 'dev' into dev-extosdep
...
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
# Conflicts:
# controller/DB.hpp
# controller/DBMirrorSet.cpp
# controller/DBMirrorSet.hpp
# controller/EmbeddedNetworkController.cpp
# controller/FileDB.cpp
# controller/FileDB.hpp
# controller/LFDB.cpp
# controller/LFDB.hpp
# controller/PostgreSQL.cpp
# controller/PostgreSQL.hpp
# node/Metrics.cpp
# node/Metrics.hpp
# osdep/EthernetTap.cpp
# osdep/Http.hpp
# osdep/ManagedRoute.cpp
# service/OneService.cpp
2025-07-03 14:14:04 -04:00
Adam Ierymenko
5eb3cd2699
clang-format this branch to match dev
2025-07-03 14:10:44 -04:00
Adam Ierymenko
ba2a4a605c
clang-format
2025-07-03 11:26:23 -04:00
Joseph Henry
cd191778c2
Add custom management plane for 3rd party vendors
2025-02-26 10:27:23 -08:00
Joseph Henry
5ce3d1e7a1
Fix for low-bandwidth mode
2024-09-13 09:46:36 -07:00
Adam Ierymenko
a0acc82e99
1.14.1 ( #2362 )
...
* Bump version in most places.
* Update official release steps for desktop
* Version bump a bunch of Rust packages.
* Windows fix for disabling MT properly.
* Release notes.
2024-09-12 18:48:34 -04:00
Adam Ierymenko
6bc785e771
Merge branch 'dev' into jh-zerotier-multithreaded
2024-09-10 13:10:45 -04:00
Joseph Henry
8f5cc4ed33
Completely remove vestigial RX code
2024-09-06 15:19:06 -07:00
Joseph Henry
059d05f41f
Comment out vestigial test code (improves mt performance)
2024-09-06 09:52:39 -07:00
Joseph Henry
c86b91c5f0
Fix condition where settings may be applied with multithreading is disabled
2024-09-04 12:14:20 -07:00
Joseph Henry
e42848d37d
Fix bug for when no multithreaded config is given
2024-09-04 11:00:23 -07:00
Joseph Henry
bf7dddbd84
Fix issues that prevent user multipath preferences from being respected
2024-08-29 10:09:19 -07:00
Joseph Henry
b813ea70a5
Simplify packet critical path. Plus more platform fixes
2024-08-22 12:59:06 -07:00
Joseph Henry
e734019216
More platform-related build fixes
2024-08-21 14:06:25 -07:00
Joseph Henry
b1a30ae4ff
Switch to local.conf-based config of multithreading
2024-08-20 13:39:15 -07:00
Joseph Henry
8283a6d6d4
Merge branch 'dev' into jh-zerotier-multithreaded
2024-08-18 15:08:42 -07:00
Joseph Henry
36adae3d82
Add packet multiplexer
2024-08-18 15:07:18 -07:00
Joseph Henry
64634c916c
Fix build for macOS, tune to prevent packet re-ordering
2024-07-03 08:49:07 -07:00
Adam Ierymenko
1982071d46
1.14.0 version bump for Linux and macOS, date update.
2024-03-19 14:38:48 -07:00
travisladuke
b4eb39fb16
feat: static file server
...
this lets you host web apps out of
:9993/app/{app_name}
:9993/app/{other_app}
from $ZT_HOME/app/{app_name}
2024-03-13 12:39:21 -07:00
Joseph Henry
d658c1187c
Fix crash when multipath is used with forceTcpRelay
2024-03-05 10:44:55 -08:00
Joseph Henry
1f4c00c7b5
Improve CLI error message for write permission failures
2024-03-05 00:14:56 -08:00
Joseph Henry
bbe97dd080
Improve CLI error handling for setmtu command
2024-03-05 00:13:07 -08:00
Joseph Henry
9724e04e6e
Improve CLI error handling when showing non-existent bond
2024-03-04 23:23:14 -08:00
Joseph Henry
2e6cda38f6
Port multipath improvements to newer version
2024-03-01 15:43:28 -08:00
travisladuke
768c6242cd
Add homeDir to info json
...
Want to show it in UIs. So need to get it via API.
It's also a pain to look up. You have to go to external docs.
zerotier-cli info -j
```json
"config": {
"settings": {
"allowTcpFallbackRelay": true,
"forceTcpRelay": true,
"homeDir": "/Library/Application Support/ZeroTier/One",
```
2024-02-29 10:44:59 -08:00
Joseph Henry
683d332abc
Add multi-core concurrent packet processing
2024-02-23 09:57:39 -08:00
travisladuke
5542dbcc0b
Fix random port rebinding
...
It was checking for "offline" every loop.
But the port rebinding happens only ever X
loops. So the port would keep changing before it
would get bound.
2024-02-01 14:39:54 -08:00
travisladuke
e1f1d05e08
Improve time to reconnect to peers.
...
When you move between physical networks.
Just moved some timings around basically.
2023-09-06 16:26:27 -07:00
Joseph Henry
7637ef10d7
Fix primary port binding issue in 1.12 ( #2107 )
...
* Add test for primary port bindings to validator - See #2105
* Add delay to binding test
* Remove TCP binding logic from Binder to fix #2105
* add second control plane socket for ipv6
* fix controller network post endpoint
* exit if we can't bind at least one of IPV4 or IPV6 for control plane port
---------
Co-authored-by: Grant Limberg <grant.limberg@zerotier.com>
2023-08-25 12:51:33 -04:00
Joseph Henry
b8b5d0bff8
Add setmtu command, fix bond lifetime issue
2023-08-15 12:59:58 -07:00
Joseph Henry
a15883d49b
Catch all conditions in switch statement, remove trailing whitespaces
2023-08-15 08:54:05 -07:00
travisladuke
b071d6bbec
Don't apply default route until zerotier is "online"
...
I was running into issues with restarting the zerotier service while
"full tunnel" mode is enabled.
When zerotier first boots, it gets network state from the cache
on disk. So it immediately applies all the routes it knew about
before it shutdown.
The network config may have change in this time.
If it has, then your default route is via a route
you are blocked from talking on. So you can't get the current
network config, so your internet does not work.
Other options include
- don't use cached network state on boot
- find a better criteria than "online"
2023-08-11 10:13:34 -07:00
Brenton Bostick
e36127283c
Fix typos ( #2075 )
2023-08-01 08:53:55 -07:00
Joseph Henry
230ae6bd16
Fix reporting of secondaryPort and tertiaryPort See: #2039
2023-07-31 20:44:16 -07:00