cloudflared-mirror/cmd/cloudflared/tunnel
Devin Carr ce27840573 TUN-9291: Remove dynamic reloading of features for datagram v3
During a refresh of the supported features via the DNS TXT record,
cloudflared would update the internal feature list, but would not
propagate this information to the edge during a new connection.

This meant that a situation could occur in which cloudflared would
think that the client's connection could support datagram V3, and
would setup that muxer locally, but would not propagate that information
to the edge during a register connection in the `ClientInfo` of the
`ConnectionOptions`. This meant that the edge still thought that the
client was setup to support datagram V2 and since the protocols are
not backwards compatible, the local muxer for datagram V3 would reject
the incoming RPC calls.

To address this, the feature list will be fetched only once during
client bootstrapping and will persist as-is until the client is restarted.
This helps reduce the complexity involved with different connections
having possibly different sets of features when connecting to the edge.
The features will now be tied to the client and never diverge across
connections.

Also, retires the use of `support_datagram_v3` in-favor of
`support_datagram_v3_1` to reduce the risk of reusing the feature key.
The `dv3` TXT feature key is also deprecated.

Closes TUN-9291
2025-05-07 23:21:08 +00:00
..
cmd.go Fix messages to point to one.dash.cloudflare.com 2025-04-01 17:47:23 +01:00
cmd_test.go TUN-1669: Update license message in help text. Also fix test 2019-04-18 10:42:48 -05:00
configuration.go TUN-9291: Remove dynamic reloading of features for datagram v3 2025-05-07 23:21:08 +00:00
configuration_test.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
credential_finder.go TUN-8914: Create a flags module to group all cloudflared cli flags 2025-02-06 03:30:27 -08:00
filesystem.go TUN-7590: Remove usages of ioutil 2023-07-17 19:08:38 +00:00
info.go TUN-5482: Refactor tunnelstore client related packages for more coherent package 2021-12-28 17:17:49 +00:00
ingress_subcommands.go CUSTESC-33731: Make rule match test report rule in 0-index base 2023-10-03 12:18:49 +01:00
login.go TUN-8960: Connect to FED API GW based on the OriginCert's endpoint 2025-02-25 17:13:33 +00:00
quick_tunnel.go TUN-8914: Create a flags module to group all cloudflared cli flags 2025-02-06 03:30:27 -08:00
server.go Add max upstream connections dns-proxy option (#290) 2021-02-12 21:32:29 +04:00
signal.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
signal_test.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
subcommand_context.go fix: Use path and filepath operation appropriately 2025-04-01 17:59:43 +01:00
subcommand_context_teamnet.go TUN-7787: Refactor cloudflared to use new route endpoints based on route IDs 2023-09-19 09:56:02 +00:00
subcommand_context_test.go TUN-7813: Improve tunnel delete command to use cascade delete 2023-09-20 12:35:43 +01:00
subcommand_context_vnets.go ZTC-446: Allow to force delete a vnet 2023-01-20 11:52:56 +00:00
subcommands.go feat: Adds a new command line for tunnel run for token file 2025-04-01 18:23:22 +01:00
subcommands_test.go TUN-5679: Add support for service install using Tunnel Token 2022-03-03 18:59:03 +00:00
tag.go TUN-8423: Deprecate older legacy tunnel capnp interfaces 2024-05-23 11:17:49 -07:00
tag_test.go TUN-8423: Deprecate older legacy tunnel capnp interfaces 2024-05-23 11:17:49 -07:00
teamnet_subcommands.go chore: fix linter rules 2025-04-01 18:57:55 +01:00
vnets_subcommands.go ZTC-446: Allow to force delete a vnet 2023-01-20 11:52:56 +00:00