Nuno Diegues
958650be1f
TUN-5262: Improvements to `max-fetch-size` that allow to deal with large number of tunnels in account
...
* `max-fetch-size` can now be set up in the config YAML
* we no longer pass that to filter commands that filter by name
* flag changed to signed int since altsrc does not support UInt flags
* we now look up each non UUID (to convert it to a UUID) when needed, separately
2021-10-19 18:28:29 +01:00
Nuno Diegues
eb51ff0a6d
TUN-5262: Allow to configure max fetch size for listing queries
...
This can be useful/important for accounts with many tunnels that exceed
the 1000 default page size.
There are various tunnel subcommands that use listing underneath, so we make
that flag a tunnel one, rather than adding it to each subcommand.
2021-10-18 11:07:02 +01:00
Nuno Diegues
3f4407ce27
Release 2021.10.3
2021-10-14 17:52:50 +01:00
Nuno Diegues
d9636c73b4
TUN-5257: Fix more cfsetup targets that were broken by recent package changes
2021-10-14 16:47:34 +01:00
Nuno Diegues
6cbf90883d
TUN-5255: Fix potential panic if Cloudflare API fails to respond to GetTunnel(id) during delete command
2021-10-14 15:18:34 +00:00
Nuno Diegues
76ade67f95
Release 2021.10.2
2021-10-14 14:42:56 +01:00
Nuno Diegues
997f2cf612
TUN-5250: Add missing packages for cfsetup to succeed in github release pkgs target
2021-10-14 08:56:21 +00:00
Sudarsan Reddy
ceb509ee98
TUN-5138: Switch to QUIC on auto protocol based on threshold
2021-10-14 09:18:20 +01:00
Sudarsan Reddy
5a3c0fdffa
Release 2021.10.1
2021-10-13 19:29:24 +01:00
Sudarsan Reddy
2822fbe3db
TUN-5249: Revert "TUN-5138: Switch to QUIC on auto protocol based on threshold"
...
This reverts commit e445fd92f7
2021-10-13 19:06:31 +01:00
Sudarsan Reddy
5148d00516
TUN-5246: Use protocol: quic for Quick tunnels if one is not already set
2021-10-13 08:04:21 +00:00
Sudarsan Reddy
bb10e1dee5
Release 2021.10.0
2021-10-12 09:50:49 +01:00
Sudarsan Reddy
e445fd92f7
TUN-5138: Switch to QUIC on auto protocol based on threshold
2021-10-11 11:05:20 +00:00
Sudarsan Reddy
bccf4a63dc
UN-5213: Increase MaxStreams value for QUIC transport
...
The default max streams value of 100 is rather small when subject to
high load in terms of connecting QUIC with streams faster than it can
create new ones. This high value allows for more throughput.
2021-10-08 13:48:20 +01:00
Sudarsan Reddy
7059ef8e13
TUN-5195: Do not set empty body if not applicable
...
Go's client defaults to chunked encoding after a 200ms delay if the following cases are true:
* the request body blocks
* the content length is not set (or set to -1)
* the method doesn't usually have a body (GET, HEAD, DELETE, ...)
* there is no transfer-encoding=chunked already set.
So for non websocket requests, if transfer-encoding isn't chunked and content length is 0, we dont set a request body.
2021-10-07 15:47:27 +01:00
Nuno Diegues
cbdf88ea28
TUN-5164: Update README and clean up references to Argo Tunnel (using Cloudflare Tunnel instead)
2021-09-29 08:27:47 +00:00
Sudarsan Reddy
79ebfa8304
TUN-5169: Release 2021.9.2 CHANGES.md
2021-09-29 08:21:22 +00:00
Sudarsan Reddy
5a5e49179a
Release 2021.9.2
2021-09-28 13:03:04 +01:00
Sudarsan Reddy
470a85e65d
TUN-5160: Set request.ContentLength when this value is in request header
2021-09-27 14:12:11 +01:00
Sudarsan Reddy
d7da74cb9e
TUN-5142: defer close rpcconn inside unregister instead of ServeControlStream
2021-09-24 12:56:31 +01:00
Sudarsan Reddy
27e1277a3b
TUN-5142: Add asynchronous servecontrolstream for QUIC
...
ServeControlStream accidentally became non-blocking in the last quic
change causing stream to not be returned until a SIGTERM was received.
This change makes ServeControlStream be non-blocking for QUIC streams.
2021-09-24 10:00:43 +00:00
cthuang
6238fd9022
TUN-5141: Make sure websocket pinger returns before streaming returns
2021-09-23 16:54:55 +01:00
Nuno Diegues
f985ed567f
TUN-5128: Enforce maximum grace period
...
This maximum grace period will be honored by Cloudflare edge such that
either side will close the connection after unregistration at most
by this time (3min as of this commit):
- If the connection is unused, it is already closed as soon as possible.
- If the connection is still used, it is closed on the cloudflared configured grace-period.
Even if cloudflared does not close the connection by the grace-period time,
the edge will do so.
2021-09-21 16:48:37 +00:00
cthuang
d54c8cc745
TUN-5129: Use go 1.17 and copy .git folder to docker build to compute version
2021-09-21 15:50:35 +00:00
Sudarsan Reddy
548e85829a
Release 2021.9.1
2021-09-21 08:13:07 +01:00
Sudarsan Reddy
fd14bf440b
TUN-5118: Quic connection now detects duplicate connections similar to http2
2021-09-21 06:30:09 +00:00
Silver
e2b18364f4
Merge pull request #467 from nirantak/patch-1
...
Fix TryCloudflare link
2021-09-15 11:08:36 -05:00
Nirantak Raghav
52c4f875fa
Fix TryCloudflare link
2021-09-15 16:41:18 +05:30
Areg Harutyunyan
dac077fef1
Release 2021.9.0
2021-09-14 11:14:07 -05:00
Silver
0e68b1d24e
Merge pull request #463 from colabsoftware/add-tunnel-credentials-env-var
...
Add support for taking named tunnel credentials from an environment var
2021-09-13 14:13:10 -05:00
Riley Flynn
6968b714d0
Add support for taking named tunnel credentials from an environment variable
2021-09-13 13:51:37 -02:30
Silver
9310241e1a
Merge pull request #395 from cloudflare/abelinkinbio-update-readme
...
Update README.md
2021-09-13 11:17:24 -05:00
Silver
1cb22817db
Merge pull request #436 from Mongey/cm-arm-darwin
...
Allow building on arm64 platforms
2021-09-13 10:54:42 -05:00
Silver
fe4b9b1535
Merge pull request #455 from josephvoss/update-trycloudflare-link
...
Fix broken TryCloudflare link
2021-09-13 10:42:59 -05:00
Areg Harutyunyan
d04f48d872
TUN-5029: Do not strip cf- prefixed headers
2021-09-02 12:21:01 -05:00
Joseph Voss
b5f6559179
Fix broken TryCloudflare link
2021-09-02 12:56:35 -04:00
Silver
89d408e3bd
Merge pull request #386 from Maartincm/allow_token_secret_as_env_var_in_cloudflared_access
...
Allow TokenID and TokenSecret as env vars for cloudflares access
2021-09-02 10:15:29 -05:00
Areg Harutyunyan
533d005159
TUN-5011: Use the region parameter in fallback SRV lookup
2021-08-31 22:16:21 -05:00
cthuang
98c3957d30
TUN-5010: --region should be a string flag
2021-08-30 14:40:07 +00:00
Sudarsan Reddy
671754fd19
TUN-5012: Use patched go-sumtype
2021-08-30 10:10:25 +01:00
Sudarsan Reddy
d1801776b0
TUN-5009: Updated github action to use go 1.17.x for checks
2021-08-29 09:29:09 +00:00
cthuang
11c06b5a1f
Release 2021.8.7
2021-08-28 17:57:32 +01:00
cthuang
27cd83c2d3
Revert "TUN-4926: Implement --region configuration option"
...
This reverts commit d0a1daac3b
.
2021-08-28 16:42:55 +01:00
Nuno Diegues
75bdc96763
Release 2021.8.6
2021-08-27 23:03:32 +01:00
Nuno Diegues
c51879b17f
TUN-5003: Fix cfsetup for non-FIPS golang version
2021-08-27 19:14:22 +01:00
Nuno Diegues
738b4f8d25
TUN-5000: De-flake logging to dir component test in Windows by increasing to buffer to cope with more logging
2021-08-27 18:13:45 +00:00
Nuno Diegues
c7a44009d3
Release 2021.8.5
2021-08-27 15:49:39 +01:00
Nuno Diegues
754ad59512
Release 2021.8.4
2021-08-27 13:28:24 +00:00
Sudarsan Reddy
414cb12f02
TUN-4961: Update quic-go to latest
...
- Updates fips-go to be the latest on cfsetup.yaml
- Updates sumtype's x/tools to be latest to avoid Internal: nil pkg
errors with fips.
2021-08-27 12:26:00 +01:00
Areg Harutyunyan
d0a1daac3b
TUN-4926: Implement --region configuration option
2021-08-27 09:11:10 +00:00