cloudflared-mirror/cmd/cloudflared
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
..
access TUN-9101: Don't ignore errors on `cloudflared access ssh` 2025-03-17 18:42:19 +00:00
cliutil TUN-8914: Create a flags module to group all cloudflared cli flags 2025-02-06 03:30:27 -08:00
flags TUN-8960: Connect to FED API GW based on the OriginCert's endpoint 2025-02-25 17:13:33 +00:00
proxydns TUN-6963: Refactor Metrics service setup 2022-11-22 11:35:48 +00:00
tail TUN-8960: Connect to FED API GW based on the OriginCert's endpoint 2025-02-25 17:13:33 +00:00
tunnel TUN-9291: Remove dynamic reloading of features for datagram v3 2025-05-07 23:21:08 +00:00
updater chore: fix linter rules 2025-04-01 18:57:55 +01:00
app_forward_service.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
app_resolver_service.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
app_service.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
common_service.go TUN-5679: Add support for service install using Tunnel Token 2022-03-03 18:59:03 +00:00
generic_service.go chore: fix linter rules 2025-04-01 18:57:55 +01:00
linux_service.go Update linux_service.go 2024-03-06 10:29:55 +00:00
macos_service.go Fix broken links in `cmd/cloudflared/*.go` related to running tunnel as a service 2025-04-01 17:45:59 +01:00
main.go TUN-8914: Create a flags module to group all cloudflared cli flags 2025-02-06 03:30:27 -08:00
service_template.go chore: fix linter rules 2025-04-01 18:57:55 +01:00
windows_service.go Fix broken links in `cmd/cloudflared/*.go` related to running tunnel as a service 2025-04-01 17:45:59 +01:00