Aaron Johnson
19d1de64ca
Fix: Restore backward compatibility for mixed-version networks
...
Restores the deprecated ENCRYPTED flag (0x80) that was removed between
1.14.2 and 1.16, fixing L2 multicast failures when 1.16 controllers
communicate through pre-1.16 moons.
- Move ZT_PROTO_FLAG_EXTENDED_ARMOR to unused bit 0x20
- Restore ZT_PROTO_FLAG_ENCRYPTED at 0x80
- Restore setCipher() backward compatibility code from 1.14.2
This ensures MULTICAST_GATHER responses can be relayed through older
moons, fixing ARP resolution in L2 networks with broadcastEnabled:true.
Fixes connectivity issues in mixed-version networks.
2025-08-15 10:29:06 -07:00
Grant Limberg
564d29e445
fix include
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-08-12 10:52:25 -07:00
Adam Ierymenko
ab208bb8f9
Make encrypted HELLO a local.conf setting -- 99.999999% of users do not need it and it introduces scalability problems on large controllers.
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-08-12 12:34:54 -04:00
Adam Ierymenko
eb422ddf08
Null out current LICENSE in prep for new
2025-08-12 10:30:07 -04:00
Adam Ierymenko
c668990b4d
Remove ancient unused LFDB code and change license notice in controller files.
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-08-11 17:19:05 -04:00
Adam Ierymenko
c21636b295
Remove moon comments from the CLI help. They still work but are not shown.
2025-08-11 13:22:39 -04:00
Adam Ierymenko
3cd413ed1f
Revert "Remove moons, phase I, and also fix usages of sprintf. These were safe but the function itself is considered unsafe and deprecated."
...
This reverts commit 8518d28dc4
.
2025-08-08 14:59:22 -04:00
Adam Ierymenko
8518d28dc4
Remove moons, phase I, and also fix usages of sprintf. These were safe but the function itself is considered unsafe and deprecated.
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-08-08 13:43:40 -04:00
Adam Ierymenko
52de8ff62d
docs
2025-08-08 13:22:23 -04:00
Adam Ierymenko
d3d738f93b
Remove antique software updater code. It has not been used in many years, is not something we intend to use, and might in theory be an attack vector if someone found a problem with it. Better for it not to be there.
2025-08-08 13:21:38 -04:00
Adam Ierymenko
f6d52dd96c
Rest -> MPL except controller.
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-08-06 12:16:44 -04:00
Adam Ierymenko
9aff094b6f
node/ -> MPL
2025-08-06 12:10:18 -04:00
Adam Ierymenko
41c4642a21
Fix otel includes in .clangd
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-08-05 11:32:17 -04:00
Adam Ierymenko
f319078694
Merge github/dev
2025-08-05 11:03:59 -04:00
Adam Ierymenko
a548c7ea71
Merge pull request #2482 from zerotier/otel
...
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
Add OpenTelemetry support in Central Controllers
2025-08-04 12:35:05 -04:00
Adam Ierymenko
6e34b192e3
cleanup
2025-08-04 11:09:06 -04:00
Lennon Day-Reynolds
969e8ff0ec
Merge pull request #2487 from zerotier/ldr/fix-windows-startup
...
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
Windows installer fixes
2025-07-31 15:11:57 -07:00
Adam Ierymenko
21986038be
cleanup
2025-07-31 11:09:09 -04:00
Adam Ierymenko
3eb7ed2892
Move controller/ into nonfree/controller and update references
2025-07-30 14:18:36 -04:00
Adam Ierymenko
2410389912
Merge remote-tracking branch 'github/dev' into adam/network-specific-relays
2025-07-30 13:26:05 -04:00
Joseph Henry
a8ead37312
Merge pull request #2491 from zerotier/fix/standardize-linkSelectMethod-naming
...
fix: standardize bond link selection method JSON field naming
2025-07-29 10:29:30 -07:00
Aaron Johnson
ecec45697b
fix: standardize bond link selection method JSON field naming
...
Adds support for "linkSelectMethod" as the JSON configuration field name
while maintaining backward compatibility with the legacy "activeReselect"
field name.
This change aligns the JSON field name with the internal API naming
convention (setLinkSelectMethod/getLinkSelectMethod) and follows the
established pattern in the codebase where JSON field names match their
corresponding setter method names.
The implementation:
- Checks for the new field name first, then falls back to the legacy name
- Emits a deprecation warning when "activeReselect" is used
- Ensures existing configurations continue to work without modification
Resolves terminology inconsistency identified in docs PR #263
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 10:32:40 -07:00
Adam Ierymenko
d51b82d0e6
Temporarily disable checks to always forward -- for testing.
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-18 14:26:19 -04:00
Lennon Day Reynolds
815c20c822
windows installer changes: add auto-startup shortcut for UI and auto-restart backend on failure
2025-07-17 15:22:30 -07:00
Adam Ierymenko
92838fa1b2
Controller support for "relays" field.
2025-07-17 17:04:07 -04:00
Grant Limberg
307c4ed4b6
network/member deletes work now
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
2025-07-16 16:35:28 -07:00
Grant Limberg
14c0ccc94c
trace attribs
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-16 13:12:00 -07:00
Grant Limberg
4aea588eef
fixes for otel in non-controller build
2025-07-16 12:57:18 -07:00
Grant Limberg
4c4a360469
udno
2025-07-16 12:09:21 -07:00
Grant Limberg
a0253a0970
argh
2025-07-16 12:03:01 -07:00
Grant Limberg
7662ffb64a
let's try saving things here
2025-07-16 11:55:21 -07:00
Grant Limberg
9375c48e33
one more addDB update
2025-07-16 11:16:06 -07:00
Grant Limberg
5494c44a30
let's try this
2025-07-16 11:13:53 -07:00
Grant Limberg
3f19712178
inheritence mess cleanup
2025-07-16 10:40:29 -07:00
Grant Limberg
4a15671e84
Merge branch 'dev' into otel
2025-07-16 10:12:54 -07:00
Grant Limberg
51b2f284f0
call DB::eraseNetwork when it should be
...
One of those i'm not sure how this ever worked situations
2025-07-16 09:05:54 -07:00
Adam Ierymenko
055be92ef0
Plumb through attaching network ID to packet sends.
2025-07-16 11:55:00 -04:00
Lennon Day-Reynolds
67c2336176
Merge pull request #2486 from zerotier/ldr/fix-validate-action
...
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
add 'apt update' to validation action
2025-07-15 14:32:12 -07:00
Lennon Day Reynolds
6667c57e89
add 'apt update' to validation action, as prior runs have started failing due to a stale package cache
2025-07-15 13:59:18 -07:00
Grant Limberg
4edeacd1f0
end cv1 spans before sleeps
/ build_macos (push) Waiting to run
/ build_windows (push) Waiting to run
/ build_ubuntu (push) Waiting to run
2025-07-15 12:11:10 -07:00
Grant Limberg
01bd4373b6
one more span change to end before a sleep
2025-07-15 11:26:02 -07:00
Grant Limberg
2db20f0a6c
move another span outside of a sleep
2025-07-15 11:12:14 -07:00
Grant Limberg
7934fef84c
end spans before thread waits
...
also removed some spans from the networks/members db watcher. Those will be 5 seconds long no matter what, and the underlying processes already have their own spans
2025-07-15 11:10:19 -07:00
Adam Ierymenko
58c80ff0ab
Add network ID to upstream lookup, cleanup, release notes for 1.16.
2025-07-15 13:54:10 -04: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