Sudarsan Reddy
6a6ba704f1
Release 2022.6.3
2022-06-20 13:52:31 +01:00
Sudarsan Reddy
135c8e6d13
TUN-6362: Add armhf support to cloudflare packaging
...
We now will have `armhf` based debs on our github pages
This will also sync to our R2 Release process allowing legacy rpi users to
eventually be able to apt-get install cloudflared.
2022-06-20 12:05:03 +01:00
Sudarsan Reddy
420e80ea50
Release 2022.6.2
2022-06-17 10:07:49 +01:00
Sudarsan Reddy
337591b2bb
TUN-6414: Remove go-sumtype from cloudflared build process
...
This PR removes go-sumtype from cloudflared's build processes.
The value we see from analysing exhaustive match patterns in go is minimal (we can do this in code reviews) compared to using a tool that is unmaintained and (now broken) in Go 1.18.
We'd already been using the patched version here: https://github.com/sudarshan-reddy/go-sumtype because the original is broken for go tools > 1.16
2022-06-17 09:23:44 +01:00
Silver
fa6bcdad04
Merge pull request #655 from legonigel/patch-1
...
Add image source label to docker container.
2022-06-16 12:23:32 -05:00
Silver
ee87c43eb9
Merge pull request #656 from nikr-canva/http2-origins
...
Add Http2Origin option to force HTTP/2 origin connections
2022-06-16 12:23:07 -05:00
Silver
bccc58b54d
Merge pull request #641 from Albonycal/patch-1
...
Warp Private Network link updated
2022-06-16 12:21:15 -05:00
Igor Postelnik
3da1c25471
TUN-6381: Write error data on QUIC stream when we fail to talk to the origin; separate logging for protocol errors vs. origin errors.
2022-06-15 13:06:45 +00:00
Sudarsan Reddy
7d0a271000
Release 2022.6.1
2022-06-15 10:00:02 +01:00
Igor Postelnik
102631d98d
TUN-6395: Fix writing RPM repo data
2022-06-14 22:35:01 -05:00
Igor Postelnik
6c3d2fc339
Release 2022.6.0
2022-06-14 20:48:07 -05:00
Devin Carr
1d79831651
Revert "TUN-6007: Implement new edge discovery algorithm"
...
This reverts commit 4f468b8a5d
.
2022-06-14 16:08:03 -07:00
Devin Carr
0458ad41dd
Revert "TUN-6384: Correct duplicate connection error to fetch new IP first"
...
This reverts commit 76add5ca77
.
2022-06-14 16:07:47 -07:00
Devin Carr
b9453b84bb
Revert "TUN-6373: Add edge-ip-version to remotely pushed configuration"
...
This reverts commit 8e9091cc48
.
2022-06-14 16:07:37 -07:00
Devin Carr
ab81ff8bfb
Revert "TUN-6010: Add component tests for --edge-ip-version"
...
This reverts commit 978e01f77e
.
2022-06-14 16:07:27 -07:00
Igor Postelnik
f2339a7244
TUN-6380: Enforce connect and keep-alive timeouts for TCP connections in both WARP routing and websocket based TCP proxy.
...
For WARP routing the defaults for these new settings are 5 seconds for connect timeout and 30 seconds for keep-alive timeout. These values can be configured either remotely or locally. Local config lives under "warp-routing" section in config.yaml.
For websocket-based proxy, the defaults come from originConfig settings (either global or per-service) and use the same defaults as HTTP proxying.
2022-06-14 21:36:40 +00:00
Devin Carr
978e01f77e
TUN-6010: Add component tests for --edge-ip-version
2022-06-14 16:57:59 +00:00
Areg Harutyunyan
1275930f99
Merge remote-tracking branch 'upstream/master'
2022-06-14 11:49:54 -05:00
Devin Carr
8e9091cc48
TUN-6373: Add edge-ip-version to remotely pushed configuration
2022-06-14 15:41:16 +00:00
Devin Carr
76add5ca77
TUN-6384: Correct duplicate connection error to fetch new IP first
2022-06-14 15:40:58 +00:00
Igor Postelnik
e8407848ec
TUN-6385: Don't share err between acceptStream loop and per-stream goroutines
2022-06-13 18:24:00 -05:00
abe
29d809535e
Amendment to previous PR
...
Previous PR created two new templates instead of modifying current templates. This removes the unnecessary created issue templates
2022-06-11 15:32:11 -05:00
abe
cc1c6d9abc
Update issue templates
...
Updating existing issue templates with new labels
2022-06-11 15:29:53 -05:00
Sudarsan Reddy
69b28e358c
TUN-6347: Add TCP stream logs with FlowID
2022-06-09 19:41:20 +00:00
Niklas Rehfeld
5ed3d4e29a
Update remaining OriginRequestConfig functions for Http2Origins
2022-06-09 16:44:40 +12:00
Devin Carr
4f468b8a5d
TUN-6007: Implement new edge discovery algorithm
2022-06-08 21:09:45 +00:00
Devin Carr
e3aad7799e
TUN-6357: Add connector id to ready check endpoint
2022-06-08 17:35:23 +00:00
Sudarsan Reddy
cc8aa0efb5
TUN-6361: Add cloudflared arm builds to pkging as well
2022-06-08 15:59:36 +01:00
Nuno Diegues
475939a77f
TUN-6191: Update quic-go to v0.27.1 and with custom patch to allow keep alive period to be configurable
...
The idle period is set to 5sec.
We now also ping every second since last activity.
This makes the quic.Connection less prone to being closed with
no network activity, since we send multiple pings per idle
period, and thus a single packet loss cannot cause the problem.
2022-06-07 12:25:18 +01:00
Nuno Diegues
4ccef23dbc
TUN-6343: Fix QUIC->HTTP2 fallback
2022-06-03 10:15:52 +01:00
Devin Carr
2b0d704777
TUN-6341: Fix default config value for edge-ip-version
2022-06-02 20:12:15 -07:00
Devin Carr
ee80e55833
TUN-6339: Add config for IPv6 support
2022-06-02 16:04:26 -07:00
Niklas Rehfeld
2345720b2b
fix ingress rules unit test
2022-06-02 09:49:06 +12:00
Sudarsan Reddy
d714a62bd3
TUN-6323: Add Xenial and Trusty for Ubuntu pkging
...
- Adds Xenial and Trusty Ubuntu releases to pkging
2022-06-01 15:04:44 +01:00
Niklas Rehfeld
7d4afd4ae0
Add Http2Origin option to force HTTP/2 origin connections
...
If `http2Origin` is set, it will set `ForceAttemptHTTP2` in the transport config of the `OriginService`.
2022-06-01 12:57:29 +12:00
Nigel Armstrong
056693c814
Add image source label to docker container.
...
This label allows tools like [whitesource renovate](https://docs.renovatebot.com/modules/datasource/#docker-datasource ) to find changelogs.
2022-05-31 10:29:51 -07:00
Sudarsan Reddy
73d948bc32
TUN-6210: Add cloudflared.repo to make it easy for yum installs
...
This PR provides a cloudflared.repo template that can simply then be
added to yum repos by running
```
sudo dnf config-manager --add-repo
```
removing the requirement for yum installers to handcraft this or run
echo commands.
2022-05-31 09:12:07 +01:00
Nuno Diegues
5e6f606f4e
TUN-6293: Update yaml v3 to latest hotfix
...
This addresses https://security.snyk.io/vuln/SNYK-GOLANG-GOPKGINYAMLV3-2841557
by updating yaml v3 to latest version.
It also stops using yaml v2 directly (we were using both v2 and v3 mixed).
We still rely on yaml v2 indirectly, via urfave cli, though.
Note that the security vulnerability does not affect v2.
2022-05-30 17:38:55 +00:00
Sudarsan Reddy
919227fc91
Release 2022.5.3
2022-05-30 14:55:27 +01:00
Nuno Diegues
b8ba5b444c
TUN-6301: Allow to update logger used by UDP session manager
2022-05-30 13:53:27 +00:00
cthuang
baed5f4eea
TUN-6308: Add debug logs to see if packets are sent/received from edge
2022-05-30 14:01:40 +01:00
Sudarsan Reddy
08a8101308
Release 2022.5.2
2022-05-30 09:03:01 +01:00
Sudarsan Reddy
a2a4b06eb4
TUN-6304: Fixed some file permission issues
2022-05-29 13:00:31 +00:00
Devin Carr
ec509e114a
TUN-6292: Debug builds for cloudflared
...
Allow for cloudflared to be built with debug mode to be used with dlv exec
2022-05-26 11:13:59 -07:00
Igor Postelnik
7bc2462e36
TUN-6282: Upgrade golang to 1.17.10, go-boring to 1.17.9
2022-05-25 16:26:09 +00:00
Sudarsan Reddy
92f647d45c
TUN-6285: Upload pkg assets to repos when cloudflared is released.
...
This effectively means that during every release going forwards, we'll
have assets for the linux releases and distros that we want to support.
2022-05-25 14:31:05 +01:00
Sudarsan Reddy
b2ac885370
TUN-6209: Sign RPM packages
...
This PR uses a provided key to
- sign all the .rpms before they are uploaded to R2.
- detach signs the repomd.xml after createrepo is run.
2022-05-25 13:13:40 +00:00
Igor Postelnik
2c480a72db
TUN-6280: Don't wrap qlog connection tracer for gatethering QUIC metrics since we're not writing qlog files.
2022-05-24 16:59:03 -05:00
Sudarsan Reddy
32739e9f98
TUN-6209: Improve feedback process if release_pkgs to deb and rpm fail
...
This PR mostly raises exceptions so we are aware if release deb or
release pkgs fail. It also makes release_version optional if backup pkgs
are not needed.
2022-05-24 13:20:17 +01:00
Sudarsan Reddy
7ce2bb8b2f
TUN-6270: Import gpg keys from environment variables
...
We now keep the gpg key inputs configurable. This PR imports base64
encoded gpg details into the build environment and uses this information
to sign the linux builds.
2022-05-23 14:51:26 +01:00