cloudflared-mirror/cmd/cloudflared
Sudarsan Reddy 99b3736cc7 TUN-6999: cloudflared should attempt other edge addresses before falling back on protocol
This PR does two things:
It changes how we fallback to a lower protocol: The current state
is to try connecting with a protocol. If it fails, fall back to a
lower protocol. And try connecting with that and so on. With this PR,
if we fail to connect with a protocol, we will try to connect to other
edge addresses first. Only if we fail to connect to those will we
fall back to a lower protocol.
It fixes a behaviour where if we fail to connect to an edge addr,
we keep re-trying the same address over and over again.
This PR now switches between edge addresses on subsequent connecton attempts.
Note that through these switches, it still respects the backoff time.
(We are connecting to a different edge, but this helps to not bombard an edge
address with connect requests if a particular edge addresses stops working).
2022-12-14 13:17:21 +00:00
..
access Issue #574: Better ssh config for short-lived cert (#763) 2022-11-02 10:44:34 +00:00
cliutil TUN-5551: Show whether the binary was built for FIPS compliance 2021-12-28 19:03:16 +00:00
proxydns TUN-6963: Refactor Metrics service setup 2022-11-22 11:35:48 +00:00
tunnel TUN-6999: cloudflared should attempt other edge addresses before falling back on protocol 2022-12-14 13:17:21 +00:00
updater TUN-5853 Add "install" make target and build package manager info into executable 2022-03-08 15:31:14 -06: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 TUN-5551: Reintroduce FIPS compliance for linux amd64 now as separate binaries 2021-12-20 21:50:42 +00:00
linux_service.go TUN-5954: Start cloudflared service in Linux too similarly to other OSs 2022-03-25 13:57:47 +00:00
macos_service.go TUN-5881: Clarify success (or lack thereof) of (un)installing cloudflared service 2022-03-18 18:10:02 +00:00
main.go TUN-6459: Add cloudflared user-agent to access calls 2022-06-24 11:51:53 -07:00
service_template.go Ensure service install directories are created before writing file 2022-06-28 12:31:18 -05:00
windows_service.go TUN-5933: Better messaging to help user when installing service if it is already installed 2022-03-24 17:19:23 +00:00