Skip to content

Commit 7607ead

Browse files
committed
TUN-6503: Fix transport fallback from QUIC in face of dial error "no network activity"
1 parent ac7fdd5 commit 7607ead

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 2022.7.1
2+
### New Features
3+
- 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.
4+
5+
### Bug Fixes
6+
- Several bug fixes related with QUIC transport (used between cloudflared tunnel and Cloudflare Global Network). Updating to this version is highly recommended.
7+
18
## 2022.4.0
29
### Bug Fixes
310
- `cloudflared tunnel run` no longer logs the Tunnel token or JSON credentials in clear text as those are the secret

cmd/cloudflared/tunnel/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ func tunnelFlags(shouldHide bool) []cli.Flag {
528528
Usage: "Cloudflare Edge ip address version to connect with. {4, 6, auto}",
529529
EnvVars: []string{"TUNNEL_EDGE_IP_VERSION"},
530530
Value: "4",
531-
Hidden: true,
531+
Hidden: false,
532532
}),
533533
altsrc.NewStringFlag(&cli.StringFlag{
534534
Name: tlsconfig.CaCertFlag,

supervisor/tunnel.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,7 @@ func ServeTunnel(
412412
}
413413
return err.Cause, !err.Permanent
414414
case *connection.EdgeQuicDialError:
415-
// Don't retry connection for a dial error
416-
return err, false
415+
return err, true
417416
case ReconnectSignal:
418417
connLog.Logger().Info().
419418
IPAddr(connection.LogFieldIPAddress, addr.UDP.IP).

0 commit comments

Comments
 (0)