Grant Limberg
899352e384
Merge pull request #2607 from zerotier/dependabot-fixes
...
Fix Dependabot alerts: remove unused testcontainers, bump serde_with
2026-07-22 12:25:34 -07:00
Grant Limberg
ae0a91068c
Fix Dependabot alerts: remove unused testcontainers, bump serde_with
...
- Remove testcontainers/testcontainers-modules dev-dependencies, orphaned
since the rust-based pubsub removal (0f6378359 ). This drops tokio-tar
0.3.1 (CVE-2025-62518, PAX header desynchronization) and the rest of
the bollard/docker graph from the lockfile. Resolves alert #67 .
- Update serde_with 3.20.0 -> 3.21.0 (KeyValueMap serialization panic
on empty sequence/map entries). Resolves alert #68 .
2026-07-20 13:02:38 +02:00
Grant Limberg
5951981622
Merge pull request #2526 from zerotier/gl/ctl-pubsub
...
Add PubSub and BigTable support for Central hosted network controllers
2026-06-29 11:55:55 -07:00
Grant Limberg
1f6a1fd51f
Remove ZT_CONTROLLER=1 from makefile. No longer used to build central
...
controllers
2026-06-29 11:13:40 -07:00
Grant Limberg
edcc066d25
Add a SIGSEGV handler to print a stack trace for central controllers
...
Only enabled in the central controller builds. Trying to find more info
about some mystery controller restarts in prod
2026-06-26 13:33:07 -07:00
Grant Limberg
0797626b3e
Fix a potential crash on central controller shutdown
2026-06-26 13:32:09 -07:00
Grant Limberg
4bcff9d3e3
Fix the sso template for errors returned by IdP
...
Template was looking for {{networkId}} but that hadn't been populated
yet in the case where the IdP returned an error. This caused the
template parsing to crash and return its own error, disguising the error
from the IdP
2026-06-22 09:47:24 -07:00
Grant Limberg
64cc25baf6
bump actions to get rid of node warnings
2026-06-17 16:51:08 -07:00
Grant Limberg
8304ec79fe
update documentation for ConnectionPool
2026-06-17 16:39:32 -07:00
Grant Limberg
fcb016b9c1
standardize log formatting across the controller
2026-06-17 16:20:17 -07:00
Grant Limberg
75b51ec229
Ensure everything in nonfree/controller has the proper header comment
...
pointing to LICENSE.TXT
2026-06-17 13:50:44 -07:00
Grant Limberg
5640b82252
Update build.sh with build instructions
...
Also add presets for the BSDs
2026-06-17 13:39:22 -07:00
Grant Limberg
ab9efc722c
use the checkin timestamps for the cell timestamps in BigTable
2026-06-17 13:10:23 -07:00
Grant Limberg
4706ed9682
enable metrics by default for the central controller
2026-06-17 12:45:07 -07:00
Grant Limberg
bf426497b0
Conneciton pool update to a timed wait on connection pool exhaustion
...
More use of scoped RAII guard for connections where appropriate.
2026-06-17 10:54:57 -07:00
Grant Limberg
afd8a828df
fix printf, connection pool smart pointer semantics, wait for ready spin
...
lock -> notification, and double notify on erase
2026-06-17 10:17:51 -07:00
Grant Limberg
7192b65a2c
Correcting a few things
2026-06-17 09:59:20 -07:00
Grant Limberg
7be64c6bac
Concurrency hygene updates
2026-06-17 09:48:18 -07:00
Grant Limberg
4a517e2d27
status update batch delivery reliablilty
2026-06-17 09:33:07 -07:00
Grant Limberg
6f57a77c43
Better connection handling for postgres status writer
2026-06-17 09:20:44 -07:00
Grant Limberg
8271fcadf2
Pubsub devlivery reliability updates
2026-06-17 09:12:15 -07:00
Grant Limberg
111228128f
bugfixes
2026-06-17 08:46:15 -07:00
Grant Limberg
fd98e0baa3
Addressing comments
2026-06-17 08:08:21 -07:00
Grant Limberg
b6d5fb6fce
set vcpagkage baseline and remove comment with text windows doesn't like
2026-06-15 18:54:41 -07:00
Grant Limberg
c02c649cd3
more build updates.
...
removing openssl dependency (except on Linux where it's still necessary)
upgrade cpp-httplib
new cmake-presets
2026-06-15 18:51:24 -07:00
Grant Limberg
ace5352388
Bump cpp-httplib so it supports win32
2026-06-15 17:41:09 -07:00
Grant Limberg
deee555fbf
fix deps so that architecture is taken into account
2026-06-15 17:27:00 -07:00
Grant Limberg
404fa9b2f9
fix incompatible options on crypto files in windows
2026-06-15 16:59:49 -07:00
Grant Limberg
4988d53d0e
fix linking via CMake on Windows
2026-06-15 16:54:12 -07:00
Grant Limberg
14faaaa13e
update to use makefiles by default on *ix
2026-06-15 16:48:58 -07:00
Grant Limberg
8ae153b44c
Set thinkgs up for Windows in CMake
...
Also fixed a ZT_NONFREE issue
2026-06-15 16:22:17 -07:00
Grant Limberg
f1c6a64035
build fix
2026-06-15 13:46:15 -07:00
Grant Limberg
0e637a1de6
More linux/mac cmake cleanup
...
* Brewfile for homebrew dependencies on macos
* Pull & build google-cloud-cpp/otel via bootstrap script rather than
keeping it all in the ext/ subfolder.
* Update controller CI build with new steps
2026-06-15 12:59:32 -07:00
Grant Limberg
e09e7b5c9b
Fix PIC/PIE flags
2026-06-12 17:41:45 -07:00
Grant Limberg
052ea55636
bring CMake in line with make-linux/mac/bsd
2026-06-12 17:15:30 -07:00
Grant Limberg
378dd27361
main controller cmake file cleanup
2026-06-12 16:34:26 -07:00
Grant Limberg
a4904c97b0
Repo cleanup.
...
* Remove now dead separate CV1/CV2 implementations. Consolidated into
CentralDB.
* Remove smeeclient. No longer needed.
2026-06-12 16:23:04 -07:00
Grant Limberg
407bfdfd0b
fix pubsub flood on ctl startup
2026-06-10 16:45:29 -07:00
Grant Limberg
85eec45372
remove db check from onlineNotificationThread
2026-06-10 15:46:12 -07:00
Grant Limberg
fede9b9afb
better logging of commit thread ticks
...
shows whats happening on each
2026-06-10 15:44:05 -07:00
Grant Limberg
a3a45a75a7
Better data handling if a db write fails
2026-06-10 14:29:07 -07:00
Grant Limberg
a001eba98f
better closed connection handling to postgres
2026-06-10 14:05:46 -07:00
Grant Limberg
af7c882315
perf(controller): drop per-row BigTable reads in status writer
...
writePending() did a synchronous ReadRow per queued node to avoid
rewriting unchanged os/arch/version. With thousands of check-ins per
cycle that's thousands of sequential round-trips every 10s, and the read
was nearly pointless since last_seen and the IP cell are written every
cycle anyway.
Replace it with an in-process cache of the last-written node_info per
row (keyed by a 64-bit hash of the row key). node_info is emitted only
when changed, new, or past its refresh window; check_in is still written
every cycle. Failed rows are dropped from the cache so they're rewritten
next cycle, and stale entries are evicted (24h TTL). Net result: one
BulkApply per cycle, no read RPCs.
2026-06-10 13:28:40 -07:00
Grant Limberg
eec53a5866
Add handling sso networks for both CV1 & CV2 simultaneously
2026-06-02 14:54:55 -07:00
Grant Limberg
174130c080
More sso error logging & removing a few logs as well
2026-06-02 13:43:50 -07:00
Grant Limberg
f76e6b916c
This workflow does need to be removed from this branch.
...
once finally merged it'll be irrelevant.
2026-05-28 09:25:39 -07:00
Grant Limberg
3dffacc024
cargo fix
2026-05-28 09:12:38 -07:00
Grant Limberg
29f5464dbd
Merge branch 'dev' into gl/ctl-pubsub
2026-05-28 08:49:48 -07:00
Grant Limberg
346dc907a1
remove noisy log
2026-05-28 08:03:07 -07:00
Dimitriy Dade
a3b1a346c4
Merge pull request #2592 from zerotier/cv1
...
bringing back cv1 yaml
2026-05-27 16:23:53 -04:00
dimitriy-dade
9c2d5cd74c
bringing back cv1 yaml
2026-05-27 16:14:53 -04:00
Dimitriy Dade
fc5c3ec220
Merge pull request #2590 from zerotier/1.16.2
...
Merging 1.16.2 from Private to Public
2026-05-27 14:42:28 -04:00
dimitriy-dade
fe29cd8888
fixing changelogs as required by linux builds and version for Mac
2026-05-27 14:29:53 -04:00
Grant Limberg
b1427153aa
handle nulls for remote trace target
2026-05-27 07:52:25 -07:00
dimitriy-dade
2ed9b86852
updated workflows
2026-05-22 19:56:47 -04:00
dimitriy-dade
f87d5477f6
Merging 1.16.2 from Private to Public
2026-05-22 11:39:10 -04:00
countbinoculars
544809e738
Merge pull request #2588 from zerotier/dep-updates
...
Update some Rust dependencies
2026-05-21 15:53:07 -07:00
Chris Spiegel
d678338b28
Update some Rust dependencies
2026-05-21 15:21:38 -07:00
Grant Limberg
80f5e81d8c
ensure controller doesn't change assigned frontend
2026-05-19 11:09:02 -07:00
Grant Limberg
9a9a8c09c3
fix for missing field in json
2026-05-14 15:30:44 -07:00
Grant Limberg
ac20c320cf
update network.proto in line with CV1 and CV2
2026-05-14 13:07:13 -07:00
Grant Limberg
1c755845f0
align JSON keys between CentralDB and PubSub listener/writer
...
- Default enableBroadcast to true on load (initializeNetworks and _getNetwork) to match DB::initNetwork. Networks whose JSONB lacks the field now get broadcast on instead of off, which is the documented ZeroTier default.
- Stop overwriting networks_ctl.frontend on every UPDATE. It should remain whatever was set at INSERT. The early-exit guard already prevents cross-frontend writes from applying, so dropping the SET preserves correctness. Members are unaffected — they source frontend from the network row, not the change payload.
- Add enableBroadcast, creationTime, and revision to PubSubListener's network toJson. The protobuf carries them, but the listener was dropping them on inbound, which caused revision to reset on every PubSub-delivered network update.
- Rename member version keys to vMajor/vMinor/vRev/vProto in both PubSubListener (incoming) and PubSubWriter (outgoing). CentralDB, EmbeddedNetworkController, and the rest of the codebase already use these names; the listener/writer were the only sites using versionMajor/Minor/Rev/Protocol, so member version info was being silently dropped through PubSub in both directions.
- Pass newMember by const reference in ControllerChangeNotifier::notifyMemberChange to match notifyNetworkChange. Avoids a full JSON copy on every member notify.
- Remove duplicate nlohmann::json::parse call in RedisNetworkListener.
2026-05-13 11:01:39 -07:00
Grant Limberg
7b44e0a3a5
Fix json key inconsistency in pubsub writer
2026-05-13 10:40:02 -07:00
Grant Limberg
b79592c71f
Bugfix pass
...
ssoConfig checked wrong variable
DNS missing-branch wrote to input not output
SSO fields renamed to sso* and nested under ssoConfig (across CentralDB, DB defaults, migration_models)
Member identity populated into the right field; address = memberId
noAutoAssignIPs → noAutoAssignIps casing
Member version columns now SELECTed + populated (both sites)
removeTraceLevel typo in DB.cpp defaults
8. eraseMember uninitialized tmp2 — member deletes now actually delete
9. Connection leak on continue in both commit branches
10. Unsafe (uint64_t)config["revision"] cast → OSUtils::jsonInt
11. target = "NULL" literal text → std::optional<std::string> for real SQL NULL
~13 unsafe direct json→string casts → OSUtils::jsonString; dead vars removed from save(); change_source blocks use is_string() checks.
Heartbeat zadd literal "controllerId" → variable
Network revision double-increment removed
PubSub notifier now sees actual old state (DB query moved before INSERT in both branches)
_delete_network reads config["id"] instead of config["nwid"]
ip_assignments empty-string guards added at both sites (also closes G)
ensure last_modified is set on every write to networks & members
2026-05-13 10:28:15 -07:00
Grant Limberg
f0522a7cdb
fix a typo in some json handling that could be affecting an issue I'm tracking down
2026-05-08 10:58:05 -07:00
Grant Limberg
8c3a777108
addressing pr comments
2026-05-04 16:27:45 -07:00
Grant Limberg
23d395d781
change sso topic names for clarity
2026-04-30 09:41:24 -07:00
Grant Limberg
7b747aff3b
Merge pull request #2582 from zerotier/rust-dep-updates
...
Dependency update for rust deps
2026-04-27 11:54:32 -07:00
Grant Limberg
484d9e0d8c
cargo update
2026-04-27 11:31:02 -07:00
Grant Limberg
55aa87c372
Merge pull request #2577 from zerotier/cv1-schema-change
...
Handle a few incoming CV1 schema changes
2026-04-17 14:04:29 -07:00
Grant Limberg
aa586efbb5
query fix
2026-04-17 13:50:49 -07:00
Grant Limberg
0e8ec661c8
make sure subscribe pulls stay running
2026-04-11 13:42:44 -07:00
Grant Limberg
d2361a9a66
logging
2026-04-11 12:39:05 -07:00
Grant Limberg
910334c2a5
Fix silent PubSub message loss in controller subscription loop
...
The 10-second session.cancel() loop raced with in-flight acks — when
cancel fired while the GCP client was processing messages, acks were
lost before reaching the server. With message ordering enabled, an
unacked message blocks all subsequent messages on that ordering key,
causing silent stalls with no error output.
Two fixes:
- Replace the cancel/reconnect timer with a blocking session.get(),
storing the session future so the destructor can cancel on shutdown.
- Always ack messages even when onNotification fails — permanent errors
(bad protobuf, missing fields) will never succeed on retry and would
otherwise poison the ordering key indefinitely.
2026-04-11 09:30:21 -07:00
Grant Limberg
4ca5c9b820
fix poison pill blocking proccessing
2026-04-11 07:40:11 -07:00
Grant Limberg
1f3a04f303
periodic queue size logging, and fix some db connection leaks
2026-04-03 10:28:28 -07:00
Grant Limberg
af7eae5d9e
Added a little bit more logging for the node checkin/bigtable write process
2026-04-03 09:52:55 -07:00
Grant Limberg
ea5c91b0e9
Remove smee from CentralDB.
...
Now handled in CV1 on new member join via pubsub integration when a new member comes through
2026-04-02 10:04:23 -07:00
Grant Limberg
20f7311622
Skip redundant nonce sending with an expiry time of 0
2026-04-01 09:48:05 -07:00
Grant Limberg
dd6e69f530
sso query fix in controller
2026-03-31 14:04:30 -07:00
Grant Limberg
78b25f4ae2
update settings to enable SSO networks
2026-03-31 13:24:03 -07:00
Grant Limberg
895b06033d
temporary logging
2026-03-31 10:56:04 -07:00
Grant Limberg
b047038ca1
print a message when the SSO PSK is configured
2026-03-31 08:48:00 -07:00
Grant Limberg
7ec42461d8
configure assigned central version in startup script
2026-03-19 11:57:35 -07:00
Grant Limberg
e49b347a8f
plumb through config changes for sso pubsub
2026-03-19 11:56:17 -07:00
Grant Limberg
7faf30d0cc
another fix
2026-03-18 13:51:16 -07:00
Grant Limberg
d9507dd895
Undo change to old migration that shouldn't have been made
2026-03-18 13:18:03 -07:00
Grant Limberg
2c57f85e25
add assigned_central_version column to controllers_ctl
...
Allow controllers to advertise which central version (cv1, cv2, or all)
they are assigned to handle via a new configurable field. The value is
persisted to the database on each heartbeat and validated at startup
against the DB CHECK constraint.
2026-03-17 16:30:25 -07:00
Grant Limberg
a840b94e0d
add SSO nonce/auth PubSub messaging with frontend routing
...
Publish CTL_NONCE_UPDATE to PubSub when nonces are created or reused in
getSSOAuthInfo(), with the network's frontend as a message attribute so
only the correct CV frontend receives it. Listen for ZT1_AUTH_UPDATE
messages and update sso_expiry.authentication_expiry_time accordingly,
with a network existence check before applying.
- Add sso_send_topic/sso_recv_topic to PubSubConfig
- Add PubSubWriter::publishSSONonceUpdate() with frontend param
- Add PubSubSSOListener class for inbound auth updates
- Rename CV1_AUTH_UPDATE to ZT1_AUTH_UPDATE in sso.proto
- Fix pre-existing connection pool leak in getSSOAuthInfo() catch block
2026-03-17 14:42:49 -07:00
Grant Limberg
03aa33bba7
set network member frontend based on the network its a member of
2026-03-12 09:20:05 -07:00
Grant Limberg
a2340bf60c
add --provenance false to avoid $IMAGE is a manifest list error
2026-03-04 11:58:43 -08:00
Grant Limberg
e918ec44d5
one last fix
2026-03-04 11:47:09 -08:00
Grant Limberg
34777b6bb4
another fix for multi-arch builds
2026-03-04 11:35:56 -08:00
Grant Limberg
97db010112
fix multi-arch manifest
2026-03-04 11:12:19 -08:00
Grant Limberg
e81053aed7
fix build
2026-03-04 10:57:46 -08:00
Grant Limberg
91428eacae
add github action for creating CV1 controller images
2026-03-04 10:51:13 -08:00
Grant Limberg
936801a51b
update gitignore
2026-03-02 14:08:07 -08:00
Grant Limberg
8f1b213994
still use use_redis column
2026-03-02 14:08:02 -08:00
Grant Limberg
7f47b2ba8f
update dockerfile to get around go stdlib bug in controller build
2026-03-02 14:07:53 -08:00
Grant Limberg
eac140aa73
Update use of ztc_controller table for changes in progress in CV1.
2026-03-02 13:14:16 -08:00
Dimitriy Dade
d9a7f62a5c
Merge pull request #2568 from zerotier/dimitriy-dev
...
Updating versions that were flagged as vulnerable by Dependabot
2026-02-26 13:44:04 -05:00
Grant Limberg
38f4d124b0
woops. out of order here
2026-02-25 15:04:40 -08:00
Grant Limberg
0ad6b19705
drop index
2026-02-25 14:37:27 -08:00
Grant Limberg
ae7ee51b9d
fix db migrations
2026-02-25 14:36:53 -08:00
dimitriy.dade
294af67370
Updating versions that were flagged as vulnerable by Dependabot
2026-02-25 17:00:20 -05:00
Grant Limberg
0f0e6b3b16
add a linked_id column to the oidc_config table.
...
Required to get the list of configs for a particular org that the controller has. Named it `linked_id` rather than `org_id` since we don't know what it will be linked to in CV2
2026-02-25 13:37:04 -08:00
Grant Limberg
c653e764b8
WIP: Update sso info retrieval method
2026-02-24 14:01:33 -08:00
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
Grant Limberg
0d21250b62
one last json parsing fix
2025-10-01 16:33:17 -07:00
Grant Limberg
3bbf194594
pubsub writer should work now
2025-10-01 16:25:27 -07:00
Grant Limberg
fb75369597
throwing stuff at the wall cuz I can't actually debug this right now
2025-10-01 16:08:06 -07:00
Grant Limberg
a8b5c89efa
think this is where things are crashing, but I'm not sure why yet. Comment it out to make sure
2025-10-01 15:05:34 -07:00
Grant Limberg
80f82132dd
fix tags/capabilities?
2025-10-01 14:00:17 -07:00
Grant Limberg
7faf705e10
make the default an empty array here
2025-10-01 13:33:02 -07:00
Grant Limberg
1f557b516f
more debug output
2025-10-01 13:30:25 -07:00
Grant Limberg
aecd7fdace
more logging
2025-10-01 13:13:58 -07:00
Grant Limberg
dad1a1eda6
more logging
2025-10-01 13:12:45 -07:00
Grant Limberg
f028213c7f
debug output
2025-10-01 12:40:50 -07:00
Grant Limberg
b4f018b918
debug output from parsing pubsub messages
2025-10-01 09:07:08 -07:00
Grant Limberg
20a67ab1de
fix attempted null -> string conversion
2025-10-01 08:06:40 -07:00
Grant Limberg
02908e5202
stray ` got in there
2025-09-30 10:52:00 -07:00
Grant Limberg
97d20a1155
more logging for errors on pubsub listener
2025-09-30 10:32:21 -07:00
Grant Limberg
315bf240fc
json field fix
2025-09-25 16:34:08 -07:00
Grant Limberg
c6b7c263d2
query fix for new networks
2025-09-25 16:09:57 -07:00
Grant Limberg
e51e516f85
fix subscription creation
2025-09-25 15:38:28 -07:00
Grant Limberg
069d7c1862
set objtype on messages received via PubSub
2025-09-25 15:14:30 -07:00
Luke Souter
4b9724c8fa
Merge branch 'update-readme' of https://github.com/zerotier/ZeroTierOne into update-readme
2025-09-23 10:20:58 -07:00
Luke Souter
f2d4a882d9
removed duplicate title, added build link, fixed controller link
2025-09-23 10:20:49 -07:00
Grant Limberg
6196e87303
only create the subscription if pubsub emulator is being used.
2025-09-22 16:32:28 -07:00
Grant Limberg
d96d3b27d2
try making the controller attach to an existing pubsub subscription if it already exists
2025-09-22 10:52:06 -07:00
Luke Souter
0cf5ab9375
Merge branch 'dev' into update-readme
2025-09-18 14:29:49 -07:00
Luke Souter
4f2717c244
added build.md
...
Drastically shortened main readme and linked out to build notes instead. Clarified licensing info to just match license.txt.
2025-09-18 14:29:09 -07:00
Grant Limberg
6113bad61e
make pubsub topics configurable
...
Also for pubsub trips back to CV1/CV2, rather than having 2 queues for each service (networks & members), theres now only a single queue for each change type, and `frontend = (cv1|cv2)` attribute is set on the message for filtering.
2025-09-18 09:33:04 -07:00
Adam Ierymenko
895b8211e1
Merge pull request #2514 from zerotier/fix-debian-controller-build
...
Fix debian controller build
2025-09-15 12:27:29 -04:00
Grant Limberg
cb2de5aae1
fix migration
2025-09-13 10:29:45 -07:00
Grant Limberg
ad1fc5fb3d
add tables for the controller load log and sso nonces & expiry
2025-09-13 10:05:20 -07:00
Adam Ierymenko
a28a6d1bf5
Build fix.
2025-09-13 11:07:36 -04:00
Adam Ierymenko
6921628610
RPM too
2025-09-12 19:17:37 -04:00
Adam Ierymenko
5d18a57518
Include controller on debian.
2025-09-12 19:17:11 -04:00
Luke Souter
b62b9e28b9
Merge branch 'update-readme' of https://github.com/zerotier/ZeroTierOne into update-readme
2025-09-12 14:14:11 -07:00
Luke Souter
be5baa76b9
Update README.md
2025-09-12 14:14:06 -07:00
Luke Souter
a6d2e80b08
Merge branch 'dev' into update-readme
2025-09-11 12:27:03 -07:00
Luke Souter
b0ba0d7227
Update README.md
2025-09-11 12:16:33 -07:00
Adam Ierymenko
bc0a42651b
Merge pull request #2510 from zerotier/dev-main-merge
...
Dev main merge
2025-09-11 13:57:46 -04:00
Adam Ierymenko
a16d6dbc01
Merge remote-tracking branch 'github/main' into dev
2025-09-11 13:55:34 -04:00
Adam Ierymenko
7b7d39becc
Merge pull request #2507 from zerotier/adam/1.16
...
V1.16 kitchen sink branch, 1.16 ready.
2025-09-11 13:52:09 -04:00
Grant Limberg
1ce37e7770
add use_for_new_networks column in controller table
2025-09-11 10:02:45 -07:00
Grant Limberg
3e6a22c3d8
Fix JNI after ZT_Node_New function signature change
2025-09-11 07:36:25 -07:00
Grant Limberg
493cc4fe4f
fix version string
2025-09-10 08:13:56 -07:00
Grant Limberg
7aa451bec1
clean up deprecation warnings in pqxx
2025-09-10 07:43:21 -07:00
Grant Limberg
012443acfa
wire up pubsub notifications from controller to frontend
2025-09-08 16:01:50 -07:00
Adam Ierymenko
dd3dbb6f24
Merge branch 'adam/1.16' of /Users/api/Code/ZeroTier/local/ZeroTier-v1 into adam/1.16
2025-09-08 16:17:36 -04:00
Adam Ierymenko
223fa90e6c
Advanced installer update.
2025-09-08 16:17:24 -04:00
Grant Limberg
ee87eb3101
removing some log output
2025-09-08 11:34:03 -07:00
Grant Limberg
facca364fb
only update os, architecture and client version if they've changed (or don't exist)
2025-09-08 11:00:17 -07:00
Grant Limberg
1d65c1e43e
back to bulk apply for status updates in BigTable
2025-09-08 10:50:10 -07:00
Grant Limberg
1ba4ccd98d
pass version info to status writer
2025-09-08 10:46:01 -07:00
Grant Limberg
934aa93ef8
forgot a ;
2025-09-08 10:32:57 -07:00
Grant Limberg
88f08fa58c
append 8 random hex chars to the subscription id
2025-09-08 10:29:30 -07:00
Grant Limberg
f51bfdb666
delete pubsub subscription on shutdown
2025-09-08 10:25:32 -07:00
Adam Ierymenko
ffd34a3e46
Add merged PRs.
2025-09-08 13:05:25 -04:00
Grant Limberg
190d836b42
alloc meatadata with new so pubsub can delete it
2025-09-08 09:49:26 -07:00
Adam Ierymenko
fad7123417
Enable controller on production Windows builds.
2025-09-08 12:36:57 -04:00
Grant Limberg
006ced2900
more fixes
2025-09-08 09:05:00 -07:00
Grant Limberg
ebf66b7920
fix typo in cmake file
2025-09-08 08:53:35 -07:00
Grant Limberg
71d68e9a60
fix stack corruption in DB::get
2025-09-08 08:49:23 -07:00
Grant Limberg
a78ac17d10
fix compile & link on macOS
2025-09-06 15:02:59 -07:00
Grant Limberg
36219c59ae
compiler on mac doesn't like this. not really needed though
2025-09-06 15:02:48 -07:00
Grant Limberg
69efa924e2
apply patch to libnatpmp repo so we can compile on macOS with CMake
2025-09-06 15:01:48 -07:00
Grant Limberg
3d72a43a19
misc bugfixes
2025-09-06 12:37:28 -07:00
Grant Limberg
7ad264df92
whoops. mesed up the migrate naming convention
2025-09-05 15:20:33 -07:00
Grant Limberg
024824c2fe
wire up pubsub outgoing status changes from controller -> CV2
2025-09-05 14:52:16 -07:00
Adam Ierymenko
5db2abab73
Make nonfree the official build for Linux.
2025-09-05 17:49:10 -04:00
Adam Ierymenko
a4d762d404
messages for non-free builds
2025-09-05 15:39:47 -04:00
Grant Limberg
74f0525470
Add frontend column to networks & network_memberships tables so the controller knows which system owns the networks & members
2025-09-05 08:43:06 -07:00
Grant Limberg
ba6200fb96
add a ChangeSource enum to the change protobuf messages
2025-09-05 08:19:32 -07:00
Grant Limberg
282d7c7f9d
another fix
2025-09-04 17:45:38 -07:00
Grant Limberg
48ff61b392
fix
2025-09-04 17:28:14 -07:00
Grant Limberg
a061c86594
fix
2025-09-04 17:00:15 -07:00
Grant Limberg
a18e370d48
another query fix
2025-09-04 16:31:16 -07:00
Grant Limberg
e9565cf97c
another query fix
2025-09-04 16:12:21 -07:00
Grant Limberg
3b7958aec1
another query fix
2025-09-04 16:07:28 -07:00
Grant Limberg
20746b2754
query fix
2025-09-04 15:41:33 -07:00
Grant Limberg
b16d9372b8
fix otel exporting
2025-09-04 15:11:57 -07:00
Grant Limberg
f208007226
enable otel exporter
2025-09-04 14:48:04 -07:00
Grant Limberg
dcd583f62b
cleanup controller github action
2025-09-04 14:47:58 -07:00
Grant Limberg
3616c4026b
move up the gcp auth step
2025-09-04 14:23:49 -07:00
Adam Ierymenko
03a198a1b5
bump rust versions per bot recommendation.
2025-09-04 17:16:23 -04:00
Grant Limberg
67526d494a
move up docker auth
2025-09-04 14:15:51 -07:00
Adam Ierymenko
a51029a503
Merge pull request #2489 from SwarmboticsAI/fix-link-select-cli
...
Fix link select field in bond CLI
2025-09-04 17:15:23 -04:00
Grant Limberg
8bd96d360f
build in containers
2025-09-04 14:14:59 -07:00
Adam Ierymenko
f754d716d0
Merge pull request #2493 from jfly/add-warning-about-allowDNS-on-linux
...
Add a warning about missing DNS functionality on Linux
2025-09-04 17:14:47 -04:00
Grant Limberg
70d24fc7eb
trying to build in a docker container
2025-09-04 14:02:58 -07:00
Grant Limberg
40f6508717
add conda builder dockerfile
2025-09-04 13:50:11 -07:00
Grant Limberg
7d5a60b44e
will this make arm64 containers work?
2025-09-04 13:08:27 -07:00
Grant Limberg
2264452ad8
try to make this work on both x64 & arm64
2025-09-04 12:19:53 -07:00
Grant Limberg
73e3287fd6
debugging runtime link issues on arm64
2025-09-04 12:14:32 -07:00
Grant Limberg
f33e706887
get a running controller in docker
2025-09-04 11:42:53 -07:00
Grant Limberg
686653509a
debug printf
2025-09-04 11:27:59 -07:00
Grant Limberg
ce84de605d
and instead of or in postgres check
2025-09-04 11:24:01 -07:00
Grant Limberg
7e4e7ef753
fix case for redis: null
2025-09-04 11:19:22 -07:00
Grant Limberg
b94fa2d95d
.
2025-09-04 11:18:08 -07:00
Grant Limberg
c9c8e95d60
debug output of main script
2025-09-04 11:16:48 -07:00
Grant Limberg
d216a3739f
run process in conda env directly from docker
2025-09-04 11:14:34 -07:00
Grant Limberg
092fc268d3
ok back to full path
2025-09-04 11:11:14 -07:00
Grant Limberg
1da9e24905
no absolute path for pg_isready
2025-09-04 11:03:30 -07:00
Grant Limberg
158d24545a
also have to add postgres to the container for pg_isready
2025-09-04 10:30:08 -07:00
Grant Limberg
96aa893df4
stray backtick
2025-09-04 09:50:19 -07:00
Grant Limberg
4516e6a340
need a conda init here first apparently
2025-09-04 09:27:08 -07:00
Grant Limberg
2416c42df7
change tag to match existing
2025-09-04 08:48:54 -07:00
Grant Limberg
4f07599992
add jemalloc
2025-09-03 15:04:51 -07:00
Grant Limberg
6ceb8eac97
text alignment
2025-09-03 13:56:32 -07:00
Grant Limberg
3ad352c08e
no trailing comma on bigtable block
2025-09-03 13:56:04 -07:00
Grant Limberg
9d73c346b7
new modified startup script for central controller docker images with support for configuring bigtable, pubsub, redis
2025-09-03 13:48:38 -07:00
Grant Limberg
4abf90247d
update ld.so.conf for paths to libraries
2025-09-03 13:22:21 -07:00
Grant Limberg
594d227f92
fix multi-arch manifest creation
2025-09-03 12:18:21 -07:00
Grant Limberg
7fd112eb4f
fix short hash
2025-09-03 11:50:09 -07:00
Grant Limberg
000f3d5a8c
let's build a docker image
2025-09-03 11:37:26 -07:00
Grant Limberg
3f3e684811
only update conda env if cache was not hit
2025-09-03 10:42:22 -07:00
Grant Limberg
a841e96bd2
put git branch ref into cache key name
2025-09-03 10:40:31 -07:00
Grant Limberg
3ff4d67d21
bump
2025-09-03 10:29:53 -07:00
Grant Limberg
b09956ae59
fix run arg
2025-09-03 10:28:42 -07:00
Grant Limberg
4395574706
cache conda environment
2025-09-03 10:27:06 -07:00
Grant Limberg
1dae4c4c5f
cache conda environment
2025-09-03 10:23:33 -07:00
Grant Limberg
d31b3a08db
set ZT_AES_NEON for arm64
2025-09-03 10:08:16 -07:00
Grant Limberg
0f3a5148b1
fix deps for selftest
2025-09-03 09:29:33 -07:00
Grant Limberg
d3f1ec74ba
fix arm64 build flag
2025-09-03 09:20:13 -07:00
Grant Limberg
3470ceb13d
cmake --build args
2025-09-03 09:12:04 -07:00
Grant Limberg
648f0915e5
skip cmake action
2025-09-03 09:09:17 -07:00
Grant Limberg
21e20f2104
more conda
2025-09-03 09:04:40 -07:00
Grant Limberg
f43bc3d10c
more conda
2025-09-03 09:00:36 -07:00
Grant Limberg
3ad36c773d
fix cmake options
2025-09-03 08:55:29 -07:00
Grant Limberg
22484c708f
dependency juggling
2025-09-03 08:51:21 -07:00
Grant Limberg
cab33dfc89
no linux/arm64 build available for google-cloud-cpp 2.39 :/. Downgrade to 2.38
2025-09-03 08:45:33 -07:00
Grant Limberg
e1db40d932
test
2025-09-03 08:39:02 -07:00
Grant Limberg
97681b589e
trying to get this working
2025-09-03 08:37:30 -07:00
Grant Limberg
09f1ee77e1
skip caching until this all works
2025-09-03 08:26:08 -07:00
Grant Limberg
0f13363895
runs-on matrix
2025-09-03 08:22:47 -07:00
Grant Limberg
7c1bfc97c4
setup github action for building
2025-09-03 08:18:56 -07:00
Grant Limberg
2a647d497a
remove otel warning
2025-09-02 16:25:16 -07:00
Grant Limberg
70f9fe0412
update central controller readme with config block
2025-09-02 14:15:28 -07:00
Grant Limberg
0753556aa3
wire up configuration.
...
New config block in local.conf for controllers:
```
{
"settings": {
...standard zt1 local.conf settings...
},
"controller": {
"listenMode": (pgsql|redis|pubsub),
"statusMode": (pgsql|redis|bigtable),
"redis": {
"hostname": ...,
"port": 6379,
"clusterMode": true
},
"pubsub": {
"project_id": <gcp-project-id>
},
"bigtable": {
"project_id": <gcp-project-id>,
"instance_id": <bigtable-instance-id>,
"table_id": <bigtable-table-id>
}
}
}
```
2025-09-02 14:06:24 -07:00
Grant Limberg
a5bd262b3a
Wiring through initialization of the CentralDB version of the controller
...
Still need to do the actual configuration from local.conf
2025-09-02 13:30:08 -07:00
Grant Limberg
4ddb1fbe58
Create the pubsub topic if it doesn't exist
2025-09-02 07:49:41 -07:00
Grant Limberg
195d5b47f0
Merge branch 'adam/1.16' into gl/ctl-pubsub
2025-09-01 16:47:55 -07:00
Grant Limberg
496e69e666
add def for new style controllers
2025-09-01 15:29:27 -07:00
Grant Limberg
0f63783592
remove rust-based pubsub
2025-09-01 14:55:16 -07:00
Grant Limberg
db6e698245
rework the pubsub listener again so the subscription is set up on its own thread
2025-09-01 14:40:18 -07:00
Grant Limberg
b114896e7b
PubSub to gcloud-cpp library for simplicity's sake
2025-09-01 14:25:15 -07:00
Grant Limberg
17b48d78cb
Merge branch 'dev' into gl/ctl-pubsub
2025-09-01 09:50:15 -07:00
Grant Limberg
e347f895b8
add sleep at end of online notificaiton loop
2025-09-01 09:44:39 -07:00
Grant Limberg
d119547a95
wire up status writers
2025-09-01 09:18:01 -07:00
Grant Limberg
85f23356a3
add a StatusWriter class hierarchy for writing member status updates
...
* Postgres Direct
* Redis
* BigTable
2025-08-28 17:03:59 -07:00
Grant Limberg
3187c2ffce
clang format change (not applied project-wide yet)
2025-08-28 17:00:06 -07:00
Grant Limberg
9bdd564bdc
spacing
2025-08-27 16:23:55 -07:00
Grant Limberg
7f3b15011e
Update central controller build to use CMake + conda
...
Muuuuch easier to use external dependencies now
Also tried out conan and vcpkg. Ran into dependency issues when solving for packages to install with conan.
vcpkg is just obtuse as all hell to install and not easy to integrate
2025-08-27 16:23:02 -07:00
Adam Ierymenko
bbba390e97
Windows build and version bump.
2025-08-26 09:33:54 -07:00
Adam Ierymenko
ad044f9272
Windows build fixes.
2025-08-25 17:07:27 -07:00
Grant Limberg
f8a4a5d6af
rework protobuf messages
...
PubSub allows us to do schema validation, however it only allows one top level message at a time. Move other sub-message declarations under the main message declaration so that we can enable schema validation in the pubsub stream directly
2025-08-25 15:09:10 -07:00
Adam Ierymenko
5a62824049
Add -Iext/opentelemetry-cpp-api-only/include for BSD
2025-08-25 14:16:56 -07:00
Adam Ierymenko
bfa4bd2584
Removing this, which was suggested by a linter, turns out to break things by breaking equality comparison. The NetworkConfig struct would have to be re-implemented in a more modern way to allow the compiler to properly generate comparison operators, which is not important right now.
2025-08-25 13:38:57 -07:00
Adam Ierymenko
1e62d69762
Do not compress frames -- also unrelated to bug.
2025-08-25 11:47:50 -07:00
Adam Ierymenko
bed6557a6d
Re-enable relaying checks, also not bug related but put back after we decided to punt removing moons.
2025-08-25 11:22:21 -07:00
Adam Ierymenko
0d3ed4769e
Merge branch 'dev' of github.com:/zerotier/ZeroTierOne into adam/1.16
2025-08-25 11:07:29 -07:00
Adam Ierymenko
bee3ea79f0
Minor thing, unrelated to bug but missing.
2025-08-21 18:47:41 -04:00
Adam Ierymenko
ca4e35d52c
License stuff, version bump, CLI output.
2025-08-21 11:01:52 -04:00
Adam Ierymenko
6623aa3a7d
License files.
2025-08-21 10:39:25 -04:00
Adam Ierymenko
67360aaeef
Bump Rust package versions due to dependabot alert and fix a few more makefile things for macOS.
2025-08-21 10:20:20 -04:00
Adam Ierymenko
3e21edb891
Remove a bunch of warnings by eliminating deprecated functions.
2025-08-21 10:06:56 -04:00
Adam Ierymenko
6e6fc9a704
Add conditional compilation of controller.
2025-08-21 09:55:08 -04:00
Grant Limberg
2833d0e4f4
make whether SSO is enabled a switchable config value
2025-08-20 17:07:56 -07:00
Grant Limberg
95224379aa
Refactor Redis & Posgres notification listeners into listener subclass in new CentralDB class
...
This allows us to interchangeably use different listeners (pgsql, redis, pubsub) depending on configuration values passed into the constructor.
2025-08-20 17:04:28 -07:00
Grant Limberg
86f402edb7
Merge pull request #2495 from zerotier/gl/cv1-os-arch
...
hosted controller changes for cv1 os/arch reporting
2025-08-20 15:09:35 -07:00
Adam Ierymenko
6bf7b4d9ba
Merge branch 'adam/1.16' of github.com:/zerotier/ZeroTierOne into adam/1.16
2025-08-20 17:27:03 -04:00
Adam Ierymenko
2f2f864aa8
Clear ifname buffer before copying into it.
2025-08-20 17:23:18 -04:00
Grant Limberg
ebe8fdb08e
rename classes
2025-08-20 10:07:13 -07:00
Grant Limberg
c479cba71a
Merge branch 'dev' into gl/cv1-os-arch
2025-08-20 09:38:09 -07:00
Grant Limberg
650fc0c74b
Add C++ wrapper around pubsub listeners
2025-08-15 16:53:58 -07:00
Grant Limberg
b90ad51723
more calling async from non-async changes
2025-08-15 08:22:55 -07:00
Grant Limberg
4237830a97
revert default feature list once again
2025-08-14 14:25:19 -07:00
Grant Limberg
4fab227c23
fix calling into async functions from non-async via the FFI
2025-08-14 14:20:34 -07:00
Grant Limberg
e4147f7b80
fix build script
2025-08-14 13:00:11 -07:00
Grant Limberg
d4ee95e445
feature cleanup
2025-08-14 12:51:22 -07:00
Grant Limberg
a842ad8b61
remove ztcontroller from default feature list
2025-08-14 12:43:42 -07:00
Grant Limberg
3a209e2930
expose change_handler to C via FFI
2025-08-14 12:43:00 -07:00
Grant Limberg
ccb0fa748f
updates & tests.
...
Tests currently need to be run with --test-threads=1. Seems like the instances of the pubsub emulator stomp on each other without that
2025-08-14 12:31:42 -07:00
Grant Limberg
bf8c9d0124
function naming cleanup.
...
match other things already written
2025-08-13 12:25:36 -07:00
Grant Limberg
0e94891e5b
plumb through callbacks
2025-08-13 12:17:03 -07:00
Grant Limberg
564d29e445
fix include
2025-08-12 10:52:25 -07:00
Grant Limberg
06b2ce9f30
WIP: pubsub wrapper in Rust
2025-08-12 10:42:07 -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.
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.
2025-08-11 17:19:05 -04:00
Grant Limberg
f079f8bc82
cleanup warnings
2025-08-11 11:31:15 -07: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.
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
Grant Limberg
837f15d01b
tokio is needed by both temporal & gcloud pubsub, so make just one instance for the whole library, add init/shutdown functions for it exposed to C
2025-08-07 11:28:22 -07:00
Adam Ierymenko
f6d52dd96c
Rest -> MPL except controller.
2025-08-06 12:16:44 -04:00
Adam Ierymenko
9aff094b6f
node/ -> MPL
2025-08-06 12:10:18 -04:00
Grant Limberg
4b3b847c7f
fix windows bui ld
2025-08-05 16:38:57 -07:00
Grant Limberg
a55216310a
fix macos build
2025-08-05 16:18:21 -07:00
Grant Limberg
44d0e81572
gcloud-pubsub only if ztcontroller is flagged
2025-08-05 16:07:26 -07:00
Grant Limberg
f9500ca5ff
fix dependencies when temporal isn't needed
2025-08-05 16:05:51 -07:00
Grant Limberg
e822811f29
reorganize rustybits into a single library with smeeclient behind the ztcontroller feature flag
2025-08-05 15:52:58 -07:00
Grant Limberg
02a3929472
ctl changes for cv1 os/arch reporting
2025-08-05 12:29:29 -07:00
Adam Ierymenko
41c4642a21
Fix otel includes in .clangd
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
...
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
...
Windows installer fixes
2025-07-31 15:11:57 -07:00
Jeremy Fleischman
66a8c01d0e
Add a warning about missing DNS functionality on Linux
...
It took me quite some searching before I found out that this simply is
not implemented. A warning would have been very useful.
refs: https://github.com/zerotier/ZeroTierOne/issues/2492
2025-07-31 14:40:44 -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 and Claude
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
William Yates
2c5ded78e3
Fix link select field in bond CLI
2025-07-18 18:03:33 -07:00
Adam Ierymenko
d51b82d0e6
Temporarily disable checks to always forward -- for testing.
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
2025-07-16 16:35:28 -07:00
Grant Limberg
14c0ccc94c
trace attribs
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
...
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
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
Grant Limberg
06bc1e5e6b
copy optentelemetry .so files to /usr/local/lib64
2025-07-15 08:30:45 -07:00
Grant Limberg
9b31fe1e98
fix build
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
54fb480ade
set exporter endpoint & sample rate in startup script
2025-07-14 13:57:52 -07:00
Grant Limberg
b292d4f06d
Merge branch 'dev' into otel
2025-07-14 13:46:55 -07:00
Grant Limberg
076ed83b81
more dependencies in the build container
2025-07-14 13:34:03 -07:00
Grant Limberg
b12bc59b57
Update incllude path for Windows builds to include otel api headers
2025-07-14 13:29:02 -07:00
Grant Limberg
8e5522647a
build updates
2025-07-14 10:17:52 -07:00
Grant Limberg
3fd42ad2a0
set errors in otel if/when they happen
2025-07-14 10:17:46 -07:00
Grant Limberg
99cd9d174b
remove these for now
2025-07-12 13:39:45 -07:00
Grant Limberg
f71a85a675
fix otel api-only header dir
2025-07-12 13:35:45 -07:00
Grant Limberg
b9de551e0c
controller tracing
2025-07-12 13:29:07 -07:00
Grant Limberg
0e87c21d87
began instrumentation of http control plane and controller
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
Grant Limberg
5c3daca2a0
only build otlp stuff for central controllers
2025-07-11 14:47:58 -07:00
Adam Ierymenko
5232af0a61
Merge pull request #2481 from zerotier/rust-updates
...
Rust warning removal, clippy allows, update library versions.
2025-07-11 17:07:49 -04:00
Grant Limberg
7f835b414a
include the otel header-only part directly for ease of use
2025-07-11 13:12:13 -07:00
Grant Limberg
8895ad182f
fix linking on linux
2025-07-11 11:20:43 -07:00
Grant Limberg
3784b66cdb
clean updates
2025-07-11 11:15:10 -07:00
Grant Limberg
0c7afe3d0a
add otel target to zerotier-one dependency in linux makefile
2025-07-11 11:12:58 -07:00
Grant Limberg
478cd2840b
add otel to mac & linux builds
...
Off by default. set `ZT_OTEL=1` to enable
2025-07-11 11:07:47 -07:00
Grant Limberg
fbac205e65
add otel library to ext
2025-07-11 10:37:21 -07:00
Adam Ierymenko
697011df7b
Cleanup, define specialist for network specific relays, remove some dead code.
2025-07-11 10:48:12 -04:00
Adam Ierymenko
67e8f344ac
Rust warning removal, clippy allows, update library versions.
2025-07-11 09:50:27 -04:00
Adam Ierymenko
5fb8d2aa37
Merge pull request #2306 from zerotier/fix-flows-for-bridge-mode-mp
...
Fix flow assignment for bridged EXT_FRAME packets
2025-07-10 15:52:03 -04:00
Adam Ierymenko
d50ec3094f
Merge pull request #2438 from zerotier/dev-extosdep
...
Add custom control plane for third-party device vendors
2025-07-10 15:43:09 -04:00
Joseph Henry
7473d1942d
Merge changes from dev
2025-07-09 18:01:11 -07:00
Adam Ierymenko
e22c80dce6
Merge branch 'dev' into dev-extosdep
2025-07-08 16:41:46 -04:00
Adam Ierymenko
8affcb0e3d
Merge pull request #2474 from zerotier/hello-encryption
...
Hello encryption
2025-07-08 16:39:35 -04:00
Adam Ierymenko
16dd3fd7af
Windows build fixes from clang-format, disable for Windows include order
2025-07-08 15:11:57 -04:00
Joseph Henry
a46fb73260
Merge branch 'dev' into dev-extosdep
2025-07-07 10:48:04 -07:00
Adam Ierymenko
db6045fe9c
clang-format
2025-07-07 12:09:35 -04:00
Adam Ierymenko
4efd206dd4
build fix
2025-07-03 19:14:39 -04:00
Adam Ierymenko
b0889e1454
Merge branch 'dev' into hello-encryption
2025-07-03 14:49:17 -04:00
Adam Ierymenko
69de477d0b
Merge branch 'dev' into dev-extosdep
...
# 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
Joseph Henry
226bb1d4ef
Merge pull request #2427 from SwarmboticsAI/fix-active-backup-selection
...
Fix active backup link selection
2025-07-03 10:55:38 -07:00
Joseph Henry
8753829c1b
Merge pull request #2477 from zerotier/dev-multicast-bridge-fix
...
Don't count bridges towards multicast limit. Send to all bridges
2025-07-03 10:14:14 -07:00
Adam Ierymenko
55e9320299
Ofast is deprecated
2025-07-03 12:55:22 -04:00
Joseph Henry
c4af2d79c5
Don't count bridges towards multicast limit. Send to all bridges
2025-07-03 09:44:45 -07:00
Adam Ierymenko
ce708df877
Merge branch 'dev' into hello-encryption
...
# 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/C25519.cpp
# node/C25519.hpp
# node/Capability.hpp
# node/CertificateOfMembership.cpp
# node/CertificateOfMembership.hpp
# node/CertificateOfOwnership.hpp
# node/Credential.hpp
# node/Identity.cpp
# node/Identity.hpp
# node/IncomingPacket.cpp
# node/Metrics.cpp
# node/Metrics.hpp
# node/Multicaster.cpp
# node/Network.cpp
# node/Node.cpp
# node/Packet.cpp
# node/Packet.hpp
# node/Peer.cpp
# node/Revocation.hpp
# node/Switch.cpp
# node/Tag.hpp
# node/World.hpp
# osdep/Http.hpp
# service/OneService.cpp
2025-07-03 12:10:57 -04:00
Adam Ierymenko
342fa9d33f
clang-format this branch
2025-07-03 12:02:18 -04:00
Adam Ierymenko
fd9a23f30f
Merge pull request #2475 from zerotier/clang-format
...
clang-format
2025-07-03 11:57:35 -04:00
Grant Limberg
d72b98b434
does this make windows happy?
2025-07-03 08:48:39 -07:00
Grant Limberg
813fb7a394
one more clang-format fix
2025-07-03 08:41:19 -07:00
Grant Limberg
6d532944bd
stop clang-format from breaking the build by sorting headers here
2025-07-03 08:38:21 -07:00
Adam Ierymenko
ba2a4a605c
clang-format
2025-07-03 11:26:23 -04:00
Grant Limberg
d45f280cb7
Merge pull request #2452 from zerotier/gl/cv2-ctl
...
CV2 db schema support
2025-07-03 08:24:36 -07:00
Grant Limberg
7cf0d7a5d8
Merge remote-tracking branch 'origin/dev' into gl/cv2-ctl
2025-07-03 08:21:39 -07:00
Adam Ierymenko
8b77ef538a
self test fixes
2025-07-03 11:14:52 -04:00
Adam Ierymenko
e366661a09
Merge branch 'dev' into hello-encryption
2025-07-03 10:55:46 -04:00
Grant Limberg
8636fe3c33
comment debug line
2025-07-02 11:35:59 -07:00
Grant Limberg
08e0da7921
DBMirrorSet wasn't passing along os/arch infof
2025-07-02 11:26:28 -07:00
Grant Limberg
27021ff425
debug log line
2025-07-02 11:15:21 -07:00
Grant Limberg
ecedddb19b
grab os/arch info from nc request
2025-07-02 09:17:50 -07:00
Grant Limberg
ee73ac1a74
update makefile for multi-arch controller-v2 docker build
2025-06-20 14:49:40 -07:00
Grant Limberg
169250d484
update makefile for multi-arch controller-v2 docker build
2025-06-20 14:48:18 -07:00
Grant Limberg
4fea4fc76f
debug output
2025-06-20 14:39:12 -07:00
Grant Limberg
6fa849c956
dump member save output only on error
2025-05-21 15:52:16 -07:00
Grant Limberg
3cef1b0842
error output on exceptions in commit thread
2025-05-21 08:40:11 -07:00
Grant Limberg
08b1ceb9a1
"relayed" as ip addr for unknown IP in last_seen
2025-05-21 07:24:35 -07:00
Grant Limberg
af0a9118c1
another query update
2025-05-19 11:07:18 -07:00
Grant Limberg
568da750bb
another query fix
2025-05-19 10:50:37 -07:00
Grant Limberg
d5f6f6b98e
fix sql statement
2025-05-19 10:37:52 -07:00
Grant Limberg
10ac0c2e1a
remove last_authorized_credential field.
...
Think that came from when we were trying to have the controller use the same table as CV2. It's not used or needed by the controller itself
2025-05-19 09:52:27 -07:00
Grant Limberg
1ffadf31de
Get node OS/Arch info into the CV2 db
2025-05-14 15:06:24 -07:00
Grant Limberg
224ee88b91
cleanup some debug statements
2025-05-13 13:36:39 -07:00
Grant Limberg
b42067e654
account for SSL db connection
2025-05-13 13:31:49 -07:00
Grant Limberg
c9e08c951a
add postgres tag to go install migrate
2025-05-13 13:27:25 -07:00
Grant Limberg
42f760d72f
file:// url
2025-05-13 13:21:57 -07:00
Grant Limberg
c68acebe31
Add db migrations to CV2 db
2025-05-13 13:11:27 -07:00
Grant Limberg
4b7c5159a3
"" instead of nullptr
2025-05-08 12:24:57 -07:00
Grant Limberg
4a8daf43e4
more query fixes
2025-05-08 10:33:15 -07:00
Grant Limberg
182148a26c
query fix
2025-05-08 10:10:20 -07:00
Grant Limberg
af715ca0ff
query & null fix
2025-05-08 09:22:28 -07:00
Grant Limberg
990ecb5eb1
another query fix
2025-05-07 12:12:32 -07:00
Grant Limberg
7c88b3f124
fix a couple of queries
2025-05-07 11:57:28 -07:00
Grant Limberg
f4053c8af3
Merge pull request #2451 from zerotier/dependabot/cargo/rustybits/crossbeam-channel-0.5.15
...
Bump crossbeam-channel from 0.5.13 to 0.5.15 in /rustybits
2025-05-02 12:38:07 -07:00
Grant Limberg
af3f8b00a4
fix cv2 connection
2025-05-01 15:59:07 -07:00
Grant Limberg
db06c98608
startup script
2025-05-01 14:17:49 -07:00
Grant Limberg
332a7d1488
more fun with the startup script
2025-05-01 14:12:30 -07:00
Grant Limberg
48f9f7de14
Allow setting cv2: for the db url
2025-05-01 13:58:54 -07:00
Grant Limberg
35d37559c8
v2controller docker target on mac
2025-05-01 12:57:54 -07:00
Grant Limberg
1a6c0a5f12
reflect schema changes
2025-05-01 12:26:43 -07:00
Grant Limberg
2c8f032a76
CV2 controller. Should have everything but SSO now
2025-04-10 13:32:52 -07:00
dependabot[bot]
bcc766f70d
Bump crossbeam-channel from 0.5.13 to 0.5.15 in /rustybits
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.13 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.13...crossbeam-channel-0.5.15 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-10 14:38:32 +00:00
Grant Limberg
dcadc2c4d4
Merge pull request #2449 from zerotier/dependabot/cargo/rustybits/openssl-0.10.72
...
Bump openssl from 0.10.70 to 0.10.72 in /rustybits
2025-04-08 10:36:25 -07:00
Grant Limberg
55ed5d61e0
Merge branch 'dev' into dependabot/cargo/rustybits/openssl-0.10.72
2025-04-08 08:08:28 -07:00
Grant Limberg
86f424130d
Merge pull request #2450 from zerotier/dependabot/cargo/rustybits/tokio-1.43.1
...
Bump tokio from 1.42.0 to 1.43.1 in /rustybits
2025-04-08 08:08:08 -07:00
dependabot[bot]
4e9b69f0a7
Bump tokio from 1.42.0 to 1.43.1 in /rustybits
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.42.0 to 1.43.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.43.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-08 02:02:25 +00:00
dependabot[bot]
0a17738f39
Bump openssl from 0.10.70 to 0.10.72 in /rustybits
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.70 to 0.10.72.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.70...openssl-v0.10.72 )
---
updated-dependencies:
- dependency-name: openssl
dependency-version: 0.10.72
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-04 20:53:49 +00:00
Grant Limberg
fb7b07fc42
make sure the pg connstring is correct for cv2:// instances
2025-04-03 14:48:13 -07:00
Grant Limberg
1d2130610c
use the CV2 db instance if the path prefix is cv2://
2025-04-03 14:38:58 -07:00
Grant Limberg
0b04f772ef
make things compile
2025-04-03 14:26:09 -07:00
Grant Limberg
5c73fe9304
build fix
2025-04-03 10:45:06 -07:00
Grant Limberg
2af105000f
WIP: refactoring for CV2 db integration
2025-04-03 10:27:42 -07:00
Grant Limberg
cadfa0bc4d
Merge pull request #2445 from zerotier/docker-local-conf
...
Allow setting local.conf content from Docker environment variable
2025-04-03 09:42:11 -07:00
Grant Limberg
f2521c8536
Allow setting local.conf content from Docker environment variable
2025-03-26 11:23:46 -07:00
Grant Limberg
d353e0c6fa
Merge pull request #2442 from zerotier/dependabot/cargo/rustybits/ring-0.17.13
...
Bump ring from 0.17.8 to 0.17.13 in /rustybits
2025-03-19 08:30:23 -07:00
Grant Limberg
346731ea5d
Merge branch 'dev' into dependabot/cargo/rustybits/ring-0.17.13
2025-03-11 10:47:33 -07:00
Grant Limberg
2ef38d84d1
Merge pull request #2444 from zerotier:gl/temporal-sdk-fix
...
temporal sdk fix
2025-03-10 16:39:39 -07:00
Grant Limberg
5630d48a66
temporal sdk fix
...
missing WorkflowIdConflictPolicy
2025-03-10 16:35:10 -07:00
Grant Limberg
b44a9b8b62
Merge pull request #2443 from zerotier:gl/onelogin-fix
...
Fix AuthInfo Provider not being set
2025-03-10 16:20:06 -07:00
Grant Limberg
f5b0fc6a8f
Fix AuthInfo Provider not being set
2025-03-10 16:04:06 -07:00
dependabot[bot]
a20bc772f2
Bump ring from 0.17.8 to 0.17.13 in /rustybits
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.8 to 0.17.13.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md )
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-07 17:04:31 +00:00
Travis LaDuke
010c4b0d64
Merge pull request #2441 from zerotier/laduke/update-actions
...
Run CI on pull requests
2025-03-05 09:18:20 -08:00
Joseph Henry
dcb4bc5ef4
Fix path typo: 3rdpatry
2025-03-04 11:18:13 -08:00
Joseph Henry
47e05d5a23
Disable peer metrics for ExtOSDep builds
2025-03-04 10:34:57 -08:00
Joseph Henry
17abb58651
Add missing include to ExtOsDep.hpp
2025-03-04 10:26:31 -08:00
Joseph Henry
05b60bd818
Fix typo
2025-03-04 10:25:06 -08:00
travisladuke
5998f1497a
Run CI on pull requests
...
If the PR is from an external repo,
the action won't run without approval.
right now we can't run the actions on external PRs.
2025-03-03 10:01:33 -08:00
Joseph Henry
269c8d415a
Style match
2025-02-26 11:16:03 -08:00
Joseph Henry
cd191778c2
Add custom management plane for 3rd party vendors
2025-02-26 10:27:23 -08:00
Joseph Henry
3e7aacf301
Expose routing() method in httplib so changes can be made in OneService
2025-02-26 09:56:08 -08:00
Joseph Henry
6b113c8270
Add auto-detection of platform integer size in prometheus
2025-02-26 09:55:08 -08:00
Grant Limberg
a2162c01e3
Merge pull request #2430 from zerotier/dependabot/cargo/rustybits/openssl-0.10.70
...
Bump openssl from 0.10.68 to 0.10.70 in /rustybits
2025-02-04 15:45:25 -08:00
Grant Limberg
870c221690
Merge branch 'dev' into dependabot/cargo/rustybits/openssl-0.10.70
2025-02-04 15:38:52 -08:00
Grant Limberg
87ad848202
Merge pull request #2432 from zerotier:ci-update
...
Update upload-artifact action to use v4
2025-02-04 15:38:14 -08:00
Grant Limberg
b736b6835d
Update upload-artifact action to use v4
...
V3 is no longer supported and throws an error on use
2025-02-04 15:30:25 -08:00
dependabot[bot]
91bec01da8
Bump openssl from 0.10.68 to 0.10.70 in /rustybits
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.68 to 0.10.70.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.68...openssl-v0.10.70 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-03 18:50:34 +00:00
William Yates
a0c3f432c4
Sort active backup paths
2025-01-24 17:52:17 -07:00
Grant Limberg
b5c51796b9
Merge pull request #2417 from zerotier/rust-deps
...
update rust dependencies
2024-12-04 14:46:54 -08:00
Grant Limberg
724002f142
update rust dependencies
2024-12-04 13:43:34 -08:00
Grant Limberg
377a9d6f41
Merge pull request #2409 from zerotier/dependabot/cargo/rustybits/rustls-0.23.18
...
Bump rustls from 0.23.15 to 0.23.18 in /rustybits
2024-11-25 11:27:22 -08:00
dependabot[bot]
003b4cf876
Bump rustls from 0.23.15 to 0.23.18 in /rustybits
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.23.15 to 0.23.18.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.15...v/0.23.18 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-25 17:00:23 +00:00
Joseph Henry
b12dd19d44
Merge pull request #2405 from zerotier/jh-fix-openbsd-tap
...
Build fix for OpenBSD - See ticket #2397
2024-11-13 15:12:18 -08:00
Joseph Henry
82c6454950
Fix broken ifdef on OpenBSD
2024-11-13 09:01:09 -08:00
Joseph Henry
969c0ee6e3
Omit CPU pinning code on OpenBSD
2024-11-12 14:40:24 -08:00
Joseph Henry
c092b63987
Merge pull request #2365 from zerotier/laduke/2361-phy-mtu
...
Lower ZT_MIN_PHYSMTU
2024-11-12 09:38:11 -08:00
Joseph Henry
47efee1df4
Merge branch 'dev' into laduke/2361-phy-mtu
2024-11-12 06:20:29 -08:00
Joseph Henry
18a5452de8
Merge pull request #2395 from zerotier/core-objs
...
Move osutils/OSUtils.o into CORE_OBJS
2024-11-12 06:20:04 -08:00
Joseph Henry
c3794ba8d4
Merge branch 'dev' into core-objs
2024-11-12 06:05:51 -08:00
Joseph Henry
75a5b4438b
Build fix for OpenBSD - See ticket #2397
2024-11-12 05:59:49 -08:00
Grant Limberg
f959c2f4ca
Move osutils/OSUtils.o into CORE_OBJS
...
When building via `make core` to make libzerotiercore.a, you can't link unless OSUtils.cpp is also built & linked.
2024-10-25 09:32:13 -07:00
travisladuke
55bbd2aec6
Lower ZT_MIN_PHYSMTU
...
regarding #2361
2024-10-18 15:44:34 -07:00
Adam Ierymenko
74404f56ee
Actually invoke extended armor
2024-09-27 17:52:43 -04:00
Adam Ierymenko
e53abe8bde
Bump RPM version for build.
2024-09-27 17:27:01 -04:00
Adam Ierymenko
29ef10e759
Bump version to an intermediate (odd) number.
2024-09-27 17:00:38 -04:00
Adam Ierymenko
1e679cc94d
Bug fix in extended armor.
2024-09-26 20:13:10 -04:00
Adam Ierymenko
96ba1079b2
Clang-format!!!
2024-09-26 08:52:29 -04:00
Adam Ierymenko
f190df8621
Restrict usage to when encryption is not active.
2024-09-25 20:12:19 -04:00
Adam Ierymenko
6b078ee935
Implement extended armor throughout system but not turned on yet.
2024-09-25 19:51:15 -04:00
Adam Ierymenko
3de5cbd105
Change indent
2024-09-24 10:31:31 -04:00
Adam Ierymenko
6faee38395
Specify start of extended encryption.
2024-09-24 10:27:06 -04:00
Adam Ierymenko
a44fd40889
Remove some obsolete stuff, rev protocol version.
2024-09-22 12:32:17 -04:00
Adam Ierymenko
5b7e1ceb68
More ECC work to prep for a FIPS mode
2024-09-20 14:04:49 -07:00
Adam Ierymenko
307befa892
Rename C25519.* to ECC.*
2024-09-15 17:34:01 -04:00
Adam Ierymenko
7647c8e8d1
Rename ECC key and signature size defines to be generic.
2024-09-15 16:33:41 -04:00
Adam Ierymenko
b2d71f900a
A few revs and removal of unnecessary stuff.
2024-09-14 11:13:45 -04:00
Adam Ierymenko
9e4ce68444
clean out some stuff
2024-09-14 08:21:08 -04:00
Adam Ierymenko
8140264cb6
Merge pull request #2363 from zerotier/dev
...
1.14.1 merge dev to main
2024-09-12 18:51:36 -04:00
Joseph Henry
f368fdbc76
Fix flow assignment for bridged EXT_FRAME packets
2024-06-07 13:02:10 -07:00