Commit graph

6780 commits

Author SHA1 Message Date
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