Grant Limberg
35f7bf2291
disable peer metrics in Central controller
2026-01-23 13:06:02 -08:00
Grant Limberg
ccb9a45d21
Remove extra verbose logging from controller
2026-01-23 11:53:06 -08:00
Grant Limberg
68a96344ed
Merge branch 'dev' into gl/ctl-pusub
2026-01-23 11:18:45 -08:00
Adam Ierymenko
67648579b5
Merge pull request #2549 from zerotier/1.16.1
...
1.16.1
2026-01-20 11:53:31 -05:00
Adam Ierymenko
fa601636aa
Merge branch 'dev' into 1.16.1
2025-12-22 18:20:59 -05:00
Adam Ierymenko
d2b4b6e91d
Add date to release notes.
2025-12-22 17:49:15 -05:00
Adam Ierymenko
a77009e4f0
notes
2025-12-22 16:50:13 -05:00
Chris Spiegel
9c2bd25d86
Add a couple entries to the release notes
...
The date still needs to be updated when this is actually released.
2025-12-22 12:50:02 -08:00
Adam Ierymenko
22b47f851e
1.16.1 Windows bump
2025-12-12 14:43:40 -05:00
Adam Ierymenko
2342926442
All version bumps but Windows.
2025-12-12 14:17:21 -05:00
Joseph Henry
458c5c9709
Merge pull request #21 from zerotier/joseph-henry-disable-http-debug
...
Disable debug logging for the HTTP API library
2025-12-01 14:34:32 -08:00
Joseph Henry
4f6b9038f1
Disable debug logging for the HTTP API library
...
This just quiets things down a little since the HTTP library produces so much verbose text.
2025-12-01 14:32:11 -08:00
Grant Limberg
2ba50f4544
set --provenance false on docker build to try and fix docker image creation issue
2025-11-12 16:17:03 -08:00
Grant Limberg
50daf9537b
controller build readme update
2025-11-11 18:40:58 -08:00
Chris Spiegel
20007a73df
Merge pull request #12 from zerotier/erase-after-unique
...
Ensure erase() is called after std::unique()
2025-11-10 12:45:36 -08:00
Joseph Henry
7f5850a943
Merge pull request #11 from zerotier/snprintf-into-self
...
Avoid using the same source and destination in snprintf()
2025-11-10 09:50:22 -08:00
Joseph Henry
8e5d81728f
Merge pull request #10 from zerotier/windows-bool-assign
...
Fix assignment vs comparison typo
2025-11-10 09:46:58 -08:00
Joseph Henry
300b05aaf0
Merge pull request #8 from zerotier/2152-disable-metrics
...
Allow metrics to be disabled
2025-11-10 09:39:43 -08:00
Joseph Henry
595a70c5ed
Remove old multipathMode setting
2025-11-10 09:38:59 -08:00
Grant Limberg
00dca6a2c0
Merge branch 'dev' into gl/ctl-pubsub
2025-11-06 10:01:11 -08:00
Chris Spiegel
9e53fe4b12
Avoid using the same source and destination in snprintf()
...
It's undefined to write to a buffer you're reading from in snprintf().
On modern glibc and musl versions, this results in the string
"/zerotier_dump.txt" being generated, i.e. in the root directory. Use a
new variable to hold the string dump.
This is done for MacOS as well. On Sequoia, at least, it's not
necessary, as it handles overlapping objects fine, but this is more
future-proof.
At the same time, include a specific error message when the dumpfile
can't be opened to help users track down problems. Also, truncate the
file so that new writes don't potentially leave stale data.
2025-11-06 08:28:33 -08:00
Chris Spiegel
fb162084f5
Fix assignment vs comparison typo
...
At the same time, ensure a newline is written after the error message.
2025-11-06 05:24:56 -08:00
Chris Spiegel
1d9f06d4ac
Disable metrics by default
2025-11-06 05:18:26 -08:00
Chris Spiegel
48311896f8
Allow metrics to be disabled
2025-11-06 05:17:57 -08:00
Chris Spiegel
616698fa91
Ensure erase() is called after std::unique()
...
Without this the duplicates are just moved to the end of the collection,
but not actually erased.
2025-11-06 05:15:48 -08:00
Chris Spiegel
b8e3ca6a2c
Merge pull request #7 from zerotier/2279-prometheus-after-daemonize
...
Stop and restart the Prometheus worker thread when daemonizing
2025-11-05 15:11:00 -08:00
Chris Spiegel
f231561276
Stop and restart the Prometheus worker thread when daemonizing
...
Also use _Exit() instead of returning from main() to avoid duplicate
cleanup/flusing/etc.
2025-11-05 14:15:47 -08:00
Joseph Henry
ce5556a677
Merge pull request #4 from zerotier/dev-merge-from-public-repo
...
Dev merge from public repo
2025-11-04 15:26:05 -08:00
Joseph Henry
8d4cb1e05b
Merge pull request #2535 from cspiegel/uninitialized-vars
...
Ensure members in PacketMultiplexer are initialized
2025-11-03 14:21:34 -08:00
Chris Spiegel
45773f0b6e
Ensure members in PacketMultiplexer are initialized
...
_enabled is set to true by setUpPostDecodeReceiveThreads(), so disabled
until then, but the constructor wasn't initializing it. _concurrency is
not being used before being set but for safety's sake, ensure it has a
starting value as well.
Also, remove the vestigial _rxThreadCount, which is no longer used.
2025-11-03 11:20:01 -08:00
Grant Limberg
5c27068b80
Enable cross-service propagation of otel trace metadata
2025-10-30 13:47:50 +01:00
Grant Limberg
30c4484731
Set ordering key on pubsub message publishing.
2025-10-27 11:01:36 +01:00
Grant Limberg
c21ff23477
Added some more logging to the ctl around deauths
2025-10-27 09:44:36 +01:00
Grant Limberg
76ba89060b
ensure change source is controller if otherwise unset
2025-10-09 16:29:43 -07:00
Grant Limberg
77aa8c7bf8
missed one
2025-10-09 15:47:34 -07:00
Grant Limberg
bf0fe2c09a
these should be empty json arrays, not just "[]".
...
Actually these *should* be structs, not filling out json. Adding this to the tech debt backlog
2025-10-09 15:39:40 -07:00
Grant Limberg
19ccc98f91
more variations on checking json
2025-10-09 15:28:48 -07:00
Grant Limberg
e3f65ff359
compiler fix
2025-10-09 15:02:16 -07:00
Grant Limberg
47367673f9
more robustifying incoming messages
2025-10-09 14:47:25 -07:00
Grant Limberg
46a8cd7b67
robustify the handling of tags/capabilities/rules which are strings of encoded json
2025-10-09 14:39:46 -07:00
Grant Limberg
946d96f482
dont NACK failed messages. That gets us into a loop of failing the same messages over and over again
2025-10-09 14:34:24 -07:00
Grant Limberg
b92fb93f8f
Merge branch 'dev' into gl/ctl-pubsub
2025-10-06 16:55:28 -07:00
Grant Limberg
6b74bf289a
fix assign mode json
2025-10-06 15:10:42 -07:00
Grant Limberg
fe221b9359
debug output for IP addressing & fixing order of operations in a couple of places. Only send notification of a change to pubsub after it's been written to the DB
2025-10-06 14:24:57 -07:00
Luke Souter
ab75985766
Merge pull request #2511 from zerotier/update-readme
...
Shorten/clean README.md. Split README into a few separate, including BUILD. Correctly references licensing information.
2025-10-02 16:05:05 -07:00
Grant Limberg
6df7366753
no need for these timeouts
2025-10-02 16:00:08 -07:00
Grant Limberg
1ef7ea0fe6
Fixing more JSON issues
2025-10-02 15:04:57 -07:00
Grant Limberg
18714c7785
add explicit nack if there's an error processing a pubsub message
2025-10-02 11:56:44 -07:00
Grant Limberg
a75d06ad64
cleaning up some gross JSON code
2025-10-02 11:35:03 -07:00
Grant Limberg
4861b7df1e
one last json parsing fix. but really this time
2025-10-01 17:18:31 -07:00