diff --git a/CHANGES.md b/CHANGES.md index 21d581cf..511cb600 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,10 @@ +## 2022.7.1 +### New Features +- It is now possible to connect cloudflared tunnel to Cloudflare Global Network with IPv6. See `cloudflared tunnel --help` and look for `edge-ip-version` for more information. For now, the default behavior is to still connect with IPv4 only. + +### Bug Fixes +- Several bug fixes related with QUIC transport (used between cloudflared tunnel and Cloudflare Global Network). Updating to this version is highly recommended. + ## 2022.4.0 ### Bug Fixes - `cloudflared tunnel run` no longer logs the Tunnel token or JSON credentials in clear text as those are the secret diff --git a/cmd/cloudflared/tunnel/cmd.go b/cmd/cloudflared/tunnel/cmd.go index 710a79fc..344333b0 100644 --- a/cmd/cloudflared/tunnel/cmd.go +++ b/cmd/cloudflared/tunnel/cmd.go @@ -528,7 +528,7 @@ func tunnelFlags(shouldHide bool) []cli.Flag { Usage: "Cloudflare Edge ip address version to connect with. {4, 6, auto}", EnvVars: []string{"TUNNEL_EDGE_IP_VERSION"}, Value: "4", - Hidden: true, + Hidden: false, }), altsrc.NewStringFlag(&cli.StringFlag{ Name: tlsconfig.CaCertFlag, diff --git a/supervisor/tunnel.go b/supervisor/tunnel.go index a92113e9..4f208dd4 100644 --- a/supervisor/tunnel.go +++ b/supervisor/tunnel.go @@ -412,8 +412,7 @@ func ServeTunnel( } return err.Cause, !err.Permanent case *connection.EdgeQuicDialError: - // Don't retry connection for a dial error - return err, false + return err, true case ReconnectSignal: connLog.Logger().Info(). IPAddr(connection.LogFieldIPAddress, addr.UDP.IP).